diff --git a/__fixtures__/output/runtime-schema/disabled/types.ts b/__fixtures__/output/runtime-schema/disabled/types.ts new file mode 100644 index 0000000..4dbf99c --- /dev/null +++ b/__fixtures__/output/runtime-schema/disabled/types.ts @@ -0,0 +1,1816 @@ +/** +* This file was automatically generated by pg-proto-parser@latest. +* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, +* and run the pg-proto-parser generate command to regenerate this file. +*/ +import { OverridingKind, QuerySource, SortByDir, SortByNulls, SetQuantifier, A_Expr_Kind, RoleSpecType, TableLikeOption, DefElemAction, PartitionStrategy, PartitionRangeDatumKind, RTEKind, WCOKind, GroupingSetKind, CTEMaterialize, SetOperation, ObjectType, DropBehavior, AlterTableType, GrantTargetType, VariableSetKind, ConstrType, ImportForeignSchemaType, RoleStmtType, FetchDirection, FunctionParameterMode, TransactionStmtKind, ViewCheckOption, DiscardMode, ReindexObjectType, AlterTSConfigType, PublicationObjSpecType, AlterPublicationAction, AlterSubscriptionType, OnCommitAction, ParamKind, CoercionContext, CoercionForm, BoolExprType, SubLinkType, RowCompareType, MinMaxOp, SQLValueFunctionOp, XmlExprOp, XmlOptionType, JsonEncoding, JsonFormatType, JsonConstructorType, JsonValueType, NullTestType, BoolTestType, CmdType, JoinType, AggStrategy, AggSplit, SetOpCmd, SetOpStrategy, OnConflictAction, LimitOption, LockClauseStrength, LockWaitPolicy, LockTupleMode, KeywordKind, Token } from "./enums"; +export type Node = ParseResult | ScanResult | Integer | Float | Boolean | String | BitString | List | OidList | IntList | A_Const | Alias | RangeVar | TableFunc | IntoClause | Var | Param | Aggref | GroupingFunc | WindowFunc | SubscriptingRef | FuncExpr | NamedArgExpr | OpExpr | DistinctExpr | NullIfExpr | ScalarArrayOpExpr | BoolExpr | SubLink | SubPlan | AlternativeSubPlan | FieldSelect | FieldStore | RelabelType | CoerceViaIO | ArrayCoerceExpr | ConvertRowtypeExpr | CollateExpr | CaseExpr | CaseWhen | CaseTestExpr | ArrayExpr | RowExpr | RowCompareExpr | CoalesceExpr | MinMaxExpr | SQLValueFunction | XmlExpr | JsonFormat | JsonReturning | JsonValueExpr | JsonConstructorExpr | JsonIsPredicate | NullTest | BooleanTest | CoerceToDomain | CoerceToDomainValue | SetToDefault | CurrentOfExpr | NextValueExpr | InferenceElem | TargetEntry | RangeTblRef | JoinExpr | FromExpr | OnConflictExpr | Query | TypeName | ColumnRef | ParamRef | A_Expr | TypeCast | CollateClause | RoleSpec | FuncCall | A_Star | A_Indices | A_Indirection | A_ArrayExpr | ResTarget | MultiAssignRef | SortBy | WindowDef | RangeSubselect | RangeFunction | RangeTableFunc | RangeTableFuncCol | RangeTableSample | ColumnDef | TableLikeClause | IndexElem | DefElem | LockingClause | XmlSerialize | PartitionElem | PartitionSpec | PartitionBoundSpec | PartitionRangeDatum | PartitionCmd | RangeTblEntry | RTEPermissionInfo | RangeTblFunction | TableSampleClause | WithCheckOption | SortGroupClause | GroupingSet | WindowClause | RowMarkClause | WithClause | InferClause | OnConflictClause | CTESearchClause | CTECycleClause | CommonTableExpr | MergeWhenClause | MergeAction | TriggerTransition | JsonOutput | JsonKeyValue | JsonObjectConstructor | JsonArrayConstructor | JsonArrayQueryConstructor | JsonAggConstructor | JsonObjectAgg | JsonArrayAgg | RawStmt | InsertStmt | DeleteStmt | UpdateStmt | MergeStmt | SelectStmt | SetOperationStmt | ReturnStmt | PLAssignStmt | CreateSchemaStmt | AlterTableStmt | ReplicaIdentityStmt | AlterTableCmd | AlterCollationStmt | AlterDomainStmt | GrantStmt | ObjectWithArgs | AccessPriv | GrantRoleStmt | AlterDefaultPrivilegesStmt | CopyStmt | VariableSetStmt | VariableShowStmt | CreateStmt | Constraint | CreateTableSpaceStmt | DropTableSpaceStmt | AlterTableSpaceOptionsStmt | AlterTableMoveAllStmt | CreateExtensionStmt | AlterExtensionStmt | AlterExtensionContentsStmt | CreateFdwStmt | AlterFdwStmt | CreateForeignServerStmt | AlterForeignServerStmt | CreateForeignTableStmt | CreateUserMappingStmt | AlterUserMappingStmt | DropUserMappingStmt | ImportForeignSchemaStmt | CreatePolicyStmt | AlterPolicyStmt | CreateAmStmt | CreateTrigStmt | CreateEventTrigStmt | AlterEventTrigStmt | CreatePLangStmt | CreateRoleStmt | AlterRoleStmt | AlterRoleSetStmt | DropRoleStmt | CreateSeqStmt | AlterSeqStmt | DefineStmt | CreateDomainStmt | CreateOpClassStmt | CreateOpClassItem | CreateOpFamilyStmt | AlterOpFamilyStmt | DropStmt | TruncateStmt | CommentStmt | SecLabelStmt | DeclareCursorStmt | ClosePortalStmt | FetchStmt | IndexStmt | CreateStatsStmt | StatsElem | AlterStatsStmt | CreateFunctionStmt | FunctionParameter | AlterFunctionStmt | DoStmt | InlineCodeBlock | CallStmt | CallContext | RenameStmt | AlterObjectDependsStmt | AlterObjectSchemaStmt | AlterOwnerStmt | AlterOperatorStmt | AlterTypeStmt | RuleStmt | NotifyStmt | ListenStmt | UnlistenStmt | TransactionStmt | CompositeTypeStmt | CreateEnumStmt | CreateRangeStmt | AlterEnumStmt | ViewStmt | LoadStmt | CreatedbStmt | AlterDatabaseStmt | AlterDatabaseRefreshCollStmt | AlterDatabaseSetStmt | DropdbStmt | AlterSystemStmt | ClusterStmt | VacuumStmt | VacuumRelation | ExplainStmt | CreateTableAsStmt | RefreshMatViewStmt | CheckPointStmt | DiscardStmt | LockStmt | ConstraintsSetStmt | ReindexStmt | CreateConversionStmt | CreateCastStmt | CreateTransformStmt | PrepareStmt | ExecuteStmt | DeallocateStmt | DropOwnedStmt | ReassignOwnedStmt | AlterTSDictionaryStmt | AlterTSConfigurationStmt | PublicationTable | PublicationObjSpec | CreatePublicationStmt | AlterPublicationStmt | CreateSubscriptionStmt | AlterSubscriptionStmt | DropSubscriptionStmt | ScanToken; +export interface ParseResult { + version?: number; + stmts?: RawStmt[]; +} +export interface ScanResult { + version?: number; + tokens?: ScanToken[]; +} +export interface Integer { + ival?: number; +} +export interface Float { + fval?: string; +} +export interface Boolean { + boolval?: boolean; +} +export interface String { + sval?: string; +} +export interface BitString { + bsval?: string; +} +export interface List { + items?: Node[]; +} +export interface OidList { + items?: Node[]; +} +export interface IntList { + items?: Node[]; +} +export interface A_Const { + ival?: Integer; + fval?: Float; + boolval?: Boolean; + sval?: String; + bsval?: BitString; + isnull?: boolean; + location?: number; +} +export interface Alias { + aliasname?: string; + colnames?: Node[]; +} +export interface RangeVar { + catalogname?: string; + schemaname?: string; + relname?: string; + inh?: boolean; + relpersistence?: string; + alias?: Alias; + location?: number; +} +export interface TableFunc { + ns_uris?: Node[]; + ns_names?: Node[]; + docexpr?: Node; + rowexpr?: Node; + colnames?: Node[]; + coltypes?: Node[]; + coltypmods?: Node[]; + colcollations?: Node[]; + colexprs?: Node[]; + coldefexprs?: Node[]; + notnulls?: bigint[]; + ordinalitycol?: number; + location?: number; +} +export interface IntoClause { + rel?: RangeVar; + colNames?: Node[]; + accessMethod?: string; + options?: Node[]; + onCommit?: OnCommitAction; + tableSpaceName?: string; + viewQuery?: Node; + skipData?: boolean; +} +export interface Var { + xpr?: Node; + varno?: number; + varattno?: number; + vartype?: number; + vartypmod?: number; + varcollid?: number; + varnullingrels?: bigint[]; + varlevelsup?: number; + location?: number; +} +export interface Param { + xpr?: Node; + paramkind?: ParamKind; + paramid?: number; + paramtype?: number; + paramtypmod?: number; + paramcollid?: number; + location?: number; +} +export interface Aggref { + xpr?: Node; + aggfnoid?: number; + aggtype?: number; + aggcollid?: number; + inputcollid?: number; + aggargtypes?: Node[]; + aggdirectargs?: Node[]; + args?: Node[]; + aggorder?: Node[]; + aggdistinct?: Node[]; + aggfilter?: Node; + aggstar?: boolean; + aggvariadic?: boolean; + aggkind?: string; + agglevelsup?: number; + aggsplit?: AggSplit; + aggno?: number; + aggtransno?: number; + location?: number; +} +export interface GroupingFunc { + xpr?: Node; + args?: Node[]; + refs?: Node[]; + agglevelsup?: number; + location?: number; +} +export interface WindowFunc { + xpr?: Node; + winfnoid?: number; + wintype?: number; + wincollid?: number; + inputcollid?: number; + args?: Node[]; + aggfilter?: Node; + winref?: number; + winstar?: boolean; + winagg?: boolean; + location?: number; +} +export interface SubscriptingRef { + xpr?: Node; + refcontainertype?: number; + refelemtype?: number; + refrestype?: number; + reftypmod?: number; + refcollid?: number; + refupperindexpr?: Node[]; + reflowerindexpr?: Node[]; + refexpr?: Node; + refassgnexpr?: Node; +} +export interface FuncExpr { + xpr?: Node; + funcid?: number; + funcresulttype?: number; + funcretset?: boolean; + funcvariadic?: boolean; + funcformat?: CoercionForm; + funccollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface NamedArgExpr { + xpr?: Node; + arg?: Node; + name?: string; + argnumber?: number; + location?: number; +} +export interface OpExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface DistinctExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface NullIfExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface ScalarArrayOpExpr { + xpr?: Node; + opno?: number; + useOr?: boolean; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface BoolExpr { + xpr?: Node; + boolop?: BoolExprType; + args?: Node[]; + location?: number; +} +export interface SubLink { + xpr?: Node; + subLinkType?: SubLinkType; + subLinkId?: number; + testexpr?: Node; + operName?: Node[]; + subselect?: Node; + location?: number; +} +export interface SubPlan { + xpr?: Node; + subLinkType?: SubLinkType; + testexpr?: Node; + paramIds?: Node[]; + plan_id?: number; + plan_name?: string; + firstColType?: number; + firstColTypmod?: number; + firstColCollation?: number; + useHashTable?: boolean; + unknownEqFalse?: boolean; + parallel_safe?: boolean; + setParam?: Node[]; + parParam?: Node[]; + args?: Node[]; + startup_cost?: number; + per_call_cost?: number; +} +export interface AlternativeSubPlan { + xpr?: Node; + subplans?: Node[]; +} +export interface FieldSelect { + xpr?: Node; + arg?: Node; + fieldnum?: number; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; +} +export interface FieldStore { + xpr?: Node; + arg?: Node; + newvals?: Node[]; + fieldnums?: Node[]; + resulttype?: number; +} +export interface RelabelType { + xpr?: Node; + arg?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + relabelformat?: CoercionForm; + location?: number; +} +export interface CoerceViaIO { + xpr?: Node; + arg?: Node; + resulttype?: number; + resultcollid?: number; + coerceformat?: CoercionForm; + location?: number; +} +export interface ArrayCoerceExpr { + xpr?: Node; + arg?: Node; + elemexpr?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + coerceformat?: CoercionForm; + location?: number; +} +export interface ConvertRowtypeExpr { + xpr?: Node; + arg?: Node; + resulttype?: number; + convertformat?: CoercionForm; + location?: number; +} +export interface CollateExpr { + xpr?: Node; + arg?: Node; + collOid?: number; + location?: number; +} +export interface CaseExpr { + xpr?: Node; + casetype?: number; + casecollid?: number; + arg?: Node; + args?: Node[]; + defresult?: Node; + location?: number; +} +export interface CaseWhen { + xpr?: Node; + expr?: Node; + result?: Node; + location?: number; +} +export interface CaseTestExpr { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; +} +export interface ArrayExpr { + xpr?: Node; + array_typeid?: number; + array_collid?: number; + element_typeid?: number; + elements?: Node[]; + multidims?: boolean; + location?: number; +} +export interface RowExpr { + xpr?: Node; + args?: Node[]; + row_typeid?: number; + row_format?: CoercionForm; + colnames?: Node[]; + location?: number; +} +export interface RowCompareExpr { + xpr?: Node; + rctype?: RowCompareType; + opnos?: Node[]; + opfamilies?: Node[]; + inputcollids?: Node[]; + largs?: Node[]; + rargs?: Node[]; +} +export interface CoalesceExpr { + xpr?: Node; + coalescetype?: number; + coalescecollid?: number; + args?: Node[]; + location?: number; +} +export interface MinMaxExpr { + xpr?: Node; + minmaxtype?: number; + minmaxcollid?: number; + inputcollid?: number; + op?: MinMaxOp; + args?: Node[]; + location?: number; +} +export interface SQLValueFunction { + xpr?: Node; + op?: SQLValueFunctionOp; + type?: number; + typmod?: number; + location?: number; +} +export interface XmlExpr { + xpr?: Node; + op?: XmlExprOp; + name?: string; + named_args?: Node[]; + arg_names?: Node[]; + args?: Node[]; + xmloption?: XmlOptionType; + indent?: boolean; + type?: number; + typmod?: number; + location?: number; +} +export interface JsonFormat { + format_type?: JsonFormatType; + encoding?: JsonEncoding; + location?: number; +} +export interface JsonReturning { + format?: JsonFormat; + typid?: number; + typmod?: number; +} +export interface JsonValueExpr { + raw_expr?: Node; + formatted_expr?: Node; + format?: JsonFormat; +} +export interface JsonConstructorExpr { + xpr?: Node; + type?: JsonConstructorType; + args?: Node[]; + func?: Node; + coercion?: Node; + returning?: JsonReturning; + absent_on_null?: boolean; + unique?: boolean; + location?: number; +} +export interface JsonIsPredicate { + expr?: Node; + format?: JsonFormat; + item_type?: JsonValueType; + unique_keys?: boolean; + location?: number; +} +export interface NullTest { + xpr?: Node; + arg?: Node; + nulltesttype?: NullTestType; + argisrow?: boolean; + location?: number; +} +export interface BooleanTest { + xpr?: Node; + arg?: Node; + booltesttype?: BoolTestType; + location?: number; +} +export interface CoerceToDomain { + xpr?: Node; + arg?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + coercionformat?: CoercionForm; + location?: number; +} +export interface CoerceToDomainValue { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; + location?: number; +} +export interface SetToDefault { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; + location?: number; +} +export interface CurrentOfExpr { + xpr?: Node; + cvarno?: number; + cursor_name?: string; + cursor_param?: number; +} +export interface NextValueExpr { + xpr?: Node; + seqid?: number; + typeId?: number; +} +export interface InferenceElem { + xpr?: Node; + expr?: Node; + infercollid?: number; + inferopclass?: number; +} +export interface TargetEntry { + xpr?: Node; + expr?: Node; + resno?: number; + resname?: string; + ressortgroupref?: number; + resorigtbl?: number; + resorigcol?: number; + resjunk?: boolean; +} +export interface RangeTblRef { + rtindex?: number; +} +export interface JoinExpr { + jointype?: JoinType; + isNatural?: boolean; + larg?: Node; + rarg?: Node; + usingClause?: Node[]; + join_using_alias?: Alias; + quals?: Node; + alias?: Alias; + rtindex?: number; +} +export interface FromExpr { + fromlist?: Node[]; + quals?: Node; +} +export interface OnConflictExpr { + action?: OnConflictAction; + arbiterElems?: Node[]; + arbiterWhere?: Node; + constraint?: number; + onConflictSet?: Node[]; + onConflictWhere?: Node; + exclRelIndex?: number; + exclRelTlist?: Node[]; +} +export interface Query { + commandType?: CmdType; + querySource?: QuerySource; + canSetTag?: boolean; + utilityStmt?: Node; + resultRelation?: number; + hasAggs?: boolean; + hasWindowFuncs?: boolean; + hasTargetSRFs?: boolean; + hasSubLinks?: boolean; + hasDistinctOn?: boolean; + hasRecursive?: boolean; + hasModifyingCTE?: boolean; + hasForUpdate?: boolean; + hasRowSecurity?: boolean; + isReturn?: boolean; + cteList?: Node[]; + rtable?: Node[]; + rteperminfos?: Node[]; + jointree?: FromExpr; + mergeActionList?: Node[]; + mergeUseOuterJoin?: boolean; + targetList?: Node[]; + override?: OverridingKind; + onConflict?: OnConflictExpr; + returningList?: Node[]; + groupClause?: Node[]; + groupDistinct?: boolean; + groupingSets?: Node[]; + havingQual?: Node; + windowClause?: Node[]; + distinctClause?: Node[]; + sortClause?: Node[]; + limitOffset?: Node; + limitCount?: Node; + limitOption?: LimitOption; + rowMarks?: Node[]; + setOperations?: Node; + constraintDeps?: Node[]; + withCheckOptions?: Node[]; + stmt_location?: number; + stmt_len?: number; +} +export interface TypeName { + names?: Node[]; + typeOid?: number; + setof?: boolean; + pct_type?: boolean; + typmods?: Node[]; + typemod?: number; + arrayBounds?: Node[]; + location?: number; +} +export interface ColumnRef { + fields?: Node[]; + location?: number; +} +export interface ParamRef { + number?: number; + location?: number; +} +export interface A_Expr { + kind?: A_Expr_Kind; + name?: Node[]; + lexpr?: Node; + rexpr?: Node; + location?: number; +} +export interface TypeCast { + arg?: Node; + typeName?: TypeName; + location?: number; +} +export interface CollateClause { + arg?: Node; + collname?: Node[]; + location?: number; +} +export interface RoleSpec { + roletype?: RoleSpecType; + rolename?: string; + location?: number; +} +export interface FuncCall { + funcname?: Node[]; + args?: Node[]; + agg_order?: Node[]; + agg_filter?: Node; + over?: WindowDef; + agg_within_group?: boolean; + agg_star?: boolean; + agg_distinct?: boolean; + func_variadic?: boolean; + funcformat?: CoercionForm; + location?: number; +} +export interface A_Star {} +export interface A_Indices { + is_slice?: boolean; + lidx?: Node; + uidx?: Node; +} +export interface A_Indirection { + arg?: Node; + indirection?: Node[]; +} +export interface A_ArrayExpr { + elements?: Node[]; + location?: number; +} +export interface ResTarget { + name?: string; + indirection?: Node[]; + val?: Node; + location?: number; +} +export interface MultiAssignRef { + source?: Node; + colno?: number; + ncolumns?: number; +} +export interface SortBy { + node?: Node; + sortby_dir?: SortByDir; + sortby_nulls?: SortByNulls; + useOp?: Node[]; + location?: number; +} +export interface WindowDef { + name?: string; + refname?: string; + partitionClause?: Node[]; + orderClause?: Node[]; + frameOptions?: number; + startOffset?: Node; + endOffset?: Node; + location?: number; +} +export interface RangeSubselect { + lateral?: boolean; + subquery?: Node; + alias?: Alias; +} +export interface RangeFunction { + lateral?: boolean; + ordinality?: boolean; + is_rowsfrom?: boolean; + functions?: Node[]; + alias?: Alias; + coldeflist?: Node[]; +} +export interface RangeTableFunc { + lateral?: boolean; + docexpr?: Node; + rowexpr?: Node; + namespaces?: Node[]; + columns?: Node[]; + alias?: Alias; + location?: number; +} +export interface RangeTableFuncCol { + colname?: string; + typeName?: TypeName; + for_ordinality?: boolean; + is_not_null?: boolean; + colexpr?: Node; + coldefexpr?: Node; + location?: number; +} +export interface RangeTableSample { + relation?: Node; + method?: Node[]; + args?: Node[]; + repeatable?: Node; + location?: number; +} +export interface ColumnDef { + colname?: string; + typeName?: TypeName; + compression?: string; + inhcount?: number; + is_local?: boolean; + is_not_null?: boolean; + is_from_type?: boolean; + storage?: string; + storage_name?: string; + raw_default?: Node; + cooked_default?: Node; + identity?: string; + identitySequence?: RangeVar; + generated?: string; + collClause?: CollateClause; + collOid?: number; + constraints?: Node[]; + fdwoptions?: Node[]; + location?: number; +} +export interface TableLikeClause { + relation?: RangeVar; + options?: number; + relationOid?: number; +} +export interface IndexElem { + name?: string; + expr?: Node; + indexcolname?: string; + collation?: Node[]; + opclass?: Node[]; + opclassopts?: Node[]; + ordering?: SortByDir; + nulls_ordering?: SortByNulls; +} +export interface DefElem { + defnamespace?: string; + defname?: string; + arg?: Node; + defaction?: DefElemAction; + location?: number; +} +export interface LockingClause { + lockedRels?: Node[]; + strength?: LockClauseStrength; + waitPolicy?: LockWaitPolicy; +} +export interface XmlSerialize { + xmloption?: XmlOptionType; + expr?: Node; + typeName?: TypeName; + indent?: boolean; + location?: number; +} +export interface PartitionElem { + name?: string; + expr?: Node; + collation?: Node[]; + opclass?: Node[]; + location?: number; +} +export interface PartitionSpec { + strategy?: PartitionStrategy; + partParams?: Node[]; + location?: number; +} +export interface PartitionBoundSpec { + strategy?: string; + is_default?: boolean; + modulus?: number; + remainder?: number; + listdatums?: Node[]; + lowerdatums?: Node[]; + upperdatums?: Node[]; + location?: number; +} +export interface PartitionRangeDatum { + kind?: PartitionRangeDatumKind; + value?: Node; + location?: number; +} +export interface PartitionCmd { + name?: RangeVar; + bound?: PartitionBoundSpec; + concurrent?: boolean; +} +export interface RangeTblEntry { + rtekind?: RTEKind; + relid?: number; + relkind?: string; + rellockmode?: number; + tablesample?: TableSampleClause; + perminfoindex?: number; + subquery?: Query; + security_barrier?: boolean; + jointype?: JoinType; + joinmergedcols?: number; + joinaliasvars?: Node[]; + joinleftcols?: Node[]; + joinrightcols?: Node[]; + join_using_alias?: Alias; + functions?: Node[]; + funcordinality?: boolean; + tablefunc?: TableFunc; + values_lists?: Node[]; + ctename?: string; + ctelevelsup?: number; + self_reference?: boolean; + coltypes?: Node[]; + coltypmods?: Node[]; + colcollations?: Node[]; + enrname?: string; + enrtuples?: number; + alias?: Alias; + eref?: Alias; + lateral?: boolean; + inh?: boolean; + inFromCl?: boolean; + securityQuals?: Node[]; +} +export interface RTEPermissionInfo { + relid?: number; + inh?: boolean; + requiredPerms?: bigint; + checkAsUser?: number; + selectedCols?: bigint[]; + insertedCols?: bigint[]; + updatedCols?: bigint[]; +} +export interface RangeTblFunction { + funcexpr?: Node; + funccolcount?: number; + funccolnames?: Node[]; + funccoltypes?: Node[]; + funccoltypmods?: Node[]; + funccolcollations?: Node[]; + funcparams?: bigint[]; +} +export interface TableSampleClause { + tsmhandler?: number; + args?: Node[]; + repeatable?: Node; +} +export interface WithCheckOption { + kind?: WCOKind; + relname?: string; + polname?: string; + qual?: Node; + cascaded?: boolean; +} +export interface SortGroupClause { + tleSortGroupRef?: number; + eqop?: number; + sortop?: number; + nulls_first?: boolean; + hashable?: boolean; +} +export interface GroupingSet { + kind?: GroupingSetKind; + content?: Node[]; + location?: number; +} +export interface WindowClause { + name?: string; + refname?: string; + partitionClause?: Node[]; + orderClause?: Node[]; + frameOptions?: number; + startOffset?: Node; + endOffset?: Node; + runCondition?: Node[]; + startInRangeFunc?: number; + endInRangeFunc?: number; + inRangeColl?: number; + inRangeAsc?: boolean; + inRangeNullsFirst?: boolean; + winref?: number; + copiedOrder?: boolean; +} +export interface RowMarkClause { + rti?: number; + strength?: LockClauseStrength; + waitPolicy?: LockWaitPolicy; + pushedDown?: boolean; +} +export interface WithClause { + ctes?: Node[]; + recursive?: boolean; + location?: number; +} +export interface InferClause { + indexElems?: Node[]; + whereClause?: Node; + conname?: string; + location?: number; +} +export interface OnConflictClause { + action?: OnConflictAction; + infer?: InferClause; + targetList?: Node[]; + whereClause?: Node; + location?: number; +} +export interface CTESearchClause { + search_col_list?: Node[]; + search_breadth_first?: boolean; + search_seq_column?: string; + location?: number; +} +export interface CTECycleClause { + cycle_col_list?: Node[]; + cycle_mark_column?: string; + cycle_mark_value?: Node; + cycle_mark_default?: Node; + cycle_path_column?: string; + location?: number; + cycle_mark_type?: number; + cycle_mark_typmod?: number; + cycle_mark_collation?: number; + cycle_mark_neop?: number; +} +export interface CommonTableExpr { + ctename?: string; + aliascolnames?: Node[]; + ctematerialized?: CTEMaterialize; + ctequery?: Node; + search_clause?: CTESearchClause; + cycle_clause?: CTECycleClause; + location?: number; + cterecursive?: boolean; + cterefcount?: number; + ctecolnames?: Node[]; + ctecoltypes?: Node[]; + ctecoltypmods?: Node[]; + ctecolcollations?: Node[]; +} +export interface MergeWhenClause { + matched?: boolean; + commandType?: CmdType; + override?: OverridingKind; + condition?: Node; + targetList?: Node[]; + values?: Node[]; +} +export interface MergeAction { + matched?: boolean; + commandType?: CmdType; + override?: OverridingKind; + qual?: Node; + targetList?: Node[]; + updateColnos?: Node[]; +} +export interface TriggerTransition { + name?: string; + isNew?: boolean; + isTable?: boolean; +} +export interface JsonOutput { + typeName?: TypeName; + returning?: JsonReturning; +} +export interface JsonKeyValue { + key?: Node; + value?: JsonValueExpr; +} +export interface JsonObjectConstructor { + exprs?: Node[]; + output?: JsonOutput; + absent_on_null?: boolean; + unique?: boolean; + location?: number; +} +export interface JsonArrayConstructor { + exprs?: Node[]; + output?: JsonOutput; + absent_on_null?: boolean; + location?: number; +} +export interface JsonArrayQueryConstructor { + query?: Node; + output?: JsonOutput; + format?: JsonFormat; + absent_on_null?: boolean; + location?: number; +} +export interface JsonAggConstructor { + output?: JsonOutput; + agg_filter?: Node; + agg_order?: Node[]; + over?: WindowDef; + location?: number; +} +export interface JsonObjectAgg { + constructor?: JsonAggConstructor; + arg?: JsonKeyValue; + absent_on_null?: boolean; + unique?: boolean; +} +export interface JsonArrayAgg { + constructor?: JsonAggConstructor; + arg?: JsonValueExpr; + absent_on_null?: boolean; +} +export interface RawStmt { + stmt?: Node; + stmt_location?: number; + stmt_len?: number; +} +export interface InsertStmt { + relation?: RangeVar; + cols?: Node[]; + selectStmt?: Node; + onConflictClause?: OnConflictClause; + returningList?: Node[]; + withClause?: WithClause; + override?: OverridingKind; +} +export interface DeleteStmt { + relation?: RangeVar; + usingClause?: Node[]; + whereClause?: Node; + returningList?: Node[]; + withClause?: WithClause; +} +export interface UpdateStmt { + relation?: RangeVar; + targetList?: Node[]; + whereClause?: Node; + fromClause?: Node[]; + returningList?: Node[]; + withClause?: WithClause; +} +export interface MergeStmt { + relation?: RangeVar; + sourceRelation?: Node; + joinCondition?: Node; + mergeWhenClauses?: Node[]; + withClause?: WithClause; +} +export interface SelectStmt { + distinctClause?: Node[]; + intoClause?: IntoClause; + targetList?: Node[]; + fromClause?: Node[]; + whereClause?: Node; + groupClause?: Node[]; + groupDistinct?: boolean; + havingClause?: Node; + windowClause?: Node[]; + valuesLists?: Node[]; + sortClause?: Node[]; + limitOffset?: Node; + limitCount?: Node; + limitOption?: LimitOption; + lockingClause?: Node[]; + withClause?: WithClause; + op?: SetOperation; + all?: boolean; + larg?: SelectStmt; + rarg?: SelectStmt; +} +export interface SetOperationStmt { + op?: SetOperation; + all?: boolean; + larg?: Node; + rarg?: Node; + colTypes?: Node[]; + colTypmods?: Node[]; + colCollations?: Node[]; + groupClauses?: Node[]; +} +export interface ReturnStmt { + returnval?: Node; +} +export interface PLAssignStmt { + name?: string; + indirection?: Node[]; + nnames?: number; + val?: SelectStmt; + location?: number; +} +export interface CreateSchemaStmt { + schemaname?: string; + authrole?: RoleSpec; + schemaElts?: Node[]; + if_not_exists?: boolean; +} +export interface AlterTableStmt { + relation?: RangeVar; + cmds?: Node[]; + objtype?: ObjectType; + missing_ok?: boolean; +} +export interface ReplicaIdentityStmt { + identity_type?: string; + name?: string; +} +export interface AlterTableCmd { + subtype?: AlterTableType; + name?: string; + num?: number; + newowner?: RoleSpec; + def?: Node; + behavior?: DropBehavior; + missing_ok?: boolean; + recurse?: boolean; +} +export interface AlterCollationStmt { + collname?: Node[]; +} +export interface AlterDomainStmt { + subtype?: string; + typeName?: Node[]; + name?: string; + def?: Node; + behavior?: DropBehavior; + missing_ok?: boolean; +} +export interface GrantStmt { + is_grant?: boolean; + targtype?: GrantTargetType; + objtype?: ObjectType; + objects?: Node[]; + privileges?: Node[]; + grantees?: Node[]; + grant_option?: boolean; + grantor?: RoleSpec; + behavior?: DropBehavior; +} +export interface ObjectWithArgs { + objname?: Node[]; + objargs?: Node[]; + objfuncargs?: Node[]; + args_unspecified?: boolean; +} +export interface AccessPriv { + priv_name?: string; + cols?: Node[]; +} +export interface GrantRoleStmt { + granted_roles?: Node[]; + grantee_roles?: Node[]; + is_grant?: boolean; + opt?: Node[]; + grantor?: RoleSpec; + behavior?: DropBehavior; +} +export interface AlterDefaultPrivilegesStmt { + options?: Node[]; + action?: GrantStmt; +} +export interface CopyStmt { + relation?: RangeVar; + query?: Node; + attlist?: Node[]; + is_from?: boolean; + is_program?: boolean; + filename?: string; + options?: Node[]; + whereClause?: Node; +} +export interface VariableSetStmt { + kind?: VariableSetKind; + name?: string; + args?: Node[]; + is_local?: boolean; +} +export interface VariableShowStmt { + name?: string; +} +export interface CreateStmt { + relation?: RangeVar; + tableElts?: Node[]; + inhRelations?: Node[]; + partbound?: PartitionBoundSpec; + partspec?: PartitionSpec; + ofTypename?: TypeName; + constraints?: Node[]; + options?: Node[]; + oncommit?: OnCommitAction; + tablespacename?: string; + accessMethod?: string; + if_not_exists?: boolean; +} +export interface Constraint { + contype?: ConstrType; + conname?: string; + deferrable?: boolean; + initdeferred?: boolean; + location?: number; + is_no_inherit?: boolean; + raw_expr?: Node; + cooked_expr?: string; + generated_when?: string; + nulls_not_distinct?: boolean; + keys?: Node[]; + including?: Node[]; + exclusions?: Node[]; + options?: Node[]; + indexname?: string; + indexspace?: string; + reset_default_tblspc?: boolean; + access_method?: string; + where_clause?: Node; + pktable?: RangeVar; + fk_attrs?: Node[]; + pk_attrs?: Node[]; + fk_matchtype?: string; + fk_upd_action?: string; + fk_del_action?: string; + fk_del_set_cols?: Node[]; + old_conpfeqop?: Node[]; + old_pktable_oid?: number; + skip_validation?: boolean; + initially_valid?: boolean; +} +export interface CreateTableSpaceStmt { + tablespacename?: string; + owner?: RoleSpec; + location?: string; + options?: Node[]; +} +export interface DropTableSpaceStmt { + tablespacename?: string; + missing_ok?: boolean; +} +export interface AlterTableSpaceOptionsStmt { + tablespacename?: string; + options?: Node[]; + isReset?: boolean; +} +export interface AlterTableMoveAllStmt { + orig_tablespacename?: string; + objtype?: ObjectType; + roles?: Node[]; + new_tablespacename?: string; + nowait?: boolean; +} +export interface CreateExtensionStmt { + extname?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterExtensionStmt { + extname?: string; + options?: Node[]; +} +export interface AlterExtensionContentsStmt { + extname?: string; + action?: number; + objtype?: ObjectType; + object?: Node; +} +export interface CreateFdwStmt { + fdwname?: string; + func_options?: Node[]; + options?: Node[]; +} +export interface AlterFdwStmt { + fdwname?: string; + func_options?: Node[]; + options?: Node[]; +} +export interface CreateForeignServerStmt { + servername?: string; + servertype?: string; + version?: string; + fdwname?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterForeignServerStmt { + servername?: string; + version?: string; + options?: Node[]; + has_version?: boolean; +} +export interface CreateForeignTableStmt { + base?: CreateStmt; + servername?: string; + options?: Node[]; +} +export interface CreateUserMappingStmt { + user?: RoleSpec; + servername?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterUserMappingStmt { + user?: RoleSpec; + servername?: string; + options?: Node[]; +} +export interface DropUserMappingStmt { + user?: RoleSpec; + servername?: string; + missing_ok?: boolean; +} +export interface ImportForeignSchemaStmt { + server_name?: string; + remote_schema?: string; + local_schema?: string; + list_type?: ImportForeignSchemaType; + table_list?: Node[]; + options?: Node[]; +} +export interface CreatePolicyStmt { + policy_name?: string; + table?: RangeVar; + cmd_name?: string; + permissive?: boolean; + roles?: Node[]; + qual?: Node; + with_check?: Node; +} +export interface AlterPolicyStmt { + policy_name?: string; + table?: RangeVar; + roles?: Node[]; + qual?: Node; + with_check?: Node; +} +export interface CreateAmStmt { + amname?: string; + handler_name?: Node[]; + amtype?: string; +} +export interface CreateTrigStmt { + replace?: boolean; + isconstraint?: boolean; + trigname?: string; + relation?: RangeVar; + funcname?: Node[]; + args?: Node[]; + row?: boolean; + timing?: number; + events?: number; + columns?: Node[]; + whenClause?: Node; + transitionRels?: Node[]; + deferrable?: boolean; + initdeferred?: boolean; + constrrel?: RangeVar; +} +export interface CreateEventTrigStmt { + trigname?: string; + eventname?: string; + whenclause?: Node[]; + funcname?: Node[]; +} +export interface AlterEventTrigStmt { + trigname?: string; + tgenabled?: string; +} +export interface CreatePLangStmt { + replace?: boolean; + plname?: string; + plhandler?: Node[]; + plinline?: Node[]; + plvalidator?: Node[]; + pltrusted?: boolean; +} +export interface CreateRoleStmt { + stmt_type?: RoleStmtType; + role?: string; + options?: Node[]; +} +export interface AlterRoleStmt { + role?: RoleSpec; + options?: Node[]; + action?: number; +} +export interface AlterRoleSetStmt { + role?: RoleSpec; + database?: string; + setstmt?: VariableSetStmt; +} +export interface DropRoleStmt { + roles?: Node[]; + missing_ok?: boolean; +} +export interface CreateSeqStmt { + sequence?: RangeVar; + options?: Node[]; + ownerId?: number; + for_identity?: boolean; + if_not_exists?: boolean; +} +export interface AlterSeqStmt { + sequence?: RangeVar; + options?: Node[]; + for_identity?: boolean; + missing_ok?: boolean; +} +export interface DefineStmt { + kind?: ObjectType; + oldstyle?: boolean; + defnames?: Node[]; + args?: Node[]; + definition?: Node[]; + if_not_exists?: boolean; + replace?: boolean; +} +export interface CreateDomainStmt { + domainname?: Node[]; + typeName?: TypeName; + collClause?: CollateClause; + constraints?: Node[]; +} +export interface CreateOpClassStmt { + opclassname?: Node[]; + opfamilyname?: Node[]; + amname?: string; + datatype?: TypeName; + items?: Node[]; + isDefault?: boolean; +} +export interface CreateOpClassItem { + itemtype?: number; + name?: ObjectWithArgs; + number?: number; + order_family?: Node[]; + class_args?: Node[]; + storedtype?: TypeName; +} +export interface CreateOpFamilyStmt { + opfamilyname?: Node[]; + amname?: string; +} +export interface AlterOpFamilyStmt { + opfamilyname?: Node[]; + amname?: string; + isDrop?: boolean; + items?: Node[]; +} +export interface DropStmt { + objects?: Node[]; + removeType?: ObjectType; + behavior?: DropBehavior; + missing_ok?: boolean; + concurrent?: boolean; +} +export interface TruncateStmt { + relations?: Node[]; + restart_seqs?: boolean; + behavior?: DropBehavior; +} +export interface CommentStmt { + objtype?: ObjectType; + object?: Node; + comment?: string; +} +export interface SecLabelStmt { + objtype?: ObjectType; + object?: Node; + provider?: string; + label?: string; +} +export interface DeclareCursorStmt { + portalname?: string; + options?: number; + query?: Node; +} +export interface ClosePortalStmt { + portalname?: string; +} +export interface FetchStmt { + direction?: FetchDirection; + howMany?: bigint; + portalname?: string; + ismove?: boolean; +} +export interface IndexStmt { + idxname?: string; + relation?: RangeVar; + accessMethod?: string; + tableSpace?: string; + indexParams?: Node[]; + indexIncludingParams?: Node[]; + options?: Node[]; + whereClause?: Node; + excludeOpNames?: Node[]; + idxcomment?: string; + indexOid?: number; + oldNumber?: number; + oldCreateSubid?: number; + oldFirstRelfilelocatorSubid?: number; + unique?: boolean; + nulls_not_distinct?: boolean; + primary?: boolean; + isconstraint?: boolean; + deferrable?: boolean; + initdeferred?: boolean; + transformed?: boolean; + concurrent?: boolean; + if_not_exists?: boolean; + reset_default_tblspc?: boolean; +} +export interface CreateStatsStmt { + defnames?: Node[]; + stat_types?: Node[]; + exprs?: Node[]; + relations?: Node[]; + stxcomment?: string; + transformed?: boolean; + if_not_exists?: boolean; +} +export interface StatsElem { + name?: string; + expr?: Node; +} +export interface AlterStatsStmt { + defnames?: Node[]; + stxstattarget?: number; + missing_ok?: boolean; +} +export interface CreateFunctionStmt { + is_procedure?: boolean; + replace?: boolean; + funcname?: Node[]; + parameters?: Node[]; + returnType?: TypeName; + options?: Node[]; + sql_body?: Node; +} +export interface FunctionParameter { + name?: string; + argType?: TypeName; + mode?: FunctionParameterMode; + defexpr?: Node; +} +export interface AlterFunctionStmt { + objtype?: ObjectType; + func?: ObjectWithArgs; + actions?: Node[]; +} +export interface DoStmt { + args?: Node[]; +} +export interface InlineCodeBlock { + source_text?: string; + langOid?: number; + langIsTrusted?: boolean; + atomic?: boolean; +} +export interface CallStmt { + funccall?: FuncCall; + funcexpr?: FuncExpr; + outargs?: Node[]; +} +export interface CallContext { + atomic?: boolean; +} +export interface RenameStmt { + renameType?: ObjectType; + relationType?: ObjectType; + relation?: RangeVar; + object?: Node; + subname?: string; + newname?: string; + behavior?: DropBehavior; + missing_ok?: boolean; +} +export interface AlterObjectDependsStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + extname?: String; + remove?: boolean; +} +export interface AlterObjectSchemaStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + newschema?: string; + missing_ok?: boolean; +} +export interface AlterOwnerStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + newowner?: RoleSpec; +} +export interface AlterOperatorStmt { + opername?: ObjectWithArgs; + options?: Node[]; +} +export interface AlterTypeStmt { + typeName?: Node[]; + options?: Node[]; +} +export interface RuleStmt { + relation?: RangeVar; + rulename?: string; + whereClause?: Node; + event?: CmdType; + instead?: boolean; + actions?: Node[]; + replace?: boolean; +} +export interface NotifyStmt { + conditionname?: string; + payload?: string; +} +export interface ListenStmt { + conditionname?: string; +} +export interface UnlistenStmt { + conditionname?: string; +} +export interface TransactionStmt { + kind?: TransactionStmtKind; + options?: Node[]; + savepoint_name?: string; + gid?: string; + chain?: boolean; +} +export interface CompositeTypeStmt { + typevar?: RangeVar; + coldeflist?: Node[]; +} +export interface CreateEnumStmt { + typeName?: Node[]; + vals?: Node[]; +} +export interface CreateRangeStmt { + typeName?: Node[]; + params?: Node[]; +} +export interface AlterEnumStmt { + typeName?: Node[]; + oldVal?: string; + newVal?: string; + newValNeighbor?: string; + newValIsAfter?: boolean; + skipIfNewValExists?: boolean; +} +export interface ViewStmt { + view?: RangeVar; + aliases?: Node[]; + query?: Node; + replace?: boolean; + options?: Node[]; + withCheckOption?: ViewCheckOption; +} +export interface LoadStmt { + filename?: string; +} +export interface CreatedbStmt { + dbname?: string; + options?: Node[]; +} +export interface AlterDatabaseStmt { + dbname?: string; + options?: Node[]; +} +export interface AlterDatabaseRefreshCollStmt { + dbname?: string; +} +export interface AlterDatabaseSetStmt { + dbname?: string; + setstmt?: VariableSetStmt; +} +export interface DropdbStmt { + dbname?: string; + missing_ok?: boolean; + options?: Node[]; +} +export interface AlterSystemStmt { + setstmt?: VariableSetStmt; +} +export interface ClusterStmt { + relation?: RangeVar; + indexname?: string; + params?: Node[]; +} +export interface VacuumStmt { + options?: Node[]; + rels?: Node[]; + is_vacuumcmd?: boolean; +} +export interface VacuumRelation { + relation?: RangeVar; + oid?: number; + va_cols?: Node[]; +} +export interface ExplainStmt { + query?: Node; + options?: Node[]; +} +export interface CreateTableAsStmt { + query?: Node; + into?: IntoClause; + objtype?: ObjectType; + is_select_into?: boolean; + if_not_exists?: boolean; +} +export interface RefreshMatViewStmt { + concurrent?: boolean; + skipData?: boolean; + relation?: RangeVar; +} +export interface CheckPointStmt {} +export interface DiscardStmt { + target?: DiscardMode; +} +export interface LockStmt { + relations?: Node[]; + mode?: number; + nowait?: boolean; +} +export interface ConstraintsSetStmt { + constraints?: Node[]; + deferred?: boolean; +} +export interface ReindexStmt { + kind?: ReindexObjectType; + relation?: RangeVar; + name?: string; + params?: Node[]; +} +export interface CreateConversionStmt { + conversion_name?: Node[]; + for_encoding_name?: string; + to_encoding_name?: string; + func_name?: Node[]; + def?: boolean; +} +export interface CreateCastStmt { + sourcetype?: TypeName; + targettype?: TypeName; + func?: ObjectWithArgs; + context?: CoercionContext; + inout?: boolean; +} +export interface CreateTransformStmt { + replace?: boolean; + type_name?: TypeName; + lang?: string; + fromsql?: ObjectWithArgs; + tosql?: ObjectWithArgs; +} +export interface PrepareStmt { + name?: string; + argtypes?: Node[]; + query?: Node; +} +export interface ExecuteStmt { + name?: string; + params?: Node[]; +} +export interface DeallocateStmt { + name?: string; +} +export interface DropOwnedStmt { + roles?: Node[]; + behavior?: DropBehavior; +} +export interface ReassignOwnedStmt { + roles?: Node[]; + newrole?: RoleSpec; +} +export interface AlterTSDictionaryStmt { + dictname?: Node[]; + options?: Node[]; +} +export interface AlterTSConfigurationStmt { + kind?: AlterTSConfigType; + cfgname?: Node[]; + tokentype?: Node[]; + dicts?: Node[]; + override?: boolean; + replace?: boolean; + missing_ok?: boolean; +} +export interface PublicationTable { + relation?: RangeVar; + whereClause?: Node; + columns?: Node[]; +} +export interface PublicationObjSpec { + pubobjtype?: PublicationObjSpecType; + name?: string; + pubtable?: PublicationTable; + location?: number; +} +export interface CreatePublicationStmt { + pubname?: string; + options?: Node[]; + pubobjects?: Node[]; + for_all_tables?: boolean; +} +export interface AlterPublicationStmt { + pubname?: string; + options?: Node[]; + pubobjects?: Node[]; + for_all_tables?: boolean; + action?: AlterPublicationAction; +} +export interface CreateSubscriptionStmt { + subname?: string; + conninfo?: string; + publication?: Node[]; + options?: Node[]; +} +export interface AlterSubscriptionStmt { + kind?: AlterSubscriptionType; + subname?: string; + conninfo?: string; + publication?: Node[]; + options?: Node[]; +} +export interface DropSubscriptionStmt { + subname?: string; + missing_ok?: boolean; + behavior?: DropBehavior; +} +export interface ScanToken { + start?: number; + end?: number; + token?: Token; + keywordKind?: KeywordKind; +} \ No newline at end of file diff --git a/__fixtures__/output/runtime-schema/full-features/asts.ts b/__fixtures__/output/runtime-schema/full-features/asts.ts new file mode 100644 index 0000000..1d886f5 --- /dev/null +++ b/__fixtures__/output/runtime-schema/full-features/asts.ts @@ -0,0 +1,2330 @@ +/** +* This file was automatically generated by pg-proto-parser@latest. +* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, +* and run the pg-proto-parser generate command to regenerate this file. +*/ +import _o from "nested-obj"; +import { ParseResult, ScanResult, Integer, Float, Boolean, String, BitString, List, OidList, IntList, A_Const, Alias, RangeVar, TableFunc, IntoClause, Var, Param, Aggref, GroupingFunc, WindowFunc, SubscriptingRef, FuncExpr, NamedArgExpr, OpExpr, DistinctExpr, NullIfExpr, ScalarArrayOpExpr, BoolExpr, SubLink, SubPlan, AlternativeSubPlan, FieldSelect, FieldStore, RelabelType, CoerceViaIO, ArrayCoerceExpr, ConvertRowtypeExpr, CollateExpr, CaseExpr, CaseWhen, CaseTestExpr, ArrayExpr, RowExpr, RowCompareExpr, CoalesceExpr, MinMaxExpr, SQLValueFunction, XmlExpr, JsonFormat, JsonReturning, JsonValueExpr, JsonConstructorExpr, JsonIsPredicate, NullTest, BooleanTest, CoerceToDomain, CoerceToDomainValue, SetToDefault, CurrentOfExpr, NextValueExpr, InferenceElem, TargetEntry, RangeTblRef, JoinExpr, FromExpr, OnConflictExpr, Query, TypeName, ColumnRef, ParamRef, A_Expr, TypeCast, CollateClause, RoleSpec, FuncCall, A_Star, A_Indices, A_Indirection, A_ArrayExpr, ResTarget, MultiAssignRef, SortBy, WindowDef, RangeSubselect, RangeFunction, RangeTableFunc, RangeTableFuncCol, RangeTableSample, ColumnDef, TableLikeClause, IndexElem, DefElem, LockingClause, XmlSerialize, PartitionElem, PartitionSpec, PartitionBoundSpec, PartitionRangeDatum, PartitionCmd, RangeTblEntry, RTEPermissionInfo, RangeTblFunction, TableSampleClause, WithCheckOption, SortGroupClause, GroupingSet, WindowClause, RowMarkClause, WithClause, InferClause, OnConflictClause, CTESearchClause, CTECycleClause, CommonTableExpr, MergeWhenClause, MergeAction, TriggerTransition, JsonOutput, JsonKeyValue, JsonObjectConstructor, JsonArrayConstructor, JsonArrayQueryConstructor, JsonAggConstructor, JsonObjectAgg, JsonArrayAgg, RawStmt, InsertStmt, DeleteStmt, UpdateStmt, MergeStmt, SelectStmt, SetOperationStmt, ReturnStmt, PLAssignStmt, CreateSchemaStmt, AlterTableStmt, ReplicaIdentityStmt, AlterTableCmd, AlterCollationStmt, AlterDomainStmt, GrantStmt, ObjectWithArgs, AccessPriv, GrantRoleStmt, AlterDefaultPrivilegesStmt, CopyStmt, VariableSetStmt, VariableShowStmt, CreateStmt, Constraint, CreateTableSpaceStmt, DropTableSpaceStmt, AlterTableSpaceOptionsStmt, AlterTableMoveAllStmt, CreateExtensionStmt, AlterExtensionStmt, AlterExtensionContentsStmt, CreateFdwStmt, AlterFdwStmt, CreateForeignServerStmt, AlterForeignServerStmt, CreateForeignTableStmt, CreateUserMappingStmt, AlterUserMappingStmt, DropUserMappingStmt, ImportForeignSchemaStmt, CreatePolicyStmt, AlterPolicyStmt, CreateAmStmt, CreateTrigStmt, CreateEventTrigStmt, AlterEventTrigStmt, CreatePLangStmt, CreateRoleStmt, AlterRoleStmt, AlterRoleSetStmt, DropRoleStmt, CreateSeqStmt, AlterSeqStmt, DefineStmt, CreateDomainStmt, CreateOpClassStmt, CreateOpClassItem, CreateOpFamilyStmt, AlterOpFamilyStmt, DropStmt, TruncateStmt, CommentStmt, SecLabelStmt, DeclareCursorStmt, ClosePortalStmt, FetchStmt, IndexStmt, CreateStatsStmt, StatsElem, AlterStatsStmt, CreateFunctionStmt, FunctionParameter, AlterFunctionStmt, DoStmt, InlineCodeBlock, CallStmt, CallContext, RenameStmt, AlterObjectDependsStmt, AlterObjectSchemaStmt, AlterOwnerStmt, AlterOperatorStmt, AlterTypeStmt, RuleStmt, NotifyStmt, ListenStmt, UnlistenStmt, TransactionStmt, CompositeTypeStmt, CreateEnumStmt, CreateRangeStmt, AlterEnumStmt, ViewStmt, LoadStmt, CreatedbStmt, AlterDatabaseStmt, AlterDatabaseRefreshCollStmt, AlterDatabaseSetStmt, DropdbStmt, AlterSystemStmt, ClusterStmt, VacuumStmt, VacuumRelation, ExplainStmt, CreateTableAsStmt, RefreshMatViewStmt, CheckPointStmt, DiscardStmt, LockStmt, ConstraintsSetStmt, ReindexStmt, CreateConversionStmt, CreateCastStmt, CreateTransformStmt, PrepareStmt, ExecuteStmt, DeallocateStmt, DropOwnedStmt, ReassignOwnedStmt, AlterTSDictionaryStmt, AlterTSConfigurationStmt, PublicationTable, PublicationObjSpec, CreatePublicationStmt, AlterPublicationStmt, CreateSubscriptionStmt, AlterSubscriptionStmt, DropSubscriptionStmt, ScanToken } from "./wrapped"; +export default { + parseResult(_p?: ParseResult): ParseResult { + const _j = ({} as ParseResult); + _o.set(_j, "version", _p?.version); + _o.set(_j, "stmts", _p?.stmts); + return _j; + }, + scanResult(_p?: ScanResult): ScanResult { + const _j = ({} as ScanResult); + _o.set(_j, "version", _p?.version); + _o.set(_j, "tokens", _p?.tokens); + return _j; + }, + integer(_p?: Integer): Integer { + const _j = ({} as Integer); + _o.set(_j, "ival", _p?.ival); + return _j; + }, + float(_p?: Float): Float { + const _j = ({} as Float); + _o.set(_j, "fval", _p?.fval); + return _j; + }, + boolean(_p?: Boolean): Boolean { + const _j = ({} as Boolean); + _o.set(_j, "boolval", _p?.boolval); + return _j; + }, + string(_p?: String): String { + const _j = ({} as String); + _o.set(_j, "sval", _p?.sval); + return _j; + }, + bitString(_p?: BitString): BitString { + const _j = ({} as BitString); + _o.set(_j, "bsval", _p?.bsval); + return _j; + }, + list(_p?: List): List { + const _j = ({} as List); + _o.set(_j, "items", _p?.items); + return _j; + }, + oidList(_p?: OidList): OidList { + const _j = ({} as OidList); + _o.set(_j, "items", _p?.items); + return _j; + }, + intList(_p?: IntList): IntList { + const _j = ({} as IntList); + _o.set(_j, "items", _p?.items); + return _j; + }, + aConst(_p?: A_Const): A_Const { + const _j = ({} as A_Const); + _o.set(_j, "ival", _p?.ival); + _o.set(_j, "fval", _p?.fval); + _o.set(_j, "boolval", _p?.boolval); + _o.set(_j, "sval", _p?.sval); + _o.set(_j, "bsval", _p?.bsval); + _o.set(_j, "isnull", _p?.isnull); + _o.set(_j, "location", _p?.location); + return _j; + }, + alias(_p?: Alias): Alias { + const _j = ({} as Alias); + _o.set(_j, "aliasname", _p?.aliasname); + _o.set(_j, "colnames", _p?.colnames); + return _j; + }, + rangeVar(_p?: RangeVar): RangeVar { + const _j = ({} as RangeVar); + _o.set(_j, "catalogname", _p?.catalogname); + _o.set(_j, "schemaname", _p?.schemaname); + _o.set(_j, "relname", _p?.relname); + _o.set(_j, "inh", _p?.inh); + _o.set(_j, "relpersistence", _p?.relpersistence); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "location", _p?.location); + return _j; + }, + tableFunc(_p?: TableFunc): TableFunc { + const _j = ({} as TableFunc); + _o.set(_j, "ns_uris", _p?.ns_uris); + _o.set(_j, "ns_names", _p?.ns_names); + _o.set(_j, "docexpr", _p?.docexpr); + _o.set(_j, "rowexpr", _p?.rowexpr); + _o.set(_j, "colnames", _p?.colnames); + _o.set(_j, "coltypes", _p?.coltypes); + _o.set(_j, "coltypmods", _p?.coltypmods); + _o.set(_j, "colcollations", _p?.colcollations); + _o.set(_j, "colexprs", _p?.colexprs); + _o.set(_j, "coldefexprs", _p?.coldefexprs); + _o.set(_j, "notnulls", _p?.notnulls); + _o.set(_j, "ordinalitycol", _p?.ordinalitycol); + _o.set(_j, "location", _p?.location); + return _j; + }, + intoClause(_p?: IntoClause): IntoClause { + const _j = ({} as IntoClause); + _o.set(_j, "rel", _p?.rel); + _o.set(_j, "colNames", _p?.colNames); + _o.set(_j, "accessMethod", _p?.accessMethod); + _o.set(_j, "options", _p?.options); + _o.set(_j, "onCommit", _p?.onCommit); + _o.set(_j, "tableSpaceName", _p?.tableSpaceName); + _o.set(_j, "viewQuery", _p?.viewQuery); + _o.set(_j, "skipData", _p?.skipData); + return _j; + }, + var(_p?: Var): Var { + const _j = ({} as Var); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "varno", _p?.varno); + _o.set(_j, "varattno", _p?.varattno); + _o.set(_j, "vartype", _p?.vartype); + _o.set(_j, "vartypmod", _p?.vartypmod); + _o.set(_j, "varcollid", _p?.varcollid); + _o.set(_j, "varnullingrels", _p?.varnullingrels); + _o.set(_j, "varlevelsup", _p?.varlevelsup); + _o.set(_j, "location", _p?.location); + return _j; + }, + param(_p?: Param): Param { + const _j = ({} as Param); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "paramkind", _p?.paramkind); + _o.set(_j, "paramid", _p?.paramid); + _o.set(_j, "paramtype", _p?.paramtype); + _o.set(_j, "paramtypmod", _p?.paramtypmod); + _o.set(_j, "paramcollid", _p?.paramcollid); + _o.set(_j, "location", _p?.location); + return _j; + }, + aggref(_p?: Aggref): Aggref { + const _j = ({} as Aggref); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "aggfnoid", _p?.aggfnoid); + _o.set(_j, "aggtype", _p?.aggtype); + _o.set(_j, "aggcollid", _p?.aggcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "aggargtypes", _p?.aggargtypes); + _o.set(_j, "aggdirectargs", _p?.aggdirectargs); + _o.set(_j, "args", _p?.args); + _o.set(_j, "aggorder", _p?.aggorder); + _o.set(_j, "aggdistinct", _p?.aggdistinct); + _o.set(_j, "aggfilter", _p?.aggfilter); + _o.set(_j, "aggstar", _p?.aggstar); + _o.set(_j, "aggvariadic", _p?.aggvariadic); + _o.set(_j, "aggkind", _p?.aggkind); + _o.set(_j, "agglevelsup", _p?.agglevelsup); + _o.set(_j, "aggsplit", _p?.aggsplit); + _o.set(_j, "aggno", _p?.aggno); + _o.set(_j, "aggtransno", _p?.aggtransno); + _o.set(_j, "location", _p?.location); + return _j; + }, + groupingFunc(_p?: GroupingFunc): GroupingFunc { + const _j = ({} as GroupingFunc); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "args", _p?.args); + _o.set(_j, "refs", _p?.refs); + _o.set(_j, "agglevelsup", _p?.agglevelsup); + _o.set(_j, "location", _p?.location); + return _j; + }, + windowFunc(_p?: WindowFunc): WindowFunc { + const _j = ({} as WindowFunc); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "winfnoid", _p?.winfnoid); + _o.set(_j, "wintype", _p?.wintype); + _o.set(_j, "wincollid", _p?.wincollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "aggfilter", _p?.aggfilter); + _o.set(_j, "winref", _p?.winref); + _o.set(_j, "winstar", _p?.winstar); + _o.set(_j, "winagg", _p?.winagg); + _o.set(_j, "location", _p?.location); + return _j; + }, + subscriptingRef(_p?: SubscriptingRef): SubscriptingRef { + const _j = ({} as SubscriptingRef); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "refcontainertype", _p?.refcontainertype); + _o.set(_j, "refelemtype", _p?.refelemtype); + _o.set(_j, "refrestype", _p?.refrestype); + _o.set(_j, "reftypmod", _p?.reftypmod); + _o.set(_j, "refcollid", _p?.refcollid); + _o.set(_j, "refupperindexpr", _p?.refupperindexpr); + _o.set(_j, "reflowerindexpr", _p?.reflowerindexpr); + _o.set(_j, "refexpr", _p?.refexpr); + _o.set(_j, "refassgnexpr", _p?.refassgnexpr); + return _j; + }, + funcExpr(_p?: FuncExpr): FuncExpr { + const _j = ({} as FuncExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "funcid", _p?.funcid); + _o.set(_j, "funcresulttype", _p?.funcresulttype); + _o.set(_j, "funcretset", _p?.funcretset); + _o.set(_j, "funcvariadic", _p?.funcvariadic); + _o.set(_j, "funcformat", _p?.funcformat); + _o.set(_j, "funccollid", _p?.funccollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + namedArgExpr(_p?: NamedArgExpr): NamedArgExpr { + const _j = ({} as NamedArgExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "name", _p?.name); + _o.set(_j, "argnumber", _p?.argnumber); + _o.set(_j, "location", _p?.location); + return _j; + }, + opExpr(_p?: OpExpr): OpExpr { + const _j = ({} as OpExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "opresulttype", _p?.opresulttype); + _o.set(_j, "opretset", _p?.opretset); + _o.set(_j, "opcollid", _p?.opcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + distinctExpr(_p?: DistinctExpr): DistinctExpr { + const _j = ({} as DistinctExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "opresulttype", _p?.opresulttype); + _o.set(_j, "opretset", _p?.opretset); + _o.set(_j, "opcollid", _p?.opcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + nullIfExpr(_p?: NullIfExpr): NullIfExpr { + const _j = ({} as NullIfExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "opresulttype", _p?.opresulttype); + _o.set(_j, "opretset", _p?.opretset); + _o.set(_j, "opcollid", _p?.opcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + scalarArrayOpExpr(_p?: ScalarArrayOpExpr): ScalarArrayOpExpr { + const _j = ({} as ScalarArrayOpExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "useOr", _p?.useOr); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + boolExpr(_p?: BoolExpr): BoolExpr { + const _j = ({} as BoolExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "boolop", _p?.boolop); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + subLink(_p?: SubLink): SubLink { + const _j = ({} as SubLink); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "subLinkType", _p?.subLinkType); + _o.set(_j, "subLinkId", _p?.subLinkId); + _o.set(_j, "testexpr", _p?.testexpr); + _o.set(_j, "operName", _p?.operName); + _o.set(_j, "subselect", _p?.subselect); + _o.set(_j, "location", _p?.location); + return _j; + }, + subPlan(_p?: SubPlan): SubPlan { + const _j = ({} as SubPlan); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "subLinkType", _p?.subLinkType); + _o.set(_j, "testexpr", _p?.testexpr); + _o.set(_j, "paramIds", _p?.paramIds); + _o.set(_j, "plan_id", _p?.plan_id); + _o.set(_j, "plan_name", _p?.plan_name); + _o.set(_j, "firstColType", _p?.firstColType); + _o.set(_j, "firstColTypmod", _p?.firstColTypmod); + _o.set(_j, "firstColCollation", _p?.firstColCollation); + _o.set(_j, "useHashTable", _p?.useHashTable); + _o.set(_j, "unknownEqFalse", _p?.unknownEqFalse); + _o.set(_j, "parallel_safe", _p?.parallel_safe); + _o.set(_j, "setParam", _p?.setParam); + _o.set(_j, "parParam", _p?.parParam); + _o.set(_j, "args", _p?.args); + _o.set(_j, "startup_cost", _p?.startup_cost); + _o.set(_j, "per_call_cost", _p?.per_call_cost); + return _j; + }, + alternativeSubPlan(_p?: AlternativeSubPlan): AlternativeSubPlan { + const _j = ({} as AlternativeSubPlan); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "subplans", _p?.subplans); + return _j; + }, + fieldSelect(_p?: FieldSelect): FieldSelect { + const _j = ({} as FieldSelect); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "fieldnum", _p?.fieldnum); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + return _j; + }, + fieldStore(_p?: FieldStore): FieldStore { + const _j = ({} as FieldStore); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "newvals", _p?.newvals); + _o.set(_j, "fieldnums", _p?.fieldnums); + _o.set(_j, "resulttype", _p?.resulttype); + return _j; + }, + relabelType(_p?: RelabelType): RelabelType { + const _j = ({} as RelabelType); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "relabelformat", _p?.relabelformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + coerceViaio(_p?: CoerceViaIO): CoerceViaIO { + const _j = ({} as CoerceViaIO); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "coerceformat", _p?.coerceformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + arrayCoerceExpr(_p?: ArrayCoerceExpr): ArrayCoerceExpr { + const _j = ({} as ArrayCoerceExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "elemexpr", _p?.elemexpr); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "coerceformat", _p?.coerceformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + convertRowtypeExpr(_p?: ConvertRowtypeExpr): ConvertRowtypeExpr { + const _j = ({} as ConvertRowtypeExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "convertformat", _p?.convertformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + collateExpr(_p?: CollateExpr): CollateExpr { + const _j = ({} as CollateExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "collOid", _p?.collOid); + _o.set(_j, "location", _p?.location); + return _j; + }, + caseExpr(_p?: CaseExpr): CaseExpr { + const _j = ({} as CaseExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "casetype", _p?.casetype); + _o.set(_j, "casecollid", _p?.casecollid); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "args", _p?.args); + _o.set(_j, "defresult", _p?.defresult); + _o.set(_j, "location", _p?.location); + return _j; + }, + caseWhen(_p?: CaseWhen): CaseWhen { + const _j = ({} as CaseWhen); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "result", _p?.result); + _o.set(_j, "location", _p?.location); + return _j; + }, + caseTestExpr(_p?: CaseTestExpr): CaseTestExpr { + const _j = ({} as CaseTestExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "typeId", _p?.typeId); + _o.set(_j, "typeMod", _p?.typeMod); + _o.set(_j, "collation", _p?.collation); + return _j; + }, + arrayExpr(_p?: ArrayExpr): ArrayExpr { + const _j = ({} as ArrayExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "array_typeid", _p?.array_typeid); + _o.set(_j, "array_collid", _p?.array_collid); + _o.set(_j, "element_typeid", _p?.element_typeid); + _o.set(_j, "elements", _p?.elements); + _o.set(_j, "multidims", _p?.multidims); + _o.set(_j, "location", _p?.location); + return _j; + }, + rowExpr(_p?: RowExpr): RowExpr { + const _j = ({} as RowExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "args", _p?.args); + _o.set(_j, "row_typeid", _p?.row_typeid); + _o.set(_j, "row_format", _p?.row_format); + _o.set(_j, "colnames", _p?.colnames); + _o.set(_j, "location", _p?.location); + return _j; + }, + rowCompareExpr(_p?: RowCompareExpr): RowCompareExpr { + const _j = ({} as RowCompareExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "rctype", _p?.rctype); + _o.set(_j, "opnos", _p?.opnos); + _o.set(_j, "opfamilies", _p?.opfamilies); + _o.set(_j, "inputcollids", _p?.inputcollids); + _o.set(_j, "largs", _p?.largs); + _o.set(_j, "rargs", _p?.rargs); + return _j; + }, + coalesceExpr(_p?: CoalesceExpr): CoalesceExpr { + const _j = ({} as CoalesceExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "coalescetype", _p?.coalescetype); + _o.set(_j, "coalescecollid", _p?.coalescecollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + minMaxExpr(_p?: MinMaxExpr): MinMaxExpr { + const _j = ({} as MinMaxExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "minmaxtype", _p?.minmaxtype); + _o.set(_j, "minmaxcollid", _p?.minmaxcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "op", _p?.op); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + sqlValueFunction(_p?: SQLValueFunction): SQLValueFunction { + const _j = ({} as SQLValueFunction); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "op", _p?.op); + _o.set(_j, "type", _p?.type); + _o.set(_j, "typmod", _p?.typmod); + _o.set(_j, "location", _p?.location); + return _j; + }, + xmlExpr(_p?: XmlExpr): XmlExpr { + const _j = ({} as XmlExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "op", _p?.op); + _o.set(_j, "name", _p?.name); + _o.set(_j, "named_args", _p?.named_args); + _o.set(_j, "arg_names", _p?.arg_names); + _o.set(_j, "args", _p?.args); + _o.set(_j, "xmloption", _p?.xmloption); + _o.set(_j, "indent", _p?.indent); + _o.set(_j, "type", _p?.type); + _o.set(_j, "typmod", _p?.typmod); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonFormat(_p?: JsonFormat): JsonFormat { + const _j = ({} as JsonFormat); + _o.set(_j, "format_type", _p?.format_type); + _o.set(_j, "encoding", _p?.encoding); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonReturning(_p?: JsonReturning): JsonReturning { + const _j = ({} as JsonReturning); + _o.set(_j, "format", _p?.format); + _o.set(_j, "typid", _p?.typid); + _o.set(_j, "typmod", _p?.typmod); + return _j; + }, + jsonValueExpr(_p?: JsonValueExpr): JsonValueExpr { + const _j = ({} as JsonValueExpr); + _o.set(_j, "raw_expr", _p?.raw_expr); + _o.set(_j, "formatted_expr", _p?.formatted_expr); + _o.set(_j, "format", _p?.format); + return _j; + }, + jsonConstructorExpr(_p?: JsonConstructorExpr): JsonConstructorExpr { + const _j = ({} as JsonConstructorExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "type", _p?.type); + _o.set(_j, "args", _p?.args); + _o.set(_j, "func", _p?.func); + _o.set(_j, "coercion", _p?.coercion); + _o.set(_j, "returning", _p?.returning); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "unique", _p?.unique); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonIsPredicate(_p?: JsonIsPredicate): JsonIsPredicate { + const _j = ({} as JsonIsPredicate); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "format", _p?.format); + _o.set(_j, "item_type", _p?.item_type); + _o.set(_j, "unique_keys", _p?.unique_keys); + _o.set(_j, "location", _p?.location); + return _j; + }, + nullTest(_p?: NullTest): NullTest { + const _j = ({} as NullTest); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "nulltesttype", _p?.nulltesttype); + _o.set(_j, "argisrow", _p?.argisrow); + _o.set(_j, "location", _p?.location); + return _j; + }, + booleanTest(_p?: BooleanTest): BooleanTest { + const _j = ({} as BooleanTest); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "booltesttype", _p?.booltesttype); + _o.set(_j, "location", _p?.location); + return _j; + }, + coerceToDomain(_p?: CoerceToDomain): CoerceToDomain { + const _j = ({} as CoerceToDomain); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "coercionformat", _p?.coercionformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + coerceToDomainValue(_p?: CoerceToDomainValue): CoerceToDomainValue { + const _j = ({} as CoerceToDomainValue); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "typeId", _p?.typeId); + _o.set(_j, "typeMod", _p?.typeMod); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "location", _p?.location); + return _j; + }, + setToDefault(_p?: SetToDefault): SetToDefault { + const _j = ({} as SetToDefault); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "typeId", _p?.typeId); + _o.set(_j, "typeMod", _p?.typeMod); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "location", _p?.location); + return _j; + }, + currentOfExpr(_p?: CurrentOfExpr): CurrentOfExpr { + const _j = ({} as CurrentOfExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "cvarno", _p?.cvarno); + _o.set(_j, "cursor_name", _p?.cursor_name); + _o.set(_j, "cursor_param", _p?.cursor_param); + return _j; + }, + nextValueExpr(_p?: NextValueExpr): NextValueExpr { + const _j = ({} as NextValueExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "seqid", _p?.seqid); + _o.set(_j, "typeId", _p?.typeId); + return _j; + }, + inferenceElem(_p?: InferenceElem): InferenceElem { + const _j = ({} as InferenceElem); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "infercollid", _p?.infercollid); + _o.set(_j, "inferopclass", _p?.inferopclass); + return _j; + }, + targetEntry(_p?: TargetEntry): TargetEntry { + const _j = ({} as TargetEntry); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "resno", _p?.resno); + _o.set(_j, "resname", _p?.resname); + _o.set(_j, "ressortgroupref", _p?.ressortgroupref); + _o.set(_j, "resorigtbl", _p?.resorigtbl); + _o.set(_j, "resorigcol", _p?.resorigcol); + _o.set(_j, "resjunk", _p?.resjunk); + return _j; + }, + rangeTblRef(_p?: RangeTblRef): RangeTblRef { + const _j = ({} as RangeTblRef); + _o.set(_j, "rtindex", _p?.rtindex); + return _j; + }, + joinExpr(_p?: JoinExpr): JoinExpr { + const _j = ({} as JoinExpr); + _o.set(_j, "jointype", _p?.jointype); + _o.set(_j, "isNatural", _p?.isNatural); + _o.set(_j, "larg", _p?.larg); + _o.set(_j, "rarg", _p?.rarg); + _o.set(_j, "usingClause", _p?.usingClause); + _o.set(_j, "join_using_alias", _p?.join_using_alias); + _o.set(_j, "quals", _p?.quals); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "rtindex", _p?.rtindex); + return _j; + }, + fromExpr(_p?: FromExpr): FromExpr { + const _j = ({} as FromExpr); + _o.set(_j, "fromlist", _p?.fromlist); + _o.set(_j, "quals", _p?.quals); + return _j; + }, + onConflictExpr(_p?: OnConflictExpr): OnConflictExpr { + const _j = ({} as OnConflictExpr); + _o.set(_j, "action", _p?.action); + _o.set(_j, "arbiterElems", _p?.arbiterElems); + _o.set(_j, "arbiterWhere", _p?.arbiterWhere); + _o.set(_j, "constraint", _p?.constraint); + _o.set(_j, "onConflictSet", _p?.onConflictSet); + _o.set(_j, "onConflictWhere", _p?.onConflictWhere); + _o.set(_j, "exclRelIndex", _p?.exclRelIndex); + _o.set(_j, "exclRelTlist", _p?.exclRelTlist); + return _j; + }, + query(_p?: Query): Query { + const _j = ({} as Query); + _o.set(_j, "commandType", _p?.commandType); + _o.set(_j, "querySource", _p?.querySource); + _o.set(_j, "canSetTag", _p?.canSetTag); + _o.set(_j, "utilityStmt", _p?.utilityStmt); + _o.set(_j, "resultRelation", _p?.resultRelation); + _o.set(_j, "hasAggs", _p?.hasAggs); + _o.set(_j, "hasWindowFuncs", _p?.hasWindowFuncs); + _o.set(_j, "hasTargetSRFs", _p?.hasTargetSRFs); + _o.set(_j, "hasSubLinks", _p?.hasSubLinks); + _o.set(_j, "hasDistinctOn", _p?.hasDistinctOn); + _o.set(_j, "hasRecursive", _p?.hasRecursive); + _o.set(_j, "hasModifyingCTE", _p?.hasModifyingCTE); + _o.set(_j, "hasForUpdate", _p?.hasForUpdate); + _o.set(_j, "hasRowSecurity", _p?.hasRowSecurity); + _o.set(_j, "isReturn", _p?.isReturn); + _o.set(_j, "cteList", _p?.cteList); + _o.set(_j, "rtable", _p?.rtable); + _o.set(_j, "rteperminfos", _p?.rteperminfos); + _o.set(_j, "jointree", _p?.jointree); + _o.set(_j, "mergeActionList", _p?.mergeActionList); + _o.set(_j, "mergeUseOuterJoin", _p?.mergeUseOuterJoin); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "override", _p?.override); + _o.set(_j, "onConflict", _p?.onConflict); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "groupClause", _p?.groupClause); + _o.set(_j, "groupDistinct", _p?.groupDistinct); + _o.set(_j, "groupingSets", _p?.groupingSets); + _o.set(_j, "havingQual", _p?.havingQual); + _o.set(_j, "windowClause", _p?.windowClause); + _o.set(_j, "distinctClause", _p?.distinctClause); + _o.set(_j, "sortClause", _p?.sortClause); + _o.set(_j, "limitOffset", _p?.limitOffset); + _o.set(_j, "limitCount", _p?.limitCount); + _o.set(_j, "limitOption", _p?.limitOption); + _o.set(_j, "rowMarks", _p?.rowMarks); + _o.set(_j, "setOperations", _p?.setOperations); + _o.set(_j, "constraintDeps", _p?.constraintDeps); + _o.set(_j, "withCheckOptions", _p?.withCheckOptions); + _o.set(_j, "stmt_location", _p?.stmt_location); + _o.set(_j, "stmt_len", _p?.stmt_len); + return _j; + }, + typeName(_p?: TypeName): TypeName { + const _j = ({} as TypeName); + _o.set(_j, "names", _p?.names); + _o.set(_j, "typeOid", _p?.typeOid); + _o.set(_j, "setof", _p?.setof); + _o.set(_j, "pct_type", _p?.pct_type); + _o.set(_j, "typmods", _p?.typmods); + _o.set(_j, "typemod", _p?.typemod); + _o.set(_j, "arrayBounds", _p?.arrayBounds); + _o.set(_j, "location", _p?.location); + return _j; + }, + columnRef(_p?: ColumnRef): ColumnRef { + const _j = ({} as ColumnRef); + _o.set(_j, "fields", _p?.fields); + _o.set(_j, "location", _p?.location); + return _j; + }, + paramRef(_p?: ParamRef): ParamRef { + const _j = ({} as ParamRef); + _o.set(_j, "number", _p?.number); + _o.set(_j, "location", _p?.location); + return _j; + }, + aExpr(_p?: A_Expr): A_Expr { + const _j = ({} as A_Expr); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "name", _p?.name); + _o.set(_j, "lexpr", _p?.lexpr); + _o.set(_j, "rexpr", _p?.rexpr); + _o.set(_j, "location", _p?.location); + return _j; + }, + typeCast(_p?: TypeCast): TypeCast { + const _j = ({} as TypeCast); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "location", _p?.location); + return _j; + }, + collateClause(_p?: CollateClause): CollateClause { + const _j = ({} as CollateClause); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "collname", _p?.collname); + _o.set(_j, "location", _p?.location); + return _j; + }, + roleSpec(_p?: RoleSpec): RoleSpec { + const _j = ({} as RoleSpec); + _o.set(_j, "roletype", _p?.roletype); + _o.set(_j, "rolename", _p?.rolename); + _o.set(_j, "location", _p?.location); + return _j; + }, + funcCall(_p?: FuncCall): FuncCall { + const _j = ({} as FuncCall); + _o.set(_j, "funcname", _p?.funcname); + _o.set(_j, "args", _p?.args); + _o.set(_j, "agg_order", _p?.agg_order); + _o.set(_j, "agg_filter", _p?.agg_filter); + _o.set(_j, "over", _p?.over); + _o.set(_j, "agg_within_group", _p?.agg_within_group); + _o.set(_j, "agg_star", _p?.agg_star); + _o.set(_j, "agg_distinct", _p?.agg_distinct); + _o.set(_j, "func_variadic", _p?.func_variadic); + _o.set(_j, "funcformat", _p?.funcformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + aStar(_p?: A_Star): A_Star { + const _j = ({} as A_Star); + return _j; + }, + aIndices(_p?: A_Indices): A_Indices { + const _j = ({} as A_Indices); + _o.set(_j, "is_slice", _p?.is_slice); + _o.set(_j, "lidx", _p?.lidx); + _o.set(_j, "uidx", _p?.uidx); + return _j; + }, + aIndirection(_p?: A_Indirection): A_Indirection { + const _j = ({} as A_Indirection); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "indirection", _p?.indirection); + return _j; + }, + aArrayExpr(_p?: A_ArrayExpr): A_ArrayExpr { + const _j = ({} as A_ArrayExpr); + _o.set(_j, "elements", _p?.elements); + _o.set(_j, "location", _p?.location); + return _j; + }, + resTarget(_p?: ResTarget): ResTarget { + const _j = ({} as ResTarget); + _o.set(_j, "name", _p?.name); + _o.set(_j, "indirection", _p?.indirection); + _o.set(_j, "val", _p?.val); + _o.set(_j, "location", _p?.location); + return _j; + }, + multiAssignRef(_p?: MultiAssignRef): MultiAssignRef { + const _j = ({} as MultiAssignRef); + _o.set(_j, "source", _p?.source); + _o.set(_j, "colno", _p?.colno); + _o.set(_j, "ncolumns", _p?.ncolumns); + return _j; + }, + sortBy(_p?: SortBy): SortBy { + const _j = ({} as SortBy); + _o.set(_j, "node", _p?.node); + _o.set(_j, "sortby_dir", _p?.sortby_dir); + _o.set(_j, "sortby_nulls", _p?.sortby_nulls); + _o.set(_j, "useOp", _p?.useOp); + _o.set(_j, "location", _p?.location); + return _j; + }, + windowDef(_p?: WindowDef): WindowDef { + const _j = ({} as WindowDef); + _o.set(_j, "name", _p?.name); + _o.set(_j, "refname", _p?.refname); + _o.set(_j, "partitionClause", _p?.partitionClause); + _o.set(_j, "orderClause", _p?.orderClause); + _o.set(_j, "frameOptions", _p?.frameOptions); + _o.set(_j, "startOffset", _p?.startOffset); + _o.set(_j, "endOffset", _p?.endOffset); + _o.set(_j, "location", _p?.location); + return _j; + }, + rangeSubselect(_p?: RangeSubselect): RangeSubselect { + const _j = ({} as RangeSubselect); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "subquery", _p?.subquery); + _o.set(_j, "alias", _p?.alias); + return _j; + }, + rangeFunction(_p?: RangeFunction): RangeFunction { + const _j = ({} as RangeFunction); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "ordinality", _p?.ordinality); + _o.set(_j, "is_rowsfrom", _p?.is_rowsfrom); + _o.set(_j, "functions", _p?.functions); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "coldeflist", _p?.coldeflist); + return _j; + }, + rangeTableFunc(_p?: RangeTableFunc): RangeTableFunc { + const _j = ({} as RangeTableFunc); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "docexpr", _p?.docexpr); + _o.set(_j, "rowexpr", _p?.rowexpr); + _o.set(_j, "namespaces", _p?.namespaces); + _o.set(_j, "columns", _p?.columns); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "location", _p?.location); + return _j; + }, + rangeTableFuncCol(_p?: RangeTableFuncCol): RangeTableFuncCol { + const _j = ({} as RangeTableFuncCol); + _o.set(_j, "colname", _p?.colname); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "for_ordinality", _p?.for_ordinality); + _o.set(_j, "is_not_null", _p?.is_not_null); + _o.set(_j, "colexpr", _p?.colexpr); + _o.set(_j, "coldefexpr", _p?.coldefexpr); + _o.set(_j, "location", _p?.location); + return _j; + }, + rangeTableSample(_p?: RangeTableSample): RangeTableSample { + const _j = ({} as RangeTableSample); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "method", _p?.method); + _o.set(_j, "args", _p?.args); + _o.set(_j, "repeatable", _p?.repeatable); + _o.set(_j, "location", _p?.location); + return _j; + }, + columnDef(_p?: ColumnDef): ColumnDef { + const _j = ({} as ColumnDef); + _o.set(_j, "colname", _p?.colname); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "compression", _p?.compression); + _o.set(_j, "inhcount", _p?.inhcount); + _o.set(_j, "is_local", _p?.is_local); + _o.set(_j, "is_not_null", _p?.is_not_null); + _o.set(_j, "is_from_type", _p?.is_from_type); + _o.set(_j, "storage", _p?.storage); + _o.set(_j, "storage_name", _p?.storage_name); + _o.set(_j, "raw_default", _p?.raw_default); + _o.set(_j, "cooked_default", _p?.cooked_default); + _o.set(_j, "identity", _p?.identity); + _o.set(_j, "identitySequence", _p?.identitySequence); + _o.set(_j, "generated", _p?.generated); + _o.set(_j, "collClause", _p?.collClause); + _o.set(_j, "collOid", _p?.collOid); + _o.set(_j, "constraints", _p?.constraints); + _o.set(_j, "fdwoptions", _p?.fdwoptions); + _o.set(_j, "location", _p?.location); + return _j; + }, + tableLikeClause(_p?: TableLikeClause): TableLikeClause { + const _j = ({} as TableLikeClause); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "options", _p?.options); + _o.set(_j, "relationOid", _p?.relationOid); + return _j; + }, + indexElem(_p?: IndexElem): IndexElem { + const _j = ({} as IndexElem); + _o.set(_j, "name", _p?.name); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "indexcolname", _p?.indexcolname); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "opclass", _p?.opclass); + _o.set(_j, "opclassopts", _p?.opclassopts); + _o.set(_j, "ordering", _p?.ordering); + _o.set(_j, "nulls_ordering", _p?.nulls_ordering); + return _j; + }, + defElem(_p?: DefElem): DefElem { + const _j = ({} as DefElem); + _o.set(_j, "defnamespace", _p?.defnamespace); + _o.set(_j, "defname", _p?.defname); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "defaction", _p?.defaction); + _o.set(_j, "location", _p?.location); + return _j; + }, + lockingClause(_p?: LockingClause): LockingClause { + const _j = ({} as LockingClause); + _o.set(_j, "lockedRels", _p?.lockedRels); + _o.set(_j, "strength", _p?.strength); + _o.set(_j, "waitPolicy", _p?.waitPolicy); + return _j; + }, + xmlSerialize(_p?: XmlSerialize): XmlSerialize { + const _j = ({} as XmlSerialize); + _o.set(_j, "xmloption", _p?.xmloption); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "indent", _p?.indent); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionElem(_p?: PartitionElem): PartitionElem { + const _j = ({} as PartitionElem); + _o.set(_j, "name", _p?.name); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "opclass", _p?.opclass); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionSpec(_p?: PartitionSpec): PartitionSpec { + const _j = ({} as PartitionSpec); + _o.set(_j, "strategy", _p?.strategy); + _o.set(_j, "partParams", _p?.partParams); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionBoundSpec(_p?: PartitionBoundSpec): PartitionBoundSpec { + const _j = ({} as PartitionBoundSpec); + _o.set(_j, "strategy", _p?.strategy); + _o.set(_j, "is_default", _p?.is_default); + _o.set(_j, "modulus", _p?.modulus); + _o.set(_j, "remainder", _p?.remainder); + _o.set(_j, "listdatums", _p?.listdatums); + _o.set(_j, "lowerdatums", _p?.lowerdatums); + _o.set(_j, "upperdatums", _p?.upperdatums); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionRangeDatum(_p?: PartitionRangeDatum): PartitionRangeDatum { + const _j = ({} as PartitionRangeDatum); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "value", _p?.value); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionCmd(_p?: PartitionCmd): PartitionCmd { + const _j = ({} as PartitionCmd); + _o.set(_j, "name", _p?.name); + _o.set(_j, "bound", _p?.bound); + _o.set(_j, "concurrent", _p?.concurrent); + return _j; + }, + rangeTblEntry(_p?: RangeTblEntry): RangeTblEntry { + const _j = ({} as RangeTblEntry); + _o.set(_j, "rtekind", _p?.rtekind); + _o.set(_j, "relid", _p?.relid); + _o.set(_j, "relkind", _p?.relkind); + _o.set(_j, "rellockmode", _p?.rellockmode); + _o.set(_j, "tablesample", _p?.tablesample); + _o.set(_j, "perminfoindex", _p?.perminfoindex); + _o.set(_j, "subquery", _p?.subquery); + _o.set(_j, "security_barrier", _p?.security_barrier); + _o.set(_j, "jointype", _p?.jointype); + _o.set(_j, "joinmergedcols", _p?.joinmergedcols); + _o.set(_j, "joinaliasvars", _p?.joinaliasvars); + _o.set(_j, "joinleftcols", _p?.joinleftcols); + _o.set(_j, "joinrightcols", _p?.joinrightcols); + _o.set(_j, "join_using_alias", _p?.join_using_alias); + _o.set(_j, "functions", _p?.functions); + _o.set(_j, "funcordinality", _p?.funcordinality); + _o.set(_j, "tablefunc", _p?.tablefunc); + _o.set(_j, "values_lists", _p?.values_lists); + _o.set(_j, "ctename", _p?.ctename); + _o.set(_j, "ctelevelsup", _p?.ctelevelsup); + _o.set(_j, "self_reference", _p?.self_reference); + _o.set(_j, "coltypes", _p?.coltypes); + _o.set(_j, "coltypmods", _p?.coltypmods); + _o.set(_j, "colcollations", _p?.colcollations); + _o.set(_j, "enrname", _p?.enrname); + _o.set(_j, "enrtuples", _p?.enrtuples); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "eref", _p?.eref); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "inh", _p?.inh); + _o.set(_j, "inFromCl", _p?.inFromCl); + _o.set(_j, "securityQuals", _p?.securityQuals); + return _j; + }, + rtePermissionInfo(_p?: RTEPermissionInfo): RTEPermissionInfo { + const _j = ({} as RTEPermissionInfo); + _o.set(_j, "relid", _p?.relid); + _o.set(_j, "inh", _p?.inh); + _o.set(_j, "requiredPerms", _p?.requiredPerms); + _o.set(_j, "checkAsUser", _p?.checkAsUser); + _o.set(_j, "selectedCols", _p?.selectedCols); + _o.set(_j, "insertedCols", _p?.insertedCols); + _o.set(_j, "updatedCols", _p?.updatedCols); + return _j; + }, + rangeTblFunction(_p?: RangeTblFunction): RangeTblFunction { + const _j = ({} as RangeTblFunction); + _o.set(_j, "funcexpr", _p?.funcexpr); + _o.set(_j, "funccolcount", _p?.funccolcount); + _o.set(_j, "funccolnames", _p?.funccolnames); + _o.set(_j, "funccoltypes", _p?.funccoltypes); + _o.set(_j, "funccoltypmods", _p?.funccoltypmods); + _o.set(_j, "funccolcollations", _p?.funccolcollations); + _o.set(_j, "funcparams", _p?.funcparams); + return _j; + }, + tableSampleClause(_p?: TableSampleClause): TableSampleClause { + const _j = ({} as TableSampleClause); + _o.set(_j, "tsmhandler", _p?.tsmhandler); + _o.set(_j, "args", _p?.args); + _o.set(_j, "repeatable", _p?.repeatable); + return _j; + }, + withCheckOption(_p?: WithCheckOption): WithCheckOption { + const _j = ({} as WithCheckOption); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "relname", _p?.relname); + _o.set(_j, "polname", _p?.polname); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "cascaded", _p?.cascaded); + return _j; + }, + sortGroupClause(_p?: SortGroupClause): SortGroupClause { + const _j = ({} as SortGroupClause); + _o.set(_j, "tleSortGroupRef", _p?.tleSortGroupRef); + _o.set(_j, "eqop", _p?.eqop); + _o.set(_j, "sortop", _p?.sortop); + _o.set(_j, "nulls_first", _p?.nulls_first); + _o.set(_j, "hashable", _p?.hashable); + return _j; + }, + groupingSet(_p?: GroupingSet): GroupingSet { + const _j = ({} as GroupingSet); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "content", _p?.content); + _o.set(_j, "location", _p?.location); + return _j; + }, + windowClause(_p?: WindowClause): WindowClause { + const _j = ({} as WindowClause); + _o.set(_j, "name", _p?.name); + _o.set(_j, "refname", _p?.refname); + _o.set(_j, "partitionClause", _p?.partitionClause); + _o.set(_j, "orderClause", _p?.orderClause); + _o.set(_j, "frameOptions", _p?.frameOptions); + _o.set(_j, "startOffset", _p?.startOffset); + _o.set(_j, "endOffset", _p?.endOffset); + _o.set(_j, "runCondition", _p?.runCondition); + _o.set(_j, "startInRangeFunc", _p?.startInRangeFunc); + _o.set(_j, "endInRangeFunc", _p?.endInRangeFunc); + _o.set(_j, "inRangeColl", _p?.inRangeColl); + _o.set(_j, "inRangeAsc", _p?.inRangeAsc); + _o.set(_j, "inRangeNullsFirst", _p?.inRangeNullsFirst); + _o.set(_j, "winref", _p?.winref); + _o.set(_j, "copiedOrder", _p?.copiedOrder); + return _j; + }, + rowMarkClause(_p?: RowMarkClause): RowMarkClause { + const _j = ({} as RowMarkClause); + _o.set(_j, "rti", _p?.rti); + _o.set(_j, "strength", _p?.strength); + _o.set(_j, "waitPolicy", _p?.waitPolicy); + _o.set(_j, "pushedDown", _p?.pushedDown); + return _j; + }, + withClause(_p?: WithClause): WithClause { + const _j = ({} as WithClause); + _o.set(_j, "ctes", _p?.ctes); + _o.set(_j, "recursive", _p?.recursive); + _o.set(_j, "location", _p?.location); + return _j; + }, + inferClause(_p?: InferClause): InferClause { + const _j = ({} as InferClause); + _o.set(_j, "indexElems", _p?.indexElems); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "conname", _p?.conname); + _o.set(_j, "location", _p?.location); + return _j; + }, + onConflictClause(_p?: OnConflictClause): OnConflictClause { + const _j = ({} as OnConflictClause); + _o.set(_j, "action", _p?.action); + _o.set(_j, "infer", _p?.infer); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "location", _p?.location); + return _j; + }, + cteSearchClause(_p?: CTESearchClause): CTESearchClause { + const _j = ({} as CTESearchClause); + _o.set(_j, "search_col_list", _p?.search_col_list); + _o.set(_j, "search_breadth_first", _p?.search_breadth_first); + _o.set(_j, "search_seq_column", _p?.search_seq_column); + _o.set(_j, "location", _p?.location); + return _j; + }, + cteCycleClause(_p?: CTECycleClause): CTECycleClause { + const _j = ({} as CTECycleClause); + _o.set(_j, "cycle_col_list", _p?.cycle_col_list); + _o.set(_j, "cycle_mark_column", _p?.cycle_mark_column); + _o.set(_j, "cycle_mark_value", _p?.cycle_mark_value); + _o.set(_j, "cycle_mark_default", _p?.cycle_mark_default); + _o.set(_j, "cycle_path_column", _p?.cycle_path_column); + _o.set(_j, "location", _p?.location); + _o.set(_j, "cycle_mark_type", _p?.cycle_mark_type); + _o.set(_j, "cycle_mark_typmod", _p?.cycle_mark_typmod); + _o.set(_j, "cycle_mark_collation", _p?.cycle_mark_collation); + _o.set(_j, "cycle_mark_neop", _p?.cycle_mark_neop); + return _j; + }, + commonTableExpr(_p?: CommonTableExpr): CommonTableExpr { + const _j = ({} as CommonTableExpr); + _o.set(_j, "ctename", _p?.ctename); + _o.set(_j, "aliascolnames", _p?.aliascolnames); + _o.set(_j, "ctematerialized", _p?.ctematerialized); + _o.set(_j, "ctequery", _p?.ctequery); + _o.set(_j, "search_clause", _p?.search_clause); + _o.set(_j, "cycle_clause", _p?.cycle_clause); + _o.set(_j, "location", _p?.location); + _o.set(_j, "cterecursive", _p?.cterecursive); + _o.set(_j, "cterefcount", _p?.cterefcount); + _o.set(_j, "ctecolnames", _p?.ctecolnames); + _o.set(_j, "ctecoltypes", _p?.ctecoltypes); + _o.set(_j, "ctecoltypmods", _p?.ctecoltypmods); + _o.set(_j, "ctecolcollations", _p?.ctecolcollations); + return _j; + }, + mergeWhenClause(_p?: MergeWhenClause): MergeWhenClause { + const _j = ({} as MergeWhenClause); + _o.set(_j, "matched", _p?.matched); + _o.set(_j, "commandType", _p?.commandType); + _o.set(_j, "override", _p?.override); + _o.set(_j, "condition", _p?.condition); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "values", _p?.values); + return _j; + }, + mergeAction(_p?: MergeAction): MergeAction { + const _j = ({} as MergeAction); + _o.set(_j, "matched", _p?.matched); + _o.set(_j, "commandType", _p?.commandType); + _o.set(_j, "override", _p?.override); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "updateColnos", _p?.updateColnos); + return _j; + }, + triggerTransition(_p?: TriggerTransition): TriggerTransition { + const _j = ({} as TriggerTransition); + _o.set(_j, "name", _p?.name); + _o.set(_j, "isNew", _p?.isNew); + _o.set(_j, "isTable", _p?.isTable); + return _j; + }, + jsonOutput(_p?: JsonOutput): JsonOutput { + const _j = ({} as JsonOutput); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "returning", _p?.returning); + return _j; + }, + jsonKeyValue(_p?: JsonKeyValue): JsonKeyValue { + const _j = ({} as JsonKeyValue); + _o.set(_j, "key", _p?.key); + _o.set(_j, "value", _p?.value); + return _j; + }, + jsonObjectConstructor(_p?: JsonObjectConstructor): JsonObjectConstructor { + const _j = ({} as JsonObjectConstructor); + _o.set(_j, "exprs", _p?.exprs); + _o.set(_j, "output", _p?.output); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "unique", _p?.unique); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonArrayConstructor(_p?: JsonArrayConstructor): JsonArrayConstructor { + const _j = ({} as JsonArrayConstructor); + _o.set(_j, "exprs", _p?.exprs); + _o.set(_j, "output", _p?.output); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonArrayQueryConstructor(_p?: JsonArrayQueryConstructor): JsonArrayQueryConstructor { + const _j = ({} as JsonArrayQueryConstructor); + _o.set(_j, "query", _p?.query); + _o.set(_j, "output", _p?.output); + _o.set(_j, "format", _p?.format); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonAggConstructor(_p?: JsonAggConstructor): JsonAggConstructor { + const _j = ({} as JsonAggConstructor); + _o.set(_j, "output", _p?.output); + _o.set(_j, "agg_filter", _p?.agg_filter); + _o.set(_j, "agg_order", _p?.agg_order); + _o.set(_j, "over", _p?.over); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonObjectAgg(_p?: JsonObjectAgg): JsonObjectAgg { + const _j = ({} as JsonObjectAgg); + _o.set(_j, "constructor", _p?.constructor); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "unique", _p?.unique); + return _j; + }, + jsonArrayAgg(_p?: JsonArrayAgg): JsonArrayAgg { + const _j = ({} as JsonArrayAgg); + _o.set(_j, "constructor", _p?.constructor); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + return _j; + }, + rawStmt(_p?: RawStmt): RawStmt { + const _j = ({} as RawStmt); + _o.set(_j, "stmt", _p?.stmt); + _o.set(_j, "stmt_location", _p?.stmt_location); + _o.set(_j, "stmt_len", _p?.stmt_len); + return _j; + }, + insertStmt(_p?: InsertStmt): InsertStmt { + const _j = ({} as InsertStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "cols", _p?.cols); + _o.set(_j, "selectStmt", _p?.selectStmt); + _o.set(_j, "onConflictClause", _p?.onConflictClause); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "withClause", _p?.withClause); + _o.set(_j, "override", _p?.override); + return _j; + }, + deleteStmt(_p?: DeleteStmt): DeleteStmt { + const _j = ({} as DeleteStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "usingClause", _p?.usingClause); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "withClause", _p?.withClause); + return _j; + }, + updateStmt(_p?: UpdateStmt): UpdateStmt { + const _j = ({} as UpdateStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "fromClause", _p?.fromClause); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "withClause", _p?.withClause); + return _j; + }, + mergeStmt(_p?: MergeStmt): MergeStmt { + const _j = ({} as MergeStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "sourceRelation", _p?.sourceRelation); + _o.set(_j, "joinCondition", _p?.joinCondition); + _o.set(_j, "mergeWhenClauses", _p?.mergeWhenClauses); + _o.set(_j, "withClause", _p?.withClause); + return _j; + }, + selectStmt(_p?: SelectStmt): SelectStmt { + const _j = ({} as SelectStmt); + _o.set(_j, "distinctClause", _p?.distinctClause); + _o.set(_j, "intoClause", _p?.intoClause); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "fromClause", _p?.fromClause); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "groupClause", _p?.groupClause); + _o.set(_j, "groupDistinct", _p?.groupDistinct); + _o.set(_j, "havingClause", _p?.havingClause); + _o.set(_j, "windowClause", _p?.windowClause); + _o.set(_j, "valuesLists", _p?.valuesLists); + _o.set(_j, "sortClause", _p?.sortClause); + _o.set(_j, "limitOffset", _p?.limitOffset); + _o.set(_j, "limitCount", _p?.limitCount); + _o.set(_j, "limitOption", _p?.limitOption); + _o.set(_j, "lockingClause", _p?.lockingClause); + _o.set(_j, "withClause", _p?.withClause); + _o.set(_j, "op", _p?.op); + _o.set(_j, "all", _p?.all); + _o.set(_j, "larg", _p?.larg); + _o.set(_j, "rarg", _p?.rarg); + return _j; + }, + setOperationStmt(_p?: SetOperationStmt): SetOperationStmt { + const _j = ({} as SetOperationStmt); + _o.set(_j, "op", _p?.op); + _o.set(_j, "all", _p?.all); + _o.set(_j, "larg", _p?.larg); + _o.set(_j, "rarg", _p?.rarg); + _o.set(_j, "colTypes", _p?.colTypes); + _o.set(_j, "colTypmods", _p?.colTypmods); + _o.set(_j, "colCollations", _p?.colCollations); + _o.set(_j, "groupClauses", _p?.groupClauses); + return _j; + }, + returnStmt(_p?: ReturnStmt): ReturnStmt { + const _j = ({} as ReturnStmt); + _o.set(_j, "returnval", _p?.returnval); + return _j; + }, + plAssignStmt(_p?: PLAssignStmt): PLAssignStmt { + const _j = ({} as PLAssignStmt); + _o.set(_j, "name", _p?.name); + _o.set(_j, "indirection", _p?.indirection); + _o.set(_j, "nnames", _p?.nnames); + _o.set(_j, "val", _p?.val); + _o.set(_j, "location", _p?.location); + return _j; + }, + createSchemaStmt(_p?: CreateSchemaStmt): CreateSchemaStmt { + const _j = ({} as CreateSchemaStmt); + _o.set(_j, "schemaname", _p?.schemaname); + _o.set(_j, "authrole", _p?.authrole); + _o.set(_j, "schemaElts", _p?.schemaElts); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + alterTableStmt(_p?: AlterTableStmt): AlterTableStmt { + const _j = ({} as AlterTableStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "cmds", _p?.cmds); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + replicaIdentityStmt(_p?: ReplicaIdentityStmt): ReplicaIdentityStmt { + const _j = ({} as ReplicaIdentityStmt); + _o.set(_j, "identity_type", _p?.identity_type); + _o.set(_j, "name", _p?.name); + return _j; + }, + alterTableCmd(_p?: AlterTableCmd): AlterTableCmd { + const _j = ({} as AlterTableCmd); + _o.set(_j, "subtype", _p?.subtype); + _o.set(_j, "name", _p?.name); + _o.set(_j, "num", _p?.num); + _o.set(_j, "newowner", _p?.newowner); + _o.set(_j, "def", _p?.def); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "recurse", _p?.recurse); + return _j; + }, + alterCollationStmt(_p?: AlterCollationStmt): AlterCollationStmt { + const _j = ({} as AlterCollationStmt); + _o.set(_j, "collname", _p?.collname); + return _j; + }, + alterDomainStmt(_p?: AlterDomainStmt): AlterDomainStmt { + const _j = ({} as AlterDomainStmt); + _o.set(_j, "subtype", _p?.subtype); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "name", _p?.name); + _o.set(_j, "def", _p?.def); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + grantStmt(_p?: GrantStmt): GrantStmt { + const _j = ({} as GrantStmt); + _o.set(_j, "is_grant", _p?.is_grant); + _o.set(_j, "targtype", _p?.targtype); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "objects", _p?.objects); + _o.set(_j, "privileges", _p?.privileges); + _o.set(_j, "grantees", _p?.grantees); + _o.set(_j, "grant_option", _p?.grant_option); + _o.set(_j, "grantor", _p?.grantor); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + objectWithArgs(_p?: ObjectWithArgs): ObjectWithArgs { + const _j = ({} as ObjectWithArgs); + _o.set(_j, "objname", _p?.objname); + _o.set(_j, "objargs", _p?.objargs); + _o.set(_j, "objfuncargs", _p?.objfuncargs); + _o.set(_j, "args_unspecified", _p?.args_unspecified); + return _j; + }, + accessPriv(_p?: AccessPriv): AccessPriv { + const _j = ({} as AccessPriv); + _o.set(_j, "priv_name", _p?.priv_name); + _o.set(_j, "cols", _p?.cols); + return _j; + }, + grantRoleStmt(_p?: GrantRoleStmt): GrantRoleStmt { + const _j = ({} as GrantRoleStmt); + _o.set(_j, "granted_roles", _p?.granted_roles); + _o.set(_j, "grantee_roles", _p?.grantee_roles); + _o.set(_j, "is_grant", _p?.is_grant); + _o.set(_j, "opt", _p?.opt); + _o.set(_j, "grantor", _p?.grantor); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + alterDefaultPrivilegesStmt(_p?: AlterDefaultPrivilegesStmt): AlterDefaultPrivilegesStmt { + const _j = ({} as AlterDefaultPrivilegesStmt); + _o.set(_j, "options", _p?.options); + _o.set(_j, "action", _p?.action); + return _j; + }, + copyStmt(_p?: CopyStmt): CopyStmt { + const _j = ({} as CopyStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "query", _p?.query); + _o.set(_j, "attlist", _p?.attlist); + _o.set(_j, "is_from", _p?.is_from); + _o.set(_j, "is_program", _p?.is_program); + _o.set(_j, "filename", _p?.filename); + _o.set(_j, "options", _p?.options); + _o.set(_j, "whereClause", _p?.whereClause); + return _j; + }, + variableSetStmt(_p?: VariableSetStmt): VariableSetStmt { + const _j = ({} as VariableSetStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "name", _p?.name); + _o.set(_j, "args", _p?.args); + _o.set(_j, "is_local", _p?.is_local); + return _j; + }, + variableShowStmt(_p?: VariableShowStmt): VariableShowStmt { + const _j = ({} as VariableShowStmt); + _o.set(_j, "name", _p?.name); + return _j; + }, + createStmt(_p?: CreateStmt): CreateStmt { + const _j = ({} as CreateStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "tableElts", _p?.tableElts); + _o.set(_j, "inhRelations", _p?.inhRelations); + _o.set(_j, "partbound", _p?.partbound); + _o.set(_j, "partspec", _p?.partspec); + _o.set(_j, "ofTypename", _p?.ofTypename); + _o.set(_j, "constraints", _p?.constraints); + _o.set(_j, "options", _p?.options); + _o.set(_j, "oncommit", _p?.oncommit); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "accessMethod", _p?.accessMethod); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + constraint(_p?: Constraint): Constraint { + const _j = ({} as Constraint); + _o.set(_j, "contype", _p?.contype); + _o.set(_j, "conname", _p?.conname); + _o.set(_j, "deferrable", _p?.deferrable); + _o.set(_j, "initdeferred", _p?.initdeferred); + _o.set(_j, "location", _p?.location); + _o.set(_j, "is_no_inherit", _p?.is_no_inherit); + _o.set(_j, "raw_expr", _p?.raw_expr); + _o.set(_j, "cooked_expr", _p?.cooked_expr); + _o.set(_j, "generated_when", _p?.generated_when); + _o.set(_j, "nulls_not_distinct", _p?.nulls_not_distinct); + _o.set(_j, "keys", _p?.keys); + _o.set(_j, "including", _p?.including); + _o.set(_j, "exclusions", _p?.exclusions); + _o.set(_j, "options", _p?.options); + _o.set(_j, "indexname", _p?.indexname); + _o.set(_j, "indexspace", _p?.indexspace); + _o.set(_j, "reset_default_tblspc", _p?.reset_default_tblspc); + _o.set(_j, "access_method", _p?.access_method); + _o.set(_j, "where_clause", _p?.where_clause); + _o.set(_j, "pktable", _p?.pktable); + _o.set(_j, "fk_attrs", _p?.fk_attrs); + _o.set(_j, "pk_attrs", _p?.pk_attrs); + _o.set(_j, "fk_matchtype", _p?.fk_matchtype); + _o.set(_j, "fk_upd_action", _p?.fk_upd_action); + _o.set(_j, "fk_del_action", _p?.fk_del_action); + _o.set(_j, "fk_del_set_cols", _p?.fk_del_set_cols); + _o.set(_j, "old_conpfeqop", _p?.old_conpfeqop); + _o.set(_j, "old_pktable_oid", _p?.old_pktable_oid); + _o.set(_j, "skip_validation", _p?.skip_validation); + _o.set(_j, "initially_valid", _p?.initially_valid); + return _j; + }, + createTableSpaceStmt(_p?: CreateTableSpaceStmt): CreateTableSpaceStmt { + const _j = ({} as CreateTableSpaceStmt); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "owner", _p?.owner); + _o.set(_j, "location", _p?.location); + _o.set(_j, "options", _p?.options); + return _j; + }, + dropTableSpaceStmt(_p?: DropTableSpaceStmt): DropTableSpaceStmt { + const _j = ({} as DropTableSpaceStmt); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + alterTableSpaceOptionsStmt(_p?: AlterTableSpaceOptionsStmt): AlterTableSpaceOptionsStmt { + const _j = ({} as AlterTableSpaceOptionsStmt); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "options", _p?.options); + _o.set(_j, "isReset", _p?.isReset); + return _j; + }, + alterTableMoveAllStmt(_p?: AlterTableMoveAllStmt): AlterTableMoveAllStmt { + const _j = ({} as AlterTableMoveAllStmt); + _o.set(_j, "orig_tablespacename", _p?.orig_tablespacename); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "new_tablespacename", _p?.new_tablespacename); + _o.set(_j, "nowait", _p?.nowait); + return _j; + }, + createExtensionStmt(_p?: CreateExtensionStmt): CreateExtensionStmt { + const _j = ({} as CreateExtensionStmt); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterExtensionStmt(_p?: AlterExtensionStmt): AlterExtensionStmt { + const _j = ({} as AlterExtensionStmt); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterExtensionContentsStmt(_p?: AlterExtensionContentsStmt): AlterExtensionContentsStmt { + const _j = ({} as AlterExtensionContentsStmt); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "action", _p?.action); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "object", _p?.object); + return _j; + }, + createFdwStmt(_p?: CreateFdwStmt): CreateFdwStmt { + const _j = ({} as CreateFdwStmt); + _o.set(_j, "fdwname", _p?.fdwname); + _o.set(_j, "func_options", _p?.func_options); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterFdwStmt(_p?: AlterFdwStmt): AlterFdwStmt { + const _j = ({} as AlterFdwStmt); + _o.set(_j, "fdwname", _p?.fdwname); + _o.set(_j, "func_options", _p?.func_options); + _o.set(_j, "options", _p?.options); + return _j; + }, + createForeignServerStmt(_p?: CreateForeignServerStmt): CreateForeignServerStmt { + const _j = ({} as CreateForeignServerStmt); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "servertype", _p?.servertype); + _o.set(_j, "version", _p?.version); + _o.set(_j, "fdwname", _p?.fdwname); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterForeignServerStmt(_p?: AlterForeignServerStmt): AlterForeignServerStmt { + const _j = ({} as AlterForeignServerStmt); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "version", _p?.version); + _o.set(_j, "options", _p?.options); + _o.set(_j, "has_version", _p?.has_version); + return _j; + }, + createForeignTableStmt(_p?: CreateForeignTableStmt): CreateForeignTableStmt { + const _j = ({} as CreateForeignTableStmt); + _o.set(_j, "base", _p?.base); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "options", _p?.options); + return _j; + }, + createUserMappingStmt(_p?: CreateUserMappingStmt): CreateUserMappingStmt { + const _j = ({} as CreateUserMappingStmt); + _o.set(_j, "user", _p?.user); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterUserMappingStmt(_p?: AlterUserMappingStmt): AlterUserMappingStmt { + const _j = ({} as AlterUserMappingStmt); + _o.set(_j, "user", _p?.user); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "options", _p?.options); + return _j; + }, + dropUserMappingStmt(_p?: DropUserMappingStmt): DropUserMappingStmt { + const _j = ({} as DropUserMappingStmt); + _o.set(_j, "user", _p?.user); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + importForeignSchemaStmt(_p?: ImportForeignSchemaStmt): ImportForeignSchemaStmt { + const _j = ({} as ImportForeignSchemaStmt); + _o.set(_j, "server_name", _p?.server_name); + _o.set(_j, "remote_schema", _p?.remote_schema); + _o.set(_j, "local_schema", _p?.local_schema); + _o.set(_j, "list_type", _p?.list_type); + _o.set(_j, "table_list", _p?.table_list); + _o.set(_j, "options", _p?.options); + return _j; + }, + createPolicyStmt(_p?: CreatePolicyStmt): CreatePolicyStmt { + const _j = ({} as CreatePolicyStmt); + _o.set(_j, "policy_name", _p?.policy_name); + _o.set(_j, "table", _p?.table); + _o.set(_j, "cmd_name", _p?.cmd_name); + _o.set(_j, "permissive", _p?.permissive); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "with_check", _p?.with_check); + return _j; + }, + alterPolicyStmt(_p?: AlterPolicyStmt): AlterPolicyStmt { + const _j = ({} as AlterPolicyStmt); + _o.set(_j, "policy_name", _p?.policy_name); + _o.set(_j, "table", _p?.table); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "with_check", _p?.with_check); + return _j; + }, + createAmStmt(_p?: CreateAmStmt): CreateAmStmt { + const _j = ({} as CreateAmStmt); + _o.set(_j, "amname", _p?.amname); + _o.set(_j, "handler_name", _p?.handler_name); + _o.set(_j, "amtype", _p?.amtype); + return _j; + }, + createTrigStmt(_p?: CreateTrigStmt): CreateTrigStmt { + const _j = ({} as CreateTrigStmt); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "isconstraint", _p?.isconstraint); + _o.set(_j, "trigname", _p?.trigname); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "funcname", _p?.funcname); + _o.set(_j, "args", _p?.args); + _o.set(_j, "row", _p?.row); + _o.set(_j, "timing", _p?.timing); + _o.set(_j, "events", _p?.events); + _o.set(_j, "columns", _p?.columns); + _o.set(_j, "whenClause", _p?.whenClause); + _o.set(_j, "transitionRels", _p?.transitionRels); + _o.set(_j, "deferrable", _p?.deferrable); + _o.set(_j, "initdeferred", _p?.initdeferred); + _o.set(_j, "constrrel", _p?.constrrel); + return _j; + }, + createEventTrigStmt(_p?: CreateEventTrigStmt): CreateEventTrigStmt { + const _j = ({} as CreateEventTrigStmt); + _o.set(_j, "trigname", _p?.trigname); + _o.set(_j, "eventname", _p?.eventname); + _o.set(_j, "whenclause", _p?.whenclause); + _o.set(_j, "funcname", _p?.funcname); + return _j; + }, + alterEventTrigStmt(_p?: AlterEventTrigStmt): AlterEventTrigStmt { + const _j = ({} as AlterEventTrigStmt); + _o.set(_j, "trigname", _p?.trigname); + _o.set(_j, "tgenabled", _p?.tgenabled); + return _j; + }, + createpLangStmt(_p?: CreatePLangStmt): CreatePLangStmt { + const _j = ({} as CreatePLangStmt); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "plname", _p?.plname); + _o.set(_j, "plhandler", _p?.plhandler); + _o.set(_j, "plinline", _p?.plinline); + _o.set(_j, "plvalidator", _p?.plvalidator); + _o.set(_j, "pltrusted", _p?.pltrusted); + return _j; + }, + createRoleStmt(_p?: CreateRoleStmt): CreateRoleStmt { + const _j = ({} as CreateRoleStmt); + _o.set(_j, "stmt_type", _p?.stmt_type); + _o.set(_j, "role", _p?.role); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterRoleStmt(_p?: AlterRoleStmt): AlterRoleStmt { + const _j = ({} as AlterRoleStmt); + _o.set(_j, "role", _p?.role); + _o.set(_j, "options", _p?.options); + _o.set(_j, "action", _p?.action); + return _j; + }, + alterRoleSetStmt(_p?: AlterRoleSetStmt): AlterRoleSetStmt { + const _j = ({} as AlterRoleSetStmt); + _o.set(_j, "role", _p?.role); + _o.set(_j, "database", _p?.database); + _o.set(_j, "setstmt", _p?.setstmt); + return _j; + }, + dropRoleStmt(_p?: DropRoleStmt): DropRoleStmt { + const _j = ({} as DropRoleStmt); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + createSeqStmt(_p?: CreateSeqStmt): CreateSeqStmt { + const _j = ({} as CreateSeqStmt); + _o.set(_j, "sequence", _p?.sequence); + _o.set(_j, "options", _p?.options); + _o.set(_j, "ownerId", _p?.ownerId); + _o.set(_j, "for_identity", _p?.for_identity); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + alterSeqStmt(_p?: AlterSeqStmt): AlterSeqStmt { + const _j = ({} as AlterSeqStmt); + _o.set(_j, "sequence", _p?.sequence); + _o.set(_j, "options", _p?.options); + _o.set(_j, "for_identity", _p?.for_identity); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + defineStmt(_p?: DefineStmt): DefineStmt { + const _j = ({} as DefineStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "oldstyle", _p?.oldstyle); + _o.set(_j, "defnames", _p?.defnames); + _o.set(_j, "args", _p?.args); + _o.set(_j, "definition", _p?.definition); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "replace", _p?.replace); + return _j; + }, + createDomainStmt(_p?: CreateDomainStmt): CreateDomainStmt { + const _j = ({} as CreateDomainStmt); + _o.set(_j, "domainname", _p?.domainname); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "collClause", _p?.collClause); + _o.set(_j, "constraints", _p?.constraints); + return _j; + }, + createOpClassStmt(_p?: CreateOpClassStmt): CreateOpClassStmt { + const _j = ({} as CreateOpClassStmt); + _o.set(_j, "opclassname", _p?.opclassname); + _o.set(_j, "opfamilyname", _p?.opfamilyname); + _o.set(_j, "amname", _p?.amname); + _o.set(_j, "datatype", _p?.datatype); + _o.set(_j, "items", _p?.items); + _o.set(_j, "isDefault", _p?.isDefault); + return _j; + }, + createOpClassItem(_p?: CreateOpClassItem): CreateOpClassItem { + const _j = ({} as CreateOpClassItem); + _o.set(_j, "itemtype", _p?.itemtype); + _o.set(_j, "name", _p?.name); + _o.set(_j, "number", _p?.number); + _o.set(_j, "order_family", _p?.order_family); + _o.set(_j, "class_args", _p?.class_args); + _o.set(_j, "storedtype", _p?.storedtype); + return _j; + }, + createOpFamilyStmt(_p?: CreateOpFamilyStmt): CreateOpFamilyStmt { + const _j = ({} as CreateOpFamilyStmt); + _o.set(_j, "opfamilyname", _p?.opfamilyname); + _o.set(_j, "amname", _p?.amname); + return _j; + }, + alterOpFamilyStmt(_p?: AlterOpFamilyStmt): AlterOpFamilyStmt { + const _j = ({} as AlterOpFamilyStmt); + _o.set(_j, "opfamilyname", _p?.opfamilyname); + _o.set(_j, "amname", _p?.amname); + _o.set(_j, "isDrop", _p?.isDrop); + _o.set(_j, "items", _p?.items); + return _j; + }, + dropStmt(_p?: DropStmt): DropStmt { + const _j = ({} as DropStmt); + _o.set(_j, "objects", _p?.objects); + _o.set(_j, "removeType", _p?.removeType); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "concurrent", _p?.concurrent); + return _j; + }, + truncateStmt(_p?: TruncateStmt): TruncateStmt { + const _j = ({} as TruncateStmt); + _o.set(_j, "relations", _p?.relations); + _o.set(_j, "restart_seqs", _p?.restart_seqs); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + commentStmt(_p?: CommentStmt): CommentStmt { + const _j = ({} as CommentStmt); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "object", _p?.object); + _o.set(_j, "comment", _p?.comment); + return _j; + }, + secLabelStmt(_p?: SecLabelStmt): SecLabelStmt { + const _j = ({} as SecLabelStmt); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "object", _p?.object); + _o.set(_j, "provider", _p?.provider); + _o.set(_j, "label", _p?.label); + return _j; + }, + declareCursorStmt(_p?: DeclareCursorStmt): DeclareCursorStmt { + const _j = ({} as DeclareCursorStmt); + _o.set(_j, "portalname", _p?.portalname); + _o.set(_j, "options", _p?.options); + _o.set(_j, "query", _p?.query); + return _j; + }, + closePortalStmt(_p?: ClosePortalStmt): ClosePortalStmt { + const _j = ({} as ClosePortalStmt); + _o.set(_j, "portalname", _p?.portalname); + return _j; + }, + fetchStmt(_p?: FetchStmt): FetchStmt { + const _j = ({} as FetchStmt); + _o.set(_j, "direction", _p?.direction); + _o.set(_j, "howMany", _p?.howMany); + _o.set(_j, "portalname", _p?.portalname); + _o.set(_j, "ismove", _p?.ismove); + return _j; + }, + indexStmt(_p?: IndexStmt): IndexStmt { + const _j = ({} as IndexStmt); + _o.set(_j, "idxname", _p?.idxname); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "accessMethod", _p?.accessMethod); + _o.set(_j, "tableSpace", _p?.tableSpace); + _o.set(_j, "indexParams", _p?.indexParams); + _o.set(_j, "indexIncludingParams", _p?.indexIncludingParams); + _o.set(_j, "options", _p?.options); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "excludeOpNames", _p?.excludeOpNames); + _o.set(_j, "idxcomment", _p?.idxcomment); + _o.set(_j, "indexOid", _p?.indexOid); + _o.set(_j, "oldNumber", _p?.oldNumber); + _o.set(_j, "oldCreateSubid", _p?.oldCreateSubid); + _o.set(_j, "oldFirstRelfilelocatorSubid", _p?.oldFirstRelfilelocatorSubid); + _o.set(_j, "unique", _p?.unique); + _o.set(_j, "nulls_not_distinct", _p?.nulls_not_distinct); + _o.set(_j, "primary", _p?.primary); + _o.set(_j, "isconstraint", _p?.isconstraint); + _o.set(_j, "deferrable", _p?.deferrable); + _o.set(_j, "initdeferred", _p?.initdeferred); + _o.set(_j, "transformed", _p?.transformed); + _o.set(_j, "concurrent", _p?.concurrent); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "reset_default_tblspc", _p?.reset_default_tblspc); + return _j; + }, + createStatsStmt(_p?: CreateStatsStmt): CreateStatsStmt { + const _j = ({} as CreateStatsStmt); + _o.set(_j, "defnames", _p?.defnames); + _o.set(_j, "stat_types", _p?.stat_types); + _o.set(_j, "exprs", _p?.exprs); + _o.set(_j, "relations", _p?.relations); + _o.set(_j, "stxcomment", _p?.stxcomment); + _o.set(_j, "transformed", _p?.transformed); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + statsElem(_p?: StatsElem): StatsElem { + const _j = ({} as StatsElem); + _o.set(_j, "name", _p?.name); + _o.set(_j, "expr", _p?.expr); + return _j; + }, + alterStatsStmt(_p?: AlterStatsStmt): AlterStatsStmt { + const _j = ({} as AlterStatsStmt); + _o.set(_j, "defnames", _p?.defnames); + _o.set(_j, "stxstattarget", _p?.stxstattarget); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + createFunctionStmt(_p?: CreateFunctionStmt): CreateFunctionStmt { + const _j = ({} as CreateFunctionStmt); + _o.set(_j, "is_procedure", _p?.is_procedure); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "funcname", _p?.funcname); + _o.set(_j, "parameters", _p?.parameters); + _o.set(_j, "returnType", _p?.returnType); + _o.set(_j, "options", _p?.options); + _o.set(_j, "sql_body", _p?.sql_body); + return _j; + }, + functionParameter(_p?: FunctionParameter): FunctionParameter { + const _j = ({} as FunctionParameter); + _o.set(_j, "name", _p?.name); + _o.set(_j, "argType", _p?.argType); + _o.set(_j, "mode", _p?.mode); + _o.set(_j, "defexpr", _p?.defexpr); + return _j; + }, + alterFunctionStmt(_p?: AlterFunctionStmt): AlterFunctionStmt { + const _j = ({} as AlterFunctionStmt); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "func", _p?.func); + _o.set(_j, "actions", _p?.actions); + return _j; + }, + doStmt(_p?: DoStmt): DoStmt { + const _j = ({} as DoStmt); + _o.set(_j, "args", _p?.args); + return _j; + }, + inlineCodeBlock(_p?: InlineCodeBlock): InlineCodeBlock { + const _j = ({} as InlineCodeBlock); + _o.set(_j, "source_text", _p?.source_text); + _o.set(_j, "langOid", _p?.langOid); + _o.set(_j, "langIsTrusted", _p?.langIsTrusted); + _o.set(_j, "atomic", _p?.atomic); + return _j; + }, + callStmt(_p?: CallStmt): CallStmt { + const _j = ({} as CallStmt); + _o.set(_j, "funccall", _p?.funccall); + _o.set(_j, "funcexpr", _p?.funcexpr); + _o.set(_j, "outargs", _p?.outargs); + return _j; + }, + callContext(_p?: CallContext): CallContext { + const _j = ({} as CallContext); + _o.set(_j, "atomic", _p?.atomic); + return _j; + }, + renameStmt(_p?: RenameStmt): RenameStmt { + const _j = ({} as RenameStmt); + _o.set(_j, "renameType", _p?.renameType); + _o.set(_j, "relationType", _p?.relationType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "newname", _p?.newname); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + alterObjectDependsStmt(_p?: AlterObjectDependsStmt): AlterObjectDependsStmt { + const _j = ({} as AlterObjectDependsStmt); + _o.set(_j, "objectType", _p?.objectType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "remove", _p?.remove); + return _j; + }, + alterObjectSchemaStmt(_p?: AlterObjectSchemaStmt): AlterObjectSchemaStmt { + const _j = ({} as AlterObjectSchemaStmt); + _o.set(_j, "objectType", _p?.objectType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "newschema", _p?.newschema); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + alterOwnerStmt(_p?: AlterOwnerStmt): AlterOwnerStmt { + const _j = ({} as AlterOwnerStmt); + _o.set(_j, "objectType", _p?.objectType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "newowner", _p?.newowner); + return _j; + }, + alterOperatorStmt(_p?: AlterOperatorStmt): AlterOperatorStmt { + const _j = ({} as AlterOperatorStmt); + _o.set(_j, "opername", _p?.opername); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterTypeStmt(_p?: AlterTypeStmt): AlterTypeStmt { + const _j = ({} as AlterTypeStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "options", _p?.options); + return _j; + }, + ruleStmt(_p?: RuleStmt): RuleStmt { + const _j = ({} as RuleStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "rulename", _p?.rulename); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "event", _p?.event); + _o.set(_j, "instead", _p?.instead); + _o.set(_j, "actions", _p?.actions); + _o.set(_j, "replace", _p?.replace); + return _j; + }, + notifyStmt(_p?: NotifyStmt): NotifyStmt { + const _j = ({} as NotifyStmt); + _o.set(_j, "conditionname", _p?.conditionname); + _o.set(_j, "payload", _p?.payload); + return _j; + }, + listenStmt(_p?: ListenStmt): ListenStmt { + const _j = ({} as ListenStmt); + _o.set(_j, "conditionname", _p?.conditionname); + return _j; + }, + unlistenStmt(_p?: UnlistenStmt): UnlistenStmt { + const _j = ({} as UnlistenStmt); + _o.set(_j, "conditionname", _p?.conditionname); + return _j; + }, + transactionStmt(_p?: TransactionStmt): TransactionStmt { + const _j = ({} as TransactionStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "options", _p?.options); + _o.set(_j, "savepoint_name", _p?.savepoint_name); + _o.set(_j, "gid", _p?.gid); + _o.set(_j, "chain", _p?.chain); + return _j; + }, + compositeTypeStmt(_p?: CompositeTypeStmt): CompositeTypeStmt { + const _j = ({} as CompositeTypeStmt); + _o.set(_j, "typevar", _p?.typevar); + _o.set(_j, "coldeflist", _p?.coldeflist); + return _j; + }, + createEnumStmt(_p?: CreateEnumStmt): CreateEnumStmt { + const _j = ({} as CreateEnumStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "vals", _p?.vals); + return _j; + }, + createRangeStmt(_p?: CreateRangeStmt): CreateRangeStmt { + const _j = ({} as CreateRangeStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "params", _p?.params); + return _j; + }, + alterEnumStmt(_p?: AlterEnumStmt): AlterEnumStmt { + const _j = ({} as AlterEnumStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "oldVal", _p?.oldVal); + _o.set(_j, "newVal", _p?.newVal); + _o.set(_j, "newValNeighbor", _p?.newValNeighbor); + _o.set(_j, "newValIsAfter", _p?.newValIsAfter); + _o.set(_j, "skipIfNewValExists", _p?.skipIfNewValExists); + return _j; + }, + viewStmt(_p?: ViewStmt): ViewStmt { + const _j = ({} as ViewStmt); + _o.set(_j, "view", _p?.view); + _o.set(_j, "aliases", _p?.aliases); + _o.set(_j, "query", _p?.query); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "options", _p?.options); + _o.set(_j, "withCheckOption", _p?.withCheckOption); + return _j; + }, + loadStmt(_p?: LoadStmt): LoadStmt { + const _j = ({} as LoadStmt); + _o.set(_j, "filename", _p?.filename); + return _j; + }, + createdbStmt(_p?: CreatedbStmt): CreatedbStmt { + const _j = ({} as CreatedbStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterDatabaseStmt(_p?: AlterDatabaseStmt): AlterDatabaseStmt { + const _j = ({} as AlterDatabaseStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterDatabaseRefreshCollStmt(_p?: AlterDatabaseRefreshCollStmt): AlterDatabaseRefreshCollStmt { + const _j = ({} as AlterDatabaseRefreshCollStmt); + _o.set(_j, "dbname", _p?.dbname); + return _j; + }, + alterDatabaseSetStmt(_p?: AlterDatabaseSetStmt): AlterDatabaseSetStmt { + const _j = ({} as AlterDatabaseSetStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "setstmt", _p?.setstmt); + return _j; + }, + dropdbStmt(_p?: DropdbStmt): DropdbStmt { + const _j = ({} as DropdbStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterSystemStmt(_p?: AlterSystemStmt): AlterSystemStmt { + const _j = ({} as AlterSystemStmt); + _o.set(_j, "setstmt", _p?.setstmt); + return _j; + }, + clusterStmt(_p?: ClusterStmt): ClusterStmt { + const _j = ({} as ClusterStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "indexname", _p?.indexname); + _o.set(_j, "params", _p?.params); + return _j; + }, + vacuumStmt(_p?: VacuumStmt): VacuumStmt { + const _j = ({} as VacuumStmt); + _o.set(_j, "options", _p?.options); + _o.set(_j, "rels", _p?.rels); + _o.set(_j, "is_vacuumcmd", _p?.is_vacuumcmd); + return _j; + }, + vacuumRelation(_p?: VacuumRelation): VacuumRelation { + const _j = ({} as VacuumRelation); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "oid", _p?.oid); + _o.set(_j, "va_cols", _p?.va_cols); + return _j; + }, + explainStmt(_p?: ExplainStmt): ExplainStmt { + const _j = ({} as ExplainStmt); + _o.set(_j, "query", _p?.query); + _o.set(_j, "options", _p?.options); + return _j; + }, + createTableAsStmt(_p?: CreateTableAsStmt): CreateTableAsStmt { + const _j = ({} as CreateTableAsStmt); + _o.set(_j, "query", _p?.query); + _o.set(_j, "into", _p?.into); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "is_select_into", _p?.is_select_into); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + refreshMatViewStmt(_p?: RefreshMatViewStmt): RefreshMatViewStmt { + const _j = ({} as RefreshMatViewStmt); + _o.set(_j, "concurrent", _p?.concurrent); + _o.set(_j, "skipData", _p?.skipData); + _o.set(_j, "relation", _p?.relation); + return _j; + }, + checkPointStmt(_p?: CheckPointStmt): CheckPointStmt { + const _j = ({} as CheckPointStmt); + return _j; + }, + discardStmt(_p?: DiscardStmt): DiscardStmt { + const _j = ({} as DiscardStmt); + _o.set(_j, "target", _p?.target); + return _j; + }, + lockStmt(_p?: LockStmt): LockStmt { + const _j = ({} as LockStmt); + _o.set(_j, "relations", _p?.relations); + _o.set(_j, "mode", _p?.mode); + _o.set(_j, "nowait", _p?.nowait); + return _j; + }, + constraintsSetStmt(_p?: ConstraintsSetStmt): ConstraintsSetStmt { + const _j = ({} as ConstraintsSetStmt); + _o.set(_j, "constraints", _p?.constraints); + _o.set(_j, "deferred", _p?.deferred); + return _j; + }, + reindexStmt(_p?: ReindexStmt): ReindexStmt { + const _j = ({} as ReindexStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "name", _p?.name); + _o.set(_j, "params", _p?.params); + return _j; + }, + createConversionStmt(_p?: CreateConversionStmt): CreateConversionStmt { + const _j = ({} as CreateConversionStmt); + _o.set(_j, "conversion_name", _p?.conversion_name); + _o.set(_j, "for_encoding_name", _p?.for_encoding_name); + _o.set(_j, "to_encoding_name", _p?.to_encoding_name); + _o.set(_j, "func_name", _p?.func_name); + _o.set(_j, "def", _p?.def); + return _j; + }, + createCastStmt(_p?: CreateCastStmt): CreateCastStmt { + const _j = ({} as CreateCastStmt); + _o.set(_j, "sourcetype", _p?.sourcetype); + _o.set(_j, "targettype", _p?.targettype); + _o.set(_j, "func", _p?.func); + _o.set(_j, "context", _p?.context); + _o.set(_j, "inout", _p?.inout); + return _j; + }, + createTransformStmt(_p?: CreateTransformStmt): CreateTransformStmt { + const _j = ({} as CreateTransformStmt); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "type_name", _p?.type_name); + _o.set(_j, "lang", _p?.lang); + _o.set(_j, "fromsql", _p?.fromsql); + _o.set(_j, "tosql", _p?.tosql); + return _j; + }, + prepareStmt(_p?: PrepareStmt): PrepareStmt { + const _j = ({} as PrepareStmt); + _o.set(_j, "name", _p?.name); + _o.set(_j, "argtypes", _p?.argtypes); + _o.set(_j, "query", _p?.query); + return _j; + }, + executeStmt(_p?: ExecuteStmt): ExecuteStmt { + const _j = ({} as ExecuteStmt); + _o.set(_j, "name", _p?.name); + _o.set(_j, "params", _p?.params); + return _j; + }, + deallocateStmt(_p?: DeallocateStmt): DeallocateStmt { + const _j = ({} as DeallocateStmt); + _o.set(_j, "name", _p?.name); + return _j; + }, + dropOwnedStmt(_p?: DropOwnedStmt): DropOwnedStmt { + const _j = ({} as DropOwnedStmt); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + reassignOwnedStmt(_p?: ReassignOwnedStmt): ReassignOwnedStmt { + const _j = ({} as ReassignOwnedStmt); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "newrole", _p?.newrole); + return _j; + }, + altertsDictionaryStmt(_p?: AlterTSDictionaryStmt): AlterTSDictionaryStmt { + const _j = ({} as AlterTSDictionaryStmt); + _o.set(_j, "dictname", _p?.dictname); + _o.set(_j, "options", _p?.options); + return _j; + }, + altertsConfigurationStmt(_p?: AlterTSConfigurationStmt): AlterTSConfigurationStmt { + const _j = ({} as AlterTSConfigurationStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "cfgname", _p?.cfgname); + _o.set(_j, "tokentype", _p?.tokentype); + _o.set(_j, "dicts", _p?.dicts); + _o.set(_j, "override", _p?.override); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + publicationTable(_p?: PublicationTable): PublicationTable { + const _j = ({} as PublicationTable); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "columns", _p?.columns); + return _j; + }, + publicationObjSpec(_p?: PublicationObjSpec): PublicationObjSpec { + const _j = ({} as PublicationObjSpec); + _o.set(_j, "pubobjtype", _p?.pubobjtype); + _o.set(_j, "name", _p?.name); + _o.set(_j, "pubtable", _p?.pubtable); + _o.set(_j, "location", _p?.location); + return _j; + }, + createPublicationStmt(_p?: CreatePublicationStmt): CreatePublicationStmt { + const _j = ({} as CreatePublicationStmt); + _o.set(_j, "pubname", _p?.pubname); + _o.set(_j, "options", _p?.options); + _o.set(_j, "pubobjects", _p?.pubobjects); + _o.set(_j, "for_all_tables", _p?.for_all_tables); + return _j; + }, + alterPublicationStmt(_p?: AlterPublicationStmt): AlterPublicationStmt { + const _j = ({} as AlterPublicationStmt); + _o.set(_j, "pubname", _p?.pubname); + _o.set(_j, "options", _p?.options); + _o.set(_j, "pubobjects", _p?.pubobjects); + _o.set(_j, "for_all_tables", _p?.for_all_tables); + _o.set(_j, "action", _p?.action); + return _j; + }, + createSubscriptionStmt(_p?: CreateSubscriptionStmt): CreateSubscriptionStmt { + const _j = ({} as CreateSubscriptionStmt); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "conninfo", _p?.conninfo); + _o.set(_j, "publication", _p?.publication); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterSubscriptionStmt(_p?: AlterSubscriptionStmt): AlterSubscriptionStmt { + const _j = ({} as AlterSubscriptionStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "conninfo", _p?.conninfo); + _o.set(_j, "publication", _p?.publication); + _o.set(_j, "options", _p?.options); + return _j; + }, + dropSubscriptionStmt(_p?: DropSubscriptionStmt): DropSubscriptionStmt { + const _j = ({} as DropSubscriptionStmt); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + scanToken(_p?: ScanToken): ScanToken { + const _j = ({} as ScanToken); + _o.set(_j, "start", _p?.start); + _o.set(_j, "end", _p?.end); + _o.set(_j, "token", _p?.token); + _o.set(_j, "keywordKind", _p?.keywordKind); + return _j; + } +}; \ No newline at end of file diff --git a/__fixtures__/output/runtime-schema/full-features/complete-schema.json b/__fixtures__/output/runtime-schema/full-features/complete-schema.json new file mode 100644 index 0000000..e862af1 --- /dev/null +++ b/__fixtures__/output/runtime-schema/full-features/complete-schema.json @@ -0,0 +1,10637 @@ +[ + { + "name": "A_ArrayExpr", + "wrapped": true, + "fields": [ + { + "name": "elements", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Const", + "wrapped": true, + "fields": [ + { + "name": "boolval", + "type": "Boolean", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "bsval", + "type": "BitString", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fval", + "type": "Float", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isnull", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ival", + "type": "Integer", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sval", + "type": "String", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Expr", + "wrapped": true, + "fields": [ + { + "name": "kind", + "type": "A_Expr_Kind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Indices", + "wrapped": true, + "fields": [ + { + "name": "is_slice", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lidx", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "uidx", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Indirection", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "indirection", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "A_Star", + "wrapped": true, + "fields": [] + }, + { + "name": "AccessPriv", + "wrapped": true, + "fields": [ + { + "name": "cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "priv_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Aggref", + "wrapped": true, + "fields": [ + { + "name": "aggargtypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggdirectargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggdistinct", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggfilter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "aggfnoid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggkind", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "agglevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggorder", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggsplit", + "type": "AggSplit", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggstar", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggtransno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggvariadic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Alias", + "wrapped": true, + "fields": [ + { + "name": "aliasname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterCollationStmt", + "wrapped": true, + "fields": [ + { + "name": "collname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterDatabaseRefreshCollStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterDatabaseSetStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "setstmt", + "type": "VariableSetStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterDatabaseStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterDefaultPrivilegesStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "GrantStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterDomainStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "def", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subtype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterEnumStmt", + "wrapped": true, + "fields": [ + { + "name": "newVal", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newValIsAfter", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newValNeighbor", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldVal", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "skipIfNewValExists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterEventTrigStmt", + "wrapped": true, + "fields": [ + { + "name": "tgenabled", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "trigname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterExtensionContentsStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "extname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterExtensionStmt", + "wrapped": true, + "fields": [ + { + "name": "extname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterFdwStmt", + "wrapped": true, + "fields": [ + { + "name": "fdwname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func_options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterForeignServerStmt", + "wrapped": true, + "fields": [ + { + "name": "has_version", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "version", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterFunctionStmt", + "wrapped": true, + "fields": [ + { + "name": "actions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "func", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlternativeSubPlan", + "wrapped": true, + "fields": [ + { + "name": "subplans", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterObjectDependsStmt", + "wrapped": true, + "fields": [ + { + "name": "extname", + "type": "String", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objectType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "remove", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterObjectSchemaStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newschema", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objectType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterOperatorStmt", + "wrapped": true, + "fields": [ + { + "name": "opername", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterOpFamilyStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isDrop", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opfamilyname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterOwnerStmt", + "wrapped": true, + "fields": [ + { + "name": "newowner", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objectType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterPolicyStmt", + "wrapped": true, + "fields": [ + { + "name": "policy_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "table", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "with_check", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterPublicationStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "AlterPublicationAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "for_all_tables", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pubname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubobjects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterRoleSetStmt", + "wrapped": true, + "fields": [ + { + "name": "database", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "role", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "setstmt", + "type": "VariableSetStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "role", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterSeqStmt", + "wrapped": true, + "fields": [ + { + "name": "for_identity", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "sequence", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterStatsStmt", + "wrapped": true, + "fields": [ + { + "name": "defnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stxstattarget", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterSubscriptionStmt", + "wrapped": true, + "fields": [ + { + "name": "conninfo", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "AlterSubscriptionType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "publication", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterSystemStmt", + "wrapped": true, + "fields": [ + { + "name": "setstmt", + "type": "VariableSetStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTableCmd", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "def", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newowner", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "num", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "recurse", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subtype", + "type": "AlterTableType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTableMoveAllStmt", + "wrapped": true, + "fields": [ + { + "name": "new_tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nowait", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "orig_tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterTableSpaceOptionsStmt", + "wrapped": true, + "fields": [ + { + "name": "isReset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTableStmt", + "wrapped": true, + "fields": [ + { + "name": "cmds", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTSConfigurationStmt", + "wrapped": true, + "fields": [ + { + "name": "cfgname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "dicts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "kind", + "type": "AlterTSConfigType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tokentype", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterTSDictionaryStmt", + "wrapped": true, + "fields": [ + { + "name": "dictname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterTypeStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterUserMappingStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "user", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ArrayCoerceExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coerceformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "elemexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ArrayExpr", + "wrapped": true, + "fields": [ + { + "name": "array_collid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "array_typeid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "element_typeid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "elements", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "multidims", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "BitString", + "wrapped": true, + "fields": [ + { + "name": "bsval", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Boolean", + "wrapped": true, + "fields": [ + { + "name": "boolval", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "BooleanTest", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "booltesttype", + "type": "BoolTestType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "BoolExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "boolop", + "type": "BoolExprType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CallContext", + "wrapped": true, + "fields": [ + { + "name": "atomic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CallStmt", + "wrapped": true, + "fields": [ + { + "name": "funccall", + "type": "FuncCall", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "funcexpr", + "type": "FuncExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "outargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CaseExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "casecollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "casetype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "defresult", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CaseTestExpr", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeMod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CaseWhen", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "result", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CheckPointStmt", + "wrapped": true, + "fields": [] + }, + { + "name": "ClosePortalStmt", + "wrapped": true, + "fields": [ + { + "name": "portalname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ClusterStmt", + "wrapped": true, + "fields": [ + { + "name": "indexname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoalesceExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coalescecollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "coalescetype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoerceToDomain", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coercionformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoerceToDomainValue", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeMod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoerceViaIO", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coerceformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CollateClause", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "collname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CollateExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "collOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ColumnDef", + "wrapped": true, + "fields": [ + { + "name": "collClause", + "type": "CollateClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "collOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "compression", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "cooked_default", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fdwoptions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "generated", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "identity", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "identitySequence", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "inhcount", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_from_type", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_local", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_not_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "raw_default", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "storage", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "storage_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ColumnRef", + "wrapped": true, + "fields": [ + { + "name": "fields", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CommentStmt", + "wrapped": true, + "fields": [ + { + "name": "comment", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CommonTableExpr", + "wrapped": true, + "fields": [ + { + "name": "aliascolnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecolcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecolnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecoltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecoltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctematerialized", + "type": "CTEMaterialize", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ctename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ctequery", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "cterecursive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cterefcount", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_clause", + "type": "CTECycleClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "search_clause", + "type": "CTESearchClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CompositeTypeStmt", + "wrapped": true, + "fields": [ + { + "name": "coldeflist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typevar", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Constraint", + "wrapped": true, + "fields": [ + { + "name": "access_method", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "conname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "contype", + "type": "ConstrType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cooked_expr", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "deferrable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exclusions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fk_attrs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fk_del_action", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "fk_del_set_cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fk_matchtype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "fk_upd_action", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "generated_when", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "including", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "indexname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexspace", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "initdeferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "initially_valid", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_no_inherit", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "keys", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_not_distinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "old_conpfeqop", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "old_pktable_oid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pk_attrs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pktable", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "raw_expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "reset_default_tblspc", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "skip_validation", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "where_clause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ConstraintsSetStmt", + "wrapped": true, + "fields": [ + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "deferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ConvertRowtypeExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "convertformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CopyStmt", + "wrapped": true, + "fields": [ + { + "name": "attlist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "filename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_from", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_program", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateAmStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "amtype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "handler_name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateCastStmt", + "wrapped": true, + "fields": [ + { + "name": "context", + "type": "CoercionContext", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "inout", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sourcetype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "targettype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateConversionStmt", + "wrapped": true, + "fields": [ + { + "name": "conversion_name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "def", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "for_encoding_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func_name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "to_encoding_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreatedbStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateDomainStmt", + "wrapped": true, + "fields": [ + { + "name": "collClause", + "type": "CollateClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "domainname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateEnumStmt", + "wrapped": true, + "fields": [ + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "vals", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateEventTrigStmt", + "wrapped": true, + "fields": [ + { + "name": "eventname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "trigname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whenclause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateExtensionStmt", + "wrapped": true, + "fields": [ + { + "name": "extname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateFdwStmt", + "wrapped": true, + "fields": [ + { + "name": "fdwname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func_options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateForeignServerStmt", + "wrapped": true, + "fields": [ + { + "name": "fdwname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "servertype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "version", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateForeignTableStmt", + "wrapped": true, + "fields": [ + { + "name": "base", + "type": "CreateStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateFunctionStmt", + "wrapped": true, + "fields": [ + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "is_procedure", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "parameters", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "returnType", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sql_body", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateOpClassItem", + "wrapped": true, + "fields": [ + { + "name": "class_args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "itemtype", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "number", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "order_family", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "storedtype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateOpClassStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "datatype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isDefault", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opclassname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opfamilyname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateOpFamilyStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opfamilyname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreatePLangStmt", + "wrapped": true, + "fields": [ + { + "name": "plhandler", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "plinline", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "plname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pltrusted", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "plvalidator", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreatePolicyStmt", + "wrapped": true, + "fields": [ + { + "name": "cmd_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "permissive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "policy_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "table", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "with_check", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreatePublicationStmt", + "wrapped": true, + "fields": [ + { + "name": "for_all_tables", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pubname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubobjects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateRangeStmt", + "wrapped": true, + "fields": [ + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "role", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stmt_type", + "type": "RoleStmtType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateSchemaStmt", + "wrapped": true, + "fields": [ + { + "name": "authrole", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "schemaElts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "schemaname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateSeqStmt", + "wrapped": true, + "fields": [ + { + "name": "for_identity", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ownerId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sequence", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateStatsStmt", + "wrapped": true, + "fields": [ + { + "name": "defnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "exprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "stat_types", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "stxcomment", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "transformed", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateStmt", + "wrapped": true, + "fields": [ + { + "name": "accessMethod", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inhRelations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ofTypename", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "oncommit", + "type": "OnCommitAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "partbound", + "type": "PartitionBoundSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "partspec", + "type": "PartitionSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tableElts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateSubscriptionStmt", + "wrapped": true, + "fields": [ + { + "name": "conninfo", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "publication", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTableAsStmt", + "wrapped": true, + "fields": [ + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "into", + "type": "IntoClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "is_select_into", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTableSpaceStmt", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "owner", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTransformStmt", + "wrapped": true, + "fields": [ + { + "name": "fromsql", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "lang", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tosql", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "type_name", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTrigStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "columns", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "constrrel", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "deferrable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "events", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "initdeferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isconstraint", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "row", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "timing", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "transitionRels", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "trigname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whenClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateUserMappingStmt", + "wrapped": true, + "fields": [ + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "user", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CTECycleClause", + "wrapped": true, + "fields": [ + { + "name": "cycle_col_list", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "cycle_mark_collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_column", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_default", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_neop", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_type", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_value", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "cycle_path_column", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CTESearchClause", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "search_breadth_first", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "search_col_list", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "search_seq_column", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CurrentOfExpr", + "wrapped": true, + "fields": [ + { + "name": "cursor_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cursor_param", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cvarno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DeallocateStmt", + "wrapped": true, + "fields": [ + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DeclareCursorStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "portalname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DefElem", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "defaction", + "type": "DefElemAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "defname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "defnamespace", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DefineStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "definition", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "defnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldstyle", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DeleteStmt", + "wrapped": true, + "fields": [ + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "usingClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DiscardStmt", + "wrapped": true, + "fields": [ + { + "name": "target", + "type": "DiscardMode", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DistinctExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DoStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropdbStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropOwnedStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "removeType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DropSubscriptionStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DropTableSpaceStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DropUserMappingStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "user", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ExecuteStmt", + "wrapped": true, + "fields": [ + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "ExplainStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FetchStmt", + "wrapped": true, + "fields": [ + { + "name": "direction", + "type": "FetchDirection", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "howMany", + "type": "int64", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ismove", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "portalname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FieldSelect", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fieldnum", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FieldStore", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fieldnums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "newvals", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Float", + "wrapped": true, + "fields": [ + { + "name": "fval", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FromExpr", + "wrapped": true, + "fields": [ + { + "name": "fromlist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "quals", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FuncCall", + "wrapped": true, + "fields": [ + { + "name": "agg_distinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "agg_filter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "agg_order", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "agg_star", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "agg_within_group", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "func_variadic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "over", + "type": "WindowDef", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FuncExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcvariadic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FunctionParameter", + "wrapped": true, + "fields": [ + { + "name": "argType", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "defexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "mode", + "type": "FunctionParameterMode", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "GrantRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "granted_roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "grantee_roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "grantor", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "is_grant", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opt", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "GrantStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "grant_option", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "grantees", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "grantor", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "is_grant", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "privileges", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "targtype", + "type": "GrantTargetType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "GroupingFunc", + "wrapped": true, + "fields": [ + { + "name": "agglevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "GroupingSet", + "wrapped": true, + "fields": [ + { + "name": "content", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "kind", + "type": "GroupingSetKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ImportForeignSchemaStmt", + "wrapped": true, + "fields": [ + { + "name": "list_type", + "type": "ImportForeignSchemaType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "local_schema", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "remote_schema", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "server_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "table_list", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "IndexElem", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "indexcolname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_ordering", + "type": "SortByNulls", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opclass", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opclassopts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ordering", + "type": "SortByDir", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "IndexStmt", + "wrapped": true, + "fields": [ + { + "name": "accessMethod", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "deferrable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "excludeOpNames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "idxcomment", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "idxname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexIncludingParams", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "indexOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexParams", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "initdeferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isconstraint", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_not_distinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldCreateSubid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldFirstRelfilelocatorSubid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldNumber", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "primary", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "reset_default_tblspc", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tableSpace", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "transformed", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InferClause", + "wrapped": true, + "fields": [ + { + "name": "conname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexElems", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InferenceElem", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "infercollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inferopclass", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InlineCodeBlock", + "wrapped": true, + "fields": [ + { + "name": "atomic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "langIsTrusted", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "langOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "source_text", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InsertStmt", + "wrapped": true, + "fields": [ + { + "name": "cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onConflictClause", + "type": "OnConflictClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "selectStmt", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Integer", + "wrapped": true, + "fields": [ + { + "name": "ival", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "IntList", + "wrapped": true, + "fields": [ + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "IntoClause", + "wrapped": true, + "fields": [ + { + "name": "accessMethod", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colNames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onCommit", + "type": "OnCommitAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rel", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "skipData", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tableSpaceName", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "viewQuery", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JoinExpr", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isNatural", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "join_using_alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "jointype", + "type": "JoinType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "larg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "quals", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "rarg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "rtindex", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "usingClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "JsonAggConstructor", + "wrapped": true, + "fields": [ + { + "name": "agg_filter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "agg_order", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "over", + "type": "WindowDef", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonArrayAgg", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "arg", + "type": "JsonValueExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constructor", + "type": "JsonAggConstructor", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonArrayConstructor", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonArrayQueryConstructor", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonConstructorExpr", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coercion", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "func", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "returning", + "type": "JsonReturning", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "type", + "type": "JsonConstructorType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonFormat", + "wrapped": true, + "fields": [ + { + "name": "encoding", + "type": "JsonEncoding", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "format_type", + "type": "JsonFormatType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonIsPredicate", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "item_type", + "type": "JsonValueType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "unique_keys", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonKeyValue", + "wrapped": true, + "fields": [ + { + "name": "key", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "value", + "type": "JsonValueExpr", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonObjectAgg", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "arg", + "type": "JsonKeyValue", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constructor", + "type": "JsonAggConstructor", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonObjectConstructor", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonOutput", + "wrapped": true, + "fields": [ + { + "name": "returning", + "type": "JsonReturning", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonReturning", + "wrapped": true, + "fields": [ + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "typid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonValueExpr", + "wrapped": true, + "fields": [ + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "formatted_expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "raw_expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "List", + "wrapped": true, + "fields": [ + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "ListenStmt", + "wrapped": true, + "fields": [ + { + "name": "conditionname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "LoadStmt", + "wrapped": true, + "fields": [ + { + "name": "filename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "LockingClause", + "wrapped": true, + "fields": [ + { + "name": "lockedRels", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "strength", + "type": "LockClauseStrength", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "waitPolicy", + "type": "LockWaitPolicy", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "LockStmt", + "wrapped": true, + "fields": [ + { + "name": "mode", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nowait", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "MergeAction", + "wrapped": true, + "fields": [ + { + "name": "commandType", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "matched", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "updateColnos", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "MergeStmt", + "wrapped": true, + "fields": [ + { + "name": "joinCondition", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "mergeWhenClauses", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sourceRelation", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "MergeWhenClause", + "wrapped": true, + "fields": [ + { + "name": "commandType", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "condition", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "matched", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "values", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "MinMaxExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "minmaxcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "minmaxtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "op", + "type": "MinMaxOp", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "MultiAssignRef", + "wrapped": true, + "fields": [ + { + "name": "colno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ncolumns", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "source", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NamedArgExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "argnumber", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NextValueExpr", + "wrapped": true, + "fields": [ + { + "name": "seqid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NotifyStmt", + "wrapped": true, + "fields": [ + { + "name": "conditionname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "payload", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NullIfExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NullTest", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "argisrow", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulltesttype", + "type": "NullTestType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ObjectWithArgs", + "wrapped": true, + "fields": [ + { + "name": "args_unspecified", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "objfuncargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "objname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "OidList", + "wrapped": true, + "fields": [ + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "OnConflictClause", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "OnConflictAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "infer", + "type": "InferClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "OnConflictExpr", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "OnConflictAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "arbiterElems", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "arbiterWhere", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constraint", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exclRelIndex", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exclRelTlist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onConflictSet", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onConflictWhere", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "OpExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Param", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramid", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramkind", + "type": "ParamKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramtypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ParamRef", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "number", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ParseResult", + "wrapped": false, + "fields": [ + { + "name": "stmts", + "type": "RawStmt", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "version", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PartitionBoundSpec", + "wrapped": true, + "fields": [ + { + "name": "is_default", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "listdatums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lowerdatums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "modulus", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "remainder", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "strategy", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "upperdatums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "PartitionCmd", + "wrapped": true, + "fields": [ + { + "name": "bound", + "type": "PartitionBoundSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PartitionElem", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opclass", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "PartitionRangeDatum", + "wrapped": true, + "fields": [ + { + "name": "kind", + "type": "PartitionRangeDatumKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "value", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PartitionSpec", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "partParams", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "strategy", + "type": "PartitionStrategy", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PLAssignStmt", + "wrapped": true, + "fields": [ + { + "name": "indirection", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nnames", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "val", + "type": "SelectStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PrepareStmt", + "wrapped": true, + "fields": [ + { + "name": "argtypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PublicationObjSpec", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubobjtype", + "type": "PublicationObjSpecType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubtable", + "type": "PublicationTable", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PublicationTable", + "wrapped": true, + "fields": [ + { + "name": "columns", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Query", + "wrapped": true, + "fields": [ + { + "name": "canSetTag", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "commandType", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "constraintDeps", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "cteList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "distinctClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupDistinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "groupingSets", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "hasAggs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasDistinctOn", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasForUpdate", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasModifyingCTE", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasRecursive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasRowSecurity", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasSubLinks", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasTargetSRFs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasWindowFuncs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "havingQual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isReturn", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "jointree", + "type": "FromExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitCount", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOption", + "type": "LimitOption", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "mergeActionList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "mergeUseOuterJoin", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "onConflict", + "type": "OnConflictExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "querySource", + "type": "QuerySource", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultRelation", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rowMarks", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rtable", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rteperminfos", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "setOperations", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sortClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "stmt_len", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stmt_location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "utilityStmt", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "windowClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "withCheckOptions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RangeFunction", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coldeflist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "functions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "is_rowsfrom", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ordinality", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeSubselect", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subquery", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTableFunc", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "columns", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "docexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "namespaces", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rowexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTableFuncCol", + "wrapped": true, + "fields": [ + { + "name": "coldefexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "colexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "colname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "for_ordinality", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_not_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTableSample", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "method", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "repeatable", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTblEntry", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "colcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctelevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ctename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "enrname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "enrtuples", + "type": "double", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "eref", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "funcordinality", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "functions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inFromCl", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inh", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "join_using_alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "joinaliasvars", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "joinleftcols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "joinmergedcols", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "joinrightcols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "jointype", + "type": "JoinType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "perminfoindex", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relkind", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rellockmode", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rtekind", + "type": "RTEKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "security_barrier", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "securityQuals", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "self_reference", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subquery", + "type": "Query", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tablefunc", + "type": "TableFunc", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tablesample", + "type": "TableSampleClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "values_lists", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RangeTblFunction", + "wrapped": true, + "fields": [ + { + "name": "funccolcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccolcount", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funccolnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccoltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccoltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funcexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "funcparams", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RangeTblRef", + "wrapped": true, + "fields": [ + { + "name": "rtindex", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeVar", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "catalogname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inh", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relpersistence", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "schemaname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RawStmt", + "wrapped": true, + "fields": [ + { + "name": "stmt", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "stmt_len", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stmt_location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReassignOwnedStmt", + "wrapped": true, + "fields": [ + { + "name": "newrole", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RefreshMatViewStmt", + "wrapped": true, + "fields": [ + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "skipData", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReindexStmt", + "wrapped": true, + "fields": [ + { + "name": "kind", + "type": "ReindexObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RelabelType", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relabelformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RenameStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relationType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "renameType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReplicaIdentityStmt", + "wrapped": true, + "fields": [ + { + "name": "identity_type", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ResTarget", + "wrapped": true, + "fields": [ + { + "name": "indirection", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "val", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReturnStmt", + "wrapped": true, + "fields": [ + { + "name": "returnval", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RoleSpec", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rolename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roletype", + "type": "RoleSpecType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RowCompareExpr", + "wrapped": true, + "fields": [ + { + "name": "inputcollids", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "largs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opfamilies", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opnos", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rctype", + "type": "RowCompareType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RowExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "row_format", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "row_typeid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RowMarkClause", + "wrapped": true, + "fields": [ + { + "name": "pushedDown", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rti", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "strength", + "type": "LockClauseStrength", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "waitPolicy", + "type": "LockWaitPolicy", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RTEPermissionInfo", + "wrapped": true, + "fields": [ + { + "name": "checkAsUser", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inh", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "insertedCols", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "relid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "requiredPerms", + "type": "uint64", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "selectedCols", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "updatedCols", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RuleStmt", + "wrapped": true, + "fields": [ + { + "name": "actions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "event", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "instead", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rulename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ScalarArrayOpExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "useOr", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ScanResult", + "wrapped": false, + "fields": [ + { + "name": "tokens", + "type": "ScanToken", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "version", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ScanToken", + "wrapped": false, + "fields": [ + { + "name": "end", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "keywordKind", + "type": "KeywordKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "start", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "token", + "type": "Token", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SecLabelStmt", + "wrapped": true, + "fields": [ + { + "name": "label", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "provider", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SelectStmt", + "wrapped": true, + "fields": [ + { + "name": "all", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "distinctClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fromClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupDistinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "havingClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "intoClause", + "type": "IntoClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "larg", + "type": "SelectStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitCount", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOption", + "type": "LimitOption", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lockingClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "op", + "type": "SetOperation", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rarg", + "type": "SelectStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sortClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "valuesLists", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "windowClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SetOperationStmt", + "wrapped": true, + "fields": [ + { + "name": "all", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colCollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colTypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colTypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupClauses", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "larg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "op", + "type": "SetOperation", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rarg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SetToDefault", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeMod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SortBy", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "node", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sortby_dir", + "type": "SortByDir", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sortby_nulls", + "type": "SortByNulls", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "useOp", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "SortGroupClause", + "wrapped": true, + "fields": [ + { + "name": "eqop", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hashable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_first", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sortop", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tleSortGroupRef", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SQLValueFunction", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "op", + "type": "SQLValueFunctionOp", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "type", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "StatsElem", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "String", + "wrapped": true, + "fields": [ + { + "name": "sval", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SubLink", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "operName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "subLinkId", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subLinkType", + "type": "SubLinkType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subselect", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "testexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SubPlan", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "firstColCollation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "firstColType", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "firstColTypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "parallel_safe", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramIds", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "parParam", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "per_call_cost", + "type": "double", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "plan_id", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "plan_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "setParam", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "startup_cost", + "type": "double", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subLinkType", + "type": "SubLinkType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "testexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "unknownEqFalse", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "useHashTable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SubscriptingRef", + "wrapped": true, + "fields": [ + { + "name": "refassgnexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "refcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refcontainertype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refelemtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "reflowerindexpr", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "refrestype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "reftypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refupperindexpr", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TableFunc", + "wrapped": true, + "fields": [ + { + "name": "colcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coldefexprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colexprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "docexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "notnulls", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "ns_names", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ns_uris", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ordinalitycol", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rowexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TableLikeClause", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relationOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TableSampleClause", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "repeatable", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tsmhandler", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TargetEntry", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "resjunk", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resorigcol", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resorigtbl", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ressortgroupref", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TransactionStmt", + "wrapped": true, + "fields": [ + { + "name": "chain", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "gid", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "TransactionStmtKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "savepoint_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TriggerTransition", + "wrapped": true, + "fields": [ + { + "name": "isNew", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isTable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TruncateStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "restart_seqs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TypeCast", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TypeName", + "wrapped": true, + "fields": [ + { + "name": "arrayBounds", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "names", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pct_type", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "setof", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typemod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "UnlistenStmt", + "wrapped": true, + "fields": [ + { + "name": "conditionname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "UpdateStmt", + "wrapped": true, + "fields": [ + { + "name": "fromClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "VacuumRelation", + "wrapped": true, + "fields": [ + { + "name": "oid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "va_cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "VacuumStmt", + "wrapped": true, + "fields": [ + { + "name": "is_vacuumcmd", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rels", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "Var", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varattno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varlevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varnullingrels", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "vartype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "vartypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "VariableSetStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "is_local", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "VariableSetKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "VariableShowStmt", + "wrapped": true, + "fields": [ + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ViewStmt", + "wrapped": true, + "fields": [ + { + "name": "aliases", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "view", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withCheckOption", + "type": "ViewCheckOption", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WindowClause", + "wrapped": true, + "fields": [ + { + "name": "copiedOrder", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "endInRangeFunc", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "endOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "frameOptions", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inRangeAsc", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inRangeColl", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inRangeNullsFirst", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "orderClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "partitionClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "refname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "runCondition", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "startInRangeFunc", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "startOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "winref", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WindowDef", + "wrapped": true, + "fields": [ + { + "name": "endOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "frameOptions", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "orderClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "partitionClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "refname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "startOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WindowFunc", + "wrapped": true, + "fields": [ + { + "name": "aggfilter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winagg", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "wincollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winfnoid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winref", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winstar", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "wintype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WithCheckOption", + "wrapped": true, + "fields": [ + { + "name": "cascaded", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "WCOKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "polname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WithClause", + "wrapped": true, + "fields": [ + { + "name": "ctes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "recursive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "XmlExpr", + "wrapped": true, + "fields": [ + { + "name": "arg_names", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "indent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "named_args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "op", + "type": "XmlExprOp", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "type", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xmloption", + "type": "XmlOptionType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "XmlSerialize", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "indent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "xmloption", + "type": "XmlOptionType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + } +] \ No newline at end of file diff --git a/__fixtures__/output/runtime-schema/full-features/enums.ts b/__fixtures__/output/runtime-schema/full-features/enums.ts new file mode 100644 index 0000000..6abee53 --- /dev/null +++ b/__fixtures__/output/runtime-schema/full-features/enums.ts @@ -0,0 +1,69 @@ +/** +* This file was automatically generated by pg-proto-parser@latest. +* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, +* and run the pg-proto-parser generate command to regenerate this file. +*/ +export type OverridingKind = "OVERRIDING_NOT_SET" | "OVERRIDING_USER_VALUE" | "OVERRIDING_SYSTEM_VALUE"; +export type QuerySource = "QSRC_ORIGINAL" | "QSRC_PARSER" | "QSRC_INSTEAD_RULE" | "QSRC_QUAL_INSTEAD_RULE" | "QSRC_NON_INSTEAD_RULE"; +export type SortByDir = "SORTBY_DEFAULT" | "SORTBY_ASC" | "SORTBY_DESC" | "SORTBY_USING"; +export type SortByNulls = "SORTBY_NULLS_DEFAULT" | "SORTBY_NULLS_FIRST" | "SORTBY_NULLS_LAST"; +export type SetQuantifier = "SET_QUANTIFIER_DEFAULT" | "SET_QUANTIFIER_ALL" | "SET_QUANTIFIER_DISTINCT"; +export type A_Expr_Kind = "AEXPR_OP" | "AEXPR_OP_ANY" | "AEXPR_OP_ALL" | "AEXPR_DISTINCT" | "AEXPR_NOT_DISTINCT" | "AEXPR_NULLIF" | "AEXPR_IN" | "AEXPR_LIKE" | "AEXPR_ILIKE" | "AEXPR_SIMILAR" | "AEXPR_BETWEEN" | "AEXPR_NOT_BETWEEN" | "AEXPR_BETWEEN_SYM" | "AEXPR_NOT_BETWEEN_SYM"; +export type RoleSpecType = "ROLESPEC_CSTRING" | "ROLESPEC_CURRENT_ROLE" | "ROLESPEC_CURRENT_USER" | "ROLESPEC_SESSION_USER" | "ROLESPEC_PUBLIC"; +export type TableLikeOption = "CREATE_TABLE_LIKE_COMMENTS" | "CREATE_TABLE_LIKE_COMPRESSION" | "CREATE_TABLE_LIKE_CONSTRAINTS" | "CREATE_TABLE_LIKE_DEFAULTS" | "CREATE_TABLE_LIKE_GENERATED" | "CREATE_TABLE_LIKE_IDENTITY" | "CREATE_TABLE_LIKE_INDEXES" | "CREATE_TABLE_LIKE_STATISTICS" | "CREATE_TABLE_LIKE_STORAGE" | "CREATE_TABLE_LIKE_ALL"; +export type DefElemAction = "DEFELEM_UNSPEC" | "DEFELEM_SET" | "DEFELEM_ADD" | "DEFELEM_DROP"; +export type PartitionStrategy = "PARTITION_STRATEGY_LIST" | "PARTITION_STRATEGY_RANGE" | "PARTITION_STRATEGY_HASH"; +export type PartitionRangeDatumKind = "PARTITION_RANGE_DATUM_MINVALUE" | "PARTITION_RANGE_DATUM_VALUE" | "PARTITION_RANGE_DATUM_MAXVALUE"; +export type RTEKind = "RTE_RELATION" | "RTE_SUBQUERY" | "RTE_JOIN" | "RTE_FUNCTION" | "RTE_TABLEFUNC" | "RTE_VALUES" | "RTE_CTE" | "RTE_NAMEDTUPLESTORE" | "RTE_RESULT"; +export type WCOKind = "WCO_VIEW_CHECK" | "WCO_RLS_INSERT_CHECK" | "WCO_RLS_UPDATE_CHECK" | "WCO_RLS_CONFLICT_CHECK" | "WCO_RLS_MERGE_UPDATE_CHECK" | "WCO_RLS_MERGE_DELETE_CHECK"; +export type GroupingSetKind = "GROUPING_SET_EMPTY" | "GROUPING_SET_SIMPLE" | "GROUPING_SET_ROLLUP" | "GROUPING_SET_CUBE" | "GROUPING_SET_SETS"; +export type CTEMaterialize = "CTEMaterializeDefault" | "CTEMaterializeAlways" | "CTEMaterializeNever"; +export type SetOperation = "SETOP_NONE" | "SETOP_UNION" | "SETOP_INTERSECT" | "SETOP_EXCEPT"; +export type ObjectType = "OBJECT_ACCESS_METHOD" | "OBJECT_AGGREGATE" | "OBJECT_AMOP" | "OBJECT_AMPROC" | "OBJECT_ATTRIBUTE" | "OBJECT_CAST" | "OBJECT_COLUMN" | "OBJECT_COLLATION" | "OBJECT_CONVERSION" | "OBJECT_DATABASE" | "OBJECT_DEFAULT" | "OBJECT_DEFACL" | "OBJECT_DOMAIN" | "OBJECT_DOMCONSTRAINT" | "OBJECT_EVENT_TRIGGER" | "OBJECT_EXTENSION" | "OBJECT_FDW" | "OBJECT_FOREIGN_SERVER" | "OBJECT_FOREIGN_TABLE" | "OBJECT_FUNCTION" | "OBJECT_INDEX" | "OBJECT_LANGUAGE" | "OBJECT_LARGEOBJECT" | "OBJECT_MATVIEW" | "OBJECT_OPCLASS" | "OBJECT_OPERATOR" | "OBJECT_OPFAMILY" | "OBJECT_PARAMETER_ACL" | "OBJECT_POLICY" | "OBJECT_PROCEDURE" | "OBJECT_PUBLICATION" | "OBJECT_PUBLICATION_NAMESPACE" | "OBJECT_PUBLICATION_REL" | "OBJECT_ROLE" | "OBJECT_ROUTINE" | "OBJECT_RULE" | "OBJECT_SCHEMA" | "OBJECT_SEQUENCE" | "OBJECT_SUBSCRIPTION" | "OBJECT_STATISTIC_EXT" | "OBJECT_TABCONSTRAINT" | "OBJECT_TABLE" | "OBJECT_TABLESPACE" | "OBJECT_TRANSFORM" | "OBJECT_TRIGGER" | "OBJECT_TSCONFIGURATION" | "OBJECT_TSDICTIONARY" | "OBJECT_TSPARSER" | "OBJECT_TSTEMPLATE" | "OBJECT_TYPE" | "OBJECT_USER_MAPPING" | "OBJECT_VIEW"; +export type DropBehavior = "DROP_RESTRICT" | "DROP_CASCADE"; +export type AlterTableType = "AT_AddColumn" | "AT_AddColumnToView" | "AT_ColumnDefault" | "AT_CookedColumnDefault" | "AT_DropNotNull" | "AT_SetNotNull" | "AT_DropExpression" | "AT_CheckNotNull" | "AT_SetStatistics" | "AT_SetOptions" | "AT_ResetOptions" | "AT_SetStorage" | "AT_SetCompression" | "AT_DropColumn" | "AT_AddIndex" | "AT_ReAddIndex" | "AT_AddConstraint" | "AT_ReAddConstraint" | "AT_ReAddDomainConstraint" | "AT_AlterConstraint" | "AT_ValidateConstraint" | "AT_AddIndexConstraint" | "AT_DropConstraint" | "AT_ReAddComment" | "AT_AlterColumnType" | "AT_AlterColumnGenericOptions" | "AT_ChangeOwner" | "AT_ClusterOn" | "AT_DropCluster" | "AT_SetLogged" | "AT_SetUnLogged" | "AT_DropOids" | "AT_SetAccessMethod" | "AT_SetTableSpace" | "AT_SetRelOptions" | "AT_ResetRelOptions" | "AT_ReplaceRelOptions" | "AT_EnableTrig" | "AT_EnableAlwaysTrig" | "AT_EnableReplicaTrig" | "AT_DisableTrig" | "AT_EnableTrigAll" | "AT_DisableTrigAll" | "AT_EnableTrigUser" | "AT_DisableTrigUser" | "AT_EnableRule" | "AT_EnableAlwaysRule" | "AT_EnableReplicaRule" | "AT_DisableRule" | "AT_AddInherit" | "AT_DropInherit" | "AT_AddOf" | "AT_DropOf" | "AT_ReplicaIdentity" | "AT_EnableRowSecurity" | "AT_DisableRowSecurity" | "AT_ForceRowSecurity" | "AT_NoForceRowSecurity" | "AT_GenericOptions" | "AT_AttachPartition" | "AT_DetachPartition" | "AT_DetachPartitionFinalize" | "AT_AddIdentity" | "AT_SetIdentity" | "AT_DropIdentity" | "AT_ReAddStatistics"; +export type GrantTargetType = "ACL_TARGET_OBJECT" | "ACL_TARGET_ALL_IN_SCHEMA" | "ACL_TARGET_DEFAULTS"; +export type VariableSetKind = "VAR_SET_VALUE" | "VAR_SET_DEFAULT" | "VAR_SET_CURRENT" | "VAR_SET_MULTI" | "VAR_RESET" | "VAR_RESET_ALL"; +export type ConstrType = "CONSTR_NULL" | "CONSTR_NOTNULL" | "CONSTR_DEFAULT" | "CONSTR_IDENTITY" | "CONSTR_GENERATED" | "CONSTR_CHECK" | "CONSTR_PRIMARY" | "CONSTR_UNIQUE" | "CONSTR_EXCLUSION" | "CONSTR_FOREIGN" | "CONSTR_ATTR_DEFERRABLE" | "CONSTR_ATTR_NOT_DEFERRABLE" | "CONSTR_ATTR_DEFERRED" | "CONSTR_ATTR_IMMEDIATE"; +export type ImportForeignSchemaType = "FDW_IMPORT_SCHEMA_ALL" | "FDW_IMPORT_SCHEMA_LIMIT_TO" | "FDW_IMPORT_SCHEMA_EXCEPT"; +export type RoleStmtType = "ROLESTMT_ROLE" | "ROLESTMT_USER" | "ROLESTMT_GROUP"; +export type FetchDirection = "FETCH_FORWARD" | "FETCH_BACKWARD" | "FETCH_ABSOLUTE" | "FETCH_RELATIVE"; +export type FunctionParameterMode = "FUNC_PARAM_IN" | "FUNC_PARAM_OUT" | "FUNC_PARAM_INOUT" | "FUNC_PARAM_VARIADIC" | "FUNC_PARAM_TABLE" | "FUNC_PARAM_DEFAULT"; +export type TransactionStmtKind = "TRANS_STMT_BEGIN" | "TRANS_STMT_START" | "TRANS_STMT_COMMIT" | "TRANS_STMT_ROLLBACK" | "TRANS_STMT_SAVEPOINT" | "TRANS_STMT_RELEASE" | "TRANS_STMT_ROLLBACK_TO" | "TRANS_STMT_PREPARE" | "TRANS_STMT_COMMIT_PREPARED" | "TRANS_STMT_ROLLBACK_PREPARED"; +export type ViewCheckOption = "NO_CHECK_OPTION" | "LOCAL_CHECK_OPTION" | "CASCADED_CHECK_OPTION"; +export type DiscardMode = "DISCARD_ALL" | "DISCARD_PLANS" | "DISCARD_SEQUENCES" | "DISCARD_TEMP"; +export type ReindexObjectType = "REINDEX_OBJECT_INDEX" | "REINDEX_OBJECT_TABLE" | "REINDEX_OBJECT_SCHEMA" | "REINDEX_OBJECT_SYSTEM" | "REINDEX_OBJECT_DATABASE"; +export type AlterTSConfigType = "ALTER_TSCONFIG_ADD_MAPPING" | "ALTER_TSCONFIG_ALTER_MAPPING_FOR_TOKEN" | "ALTER_TSCONFIG_REPLACE_DICT" | "ALTER_TSCONFIG_REPLACE_DICT_FOR_TOKEN" | "ALTER_TSCONFIG_DROP_MAPPING"; +export type PublicationObjSpecType = "PUBLICATIONOBJ_TABLE" | "PUBLICATIONOBJ_TABLES_IN_SCHEMA" | "PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA" | "PUBLICATIONOBJ_CONTINUATION"; +export type AlterPublicationAction = "AP_AddObjects" | "AP_DropObjects" | "AP_SetObjects"; +export type AlterSubscriptionType = "ALTER_SUBSCRIPTION_OPTIONS" | "ALTER_SUBSCRIPTION_CONNECTION" | "ALTER_SUBSCRIPTION_SET_PUBLICATION" | "ALTER_SUBSCRIPTION_ADD_PUBLICATION" | "ALTER_SUBSCRIPTION_DROP_PUBLICATION" | "ALTER_SUBSCRIPTION_REFRESH" | "ALTER_SUBSCRIPTION_ENABLED" | "ALTER_SUBSCRIPTION_SKIP"; +export type OnCommitAction = "ONCOMMIT_NOOP" | "ONCOMMIT_PRESERVE_ROWS" | "ONCOMMIT_DELETE_ROWS" | "ONCOMMIT_DROP"; +export type ParamKind = "PARAM_EXTERN" | "PARAM_EXEC" | "PARAM_SUBLINK" | "PARAM_MULTIEXPR"; +export type CoercionContext = "COERCION_IMPLICIT" | "COERCION_ASSIGNMENT" | "COERCION_PLPGSQL" | "COERCION_EXPLICIT"; +export type CoercionForm = "COERCE_EXPLICIT_CALL" | "COERCE_EXPLICIT_CAST" | "COERCE_IMPLICIT_CAST" | "COERCE_SQL_SYNTAX"; +export type BoolExprType = "AND_EXPR" | "OR_EXPR" | "NOT_EXPR"; +export type SubLinkType = "EXISTS_SUBLINK" | "ALL_SUBLINK" | "ANY_SUBLINK" | "ROWCOMPARE_SUBLINK" | "EXPR_SUBLINK" | "MULTIEXPR_SUBLINK" | "ARRAY_SUBLINK" | "CTE_SUBLINK"; +export type RowCompareType = "ROWCOMPARE_LT" | "ROWCOMPARE_LE" | "ROWCOMPARE_EQ" | "ROWCOMPARE_GE" | "ROWCOMPARE_GT" | "ROWCOMPARE_NE"; +export type MinMaxOp = "IS_GREATEST" | "IS_LEAST"; +export type SQLValueFunctionOp = "SVFOP_CURRENT_DATE" | "SVFOP_CURRENT_TIME" | "SVFOP_CURRENT_TIME_N" | "SVFOP_CURRENT_TIMESTAMP" | "SVFOP_CURRENT_TIMESTAMP_N" | "SVFOP_LOCALTIME" | "SVFOP_LOCALTIME_N" | "SVFOP_LOCALTIMESTAMP" | "SVFOP_LOCALTIMESTAMP_N" | "SVFOP_CURRENT_ROLE" | "SVFOP_CURRENT_USER" | "SVFOP_USER" | "SVFOP_SESSION_USER" | "SVFOP_CURRENT_CATALOG" | "SVFOP_CURRENT_SCHEMA"; +export type XmlExprOp = "IS_XMLCONCAT" | "IS_XMLELEMENT" | "IS_XMLFOREST" | "IS_XMLPARSE" | "IS_XMLPI" | "IS_XMLROOT" | "IS_XMLSERIALIZE" | "IS_DOCUMENT"; +export type XmlOptionType = "XMLOPTION_DOCUMENT" | "XMLOPTION_CONTENT"; +export type JsonEncoding = "JS_ENC_DEFAULT" | "JS_ENC_UTF8" | "JS_ENC_UTF16" | "JS_ENC_UTF32"; +export type JsonFormatType = "JS_FORMAT_DEFAULT" | "JS_FORMAT_JSON" | "JS_FORMAT_JSONB"; +export type JsonConstructorType = "JSCTOR_JSON_OBJECT" | "JSCTOR_JSON_ARRAY" | "JSCTOR_JSON_OBJECTAGG" | "JSCTOR_JSON_ARRAYAGG"; +export type JsonValueType = "JS_TYPE_ANY" | "JS_TYPE_OBJECT" | "JS_TYPE_ARRAY" | "JS_TYPE_SCALAR"; +export type NullTestType = "IS_NULL" | "IS_NOT_NULL"; +export type BoolTestType = "IS_TRUE" | "IS_NOT_TRUE" | "IS_FALSE" | "IS_NOT_FALSE" | "IS_UNKNOWN" | "IS_NOT_UNKNOWN"; +export type CmdType = "CMD_UNKNOWN" | "CMD_SELECT" | "CMD_UPDATE" | "CMD_INSERT" | "CMD_DELETE" | "CMD_MERGE" | "CMD_UTILITY" | "CMD_NOTHING"; +export type JoinType = "JOIN_INNER" | "JOIN_LEFT" | "JOIN_FULL" | "JOIN_RIGHT" | "JOIN_SEMI" | "JOIN_ANTI" | "JOIN_RIGHT_ANTI" | "JOIN_UNIQUE_OUTER" | "JOIN_UNIQUE_INNER"; +export type AggStrategy = "AGG_PLAIN" | "AGG_SORTED" | "AGG_HASHED" | "AGG_MIXED"; +export type AggSplit = "AGGSPLIT_SIMPLE" | "AGGSPLIT_INITIAL_SERIAL" | "AGGSPLIT_FINAL_DESERIAL"; +export type SetOpCmd = "SETOPCMD_INTERSECT" | "SETOPCMD_INTERSECT_ALL" | "SETOPCMD_EXCEPT" | "SETOPCMD_EXCEPT_ALL"; +export type SetOpStrategy = "SETOP_SORTED" | "SETOP_HASHED"; +export type OnConflictAction = "ONCONFLICT_NONE" | "ONCONFLICT_NOTHING" | "ONCONFLICT_UPDATE"; +export type LimitOption = "LIMIT_OPTION_DEFAULT" | "LIMIT_OPTION_COUNT" | "LIMIT_OPTION_WITH_TIES"; +export type LockClauseStrength = "LCS_NONE" | "LCS_FORKEYSHARE" | "LCS_FORSHARE" | "LCS_FORNOKEYUPDATE" | "LCS_FORUPDATE"; +export type LockWaitPolicy = "LockWaitBlock" | "LockWaitSkip" | "LockWaitError"; +export type LockTupleMode = "LockTupleKeyShare" | "LockTupleShare" | "LockTupleNoKeyExclusive" | "LockTupleExclusive"; +export type KeywordKind = "NO_KEYWORD" | "UNRESERVED_KEYWORD" | "COL_NAME_KEYWORD" | "TYPE_FUNC_NAME_KEYWORD" | "RESERVED_KEYWORD"; +export type Token = "NUL" | "ASCII_36" | "ASCII_37" | "ASCII_40" | "ASCII_41" | "ASCII_42" | "ASCII_43" | "ASCII_44" | "ASCII_45" | "ASCII_46" | "ASCII_47" | "ASCII_58" | "ASCII_59" | "ASCII_60" | "ASCII_61" | "ASCII_62" | "ASCII_63" | "ASCII_91" | "ASCII_92" | "ASCII_93" | "ASCII_94" | "IDENT" | "UIDENT" | "FCONST" | "SCONST" | "USCONST" | "BCONST" | "XCONST" | "Op" | "ICONST" | "PARAM" | "TYPECAST" | "DOT_DOT" | "COLON_EQUALS" | "EQUALS_GREATER" | "LESS_EQUALS" | "GREATER_EQUALS" | "NOT_EQUALS" | "SQL_COMMENT" | "C_COMMENT" | "ABORT_P" | "ABSENT" | "ABSOLUTE_P" | "ACCESS" | "ACTION" | "ADD_P" | "ADMIN" | "AFTER" | "AGGREGATE" | "ALL" | "ALSO" | "ALTER" | "ALWAYS" | "ANALYSE" | "ANALYZE" | "AND" | "ANY" | "ARRAY" | "AS" | "ASC" | "ASENSITIVE" | "ASSERTION" | "ASSIGNMENT" | "ASYMMETRIC" | "ATOMIC" | "AT" | "ATTACH" | "ATTRIBUTE" | "AUTHORIZATION" | "BACKWARD" | "BEFORE" | "BEGIN_P" | "BETWEEN" | "BIGINT" | "BINARY" | "BIT" | "BOOLEAN_P" | "BOTH" | "BREADTH" | "BY" | "CACHE" | "CALL" | "CALLED" | "CASCADE" | "CASCADED" | "CASE" | "CAST" | "CATALOG_P" | "CHAIN" | "CHAR_P" | "CHARACTER" | "CHARACTERISTICS" | "CHECK" | "CHECKPOINT" | "CLASS" | "CLOSE" | "CLUSTER" | "COALESCE" | "COLLATE" | "COLLATION" | "COLUMN" | "COLUMNS" | "COMMENT" | "COMMENTS" | "COMMIT" | "COMMITTED" | "COMPRESSION" | "CONCURRENTLY" | "CONFIGURATION" | "CONFLICT" | "CONNECTION" | "CONSTRAINT" | "CONSTRAINTS" | "CONTENT_P" | "CONTINUE_P" | "CONVERSION_P" | "COPY" | "COST" | "CREATE" | "CROSS" | "CSV" | "CUBE" | "CURRENT_P" | "CURRENT_CATALOG" | "CURRENT_DATE" | "CURRENT_ROLE" | "CURRENT_SCHEMA" | "CURRENT_TIME" | "CURRENT_TIMESTAMP" | "CURRENT_USER" | "CURSOR" | "CYCLE" | "DATA_P" | "DATABASE" | "DAY_P" | "DEALLOCATE" | "DEC" | "DECIMAL_P" | "DECLARE" | "DEFAULT" | "DEFAULTS" | "DEFERRABLE" | "DEFERRED" | "DEFINER" | "DELETE_P" | "DELIMITER" | "DELIMITERS" | "DEPENDS" | "DEPTH" | "DESC" | "DETACH" | "DICTIONARY" | "DISABLE_P" | "DISCARD" | "DISTINCT" | "DO" | "DOCUMENT_P" | "DOMAIN_P" | "DOUBLE_P" | "DROP" | "EACH" | "ELSE" | "ENABLE_P" | "ENCODING" | "ENCRYPTED" | "END_P" | "ENUM_P" | "ESCAPE" | "EVENT" | "EXCEPT" | "EXCLUDE" | "EXCLUDING" | "EXCLUSIVE" | "EXECUTE" | "EXISTS" | "EXPLAIN" | "EXPRESSION" | "EXTENSION" | "EXTERNAL" | "EXTRACT" | "FALSE_P" | "FAMILY" | "FETCH" | "FILTER" | "FINALIZE" | "FIRST_P" | "FLOAT_P" | "FOLLOWING" | "FOR" | "FORCE" | "FOREIGN" | "FORMAT" | "FORWARD" | "FREEZE" | "FROM" | "FULL" | "FUNCTION" | "FUNCTIONS" | "GENERATED" | "GLOBAL" | "GRANT" | "GRANTED" | "GREATEST" | "GROUP_P" | "GROUPING" | "GROUPS" | "HANDLER" | "HAVING" | "HEADER_P" | "HOLD" | "HOUR_P" | "IDENTITY_P" | "IF_P" | "ILIKE" | "IMMEDIATE" | "IMMUTABLE" | "IMPLICIT_P" | "IMPORT_P" | "IN_P" | "INCLUDE" | "INCLUDING" | "INCREMENT" | "INDENT" | "INDEX" | "INDEXES" | "INHERIT" | "INHERITS" | "INITIALLY" | "INLINE_P" | "INNER_P" | "INOUT" | "INPUT_P" | "INSENSITIVE" | "INSERT" | "INSTEAD" | "INT_P" | "INTEGER" | "INTERSECT" | "INTERVAL" | "INTO" | "INVOKER" | "IS" | "ISNULL" | "ISOLATION" | "JOIN" | "JSON" | "JSON_ARRAY" | "JSON_ARRAYAGG" | "JSON_OBJECT" | "JSON_OBJECTAGG" | "KEY" | "KEYS" | "LABEL" | "LANGUAGE" | "LARGE_P" | "LAST_P" | "LATERAL_P" | "LEADING" | "LEAKPROOF" | "LEAST" | "LEFT" | "LEVEL" | "LIKE" | "LIMIT" | "LISTEN" | "LOAD" | "LOCAL" | "LOCALTIME" | "LOCALTIMESTAMP" | "LOCATION" | "LOCK_P" | "LOCKED" | "LOGGED" | "MAPPING" | "MATCH" | "MATCHED" | "MATERIALIZED" | "MAXVALUE" | "MERGE" | "METHOD" | "MINUTE_P" | "MINVALUE" | "MODE" | "MONTH_P" | "MOVE" | "NAME_P" | "NAMES" | "NATIONAL" | "NATURAL" | "NCHAR" | "NEW" | "NEXT" | "NFC" | "NFD" | "NFKC" | "NFKD" | "NO" | "NONE" | "NORMALIZE" | "NORMALIZED" | "NOT" | "NOTHING" | "NOTIFY" | "NOTNULL" | "NOWAIT" | "NULL_P" | "NULLIF" | "NULLS_P" | "NUMERIC" | "OBJECT_P" | "OF" | "OFF" | "OFFSET" | "OIDS" | "OLD" | "ON" | "ONLY" | "OPERATOR" | "OPTION" | "OPTIONS" | "OR" | "ORDER" | "ORDINALITY" | "OTHERS" | "OUT_P" | "OUTER_P" | "OVER" | "OVERLAPS" | "OVERLAY" | "OVERRIDING" | "OWNED" | "OWNER" | "PARALLEL" | "PARAMETER" | "PARSER" | "PARTIAL" | "PARTITION" | "PASSING" | "PASSWORD" | "PLACING" | "PLANS" | "POLICY" | "POSITION" | "PRECEDING" | "PRECISION" | "PRESERVE" | "PREPARE" | "PREPARED" | "PRIMARY" | "PRIOR" | "PRIVILEGES" | "PROCEDURAL" | "PROCEDURE" | "PROCEDURES" | "PROGRAM" | "PUBLICATION" | "QUOTE" | "RANGE" | "READ" | "REAL" | "REASSIGN" | "RECHECK" | "RECURSIVE" | "REF_P" | "REFERENCES" | "REFERENCING" | "REFRESH" | "REINDEX" | "RELATIVE_P" | "RELEASE" | "RENAME" | "REPEATABLE" | "REPLACE" | "REPLICA" | "RESET" | "RESTART" | "RESTRICT" | "RETURN" | "RETURNING" | "RETURNS" | "REVOKE" | "RIGHT" | "ROLE" | "ROLLBACK" | "ROLLUP" | "ROUTINE" | "ROUTINES" | "ROW" | "ROWS" | "RULE" | "SAVEPOINT" | "SCALAR" | "SCHEMA" | "SCHEMAS" | "SCROLL" | "SEARCH" | "SECOND_P" | "SECURITY" | "SELECT" | "SEQUENCE" | "SEQUENCES" | "SERIALIZABLE" | "SERVER" | "SESSION" | "SESSION_USER" | "SET" | "SETS" | "SETOF" | "SHARE" | "SHOW" | "SIMILAR" | "SIMPLE" | "SKIP" | "SMALLINT" | "SNAPSHOT" | "SOME" | "SQL_P" | "STABLE" | "STANDALONE_P" | "START" | "STATEMENT" | "STATISTICS" | "STDIN" | "STDOUT" | "STORAGE" | "STORED" | "STRICT_P" | "STRIP_P" | "SUBSCRIPTION" | "SUBSTRING" | "SUPPORT" | "SYMMETRIC" | "SYSID" | "SYSTEM_P" | "SYSTEM_USER" | "TABLE" | "TABLES" | "TABLESAMPLE" | "TABLESPACE" | "TEMP" | "TEMPLATE" | "TEMPORARY" | "TEXT_P" | "THEN" | "TIES" | "TIME" | "TIMESTAMP" | "TO" | "TRAILING" | "TRANSACTION" | "TRANSFORM" | "TREAT" | "TRIGGER" | "TRIM" | "TRUE_P" | "TRUNCATE" | "TRUSTED" | "TYPE_P" | "TYPES_P" | "UESCAPE" | "UNBOUNDED" | "UNCOMMITTED" | "UNENCRYPTED" | "UNION" | "UNIQUE" | "UNKNOWN" | "UNLISTEN" | "UNLOGGED" | "UNTIL" | "UPDATE" | "USER" | "USING" | "VACUUM" | "VALID" | "VALIDATE" | "VALIDATOR" | "VALUE_P" | "VALUES" | "VARCHAR" | "VARIADIC" | "VARYING" | "VERBOSE" | "VERSION_P" | "VIEW" | "VIEWS" | "VOLATILE" | "WHEN" | "WHERE" | "WHITESPACE_P" | "WINDOW" | "WITH" | "WITHIN" | "WITHOUT" | "WORK" | "WRAPPER" | "WRITE" | "XML_P" | "XMLATTRIBUTES" | "XMLCONCAT" | "XMLELEMENT" | "XMLEXISTS" | "XMLFOREST" | "XMLNAMESPACES" | "XMLPARSE" | "XMLPI" | "XMLROOT" | "XMLSERIALIZE" | "XMLTABLE" | "YEAR_P" | "YES_P" | "ZONE" | "FORMAT_LA" | "NOT_LA" | "NULLS_LA" | "WITH_LA" | "WITHOUT_LA" | "MODE_TYPE_NAME" | "MODE_PLPGSQL_EXPR" | "MODE_PLPGSQL_ASSIGN1" | "MODE_PLPGSQL_ASSIGN2" | "MODE_PLPGSQL_ASSIGN3" | "UMINUS"; \ No newline at end of file diff --git a/__fixtures__/output/runtime-schema/full-features/types.ts b/__fixtures__/output/runtime-schema/full-features/types.ts new file mode 100644 index 0000000..4dbf99c --- /dev/null +++ b/__fixtures__/output/runtime-schema/full-features/types.ts @@ -0,0 +1,1816 @@ +/** +* This file was automatically generated by pg-proto-parser@latest. +* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, +* and run the pg-proto-parser generate command to regenerate this file. +*/ +import { OverridingKind, QuerySource, SortByDir, SortByNulls, SetQuantifier, A_Expr_Kind, RoleSpecType, TableLikeOption, DefElemAction, PartitionStrategy, PartitionRangeDatumKind, RTEKind, WCOKind, GroupingSetKind, CTEMaterialize, SetOperation, ObjectType, DropBehavior, AlterTableType, GrantTargetType, VariableSetKind, ConstrType, ImportForeignSchemaType, RoleStmtType, FetchDirection, FunctionParameterMode, TransactionStmtKind, ViewCheckOption, DiscardMode, ReindexObjectType, AlterTSConfigType, PublicationObjSpecType, AlterPublicationAction, AlterSubscriptionType, OnCommitAction, ParamKind, CoercionContext, CoercionForm, BoolExprType, SubLinkType, RowCompareType, MinMaxOp, SQLValueFunctionOp, XmlExprOp, XmlOptionType, JsonEncoding, JsonFormatType, JsonConstructorType, JsonValueType, NullTestType, BoolTestType, CmdType, JoinType, AggStrategy, AggSplit, SetOpCmd, SetOpStrategy, OnConflictAction, LimitOption, LockClauseStrength, LockWaitPolicy, LockTupleMode, KeywordKind, Token } from "./enums"; +export type Node = ParseResult | ScanResult | Integer | Float | Boolean | String | BitString | List | OidList | IntList | A_Const | Alias | RangeVar | TableFunc | IntoClause | Var | Param | Aggref | GroupingFunc | WindowFunc | SubscriptingRef | FuncExpr | NamedArgExpr | OpExpr | DistinctExpr | NullIfExpr | ScalarArrayOpExpr | BoolExpr | SubLink | SubPlan | AlternativeSubPlan | FieldSelect | FieldStore | RelabelType | CoerceViaIO | ArrayCoerceExpr | ConvertRowtypeExpr | CollateExpr | CaseExpr | CaseWhen | CaseTestExpr | ArrayExpr | RowExpr | RowCompareExpr | CoalesceExpr | MinMaxExpr | SQLValueFunction | XmlExpr | JsonFormat | JsonReturning | JsonValueExpr | JsonConstructorExpr | JsonIsPredicate | NullTest | BooleanTest | CoerceToDomain | CoerceToDomainValue | SetToDefault | CurrentOfExpr | NextValueExpr | InferenceElem | TargetEntry | RangeTblRef | JoinExpr | FromExpr | OnConflictExpr | Query | TypeName | ColumnRef | ParamRef | A_Expr | TypeCast | CollateClause | RoleSpec | FuncCall | A_Star | A_Indices | A_Indirection | A_ArrayExpr | ResTarget | MultiAssignRef | SortBy | WindowDef | RangeSubselect | RangeFunction | RangeTableFunc | RangeTableFuncCol | RangeTableSample | ColumnDef | TableLikeClause | IndexElem | DefElem | LockingClause | XmlSerialize | PartitionElem | PartitionSpec | PartitionBoundSpec | PartitionRangeDatum | PartitionCmd | RangeTblEntry | RTEPermissionInfo | RangeTblFunction | TableSampleClause | WithCheckOption | SortGroupClause | GroupingSet | WindowClause | RowMarkClause | WithClause | InferClause | OnConflictClause | CTESearchClause | CTECycleClause | CommonTableExpr | MergeWhenClause | MergeAction | TriggerTransition | JsonOutput | JsonKeyValue | JsonObjectConstructor | JsonArrayConstructor | JsonArrayQueryConstructor | JsonAggConstructor | JsonObjectAgg | JsonArrayAgg | RawStmt | InsertStmt | DeleteStmt | UpdateStmt | MergeStmt | SelectStmt | SetOperationStmt | ReturnStmt | PLAssignStmt | CreateSchemaStmt | AlterTableStmt | ReplicaIdentityStmt | AlterTableCmd | AlterCollationStmt | AlterDomainStmt | GrantStmt | ObjectWithArgs | AccessPriv | GrantRoleStmt | AlterDefaultPrivilegesStmt | CopyStmt | VariableSetStmt | VariableShowStmt | CreateStmt | Constraint | CreateTableSpaceStmt | DropTableSpaceStmt | AlterTableSpaceOptionsStmt | AlterTableMoveAllStmt | CreateExtensionStmt | AlterExtensionStmt | AlterExtensionContentsStmt | CreateFdwStmt | AlterFdwStmt | CreateForeignServerStmt | AlterForeignServerStmt | CreateForeignTableStmt | CreateUserMappingStmt | AlterUserMappingStmt | DropUserMappingStmt | ImportForeignSchemaStmt | CreatePolicyStmt | AlterPolicyStmt | CreateAmStmt | CreateTrigStmt | CreateEventTrigStmt | AlterEventTrigStmt | CreatePLangStmt | CreateRoleStmt | AlterRoleStmt | AlterRoleSetStmt | DropRoleStmt | CreateSeqStmt | AlterSeqStmt | DefineStmt | CreateDomainStmt | CreateOpClassStmt | CreateOpClassItem | CreateOpFamilyStmt | AlterOpFamilyStmt | DropStmt | TruncateStmt | CommentStmt | SecLabelStmt | DeclareCursorStmt | ClosePortalStmt | FetchStmt | IndexStmt | CreateStatsStmt | StatsElem | AlterStatsStmt | CreateFunctionStmt | FunctionParameter | AlterFunctionStmt | DoStmt | InlineCodeBlock | CallStmt | CallContext | RenameStmt | AlterObjectDependsStmt | AlterObjectSchemaStmt | AlterOwnerStmt | AlterOperatorStmt | AlterTypeStmt | RuleStmt | NotifyStmt | ListenStmt | UnlistenStmt | TransactionStmt | CompositeTypeStmt | CreateEnumStmt | CreateRangeStmt | AlterEnumStmt | ViewStmt | LoadStmt | CreatedbStmt | AlterDatabaseStmt | AlterDatabaseRefreshCollStmt | AlterDatabaseSetStmt | DropdbStmt | AlterSystemStmt | ClusterStmt | VacuumStmt | VacuumRelation | ExplainStmt | CreateTableAsStmt | RefreshMatViewStmt | CheckPointStmt | DiscardStmt | LockStmt | ConstraintsSetStmt | ReindexStmt | CreateConversionStmt | CreateCastStmt | CreateTransformStmt | PrepareStmt | ExecuteStmt | DeallocateStmt | DropOwnedStmt | ReassignOwnedStmt | AlterTSDictionaryStmt | AlterTSConfigurationStmt | PublicationTable | PublicationObjSpec | CreatePublicationStmt | AlterPublicationStmt | CreateSubscriptionStmt | AlterSubscriptionStmt | DropSubscriptionStmt | ScanToken; +export interface ParseResult { + version?: number; + stmts?: RawStmt[]; +} +export interface ScanResult { + version?: number; + tokens?: ScanToken[]; +} +export interface Integer { + ival?: number; +} +export interface Float { + fval?: string; +} +export interface Boolean { + boolval?: boolean; +} +export interface String { + sval?: string; +} +export interface BitString { + bsval?: string; +} +export interface List { + items?: Node[]; +} +export interface OidList { + items?: Node[]; +} +export interface IntList { + items?: Node[]; +} +export interface A_Const { + ival?: Integer; + fval?: Float; + boolval?: Boolean; + sval?: String; + bsval?: BitString; + isnull?: boolean; + location?: number; +} +export interface Alias { + aliasname?: string; + colnames?: Node[]; +} +export interface RangeVar { + catalogname?: string; + schemaname?: string; + relname?: string; + inh?: boolean; + relpersistence?: string; + alias?: Alias; + location?: number; +} +export interface TableFunc { + ns_uris?: Node[]; + ns_names?: Node[]; + docexpr?: Node; + rowexpr?: Node; + colnames?: Node[]; + coltypes?: Node[]; + coltypmods?: Node[]; + colcollations?: Node[]; + colexprs?: Node[]; + coldefexprs?: Node[]; + notnulls?: bigint[]; + ordinalitycol?: number; + location?: number; +} +export interface IntoClause { + rel?: RangeVar; + colNames?: Node[]; + accessMethod?: string; + options?: Node[]; + onCommit?: OnCommitAction; + tableSpaceName?: string; + viewQuery?: Node; + skipData?: boolean; +} +export interface Var { + xpr?: Node; + varno?: number; + varattno?: number; + vartype?: number; + vartypmod?: number; + varcollid?: number; + varnullingrels?: bigint[]; + varlevelsup?: number; + location?: number; +} +export interface Param { + xpr?: Node; + paramkind?: ParamKind; + paramid?: number; + paramtype?: number; + paramtypmod?: number; + paramcollid?: number; + location?: number; +} +export interface Aggref { + xpr?: Node; + aggfnoid?: number; + aggtype?: number; + aggcollid?: number; + inputcollid?: number; + aggargtypes?: Node[]; + aggdirectargs?: Node[]; + args?: Node[]; + aggorder?: Node[]; + aggdistinct?: Node[]; + aggfilter?: Node; + aggstar?: boolean; + aggvariadic?: boolean; + aggkind?: string; + agglevelsup?: number; + aggsplit?: AggSplit; + aggno?: number; + aggtransno?: number; + location?: number; +} +export interface GroupingFunc { + xpr?: Node; + args?: Node[]; + refs?: Node[]; + agglevelsup?: number; + location?: number; +} +export interface WindowFunc { + xpr?: Node; + winfnoid?: number; + wintype?: number; + wincollid?: number; + inputcollid?: number; + args?: Node[]; + aggfilter?: Node; + winref?: number; + winstar?: boolean; + winagg?: boolean; + location?: number; +} +export interface SubscriptingRef { + xpr?: Node; + refcontainertype?: number; + refelemtype?: number; + refrestype?: number; + reftypmod?: number; + refcollid?: number; + refupperindexpr?: Node[]; + reflowerindexpr?: Node[]; + refexpr?: Node; + refassgnexpr?: Node; +} +export interface FuncExpr { + xpr?: Node; + funcid?: number; + funcresulttype?: number; + funcretset?: boolean; + funcvariadic?: boolean; + funcformat?: CoercionForm; + funccollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface NamedArgExpr { + xpr?: Node; + arg?: Node; + name?: string; + argnumber?: number; + location?: number; +} +export interface OpExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface DistinctExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface NullIfExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface ScalarArrayOpExpr { + xpr?: Node; + opno?: number; + useOr?: boolean; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface BoolExpr { + xpr?: Node; + boolop?: BoolExprType; + args?: Node[]; + location?: number; +} +export interface SubLink { + xpr?: Node; + subLinkType?: SubLinkType; + subLinkId?: number; + testexpr?: Node; + operName?: Node[]; + subselect?: Node; + location?: number; +} +export interface SubPlan { + xpr?: Node; + subLinkType?: SubLinkType; + testexpr?: Node; + paramIds?: Node[]; + plan_id?: number; + plan_name?: string; + firstColType?: number; + firstColTypmod?: number; + firstColCollation?: number; + useHashTable?: boolean; + unknownEqFalse?: boolean; + parallel_safe?: boolean; + setParam?: Node[]; + parParam?: Node[]; + args?: Node[]; + startup_cost?: number; + per_call_cost?: number; +} +export interface AlternativeSubPlan { + xpr?: Node; + subplans?: Node[]; +} +export interface FieldSelect { + xpr?: Node; + arg?: Node; + fieldnum?: number; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; +} +export interface FieldStore { + xpr?: Node; + arg?: Node; + newvals?: Node[]; + fieldnums?: Node[]; + resulttype?: number; +} +export interface RelabelType { + xpr?: Node; + arg?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + relabelformat?: CoercionForm; + location?: number; +} +export interface CoerceViaIO { + xpr?: Node; + arg?: Node; + resulttype?: number; + resultcollid?: number; + coerceformat?: CoercionForm; + location?: number; +} +export interface ArrayCoerceExpr { + xpr?: Node; + arg?: Node; + elemexpr?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + coerceformat?: CoercionForm; + location?: number; +} +export interface ConvertRowtypeExpr { + xpr?: Node; + arg?: Node; + resulttype?: number; + convertformat?: CoercionForm; + location?: number; +} +export interface CollateExpr { + xpr?: Node; + arg?: Node; + collOid?: number; + location?: number; +} +export interface CaseExpr { + xpr?: Node; + casetype?: number; + casecollid?: number; + arg?: Node; + args?: Node[]; + defresult?: Node; + location?: number; +} +export interface CaseWhen { + xpr?: Node; + expr?: Node; + result?: Node; + location?: number; +} +export interface CaseTestExpr { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; +} +export interface ArrayExpr { + xpr?: Node; + array_typeid?: number; + array_collid?: number; + element_typeid?: number; + elements?: Node[]; + multidims?: boolean; + location?: number; +} +export interface RowExpr { + xpr?: Node; + args?: Node[]; + row_typeid?: number; + row_format?: CoercionForm; + colnames?: Node[]; + location?: number; +} +export interface RowCompareExpr { + xpr?: Node; + rctype?: RowCompareType; + opnos?: Node[]; + opfamilies?: Node[]; + inputcollids?: Node[]; + largs?: Node[]; + rargs?: Node[]; +} +export interface CoalesceExpr { + xpr?: Node; + coalescetype?: number; + coalescecollid?: number; + args?: Node[]; + location?: number; +} +export interface MinMaxExpr { + xpr?: Node; + minmaxtype?: number; + minmaxcollid?: number; + inputcollid?: number; + op?: MinMaxOp; + args?: Node[]; + location?: number; +} +export interface SQLValueFunction { + xpr?: Node; + op?: SQLValueFunctionOp; + type?: number; + typmod?: number; + location?: number; +} +export interface XmlExpr { + xpr?: Node; + op?: XmlExprOp; + name?: string; + named_args?: Node[]; + arg_names?: Node[]; + args?: Node[]; + xmloption?: XmlOptionType; + indent?: boolean; + type?: number; + typmod?: number; + location?: number; +} +export interface JsonFormat { + format_type?: JsonFormatType; + encoding?: JsonEncoding; + location?: number; +} +export interface JsonReturning { + format?: JsonFormat; + typid?: number; + typmod?: number; +} +export interface JsonValueExpr { + raw_expr?: Node; + formatted_expr?: Node; + format?: JsonFormat; +} +export interface JsonConstructorExpr { + xpr?: Node; + type?: JsonConstructorType; + args?: Node[]; + func?: Node; + coercion?: Node; + returning?: JsonReturning; + absent_on_null?: boolean; + unique?: boolean; + location?: number; +} +export interface JsonIsPredicate { + expr?: Node; + format?: JsonFormat; + item_type?: JsonValueType; + unique_keys?: boolean; + location?: number; +} +export interface NullTest { + xpr?: Node; + arg?: Node; + nulltesttype?: NullTestType; + argisrow?: boolean; + location?: number; +} +export interface BooleanTest { + xpr?: Node; + arg?: Node; + booltesttype?: BoolTestType; + location?: number; +} +export interface CoerceToDomain { + xpr?: Node; + arg?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + coercionformat?: CoercionForm; + location?: number; +} +export interface CoerceToDomainValue { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; + location?: number; +} +export interface SetToDefault { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; + location?: number; +} +export interface CurrentOfExpr { + xpr?: Node; + cvarno?: number; + cursor_name?: string; + cursor_param?: number; +} +export interface NextValueExpr { + xpr?: Node; + seqid?: number; + typeId?: number; +} +export interface InferenceElem { + xpr?: Node; + expr?: Node; + infercollid?: number; + inferopclass?: number; +} +export interface TargetEntry { + xpr?: Node; + expr?: Node; + resno?: number; + resname?: string; + ressortgroupref?: number; + resorigtbl?: number; + resorigcol?: number; + resjunk?: boolean; +} +export interface RangeTblRef { + rtindex?: number; +} +export interface JoinExpr { + jointype?: JoinType; + isNatural?: boolean; + larg?: Node; + rarg?: Node; + usingClause?: Node[]; + join_using_alias?: Alias; + quals?: Node; + alias?: Alias; + rtindex?: number; +} +export interface FromExpr { + fromlist?: Node[]; + quals?: Node; +} +export interface OnConflictExpr { + action?: OnConflictAction; + arbiterElems?: Node[]; + arbiterWhere?: Node; + constraint?: number; + onConflictSet?: Node[]; + onConflictWhere?: Node; + exclRelIndex?: number; + exclRelTlist?: Node[]; +} +export interface Query { + commandType?: CmdType; + querySource?: QuerySource; + canSetTag?: boolean; + utilityStmt?: Node; + resultRelation?: number; + hasAggs?: boolean; + hasWindowFuncs?: boolean; + hasTargetSRFs?: boolean; + hasSubLinks?: boolean; + hasDistinctOn?: boolean; + hasRecursive?: boolean; + hasModifyingCTE?: boolean; + hasForUpdate?: boolean; + hasRowSecurity?: boolean; + isReturn?: boolean; + cteList?: Node[]; + rtable?: Node[]; + rteperminfos?: Node[]; + jointree?: FromExpr; + mergeActionList?: Node[]; + mergeUseOuterJoin?: boolean; + targetList?: Node[]; + override?: OverridingKind; + onConflict?: OnConflictExpr; + returningList?: Node[]; + groupClause?: Node[]; + groupDistinct?: boolean; + groupingSets?: Node[]; + havingQual?: Node; + windowClause?: Node[]; + distinctClause?: Node[]; + sortClause?: Node[]; + limitOffset?: Node; + limitCount?: Node; + limitOption?: LimitOption; + rowMarks?: Node[]; + setOperations?: Node; + constraintDeps?: Node[]; + withCheckOptions?: Node[]; + stmt_location?: number; + stmt_len?: number; +} +export interface TypeName { + names?: Node[]; + typeOid?: number; + setof?: boolean; + pct_type?: boolean; + typmods?: Node[]; + typemod?: number; + arrayBounds?: Node[]; + location?: number; +} +export interface ColumnRef { + fields?: Node[]; + location?: number; +} +export interface ParamRef { + number?: number; + location?: number; +} +export interface A_Expr { + kind?: A_Expr_Kind; + name?: Node[]; + lexpr?: Node; + rexpr?: Node; + location?: number; +} +export interface TypeCast { + arg?: Node; + typeName?: TypeName; + location?: number; +} +export interface CollateClause { + arg?: Node; + collname?: Node[]; + location?: number; +} +export interface RoleSpec { + roletype?: RoleSpecType; + rolename?: string; + location?: number; +} +export interface FuncCall { + funcname?: Node[]; + args?: Node[]; + agg_order?: Node[]; + agg_filter?: Node; + over?: WindowDef; + agg_within_group?: boolean; + agg_star?: boolean; + agg_distinct?: boolean; + func_variadic?: boolean; + funcformat?: CoercionForm; + location?: number; +} +export interface A_Star {} +export interface A_Indices { + is_slice?: boolean; + lidx?: Node; + uidx?: Node; +} +export interface A_Indirection { + arg?: Node; + indirection?: Node[]; +} +export interface A_ArrayExpr { + elements?: Node[]; + location?: number; +} +export interface ResTarget { + name?: string; + indirection?: Node[]; + val?: Node; + location?: number; +} +export interface MultiAssignRef { + source?: Node; + colno?: number; + ncolumns?: number; +} +export interface SortBy { + node?: Node; + sortby_dir?: SortByDir; + sortby_nulls?: SortByNulls; + useOp?: Node[]; + location?: number; +} +export interface WindowDef { + name?: string; + refname?: string; + partitionClause?: Node[]; + orderClause?: Node[]; + frameOptions?: number; + startOffset?: Node; + endOffset?: Node; + location?: number; +} +export interface RangeSubselect { + lateral?: boolean; + subquery?: Node; + alias?: Alias; +} +export interface RangeFunction { + lateral?: boolean; + ordinality?: boolean; + is_rowsfrom?: boolean; + functions?: Node[]; + alias?: Alias; + coldeflist?: Node[]; +} +export interface RangeTableFunc { + lateral?: boolean; + docexpr?: Node; + rowexpr?: Node; + namespaces?: Node[]; + columns?: Node[]; + alias?: Alias; + location?: number; +} +export interface RangeTableFuncCol { + colname?: string; + typeName?: TypeName; + for_ordinality?: boolean; + is_not_null?: boolean; + colexpr?: Node; + coldefexpr?: Node; + location?: number; +} +export interface RangeTableSample { + relation?: Node; + method?: Node[]; + args?: Node[]; + repeatable?: Node; + location?: number; +} +export interface ColumnDef { + colname?: string; + typeName?: TypeName; + compression?: string; + inhcount?: number; + is_local?: boolean; + is_not_null?: boolean; + is_from_type?: boolean; + storage?: string; + storage_name?: string; + raw_default?: Node; + cooked_default?: Node; + identity?: string; + identitySequence?: RangeVar; + generated?: string; + collClause?: CollateClause; + collOid?: number; + constraints?: Node[]; + fdwoptions?: Node[]; + location?: number; +} +export interface TableLikeClause { + relation?: RangeVar; + options?: number; + relationOid?: number; +} +export interface IndexElem { + name?: string; + expr?: Node; + indexcolname?: string; + collation?: Node[]; + opclass?: Node[]; + opclassopts?: Node[]; + ordering?: SortByDir; + nulls_ordering?: SortByNulls; +} +export interface DefElem { + defnamespace?: string; + defname?: string; + arg?: Node; + defaction?: DefElemAction; + location?: number; +} +export interface LockingClause { + lockedRels?: Node[]; + strength?: LockClauseStrength; + waitPolicy?: LockWaitPolicy; +} +export interface XmlSerialize { + xmloption?: XmlOptionType; + expr?: Node; + typeName?: TypeName; + indent?: boolean; + location?: number; +} +export interface PartitionElem { + name?: string; + expr?: Node; + collation?: Node[]; + opclass?: Node[]; + location?: number; +} +export interface PartitionSpec { + strategy?: PartitionStrategy; + partParams?: Node[]; + location?: number; +} +export interface PartitionBoundSpec { + strategy?: string; + is_default?: boolean; + modulus?: number; + remainder?: number; + listdatums?: Node[]; + lowerdatums?: Node[]; + upperdatums?: Node[]; + location?: number; +} +export interface PartitionRangeDatum { + kind?: PartitionRangeDatumKind; + value?: Node; + location?: number; +} +export interface PartitionCmd { + name?: RangeVar; + bound?: PartitionBoundSpec; + concurrent?: boolean; +} +export interface RangeTblEntry { + rtekind?: RTEKind; + relid?: number; + relkind?: string; + rellockmode?: number; + tablesample?: TableSampleClause; + perminfoindex?: number; + subquery?: Query; + security_barrier?: boolean; + jointype?: JoinType; + joinmergedcols?: number; + joinaliasvars?: Node[]; + joinleftcols?: Node[]; + joinrightcols?: Node[]; + join_using_alias?: Alias; + functions?: Node[]; + funcordinality?: boolean; + tablefunc?: TableFunc; + values_lists?: Node[]; + ctename?: string; + ctelevelsup?: number; + self_reference?: boolean; + coltypes?: Node[]; + coltypmods?: Node[]; + colcollations?: Node[]; + enrname?: string; + enrtuples?: number; + alias?: Alias; + eref?: Alias; + lateral?: boolean; + inh?: boolean; + inFromCl?: boolean; + securityQuals?: Node[]; +} +export interface RTEPermissionInfo { + relid?: number; + inh?: boolean; + requiredPerms?: bigint; + checkAsUser?: number; + selectedCols?: bigint[]; + insertedCols?: bigint[]; + updatedCols?: bigint[]; +} +export interface RangeTblFunction { + funcexpr?: Node; + funccolcount?: number; + funccolnames?: Node[]; + funccoltypes?: Node[]; + funccoltypmods?: Node[]; + funccolcollations?: Node[]; + funcparams?: bigint[]; +} +export interface TableSampleClause { + tsmhandler?: number; + args?: Node[]; + repeatable?: Node; +} +export interface WithCheckOption { + kind?: WCOKind; + relname?: string; + polname?: string; + qual?: Node; + cascaded?: boolean; +} +export interface SortGroupClause { + tleSortGroupRef?: number; + eqop?: number; + sortop?: number; + nulls_first?: boolean; + hashable?: boolean; +} +export interface GroupingSet { + kind?: GroupingSetKind; + content?: Node[]; + location?: number; +} +export interface WindowClause { + name?: string; + refname?: string; + partitionClause?: Node[]; + orderClause?: Node[]; + frameOptions?: number; + startOffset?: Node; + endOffset?: Node; + runCondition?: Node[]; + startInRangeFunc?: number; + endInRangeFunc?: number; + inRangeColl?: number; + inRangeAsc?: boolean; + inRangeNullsFirst?: boolean; + winref?: number; + copiedOrder?: boolean; +} +export interface RowMarkClause { + rti?: number; + strength?: LockClauseStrength; + waitPolicy?: LockWaitPolicy; + pushedDown?: boolean; +} +export interface WithClause { + ctes?: Node[]; + recursive?: boolean; + location?: number; +} +export interface InferClause { + indexElems?: Node[]; + whereClause?: Node; + conname?: string; + location?: number; +} +export interface OnConflictClause { + action?: OnConflictAction; + infer?: InferClause; + targetList?: Node[]; + whereClause?: Node; + location?: number; +} +export interface CTESearchClause { + search_col_list?: Node[]; + search_breadth_first?: boolean; + search_seq_column?: string; + location?: number; +} +export interface CTECycleClause { + cycle_col_list?: Node[]; + cycle_mark_column?: string; + cycle_mark_value?: Node; + cycle_mark_default?: Node; + cycle_path_column?: string; + location?: number; + cycle_mark_type?: number; + cycle_mark_typmod?: number; + cycle_mark_collation?: number; + cycle_mark_neop?: number; +} +export interface CommonTableExpr { + ctename?: string; + aliascolnames?: Node[]; + ctematerialized?: CTEMaterialize; + ctequery?: Node; + search_clause?: CTESearchClause; + cycle_clause?: CTECycleClause; + location?: number; + cterecursive?: boolean; + cterefcount?: number; + ctecolnames?: Node[]; + ctecoltypes?: Node[]; + ctecoltypmods?: Node[]; + ctecolcollations?: Node[]; +} +export interface MergeWhenClause { + matched?: boolean; + commandType?: CmdType; + override?: OverridingKind; + condition?: Node; + targetList?: Node[]; + values?: Node[]; +} +export interface MergeAction { + matched?: boolean; + commandType?: CmdType; + override?: OverridingKind; + qual?: Node; + targetList?: Node[]; + updateColnos?: Node[]; +} +export interface TriggerTransition { + name?: string; + isNew?: boolean; + isTable?: boolean; +} +export interface JsonOutput { + typeName?: TypeName; + returning?: JsonReturning; +} +export interface JsonKeyValue { + key?: Node; + value?: JsonValueExpr; +} +export interface JsonObjectConstructor { + exprs?: Node[]; + output?: JsonOutput; + absent_on_null?: boolean; + unique?: boolean; + location?: number; +} +export interface JsonArrayConstructor { + exprs?: Node[]; + output?: JsonOutput; + absent_on_null?: boolean; + location?: number; +} +export interface JsonArrayQueryConstructor { + query?: Node; + output?: JsonOutput; + format?: JsonFormat; + absent_on_null?: boolean; + location?: number; +} +export interface JsonAggConstructor { + output?: JsonOutput; + agg_filter?: Node; + agg_order?: Node[]; + over?: WindowDef; + location?: number; +} +export interface JsonObjectAgg { + constructor?: JsonAggConstructor; + arg?: JsonKeyValue; + absent_on_null?: boolean; + unique?: boolean; +} +export interface JsonArrayAgg { + constructor?: JsonAggConstructor; + arg?: JsonValueExpr; + absent_on_null?: boolean; +} +export interface RawStmt { + stmt?: Node; + stmt_location?: number; + stmt_len?: number; +} +export interface InsertStmt { + relation?: RangeVar; + cols?: Node[]; + selectStmt?: Node; + onConflictClause?: OnConflictClause; + returningList?: Node[]; + withClause?: WithClause; + override?: OverridingKind; +} +export interface DeleteStmt { + relation?: RangeVar; + usingClause?: Node[]; + whereClause?: Node; + returningList?: Node[]; + withClause?: WithClause; +} +export interface UpdateStmt { + relation?: RangeVar; + targetList?: Node[]; + whereClause?: Node; + fromClause?: Node[]; + returningList?: Node[]; + withClause?: WithClause; +} +export interface MergeStmt { + relation?: RangeVar; + sourceRelation?: Node; + joinCondition?: Node; + mergeWhenClauses?: Node[]; + withClause?: WithClause; +} +export interface SelectStmt { + distinctClause?: Node[]; + intoClause?: IntoClause; + targetList?: Node[]; + fromClause?: Node[]; + whereClause?: Node; + groupClause?: Node[]; + groupDistinct?: boolean; + havingClause?: Node; + windowClause?: Node[]; + valuesLists?: Node[]; + sortClause?: Node[]; + limitOffset?: Node; + limitCount?: Node; + limitOption?: LimitOption; + lockingClause?: Node[]; + withClause?: WithClause; + op?: SetOperation; + all?: boolean; + larg?: SelectStmt; + rarg?: SelectStmt; +} +export interface SetOperationStmt { + op?: SetOperation; + all?: boolean; + larg?: Node; + rarg?: Node; + colTypes?: Node[]; + colTypmods?: Node[]; + colCollations?: Node[]; + groupClauses?: Node[]; +} +export interface ReturnStmt { + returnval?: Node; +} +export interface PLAssignStmt { + name?: string; + indirection?: Node[]; + nnames?: number; + val?: SelectStmt; + location?: number; +} +export interface CreateSchemaStmt { + schemaname?: string; + authrole?: RoleSpec; + schemaElts?: Node[]; + if_not_exists?: boolean; +} +export interface AlterTableStmt { + relation?: RangeVar; + cmds?: Node[]; + objtype?: ObjectType; + missing_ok?: boolean; +} +export interface ReplicaIdentityStmt { + identity_type?: string; + name?: string; +} +export interface AlterTableCmd { + subtype?: AlterTableType; + name?: string; + num?: number; + newowner?: RoleSpec; + def?: Node; + behavior?: DropBehavior; + missing_ok?: boolean; + recurse?: boolean; +} +export interface AlterCollationStmt { + collname?: Node[]; +} +export interface AlterDomainStmt { + subtype?: string; + typeName?: Node[]; + name?: string; + def?: Node; + behavior?: DropBehavior; + missing_ok?: boolean; +} +export interface GrantStmt { + is_grant?: boolean; + targtype?: GrantTargetType; + objtype?: ObjectType; + objects?: Node[]; + privileges?: Node[]; + grantees?: Node[]; + grant_option?: boolean; + grantor?: RoleSpec; + behavior?: DropBehavior; +} +export interface ObjectWithArgs { + objname?: Node[]; + objargs?: Node[]; + objfuncargs?: Node[]; + args_unspecified?: boolean; +} +export interface AccessPriv { + priv_name?: string; + cols?: Node[]; +} +export interface GrantRoleStmt { + granted_roles?: Node[]; + grantee_roles?: Node[]; + is_grant?: boolean; + opt?: Node[]; + grantor?: RoleSpec; + behavior?: DropBehavior; +} +export interface AlterDefaultPrivilegesStmt { + options?: Node[]; + action?: GrantStmt; +} +export interface CopyStmt { + relation?: RangeVar; + query?: Node; + attlist?: Node[]; + is_from?: boolean; + is_program?: boolean; + filename?: string; + options?: Node[]; + whereClause?: Node; +} +export interface VariableSetStmt { + kind?: VariableSetKind; + name?: string; + args?: Node[]; + is_local?: boolean; +} +export interface VariableShowStmt { + name?: string; +} +export interface CreateStmt { + relation?: RangeVar; + tableElts?: Node[]; + inhRelations?: Node[]; + partbound?: PartitionBoundSpec; + partspec?: PartitionSpec; + ofTypename?: TypeName; + constraints?: Node[]; + options?: Node[]; + oncommit?: OnCommitAction; + tablespacename?: string; + accessMethod?: string; + if_not_exists?: boolean; +} +export interface Constraint { + contype?: ConstrType; + conname?: string; + deferrable?: boolean; + initdeferred?: boolean; + location?: number; + is_no_inherit?: boolean; + raw_expr?: Node; + cooked_expr?: string; + generated_when?: string; + nulls_not_distinct?: boolean; + keys?: Node[]; + including?: Node[]; + exclusions?: Node[]; + options?: Node[]; + indexname?: string; + indexspace?: string; + reset_default_tblspc?: boolean; + access_method?: string; + where_clause?: Node; + pktable?: RangeVar; + fk_attrs?: Node[]; + pk_attrs?: Node[]; + fk_matchtype?: string; + fk_upd_action?: string; + fk_del_action?: string; + fk_del_set_cols?: Node[]; + old_conpfeqop?: Node[]; + old_pktable_oid?: number; + skip_validation?: boolean; + initially_valid?: boolean; +} +export interface CreateTableSpaceStmt { + tablespacename?: string; + owner?: RoleSpec; + location?: string; + options?: Node[]; +} +export interface DropTableSpaceStmt { + tablespacename?: string; + missing_ok?: boolean; +} +export interface AlterTableSpaceOptionsStmt { + tablespacename?: string; + options?: Node[]; + isReset?: boolean; +} +export interface AlterTableMoveAllStmt { + orig_tablespacename?: string; + objtype?: ObjectType; + roles?: Node[]; + new_tablespacename?: string; + nowait?: boolean; +} +export interface CreateExtensionStmt { + extname?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterExtensionStmt { + extname?: string; + options?: Node[]; +} +export interface AlterExtensionContentsStmt { + extname?: string; + action?: number; + objtype?: ObjectType; + object?: Node; +} +export interface CreateFdwStmt { + fdwname?: string; + func_options?: Node[]; + options?: Node[]; +} +export interface AlterFdwStmt { + fdwname?: string; + func_options?: Node[]; + options?: Node[]; +} +export interface CreateForeignServerStmt { + servername?: string; + servertype?: string; + version?: string; + fdwname?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterForeignServerStmt { + servername?: string; + version?: string; + options?: Node[]; + has_version?: boolean; +} +export interface CreateForeignTableStmt { + base?: CreateStmt; + servername?: string; + options?: Node[]; +} +export interface CreateUserMappingStmt { + user?: RoleSpec; + servername?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterUserMappingStmt { + user?: RoleSpec; + servername?: string; + options?: Node[]; +} +export interface DropUserMappingStmt { + user?: RoleSpec; + servername?: string; + missing_ok?: boolean; +} +export interface ImportForeignSchemaStmt { + server_name?: string; + remote_schema?: string; + local_schema?: string; + list_type?: ImportForeignSchemaType; + table_list?: Node[]; + options?: Node[]; +} +export interface CreatePolicyStmt { + policy_name?: string; + table?: RangeVar; + cmd_name?: string; + permissive?: boolean; + roles?: Node[]; + qual?: Node; + with_check?: Node; +} +export interface AlterPolicyStmt { + policy_name?: string; + table?: RangeVar; + roles?: Node[]; + qual?: Node; + with_check?: Node; +} +export interface CreateAmStmt { + amname?: string; + handler_name?: Node[]; + amtype?: string; +} +export interface CreateTrigStmt { + replace?: boolean; + isconstraint?: boolean; + trigname?: string; + relation?: RangeVar; + funcname?: Node[]; + args?: Node[]; + row?: boolean; + timing?: number; + events?: number; + columns?: Node[]; + whenClause?: Node; + transitionRels?: Node[]; + deferrable?: boolean; + initdeferred?: boolean; + constrrel?: RangeVar; +} +export interface CreateEventTrigStmt { + trigname?: string; + eventname?: string; + whenclause?: Node[]; + funcname?: Node[]; +} +export interface AlterEventTrigStmt { + trigname?: string; + tgenabled?: string; +} +export interface CreatePLangStmt { + replace?: boolean; + plname?: string; + plhandler?: Node[]; + plinline?: Node[]; + plvalidator?: Node[]; + pltrusted?: boolean; +} +export interface CreateRoleStmt { + stmt_type?: RoleStmtType; + role?: string; + options?: Node[]; +} +export interface AlterRoleStmt { + role?: RoleSpec; + options?: Node[]; + action?: number; +} +export interface AlterRoleSetStmt { + role?: RoleSpec; + database?: string; + setstmt?: VariableSetStmt; +} +export interface DropRoleStmt { + roles?: Node[]; + missing_ok?: boolean; +} +export interface CreateSeqStmt { + sequence?: RangeVar; + options?: Node[]; + ownerId?: number; + for_identity?: boolean; + if_not_exists?: boolean; +} +export interface AlterSeqStmt { + sequence?: RangeVar; + options?: Node[]; + for_identity?: boolean; + missing_ok?: boolean; +} +export interface DefineStmt { + kind?: ObjectType; + oldstyle?: boolean; + defnames?: Node[]; + args?: Node[]; + definition?: Node[]; + if_not_exists?: boolean; + replace?: boolean; +} +export interface CreateDomainStmt { + domainname?: Node[]; + typeName?: TypeName; + collClause?: CollateClause; + constraints?: Node[]; +} +export interface CreateOpClassStmt { + opclassname?: Node[]; + opfamilyname?: Node[]; + amname?: string; + datatype?: TypeName; + items?: Node[]; + isDefault?: boolean; +} +export interface CreateOpClassItem { + itemtype?: number; + name?: ObjectWithArgs; + number?: number; + order_family?: Node[]; + class_args?: Node[]; + storedtype?: TypeName; +} +export interface CreateOpFamilyStmt { + opfamilyname?: Node[]; + amname?: string; +} +export interface AlterOpFamilyStmt { + opfamilyname?: Node[]; + amname?: string; + isDrop?: boolean; + items?: Node[]; +} +export interface DropStmt { + objects?: Node[]; + removeType?: ObjectType; + behavior?: DropBehavior; + missing_ok?: boolean; + concurrent?: boolean; +} +export interface TruncateStmt { + relations?: Node[]; + restart_seqs?: boolean; + behavior?: DropBehavior; +} +export interface CommentStmt { + objtype?: ObjectType; + object?: Node; + comment?: string; +} +export interface SecLabelStmt { + objtype?: ObjectType; + object?: Node; + provider?: string; + label?: string; +} +export interface DeclareCursorStmt { + portalname?: string; + options?: number; + query?: Node; +} +export interface ClosePortalStmt { + portalname?: string; +} +export interface FetchStmt { + direction?: FetchDirection; + howMany?: bigint; + portalname?: string; + ismove?: boolean; +} +export interface IndexStmt { + idxname?: string; + relation?: RangeVar; + accessMethod?: string; + tableSpace?: string; + indexParams?: Node[]; + indexIncludingParams?: Node[]; + options?: Node[]; + whereClause?: Node; + excludeOpNames?: Node[]; + idxcomment?: string; + indexOid?: number; + oldNumber?: number; + oldCreateSubid?: number; + oldFirstRelfilelocatorSubid?: number; + unique?: boolean; + nulls_not_distinct?: boolean; + primary?: boolean; + isconstraint?: boolean; + deferrable?: boolean; + initdeferred?: boolean; + transformed?: boolean; + concurrent?: boolean; + if_not_exists?: boolean; + reset_default_tblspc?: boolean; +} +export interface CreateStatsStmt { + defnames?: Node[]; + stat_types?: Node[]; + exprs?: Node[]; + relations?: Node[]; + stxcomment?: string; + transformed?: boolean; + if_not_exists?: boolean; +} +export interface StatsElem { + name?: string; + expr?: Node; +} +export interface AlterStatsStmt { + defnames?: Node[]; + stxstattarget?: number; + missing_ok?: boolean; +} +export interface CreateFunctionStmt { + is_procedure?: boolean; + replace?: boolean; + funcname?: Node[]; + parameters?: Node[]; + returnType?: TypeName; + options?: Node[]; + sql_body?: Node; +} +export interface FunctionParameter { + name?: string; + argType?: TypeName; + mode?: FunctionParameterMode; + defexpr?: Node; +} +export interface AlterFunctionStmt { + objtype?: ObjectType; + func?: ObjectWithArgs; + actions?: Node[]; +} +export interface DoStmt { + args?: Node[]; +} +export interface InlineCodeBlock { + source_text?: string; + langOid?: number; + langIsTrusted?: boolean; + atomic?: boolean; +} +export interface CallStmt { + funccall?: FuncCall; + funcexpr?: FuncExpr; + outargs?: Node[]; +} +export interface CallContext { + atomic?: boolean; +} +export interface RenameStmt { + renameType?: ObjectType; + relationType?: ObjectType; + relation?: RangeVar; + object?: Node; + subname?: string; + newname?: string; + behavior?: DropBehavior; + missing_ok?: boolean; +} +export interface AlterObjectDependsStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + extname?: String; + remove?: boolean; +} +export interface AlterObjectSchemaStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + newschema?: string; + missing_ok?: boolean; +} +export interface AlterOwnerStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + newowner?: RoleSpec; +} +export interface AlterOperatorStmt { + opername?: ObjectWithArgs; + options?: Node[]; +} +export interface AlterTypeStmt { + typeName?: Node[]; + options?: Node[]; +} +export interface RuleStmt { + relation?: RangeVar; + rulename?: string; + whereClause?: Node; + event?: CmdType; + instead?: boolean; + actions?: Node[]; + replace?: boolean; +} +export interface NotifyStmt { + conditionname?: string; + payload?: string; +} +export interface ListenStmt { + conditionname?: string; +} +export interface UnlistenStmt { + conditionname?: string; +} +export interface TransactionStmt { + kind?: TransactionStmtKind; + options?: Node[]; + savepoint_name?: string; + gid?: string; + chain?: boolean; +} +export interface CompositeTypeStmt { + typevar?: RangeVar; + coldeflist?: Node[]; +} +export interface CreateEnumStmt { + typeName?: Node[]; + vals?: Node[]; +} +export interface CreateRangeStmt { + typeName?: Node[]; + params?: Node[]; +} +export interface AlterEnumStmt { + typeName?: Node[]; + oldVal?: string; + newVal?: string; + newValNeighbor?: string; + newValIsAfter?: boolean; + skipIfNewValExists?: boolean; +} +export interface ViewStmt { + view?: RangeVar; + aliases?: Node[]; + query?: Node; + replace?: boolean; + options?: Node[]; + withCheckOption?: ViewCheckOption; +} +export interface LoadStmt { + filename?: string; +} +export interface CreatedbStmt { + dbname?: string; + options?: Node[]; +} +export interface AlterDatabaseStmt { + dbname?: string; + options?: Node[]; +} +export interface AlterDatabaseRefreshCollStmt { + dbname?: string; +} +export interface AlterDatabaseSetStmt { + dbname?: string; + setstmt?: VariableSetStmt; +} +export interface DropdbStmt { + dbname?: string; + missing_ok?: boolean; + options?: Node[]; +} +export interface AlterSystemStmt { + setstmt?: VariableSetStmt; +} +export interface ClusterStmt { + relation?: RangeVar; + indexname?: string; + params?: Node[]; +} +export interface VacuumStmt { + options?: Node[]; + rels?: Node[]; + is_vacuumcmd?: boolean; +} +export interface VacuumRelation { + relation?: RangeVar; + oid?: number; + va_cols?: Node[]; +} +export interface ExplainStmt { + query?: Node; + options?: Node[]; +} +export interface CreateTableAsStmt { + query?: Node; + into?: IntoClause; + objtype?: ObjectType; + is_select_into?: boolean; + if_not_exists?: boolean; +} +export interface RefreshMatViewStmt { + concurrent?: boolean; + skipData?: boolean; + relation?: RangeVar; +} +export interface CheckPointStmt {} +export interface DiscardStmt { + target?: DiscardMode; +} +export interface LockStmt { + relations?: Node[]; + mode?: number; + nowait?: boolean; +} +export interface ConstraintsSetStmt { + constraints?: Node[]; + deferred?: boolean; +} +export interface ReindexStmt { + kind?: ReindexObjectType; + relation?: RangeVar; + name?: string; + params?: Node[]; +} +export interface CreateConversionStmt { + conversion_name?: Node[]; + for_encoding_name?: string; + to_encoding_name?: string; + func_name?: Node[]; + def?: boolean; +} +export interface CreateCastStmt { + sourcetype?: TypeName; + targettype?: TypeName; + func?: ObjectWithArgs; + context?: CoercionContext; + inout?: boolean; +} +export interface CreateTransformStmt { + replace?: boolean; + type_name?: TypeName; + lang?: string; + fromsql?: ObjectWithArgs; + tosql?: ObjectWithArgs; +} +export interface PrepareStmt { + name?: string; + argtypes?: Node[]; + query?: Node; +} +export interface ExecuteStmt { + name?: string; + params?: Node[]; +} +export interface DeallocateStmt { + name?: string; +} +export interface DropOwnedStmt { + roles?: Node[]; + behavior?: DropBehavior; +} +export interface ReassignOwnedStmt { + roles?: Node[]; + newrole?: RoleSpec; +} +export interface AlterTSDictionaryStmt { + dictname?: Node[]; + options?: Node[]; +} +export interface AlterTSConfigurationStmt { + kind?: AlterTSConfigType; + cfgname?: Node[]; + tokentype?: Node[]; + dicts?: Node[]; + override?: boolean; + replace?: boolean; + missing_ok?: boolean; +} +export interface PublicationTable { + relation?: RangeVar; + whereClause?: Node; + columns?: Node[]; +} +export interface PublicationObjSpec { + pubobjtype?: PublicationObjSpecType; + name?: string; + pubtable?: PublicationTable; + location?: number; +} +export interface CreatePublicationStmt { + pubname?: string; + options?: Node[]; + pubobjects?: Node[]; + for_all_tables?: boolean; +} +export interface AlterPublicationStmt { + pubname?: string; + options?: Node[]; + pubobjects?: Node[]; + for_all_tables?: boolean; + action?: AlterPublicationAction; +} +export interface CreateSubscriptionStmt { + subname?: string; + conninfo?: string; + publication?: Node[]; + options?: Node[]; +} +export interface AlterSubscriptionStmt { + kind?: AlterSubscriptionType; + subname?: string; + conninfo?: string; + publication?: Node[]; + options?: Node[]; +} +export interface DropSubscriptionStmt { + subname?: string; + missing_ok?: boolean; + behavior?: DropBehavior; +} +export interface ScanToken { + start?: number; + end?: number; + token?: Token; + keywordKind?: KeywordKind; +} \ No newline at end of file diff --git a/__fixtures__/output/runtime-schema/full-features/wrapped.ts b/__fixtures__/output/runtime-schema/full-features/wrapped.ts new file mode 100644 index 0000000..37f841c --- /dev/null +++ b/__fixtures__/output/runtime-schema/full-features/wrapped.ts @@ -0,0 +1,1822 @@ +/** +* This file was automatically generated by pg-proto-parser@latest. +* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, +* and run the pg-proto-parser generate command to regenerate this file. +*/ +import { OverridingKind, QuerySource, SortByDir, SortByNulls, SetQuantifier, A_Expr_Kind, RoleSpecType, TableLikeOption, DefElemAction, PartitionStrategy, PartitionRangeDatumKind, RTEKind, WCOKind, GroupingSetKind, CTEMaterialize, SetOperation, ObjectType, DropBehavior, AlterTableType, GrantTargetType, VariableSetKind, ConstrType, ImportForeignSchemaType, RoleStmtType, FetchDirection, FunctionParameterMode, TransactionStmtKind, ViewCheckOption, DiscardMode, ReindexObjectType, AlterTSConfigType, PublicationObjSpecType, AlterPublicationAction, AlterSubscriptionType, OnCommitAction, ParamKind, CoercionContext, CoercionForm, BoolExprType, SubLinkType, RowCompareType, MinMaxOp, SQLValueFunctionOp, XmlExprOp, XmlOptionType, JsonEncoding, JsonFormatType, JsonConstructorType, JsonValueType, NullTestType, BoolTestType, CmdType, JoinType, AggStrategy, AggSplit, SetOpCmd, SetOpStrategy, OnConflictAction, LimitOption, LockClauseStrength, LockWaitPolicy, LockTupleMode, KeywordKind, Token } from "./enums"; +export type Node = ParseResult | ScanResult | Integer | Float | Boolean | String | BitString | List | OidList | IntList | A_Const | Alias | RangeVar | TableFunc | IntoClause | Var | Param | Aggref | GroupingFunc | WindowFunc | SubscriptingRef | FuncExpr | NamedArgExpr | OpExpr | DistinctExpr | NullIfExpr | ScalarArrayOpExpr | BoolExpr | SubLink | SubPlan | AlternativeSubPlan | FieldSelect | FieldStore | RelabelType | CoerceViaIO | ArrayCoerceExpr | ConvertRowtypeExpr | CollateExpr | CaseExpr | CaseWhen | CaseTestExpr | ArrayExpr | RowExpr | RowCompareExpr | CoalesceExpr | MinMaxExpr | SQLValueFunction | XmlExpr | JsonFormat | JsonReturning | JsonValueExpr | JsonConstructorExpr | JsonIsPredicate | NullTest | BooleanTest | CoerceToDomain | CoerceToDomainValue | SetToDefault | CurrentOfExpr | NextValueExpr | InferenceElem | TargetEntry | RangeTblRef | JoinExpr | FromExpr | OnConflictExpr | Query | TypeName | ColumnRef | ParamRef | A_Expr | TypeCast | CollateClause | RoleSpec | FuncCall | A_Star | A_Indices | A_Indirection | A_ArrayExpr | ResTarget | MultiAssignRef | SortBy | WindowDef | RangeSubselect | RangeFunction | RangeTableFunc | RangeTableFuncCol | RangeTableSample | ColumnDef | TableLikeClause | IndexElem | DefElem | LockingClause | XmlSerialize | PartitionElem | PartitionSpec | PartitionBoundSpec | PartitionRangeDatum | PartitionCmd | RangeTblEntry | RTEPermissionInfo | RangeTblFunction | TableSampleClause | WithCheckOption | SortGroupClause | GroupingSet | WindowClause | RowMarkClause | WithClause | InferClause | OnConflictClause | CTESearchClause | CTECycleClause | CommonTableExpr | MergeWhenClause | MergeAction | TriggerTransition | JsonOutput | JsonKeyValue | JsonObjectConstructor | JsonArrayConstructor | JsonArrayQueryConstructor | JsonAggConstructor | JsonObjectAgg | JsonArrayAgg | RawStmt | InsertStmt | DeleteStmt | UpdateStmt | MergeStmt | SelectStmt | SetOperationStmt | ReturnStmt | PLAssignStmt | CreateSchemaStmt | AlterTableStmt | ReplicaIdentityStmt | AlterTableCmd | AlterCollationStmt | AlterDomainStmt | GrantStmt | ObjectWithArgs | AccessPriv | GrantRoleStmt | AlterDefaultPrivilegesStmt | CopyStmt | VariableSetStmt | VariableShowStmt | CreateStmt | Constraint | CreateTableSpaceStmt | DropTableSpaceStmt | AlterTableSpaceOptionsStmt | AlterTableMoveAllStmt | CreateExtensionStmt | AlterExtensionStmt | AlterExtensionContentsStmt | CreateFdwStmt | AlterFdwStmt | CreateForeignServerStmt | AlterForeignServerStmt | CreateForeignTableStmt | CreateUserMappingStmt | AlterUserMappingStmt | DropUserMappingStmt | ImportForeignSchemaStmt | CreatePolicyStmt | AlterPolicyStmt | CreateAmStmt | CreateTrigStmt | CreateEventTrigStmt | AlterEventTrigStmt | CreatePLangStmt | CreateRoleStmt | AlterRoleStmt | AlterRoleSetStmt | DropRoleStmt | CreateSeqStmt | AlterSeqStmt | DefineStmt | CreateDomainStmt | CreateOpClassStmt | CreateOpClassItem | CreateOpFamilyStmt | AlterOpFamilyStmt | DropStmt | TruncateStmt | CommentStmt | SecLabelStmt | DeclareCursorStmt | ClosePortalStmt | FetchStmt | IndexStmt | CreateStatsStmt | StatsElem | AlterStatsStmt | CreateFunctionStmt | FunctionParameter | AlterFunctionStmt | DoStmt | InlineCodeBlock | CallStmt | CallContext | RenameStmt | AlterObjectDependsStmt | AlterObjectSchemaStmt | AlterOwnerStmt | AlterOperatorStmt | AlterTypeStmt | RuleStmt | NotifyStmt | ListenStmt | UnlistenStmt | TransactionStmt | CompositeTypeStmt | CreateEnumStmt | CreateRangeStmt | AlterEnumStmt | ViewStmt | LoadStmt | CreatedbStmt | AlterDatabaseStmt | AlterDatabaseRefreshCollStmt | AlterDatabaseSetStmt | DropdbStmt | AlterSystemStmt | ClusterStmt | VacuumStmt | VacuumRelation | ExplainStmt | CreateTableAsStmt | RefreshMatViewStmt | CheckPointStmt | DiscardStmt | LockStmt | ConstraintsSetStmt | ReindexStmt | CreateConversionStmt | CreateCastStmt | CreateTransformStmt | PrepareStmt | ExecuteStmt | DeallocateStmt | DropOwnedStmt | ReassignOwnedStmt | AlterTSDictionaryStmt | AlterTSConfigurationStmt | PublicationTable | PublicationObjSpec | CreatePublicationStmt | AlterPublicationStmt | CreateSubscriptionStmt | AlterSubscriptionStmt | DropSubscriptionStmt | ScanToken; +export interface ParseResult { + ParseResult: { + version?: number; + stmts?: RawStmt[]; + }; +} +export interface ScanResult { + ScanResult: { + version?: number; + tokens?: ScanToken[]; + }; +} +export interface Integer { + ival?: number; +} +export interface Float { + fval?: string; +} +export interface Boolean { + boolval?: boolean; +} +export interface String { + sval?: string; +} +export interface BitString { + bsval?: string; +} +export interface List { + items?: Node[]; +} +export interface OidList { + items?: Node[]; +} +export interface IntList { + items?: Node[]; +} +export interface A_Const { + ival?: Integer; + fval?: Float; + boolval?: Boolean; + sval?: String; + bsval?: BitString; + isnull?: boolean; + location?: number; +} +export interface Alias { + aliasname?: string; + colnames?: Node[]; +} +export interface RangeVar { + catalogname?: string; + schemaname?: string; + relname?: string; + inh?: boolean; + relpersistence?: string; + alias?: Alias; + location?: number; +} +export interface TableFunc { + ns_uris?: Node[]; + ns_names?: Node[]; + docexpr?: Node; + rowexpr?: Node; + colnames?: Node[]; + coltypes?: Node[]; + coltypmods?: Node[]; + colcollations?: Node[]; + colexprs?: Node[]; + coldefexprs?: Node[]; + notnulls?: bigint[]; + ordinalitycol?: number; + location?: number; +} +export interface IntoClause { + rel?: RangeVar; + colNames?: Node[]; + accessMethod?: string; + options?: Node[]; + onCommit?: OnCommitAction; + tableSpaceName?: string; + viewQuery?: Node; + skipData?: boolean; +} +export interface Var { + xpr?: Node; + varno?: number; + varattno?: number; + vartype?: number; + vartypmod?: number; + varcollid?: number; + varnullingrels?: bigint[]; + varlevelsup?: number; + location?: number; +} +export interface Param { + xpr?: Node; + paramkind?: ParamKind; + paramid?: number; + paramtype?: number; + paramtypmod?: number; + paramcollid?: number; + location?: number; +} +export interface Aggref { + xpr?: Node; + aggfnoid?: number; + aggtype?: number; + aggcollid?: number; + inputcollid?: number; + aggargtypes?: Node[]; + aggdirectargs?: Node[]; + args?: Node[]; + aggorder?: Node[]; + aggdistinct?: Node[]; + aggfilter?: Node; + aggstar?: boolean; + aggvariadic?: boolean; + aggkind?: string; + agglevelsup?: number; + aggsplit?: AggSplit; + aggno?: number; + aggtransno?: number; + location?: number; +} +export interface GroupingFunc { + xpr?: Node; + args?: Node[]; + refs?: Node[]; + agglevelsup?: number; + location?: number; +} +export interface WindowFunc { + xpr?: Node; + winfnoid?: number; + wintype?: number; + wincollid?: number; + inputcollid?: number; + args?: Node[]; + aggfilter?: Node; + winref?: number; + winstar?: boolean; + winagg?: boolean; + location?: number; +} +export interface SubscriptingRef { + xpr?: Node; + refcontainertype?: number; + refelemtype?: number; + refrestype?: number; + reftypmod?: number; + refcollid?: number; + refupperindexpr?: Node[]; + reflowerindexpr?: Node[]; + refexpr?: Node; + refassgnexpr?: Node; +} +export interface FuncExpr { + xpr?: Node; + funcid?: number; + funcresulttype?: number; + funcretset?: boolean; + funcvariadic?: boolean; + funcformat?: CoercionForm; + funccollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface NamedArgExpr { + xpr?: Node; + arg?: Node; + name?: string; + argnumber?: number; + location?: number; +} +export interface OpExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface DistinctExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface NullIfExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface ScalarArrayOpExpr { + xpr?: Node; + opno?: number; + useOr?: boolean; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface BoolExpr { + xpr?: Node; + boolop?: BoolExprType; + args?: Node[]; + location?: number; +} +export interface SubLink { + xpr?: Node; + subLinkType?: SubLinkType; + subLinkId?: number; + testexpr?: Node; + operName?: Node[]; + subselect?: Node; + location?: number; +} +export interface SubPlan { + xpr?: Node; + subLinkType?: SubLinkType; + testexpr?: Node; + paramIds?: Node[]; + plan_id?: number; + plan_name?: string; + firstColType?: number; + firstColTypmod?: number; + firstColCollation?: number; + useHashTable?: boolean; + unknownEqFalse?: boolean; + parallel_safe?: boolean; + setParam?: Node[]; + parParam?: Node[]; + args?: Node[]; + startup_cost?: number; + per_call_cost?: number; +} +export interface AlternativeSubPlan { + xpr?: Node; + subplans?: Node[]; +} +export interface FieldSelect { + xpr?: Node; + arg?: Node; + fieldnum?: number; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; +} +export interface FieldStore { + xpr?: Node; + arg?: Node; + newvals?: Node[]; + fieldnums?: Node[]; + resulttype?: number; +} +export interface RelabelType { + xpr?: Node; + arg?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + relabelformat?: CoercionForm; + location?: number; +} +export interface CoerceViaIO { + xpr?: Node; + arg?: Node; + resulttype?: number; + resultcollid?: number; + coerceformat?: CoercionForm; + location?: number; +} +export interface ArrayCoerceExpr { + xpr?: Node; + arg?: Node; + elemexpr?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + coerceformat?: CoercionForm; + location?: number; +} +export interface ConvertRowtypeExpr { + xpr?: Node; + arg?: Node; + resulttype?: number; + convertformat?: CoercionForm; + location?: number; +} +export interface CollateExpr { + xpr?: Node; + arg?: Node; + collOid?: number; + location?: number; +} +export interface CaseExpr { + xpr?: Node; + casetype?: number; + casecollid?: number; + arg?: Node; + args?: Node[]; + defresult?: Node; + location?: number; +} +export interface CaseWhen { + xpr?: Node; + expr?: Node; + result?: Node; + location?: number; +} +export interface CaseTestExpr { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; +} +export interface ArrayExpr { + xpr?: Node; + array_typeid?: number; + array_collid?: number; + element_typeid?: number; + elements?: Node[]; + multidims?: boolean; + location?: number; +} +export interface RowExpr { + xpr?: Node; + args?: Node[]; + row_typeid?: number; + row_format?: CoercionForm; + colnames?: Node[]; + location?: number; +} +export interface RowCompareExpr { + xpr?: Node; + rctype?: RowCompareType; + opnos?: Node[]; + opfamilies?: Node[]; + inputcollids?: Node[]; + largs?: Node[]; + rargs?: Node[]; +} +export interface CoalesceExpr { + xpr?: Node; + coalescetype?: number; + coalescecollid?: number; + args?: Node[]; + location?: number; +} +export interface MinMaxExpr { + xpr?: Node; + minmaxtype?: number; + minmaxcollid?: number; + inputcollid?: number; + op?: MinMaxOp; + args?: Node[]; + location?: number; +} +export interface SQLValueFunction { + xpr?: Node; + op?: SQLValueFunctionOp; + type?: number; + typmod?: number; + location?: number; +} +export interface XmlExpr { + xpr?: Node; + op?: XmlExprOp; + name?: string; + named_args?: Node[]; + arg_names?: Node[]; + args?: Node[]; + xmloption?: XmlOptionType; + indent?: boolean; + type?: number; + typmod?: number; + location?: number; +} +export interface JsonFormat { + format_type?: JsonFormatType; + encoding?: JsonEncoding; + location?: number; +} +export interface JsonReturning { + format?: JsonFormat; + typid?: number; + typmod?: number; +} +export interface JsonValueExpr { + raw_expr?: Node; + formatted_expr?: Node; + format?: JsonFormat; +} +export interface JsonConstructorExpr { + xpr?: Node; + type?: JsonConstructorType; + args?: Node[]; + func?: Node; + coercion?: Node; + returning?: JsonReturning; + absent_on_null?: boolean; + unique?: boolean; + location?: number; +} +export interface JsonIsPredicate { + expr?: Node; + format?: JsonFormat; + item_type?: JsonValueType; + unique_keys?: boolean; + location?: number; +} +export interface NullTest { + xpr?: Node; + arg?: Node; + nulltesttype?: NullTestType; + argisrow?: boolean; + location?: number; +} +export interface BooleanTest { + xpr?: Node; + arg?: Node; + booltesttype?: BoolTestType; + location?: number; +} +export interface CoerceToDomain { + xpr?: Node; + arg?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + coercionformat?: CoercionForm; + location?: number; +} +export interface CoerceToDomainValue { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; + location?: number; +} +export interface SetToDefault { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; + location?: number; +} +export interface CurrentOfExpr { + xpr?: Node; + cvarno?: number; + cursor_name?: string; + cursor_param?: number; +} +export interface NextValueExpr { + xpr?: Node; + seqid?: number; + typeId?: number; +} +export interface InferenceElem { + xpr?: Node; + expr?: Node; + infercollid?: number; + inferopclass?: number; +} +export interface TargetEntry { + xpr?: Node; + expr?: Node; + resno?: number; + resname?: string; + ressortgroupref?: number; + resorigtbl?: number; + resorigcol?: number; + resjunk?: boolean; +} +export interface RangeTblRef { + rtindex?: number; +} +export interface JoinExpr { + jointype?: JoinType; + isNatural?: boolean; + larg?: Node; + rarg?: Node; + usingClause?: Node[]; + join_using_alias?: Alias; + quals?: Node; + alias?: Alias; + rtindex?: number; +} +export interface FromExpr { + fromlist?: Node[]; + quals?: Node; +} +export interface OnConflictExpr { + action?: OnConflictAction; + arbiterElems?: Node[]; + arbiterWhere?: Node; + constraint?: number; + onConflictSet?: Node[]; + onConflictWhere?: Node; + exclRelIndex?: number; + exclRelTlist?: Node[]; +} +export interface Query { + commandType?: CmdType; + querySource?: QuerySource; + canSetTag?: boolean; + utilityStmt?: Node; + resultRelation?: number; + hasAggs?: boolean; + hasWindowFuncs?: boolean; + hasTargetSRFs?: boolean; + hasSubLinks?: boolean; + hasDistinctOn?: boolean; + hasRecursive?: boolean; + hasModifyingCTE?: boolean; + hasForUpdate?: boolean; + hasRowSecurity?: boolean; + isReturn?: boolean; + cteList?: Node[]; + rtable?: Node[]; + rteperminfos?: Node[]; + jointree?: FromExpr; + mergeActionList?: Node[]; + mergeUseOuterJoin?: boolean; + targetList?: Node[]; + override?: OverridingKind; + onConflict?: OnConflictExpr; + returningList?: Node[]; + groupClause?: Node[]; + groupDistinct?: boolean; + groupingSets?: Node[]; + havingQual?: Node; + windowClause?: Node[]; + distinctClause?: Node[]; + sortClause?: Node[]; + limitOffset?: Node; + limitCount?: Node; + limitOption?: LimitOption; + rowMarks?: Node[]; + setOperations?: Node; + constraintDeps?: Node[]; + withCheckOptions?: Node[]; + stmt_location?: number; + stmt_len?: number; +} +export interface TypeName { + names?: Node[]; + typeOid?: number; + setof?: boolean; + pct_type?: boolean; + typmods?: Node[]; + typemod?: number; + arrayBounds?: Node[]; + location?: number; +} +export interface ColumnRef { + fields?: Node[]; + location?: number; +} +export interface ParamRef { + number?: number; + location?: number; +} +export interface A_Expr { + kind?: A_Expr_Kind; + name?: Node[]; + lexpr?: Node; + rexpr?: Node; + location?: number; +} +export interface TypeCast { + arg?: Node; + typeName?: TypeName; + location?: number; +} +export interface CollateClause { + arg?: Node; + collname?: Node[]; + location?: number; +} +export interface RoleSpec { + roletype?: RoleSpecType; + rolename?: string; + location?: number; +} +export interface FuncCall { + funcname?: Node[]; + args?: Node[]; + agg_order?: Node[]; + agg_filter?: Node; + over?: WindowDef; + agg_within_group?: boolean; + agg_star?: boolean; + agg_distinct?: boolean; + func_variadic?: boolean; + funcformat?: CoercionForm; + location?: number; +} +export interface A_Star {} +export interface A_Indices { + is_slice?: boolean; + lidx?: Node; + uidx?: Node; +} +export interface A_Indirection { + arg?: Node; + indirection?: Node[]; +} +export interface A_ArrayExpr { + elements?: Node[]; + location?: number; +} +export interface ResTarget { + name?: string; + indirection?: Node[]; + val?: Node; + location?: number; +} +export interface MultiAssignRef { + source?: Node; + colno?: number; + ncolumns?: number; +} +export interface SortBy { + node?: Node; + sortby_dir?: SortByDir; + sortby_nulls?: SortByNulls; + useOp?: Node[]; + location?: number; +} +export interface WindowDef { + name?: string; + refname?: string; + partitionClause?: Node[]; + orderClause?: Node[]; + frameOptions?: number; + startOffset?: Node; + endOffset?: Node; + location?: number; +} +export interface RangeSubselect { + lateral?: boolean; + subquery?: Node; + alias?: Alias; +} +export interface RangeFunction { + lateral?: boolean; + ordinality?: boolean; + is_rowsfrom?: boolean; + functions?: Node[]; + alias?: Alias; + coldeflist?: Node[]; +} +export interface RangeTableFunc { + lateral?: boolean; + docexpr?: Node; + rowexpr?: Node; + namespaces?: Node[]; + columns?: Node[]; + alias?: Alias; + location?: number; +} +export interface RangeTableFuncCol { + colname?: string; + typeName?: TypeName; + for_ordinality?: boolean; + is_not_null?: boolean; + colexpr?: Node; + coldefexpr?: Node; + location?: number; +} +export interface RangeTableSample { + relation?: Node; + method?: Node[]; + args?: Node[]; + repeatable?: Node; + location?: number; +} +export interface ColumnDef { + colname?: string; + typeName?: TypeName; + compression?: string; + inhcount?: number; + is_local?: boolean; + is_not_null?: boolean; + is_from_type?: boolean; + storage?: string; + storage_name?: string; + raw_default?: Node; + cooked_default?: Node; + identity?: string; + identitySequence?: RangeVar; + generated?: string; + collClause?: CollateClause; + collOid?: number; + constraints?: Node[]; + fdwoptions?: Node[]; + location?: number; +} +export interface TableLikeClause { + relation?: RangeVar; + options?: number; + relationOid?: number; +} +export interface IndexElem { + name?: string; + expr?: Node; + indexcolname?: string; + collation?: Node[]; + opclass?: Node[]; + opclassopts?: Node[]; + ordering?: SortByDir; + nulls_ordering?: SortByNulls; +} +export interface DefElem { + defnamespace?: string; + defname?: string; + arg?: Node; + defaction?: DefElemAction; + location?: number; +} +export interface LockingClause { + lockedRels?: Node[]; + strength?: LockClauseStrength; + waitPolicy?: LockWaitPolicy; +} +export interface XmlSerialize { + xmloption?: XmlOptionType; + expr?: Node; + typeName?: TypeName; + indent?: boolean; + location?: number; +} +export interface PartitionElem { + name?: string; + expr?: Node; + collation?: Node[]; + opclass?: Node[]; + location?: number; +} +export interface PartitionSpec { + strategy?: PartitionStrategy; + partParams?: Node[]; + location?: number; +} +export interface PartitionBoundSpec { + strategy?: string; + is_default?: boolean; + modulus?: number; + remainder?: number; + listdatums?: Node[]; + lowerdatums?: Node[]; + upperdatums?: Node[]; + location?: number; +} +export interface PartitionRangeDatum { + kind?: PartitionRangeDatumKind; + value?: Node; + location?: number; +} +export interface PartitionCmd { + name?: RangeVar; + bound?: PartitionBoundSpec; + concurrent?: boolean; +} +export interface RangeTblEntry { + rtekind?: RTEKind; + relid?: number; + relkind?: string; + rellockmode?: number; + tablesample?: TableSampleClause; + perminfoindex?: number; + subquery?: Query; + security_barrier?: boolean; + jointype?: JoinType; + joinmergedcols?: number; + joinaliasvars?: Node[]; + joinleftcols?: Node[]; + joinrightcols?: Node[]; + join_using_alias?: Alias; + functions?: Node[]; + funcordinality?: boolean; + tablefunc?: TableFunc; + values_lists?: Node[]; + ctename?: string; + ctelevelsup?: number; + self_reference?: boolean; + coltypes?: Node[]; + coltypmods?: Node[]; + colcollations?: Node[]; + enrname?: string; + enrtuples?: number; + alias?: Alias; + eref?: Alias; + lateral?: boolean; + inh?: boolean; + inFromCl?: boolean; + securityQuals?: Node[]; +} +export interface RTEPermissionInfo { + relid?: number; + inh?: boolean; + requiredPerms?: bigint; + checkAsUser?: number; + selectedCols?: bigint[]; + insertedCols?: bigint[]; + updatedCols?: bigint[]; +} +export interface RangeTblFunction { + funcexpr?: Node; + funccolcount?: number; + funccolnames?: Node[]; + funccoltypes?: Node[]; + funccoltypmods?: Node[]; + funccolcollations?: Node[]; + funcparams?: bigint[]; +} +export interface TableSampleClause { + tsmhandler?: number; + args?: Node[]; + repeatable?: Node; +} +export interface WithCheckOption { + kind?: WCOKind; + relname?: string; + polname?: string; + qual?: Node; + cascaded?: boolean; +} +export interface SortGroupClause { + tleSortGroupRef?: number; + eqop?: number; + sortop?: number; + nulls_first?: boolean; + hashable?: boolean; +} +export interface GroupingSet { + kind?: GroupingSetKind; + content?: Node[]; + location?: number; +} +export interface WindowClause { + name?: string; + refname?: string; + partitionClause?: Node[]; + orderClause?: Node[]; + frameOptions?: number; + startOffset?: Node; + endOffset?: Node; + runCondition?: Node[]; + startInRangeFunc?: number; + endInRangeFunc?: number; + inRangeColl?: number; + inRangeAsc?: boolean; + inRangeNullsFirst?: boolean; + winref?: number; + copiedOrder?: boolean; +} +export interface RowMarkClause { + rti?: number; + strength?: LockClauseStrength; + waitPolicy?: LockWaitPolicy; + pushedDown?: boolean; +} +export interface WithClause { + ctes?: Node[]; + recursive?: boolean; + location?: number; +} +export interface InferClause { + indexElems?: Node[]; + whereClause?: Node; + conname?: string; + location?: number; +} +export interface OnConflictClause { + action?: OnConflictAction; + infer?: InferClause; + targetList?: Node[]; + whereClause?: Node; + location?: number; +} +export interface CTESearchClause { + search_col_list?: Node[]; + search_breadth_first?: boolean; + search_seq_column?: string; + location?: number; +} +export interface CTECycleClause { + cycle_col_list?: Node[]; + cycle_mark_column?: string; + cycle_mark_value?: Node; + cycle_mark_default?: Node; + cycle_path_column?: string; + location?: number; + cycle_mark_type?: number; + cycle_mark_typmod?: number; + cycle_mark_collation?: number; + cycle_mark_neop?: number; +} +export interface CommonTableExpr { + ctename?: string; + aliascolnames?: Node[]; + ctematerialized?: CTEMaterialize; + ctequery?: Node; + search_clause?: CTESearchClause; + cycle_clause?: CTECycleClause; + location?: number; + cterecursive?: boolean; + cterefcount?: number; + ctecolnames?: Node[]; + ctecoltypes?: Node[]; + ctecoltypmods?: Node[]; + ctecolcollations?: Node[]; +} +export interface MergeWhenClause { + matched?: boolean; + commandType?: CmdType; + override?: OverridingKind; + condition?: Node; + targetList?: Node[]; + values?: Node[]; +} +export interface MergeAction { + matched?: boolean; + commandType?: CmdType; + override?: OverridingKind; + qual?: Node; + targetList?: Node[]; + updateColnos?: Node[]; +} +export interface TriggerTransition { + name?: string; + isNew?: boolean; + isTable?: boolean; +} +export interface JsonOutput { + typeName?: TypeName; + returning?: JsonReturning; +} +export interface JsonKeyValue { + key?: Node; + value?: JsonValueExpr; +} +export interface JsonObjectConstructor { + exprs?: Node[]; + output?: JsonOutput; + absent_on_null?: boolean; + unique?: boolean; + location?: number; +} +export interface JsonArrayConstructor { + exprs?: Node[]; + output?: JsonOutput; + absent_on_null?: boolean; + location?: number; +} +export interface JsonArrayQueryConstructor { + query?: Node; + output?: JsonOutput; + format?: JsonFormat; + absent_on_null?: boolean; + location?: number; +} +export interface JsonAggConstructor { + output?: JsonOutput; + agg_filter?: Node; + agg_order?: Node[]; + over?: WindowDef; + location?: number; +} +export interface JsonObjectAgg { + constructor?: JsonAggConstructor; + arg?: JsonKeyValue; + absent_on_null?: boolean; + unique?: boolean; +} +export interface JsonArrayAgg { + constructor?: JsonAggConstructor; + arg?: JsonValueExpr; + absent_on_null?: boolean; +} +export interface RawStmt { + stmt?: Node; + stmt_location?: number; + stmt_len?: number; +} +export interface InsertStmt { + relation?: RangeVar; + cols?: Node[]; + selectStmt?: Node; + onConflictClause?: OnConflictClause; + returningList?: Node[]; + withClause?: WithClause; + override?: OverridingKind; +} +export interface DeleteStmt { + relation?: RangeVar; + usingClause?: Node[]; + whereClause?: Node; + returningList?: Node[]; + withClause?: WithClause; +} +export interface UpdateStmt { + relation?: RangeVar; + targetList?: Node[]; + whereClause?: Node; + fromClause?: Node[]; + returningList?: Node[]; + withClause?: WithClause; +} +export interface MergeStmt { + relation?: RangeVar; + sourceRelation?: Node; + joinCondition?: Node; + mergeWhenClauses?: Node[]; + withClause?: WithClause; +} +export interface SelectStmt { + distinctClause?: Node[]; + intoClause?: IntoClause; + targetList?: Node[]; + fromClause?: Node[]; + whereClause?: Node; + groupClause?: Node[]; + groupDistinct?: boolean; + havingClause?: Node; + windowClause?: Node[]; + valuesLists?: Node[]; + sortClause?: Node[]; + limitOffset?: Node; + limitCount?: Node; + limitOption?: LimitOption; + lockingClause?: Node[]; + withClause?: WithClause; + op?: SetOperation; + all?: boolean; + larg?: SelectStmt; + rarg?: SelectStmt; +} +export interface SetOperationStmt { + op?: SetOperation; + all?: boolean; + larg?: Node; + rarg?: Node; + colTypes?: Node[]; + colTypmods?: Node[]; + colCollations?: Node[]; + groupClauses?: Node[]; +} +export interface ReturnStmt { + returnval?: Node; +} +export interface PLAssignStmt { + name?: string; + indirection?: Node[]; + nnames?: number; + val?: SelectStmt; + location?: number; +} +export interface CreateSchemaStmt { + schemaname?: string; + authrole?: RoleSpec; + schemaElts?: Node[]; + if_not_exists?: boolean; +} +export interface AlterTableStmt { + relation?: RangeVar; + cmds?: Node[]; + objtype?: ObjectType; + missing_ok?: boolean; +} +export interface ReplicaIdentityStmt { + identity_type?: string; + name?: string; +} +export interface AlterTableCmd { + subtype?: AlterTableType; + name?: string; + num?: number; + newowner?: RoleSpec; + def?: Node; + behavior?: DropBehavior; + missing_ok?: boolean; + recurse?: boolean; +} +export interface AlterCollationStmt { + collname?: Node[]; +} +export interface AlterDomainStmt { + subtype?: string; + typeName?: Node[]; + name?: string; + def?: Node; + behavior?: DropBehavior; + missing_ok?: boolean; +} +export interface GrantStmt { + is_grant?: boolean; + targtype?: GrantTargetType; + objtype?: ObjectType; + objects?: Node[]; + privileges?: Node[]; + grantees?: Node[]; + grant_option?: boolean; + grantor?: RoleSpec; + behavior?: DropBehavior; +} +export interface ObjectWithArgs { + objname?: Node[]; + objargs?: Node[]; + objfuncargs?: Node[]; + args_unspecified?: boolean; +} +export interface AccessPriv { + priv_name?: string; + cols?: Node[]; +} +export interface GrantRoleStmt { + granted_roles?: Node[]; + grantee_roles?: Node[]; + is_grant?: boolean; + opt?: Node[]; + grantor?: RoleSpec; + behavior?: DropBehavior; +} +export interface AlterDefaultPrivilegesStmt { + options?: Node[]; + action?: GrantStmt; +} +export interface CopyStmt { + relation?: RangeVar; + query?: Node; + attlist?: Node[]; + is_from?: boolean; + is_program?: boolean; + filename?: string; + options?: Node[]; + whereClause?: Node; +} +export interface VariableSetStmt { + kind?: VariableSetKind; + name?: string; + args?: Node[]; + is_local?: boolean; +} +export interface VariableShowStmt { + name?: string; +} +export interface CreateStmt { + relation?: RangeVar; + tableElts?: Node[]; + inhRelations?: Node[]; + partbound?: PartitionBoundSpec; + partspec?: PartitionSpec; + ofTypename?: TypeName; + constraints?: Node[]; + options?: Node[]; + oncommit?: OnCommitAction; + tablespacename?: string; + accessMethod?: string; + if_not_exists?: boolean; +} +export interface Constraint { + contype?: ConstrType; + conname?: string; + deferrable?: boolean; + initdeferred?: boolean; + location?: number; + is_no_inherit?: boolean; + raw_expr?: Node; + cooked_expr?: string; + generated_when?: string; + nulls_not_distinct?: boolean; + keys?: Node[]; + including?: Node[]; + exclusions?: Node[]; + options?: Node[]; + indexname?: string; + indexspace?: string; + reset_default_tblspc?: boolean; + access_method?: string; + where_clause?: Node; + pktable?: RangeVar; + fk_attrs?: Node[]; + pk_attrs?: Node[]; + fk_matchtype?: string; + fk_upd_action?: string; + fk_del_action?: string; + fk_del_set_cols?: Node[]; + old_conpfeqop?: Node[]; + old_pktable_oid?: number; + skip_validation?: boolean; + initially_valid?: boolean; +} +export interface CreateTableSpaceStmt { + tablespacename?: string; + owner?: RoleSpec; + location?: string; + options?: Node[]; +} +export interface DropTableSpaceStmt { + tablespacename?: string; + missing_ok?: boolean; +} +export interface AlterTableSpaceOptionsStmt { + tablespacename?: string; + options?: Node[]; + isReset?: boolean; +} +export interface AlterTableMoveAllStmt { + orig_tablespacename?: string; + objtype?: ObjectType; + roles?: Node[]; + new_tablespacename?: string; + nowait?: boolean; +} +export interface CreateExtensionStmt { + extname?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterExtensionStmt { + extname?: string; + options?: Node[]; +} +export interface AlterExtensionContentsStmt { + extname?: string; + action?: number; + objtype?: ObjectType; + object?: Node; +} +export interface CreateFdwStmt { + fdwname?: string; + func_options?: Node[]; + options?: Node[]; +} +export interface AlterFdwStmt { + fdwname?: string; + func_options?: Node[]; + options?: Node[]; +} +export interface CreateForeignServerStmt { + servername?: string; + servertype?: string; + version?: string; + fdwname?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterForeignServerStmt { + servername?: string; + version?: string; + options?: Node[]; + has_version?: boolean; +} +export interface CreateForeignTableStmt { + base?: CreateStmt; + servername?: string; + options?: Node[]; +} +export interface CreateUserMappingStmt { + user?: RoleSpec; + servername?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterUserMappingStmt { + user?: RoleSpec; + servername?: string; + options?: Node[]; +} +export interface DropUserMappingStmt { + user?: RoleSpec; + servername?: string; + missing_ok?: boolean; +} +export interface ImportForeignSchemaStmt { + server_name?: string; + remote_schema?: string; + local_schema?: string; + list_type?: ImportForeignSchemaType; + table_list?: Node[]; + options?: Node[]; +} +export interface CreatePolicyStmt { + policy_name?: string; + table?: RangeVar; + cmd_name?: string; + permissive?: boolean; + roles?: Node[]; + qual?: Node; + with_check?: Node; +} +export interface AlterPolicyStmt { + policy_name?: string; + table?: RangeVar; + roles?: Node[]; + qual?: Node; + with_check?: Node; +} +export interface CreateAmStmt { + amname?: string; + handler_name?: Node[]; + amtype?: string; +} +export interface CreateTrigStmt { + replace?: boolean; + isconstraint?: boolean; + trigname?: string; + relation?: RangeVar; + funcname?: Node[]; + args?: Node[]; + row?: boolean; + timing?: number; + events?: number; + columns?: Node[]; + whenClause?: Node; + transitionRels?: Node[]; + deferrable?: boolean; + initdeferred?: boolean; + constrrel?: RangeVar; +} +export interface CreateEventTrigStmt { + trigname?: string; + eventname?: string; + whenclause?: Node[]; + funcname?: Node[]; +} +export interface AlterEventTrigStmt { + trigname?: string; + tgenabled?: string; +} +export interface CreatePLangStmt { + replace?: boolean; + plname?: string; + plhandler?: Node[]; + plinline?: Node[]; + plvalidator?: Node[]; + pltrusted?: boolean; +} +export interface CreateRoleStmt { + stmt_type?: RoleStmtType; + role?: string; + options?: Node[]; +} +export interface AlterRoleStmt { + role?: RoleSpec; + options?: Node[]; + action?: number; +} +export interface AlterRoleSetStmt { + role?: RoleSpec; + database?: string; + setstmt?: VariableSetStmt; +} +export interface DropRoleStmt { + roles?: Node[]; + missing_ok?: boolean; +} +export interface CreateSeqStmt { + sequence?: RangeVar; + options?: Node[]; + ownerId?: number; + for_identity?: boolean; + if_not_exists?: boolean; +} +export interface AlterSeqStmt { + sequence?: RangeVar; + options?: Node[]; + for_identity?: boolean; + missing_ok?: boolean; +} +export interface DefineStmt { + kind?: ObjectType; + oldstyle?: boolean; + defnames?: Node[]; + args?: Node[]; + definition?: Node[]; + if_not_exists?: boolean; + replace?: boolean; +} +export interface CreateDomainStmt { + domainname?: Node[]; + typeName?: TypeName; + collClause?: CollateClause; + constraints?: Node[]; +} +export interface CreateOpClassStmt { + opclassname?: Node[]; + opfamilyname?: Node[]; + amname?: string; + datatype?: TypeName; + items?: Node[]; + isDefault?: boolean; +} +export interface CreateOpClassItem { + itemtype?: number; + name?: ObjectWithArgs; + number?: number; + order_family?: Node[]; + class_args?: Node[]; + storedtype?: TypeName; +} +export interface CreateOpFamilyStmt { + opfamilyname?: Node[]; + amname?: string; +} +export interface AlterOpFamilyStmt { + opfamilyname?: Node[]; + amname?: string; + isDrop?: boolean; + items?: Node[]; +} +export interface DropStmt { + objects?: Node[]; + removeType?: ObjectType; + behavior?: DropBehavior; + missing_ok?: boolean; + concurrent?: boolean; +} +export interface TruncateStmt { + relations?: Node[]; + restart_seqs?: boolean; + behavior?: DropBehavior; +} +export interface CommentStmt { + objtype?: ObjectType; + object?: Node; + comment?: string; +} +export interface SecLabelStmt { + objtype?: ObjectType; + object?: Node; + provider?: string; + label?: string; +} +export interface DeclareCursorStmt { + portalname?: string; + options?: number; + query?: Node; +} +export interface ClosePortalStmt { + portalname?: string; +} +export interface FetchStmt { + direction?: FetchDirection; + howMany?: bigint; + portalname?: string; + ismove?: boolean; +} +export interface IndexStmt { + idxname?: string; + relation?: RangeVar; + accessMethod?: string; + tableSpace?: string; + indexParams?: Node[]; + indexIncludingParams?: Node[]; + options?: Node[]; + whereClause?: Node; + excludeOpNames?: Node[]; + idxcomment?: string; + indexOid?: number; + oldNumber?: number; + oldCreateSubid?: number; + oldFirstRelfilelocatorSubid?: number; + unique?: boolean; + nulls_not_distinct?: boolean; + primary?: boolean; + isconstraint?: boolean; + deferrable?: boolean; + initdeferred?: boolean; + transformed?: boolean; + concurrent?: boolean; + if_not_exists?: boolean; + reset_default_tblspc?: boolean; +} +export interface CreateStatsStmt { + defnames?: Node[]; + stat_types?: Node[]; + exprs?: Node[]; + relations?: Node[]; + stxcomment?: string; + transformed?: boolean; + if_not_exists?: boolean; +} +export interface StatsElem { + name?: string; + expr?: Node; +} +export interface AlterStatsStmt { + defnames?: Node[]; + stxstattarget?: number; + missing_ok?: boolean; +} +export interface CreateFunctionStmt { + is_procedure?: boolean; + replace?: boolean; + funcname?: Node[]; + parameters?: Node[]; + returnType?: TypeName; + options?: Node[]; + sql_body?: Node; +} +export interface FunctionParameter { + name?: string; + argType?: TypeName; + mode?: FunctionParameterMode; + defexpr?: Node; +} +export interface AlterFunctionStmt { + objtype?: ObjectType; + func?: ObjectWithArgs; + actions?: Node[]; +} +export interface DoStmt { + args?: Node[]; +} +export interface InlineCodeBlock { + source_text?: string; + langOid?: number; + langIsTrusted?: boolean; + atomic?: boolean; +} +export interface CallStmt { + funccall?: FuncCall; + funcexpr?: FuncExpr; + outargs?: Node[]; +} +export interface CallContext { + atomic?: boolean; +} +export interface RenameStmt { + renameType?: ObjectType; + relationType?: ObjectType; + relation?: RangeVar; + object?: Node; + subname?: string; + newname?: string; + behavior?: DropBehavior; + missing_ok?: boolean; +} +export interface AlterObjectDependsStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + extname?: String; + remove?: boolean; +} +export interface AlterObjectSchemaStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + newschema?: string; + missing_ok?: boolean; +} +export interface AlterOwnerStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + newowner?: RoleSpec; +} +export interface AlterOperatorStmt { + opername?: ObjectWithArgs; + options?: Node[]; +} +export interface AlterTypeStmt { + typeName?: Node[]; + options?: Node[]; +} +export interface RuleStmt { + relation?: RangeVar; + rulename?: string; + whereClause?: Node; + event?: CmdType; + instead?: boolean; + actions?: Node[]; + replace?: boolean; +} +export interface NotifyStmt { + conditionname?: string; + payload?: string; +} +export interface ListenStmt { + conditionname?: string; +} +export interface UnlistenStmt { + conditionname?: string; +} +export interface TransactionStmt { + kind?: TransactionStmtKind; + options?: Node[]; + savepoint_name?: string; + gid?: string; + chain?: boolean; +} +export interface CompositeTypeStmt { + typevar?: RangeVar; + coldeflist?: Node[]; +} +export interface CreateEnumStmt { + typeName?: Node[]; + vals?: Node[]; +} +export interface CreateRangeStmt { + typeName?: Node[]; + params?: Node[]; +} +export interface AlterEnumStmt { + typeName?: Node[]; + oldVal?: string; + newVal?: string; + newValNeighbor?: string; + newValIsAfter?: boolean; + skipIfNewValExists?: boolean; +} +export interface ViewStmt { + view?: RangeVar; + aliases?: Node[]; + query?: Node; + replace?: boolean; + options?: Node[]; + withCheckOption?: ViewCheckOption; +} +export interface LoadStmt { + filename?: string; +} +export interface CreatedbStmt { + dbname?: string; + options?: Node[]; +} +export interface AlterDatabaseStmt { + dbname?: string; + options?: Node[]; +} +export interface AlterDatabaseRefreshCollStmt { + dbname?: string; +} +export interface AlterDatabaseSetStmt { + dbname?: string; + setstmt?: VariableSetStmt; +} +export interface DropdbStmt { + dbname?: string; + missing_ok?: boolean; + options?: Node[]; +} +export interface AlterSystemStmt { + setstmt?: VariableSetStmt; +} +export interface ClusterStmt { + relation?: RangeVar; + indexname?: string; + params?: Node[]; +} +export interface VacuumStmt { + options?: Node[]; + rels?: Node[]; + is_vacuumcmd?: boolean; +} +export interface VacuumRelation { + relation?: RangeVar; + oid?: number; + va_cols?: Node[]; +} +export interface ExplainStmt { + query?: Node; + options?: Node[]; +} +export interface CreateTableAsStmt { + query?: Node; + into?: IntoClause; + objtype?: ObjectType; + is_select_into?: boolean; + if_not_exists?: boolean; +} +export interface RefreshMatViewStmt { + concurrent?: boolean; + skipData?: boolean; + relation?: RangeVar; +} +export interface CheckPointStmt {} +export interface DiscardStmt { + target?: DiscardMode; +} +export interface LockStmt { + relations?: Node[]; + mode?: number; + nowait?: boolean; +} +export interface ConstraintsSetStmt { + constraints?: Node[]; + deferred?: boolean; +} +export interface ReindexStmt { + kind?: ReindexObjectType; + relation?: RangeVar; + name?: string; + params?: Node[]; +} +export interface CreateConversionStmt { + conversion_name?: Node[]; + for_encoding_name?: string; + to_encoding_name?: string; + func_name?: Node[]; + def?: boolean; +} +export interface CreateCastStmt { + sourcetype?: TypeName; + targettype?: TypeName; + func?: ObjectWithArgs; + context?: CoercionContext; + inout?: boolean; +} +export interface CreateTransformStmt { + replace?: boolean; + type_name?: TypeName; + lang?: string; + fromsql?: ObjectWithArgs; + tosql?: ObjectWithArgs; +} +export interface PrepareStmt { + name?: string; + argtypes?: Node[]; + query?: Node; +} +export interface ExecuteStmt { + name?: string; + params?: Node[]; +} +export interface DeallocateStmt { + name?: string; +} +export interface DropOwnedStmt { + roles?: Node[]; + behavior?: DropBehavior; +} +export interface ReassignOwnedStmt { + roles?: Node[]; + newrole?: RoleSpec; +} +export interface AlterTSDictionaryStmt { + dictname?: Node[]; + options?: Node[]; +} +export interface AlterTSConfigurationStmt { + kind?: AlterTSConfigType; + cfgname?: Node[]; + tokentype?: Node[]; + dicts?: Node[]; + override?: boolean; + replace?: boolean; + missing_ok?: boolean; +} +export interface PublicationTable { + relation?: RangeVar; + whereClause?: Node; + columns?: Node[]; +} +export interface PublicationObjSpec { + pubobjtype?: PublicationObjSpecType; + name?: string; + pubtable?: PublicationTable; + location?: number; +} +export interface CreatePublicationStmt { + pubname?: string; + options?: Node[]; + pubobjects?: Node[]; + for_all_tables?: boolean; +} +export interface AlterPublicationStmt { + pubname?: string; + options?: Node[]; + pubobjects?: Node[]; + for_all_tables?: boolean; + action?: AlterPublicationAction; +} +export interface CreateSubscriptionStmt { + subname?: string; + conninfo?: string; + publication?: Node[]; + options?: Node[]; +} +export interface AlterSubscriptionStmt { + kind?: AlterSubscriptionType; + subname?: string; + conninfo?: string; + publication?: Node[]; + options?: Node[]; +} +export interface DropSubscriptionStmt { + subname?: string; + missing_ok?: boolean; + behavior?: DropBehavior; +} +export interface ScanToken { + ScanToken: { + start?: number; + end?: number; + token?: Token; + keywordKind?: KeywordKind; + }; +} \ No newline at end of file diff --git a/__fixtures__/output/runtime-schema/json/custom-filename/custom-node-specs.json b/__fixtures__/output/runtime-schema/json/custom-filename/custom-node-specs.json new file mode 100644 index 0000000..e862af1 --- /dev/null +++ b/__fixtures__/output/runtime-schema/json/custom-filename/custom-node-specs.json @@ -0,0 +1,10637 @@ +[ + { + "name": "A_ArrayExpr", + "wrapped": true, + "fields": [ + { + "name": "elements", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Const", + "wrapped": true, + "fields": [ + { + "name": "boolval", + "type": "Boolean", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "bsval", + "type": "BitString", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fval", + "type": "Float", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isnull", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ival", + "type": "Integer", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sval", + "type": "String", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Expr", + "wrapped": true, + "fields": [ + { + "name": "kind", + "type": "A_Expr_Kind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Indices", + "wrapped": true, + "fields": [ + { + "name": "is_slice", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lidx", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "uidx", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Indirection", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "indirection", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "A_Star", + "wrapped": true, + "fields": [] + }, + { + "name": "AccessPriv", + "wrapped": true, + "fields": [ + { + "name": "cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "priv_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Aggref", + "wrapped": true, + "fields": [ + { + "name": "aggargtypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggdirectargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggdistinct", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggfilter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "aggfnoid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggkind", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "agglevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggorder", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggsplit", + "type": "AggSplit", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggstar", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggtransno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggvariadic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Alias", + "wrapped": true, + "fields": [ + { + "name": "aliasname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterCollationStmt", + "wrapped": true, + "fields": [ + { + "name": "collname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterDatabaseRefreshCollStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterDatabaseSetStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "setstmt", + "type": "VariableSetStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterDatabaseStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterDefaultPrivilegesStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "GrantStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterDomainStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "def", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subtype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterEnumStmt", + "wrapped": true, + "fields": [ + { + "name": "newVal", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newValIsAfter", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newValNeighbor", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldVal", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "skipIfNewValExists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterEventTrigStmt", + "wrapped": true, + "fields": [ + { + "name": "tgenabled", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "trigname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterExtensionContentsStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "extname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterExtensionStmt", + "wrapped": true, + "fields": [ + { + "name": "extname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterFdwStmt", + "wrapped": true, + "fields": [ + { + "name": "fdwname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func_options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterForeignServerStmt", + "wrapped": true, + "fields": [ + { + "name": "has_version", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "version", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterFunctionStmt", + "wrapped": true, + "fields": [ + { + "name": "actions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "func", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlternativeSubPlan", + "wrapped": true, + "fields": [ + { + "name": "subplans", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterObjectDependsStmt", + "wrapped": true, + "fields": [ + { + "name": "extname", + "type": "String", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objectType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "remove", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterObjectSchemaStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newschema", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objectType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterOperatorStmt", + "wrapped": true, + "fields": [ + { + "name": "opername", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterOpFamilyStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isDrop", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opfamilyname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterOwnerStmt", + "wrapped": true, + "fields": [ + { + "name": "newowner", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objectType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterPolicyStmt", + "wrapped": true, + "fields": [ + { + "name": "policy_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "table", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "with_check", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterPublicationStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "AlterPublicationAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "for_all_tables", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pubname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubobjects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterRoleSetStmt", + "wrapped": true, + "fields": [ + { + "name": "database", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "role", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "setstmt", + "type": "VariableSetStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "role", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterSeqStmt", + "wrapped": true, + "fields": [ + { + "name": "for_identity", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "sequence", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterStatsStmt", + "wrapped": true, + "fields": [ + { + "name": "defnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stxstattarget", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterSubscriptionStmt", + "wrapped": true, + "fields": [ + { + "name": "conninfo", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "AlterSubscriptionType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "publication", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterSystemStmt", + "wrapped": true, + "fields": [ + { + "name": "setstmt", + "type": "VariableSetStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTableCmd", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "def", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newowner", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "num", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "recurse", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subtype", + "type": "AlterTableType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTableMoveAllStmt", + "wrapped": true, + "fields": [ + { + "name": "new_tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nowait", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "orig_tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterTableSpaceOptionsStmt", + "wrapped": true, + "fields": [ + { + "name": "isReset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTableStmt", + "wrapped": true, + "fields": [ + { + "name": "cmds", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTSConfigurationStmt", + "wrapped": true, + "fields": [ + { + "name": "cfgname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "dicts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "kind", + "type": "AlterTSConfigType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tokentype", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterTSDictionaryStmt", + "wrapped": true, + "fields": [ + { + "name": "dictname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterTypeStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterUserMappingStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "user", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ArrayCoerceExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coerceformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "elemexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ArrayExpr", + "wrapped": true, + "fields": [ + { + "name": "array_collid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "array_typeid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "element_typeid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "elements", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "multidims", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "BitString", + "wrapped": true, + "fields": [ + { + "name": "bsval", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Boolean", + "wrapped": true, + "fields": [ + { + "name": "boolval", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "BooleanTest", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "booltesttype", + "type": "BoolTestType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "BoolExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "boolop", + "type": "BoolExprType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CallContext", + "wrapped": true, + "fields": [ + { + "name": "atomic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CallStmt", + "wrapped": true, + "fields": [ + { + "name": "funccall", + "type": "FuncCall", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "funcexpr", + "type": "FuncExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "outargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CaseExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "casecollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "casetype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "defresult", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CaseTestExpr", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeMod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CaseWhen", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "result", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CheckPointStmt", + "wrapped": true, + "fields": [] + }, + { + "name": "ClosePortalStmt", + "wrapped": true, + "fields": [ + { + "name": "portalname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ClusterStmt", + "wrapped": true, + "fields": [ + { + "name": "indexname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoalesceExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coalescecollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "coalescetype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoerceToDomain", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coercionformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoerceToDomainValue", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeMod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoerceViaIO", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coerceformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CollateClause", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "collname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CollateExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "collOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ColumnDef", + "wrapped": true, + "fields": [ + { + "name": "collClause", + "type": "CollateClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "collOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "compression", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "cooked_default", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fdwoptions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "generated", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "identity", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "identitySequence", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "inhcount", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_from_type", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_local", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_not_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "raw_default", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "storage", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "storage_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ColumnRef", + "wrapped": true, + "fields": [ + { + "name": "fields", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CommentStmt", + "wrapped": true, + "fields": [ + { + "name": "comment", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CommonTableExpr", + "wrapped": true, + "fields": [ + { + "name": "aliascolnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecolcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecolnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecoltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecoltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctematerialized", + "type": "CTEMaterialize", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ctename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ctequery", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "cterecursive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cterefcount", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_clause", + "type": "CTECycleClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "search_clause", + "type": "CTESearchClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CompositeTypeStmt", + "wrapped": true, + "fields": [ + { + "name": "coldeflist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typevar", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Constraint", + "wrapped": true, + "fields": [ + { + "name": "access_method", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "conname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "contype", + "type": "ConstrType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cooked_expr", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "deferrable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exclusions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fk_attrs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fk_del_action", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "fk_del_set_cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fk_matchtype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "fk_upd_action", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "generated_when", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "including", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "indexname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexspace", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "initdeferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "initially_valid", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_no_inherit", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "keys", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_not_distinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "old_conpfeqop", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "old_pktable_oid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pk_attrs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pktable", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "raw_expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "reset_default_tblspc", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "skip_validation", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "where_clause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ConstraintsSetStmt", + "wrapped": true, + "fields": [ + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "deferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ConvertRowtypeExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "convertformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CopyStmt", + "wrapped": true, + "fields": [ + { + "name": "attlist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "filename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_from", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_program", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateAmStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "amtype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "handler_name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateCastStmt", + "wrapped": true, + "fields": [ + { + "name": "context", + "type": "CoercionContext", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "inout", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sourcetype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "targettype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateConversionStmt", + "wrapped": true, + "fields": [ + { + "name": "conversion_name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "def", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "for_encoding_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func_name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "to_encoding_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreatedbStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateDomainStmt", + "wrapped": true, + "fields": [ + { + "name": "collClause", + "type": "CollateClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "domainname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateEnumStmt", + "wrapped": true, + "fields": [ + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "vals", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateEventTrigStmt", + "wrapped": true, + "fields": [ + { + "name": "eventname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "trigname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whenclause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateExtensionStmt", + "wrapped": true, + "fields": [ + { + "name": "extname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateFdwStmt", + "wrapped": true, + "fields": [ + { + "name": "fdwname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func_options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateForeignServerStmt", + "wrapped": true, + "fields": [ + { + "name": "fdwname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "servertype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "version", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateForeignTableStmt", + "wrapped": true, + "fields": [ + { + "name": "base", + "type": "CreateStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateFunctionStmt", + "wrapped": true, + "fields": [ + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "is_procedure", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "parameters", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "returnType", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sql_body", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateOpClassItem", + "wrapped": true, + "fields": [ + { + "name": "class_args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "itemtype", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "number", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "order_family", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "storedtype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateOpClassStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "datatype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isDefault", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opclassname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opfamilyname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateOpFamilyStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opfamilyname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreatePLangStmt", + "wrapped": true, + "fields": [ + { + "name": "plhandler", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "plinline", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "plname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pltrusted", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "plvalidator", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreatePolicyStmt", + "wrapped": true, + "fields": [ + { + "name": "cmd_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "permissive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "policy_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "table", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "with_check", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreatePublicationStmt", + "wrapped": true, + "fields": [ + { + "name": "for_all_tables", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pubname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubobjects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateRangeStmt", + "wrapped": true, + "fields": [ + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "role", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stmt_type", + "type": "RoleStmtType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateSchemaStmt", + "wrapped": true, + "fields": [ + { + "name": "authrole", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "schemaElts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "schemaname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateSeqStmt", + "wrapped": true, + "fields": [ + { + "name": "for_identity", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ownerId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sequence", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateStatsStmt", + "wrapped": true, + "fields": [ + { + "name": "defnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "exprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "stat_types", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "stxcomment", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "transformed", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateStmt", + "wrapped": true, + "fields": [ + { + "name": "accessMethod", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inhRelations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ofTypename", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "oncommit", + "type": "OnCommitAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "partbound", + "type": "PartitionBoundSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "partspec", + "type": "PartitionSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tableElts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateSubscriptionStmt", + "wrapped": true, + "fields": [ + { + "name": "conninfo", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "publication", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTableAsStmt", + "wrapped": true, + "fields": [ + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "into", + "type": "IntoClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "is_select_into", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTableSpaceStmt", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "owner", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTransformStmt", + "wrapped": true, + "fields": [ + { + "name": "fromsql", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "lang", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tosql", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "type_name", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTrigStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "columns", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "constrrel", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "deferrable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "events", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "initdeferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isconstraint", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "row", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "timing", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "transitionRels", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "trigname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whenClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateUserMappingStmt", + "wrapped": true, + "fields": [ + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "user", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CTECycleClause", + "wrapped": true, + "fields": [ + { + "name": "cycle_col_list", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "cycle_mark_collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_column", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_default", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_neop", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_type", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_value", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "cycle_path_column", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CTESearchClause", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "search_breadth_first", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "search_col_list", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "search_seq_column", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CurrentOfExpr", + "wrapped": true, + "fields": [ + { + "name": "cursor_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cursor_param", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cvarno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DeallocateStmt", + "wrapped": true, + "fields": [ + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DeclareCursorStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "portalname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DefElem", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "defaction", + "type": "DefElemAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "defname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "defnamespace", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DefineStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "definition", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "defnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldstyle", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DeleteStmt", + "wrapped": true, + "fields": [ + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "usingClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DiscardStmt", + "wrapped": true, + "fields": [ + { + "name": "target", + "type": "DiscardMode", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DistinctExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DoStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropdbStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropOwnedStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "removeType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DropSubscriptionStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DropTableSpaceStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DropUserMappingStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "user", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ExecuteStmt", + "wrapped": true, + "fields": [ + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "ExplainStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FetchStmt", + "wrapped": true, + "fields": [ + { + "name": "direction", + "type": "FetchDirection", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "howMany", + "type": "int64", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ismove", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "portalname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FieldSelect", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fieldnum", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FieldStore", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fieldnums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "newvals", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Float", + "wrapped": true, + "fields": [ + { + "name": "fval", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FromExpr", + "wrapped": true, + "fields": [ + { + "name": "fromlist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "quals", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FuncCall", + "wrapped": true, + "fields": [ + { + "name": "agg_distinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "agg_filter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "agg_order", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "agg_star", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "agg_within_group", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "func_variadic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "over", + "type": "WindowDef", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FuncExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcvariadic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FunctionParameter", + "wrapped": true, + "fields": [ + { + "name": "argType", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "defexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "mode", + "type": "FunctionParameterMode", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "GrantRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "granted_roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "grantee_roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "grantor", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "is_grant", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opt", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "GrantStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "grant_option", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "grantees", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "grantor", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "is_grant", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "privileges", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "targtype", + "type": "GrantTargetType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "GroupingFunc", + "wrapped": true, + "fields": [ + { + "name": "agglevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "GroupingSet", + "wrapped": true, + "fields": [ + { + "name": "content", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "kind", + "type": "GroupingSetKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ImportForeignSchemaStmt", + "wrapped": true, + "fields": [ + { + "name": "list_type", + "type": "ImportForeignSchemaType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "local_schema", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "remote_schema", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "server_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "table_list", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "IndexElem", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "indexcolname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_ordering", + "type": "SortByNulls", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opclass", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opclassopts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ordering", + "type": "SortByDir", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "IndexStmt", + "wrapped": true, + "fields": [ + { + "name": "accessMethod", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "deferrable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "excludeOpNames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "idxcomment", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "idxname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexIncludingParams", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "indexOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexParams", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "initdeferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isconstraint", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_not_distinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldCreateSubid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldFirstRelfilelocatorSubid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldNumber", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "primary", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "reset_default_tblspc", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tableSpace", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "transformed", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InferClause", + "wrapped": true, + "fields": [ + { + "name": "conname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexElems", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InferenceElem", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "infercollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inferopclass", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InlineCodeBlock", + "wrapped": true, + "fields": [ + { + "name": "atomic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "langIsTrusted", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "langOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "source_text", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InsertStmt", + "wrapped": true, + "fields": [ + { + "name": "cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onConflictClause", + "type": "OnConflictClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "selectStmt", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Integer", + "wrapped": true, + "fields": [ + { + "name": "ival", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "IntList", + "wrapped": true, + "fields": [ + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "IntoClause", + "wrapped": true, + "fields": [ + { + "name": "accessMethod", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colNames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onCommit", + "type": "OnCommitAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rel", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "skipData", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tableSpaceName", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "viewQuery", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JoinExpr", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isNatural", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "join_using_alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "jointype", + "type": "JoinType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "larg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "quals", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "rarg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "rtindex", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "usingClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "JsonAggConstructor", + "wrapped": true, + "fields": [ + { + "name": "agg_filter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "agg_order", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "over", + "type": "WindowDef", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonArrayAgg", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "arg", + "type": "JsonValueExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constructor", + "type": "JsonAggConstructor", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonArrayConstructor", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonArrayQueryConstructor", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonConstructorExpr", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coercion", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "func", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "returning", + "type": "JsonReturning", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "type", + "type": "JsonConstructorType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonFormat", + "wrapped": true, + "fields": [ + { + "name": "encoding", + "type": "JsonEncoding", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "format_type", + "type": "JsonFormatType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonIsPredicate", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "item_type", + "type": "JsonValueType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "unique_keys", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonKeyValue", + "wrapped": true, + "fields": [ + { + "name": "key", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "value", + "type": "JsonValueExpr", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonObjectAgg", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "arg", + "type": "JsonKeyValue", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constructor", + "type": "JsonAggConstructor", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonObjectConstructor", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonOutput", + "wrapped": true, + "fields": [ + { + "name": "returning", + "type": "JsonReturning", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonReturning", + "wrapped": true, + "fields": [ + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "typid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonValueExpr", + "wrapped": true, + "fields": [ + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "formatted_expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "raw_expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "List", + "wrapped": true, + "fields": [ + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "ListenStmt", + "wrapped": true, + "fields": [ + { + "name": "conditionname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "LoadStmt", + "wrapped": true, + "fields": [ + { + "name": "filename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "LockingClause", + "wrapped": true, + "fields": [ + { + "name": "lockedRels", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "strength", + "type": "LockClauseStrength", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "waitPolicy", + "type": "LockWaitPolicy", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "LockStmt", + "wrapped": true, + "fields": [ + { + "name": "mode", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nowait", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "MergeAction", + "wrapped": true, + "fields": [ + { + "name": "commandType", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "matched", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "updateColnos", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "MergeStmt", + "wrapped": true, + "fields": [ + { + "name": "joinCondition", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "mergeWhenClauses", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sourceRelation", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "MergeWhenClause", + "wrapped": true, + "fields": [ + { + "name": "commandType", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "condition", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "matched", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "values", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "MinMaxExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "minmaxcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "minmaxtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "op", + "type": "MinMaxOp", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "MultiAssignRef", + "wrapped": true, + "fields": [ + { + "name": "colno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ncolumns", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "source", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NamedArgExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "argnumber", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NextValueExpr", + "wrapped": true, + "fields": [ + { + "name": "seqid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NotifyStmt", + "wrapped": true, + "fields": [ + { + "name": "conditionname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "payload", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NullIfExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NullTest", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "argisrow", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulltesttype", + "type": "NullTestType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ObjectWithArgs", + "wrapped": true, + "fields": [ + { + "name": "args_unspecified", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "objfuncargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "objname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "OidList", + "wrapped": true, + "fields": [ + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "OnConflictClause", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "OnConflictAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "infer", + "type": "InferClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "OnConflictExpr", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "OnConflictAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "arbiterElems", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "arbiterWhere", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constraint", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exclRelIndex", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exclRelTlist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onConflictSet", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onConflictWhere", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "OpExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Param", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramid", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramkind", + "type": "ParamKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramtypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ParamRef", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "number", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ParseResult", + "wrapped": false, + "fields": [ + { + "name": "stmts", + "type": "RawStmt", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "version", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PartitionBoundSpec", + "wrapped": true, + "fields": [ + { + "name": "is_default", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "listdatums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lowerdatums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "modulus", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "remainder", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "strategy", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "upperdatums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "PartitionCmd", + "wrapped": true, + "fields": [ + { + "name": "bound", + "type": "PartitionBoundSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PartitionElem", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opclass", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "PartitionRangeDatum", + "wrapped": true, + "fields": [ + { + "name": "kind", + "type": "PartitionRangeDatumKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "value", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PartitionSpec", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "partParams", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "strategy", + "type": "PartitionStrategy", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PLAssignStmt", + "wrapped": true, + "fields": [ + { + "name": "indirection", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nnames", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "val", + "type": "SelectStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PrepareStmt", + "wrapped": true, + "fields": [ + { + "name": "argtypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PublicationObjSpec", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubobjtype", + "type": "PublicationObjSpecType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubtable", + "type": "PublicationTable", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PublicationTable", + "wrapped": true, + "fields": [ + { + "name": "columns", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Query", + "wrapped": true, + "fields": [ + { + "name": "canSetTag", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "commandType", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "constraintDeps", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "cteList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "distinctClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupDistinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "groupingSets", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "hasAggs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasDistinctOn", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasForUpdate", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasModifyingCTE", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasRecursive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasRowSecurity", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasSubLinks", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasTargetSRFs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasWindowFuncs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "havingQual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isReturn", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "jointree", + "type": "FromExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitCount", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOption", + "type": "LimitOption", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "mergeActionList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "mergeUseOuterJoin", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "onConflict", + "type": "OnConflictExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "querySource", + "type": "QuerySource", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultRelation", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rowMarks", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rtable", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rteperminfos", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "setOperations", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sortClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "stmt_len", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stmt_location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "utilityStmt", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "windowClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "withCheckOptions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RangeFunction", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coldeflist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "functions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "is_rowsfrom", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ordinality", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeSubselect", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subquery", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTableFunc", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "columns", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "docexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "namespaces", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rowexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTableFuncCol", + "wrapped": true, + "fields": [ + { + "name": "coldefexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "colexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "colname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "for_ordinality", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_not_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTableSample", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "method", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "repeatable", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTblEntry", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "colcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctelevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ctename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "enrname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "enrtuples", + "type": "double", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "eref", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "funcordinality", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "functions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inFromCl", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inh", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "join_using_alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "joinaliasvars", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "joinleftcols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "joinmergedcols", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "joinrightcols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "jointype", + "type": "JoinType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "perminfoindex", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relkind", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rellockmode", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rtekind", + "type": "RTEKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "security_barrier", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "securityQuals", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "self_reference", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subquery", + "type": "Query", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tablefunc", + "type": "TableFunc", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tablesample", + "type": "TableSampleClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "values_lists", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RangeTblFunction", + "wrapped": true, + "fields": [ + { + "name": "funccolcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccolcount", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funccolnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccoltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccoltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funcexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "funcparams", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RangeTblRef", + "wrapped": true, + "fields": [ + { + "name": "rtindex", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeVar", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "catalogname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inh", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relpersistence", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "schemaname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RawStmt", + "wrapped": true, + "fields": [ + { + "name": "stmt", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "stmt_len", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stmt_location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReassignOwnedStmt", + "wrapped": true, + "fields": [ + { + "name": "newrole", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RefreshMatViewStmt", + "wrapped": true, + "fields": [ + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "skipData", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReindexStmt", + "wrapped": true, + "fields": [ + { + "name": "kind", + "type": "ReindexObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RelabelType", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relabelformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RenameStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relationType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "renameType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReplicaIdentityStmt", + "wrapped": true, + "fields": [ + { + "name": "identity_type", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ResTarget", + "wrapped": true, + "fields": [ + { + "name": "indirection", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "val", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReturnStmt", + "wrapped": true, + "fields": [ + { + "name": "returnval", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RoleSpec", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rolename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roletype", + "type": "RoleSpecType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RowCompareExpr", + "wrapped": true, + "fields": [ + { + "name": "inputcollids", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "largs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opfamilies", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opnos", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rctype", + "type": "RowCompareType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RowExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "row_format", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "row_typeid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RowMarkClause", + "wrapped": true, + "fields": [ + { + "name": "pushedDown", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rti", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "strength", + "type": "LockClauseStrength", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "waitPolicy", + "type": "LockWaitPolicy", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RTEPermissionInfo", + "wrapped": true, + "fields": [ + { + "name": "checkAsUser", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inh", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "insertedCols", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "relid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "requiredPerms", + "type": "uint64", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "selectedCols", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "updatedCols", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RuleStmt", + "wrapped": true, + "fields": [ + { + "name": "actions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "event", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "instead", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rulename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ScalarArrayOpExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "useOr", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ScanResult", + "wrapped": false, + "fields": [ + { + "name": "tokens", + "type": "ScanToken", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "version", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ScanToken", + "wrapped": false, + "fields": [ + { + "name": "end", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "keywordKind", + "type": "KeywordKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "start", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "token", + "type": "Token", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SecLabelStmt", + "wrapped": true, + "fields": [ + { + "name": "label", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "provider", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SelectStmt", + "wrapped": true, + "fields": [ + { + "name": "all", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "distinctClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fromClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupDistinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "havingClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "intoClause", + "type": "IntoClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "larg", + "type": "SelectStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitCount", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOption", + "type": "LimitOption", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lockingClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "op", + "type": "SetOperation", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rarg", + "type": "SelectStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sortClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "valuesLists", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "windowClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SetOperationStmt", + "wrapped": true, + "fields": [ + { + "name": "all", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colCollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colTypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colTypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupClauses", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "larg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "op", + "type": "SetOperation", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rarg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SetToDefault", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeMod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SortBy", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "node", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sortby_dir", + "type": "SortByDir", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sortby_nulls", + "type": "SortByNulls", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "useOp", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "SortGroupClause", + "wrapped": true, + "fields": [ + { + "name": "eqop", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hashable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_first", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sortop", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tleSortGroupRef", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SQLValueFunction", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "op", + "type": "SQLValueFunctionOp", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "type", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "StatsElem", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "String", + "wrapped": true, + "fields": [ + { + "name": "sval", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SubLink", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "operName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "subLinkId", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subLinkType", + "type": "SubLinkType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subselect", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "testexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SubPlan", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "firstColCollation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "firstColType", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "firstColTypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "parallel_safe", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramIds", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "parParam", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "per_call_cost", + "type": "double", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "plan_id", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "plan_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "setParam", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "startup_cost", + "type": "double", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subLinkType", + "type": "SubLinkType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "testexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "unknownEqFalse", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "useHashTable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SubscriptingRef", + "wrapped": true, + "fields": [ + { + "name": "refassgnexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "refcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refcontainertype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refelemtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "reflowerindexpr", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "refrestype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "reftypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refupperindexpr", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TableFunc", + "wrapped": true, + "fields": [ + { + "name": "colcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coldefexprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colexprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "docexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "notnulls", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "ns_names", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ns_uris", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ordinalitycol", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rowexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TableLikeClause", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relationOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TableSampleClause", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "repeatable", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tsmhandler", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TargetEntry", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "resjunk", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resorigcol", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resorigtbl", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ressortgroupref", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TransactionStmt", + "wrapped": true, + "fields": [ + { + "name": "chain", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "gid", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "TransactionStmtKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "savepoint_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TriggerTransition", + "wrapped": true, + "fields": [ + { + "name": "isNew", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isTable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TruncateStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "restart_seqs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TypeCast", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TypeName", + "wrapped": true, + "fields": [ + { + "name": "arrayBounds", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "names", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pct_type", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "setof", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typemod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "UnlistenStmt", + "wrapped": true, + "fields": [ + { + "name": "conditionname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "UpdateStmt", + "wrapped": true, + "fields": [ + { + "name": "fromClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "VacuumRelation", + "wrapped": true, + "fields": [ + { + "name": "oid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "va_cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "VacuumStmt", + "wrapped": true, + "fields": [ + { + "name": "is_vacuumcmd", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rels", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "Var", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varattno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varlevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varnullingrels", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "vartype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "vartypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "VariableSetStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "is_local", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "VariableSetKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "VariableShowStmt", + "wrapped": true, + "fields": [ + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ViewStmt", + "wrapped": true, + "fields": [ + { + "name": "aliases", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "view", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withCheckOption", + "type": "ViewCheckOption", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WindowClause", + "wrapped": true, + "fields": [ + { + "name": "copiedOrder", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "endInRangeFunc", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "endOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "frameOptions", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inRangeAsc", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inRangeColl", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inRangeNullsFirst", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "orderClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "partitionClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "refname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "runCondition", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "startInRangeFunc", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "startOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "winref", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WindowDef", + "wrapped": true, + "fields": [ + { + "name": "endOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "frameOptions", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "orderClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "partitionClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "refname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "startOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WindowFunc", + "wrapped": true, + "fields": [ + { + "name": "aggfilter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winagg", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "wincollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winfnoid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winref", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winstar", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "wintype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WithCheckOption", + "wrapped": true, + "fields": [ + { + "name": "cascaded", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "WCOKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "polname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WithClause", + "wrapped": true, + "fields": [ + { + "name": "ctes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "recursive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "XmlExpr", + "wrapped": true, + "fields": [ + { + "name": "arg_names", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "indent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "named_args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "op", + "type": "XmlExprOp", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "type", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xmloption", + "type": "XmlOptionType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "XmlSerialize", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "indent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "xmloption", + "type": "XmlOptionType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + } +] \ No newline at end of file diff --git a/__fixtures__/output/runtime-schema/json/enabled/runtime-schema.json b/__fixtures__/output/runtime-schema/json/enabled/runtime-schema.json new file mode 100644 index 0000000..e862af1 --- /dev/null +++ b/__fixtures__/output/runtime-schema/json/enabled/runtime-schema.json @@ -0,0 +1,10637 @@ +[ + { + "name": "A_ArrayExpr", + "wrapped": true, + "fields": [ + { + "name": "elements", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Const", + "wrapped": true, + "fields": [ + { + "name": "boolval", + "type": "Boolean", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "bsval", + "type": "BitString", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fval", + "type": "Float", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isnull", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ival", + "type": "Integer", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sval", + "type": "String", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Expr", + "wrapped": true, + "fields": [ + { + "name": "kind", + "type": "A_Expr_Kind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Indices", + "wrapped": true, + "fields": [ + { + "name": "is_slice", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lidx", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "uidx", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Indirection", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "indirection", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "A_Star", + "wrapped": true, + "fields": [] + }, + { + "name": "AccessPriv", + "wrapped": true, + "fields": [ + { + "name": "cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "priv_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Aggref", + "wrapped": true, + "fields": [ + { + "name": "aggargtypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggdirectargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggdistinct", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggfilter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "aggfnoid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggkind", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "agglevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggorder", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggsplit", + "type": "AggSplit", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggstar", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggtransno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggvariadic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Alias", + "wrapped": true, + "fields": [ + { + "name": "aliasname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterCollationStmt", + "wrapped": true, + "fields": [ + { + "name": "collname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterDatabaseRefreshCollStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterDatabaseSetStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "setstmt", + "type": "VariableSetStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterDatabaseStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterDefaultPrivilegesStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "GrantStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterDomainStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "def", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subtype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterEnumStmt", + "wrapped": true, + "fields": [ + { + "name": "newVal", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newValIsAfter", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newValNeighbor", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldVal", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "skipIfNewValExists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterEventTrigStmt", + "wrapped": true, + "fields": [ + { + "name": "tgenabled", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "trigname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterExtensionContentsStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "extname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterExtensionStmt", + "wrapped": true, + "fields": [ + { + "name": "extname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterFdwStmt", + "wrapped": true, + "fields": [ + { + "name": "fdwname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func_options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterForeignServerStmt", + "wrapped": true, + "fields": [ + { + "name": "has_version", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "version", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterFunctionStmt", + "wrapped": true, + "fields": [ + { + "name": "actions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "func", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlternativeSubPlan", + "wrapped": true, + "fields": [ + { + "name": "subplans", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterObjectDependsStmt", + "wrapped": true, + "fields": [ + { + "name": "extname", + "type": "String", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objectType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "remove", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterObjectSchemaStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newschema", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objectType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterOperatorStmt", + "wrapped": true, + "fields": [ + { + "name": "opername", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterOpFamilyStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isDrop", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opfamilyname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterOwnerStmt", + "wrapped": true, + "fields": [ + { + "name": "newowner", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objectType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterPolicyStmt", + "wrapped": true, + "fields": [ + { + "name": "policy_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "table", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "with_check", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterPublicationStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "AlterPublicationAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "for_all_tables", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pubname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubobjects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterRoleSetStmt", + "wrapped": true, + "fields": [ + { + "name": "database", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "role", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "setstmt", + "type": "VariableSetStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "role", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterSeqStmt", + "wrapped": true, + "fields": [ + { + "name": "for_identity", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "sequence", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterStatsStmt", + "wrapped": true, + "fields": [ + { + "name": "defnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stxstattarget", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterSubscriptionStmt", + "wrapped": true, + "fields": [ + { + "name": "conninfo", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "AlterSubscriptionType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "publication", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterSystemStmt", + "wrapped": true, + "fields": [ + { + "name": "setstmt", + "type": "VariableSetStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTableCmd", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "def", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newowner", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "num", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "recurse", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subtype", + "type": "AlterTableType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTableMoveAllStmt", + "wrapped": true, + "fields": [ + { + "name": "new_tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nowait", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "orig_tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterTableSpaceOptionsStmt", + "wrapped": true, + "fields": [ + { + "name": "isReset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTableStmt", + "wrapped": true, + "fields": [ + { + "name": "cmds", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTSConfigurationStmt", + "wrapped": true, + "fields": [ + { + "name": "cfgname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "dicts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "kind", + "type": "AlterTSConfigType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tokentype", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterTSDictionaryStmt", + "wrapped": true, + "fields": [ + { + "name": "dictname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterTypeStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterUserMappingStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "user", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ArrayCoerceExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coerceformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "elemexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ArrayExpr", + "wrapped": true, + "fields": [ + { + "name": "array_collid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "array_typeid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "element_typeid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "elements", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "multidims", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "BitString", + "wrapped": true, + "fields": [ + { + "name": "bsval", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Boolean", + "wrapped": true, + "fields": [ + { + "name": "boolval", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "BooleanTest", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "booltesttype", + "type": "BoolTestType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "BoolExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "boolop", + "type": "BoolExprType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CallContext", + "wrapped": true, + "fields": [ + { + "name": "atomic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CallStmt", + "wrapped": true, + "fields": [ + { + "name": "funccall", + "type": "FuncCall", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "funcexpr", + "type": "FuncExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "outargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CaseExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "casecollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "casetype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "defresult", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CaseTestExpr", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeMod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CaseWhen", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "result", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CheckPointStmt", + "wrapped": true, + "fields": [] + }, + { + "name": "ClosePortalStmt", + "wrapped": true, + "fields": [ + { + "name": "portalname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ClusterStmt", + "wrapped": true, + "fields": [ + { + "name": "indexname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoalesceExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coalescecollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "coalescetype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoerceToDomain", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coercionformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoerceToDomainValue", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeMod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoerceViaIO", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coerceformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CollateClause", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "collname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CollateExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "collOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ColumnDef", + "wrapped": true, + "fields": [ + { + "name": "collClause", + "type": "CollateClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "collOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "compression", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "cooked_default", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fdwoptions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "generated", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "identity", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "identitySequence", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "inhcount", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_from_type", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_local", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_not_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "raw_default", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "storage", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "storage_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ColumnRef", + "wrapped": true, + "fields": [ + { + "name": "fields", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CommentStmt", + "wrapped": true, + "fields": [ + { + "name": "comment", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CommonTableExpr", + "wrapped": true, + "fields": [ + { + "name": "aliascolnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecolcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecolnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecoltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecoltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctematerialized", + "type": "CTEMaterialize", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ctename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ctequery", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "cterecursive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cterefcount", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_clause", + "type": "CTECycleClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "search_clause", + "type": "CTESearchClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CompositeTypeStmt", + "wrapped": true, + "fields": [ + { + "name": "coldeflist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typevar", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Constraint", + "wrapped": true, + "fields": [ + { + "name": "access_method", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "conname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "contype", + "type": "ConstrType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cooked_expr", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "deferrable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exclusions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fk_attrs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fk_del_action", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "fk_del_set_cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fk_matchtype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "fk_upd_action", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "generated_when", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "including", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "indexname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexspace", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "initdeferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "initially_valid", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_no_inherit", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "keys", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_not_distinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "old_conpfeqop", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "old_pktable_oid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pk_attrs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pktable", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "raw_expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "reset_default_tblspc", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "skip_validation", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "where_clause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ConstraintsSetStmt", + "wrapped": true, + "fields": [ + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "deferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ConvertRowtypeExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "convertformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CopyStmt", + "wrapped": true, + "fields": [ + { + "name": "attlist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "filename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_from", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_program", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateAmStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "amtype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "handler_name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateCastStmt", + "wrapped": true, + "fields": [ + { + "name": "context", + "type": "CoercionContext", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "inout", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sourcetype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "targettype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateConversionStmt", + "wrapped": true, + "fields": [ + { + "name": "conversion_name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "def", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "for_encoding_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func_name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "to_encoding_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreatedbStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateDomainStmt", + "wrapped": true, + "fields": [ + { + "name": "collClause", + "type": "CollateClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "domainname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateEnumStmt", + "wrapped": true, + "fields": [ + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "vals", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateEventTrigStmt", + "wrapped": true, + "fields": [ + { + "name": "eventname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "trigname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whenclause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateExtensionStmt", + "wrapped": true, + "fields": [ + { + "name": "extname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateFdwStmt", + "wrapped": true, + "fields": [ + { + "name": "fdwname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func_options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateForeignServerStmt", + "wrapped": true, + "fields": [ + { + "name": "fdwname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "servertype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "version", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateForeignTableStmt", + "wrapped": true, + "fields": [ + { + "name": "base", + "type": "CreateStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateFunctionStmt", + "wrapped": true, + "fields": [ + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "is_procedure", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "parameters", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "returnType", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sql_body", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateOpClassItem", + "wrapped": true, + "fields": [ + { + "name": "class_args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "itemtype", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "number", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "order_family", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "storedtype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateOpClassStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "datatype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isDefault", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opclassname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opfamilyname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateOpFamilyStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opfamilyname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreatePLangStmt", + "wrapped": true, + "fields": [ + { + "name": "plhandler", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "plinline", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "plname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pltrusted", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "plvalidator", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreatePolicyStmt", + "wrapped": true, + "fields": [ + { + "name": "cmd_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "permissive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "policy_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "table", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "with_check", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreatePublicationStmt", + "wrapped": true, + "fields": [ + { + "name": "for_all_tables", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pubname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubobjects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateRangeStmt", + "wrapped": true, + "fields": [ + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "role", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stmt_type", + "type": "RoleStmtType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateSchemaStmt", + "wrapped": true, + "fields": [ + { + "name": "authrole", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "schemaElts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "schemaname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateSeqStmt", + "wrapped": true, + "fields": [ + { + "name": "for_identity", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ownerId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sequence", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateStatsStmt", + "wrapped": true, + "fields": [ + { + "name": "defnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "exprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "stat_types", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "stxcomment", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "transformed", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateStmt", + "wrapped": true, + "fields": [ + { + "name": "accessMethod", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inhRelations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ofTypename", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "oncommit", + "type": "OnCommitAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "partbound", + "type": "PartitionBoundSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "partspec", + "type": "PartitionSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tableElts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateSubscriptionStmt", + "wrapped": true, + "fields": [ + { + "name": "conninfo", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "publication", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTableAsStmt", + "wrapped": true, + "fields": [ + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "into", + "type": "IntoClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "is_select_into", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTableSpaceStmt", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "owner", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTransformStmt", + "wrapped": true, + "fields": [ + { + "name": "fromsql", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "lang", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tosql", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "type_name", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTrigStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "columns", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "constrrel", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "deferrable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "events", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "initdeferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isconstraint", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "row", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "timing", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "transitionRels", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "trigname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whenClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateUserMappingStmt", + "wrapped": true, + "fields": [ + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "user", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CTECycleClause", + "wrapped": true, + "fields": [ + { + "name": "cycle_col_list", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "cycle_mark_collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_column", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_default", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_neop", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_type", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_value", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "cycle_path_column", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CTESearchClause", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "search_breadth_first", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "search_col_list", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "search_seq_column", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CurrentOfExpr", + "wrapped": true, + "fields": [ + { + "name": "cursor_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cursor_param", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cvarno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DeallocateStmt", + "wrapped": true, + "fields": [ + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DeclareCursorStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "portalname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DefElem", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "defaction", + "type": "DefElemAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "defname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "defnamespace", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DefineStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "definition", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "defnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldstyle", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DeleteStmt", + "wrapped": true, + "fields": [ + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "usingClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DiscardStmt", + "wrapped": true, + "fields": [ + { + "name": "target", + "type": "DiscardMode", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DistinctExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DoStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropdbStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropOwnedStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "removeType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DropSubscriptionStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DropTableSpaceStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DropUserMappingStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "user", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ExecuteStmt", + "wrapped": true, + "fields": [ + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "ExplainStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FetchStmt", + "wrapped": true, + "fields": [ + { + "name": "direction", + "type": "FetchDirection", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "howMany", + "type": "int64", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ismove", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "portalname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FieldSelect", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fieldnum", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FieldStore", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fieldnums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "newvals", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Float", + "wrapped": true, + "fields": [ + { + "name": "fval", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FromExpr", + "wrapped": true, + "fields": [ + { + "name": "fromlist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "quals", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FuncCall", + "wrapped": true, + "fields": [ + { + "name": "agg_distinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "agg_filter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "agg_order", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "agg_star", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "agg_within_group", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "func_variadic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "over", + "type": "WindowDef", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FuncExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcvariadic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FunctionParameter", + "wrapped": true, + "fields": [ + { + "name": "argType", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "defexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "mode", + "type": "FunctionParameterMode", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "GrantRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "granted_roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "grantee_roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "grantor", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "is_grant", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opt", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "GrantStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "grant_option", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "grantees", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "grantor", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "is_grant", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "privileges", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "targtype", + "type": "GrantTargetType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "GroupingFunc", + "wrapped": true, + "fields": [ + { + "name": "agglevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "GroupingSet", + "wrapped": true, + "fields": [ + { + "name": "content", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "kind", + "type": "GroupingSetKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ImportForeignSchemaStmt", + "wrapped": true, + "fields": [ + { + "name": "list_type", + "type": "ImportForeignSchemaType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "local_schema", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "remote_schema", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "server_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "table_list", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "IndexElem", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "indexcolname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_ordering", + "type": "SortByNulls", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opclass", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opclassopts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ordering", + "type": "SortByDir", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "IndexStmt", + "wrapped": true, + "fields": [ + { + "name": "accessMethod", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "deferrable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "excludeOpNames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "idxcomment", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "idxname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexIncludingParams", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "indexOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexParams", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "initdeferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isconstraint", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_not_distinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldCreateSubid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldFirstRelfilelocatorSubid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldNumber", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "primary", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "reset_default_tblspc", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tableSpace", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "transformed", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InferClause", + "wrapped": true, + "fields": [ + { + "name": "conname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexElems", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InferenceElem", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "infercollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inferopclass", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InlineCodeBlock", + "wrapped": true, + "fields": [ + { + "name": "atomic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "langIsTrusted", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "langOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "source_text", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InsertStmt", + "wrapped": true, + "fields": [ + { + "name": "cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onConflictClause", + "type": "OnConflictClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "selectStmt", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Integer", + "wrapped": true, + "fields": [ + { + "name": "ival", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "IntList", + "wrapped": true, + "fields": [ + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "IntoClause", + "wrapped": true, + "fields": [ + { + "name": "accessMethod", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colNames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onCommit", + "type": "OnCommitAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rel", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "skipData", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tableSpaceName", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "viewQuery", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JoinExpr", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isNatural", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "join_using_alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "jointype", + "type": "JoinType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "larg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "quals", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "rarg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "rtindex", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "usingClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "JsonAggConstructor", + "wrapped": true, + "fields": [ + { + "name": "agg_filter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "agg_order", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "over", + "type": "WindowDef", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonArrayAgg", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "arg", + "type": "JsonValueExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constructor", + "type": "JsonAggConstructor", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonArrayConstructor", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonArrayQueryConstructor", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonConstructorExpr", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coercion", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "func", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "returning", + "type": "JsonReturning", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "type", + "type": "JsonConstructorType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonFormat", + "wrapped": true, + "fields": [ + { + "name": "encoding", + "type": "JsonEncoding", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "format_type", + "type": "JsonFormatType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonIsPredicate", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "item_type", + "type": "JsonValueType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "unique_keys", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonKeyValue", + "wrapped": true, + "fields": [ + { + "name": "key", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "value", + "type": "JsonValueExpr", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonObjectAgg", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "arg", + "type": "JsonKeyValue", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constructor", + "type": "JsonAggConstructor", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonObjectConstructor", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonOutput", + "wrapped": true, + "fields": [ + { + "name": "returning", + "type": "JsonReturning", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonReturning", + "wrapped": true, + "fields": [ + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "typid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonValueExpr", + "wrapped": true, + "fields": [ + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "formatted_expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "raw_expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "List", + "wrapped": true, + "fields": [ + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "ListenStmt", + "wrapped": true, + "fields": [ + { + "name": "conditionname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "LoadStmt", + "wrapped": true, + "fields": [ + { + "name": "filename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "LockingClause", + "wrapped": true, + "fields": [ + { + "name": "lockedRels", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "strength", + "type": "LockClauseStrength", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "waitPolicy", + "type": "LockWaitPolicy", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "LockStmt", + "wrapped": true, + "fields": [ + { + "name": "mode", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nowait", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "MergeAction", + "wrapped": true, + "fields": [ + { + "name": "commandType", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "matched", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "updateColnos", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "MergeStmt", + "wrapped": true, + "fields": [ + { + "name": "joinCondition", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "mergeWhenClauses", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sourceRelation", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "MergeWhenClause", + "wrapped": true, + "fields": [ + { + "name": "commandType", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "condition", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "matched", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "values", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "MinMaxExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "minmaxcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "minmaxtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "op", + "type": "MinMaxOp", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "MultiAssignRef", + "wrapped": true, + "fields": [ + { + "name": "colno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ncolumns", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "source", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NamedArgExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "argnumber", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NextValueExpr", + "wrapped": true, + "fields": [ + { + "name": "seqid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NotifyStmt", + "wrapped": true, + "fields": [ + { + "name": "conditionname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "payload", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NullIfExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NullTest", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "argisrow", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulltesttype", + "type": "NullTestType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ObjectWithArgs", + "wrapped": true, + "fields": [ + { + "name": "args_unspecified", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "objfuncargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "objname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "OidList", + "wrapped": true, + "fields": [ + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "OnConflictClause", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "OnConflictAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "infer", + "type": "InferClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "OnConflictExpr", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "OnConflictAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "arbiterElems", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "arbiterWhere", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constraint", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exclRelIndex", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exclRelTlist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onConflictSet", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onConflictWhere", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "OpExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Param", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramid", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramkind", + "type": "ParamKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramtypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ParamRef", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "number", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ParseResult", + "wrapped": false, + "fields": [ + { + "name": "stmts", + "type": "RawStmt", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "version", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PartitionBoundSpec", + "wrapped": true, + "fields": [ + { + "name": "is_default", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "listdatums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lowerdatums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "modulus", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "remainder", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "strategy", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "upperdatums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "PartitionCmd", + "wrapped": true, + "fields": [ + { + "name": "bound", + "type": "PartitionBoundSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PartitionElem", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opclass", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "PartitionRangeDatum", + "wrapped": true, + "fields": [ + { + "name": "kind", + "type": "PartitionRangeDatumKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "value", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PartitionSpec", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "partParams", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "strategy", + "type": "PartitionStrategy", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PLAssignStmt", + "wrapped": true, + "fields": [ + { + "name": "indirection", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nnames", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "val", + "type": "SelectStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PrepareStmt", + "wrapped": true, + "fields": [ + { + "name": "argtypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PublicationObjSpec", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubobjtype", + "type": "PublicationObjSpecType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubtable", + "type": "PublicationTable", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PublicationTable", + "wrapped": true, + "fields": [ + { + "name": "columns", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Query", + "wrapped": true, + "fields": [ + { + "name": "canSetTag", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "commandType", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "constraintDeps", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "cteList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "distinctClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupDistinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "groupingSets", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "hasAggs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasDistinctOn", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasForUpdate", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasModifyingCTE", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasRecursive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasRowSecurity", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasSubLinks", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasTargetSRFs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasWindowFuncs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "havingQual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isReturn", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "jointree", + "type": "FromExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitCount", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOption", + "type": "LimitOption", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "mergeActionList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "mergeUseOuterJoin", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "onConflict", + "type": "OnConflictExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "querySource", + "type": "QuerySource", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultRelation", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rowMarks", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rtable", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rteperminfos", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "setOperations", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sortClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "stmt_len", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stmt_location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "utilityStmt", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "windowClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "withCheckOptions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RangeFunction", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coldeflist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "functions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "is_rowsfrom", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ordinality", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeSubselect", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subquery", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTableFunc", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "columns", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "docexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "namespaces", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rowexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTableFuncCol", + "wrapped": true, + "fields": [ + { + "name": "coldefexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "colexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "colname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "for_ordinality", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_not_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTableSample", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "method", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "repeatable", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTblEntry", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "colcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctelevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ctename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "enrname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "enrtuples", + "type": "double", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "eref", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "funcordinality", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "functions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inFromCl", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inh", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "join_using_alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "joinaliasvars", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "joinleftcols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "joinmergedcols", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "joinrightcols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "jointype", + "type": "JoinType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "perminfoindex", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relkind", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rellockmode", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rtekind", + "type": "RTEKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "security_barrier", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "securityQuals", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "self_reference", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subquery", + "type": "Query", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tablefunc", + "type": "TableFunc", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tablesample", + "type": "TableSampleClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "values_lists", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RangeTblFunction", + "wrapped": true, + "fields": [ + { + "name": "funccolcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccolcount", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funccolnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccoltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccoltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funcexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "funcparams", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RangeTblRef", + "wrapped": true, + "fields": [ + { + "name": "rtindex", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeVar", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "catalogname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inh", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relpersistence", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "schemaname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RawStmt", + "wrapped": true, + "fields": [ + { + "name": "stmt", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "stmt_len", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stmt_location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReassignOwnedStmt", + "wrapped": true, + "fields": [ + { + "name": "newrole", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RefreshMatViewStmt", + "wrapped": true, + "fields": [ + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "skipData", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReindexStmt", + "wrapped": true, + "fields": [ + { + "name": "kind", + "type": "ReindexObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RelabelType", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relabelformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RenameStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relationType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "renameType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReplicaIdentityStmt", + "wrapped": true, + "fields": [ + { + "name": "identity_type", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ResTarget", + "wrapped": true, + "fields": [ + { + "name": "indirection", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "val", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReturnStmt", + "wrapped": true, + "fields": [ + { + "name": "returnval", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RoleSpec", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rolename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roletype", + "type": "RoleSpecType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RowCompareExpr", + "wrapped": true, + "fields": [ + { + "name": "inputcollids", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "largs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opfamilies", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opnos", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rctype", + "type": "RowCompareType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RowExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "row_format", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "row_typeid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RowMarkClause", + "wrapped": true, + "fields": [ + { + "name": "pushedDown", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rti", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "strength", + "type": "LockClauseStrength", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "waitPolicy", + "type": "LockWaitPolicy", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RTEPermissionInfo", + "wrapped": true, + "fields": [ + { + "name": "checkAsUser", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inh", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "insertedCols", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "relid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "requiredPerms", + "type": "uint64", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "selectedCols", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "updatedCols", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RuleStmt", + "wrapped": true, + "fields": [ + { + "name": "actions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "event", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "instead", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rulename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ScalarArrayOpExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "useOr", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ScanResult", + "wrapped": false, + "fields": [ + { + "name": "tokens", + "type": "ScanToken", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "version", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ScanToken", + "wrapped": false, + "fields": [ + { + "name": "end", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "keywordKind", + "type": "KeywordKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "start", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "token", + "type": "Token", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SecLabelStmt", + "wrapped": true, + "fields": [ + { + "name": "label", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "provider", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SelectStmt", + "wrapped": true, + "fields": [ + { + "name": "all", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "distinctClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fromClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupDistinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "havingClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "intoClause", + "type": "IntoClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "larg", + "type": "SelectStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitCount", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOption", + "type": "LimitOption", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lockingClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "op", + "type": "SetOperation", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rarg", + "type": "SelectStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sortClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "valuesLists", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "windowClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SetOperationStmt", + "wrapped": true, + "fields": [ + { + "name": "all", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colCollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colTypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colTypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupClauses", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "larg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "op", + "type": "SetOperation", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rarg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SetToDefault", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeMod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SortBy", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "node", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sortby_dir", + "type": "SortByDir", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sortby_nulls", + "type": "SortByNulls", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "useOp", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "SortGroupClause", + "wrapped": true, + "fields": [ + { + "name": "eqop", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hashable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_first", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sortop", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tleSortGroupRef", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SQLValueFunction", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "op", + "type": "SQLValueFunctionOp", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "type", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "StatsElem", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "String", + "wrapped": true, + "fields": [ + { + "name": "sval", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SubLink", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "operName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "subLinkId", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subLinkType", + "type": "SubLinkType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subselect", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "testexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SubPlan", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "firstColCollation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "firstColType", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "firstColTypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "parallel_safe", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramIds", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "parParam", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "per_call_cost", + "type": "double", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "plan_id", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "plan_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "setParam", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "startup_cost", + "type": "double", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subLinkType", + "type": "SubLinkType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "testexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "unknownEqFalse", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "useHashTable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SubscriptingRef", + "wrapped": true, + "fields": [ + { + "name": "refassgnexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "refcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refcontainertype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refelemtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "reflowerindexpr", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "refrestype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "reftypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refupperindexpr", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TableFunc", + "wrapped": true, + "fields": [ + { + "name": "colcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coldefexprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colexprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "docexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "notnulls", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "ns_names", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ns_uris", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ordinalitycol", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rowexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TableLikeClause", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relationOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TableSampleClause", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "repeatable", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tsmhandler", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TargetEntry", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "resjunk", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resorigcol", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resorigtbl", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ressortgroupref", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TransactionStmt", + "wrapped": true, + "fields": [ + { + "name": "chain", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "gid", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "TransactionStmtKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "savepoint_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TriggerTransition", + "wrapped": true, + "fields": [ + { + "name": "isNew", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isTable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TruncateStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "restart_seqs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TypeCast", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TypeName", + "wrapped": true, + "fields": [ + { + "name": "arrayBounds", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "names", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pct_type", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "setof", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typemod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "UnlistenStmt", + "wrapped": true, + "fields": [ + { + "name": "conditionname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "UpdateStmt", + "wrapped": true, + "fields": [ + { + "name": "fromClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "VacuumRelation", + "wrapped": true, + "fields": [ + { + "name": "oid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "va_cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "VacuumStmt", + "wrapped": true, + "fields": [ + { + "name": "is_vacuumcmd", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rels", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "Var", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varattno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varlevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varnullingrels", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "vartype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "vartypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "VariableSetStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "is_local", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "VariableSetKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "VariableShowStmt", + "wrapped": true, + "fields": [ + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ViewStmt", + "wrapped": true, + "fields": [ + { + "name": "aliases", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "view", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withCheckOption", + "type": "ViewCheckOption", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WindowClause", + "wrapped": true, + "fields": [ + { + "name": "copiedOrder", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "endInRangeFunc", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "endOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "frameOptions", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inRangeAsc", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inRangeColl", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inRangeNullsFirst", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "orderClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "partitionClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "refname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "runCondition", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "startInRangeFunc", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "startOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "winref", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WindowDef", + "wrapped": true, + "fields": [ + { + "name": "endOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "frameOptions", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "orderClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "partitionClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "refname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "startOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WindowFunc", + "wrapped": true, + "fields": [ + { + "name": "aggfilter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winagg", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "wincollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winfnoid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winref", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winstar", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "wintype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WithCheckOption", + "wrapped": true, + "fields": [ + { + "name": "cascaded", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "WCOKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "polname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WithClause", + "wrapped": true, + "fields": [ + { + "name": "ctes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "recursive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "XmlExpr", + "wrapped": true, + "fields": [ + { + "name": "arg_names", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "indent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "named_args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "op", + "type": "XmlExprOp", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "type", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xmloption", + "type": "XmlOptionType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "XmlSerialize", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "indent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "xmloption", + "type": "XmlOptionType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + } +] \ No newline at end of file diff --git a/__fixtures__/output/runtime-schema/latest-proto/latest-schema.json b/__fixtures__/output/runtime-schema/latest-proto/latest-schema.json new file mode 100644 index 0000000..7367bfe --- /dev/null +++ b/__fixtures__/output/runtime-schema/latest-proto/latest-schema.json @@ -0,0 +1,11404 @@ +[ + { + "name": "A_ArrayExpr", + "wrapped": true, + "fields": [ + { + "name": "elements", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Const", + "wrapped": true, + "fields": [ + { + "name": "boolval", + "type": "Boolean", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "bsval", + "type": "BitString", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fval", + "type": "Float", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isnull", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ival", + "type": "Integer", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sval", + "type": "String", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Expr", + "wrapped": true, + "fields": [ + { + "name": "kind", + "type": "A_Expr_Kind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Indices", + "wrapped": true, + "fields": [ + { + "name": "is_slice", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lidx", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "uidx", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Indirection", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "indirection", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "A_Star", + "wrapped": true, + "fields": [] + }, + { + "name": "AccessPriv", + "wrapped": true, + "fields": [ + { + "name": "cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "priv_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Aggref", + "wrapped": true, + "fields": [ + { + "name": "aggargtypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggdirectargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggdistinct", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggfilter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "aggfnoid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggkind", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "agglevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggorder", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggsplit", + "type": "AggSplit", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggstar", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggtransno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggvariadic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Alias", + "wrapped": true, + "fields": [ + { + "name": "aliasname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterCollationStmt", + "wrapped": true, + "fields": [ + { + "name": "collname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterDatabaseRefreshCollStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterDatabaseSetStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "setstmt", + "type": "VariableSetStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterDatabaseStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterDefaultPrivilegesStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "GrantStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterDomainStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "def", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subtype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterEnumStmt", + "wrapped": true, + "fields": [ + { + "name": "newVal", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newValIsAfter", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newValNeighbor", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldVal", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "skipIfNewValExists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterEventTrigStmt", + "wrapped": true, + "fields": [ + { + "name": "tgenabled", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "trigname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterExtensionContentsStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "extname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterExtensionStmt", + "wrapped": true, + "fields": [ + { + "name": "extname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterFdwStmt", + "wrapped": true, + "fields": [ + { + "name": "fdwname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func_options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterForeignServerStmt", + "wrapped": true, + "fields": [ + { + "name": "has_version", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "version", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterFunctionStmt", + "wrapped": true, + "fields": [ + { + "name": "actions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "func", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlternativeSubPlan", + "wrapped": true, + "fields": [ + { + "name": "subplans", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterObjectDependsStmt", + "wrapped": true, + "fields": [ + { + "name": "extname", + "type": "String", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objectType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "remove", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterObjectSchemaStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newschema", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objectType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterOperatorStmt", + "wrapped": true, + "fields": [ + { + "name": "opername", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterOpFamilyStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isDrop", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opfamilyname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterOwnerStmt", + "wrapped": true, + "fields": [ + { + "name": "newowner", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objectType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterPolicyStmt", + "wrapped": true, + "fields": [ + { + "name": "policy_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "table", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "with_check", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterPublicationStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "AlterPublicationAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "for_all_tables", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pubname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubobjects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterRoleSetStmt", + "wrapped": true, + "fields": [ + { + "name": "database", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "role", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "setstmt", + "type": "VariableSetStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "role", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterSeqStmt", + "wrapped": true, + "fields": [ + { + "name": "for_identity", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "sequence", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterStatsStmt", + "wrapped": true, + "fields": [ + { + "name": "defnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stxstattarget", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterSubscriptionStmt", + "wrapped": true, + "fields": [ + { + "name": "conninfo", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "AlterSubscriptionType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "publication", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterSystemStmt", + "wrapped": true, + "fields": [ + { + "name": "setstmt", + "type": "VariableSetStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTableCmd", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "def", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newowner", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "num", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "recurse", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subtype", + "type": "AlterTableType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTableMoveAllStmt", + "wrapped": true, + "fields": [ + { + "name": "new_tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nowait", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "orig_tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterTableSpaceOptionsStmt", + "wrapped": true, + "fields": [ + { + "name": "isReset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTableStmt", + "wrapped": true, + "fields": [ + { + "name": "cmds", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTSConfigurationStmt", + "wrapped": true, + "fields": [ + { + "name": "cfgname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "dicts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "kind", + "type": "AlterTSConfigType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tokentype", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterTSDictionaryStmt", + "wrapped": true, + "fields": [ + { + "name": "dictname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterTypeStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterUserMappingStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "user", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ArrayCoerceExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coerceformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "elemexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ArrayExpr", + "wrapped": true, + "fields": [ + { + "name": "array_collid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "array_typeid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "element_typeid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "elements", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "multidims", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "BitString", + "wrapped": true, + "fields": [ + { + "name": "bsval", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Boolean", + "wrapped": true, + "fields": [ + { + "name": "boolval", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "BooleanTest", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "booltesttype", + "type": "BoolTestType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "BoolExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "boolop", + "type": "BoolExprType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CallContext", + "wrapped": true, + "fields": [ + { + "name": "atomic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CallStmt", + "wrapped": true, + "fields": [ + { + "name": "funccall", + "type": "FuncCall", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "funcexpr", + "type": "FuncExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "outargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CaseExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "casecollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "casetype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "defresult", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CaseTestExpr", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeMod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CaseWhen", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "result", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CheckPointStmt", + "wrapped": true, + "fields": [] + }, + { + "name": "ClosePortalStmt", + "wrapped": true, + "fields": [ + { + "name": "portalname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ClusterStmt", + "wrapped": true, + "fields": [ + { + "name": "indexname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoalesceExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coalescecollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "coalescetype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoerceToDomain", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coercionformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoerceToDomainValue", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeMod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoerceViaIO", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coerceformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CollateClause", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "collname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CollateExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "collOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ColumnDef", + "wrapped": true, + "fields": [ + { + "name": "collClause", + "type": "CollateClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "collOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "compression", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "cooked_default", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fdwoptions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "generated", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "identity", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "identitySequence", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "inhcount", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_from_type", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_local", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_not_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "raw_default", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "storage", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "storage_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ColumnRef", + "wrapped": true, + "fields": [ + { + "name": "fields", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CommentStmt", + "wrapped": true, + "fields": [ + { + "name": "comment", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CommonTableExpr", + "wrapped": true, + "fields": [ + { + "name": "aliascolnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecolcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecolnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecoltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecoltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctematerialized", + "type": "CTEMaterialize", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ctename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ctequery", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "cterecursive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cterefcount", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_clause", + "type": "CTECycleClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "search_clause", + "type": "CTESearchClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CompositeTypeStmt", + "wrapped": true, + "fields": [ + { + "name": "coldeflist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typevar", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Constraint", + "wrapped": true, + "fields": [ + { + "name": "access_method", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "conname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "contype", + "type": "ConstrType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cooked_expr", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "deferrable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exclusions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fk_attrs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fk_del_action", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "fk_del_set_cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fk_matchtype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "fk_upd_action", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "generated_when", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "including", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "indexname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexspace", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inhcount", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "initdeferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "initially_valid", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_no_inherit", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "keys", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_not_distinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "old_conpfeqop", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "old_pktable_oid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pk_attrs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pktable", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "raw_expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "reset_default_tblspc", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "skip_validation", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "where_clause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ConstraintsSetStmt", + "wrapped": true, + "fields": [ + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "deferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ConvertRowtypeExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "convertformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CopyStmt", + "wrapped": true, + "fields": [ + { + "name": "attlist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "filename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_from", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_program", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateAmStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "amtype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "handler_name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateCastStmt", + "wrapped": true, + "fields": [ + { + "name": "context", + "type": "CoercionContext", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "inout", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sourcetype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "targettype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateConversionStmt", + "wrapped": true, + "fields": [ + { + "name": "conversion_name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "def", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "for_encoding_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func_name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "to_encoding_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreatedbStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateDomainStmt", + "wrapped": true, + "fields": [ + { + "name": "collClause", + "type": "CollateClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "domainname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateEnumStmt", + "wrapped": true, + "fields": [ + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "vals", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateEventTrigStmt", + "wrapped": true, + "fields": [ + { + "name": "eventname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "trigname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whenclause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateExtensionStmt", + "wrapped": true, + "fields": [ + { + "name": "extname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateFdwStmt", + "wrapped": true, + "fields": [ + { + "name": "fdwname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func_options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateForeignServerStmt", + "wrapped": true, + "fields": [ + { + "name": "fdwname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "servertype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "version", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateForeignTableStmt", + "wrapped": true, + "fields": [ + { + "name": "base", + "type": "CreateStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateFunctionStmt", + "wrapped": true, + "fields": [ + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "is_procedure", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "parameters", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "returnType", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sql_body", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateOpClassItem", + "wrapped": true, + "fields": [ + { + "name": "class_args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "itemtype", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "number", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "order_family", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "storedtype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateOpClassStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "datatype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isDefault", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opclassname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opfamilyname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateOpFamilyStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opfamilyname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreatePLangStmt", + "wrapped": true, + "fields": [ + { + "name": "plhandler", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "plinline", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "plname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pltrusted", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "plvalidator", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreatePolicyStmt", + "wrapped": true, + "fields": [ + { + "name": "cmd_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "permissive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "policy_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "table", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "with_check", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreatePublicationStmt", + "wrapped": true, + "fields": [ + { + "name": "for_all_tables", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pubname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubobjects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateRangeStmt", + "wrapped": true, + "fields": [ + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "role", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stmt_type", + "type": "RoleStmtType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateSchemaStmt", + "wrapped": true, + "fields": [ + { + "name": "authrole", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "schemaElts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "schemaname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateSeqStmt", + "wrapped": true, + "fields": [ + { + "name": "for_identity", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ownerId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sequence", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateStatsStmt", + "wrapped": true, + "fields": [ + { + "name": "defnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "exprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "stat_types", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "stxcomment", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "transformed", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateStmt", + "wrapped": true, + "fields": [ + { + "name": "accessMethod", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inhRelations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ofTypename", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "oncommit", + "type": "OnCommitAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "partbound", + "type": "PartitionBoundSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "partspec", + "type": "PartitionSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tableElts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateSubscriptionStmt", + "wrapped": true, + "fields": [ + { + "name": "conninfo", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "publication", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTableAsStmt", + "wrapped": true, + "fields": [ + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "into", + "type": "IntoClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "is_select_into", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTableSpaceStmt", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "owner", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTransformStmt", + "wrapped": true, + "fields": [ + { + "name": "fromsql", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "lang", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tosql", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "type_name", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTrigStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "columns", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "constrrel", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "deferrable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "events", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "initdeferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isconstraint", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "row", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "timing", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "transitionRels", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "trigname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whenClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateUserMappingStmt", + "wrapped": true, + "fields": [ + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "user", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CTECycleClause", + "wrapped": true, + "fields": [ + { + "name": "cycle_col_list", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "cycle_mark_collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_column", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_default", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_neop", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_type", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_value", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "cycle_path_column", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CTESearchClause", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "search_breadth_first", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "search_col_list", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "search_seq_column", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CurrentOfExpr", + "wrapped": true, + "fields": [ + { + "name": "cursor_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cursor_param", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cvarno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DeallocateStmt", + "wrapped": true, + "fields": [ + { + "name": "isall", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DeclareCursorStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "portalname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DefElem", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "defaction", + "type": "DefElemAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "defname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "defnamespace", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DefineStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "definition", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "defnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldstyle", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DeleteStmt", + "wrapped": true, + "fields": [ + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "usingClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DiscardStmt", + "wrapped": true, + "fields": [ + { + "name": "target", + "type": "DiscardMode", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DistinctExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DoStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropdbStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropOwnedStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "removeType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DropSubscriptionStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DropTableSpaceStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DropUserMappingStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "user", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ExecuteStmt", + "wrapped": true, + "fields": [ + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "ExplainStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FetchStmt", + "wrapped": true, + "fields": [ + { + "name": "direction", + "type": "FetchDirection", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "howMany", + "type": "int64", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ismove", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "portalname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FieldSelect", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fieldnum", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FieldStore", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fieldnums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "newvals", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Float", + "wrapped": true, + "fields": [ + { + "name": "fval", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FromExpr", + "wrapped": true, + "fields": [ + { + "name": "fromlist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "quals", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FuncCall", + "wrapped": true, + "fields": [ + { + "name": "agg_distinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "agg_filter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "agg_order", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "agg_star", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "agg_within_group", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "func_variadic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "over", + "type": "WindowDef", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FuncExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcvariadic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FunctionParameter", + "wrapped": true, + "fields": [ + { + "name": "argType", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "defexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "mode", + "type": "FunctionParameterMode", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "GrantRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "granted_roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "grantee_roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "grantor", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "is_grant", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opt", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "GrantStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "grant_option", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "grantees", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "grantor", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "is_grant", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "privileges", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "targtype", + "type": "GrantTargetType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "GroupingFunc", + "wrapped": true, + "fields": [ + { + "name": "agglevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "GroupingSet", + "wrapped": true, + "fields": [ + { + "name": "content", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "kind", + "type": "GroupingSetKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ImportForeignSchemaStmt", + "wrapped": true, + "fields": [ + { + "name": "list_type", + "type": "ImportForeignSchemaType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "local_schema", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "remote_schema", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "server_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "table_list", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "IndexElem", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "indexcolname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_ordering", + "type": "SortByNulls", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opclass", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opclassopts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ordering", + "type": "SortByDir", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "IndexStmt", + "wrapped": true, + "fields": [ + { + "name": "accessMethod", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "deferrable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "excludeOpNames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "idxcomment", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "idxname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexIncludingParams", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "indexOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexParams", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "initdeferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isconstraint", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_not_distinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldCreateSubid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldFirstRelfilelocatorSubid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldNumber", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "primary", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "reset_default_tblspc", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tableSpace", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "transformed", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InferClause", + "wrapped": true, + "fields": [ + { + "name": "conname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexElems", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InferenceElem", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "infercollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inferopclass", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InlineCodeBlock", + "wrapped": true, + "fields": [ + { + "name": "atomic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "langIsTrusted", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "langOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "source_text", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InsertStmt", + "wrapped": true, + "fields": [ + { + "name": "cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onConflictClause", + "type": "OnConflictClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "selectStmt", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Integer", + "wrapped": true, + "fields": [ + { + "name": "ival", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "IntList", + "wrapped": true, + "fields": [ + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "IntoClause", + "wrapped": true, + "fields": [ + { + "name": "accessMethod", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colNames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onCommit", + "type": "OnCommitAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rel", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "skipData", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tableSpaceName", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "viewQuery", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JoinExpr", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isNatural", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "join_using_alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "jointype", + "type": "JoinType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "larg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "quals", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "rarg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "rtindex", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "usingClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "JsonAggConstructor", + "wrapped": true, + "fields": [ + { + "name": "agg_filter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "agg_order", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "over", + "type": "WindowDef", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonArgument", + "wrapped": true, + "fields": [ + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "val", + "type": "JsonValueExpr", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonArrayAgg", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "arg", + "type": "JsonValueExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constructor", + "type": "JsonAggConstructor", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonArrayConstructor", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonArrayQueryConstructor", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonBehavior", + "wrapped": true, + "fields": [ + { + "name": "btype", + "type": "JsonBehaviorType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "coerce", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonConstructorExpr", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coercion", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "func", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "returning", + "type": "JsonReturning", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "type", + "type": "JsonConstructorType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonExpr", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "column_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "formatted_expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "omit_quotes", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "on_empty", + "type": "JsonBehavior", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "on_error", + "type": "JsonBehavior", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "op", + "type": "JsonExprOp", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "passing_names", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "passing_values", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "path_spec", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "returning", + "type": "JsonReturning", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "use_io_coercion", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "use_json_coercion", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "wrapper", + "type": "JsonWrapper", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonFormat", + "wrapped": true, + "fields": [ + { + "name": "encoding", + "type": "JsonEncoding", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "format_type", + "type": "JsonFormatType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonFuncExpr", + "wrapped": true, + "fields": [ + { + "name": "column_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "context_item", + "type": "JsonValueExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "on_empty", + "type": "JsonBehavior", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "on_error", + "type": "JsonBehavior", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "op", + "type": "JsonExprOp", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "passing", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pathspec", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "quotes", + "type": "JsonQuotes", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "wrapper", + "type": "JsonWrapper", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonIsPredicate", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "item_type", + "type": "JsonValueType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "unique_keys", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonKeyValue", + "wrapped": true, + "fields": [ + { + "name": "key", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "value", + "type": "JsonValueExpr", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonObjectAgg", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "arg", + "type": "JsonKeyValue", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constructor", + "type": "JsonAggConstructor", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonObjectConstructor", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonOutput", + "wrapped": true, + "fields": [ + { + "name": "returning", + "type": "JsonReturning", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonParseExpr", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "JsonValueExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "unique_keys", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonReturning", + "wrapped": true, + "fields": [ + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "typid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonScalarExpr", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonSerializeExpr", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "JsonValueExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonTable", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "columns", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "context_item", + "type": "JsonValueExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "on_error", + "type": "JsonBehavior", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "passing", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pathspec", + "type": "JsonTablePathSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonTableColumn", + "wrapped": true, + "fields": [ + { + "name": "coltype", + "type": "JsonTableColumnType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "columns", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "on_empty", + "type": "JsonBehavior", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "on_error", + "type": "JsonBehavior", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "pathspec", + "type": "JsonTablePathSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "quotes", + "type": "JsonQuotes", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "wrapper", + "type": "JsonWrapper", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonTablePath", + "wrapped": true, + "fields": [ + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonTablePathScan", + "wrapped": true, + "fields": [ + { + "name": "child", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "colMax", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colMin", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "errorOnError", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "path", + "type": "JsonTablePath", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "plan", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonTablePathSpec", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name_location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "string", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonTableSiblingJoin", + "wrapped": true, + "fields": [ + { + "name": "lplan", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "plan", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "rplan", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonValueExpr", + "wrapped": true, + "fields": [ + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "formatted_expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "raw_expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "List", + "wrapped": true, + "fields": [ + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "ListenStmt", + "wrapped": true, + "fields": [ + { + "name": "conditionname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "LoadStmt", + "wrapped": true, + "fields": [ + { + "name": "filename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "LockingClause", + "wrapped": true, + "fields": [ + { + "name": "lockedRels", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "strength", + "type": "LockClauseStrength", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "waitPolicy", + "type": "LockWaitPolicy", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "LockStmt", + "wrapped": true, + "fields": [ + { + "name": "mode", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nowait", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "MergeAction", + "wrapped": true, + "fields": [ + { + "name": "commandType", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "matchKind", + "type": "MergeMatchKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "updateColnos", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "MergeStmt", + "wrapped": true, + "fields": [ + { + "name": "joinCondition", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "mergeWhenClauses", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "sourceRelation", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "MergeSupportFunc", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "msfcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "msftype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "MergeWhenClause", + "wrapped": true, + "fields": [ + { + "name": "commandType", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "condition", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "matchKind", + "type": "MergeMatchKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "values", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "MinMaxExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "minmaxcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "minmaxtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "op", + "type": "MinMaxOp", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "MultiAssignRef", + "wrapped": true, + "fields": [ + { + "name": "colno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ncolumns", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "source", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NamedArgExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "argnumber", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NextValueExpr", + "wrapped": true, + "fields": [ + { + "name": "seqid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NotifyStmt", + "wrapped": true, + "fields": [ + { + "name": "conditionname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "payload", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NullIfExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NullTest", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "argisrow", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulltesttype", + "type": "NullTestType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ObjectWithArgs", + "wrapped": true, + "fields": [ + { + "name": "args_unspecified", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "objfuncargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "objname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "OidList", + "wrapped": true, + "fields": [ + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "OnConflictClause", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "OnConflictAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "infer", + "type": "InferClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "OnConflictExpr", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "OnConflictAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "arbiterElems", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "arbiterWhere", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constraint", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exclRelIndex", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exclRelTlist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onConflictSet", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onConflictWhere", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "OpExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Param", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramid", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramkind", + "type": "ParamKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramtypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ParamRef", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "number", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ParseResult", + "wrapped": false, + "fields": [ + { + "name": "stmts", + "type": "RawStmt", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "version", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PartitionBoundSpec", + "wrapped": true, + "fields": [ + { + "name": "is_default", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "listdatums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lowerdatums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "modulus", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "remainder", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "strategy", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "upperdatums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "PartitionCmd", + "wrapped": true, + "fields": [ + { + "name": "bound", + "type": "PartitionBoundSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PartitionElem", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opclass", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "PartitionRangeDatum", + "wrapped": true, + "fields": [ + { + "name": "kind", + "type": "PartitionRangeDatumKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "value", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PartitionSpec", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "partParams", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "strategy", + "type": "PartitionStrategy", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PLAssignStmt", + "wrapped": true, + "fields": [ + { + "name": "indirection", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nnames", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "val", + "type": "SelectStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PrepareStmt", + "wrapped": true, + "fields": [ + { + "name": "argtypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PublicationObjSpec", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubobjtype", + "type": "PublicationObjSpecType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubtable", + "type": "PublicationTable", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PublicationTable", + "wrapped": true, + "fields": [ + { + "name": "columns", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Query", + "wrapped": true, + "fields": [ + { + "name": "canSetTag", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "commandType", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "constraintDeps", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "cteList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "distinctClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupDistinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "groupingSets", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "hasAggs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasDistinctOn", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasForUpdate", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasModifyingCTE", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasRecursive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasRowSecurity", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasSubLinks", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasTargetSRFs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasWindowFuncs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "havingQual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isReturn", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "jointree", + "type": "FromExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitCount", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOption", + "type": "LimitOption", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "mergeActionList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "mergeJoinCondition", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "mergeTargetRelation", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "onConflict", + "type": "OnConflictExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "querySource", + "type": "QuerySource", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultRelation", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rowMarks", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rtable", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rteperminfos", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "setOperations", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sortClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "stmt_len", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stmt_location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "utilityStmt", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "windowClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "withCheckOptions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RangeFunction", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coldeflist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "functions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "is_rowsfrom", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ordinality", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeSubselect", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subquery", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTableFunc", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "columns", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "docexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "namespaces", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rowexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTableFuncCol", + "wrapped": true, + "fields": [ + { + "name": "coldefexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "colexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "colname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "for_ordinality", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_not_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTableSample", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "method", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "repeatable", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTblEntry", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "colcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctelevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ctename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "enrname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "enrtuples", + "type": "double", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "eref", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "funcordinality", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "functions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inFromCl", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inh", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "join_using_alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "joinaliasvars", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "joinleftcols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "joinmergedcols", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "joinrightcols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "jointype", + "type": "JoinType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "perminfoindex", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relkind", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rellockmode", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rtekind", + "type": "RTEKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "security_barrier", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "securityQuals", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "self_reference", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subquery", + "type": "Query", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tablefunc", + "type": "TableFunc", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tablesample", + "type": "TableSampleClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "values_lists", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RangeTblFunction", + "wrapped": true, + "fields": [ + { + "name": "funccolcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccolcount", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funccolnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccoltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccoltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funcexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "funcparams", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RangeTblRef", + "wrapped": true, + "fields": [ + { + "name": "rtindex", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeVar", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "catalogname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inh", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relpersistence", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "schemaname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RawStmt", + "wrapped": true, + "fields": [ + { + "name": "stmt", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "stmt_len", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stmt_location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReassignOwnedStmt", + "wrapped": true, + "fields": [ + { + "name": "newrole", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RefreshMatViewStmt", + "wrapped": true, + "fields": [ + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "skipData", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReindexStmt", + "wrapped": true, + "fields": [ + { + "name": "kind", + "type": "ReindexObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RelabelType", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relabelformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RenameStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relationType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "renameType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReplicaIdentityStmt", + "wrapped": true, + "fields": [ + { + "name": "identity_type", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ResTarget", + "wrapped": true, + "fields": [ + { + "name": "indirection", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "val", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReturnStmt", + "wrapped": true, + "fields": [ + { + "name": "returnval", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RoleSpec", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rolename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roletype", + "type": "RoleSpecType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RowCompareExpr", + "wrapped": true, + "fields": [ + { + "name": "inputcollids", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "largs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opfamilies", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opnos", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rctype", + "type": "RowCompareType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RowExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "row_format", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "row_typeid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RowMarkClause", + "wrapped": true, + "fields": [ + { + "name": "pushedDown", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rti", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "strength", + "type": "LockClauseStrength", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "waitPolicy", + "type": "LockWaitPolicy", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RTEPermissionInfo", + "wrapped": true, + "fields": [ + { + "name": "checkAsUser", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inh", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "insertedCols", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "relid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "requiredPerms", + "type": "uint64", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "selectedCols", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "updatedCols", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RuleStmt", + "wrapped": true, + "fields": [ + { + "name": "actions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "event", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "instead", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rulename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ScalarArrayOpExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "useOr", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ScanResult", + "wrapped": false, + "fields": [ + { + "name": "tokens", + "type": "ScanToken", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "version", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ScanToken", + "wrapped": false, + "fields": [ + { + "name": "end", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "keywordKind", + "type": "KeywordKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "start", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "token", + "type": "Token", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SecLabelStmt", + "wrapped": true, + "fields": [ + { + "name": "label", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "provider", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SelectStmt", + "wrapped": true, + "fields": [ + { + "name": "all", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "distinctClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fromClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupDistinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "havingClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "intoClause", + "type": "IntoClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "larg", + "type": "SelectStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitCount", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOption", + "type": "LimitOption", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lockingClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "op", + "type": "SetOperation", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rarg", + "type": "SelectStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sortClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "valuesLists", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "windowClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SetOperationStmt", + "wrapped": true, + "fields": [ + { + "name": "all", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colCollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colTypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colTypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupClauses", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "larg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "op", + "type": "SetOperation", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rarg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SetToDefault", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeMod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SinglePartitionSpec", + "wrapped": true, + "fields": [] + }, + { + "name": "SortBy", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "node", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sortby_dir", + "type": "SortByDir", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sortby_nulls", + "type": "SortByNulls", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "useOp", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "SortGroupClause", + "wrapped": true, + "fields": [ + { + "name": "eqop", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hashable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_first", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sortop", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tleSortGroupRef", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SQLValueFunction", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "op", + "type": "SQLValueFunctionOp", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "type", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "StatsElem", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "String", + "wrapped": true, + "fields": [ + { + "name": "sval", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SubLink", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "operName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "subLinkId", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subLinkType", + "type": "SubLinkType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subselect", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "testexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SubPlan", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "firstColCollation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "firstColType", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "firstColTypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "parallel_safe", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramIds", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "parParam", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "per_call_cost", + "type": "double", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "plan_id", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "plan_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "setParam", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "startup_cost", + "type": "double", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subLinkType", + "type": "SubLinkType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "testexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "unknownEqFalse", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "useHashTable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SubscriptingRef", + "wrapped": true, + "fields": [ + { + "name": "refassgnexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "refcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refcontainertype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refelemtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "reflowerindexpr", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "refrestype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "reftypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refupperindexpr", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TableFunc", + "wrapped": true, + "fields": [ + { + "name": "colcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coldefexprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colexprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colvalexprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "docexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "functype", + "type": "TableFuncType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "notnulls", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "ns_names", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ns_uris", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ordinalitycol", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "passingvalexprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "plan", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "rowexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TableLikeClause", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relationOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TableSampleClause", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "repeatable", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tsmhandler", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TargetEntry", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "resjunk", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resorigcol", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resorigtbl", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ressortgroupref", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TransactionStmt", + "wrapped": true, + "fields": [ + { + "name": "chain", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "gid", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "TransactionStmtKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "savepoint_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TriggerTransition", + "wrapped": true, + "fields": [ + { + "name": "isNew", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isTable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TruncateStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "restart_seqs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TypeCast", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TypeName", + "wrapped": true, + "fields": [ + { + "name": "arrayBounds", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "names", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pct_type", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "setof", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typemod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "UnlistenStmt", + "wrapped": true, + "fields": [ + { + "name": "conditionname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "UpdateStmt", + "wrapped": true, + "fields": [ + { + "name": "fromClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "VacuumRelation", + "wrapped": true, + "fields": [ + { + "name": "oid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "va_cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "VacuumStmt", + "wrapped": true, + "fields": [ + { + "name": "is_vacuumcmd", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rels", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "Var", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varattno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varlevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varnullingrels", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "vartype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "vartypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "VariableSetStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "is_local", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "VariableSetKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "VariableShowStmt", + "wrapped": true, + "fields": [ + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ViewStmt", + "wrapped": true, + "fields": [ + { + "name": "aliases", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "view", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withCheckOption", + "type": "ViewCheckOption", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WindowClause", + "wrapped": true, + "fields": [ + { + "name": "copiedOrder", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "endInRangeFunc", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "endOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "frameOptions", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inRangeAsc", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inRangeColl", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inRangeNullsFirst", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "orderClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "partitionClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "refname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "startInRangeFunc", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "startOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "winref", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WindowDef", + "wrapped": true, + "fields": [ + { + "name": "endOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "frameOptions", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "orderClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "partitionClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "refname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "startOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WindowFunc", + "wrapped": true, + "fields": [ + { + "name": "aggfilter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "runCondition", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "winagg", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "wincollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winfnoid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winref", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winstar", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "wintype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WindowFuncRunCondition", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "wfunc_left", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WithCheckOption", + "wrapped": true, + "fields": [ + { + "name": "cascaded", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "WCOKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "polname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WithClause", + "wrapped": true, + "fields": [ + { + "name": "ctes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "recursive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "XmlExpr", + "wrapped": true, + "fields": [ + { + "name": "arg_names", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "indent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "named_args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "op", + "type": "XmlExprOp", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "type", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xmloption", + "type": "XmlOptionType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "XmlSerialize", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "indent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "xmloption", + "type": "XmlOptionType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + } +] \ No newline at end of file diff --git a/__fixtures__/output/runtime-schema/typescript/custom-filename/custom-node-specs.ts b/__fixtures__/output/runtime-schema/typescript/custom-filename/custom-node-specs.ts new file mode 100644 index 0000000..cea353c --- /dev/null +++ b/__fixtures__/output/runtime-schema/typescript/custom-filename/custom-node-specs.ts @@ -0,0 +1,10659 @@ +/** +* This file was automatically generated by pg-proto-parser@latest. +* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, +* and run the pg-proto-parser generate command to regenerate this file. +*/ +// Generated by pg-proto-parser +export interface FieldSpec { + name: string; + type: string; + isNode: boolean; + isArray: boolean; + optional: boolean; +} +export interface NodeSpec { + name: string; + wrapped: boolean; + fields: FieldSpec[]; +} +export const runtimeSchema: NodeSpec[] = [ + { + name: 'A_ArrayExpr', + wrapped: true, + fields: [ + { + name: 'elements', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'A_Const', + wrapped: true, + fields: [ + { + name: 'boolval', + type: 'Boolean', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'bsval', + type: 'BitString', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'fval', + type: 'Float', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'isnull', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ival', + type: 'Integer', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sval', + type: 'String', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'A_Expr', + wrapped: true, + fields: [ + { + name: 'kind', + type: 'A_Expr_Kind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'A_Indices', + wrapped: true, + fields: [ + { + name: 'is_slice', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lidx', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'uidx', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'A_Indirection', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'indirection', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'A_Star', + wrapped: true, + fields: [ + + ] + }, + { + name: 'AccessPriv', + wrapped: true, + fields: [ + { + name: 'cols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'priv_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'Aggref', + wrapped: true, + fields: [ + { + name: 'aggargtypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'aggcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggdirectargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'aggdistinct', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'aggfilter', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'aggfnoid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggkind', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'agglevelsup', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggorder', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'aggsplit', + type: 'AggSplit', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggstar', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggtransno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggtype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggvariadic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Alias', + wrapped: true, + fields: [ + { + name: 'aliasname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'colnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterCollationStmt', + wrapped: true, + fields: [ + { + name: 'collname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterDatabaseRefreshCollStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterDatabaseSetStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'setstmt', + type: 'VariableSetStmt', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterDatabaseStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterDefaultPrivilegesStmt', + wrapped: true, + fields: [ + { + name: 'action', + type: 'GrantStmt', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterDomainStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'def', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subtype', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterEnumStmt', + wrapped: true, + fields: [ + { + name: 'newVal', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newValIsAfter', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newValNeighbor', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldVal', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'skipIfNewValExists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterEventTrigStmt', + wrapped: true, + fields: [ + { + name: 'tgenabled', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'trigname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterExtensionContentsStmt', + wrapped: true, + fields: [ + { + name: 'action', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'extname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterExtensionStmt', + wrapped: true, + fields: [ + { + name: 'extname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterFdwStmt', + wrapped: true, + fields: [ + { + name: 'fdwname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'func_options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterForeignServerStmt', + wrapped: true, + fields: [ + { + name: 'has_version', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'version', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterFunctionStmt', + wrapped: true, + fields: [ + { + name: 'actions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'func', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlternativeSubPlan', + wrapped: true, + fields: [ + { + name: 'subplans', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterObjectDependsStmt', + wrapped: true, + fields: [ + { + name: 'extname', + type: 'String', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objectType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'remove', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterObjectSchemaStmt', + wrapped: true, + fields: [ + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newschema', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objectType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterOperatorStmt', + wrapped: true, + fields: [ + { + name: 'opername', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterOpFamilyStmt', + wrapped: true, + fields: [ + { + name: 'amname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'isDrop', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opfamilyname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterOwnerStmt', + wrapped: true, + fields: [ + { + name: 'newowner', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objectType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterPolicyStmt', + wrapped: true, + fields: [ + { + name: 'policy_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'qual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'table', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'with_check', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterPublicationStmt', + wrapped: true, + fields: [ + { + name: 'action', + type: 'AlterPublicationAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'for_all_tables', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pubname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pubobjects', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterRoleSetStmt', + wrapped: true, + fields: [ + { + name: 'database', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'role', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'setstmt', + type: 'VariableSetStmt', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterRoleStmt', + wrapped: true, + fields: [ + { + name: 'action', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'role', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterSeqStmt', + wrapped: true, + fields: [ + { + name: 'for_identity', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'sequence', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterStatsStmt', + wrapped: true, + fields: [ + { + name: 'defnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'stxstattarget', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterSubscriptionStmt', + wrapped: true, + fields: [ + { + name: 'conninfo', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'AlterSubscriptionType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'publication', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'subname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterSystemStmt', + wrapped: true, + fields: [ + { + name: 'setstmt', + type: 'VariableSetStmt', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterTableCmd', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'def', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newowner', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'num', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'recurse', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subtype', + type: 'AlterTableType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterTableMoveAllStmt', + wrapped: true, + fields: [ + { + name: 'new_tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nowait', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'orig_tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterTableSpaceOptionsStmt', + wrapped: true, + fields: [ + { + name: 'isReset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterTableStmt', + wrapped: true, + fields: [ + { + name: 'cmds', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterTSConfigurationStmt', + wrapped: true, + fields: [ + { + name: 'cfgname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'dicts', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'kind', + type: 'AlterTSConfigType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tokentype', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterTSDictionaryStmt', + wrapped: true, + fields: [ + { + name: 'dictname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterTypeStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterUserMappingStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'user', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ArrayCoerceExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'coerceformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'elemexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ArrayExpr', + wrapped: true, + fields: [ + { + name: 'array_collid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'array_typeid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'element_typeid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'elements', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'multidims', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'BitString', + wrapped: true, + fields: [ + { + name: 'bsval', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'Boolean', + wrapped: true, + fields: [ + { + name: 'boolval', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'BooleanTest', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'booltesttype', + type: 'BoolTestType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'BoolExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'boolop', + type: 'BoolExprType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CallContext', + wrapped: true, + fields: [ + { + name: 'atomic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CallStmt', + wrapped: true, + fields: [ + { + name: 'funccall', + type: 'FuncCall', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'funcexpr', + type: 'FuncExpr', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'outargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CaseExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'casecollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'casetype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'defresult', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CaseTestExpr', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeMod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CaseWhen', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'result', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CheckPointStmt', + wrapped: true, + fields: [ + + ] + }, + { + name: 'ClosePortalStmt', + wrapped: true, + fields: [ + { + name: 'portalname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ClusterStmt', + wrapped: true, + fields: [ + { + name: 'indexname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'params', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CoalesceExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coalescecollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'coalescetype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CoerceToDomain', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'coercionformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CoerceToDomainValue', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeMod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CoerceViaIO', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'coerceformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CollateClause', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'collname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CollateExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'collOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ColumnDef', + wrapped: true, + fields: [ + { + name: 'collClause', + type: 'CollateClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'collOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'colname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'compression', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'constraints', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'cooked_default', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'fdwoptions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'generated', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'identity', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'identitySequence', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'inhcount', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_from_type', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_local', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_not_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'raw_default', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'storage', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'storage_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ColumnRef', + wrapped: true, + fields: [ + { + name: 'fields', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CommentStmt', + wrapped: true, + fields: [ + { + name: 'comment', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CommonTableExpr', + wrapped: true, + fields: [ + { + name: 'aliascolnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctecolcollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctecolnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctecoltypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctecoltypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctematerialized', + type: 'CTEMaterialize', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ctename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ctequery', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'cterecursive', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cterefcount', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_clause', + type: 'CTECycleClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'search_clause', + type: 'CTESearchClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CompositeTypeStmt', + wrapped: true, + fields: [ + { + name: 'coldeflist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'typevar', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Constraint', + wrapped: true, + fields: [ + { + name: 'access_method', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'conname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'contype', + type: 'ConstrType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cooked_expr', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'deferrable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exclusions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'fk_attrs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'fk_del_action', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'fk_del_set_cols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'fk_matchtype', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'fk_upd_action', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'generated_when', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'including', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'indexname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'indexspace', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'initdeferred', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'initially_valid', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_no_inherit', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'keys', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulls_not_distinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'old_conpfeqop', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'old_pktable_oid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pk_attrs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pktable', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'raw_expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'reset_default_tblspc', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'skip_validation', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'where_clause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ConstraintsSetStmt', + wrapped: true, + fields: [ + { + name: 'constraints', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'deferred', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ConvertRowtypeExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'convertformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CopyStmt', + wrapped: true, + fields: [ + { + name: 'attlist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'filename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_from', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_program', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateAmStmt', + wrapped: true, + fields: [ + { + name: 'amname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'amtype', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'handler_name', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateCastStmt', + wrapped: true, + fields: [ + { + name: 'context', + type: 'CoercionContext', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'func', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'inout', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sourcetype', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'targettype', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateConversionStmt', + wrapped: true, + fields: [ + { + name: 'conversion_name', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'def', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'for_encoding_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'func_name', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'to_encoding_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreatedbStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateDomainStmt', + wrapped: true, + fields: [ + { + name: 'collClause', + type: 'CollateClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'constraints', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'domainname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateEnumStmt', + wrapped: true, + fields: [ + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'vals', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateEventTrigStmt', + wrapped: true, + fields: [ + { + name: 'eventname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'trigname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whenclause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateExtensionStmt', + wrapped: true, + fields: [ + { + name: 'extname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateFdwStmt', + wrapped: true, + fields: [ + { + name: 'fdwname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'func_options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateForeignServerStmt', + wrapped: true, + fields: [ + { + name: 'fdwname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'servertype', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'version', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateForeignTableStmt', + wrapped: true, + fields: [ + { + name: 'base', + type: 'CreateStmt', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateFunctionStmt', + wrapped: true, + fields: [ + { + name: 'funcname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'is_procedure', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'parameters', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'returnType', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sql_body', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateOpClassItem', + wrapped: true, + fields: [ + { + name: 'class_args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'itemtype', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'number', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'order_family', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'storedtype', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateOpClassStmt', + wrapped: true, + fields: [ + { + name: 'amname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'datatype', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'isDefault', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opclassname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opfamilyname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateOpFamilyStmt', + wrapped: true, + fields: [ + { + name: 'amname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opfamilyname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreatePLangStmt', + wrapped: true, + fields: [ + { + name: 'plhandler', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'plinline', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'plname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pltrusted', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'plvalidator', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreatePolicyStmt', + wrapped: true, + fields: [ + { + name: 'cmd_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'permissive', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'policy_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'qual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'table', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'with_check', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreatePublicationStmt', + wrapped: true, + fields: [ + { + name: 'for_all_tables', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pubname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pubobjects', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateRangeStmt', + wrapped: true, + fields: [ + { + name: 'params', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateRoleStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'role', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'stmt_type', + type: 'RoleStmtType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateSchemaStmt', + wrapped: true, + fields: [ + { + name: 'authrole', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'schemaElts', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'schemaname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateSeqStmt', + wrapped: true, + fields: [ + { + name: 'for_identity', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ownerId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sequence', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateStatsStmt', + wrapped: true, + fields: [ + { + name: 'defnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'exprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'stat_types', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'stxcomment', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'transformed', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateStmt', + wrapped: true, + fields: [ + { + name: 'accessMethod', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'constraints', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inhRelations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ofTypename', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'oncommit', + type: 'OnCommitAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'partbound', + type: 'PartitionBoundSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'partspec', + type: 'PartitionSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tableElts', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateSubscriptionStmt', + wrapped: true, + fields: [ + { + name: 'conninfo', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'publication', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'subname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateTableAsStmt', + wrapped: true, + fields: [ + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'into', + type: 'IntoClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'is_select_into', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateTableSpaceStmt', + wrapped: true, + fields: [ + { + name: 'location', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'owner', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateTransformStmt', + wrapped: true, + fields: [ + { + name: 'fromsql', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'lang', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tosql', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'type_name', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateTrigStmt', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'columns', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'constrrel', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'deferrable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'events', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'initdeferred', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'isconstraint', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'row', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'timing', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'transitionRels', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'trigname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whenClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateUserMappingStmt', + wrapped: true, + fields: [ + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'user', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CTECycleClause', + wrapped: true, + fields: [ + { + name: 'cycle_col_list', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'cycle_mark_collation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_column', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_default', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_neop', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_type', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_typmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_value', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'cycle_path_column', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CTESearchClause', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'search_breadth_first', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'search_col_list', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'search_seq_column', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CurrentOfExpr', + wrapped: true, + fields: [ + { + name: 'cursor_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cursor_param', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cvarno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'DeallocateStmt', + wrapped: true, + fields: [ + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DeclareCursorStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'portalname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'DefElem', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'defaction', + type: 'DefElemAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'defname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'defnamespace', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DefineStmt', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'definition', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'defnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldstyle', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DeleteStmt', + wrapped: true, + fields: [ + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'returningList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'usingClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'DiscardStmt', + wrapped: true, + fields: [ + { + name: 'target', + type: 'DiscardMode', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DistinctExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opresulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opretset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'DoStmt', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'DropdbStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'DropOwnedStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'DropRoleStmt', + wrapped: true, + fields: [ + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'DropStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'concurrent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objects', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'removeType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DropSubscriptionStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DropTableSpaceStmt', + wrapped: true, + fields: [ + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DropUserMappingStmt', + wrapped: true, + fields: [ + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'user', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ExecuteStmt', + wrapped: true, + fields: [ + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'params', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'ExplainStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FetchStmt', + wrapped: true, + fields: [ + { + name: 'direction', + type: 'FetchDirection', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'howMany', + type: 'int64', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ismove', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'portalname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'FieldSelect', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'fieldnum', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FieldStore', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'fieldnums', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'newvals', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Float', + wrapped: true, + fields: [ + { + name: 'fval', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'FromExpr', + wrapped: true, + fields: [ + { + name: 'fromlist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'quals', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FuncCall', + wrapped: true, + fields: [ + { + name: 'agg_distinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'agg_filter', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'agg_order', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'agg_star', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'agg_within_group', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'func_variadic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'over', + type: 'WindowDef', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FuncExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funccollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcresulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcretset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcvariadic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FunctionParameter', + wrapped: true, + fields: [ + { + name: 'argType', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'defexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'mode', + type: 'FunctionParameterMode', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'GrantRoleStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'granted_roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'grantee_roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'grantor', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'is_grant', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opt', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'GrantStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'grant_option', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'grantees', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'grantor', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'is_grant', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objects', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'privileges', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'targtype', + type: 'GrantTargetType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'GroupingFunc', + wrapped: true, + fields: [ + { + name: 'agglevelsup', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'GroupingSet', + wrapped: true, + fields: [ + { + name: 'content', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'kind', + type: 'GroupingSetKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ImportForeignSchemaStmt', + wrapped: true, + fields: [ + { + name: 'list_type', + type: 'ImportForeignSchemaType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'local_schema', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'remote_schema', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'server_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'table_list', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'IndexElem', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'indexcolname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulls_ordering', + type: 'SortByNulls', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opclass', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opclassopts', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ordering', + type: 'SortByDir', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'IndexStmt', + wrapped: true, + fields: [ + { + name: 'accessMethod', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'concurrent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'deferrable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'excludeOpNames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'idxcomment', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'idxname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'indexIncludingParams', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'indexOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'indexParams', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'initdeferred', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'isconstraint', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulls_not_distinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldCreateSubid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldFirstRelfilelocatorSubid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldNumber', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'primary', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'reset_default_tblspc', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tableSpace', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'transformed', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'unique', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'InferClause', + wrapped: true, + fields: [ + { + name: 'conname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'indexElems', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'InferenceElem', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'infercollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inferopclass', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'InlineCodeBlock', + wrapped: true, + fields: [ + { + name: 'atomic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'langIsTrusted', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'langOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'source_text', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'InsertStmt', + wrapped: true, + fields: [ + { + name: 'cols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'onConflictClause', + type: 'OnConflictClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'OverridingKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'returningList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'selectStmt', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Integer', + wrapped: true, + fields: [ + { + name: 'ival', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'IntList', + wrapped: true, + fields: [ + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'IntoClause', + wrapped: true, + fields: [ + { + name: 'accessMethod', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'colNames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'onCommit', + type: 'OnCommitAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rel', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'skipData', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tableSpaceName', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'viewQuery', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JoinExpr', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'isNatural', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'join_using_alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'jointype', + type: 'JoinType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'larg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'quals', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'rarg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'rtindex', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'usingClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'JsonAggConstructor', + wrapped: true, + fields: [ + { + name: 'agg_filter', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'agg_order', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'output', + type: 'JsonOutput', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'over', + type: 'WindowDef', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonArrayAgg', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'arg', + type: 'JsonValueExpr', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'constructor', + type: 'JsonAggConstructor', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonArrayConstructor', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'output', + type: 'JsonOutput', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonArrayQueryConstructor', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'format', + type: 'JsonFormat', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'output', + type: 'JsonOutput', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonConstructorExpr', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coercion', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'func', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'returning', + type: 'JsonReturning', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'type', + type: 'JsonConstructorType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'unique', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonFormat', + wrapped: true, + fields: [ + { + name: 'encoding', + type: 'JsonEncoding', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'format_type', + type: 'JsonFormatType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonIsPredicate', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'format', + type: 'JsonFormat', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'item_type', + type: 'JsonValueType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'unique_keys', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonKeyValue', + wrapped: true, + fields: [ + { + name: 'key', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'value', + type: 'JsonValueExpr', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonObjectAgg', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'arg', + type: 'JsonKeyValue', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'constructor', + type: 'JsonAggConstructor', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'unique', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonObjectConstructor', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'output', + type: 'JsonOutput', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'unique', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonOutput', + wrapped: true, + fields: [ + { + name: 'returning', + type: 'JsonReturning', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonReturning', + wrapped: true, + fields: [ + { + name: 'format', + type: 'JsonFormat', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'typid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonValueExpr', + wrapped: true, + fields: [ + { + name: 'format', + type: 'JsonFormat', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'formatted_expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'raw_expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'List', + wrapped: true, + fields: [ + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'ListenStmt', + wrapped: true, + fields: [ + { + name: 'conditionname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'LoadStmt', + wrapped: true, + fields: [ + { + name: 'filename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'LockingClause', + wrapped: true, + fields: [ + { + name: 'lockedRels', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'strength', + type: 'LockClauseStrength', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'waitPolicy', + type: 'LockWaitPolicy', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'LockStmt', + wrapped: true, + fields: [ + { + name: 'mode', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nowait', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'MergeAction', + wrapped: true, + fields: [ + { + name: 'commandType', + type: 'CmdType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'matched', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'OverridingKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'qual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'updateColnos', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'MergeStmt', + wrapped: true, + fields: [ + { + name: 'joinCondition', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'mergeWhenClauses', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sourceRelation', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'MergeWhenClause', + wrapped: true, + fields: [ + { + name: 'commandType', + type: 'CmdType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'condition', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'matched', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'OverridingKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'values', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'MinMaxExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'minmaxcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'minmaxtype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'op', + type: 'MinMaxOp', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'MultiAssignRef', + wrapped: true, + fields: [ + { + name: 'colno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ncolumns', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'source', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'NamedArgExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'argnumber', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'NextValueExpr', + wrapped: true, + fields: [ + { + name: 'seqid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'NotifyStmt', + wrapped: true, + fields: [ + { + name: 'conditionname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'payload', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'NullIfExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opresulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opretset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'NullTest', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'argisrow', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulltesttype', + type: 'NullTestType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ObjectWithArgs', + wrapped: true, + fields: [ + { + name: 'args_unspecified', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'objfuncargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'objname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'OidList', + wrapped: true, + fields: [ + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'OnConflictClause', + wrapped: true, + fields: [ + { + name: 'action', + type: 'OnConflictAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'infer', + type: 'InferClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'OnConflictExpr', + wrapped: true, + fields: [ + { + name: 'action', + type: 'OnConflictAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'arbiterElems', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'arbiterWhere', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'constraint', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exclRelIndex', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exclRelTlist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'onConflictSet', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'onConflictWhere', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'OpExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opresulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opretset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Param', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramid', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramkind', + type: 'ParamKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramtype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramtypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ParamRef', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'number', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ParseResult', + wrapped: false, + fields: [ + { + name: 'stmts', + type: 'RawStmt', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'version', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'PartitionBoundSpec', + wrapped: true, + fields: [ + { + name: 'is_default', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'listdatums', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lowerdatums', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'modulus', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'remainder', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'strategy', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'upperdatums', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'PartitionCmd', + wrapped: true, + fields: [ + { + name: 'bound', + type: 'PartitionBoundSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'concurrent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PartitionElem', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opclass', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'PartitionRangeDatum', + wrapped: true, + fields: [ + { + name: 'kind', + type: 'PartitionRangeDatumKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'value', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PartitionSpec', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'partParams', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'strategy', + type: 'PartitionStrategy', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'PLAssignStmt', + wrapped: true, + fields: [ + { + name: 'indirection', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nnames', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'val', + type: 'SelectStmt', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PrepareStmt', + wrapped: true, + fields: [ + { + name: 'argtypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PublicationObjSpec', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pubobjtype', + type: 'PublicationObjSpecType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pubtable', + type: 'PublicationTable', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PublicationTable', + wrapped: true, + fields: [ + { + name: 'columns', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Query', + wrapped: true, + fields: [ + { + name: 'canSetTag', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'commandType', + type: 'CmdType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'constraintDeps', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'cteList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'distinctClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupDistinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'groupingSets', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'hasAggs', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasDistinctOn', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasForUpdate', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasModifyingCTE', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasRecursive', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasRowSecurity', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasSubLinks', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasTargetSRFs', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasWindowFuncs', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'havingQual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'isReturn', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'jointree', + type: 'FromExpr', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitCount', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitOption', + type: 'LimitOption', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'mergeActionList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'mergeUseOuterJoin', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'onConflict', + type: 'OnConflictExpr', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'OverridingKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'querySource', + type: 'QuerySource', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultRelation', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'returningList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rowMarks', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rtable', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rteperminfos', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'setOperations', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sortClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'stmt_len', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'stmt_location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'utilityStmt', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'windowClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'withCheckOptions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'RangeFunction', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'coldeflist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'functions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'is_rowsfrom', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lateral', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ordinality', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeSubselect', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'lateral', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subquery', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeTableFunc', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'columns', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'docexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'lateral', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'namespaces', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rowexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeTableFuncCol', + wrapped: true, + fields: [ + { + name: 'coldefexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'colexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'colname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'for_ordinality', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_not_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeTableSample', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'method', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'repeatable', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeTblEntry', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'colcollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coltypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coltypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctelevelsup', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ctename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'enrname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'enrtuples', + type: 'double', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'eref', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'funcordinality', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'functions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inFromCl', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inh', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'join_using_alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'joinaliasvars', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'joinleftcols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'joinmergedcols', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'joinrightcols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'jointype', + type: 'JoinType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lateral', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'perminfoindex', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relkind', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rellockmode', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rtekind', + type: 'RTEKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'security_barrier', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'securityQuals', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'self_reference', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subquery', + type: 'Query', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tablefunc', + type: 'TableFunc', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tablesample', + type: 'TableSampleClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'values_lists', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'RangeTblFunction', + wrapped: true, + fields: [ + { + name: 'funccolcollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funccolcount', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funccolnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funccoltypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funccoltypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funcexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'funcparams', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + } + ] + }, + { + name: 'RangeTblRef', + wrapped: true, + fields: [ + { + name: 'rtindex', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeVar', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'catalogname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inh', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relpersistence', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'schemaname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RawStmt', + wrapped: true, + fields: [ + { + name: 'stmt', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'stmt_len', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'stmt_location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ReassignOwnedStmt', + wrapped: true, + fields: [ + { + name: 'newrole', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'RefreshMatViewStmt', + wrapped: true, + fields: [ + { + name: 'concurrent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'skipData', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ReindexStmt', + wrapped: true, + fields: [ + { + name: 'kind', + type: 'ReindexObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'params', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RelabelType', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relabelformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RenameStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relationType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'renameType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ReplicaIdentityStmt', + wrapped: true, + fields: [ + { + name: 'identity_type', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ResTarget', + wrapped: true, + fields: [ + { + name: 'indirection', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'val', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ReturnStmt', + wrapped: true, + fields: [ + { + name: 'returnval', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RoleSpec', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rolename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'roletype', + type: 'RoleSpecType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RowCompareExpr', + wrapped: true, + fields: [ + { + name: 'inputcollids', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'largs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opfamilies', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opnos', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rctype', + type: 'RowCompareType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RowExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'row_format', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'row_typeid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RowMarkClause', + wrapped: true, + fields: [ + { + name: 'pushedDown', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rti', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'strength', + type: 'LockClauseStrength', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'waitPolicy', + type: 'LockWaitPolicy', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RTEPermissionInfo', + wrapped: true, + fields: [ + { + name: 'checkAsUser', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inh', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'insertedCols', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'relid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'requiredPerms', + type: 'uint64', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'selectedCols', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'updatedCols', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + } + ] + }, + { + name: 'RuleStmt', + wrapped: true, + fields: [ + { + name: 'actions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'event', + type: 'CmdType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'instead', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rulename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ScalarArrayOpExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'useOr', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ScanResult', + wrapped: false, + fields: [ + { + name: 'tokens', + type: 'ScanToken', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'version', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ScanToken', + wrapped: false, + fields: [ + { + name: 'end', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'keywordKind', + type: 'KeywordKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'start', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'token', + type: 'Token', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'SecLabelStmt', + wrapped: true, + fields: [ + { + name: 'label', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'provider', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'SelectStmt', + wrapped: true, + fields: [ + { + name: 'all', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'distinctClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'fromClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupDistinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'havingClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'intoClause', + type: 'IntoClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'larg', + type: 'SelectStmt', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitCount', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitOption', + type: 'LimitOption', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lockingClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'op', + type: 'SetOperation', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rarg', + type: 'SelectStmt', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sortClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'valuesLists', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'windowClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SetOperationStmt', + wrapped: true, + fields: [ + { + name: 'all', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'colCollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colTypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colTypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupClauses', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'larg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'op', + type: 'SetOperation', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rarg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SetToDefault', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeMod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SortBy', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'node', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sortby_dir', + type: 'SortByDir', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sortby_nulls', + type: 'SortByNulls', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'useOp', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'SortGroupClause', + wrapped: true, + fields: [ + { + name: 'eqop', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hashable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulls_first', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sortop', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tleSortGroupRef', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'SQLValueFunction', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'op', + type: 'SQLValueFunctionOp', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'type', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'StatsElem', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'String', + wrapped: true, + fields: [ + { + name: 'sval', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'SubLink', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'operName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'subLinkId', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subLinkType', + type: 'SubLinkType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subselect', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'testexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SubPlan', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'firstColCollation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'firstColType', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'firstColTypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'parallel_safe', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramIds', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'parParam', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'per_call_cost', + type: 'double', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'plan_id', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'plan_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'setParam', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'startup_cost', + type: 'double', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subLinkType', + type: 'SubLinkType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'testexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'unknownEqFalse', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'useHashTable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SubscriptingRef', + wrapped: true, + fields: [ + { + name: 'refassgnexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'refcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refcontainertype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refelemtype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'reflowerindexpr', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'refrestype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'reftypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refupperindexpr', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'TableFunc', + wrapped: true, + fields: [ + { + name: 'colcollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coldefexprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colexprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coltypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coltypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'docexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'notnulls', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'ns_names', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ns_uris', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ordinalitycol', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rowexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'TableLikeClause', + wrapped: true, + fields: [ + { + name: 'options', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relationOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TableSampleClause', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'repeatable', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tsmhandler', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TargetEntry', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'resjunk', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resorigcol', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resorigtbl', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ressortgroupref', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'TransactionStmt', + wrapped: true, + fields: [ + { + name: 'chain', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'gid', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'TransactionStmtKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'savepoint_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TriggerTransition', + wrapped: true, + fields: [ + { + name: 'isNew', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'isTable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TruncateStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'restart_seqs', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TypeCast', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'TypeName', + wrapped: true, + fields: [ + { + name: 'arrayBounds', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'names', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pct_type', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'setof', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typemod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'UnlistenStmt', + wrapped: true, + fields: [ + { + name: 'conditionname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'UpdateStmt', + wrapped: true, + fields: [ + { + name: 'fromClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'returningList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'VacuumRelation', + wrapped: true, + fields: [ + { + name: 'oid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'va_cols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'VacuumStmt', + wrapped: true, + fields: [ + { + name: 'is_vacuumcmd', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rels', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'Var', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varattno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varlevelsup', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varnullingrels', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'vartype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'vartypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'VariableSetStmt', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'is_local', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'VariableSetKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'VariableShowStmt', + wrapped: true, + fields: [ + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ViewStmt', + wrapped: true, + fields: [ + { + name: 'aliases', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'view', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withCheckOption', + type: 'ViewCheckOption', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'WindowClause', + wrapped: true, + fields: [ + { + name: 'copiedOrder', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'endInRangeFunc', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'endOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'frameOptions', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inRangeAsc', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inRangeColl', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inRangeNullsFirst', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'orderClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'partitionClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'refname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'runCondition', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'startInRangeFunc', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'startOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'winref', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'WindowDef', + wrapped: true, + fields: [ + { + name: 'endOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'frameOptions', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'orderClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'partitionClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'refname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'startOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'WindowFunc', + wrapped: true, + fields: [ + { + name: 'aggfilter', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'winagg', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'wincollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'winfnoid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'winref', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'winstar', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'wintype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'WithCheckOption', + wrapped: true, + fields: [ + { + name: 'cascaded', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'WCOKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'polname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'qual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'WithClause', + wrapped: true, + fields: [ + { + name: 'ctes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'recursive', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'XmlExpr', + wrapped: true, + fields: [ + { + name: 'arg_names', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'indent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'named_args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'op', + type: 'XmlExprOp', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'type', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xmloption', + type: 'XmlOptionType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'XmlSerialize', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'indent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'xmloption', + type: 'XmlOptionType', + isNode: false, + isArray: false, + optional: true + } + ] + } +]; \ No newline at end of file diff --git a/__fixtures__/output/runtime-schema/typescript/enabled/runtime-schema.ts b/__fixtures__/output/runtime-schema/typescript/enabled/runtime-schema.ts new file mode 100644 index 0000000..cea353c --- /dev/null +++ b/__fixtures__/output/runtime-schema/typescript/enabled/runtime-schema.ts @@ -0,0 +1,10659 @@ +/** +* This file was automatically generated by pg-proto-parser@latest. +* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, +* and run the pg-proto-parser generate command to regenerate this file. +*/ +// Generated by pg-proto-parser +export interface FieldSpec { + name: string; + type: string; + isNode: boolean; + isArray: boolean; + optional: boolean; +} +export interface NodeSpec { + name: string; + wrapped: boolean; + fields: FieldSpec[]; +} +export const runtimeSchema: NodeSpec[] = [ + { + name: 'A_ArrayExpr', + wrapped: true, + fields: [ + { + name: 'elements', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'A_Const', + wrapped: true, + fields: [ + { + name: 'boolval', + type: 'Boolean', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'bsval', + type: 'BitString', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'fval', + type: 'Float', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'isnull', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ival', + type: 'Integer', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sval', + type: 'String', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'A_Expr', + wrapped: true, + fields: [ + { + name: 'kind', + type: 'A_Expr_Kind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'A_Indices', + wrapped: true, + fields: [ + { + name: 'is_slice', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lidx', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'uidx', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'A_Indirection', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'indirection', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'A_Star', + wrapped: true, + fields: [ + + ] + }, + { + name: 'AccessPriv', + wrapped: true, + fields: [ + { + name: 'cols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'priv_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'Aggref', + wrapped: true, + fields: [ + { + name: 'aggargtypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'aggcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggdirectargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'aggdistinct', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'aggfilter', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'aggfnoid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggkind', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'agglevelsup', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggorder', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'aggsplit', + type: 'AggSplit', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggstar', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggtransno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggtype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggvariadic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Alias', + wrapped: true, + fields: [ + { + name: 'aliasname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'colnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterCollationStmt', + wrapped: true, + fields: [ + { + name: 'collname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterDatabaseRefreshCollStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterDatabaseSetStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'setstmt', + type: 'VariableSetStmt', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterDatabaseStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterDefaultPrivilegesStmt', + wrapped: true, + fields: [ + { + name: 'action', + type: 'GrantStmt', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterDomainStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'def', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subtype', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterEnumStmt', + wrapped: true, + fields: [ + { + name: 'newVal', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newValIsAfter', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newValNeighbor', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldVal', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'skipIfNewValExists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterEventTrigStmt', + wrapped: true, + fields: [ + { + name: 'tgenabled', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'trigname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterExtensionContentsStmt', + wrapped: true, + fields: [ + { + name: 'action', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'extname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterExtensionStmt', + wrapped: true, + fields: [ + { + name: 'extname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterFdwStmt', + wrapped: true, + fields: [ + { + name: 'fdwname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'func_options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterForeignServerStmt', + wrapped: true, + fields: [ + { + name: 'has_version', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'version', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterFunctionStmt', + wrapped: true, + fields: [ + { + name: 'actions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'func', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlternativeSubPlan', + wrapped: true, + fields: [ + { + name: 'subplans', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterObjectDependsStmt', + wrapped: true, + fields: [ + { + name: 'extname', + type: 'String', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objectType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'remove', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterObjectSchemaStmt', + wrapped: true, + fields: [ + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newschema', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objectType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterOperatorStmt', + wrapped: true, + fields: [ + { + name: 'opername', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterOpFamilyStmt', + wrapped: true, + fields: [ + { + name: 'amname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'isDrop', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opfamilyname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterOwnerStmt', + wrapped: true, + fields: [ + { + name: 'newowner', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objectType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterPolicyStmt', + wrapped: true, + fields: [ + { + name: 'policy_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'qual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'table', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'with_check', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterPublicationStmt', + wrapped: true, + fields: [ + { + name: 'action', + type: 'AlterPublicationAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'for_all_tables', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pubname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pubobjects', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterRoleSetStmt', + wrapped: true, + fields: [ + { + name: 'database', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'role', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'setstmt', + type: 'VariableSetStmt', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterRoleStmt', + wrapped: true, + fields: [ + { + name: 'action', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'role', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterSeqStmt', + wrapped: true, + fields: [ + { + name: 'for_identity', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'sequence', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterStatsStmt', + wrapped: true, + fields: [ + { + name: 'defnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'stxstattarget', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterSubscriptionStmt', + wrapped: true, + fields: [ + { + name: 'conninfo', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'AlterSubscriptionType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'publication', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'subname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterSystemStmt', + wrapped: true, + fields: [ + { + name: 'setstmt', + type: 'VariableSetStmt', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterTableCmd', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'def', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newowner', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'num', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'recurse', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subtype', + type: 'AlterTableType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterTableMoveAllStmt', + wrapped: true, + fields: [ + { + name: 'new_tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nowait', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'orig_tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterTableSpaceOptionsStmt', + wrapped: true, + fields: [ + { + name: 'isReset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterTableStmt', + wrapped: true, + fields: [ + { + name: 'cmds', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterTSConfigurationStmt', + wrapped: true, + fields: [ + { + name: 'cfgname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'dicts', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'kind', + type: 'AlterTSConfigType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tokentype', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterTSDictionaryStmt', + wrapped: true, + fields: [ + { + name: 'dictname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterTypeStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterUserMappingStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'user', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ArrayCoerceExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'coerceformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'elemexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ArrayExpr', + wrapped: true, + fields: [ + { + name: 'array_collid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'array_typeid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'element_typeid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'elements', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'multidims', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'BitString', + wrapped: true, + fields: [ + { + name: 'bsval', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'Boolean', + wrapped: true, + fields: [ + { + name: 'boolval', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'BooleanTest', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'booltesttype', + type: 'BoolTestType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'BoolExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'boolop', + type: 'BoolExprType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CallContext', + wrapped: true, + fields: [ + { + name: 'atomic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CallStmt', + wrapped: true, + fields: [ + { + name: 'funccall', + type: 'FuncCall', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'funcexpr', + type: 'FuncExpr', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'outargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CaseExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'casecollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'casetype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'defresult', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CaseTestExpr', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeMod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CaseWhen', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'result', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CheckPointStmt', + wrapped: true, + fields: [ + + ] + }, + { + name: 'ClosePortalStmt', + wrapped: true, + fields: [ + { + name: 'portalname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ClusterStmt', + wrapped: true, + fields: [ + { + name: 'indexname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'params', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CoalesceExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coalescecollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'coalescetype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CoerceToDomain', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'coercionformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CoerceToDomainValue', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeMod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CoerceViaIO', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'coerceformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CollateClause', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'collname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CollateExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'collOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ColumnDef', + wrapped: true, + fields: [ + { + name: 'collClause', + type: 'CollateClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'collOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'colname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'compression', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'constraints', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'cooked_default', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'fdwoptions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'generated', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'identity', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'identitySequence', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'inhcount', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_from_type', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_local', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_not_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'raw_default', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'storage', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'storage_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ColumnRef', + wrapped: true, + fields: [ + { + name: 'fields', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CommentStmt', + wrapped: true, + fields: [ + { + name: 'comment', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CommonTableExpr', + wrapped: true, + fields: [ + { + name: 'aliascolnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctecolcollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctecolnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctecoltypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctecoltypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctematerialized', + type: 'CTEMaterialize', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ctename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ctequery', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'cterecursive', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cterefcount', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_clause', + type: 'CTECycleClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'search_clause', + type: 'CTESearchClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CompositeTypeStmt', + wrapped: true, + fields: [ + { + name: 'coldeflist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'typevar', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Constraint', + wrapped: true, + fields: [ + { + name: 'access_method', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'conname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'contype', + type: 'ConstrType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cooked_expr', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'deferrable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exclusions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'fk_attrs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'fk_del_action', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'fk_del_set_cols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'fk_matchtype', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'fk_upd_action', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'generated_when', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'including', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'indexname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'indexspace', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'initdeferred', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'initially_valid', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_no_inherit', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'keys', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulls_not_distinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'old_conpfeqop', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'old_pktable_oid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pk_attrs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pktable', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'raw_expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'reset_default_tblspc', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'skip_validation', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'where_clause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ConstraintsSetStmt', + wrapped: true, + fields: [ + { + name: 'constraints', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'deferred', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ConvertRowtypeExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'convertformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CopyStmt', + wrapped: true, + fields: [ + { + name: 'attlist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'filename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_from', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_program', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateAmStmt', + wrapped: true, + fields: [ + { + name: 'amname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'amtype', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'handler_name', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateCastStmt', + wrapped: true, + fields: [ + { + name: 'context', + type: 'CoercionContext', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'func', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'inout', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sourcetype', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'targettype', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateConversionStmt', + wrapped: true, + fields: [ + { + name: 'conversion_name', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'def', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'for_encoding_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'func_name', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'to_encoding_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreatedbStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateDomainStmt', + wrapped: true, + fields: [ + { + name: 'collClause', + type: 'CollateClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'constraints', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'domainname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateEnumStmt', + wrapped: true, + fields: [ + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'vals', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateEventTrigStmt', + wrapped: true, + fields: [ + { + name: 'eventname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'trigname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whenclause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateExtensionStmt', + wrapped: true, + fields: [ + { + name: 'extname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateFdwStmt', + wrapped: true, + fields: [ + { + name: 'fdwname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'func_options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateForeignServerStmt', + wrapped: true, + fields: [ + { + name: 'fdwname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'servertype', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'version', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateForeignTableStmt', + wrapped: true, + fields: [ + { + name: 'base', + type: 'CreateStmt', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateFunctionStmt', + wrapped: true, + fields: [ + { + name: 'funcname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'is_procedure', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'parameters', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'returnType', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sql_body', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateOpClassItem', + wrapped: true, + fields: [ + { + name: 'class_args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'itemtype', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'number', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'order_family', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'storedtype', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateOpClassStmt', + wrapped: true, + fields: [ + { + name: 'amname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'datatype', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'isDefault', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opclassname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opfamilyname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateOpFamilyStmt', + wrapped: true, + fields: [ + { + name: 'amname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opfamilyname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreatePLangStmt', + wrapped: true, + fields: [ + { + name: 'plhandler', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'plinline', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'plname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pltrusted', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'plvalidator', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreatePolicyStmt', + wrapped: true, + fields: [ + { + name: 'cmd_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'permissive', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'policy_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'qual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'table', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'with_check', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreatePublicationStmt', + wrapped: true, + fields: [ + { + name: 'for_all_tables', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pubname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pubobjects', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateRangeStmt', + wrapped: true, + fields: [ + { + name: 'params', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateRoleStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'role', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'stmt_type', + type: 'RoleStmtType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateSchemaStmt', + wrapped: true, + fields: [ + { + name: 'authrole', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'schemaElts', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'schemaname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateSeqStmt', + wrapped: true, + fields: [ + { + name: 'for_identity', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ownerId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sequence', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateStatsStmt', + wrapped: true, + fields: [ + { + name: 'defnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'exprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'stat_types', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'stxcomment', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'transformed', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateStmt', + wrapped: true, + fields: [ + { + name: 'accessMethod', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'constraints', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inhRelations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ofTypename', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'oncommit', + type: 'OnCommitAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'partbound', + type: 'PartitionBoundSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'partspec', + type: 'PartitionSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tableElts', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateSubscriptionStmt', + wrapped: true, + fields: [ + { + name: 'conninfo', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'publication', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'subname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateTableAsStmt', + wrapped: true, + fields: [ + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'into', + type: 'IntoClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'is_select_into', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateTableSpaceStmt', + wrapped: true, + fields: [ + { + name: 'location', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'owner', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateTransformStmt', + wrapped: true, + fields: [ + { + name: 'fromsql', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'lang', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tosql', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'type_name', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateTrigStmt', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'columns', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'constrrel', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'deferrable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'events', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'initdeferred', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'isconstraint', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'row', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'timing', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'transitionRels', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'trigname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whenClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateUserMappingStmt', + wrapped: true, + fields: [ + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'user', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CTECycleClause', + wrapped: true, + fields: [ + { + name: 'cycle_col_list', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'cycle_mark_collation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_column', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_default', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_neop', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_type', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_typmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_value', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'cycle_path_column', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CTESearchClause', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'search_breadth_first', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'search_col_list', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'search_seq_column', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CurrentOfExpr', + wrapped: true, + fields: [ + { + name: 'cursor_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cursor_param', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cvarno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'DeallocateStmt', + wrapped: true, + fields: [ + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DeclareCursorStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'portalname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'DefElem', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'defaction', + type: 'DefElemAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'defname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'defnamespace', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DefineStmt', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'definition', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'defnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldstyle', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DeleteStmt', + wrapped: true, + fields: [ + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'returningList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'usingClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'DiscardStmt', + wrapped: true, + fields: [ + { + name: 'target', + type: 'DiscardMode', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DistinctExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opresulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opretset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'DoStmt', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'DropdbStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'DropOwnedStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'DropRoleStmt', + wrapped: true, + fields: [ + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'DropStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'concurrent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objects', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'removeType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DropSubscriptionStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DropTableSpaceStmt', + wrapped: true, + fields: [ + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DropUserMappingStmt', + wrapped: true, + fields: [ + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'user', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ExecuteStmt', + wrapped: true, + fields: [ + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'params', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'ExplainStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FetchStmt', + wrapped: true, + fields: [ + { + name: 'direction', + type: 'FetchDirection', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'howMany', + type: 'int64', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ismove', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'portalname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'FieldSelect', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'fieldnum', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FieldStore', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'fieldnums', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'newvals', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Float', + wrapped: true, + fields: [ + { + name: 'fval', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'FromExpr', + wrapped: true, + fields: [ + { + name: 'fromlist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'quals', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FuncCall', + wrapped: true, + fields: [ + { + name: 'agg_distinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'agg_filter', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'agg_order', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'agg_star', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'agg_within_group', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'func_variadic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'over', + type: 'WindowDef', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FuncExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funccollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcresulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcretset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcvariadic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FunctionParameter', + wrapped: true, + fields: [ + { + name: 'argType', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'defexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'mode', + type: 'FunctionParameterMode', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'GrantRoleStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'granted_roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'grantee_roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'grantor', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'is_grant', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opt', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'GrantStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'grant_option', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'grantees', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'grantor', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'is_grant', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objects', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'privileges', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'targtype', + type: 'GrantTargetType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'GroupingFunc', + wrapped: true, + fields: [ + { + name: 'agglevelsup', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'GroupingSet', + wrapped: true, + fields: [ + { + name: 'content', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'kind', + type: 'GroupingSetKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ImportForeignSchemaStmt', + wrapped: true, + fields: [ + { + name: 'list_type', + type: 'ImportForeignSchemaType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'local_schema', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'remote_schema', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'server_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'table_list', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'IndexElem', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'indexcolname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulls_ordering', + type: 'SortByNulls', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opclass', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opclassopts', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ordering', + type: 'SortByDir', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'IndexStmt', + wrapped: true, + fields: [ + { + name: 'accessMethod', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'concurrent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'deferrable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'excludeOpNames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'idxcomment', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'idxname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'indexIncludingParams', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'indexOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'indexParams', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'initdeferred', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'isconstraint', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulls_not_distinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldCreateSubid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldFirstRelfilelocatorSubid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldNumber', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'primary', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'reset_default_tblspc', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tableSpace', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'transformed', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'unique', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'InferClause', + wrapped: true, + fields: [ + { + name: 'conname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'indexElems', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'InferenceElem', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'infercollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inferopclass', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'InlineCodeBlock', + wrapped: true, + fields: [ + { + name: 'atomic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'langIsTrusted', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'langOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'source_text', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'InsertStmt', + wrapped: true, + fields: [ + { + name: 'cols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'onConflictClause', + type: 'OnConflictClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'OverridingKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'returningList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'selectStmt', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Integer', + wrapped: true, + fields: [ + { + name: 'ival', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'IntList', + wrapped: true, + fields: [ + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'IntoClause', + wrapped: true, + fields: [ + { + name: 'accessMethod', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'colNames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'onCommit', + type: 'OnCommitAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rel', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'skipData', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tableSpaceName', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'viewQuery', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JoinExpr', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'isNatural', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'join_using_alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'jointype', + type: 'JoinType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'larg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'quals', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'rarg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'rtindex', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'usingClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'JsonAggConstructor', + wrapped: true, + fields: [ + { + name: 'agg_filter', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'agg_order', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'output', + type: 'JsonOutput', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'over', + type: 'WindowDef', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonArrayAgg', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'arg', + type: 'JsonValueExpr', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'constructor', + type: 'JsonAggConstructor', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonArrayConstructor', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'output', + type: 'JsonOutput', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonArrayQueryConstructor', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'format', + type: 'JsonFormat', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'output', + type: 'JsonOutput', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonConstructorExpr', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coercion', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'func', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'returning', + type: 'JsonReturning', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'type', + type: 'JsonConstructorType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'unique', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonFormat', + wrapped: true, + fields: [ + { + name: 'encoding', + type: 'JsonEncoding', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'format_type', + type: 'JsonFormatType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonIsPredicate', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'format', + type: 'JsonFormat', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'item_type', + type: 'JsonValueType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'unique_keys', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonKeyValue', + wrapped: true, + fields: [ + { + name: 'key', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'value', + type: 'JsonValueExpr', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonObjectAgg', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'arg', + type: 'JsonKeyValue', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'constructor', + type: 'JsonAggConstructor', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'unique', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonObjectConstructor', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'output', + type: 'JsonOutput', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'unique', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonOutput', + wrapped: true, + fields: [ + { + name: 'returning', + type: 'JsonReturning', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonReturning', + wrapped: true, + fields: [ + { + name: 'format', + type: 'JsonFormat', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'typid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonValueExpr', + wrapped: true, + fields: [ + { + name: 'format', + type: 'JsonFormat', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'formatted_expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'raw_expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'List', + wrapped: true, + fields: [ + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'ListenStmt', + wrapped: true, + fields: [ + { + name: 'conditionname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'LoadStmt', + wrapped: true, + fields: [ + { + name: 'filename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'LockingClause', + wrapped: true, + fields: [ + { + name: 'lockedRels', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'strength', + type: 'LockClauseStrength', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'waitPolicy', + type: 'LockWaitPolicy', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'LockStmt', + wrapped: true, + fields: [ + { + name: 'mode', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nowait', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'MergeAction', + wrapped: true, + fields: [ + { + name: 'commandType', + type: 'CmdType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'matched', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'OverridingKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'qual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'updateColnos', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'MergeStmt', + wrapped: true, + fields: [ + { + name: 'joinCondition', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'mergeWhenClauses', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sourceRelation', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'MergeWhenClause', + wrapped: true, + fields: [ + { + name: 'commandType', + type: 'CmdType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'condition', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'matched', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'OverridingKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'values', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'MinMaxExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'minmaxcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'minmaxtype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'op', + type: 'MinMaxOp', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'MultiAssignRef', + wrapped: true, + fields: [ + { + name: 'colno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ncolumns', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'source', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'NamedArgExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'argnumber', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'NextValueExpr', + wrapped: true, + fields: [ + { + name: 'seqid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'NotifyStmt', + wrapped: true, + fields: [ + { + name: 'conditionname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'payload', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'NullIfExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opresulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opretset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'NullTest', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'argisrow', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulltesttype', + type: 'NullTestType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ObjectWithArgs', + wrapped: true, + fields: [ + { + name: 'args_unspecified', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'objfuncargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'objname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'OidList', + wrapped: true, + fields: [ + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'OnConflictClause', + wrapped: true, + fields: [ + { + name: 'action', + type: 'OnConflictAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'infer', + type: 'InferClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'OnConflictExpr', + wrapped: true, + fields: [ + { + name: 'action', + type: 'OnConflictAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'arbiterElems', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'arbiterWhere', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'constraint', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exclRelIndex', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exclRelTlist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'onConflictSet', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'onConflictWhere', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'OpExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opresulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opretset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Param', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramid', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramkind', + type: 'ParamKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramtype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramtypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ParamRef', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'number', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ParseResult', + wrapped: false, + fields: [ + { + name: 'stmts', + type: 'RawStmt', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'version', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'PartitionBoundSpec', + wrapped: true, + fields: [ + { + name: 'is_default', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'listdatums', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lowerdatums', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'modulus', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'remainder', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'strategy', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'upperdatums', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'PartitionCmd', + wrapped: true, + fields: [ + { + name: 'bound', + type: 'PartitionBoundSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'concurrent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PartitionElem', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opclass', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'PartitionRangeDatum', + wrapped: true, + fields: [ + { + name: 'kind', + type: 'PartitionRangeDatumKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'value', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PartitionSpec', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'partParams', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'strategy', + type: 'PartitionStrategy', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'PLAssignStmt', + wrapped: true, + fields: [ + { + name: 'indirection', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nnames', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'val', + type: 'SelectStmt', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PrepareStmt', + wrapped: true, + fields: [ + { + name: 'argtypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PublicationObjSpec', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pubobjtype', + type: 'PublicationObjSpecType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pubtable', + type: 'PublicationTable', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PublicationTable', + wrapped: true, + fields: [ + { + name: 'columns', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Query', + wrapped: true, + fields: [ + { + name: 'canSetTag', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'commandType', + type: 'CmdType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'constraintDeps', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'cteList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'distinctClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupDistinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'groupingSets', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'hasAggs', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasDistinctOn', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasForUpdate', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasModifyingCTE', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasRecursive', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasRowSecurity', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasSubLinks', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasTargetSRFs', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasWindowFuncs', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'havingQual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'isReturn', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'jointree', + type: 'FromExpr', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitCount', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitOption', + type: 'LimitOption', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'mergeActionList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'mergeUseOuterJoin', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'onConflict', + type: 'OnConflictExpr', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'OverridingKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'querySource', + type: 'QuerySource', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultRelation', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'returningList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rowMarks', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rtable', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rteperminfos', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'setOperations', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sortClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'stmt_len', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'stmt_location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'utilityStmt', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'windowClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'withCheckOptions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'RangeFunction', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'coldeflist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'functions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'is_rowsfrom', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lateral', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ordinality', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeSubselect', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'lateral', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subquery', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeTableFunc', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'columns', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'docexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'lateral', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'namespaces', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rowexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeTableFuncCol', + wrapped: true, + fields: [ + { + name: 'coldefexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'colexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'colname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'for_ordinality', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_not_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeTableSample', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'method', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'repeatable', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeTblEntry', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'colcollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coltypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coltypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctelevelsup', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ctename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'enrname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'enrtuples', + type: 'double', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'eref', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'funcordinality', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'functions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inFromCl', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inh', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'join_using_alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'joinaliasvars', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'joinleftcols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'joinmergedcols', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'joinrightcols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'jointype', + type: 'JoinType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lateral', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'perminfoindex', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relkind', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rellockmode', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rtekind', + type: 'RTEKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'security_barrier', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'securityQuals', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'self_reference', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subquery', + type: 'Query', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tablefunc', + type: 'TableFunc', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tablesample', + type: 'TableSampleClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'values_lists', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'RangeTblFunction', + wrapped: true, + fields: [ + { + name: 'funccolcollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funccolcount', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funccolnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funccoltypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funccoltypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funcexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'funcparams', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + } + ] + }, + { + name: 'RangeTblRef', + wrapped: true, + fields: [ + { + name: 'rtindex', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeVar', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'catalogname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inh', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relpersistence', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'schemaname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RawStmt', + wrapped: true, + fields: [ + { + name: 'stmt', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'stmt_len', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'stmt_location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ReassignOwnedStmt', + wrapped: true, + fields: [ + { + name: 'newrole', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'RefreshMatViewStmt', + wrapped: true, + fields: [ + { + name: 'concurrent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'skipData', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ReindexStmt', + wrapped: true, + fields: [ + { + name: 'kind', + type: 'ReindexObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'params', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RelabelType', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relabelformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RenameStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relationType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'renameType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ReplicaIdentityStmt', + wrapped: true, + fields: [ + { + name: 'identity_type', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ResTarget', + wrapped: true, + fields: [ + { + name: 'indirection', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'val', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ReturnStmt', + wrapped: true, + fields: [ + { + name: 'returnval', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RoleSpec', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rolename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'roletype', + type: 'RoleSpecType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RowCompareExpr', + wrapped: true, + fields: [ + { + name: 'inputcollids', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'largs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opfamilies', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opnos', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rctype', + type: 'RowCompareType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RowExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'row_format', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'row_typeid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RowMarkClause', + wrapped: true, + fields: [ + { + name: 'pushedDown', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rti', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'strength', + type: 'LockClauseStrength', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'waitPolicy', + type: 'LockWaitPolicy', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RTEPermissionInfo', + wrapped: true, + fields: [ + { + name: 'checkAsUser', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inh', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'insertedCols', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'relid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'requiredPerms', + type: 'uint64', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'selectedCols', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'updatedCols', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + } + ] + }, + { + name: 'RuleStmt', + wrapped: true, + fields: [ + { + name: 'actions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'event', + type: 'CmdType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'instead', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rulename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ScalarArrayOpExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'useOr', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ScanResult', + wrapped: false, + fields: [ + { + name: 'tokens', + type: 'ScanToken', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'version', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ScanToken', + wrapped: false, + fields: [ + { + name: 'end', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'keywordKind', + type: 'KeywordKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'start', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'token', + type: 'Token', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'SecLabelStmt', + wrapped: true, + fields: [ + { + name: 'label', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'provider', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'SelectStmt', + wrapped: true, + fields: [ + { + name: 'all', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'distinctClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'fromClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupDistinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'havingClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'intoClause', + type: 'IntoClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'larg', + type: 'SelectStmt', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitCount', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitOption', + type: 'LimitOption', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lockingClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'op', + type: 'SetOperation', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rarg', + type: 'SelectStmt', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sortClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'valuesLists', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'windowClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SetOperationStmt', + wrapped: true, + fields: [ + { + name: 'all', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'colCollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colTypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colTypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupClauses', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'larg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'op', + type: 'SetOperation', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rarg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SetToDefault', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeMod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SortBy', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'node', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sortby_dir', + type: 'SortByDir', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sortby_nulls', + type: 'SortByNulls', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'useOp', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'SortGroupClause', + wrapped: true, + fields: [ + { + name: 'eqop', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hashable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulls_first', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sortop', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tleSortGroupRef', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'SQLValueFunction', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'op', + type: 'SQLValueFunctionOp', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'type', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'StatsElem', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'String', + wrapped: true, + fields: [ + { + name: 'sval', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'SubLink', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'operName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'subLinkId', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subLinkType', + type: 'SubLinkType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subselect', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'testexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SubPlan', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'firstColCollation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'firstColType', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'firstColTypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'parallel_safe', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramIds', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'parParam', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'per_call_cost', + type: 'double', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'plan_id', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'plan_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'setParam', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'startup_cost', + type: 'double', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subLinkType', + type: 'SubLinkType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'testexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'unknownEqFalse', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'useHashTable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SubscriptingRef', + wrapped: true, + fields: [ + { + name: 'refassgnexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'refcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refcontainertype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refelemtype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'reflowerindexpr', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'refrestype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'reftypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refupperindexpr', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'TableFunc', + wrapped: true, + fields: [ + { + name: 'colcollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coldefexprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colexprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coltypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coltypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'docexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'notnulls', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'ns_names', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ns_uris', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ordinalitycol', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rowexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'TableLikeClause', + wrapped: true, + fields: [ + { + name: 'options', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relationOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TableSampleClause', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'repeatable', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tsmhandler', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TargetEntry', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'resjunk', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resorigcol', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resorigtbl', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ressortgroupref', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'TransactionStmt', + wrapped: true, + fields: [ + { + name: 'chain', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'gid', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'TransactionStmtKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'savepoint_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TriggerTransition', + wrapped: true, + fields: [ + { + name: 'isNew', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'isTable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TruncateStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'restart_seqs', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TypeCast', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'TypeName', + wrapped: true, + fields: [ + { + name: 'arrayBounds', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'names', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pct_type', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'setof', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typemod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'UnlistenStmt', + wrapped: true, + fields: [ + { + name: 'conditionname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'UpdateStmt', + wrapped: true, + fields: [ + { + name: 'fromClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'returningList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'VacuumRelation', + wrapped: true, + fields: [ + { + name: 'oid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'va_cols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'VacuumStmt', + wrapped: true, + fields: [ + { + name: 'is_vacuumcmd', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rels', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'Var', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varattno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varlevelsup', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varnullingrels', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'vartype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'vartypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'VariableSetStmt', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'is_local', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'VariableSetKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'VariableShowStmt', + wrapped: true, + fields: [ + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ViewStmt', + wrapped: true, + fields: [ + { + name: 'aliases', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'view', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withCheckOption', + type: 'ViewCheckOption', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'WindowClause', + wrapped: true, + fields: [ + { + name: 'copiedOrder', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'endInRangeFunc', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'endOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'frameOptions', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inRangeAsc', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inRangeColl', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inRangeNullsFirst', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'orderClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'partitionClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'refname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'runCondition', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'startInRangeFunc', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'startOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'winref', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'WindowDef', + wrapped: true, + fields: [ + { + name: 'endOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'frameOptions', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'orderClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'partitionClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'refname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'startOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'WindowFunc', + wrapped: true, + fields: [ + { + name: 'aggfilter', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'winagg', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'wincollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'winfnoid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'winref', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'winstar', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'wintype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'WithCheckOption', + wrapped: true, + fields: [ + { + name: 'cascaded', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'WCOKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'polname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'qual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'WithClause', + wrapped: true, + fields: [ + { + name: 'ctes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'recursive', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'XmlExpr', + wrapped: true, + fields: [ + { + name: 'arg_names', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'indent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'named_args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'op', + type: 'XmlExprOp', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'type', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xmloption', + type: 'XmlOptionType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'XmlSerialize', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'indent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'xmloption', + type: 'XmlOptionType', + isNode: false, + isArray: false, + optional: true + } + ] + } +]; \ No newline at end of file diff --git a/__fixtures__/output/runtime-schema/typescript/full-features/asts.ts b/__fixtures__/output/runtime-schema/typescript/full-features/asts.ts new file mode 100644 index 0000000..1d886f5 --- /dev/null +++ b/__fixtures__/output/runtime-schema/typescript/full-features/asts.ts @@ -0,0 +1,2330 @@ +/** +* This file was automatically generated by pg-proto-parser@latest. +* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, +* and run the pg-proto-parser generate command to regenerate this file. +*/ +import _o from "nested-obj"; +import { ParseResult, ScanResult, Integer, Float, Boolean, String, BitString, List, OidList, IntList, A_Const, Alias, RangeVar, TableFunc, IntoClause, Var, Param, Aggref, GroupingFunc, WindowFunc, SubscriptingRef, FuncExpr, NamedArgExpr, OpExpr, DistinctExpr, NullIfExpr, ScalarArrayOpExpr, BoolExpr, SubLink, SubPlan, AlternativeSubPlan, FieldSelect, FieldStore, RelabelType, CoerceViaIO, ArrayCoerceExpr, ConvertRowtypeExpr, CollateExpr, CaseExpr, CaseWhen, CaseTestExpr, ArrayExpr, RowExpr, RowCompareExpr, CoalesceExpr, MinMaxExpr, SQLValueFunction, XmlExpr, JsonFormat, JsonReturning, JsonValueExpr, JsonConstructorExpr, JsonIsPredicate, NullTest, BooleanTest, CoerceToDomain, CoerceToDomainValue, SetToDefault, CurrentOfExpr, NextValueExpr, InferenceElem, TargetEntry, RangeTblRef, JoinExpr, FromExpr, OnConflictExpr, Query, TypeName, ColumnRef, ParamRef, A_Expr, TypeCast, CollateClause, RoleSpec, FuncCall, A_Star, A_Indices, A_Indirection, A_ArrayExpr, ResTarget, MultiAssignRef, SortBy, WindowDef, RangeSubselect, RangeFunction, RangeTableFunc, RangeTableFuncCol, RangeTableSample, ColumnDef, TableLikeClause, IndexElem, DefElem, LockingClause, XmlSerialize, PartitionElem, PartitionSpec, PartitionBoundSpec, PartitionRangeDatum, PartitionCmd, RangeTblEntry, RTEPermissionInfo, RangeTblFunction, TableSampleClause, WithCheckOption, SortGroupClause, GroupingSet, WindowClause, RowMarkClause, WithClause, InferClause, OnConflictClause, CTESearchClause, CTECycleClause, CommonTableExpr, MergeWhenClause, MergeAction, TriggerTransition, JsonOutput, JsonKeyValue, JsonObjectConstructor, JsonArrayConstructor, JsonArrayQueryConstructor, JsonAggConstructor, JsonObjectAgg, JsonArrayAgg, RawStmt, InsertStmt, DeleteStmt, UpdateStmt, MergeStmt, SelectStmt, SetOperationStmt, ReturnStmt, PLAssignStmt, CreateSchemaStmt, AlterTableStmt, ReplicaIdentityStmt, AlterTableCmd, AlterCollationStmt, AlterDomainStmt, GrantStmt, ObjectWithArgs, AccessPriv, GrantRoleStmt, AlterDefaultPrivilegesStmt, CopyStmt, VariableSetStmt, VariableShowStmt, CreateStmt, Constraint, CreateTableSpaceStmt, DropTableSpaceStmt, AlterTableSpaceOptionsStmt, AlterTableMoveAllStmt, CreateExtensionStmt, AlterExtensionStmt, AlterExtensionContentsStmt, CreateFdwStmt, AlterFdwStmt, CreateForeignServerStmt, AlterForeignServerStmt, CreateForeignTableStmt, CreateUserMappingStmt, AlterUserMappingStmt, DropUserMappingStmt, ImportForeignSchemaStmt, CreatePolicyStmt, AlterPolicyStmt, CreateAmStmt, CreateTrigStmt, CreateEventTrigStmt, AlterEventTrigStmt, CreatePLangStmt, CreateRoleStmt, AlterRoleStmt, AlterRoleSetStmt, DropRoleStmt, CreateSeqStmt, AlterSeqStmt, DefineStmt, CreateDomainStmt, CreateOpClassStmt, CreateOpClassItem, CreateOpFamilyStmt, AlterOpFamilyStmt, DropStmt, TruncateStmt, CommentStmt, SecLabelStmt, DeclareCursorStmt, ClosePortalStmt, FetchStmt, IndexStmt, CreateStatsStmt, StatsElem, AlterStatsStmt, CreateFunctionStmt, FunctionParameter, AlterFunctionStmt, DoStmt, InlineCodeBlock, CallStmt, CallContext, RenameStmt, AlterObjectDependsStmt, AlterObjectSchemaStmt, AlterOwnerStmt, AlterOperatorStmt, AlterTypeStmt, RuleStmt, NotifyStmt, ListenStmt, UnlistenStmt, TransactionStmt, CompositeTypeStmt, CreateEnumStmt, CreateRangeStmt, AlterEnumStmt, ViewStmt, LoadStmt, CreatedbStmt, AlterDatabaseStmt, AlterDatabaseRefreshCollStmt, AlterDatabaseSetStmt, DropdbStmt, AlterSystemStmt, ClusterStmt, VacuumStmt, VacuumRelation, ExplainStmt, CreateTableAsStmt, RefreshMatViewStmt, CheckPointStmt, DiscardStmt, LockStmt, ConstraintsSetStmt, ReindexStmt, CreateConversionStmt, CreateCastStmt, CreateTransformStmt, PrepareStmt, ExecuteStmt, DeallocateStmt, DropOwnedStmt, ReassignOwnedStmt, AlterTSDictionaryStmt, AlterTSConfigurationStmt, PublicationTable, PublicationObjSpec, CreatePublicationStmt, AlterPublicationStmt, CreateSubscriptionStmt, AlterSubscriptionStmt, DropSubscriptionStmt, ScanToken } from "./wrapped"; +export default { + parseResult(_p?: ParseResult): ParseResult { + const _j = ({} as ParseResult); + _o.set(_j, "version", _p?.version); + _o.set(_j, "stmts", _p?.stmts); + return _j; + }, + scanResult(_p?: ScanResult): ScanResult { + const _j = ({} as ScanResult); + _o.set(_j, "version", _p?.version); + _o.set(_j, "tokens", _p?.tokens); + return _j; + }, + integer(_p?: Integer): Integer { + const _j = ({} as Integer); + _o.set(_j, "ival", _p?.ival); + return _j; + }, + float(_p?: Float): Float { + const _j = ({} as Float); + _o.set(_j, "fval", _p?.fval); + return _j; + }, + boolean(_p?: Boolean): Boolean { + const _j = ({} as Boolean); + _o.set(_j, "boolval", _p?.boolval); + return _j; + }, + string(_p?: String): String { + const _j = ({} as String); + _o.set(_j, "sval", _p?.sval); + return _j; + }, + bitString(_p?: BitString): BitString { + const _j = ({} as BitString); + _o.set(_j, "bsval", _p?.bsval); + return _j; + }, + list(_p?: List): List { + const _j = ({} as List); + _o.set(_j, "items", _p?.items); + return _j; + }, + oidList(_p?: OidList): OidList { + const _j = ({} as OidList); + _o.set(_j, "items", _p?.items); + return _j; + }, + intList(_p?: IntList): IntList { + const _j = ({} as IntList); + _o.set(_j, "items", _p?.items); + return _j; + }, + aConst(_p?: A_Const): A_Const { + const _j = ({} as A_Const); + _o.set(_j, "ival", _p?.ival); + _o.set(_j, "fval", _p?.fval); + _o.set(_j, "boolval", _p?.boolval); + _o.set(_j, "sval", _p?.sval); + _o.set(_j, "bsval", _p?.bsval); + _o.set(_j, "isnull", _p?.isnull); + _o.set(_j, "location", _p?.location); + return _j; + }, + alias(_p?: Alias): Alias { + const _j = ({} as Alias); + _o.set(_j, "aliasname", _p?.aliasname); + _o.set(_j, "colnames", _p?.colnames); + return _j; + }, + rangeVar(_p?: RangeVar): RangeVar { + const _j = ({} as RangeVar); + _o.set(_j, "catalogname", _p?.catalogname); + _o.set(_j, "schemaname", _p?.schemaname); + _o.set(_j, "relname", _p?.relname); + _o.set(_j, "inh", _p?.inh); + _o.set(_j, "relpersistence", _p?.relpersistence); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "location", _p?.location); + return _j; + }, + tableFunc(_p?: TableFunc): TableFunc { + const _j = ({} as TableFunc); + _o.set(_j, "ns_uris", _p?.ns_uris); + _o.set(_j, "ns_names", _p?.ns_names); + _o.set(_j, "docexpr", _p?.docexpr); + _o.set(_j, "rowexpr", _p?.rowexpr); + _o.set(_j, "colnames", _p?.colnames); + _o.set(_j, "coltypes", _p?.coltypes); + _o.set(_j, "coltypmods", _p?.coltypmods); + _o.set(_j, "colcollations", _p?.colcollations); + _o.set(_j, "colexprs", _p?.colexprs); + _o.set(_j, "coldefexprs", _p?.coldefexprs); + _o.set(_j, "notnulls", _p?.notnulls); + _o.set(_j, "ordinalitycol", _p?.ordinalitycol); + _o.set(_j, "location", _p?.location); + return _j; + }, + intoClause(_p?: IntoClause): IntoClause { + const _j = ({} as IntoClause); + _o.set(_j, "rel", _p?.rel); + _o.set(_j, "colNames", _p?.colNames); + _o.set(_j, "accessMethod", _p?.accessMethod); + _o.set(_j, "options", _p?.options); + _o.set(_j, "onCommit", _p?.onCommit); + _o.set(_j, "tableSpaceName", _p?.tableSpaceName); + _o.set(_j, "viewQuery", _p?.viewQuery); + _o.set(_j, "skipData", _p?.skipData); + return _j; + }, + var(_p?: Var): Var { + const _j = ({} as Var); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "varno", _p?.varno); + _o.set(_j, "varattno", _p?.varattno); + _o.set(_j, "vartype", _p?.vartype); + _o.set(_j, "vartypmod", _p?.vartypmod); + _o.set(_j, "varcollid", _p?.varcollid); + _o.set(_j, "varnullingrels", _p?.varnullingrels); + _o.set(_j, "varlevelsup", _p?.varlevelsup); + _o.set(_j, "location", _p?.location); + return _j; + }, + param(_p?: Param): Param { + const _j = ({} as Param); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "paramkind", _p?.paramkind); + _o.set(_j, "paramid", _p?.paramid); + _o.set(_j, "paramtype", _p?.paramtype); + _o.set(_j, "paramtypmod", _p?.paramtypmod); + _o.set(_j, "paramcollid", _p?.paramcollid); + _o.set(_j, "location", _p?.location); + return _j; + }, + aggref(_p?: Aggref): Aggref { + const _j = ({} as Aggref); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "aggfnoid", _p?.aggfnoid); + _o.set(_j, "aggtype", _p?.aggtype); + _o.set(_j, "aggcollid", _p?.aggcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "aggargtypes", _p?.aggargtypes); + _o.set(_j, "aggdirectargs", _p?.aggdirectargs); + _o.set(_j, "args", _p?.args); + _o.set(_j, "aggorder", _p?.aggorder); + _o.set(_j, "aggdistinct", _p?.aggdistinct); + _o.set(_j, "aggfilter", _p?.aggfilter); + _o.set(_j, "aggstar", _p?.aggstar); + _o.set(_j, "aggvariadic", _p?.aggvariadic); + _o.set(_j, "aggkind", _p?.aggkind); + _o.set(_j, "agglevelsup", _p?.agglevelsup); + _o.set(_j, "aggsplit", _p?.aggsplit); + _o.set(_j, "aggno", _p?.aggno); + _o.set(_j, "aggtransno", _p?.aggtransno); + _o.set(_j, "location", _p?.location); + return _j; + }, + groupingFunc(_p?: GroupingFunc): GroupingFunc { + const _j = ({} as GroupingFunc); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "args", _p?.args); + _o.set(_j, "refs", _p?.refs); + _o.set(_j, "agglevelsup", _p?.agglevelsup); + _o.set(_j, "location", _p?.location); + return _j; + }, + windowFunc(_p?: WindowFunc): WindowFunc { + const _j = ({} as WindowFunc); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "winfnoid", _p?.winfnoid); + _o.set(_j, "wintype", _p?.wintype); + _o.set(_j, "wincollid", _p?.wincollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "aggfilter", _p?.aggfilter); + _o.set(_j, "winref", _p?.winref); + _o.set(_j, "winstar", _p?.winstar); + _o.set(_j, "winagg", _p?.winagg); + _o.set(_j, "location", _p?.location); + return _j; + }, + subscriptingRef(_p?: SubscriptingRef): SubscriptingRef { + const _j = ({} as SubscriptingRef); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "refcontainertype", _p?.refcontainertype); + _o.set(_j, "refelemtype", _p?.refelemtype); + _o.set(_j, "refrestype", _p?.refrestype); + _o.set(_j, "reftypmod", _p?.reftypmod); + _o.set(_j, "refcollid", _p?.refcollid); + _o.set(_j, "refupperindexpr", _p?.refupperindexpr); + _o.set(_j, "reflowerindexpr", _p?.reflowerindexpr); + _o.set(_j, "refexpr", _p?.refexpr); + _o.set(_j, "refassgnexpr", _p?.refassgnexpr); + return _j; + }, + funcExpr(_p?: FuncExpr): FuncExpr { + const _j = ({} as FuncExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "funcid", _p?.funcid); + _o.set(_j, "funcresulttype", _p?.funcresulttype); + _o.set(_j, "funcretset", _p?.funcretset); + _o.set(_j, "funcvariadic", _p?.funcvariadic); + _o.set(_j, "funcformat", _p?.funcformat); + _o.set(_j, "funccollid", _p?.funccollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + namedArgExpr(_p?: NamedArgExpr): NamedArgExpr { + const _j = ({} as NamedArgExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "name", _p?.name); + _o.set(_j, "argnumber", _p?.argnumber); + _o.set(_j, "location", _p?.location); + return _j; + }, + opExpr(_p?: OpExpr): OpExpr { + const _j = ({} as OpExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "opresulttype", _p?.opresulttype); + _o.set(_j, "opretset", _p?.opretset); + _o.set(_j, "opcollid", _p?.opcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + distinctExpr(_p?: DistinctExpr): DistinctExpr { + const _j = ({} as DistinctExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "opresulttype", _p?.opresulttype); + _o.set(_j, "opretset", _p?.opretset); + _o.set(_j, "opcollid", _p?.opcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + nullIfExpr(_p?: NullIfExpr): NullIfExpr { + const _j = ({} as NullIfExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "opresulttype", _p?.opresulttype); + _o.set(_j, "opretset", _p?.opretset); + _o.set(_j, "opcollid", _p?.opcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + scalarArrayOpExpr(_p?: ScalarArrayOpExpr): ScalarArrayOpExpr { + const _j = ({} as ScalarArrayOpExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "useOr", _p?.useOr); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + boolExpr(_p?: BoolExpr): BoolExpr { + const _j = ({} as BoolExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "boolop", _p?.boolop); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + subLink(_p?: SubLink): SubLink { + const _j = ({} as SubLink); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "subLinkType", _p?.subLinkType); + _o.set(_j, "subLinkId", _p?.subLinkId); + _o.set(_j, "testexpr", _p?.testexpr); + _o.set(_j, "operName", _p?.operName); + _o.set(_j, "subselect", _p?.subselect); + _o.set(_j, "location", _p?.location); + return _j; + }, + subPlan(_p?: SubPlan): SubPlan { + const _j = ({} as SubPlan); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "subLinkType", _p?.subLinkType); + _o.set(_j, "testexpr", _p?.testexpr); + _o.set(_j, "paramIds", _p?.paramIds); + _o.set(_j, "plan_id", _p?.plan_id); + _o.set(_j, "plan_name", _p?.plan_name); + _o.set(_j, "firstColType", _p?.firstColType); + _o.set(_j, "firstColTypmod", _p?.firstColTypmod); + _o.set(_j, "firstColCollation", _p?.firstColCollation); + _o.set(_j, "useHashTable", _p?.useHashTable); + _o.set(_j, "unknownEqFalse", _p?.unknownEqFalse); + _o.set(_j, "parallel_safe", _p?.parallel_safe); + _o.set(_j, "setParam", _p?.setParam); + _o.set(_j, "parParam", _p?.parParam); + _o.set(_j, "args", _p?.args); + _o.set(_j, "startup_cost", _p?.startup_cost); + _o.set(_j, "per_call_cost", _p?.per_call_cost); + return _j; + }, + alternativeSubPlan(_p?: AlternativeSubPlan): AlternativeSubPlan { + const _j = ({} as AlternativeSubPlan); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "subplans", _p?.subplans); + return _j; + }, + fieldSelect(_p?: FieldSelect): FieldSelect { + const _j = ({} as FieldSelect); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "fieldnum", _p?.fieldnum); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + return _j; + }, + fieldStore(_p?: FieldStore): FieldStore { + const _j = ({} as FieldStore); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "newvals", _p?.newvals); + _o.set(_j, "fieldnums", _p?.fieldnums); + _o.set(_j, "resulttype", _p?.resulttype); + return _j; + }, + relabelType(_p?: RelabelType): RelabelType { + const _j = ({} as RelabelType); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "relabelformat", _p?.relabelformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + coerceViaio(_p?: CoerceViaIO): CoerceViaIO { + const _j = ({} as CoerceViaIO); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "coerceformat", _p?.coerceformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + arrayCoerceExpr(_p?: ArrayCoerceExpr): ArrayCoerceExpr { + const _j = ({} as ArrayCoerceExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "elemexpr", _p?.elemexpr); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "coerceformat", _p?.coerceformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + convertRowtypeExpr(_p?: ConvertRowtypeExpr): ConvertRowtypeExpr { + const _j = ({} as ConvertRowtypeExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "convertformat", _p?.convertformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + collateExpr(_p?: CollateExpr): CollateExpr { + const _j = ({} as CollateExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "collOid", _p?.collOid); + _o.set(_j, "location", _p?.location); + return _j; + }, + caseExpr(_p?: CaseExpr): CaseExpr { + const _j = ({} as CaseExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "casetype", _p?.casetype); + _o.set(_j, "casecollid", _p?.casecollid); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "args", _p?.args); + _o.set(_j, "defresult", _p?.defresult); + _o.set(_j, "location", _p?.location); + return _j; + }, + caseWhen(_p?: CaseWhen): CaseWhen { + const _j = ({} as CaseWhen); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "result", _p?.result); + _o.set(_j, "location", _p?.location); + return _j; + }, + caseTestExpr(_p?: CaseTestExpr): CaseTestExpr { + const _j = ({} as CaseTestExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "typeId", _p?.typeId); + _o.set(_j, "typeMod", _p?.typeMod); + _o.set(_j, "collation", _p?.collation); + return _j; + }, + arrayExpr(_p?: ArrayExpr): ArrayExpr { + const _j = ({} as ArrayExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "array_typeid", _p?.array_typeid); + _o.set(_j, "array_collid", _p?.array_collid); + _o.set(_j, "element_typeid", _p?.element_typeid); + _o.set(_j, "elements", _p?.elements); + _o.set(_j, "multidims", _p?.multidims); + _o.set(_j, "location", _p?.location); + return _j; + }, + rowExpr(_p?: RowExpr): RowExpr { + const _j = ({} as RowExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "args", _p?.args); + _o.set(_j, "row_typeid", _p?.row_typeid); + _o.set(_j, "row_format", _p?.row_format); + _o.set(_j, "colnames", _p?.colnames); + _o.set(_j, "location", _p?.location); + return _j; + }, + rowCompareExpr(_p?: RowCompareExpr): RowCompareExpr { + const _j = ({} as RowCompareExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "rctype", _p?.rctype); + _o.set(_j, "opnos", _p?.opnos); + _o.set(_j, "opfamilies", _p?.opfamilies); + _o.set(_j, "inputcollids", _p?.inputcollids); + _o.set(_j, "largs", _p?.largs); + _o.set(_j, "rargs", _p?.rargs); + return _j; + }, + coalesceExpr(_p?: CoalesceExpr): CoalesceExpr { + const _j = ({} as CoalesceExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "coalescetype", _p?.coalescetype); + _o.set(_j, "coalescecollid", _p?.coalescecollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + minMaxExpr(_p?: MinMaxExpr): MinMaxExpr { + const _j = ({} as MinMaxExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "minmaxtype", _p?.minmaxtype); + _o.set(_j, "minmaxcollid", _p?.minmaxcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "op", _p?.op); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + sqlValueFunction(_p?: SQLValueFunction): SQLValueFunction { + const _j = ({} as SQLValueFunction); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "op", _p?.op); + _o.set(_j, "type", _p?.type); + _o.set(_j, "typmod", _p?.typmod); + _o.set(_j, "location", _p?.location); + return _j; + }, + xmlExpr(_p?: XmlExpr): XmlExpr { + const _j = ({} as XmlExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "op", _p?.op); + _o.set(_j, "name", _p?.name); + _o.set(_j, "named_args", _p?.named_args); + _o.set(_j, "arg_names", _p?.arg_names); + _o.set(_j, "args", _p?.args); + _o.set(_j, "xmloption", _p?.xmloption); + _o.set(_j, "indent", _p?.indent); + _o.set(_j, "type", _p?.type); + _o.set(_j, "typmod", _p?.typmod); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonFormat(_p?: JsonFormat): JsonFormat { + const _j = ({} as JsonFormat); + _o.set(_j, "format_type", _p?.format_type); + _o.set(_j, "encoding", _p?.encoding); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonReturning(_p?: JsonReturning): JsonReturning { + const _j = ({} as JsonReturning); + _o.set(_j, "format", _p?.format); + _o.set(_j, "typid", _p?.typid); + _o.set(_j, "typmod", _p?.typmod); + return _j; + }, + jsonValueExpr(_p?: JsonValueExpr): JsonValueExpr { + const _j = ({} as JsonValueExpr); + _o.set(_j, "raw_expr", _p?.raw_expr); + _o.set(_j, "formatted_expr", _p?.formatted_expr); + _o.set(_j, "format", _p?.format); + return _j; + }, + jsonConstructorExpr(_p?: JsonConstructorExpr): JsonConstructorExpr { + const _j = ({} as JsonConstructorExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "type", _p?.type); + _o.set(_j, "args", _p?.args); + _o.set(_j, "func", _p?.func); + _o.set(_j, "coercion", _p?.coercion); + _o.set(_j, "returning", _p?.returning); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "unique", _p?.unique); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonIsPredicate(_p?: JsonIsPredicate): JsonIsPredicate { + const _j = ({} as JsonIsPredicate); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "format", _p?.format); + _o.set(_j, "item_type", _p?.item_type); + _o.set(_j, "unique_keys", _p?.unique_keys); + _o.set(_j, "location", _p?.location); + return _j; + }, + nullTest(_p?: NullTest): NullTest { + const _j = ({} as NullTest); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "nulltesttype", _p?.nulltesttype); + _o.set(_j, "argisrow", _p?.argisrow); + _o.set(_j, "location", _p?.location); + return _j; + }, + booleanTest(_p?: BooleanTest): BooleanTest { + const _j = ({} as BooleanTest); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "booltesttype", _p?.booltesttype); + _o.set(_j, "location", _p?.location); + return _j; + }, + coerceToDomain(_p?: CoerceToDomain): CoerceToDomain { + const _j = ({} as CoerceToDomain); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "coercionformat", _p?.coercionformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + coerceToDomainValue(_p?: CoerceToDomainValue): CoerceToDomainValue { + const _j = ({} as CoerceToDomainValue); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "typeId", _p?.typeId); + _o.set(_j, "typeMod", _p?.typeMod); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "location", _p?.location); + return _j; + }, + setToDefault(_p?: SetToDefault): SetToDefault { + const _j = ({} as SetToDefault); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "typeId", _p?.typeId); + _o.set(_j, "typeMod", _p?.typeMod); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "location", _p?.location); + return _j; + }, + currentOfExpr(_p?: CurrentOfExpr): CurrentOfExpr { + const _j = ({} as CurrentOfExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "cvarno", _p?.cvarno); + _o.set(_j, "cursor_name", _p?.cursor_name); + _o.set(_j, "cursor_param", _p?.cursor_param); + return _j; + }, + nextValueExpr(_p?: NextValueExpr): NextValueExpr { + const _j = ({} as NextValueExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "seqid", _p?.seqid); + _o.set(_j, "typeId", _p?.typeId); + return _j; + }, + inferenceElem(_p?: InferenceElem): InferenceElem { + const _j = ({} as InferenceElem); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "infercollid", _p?.infercollid); + _o.set(_j, "inferopclass", _p?.inferopclass); + return _j; + }, + targetEntry(_p?: TargetEntry): TargetEntry { + const _j = ({} as TargetEntry); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "resno", _p?.resno); + _o.set(_j, "resname", _p?.resname); + _o.set(_j, "ressortgroupref", _p?.ressortgroupref); + _o.set(_j, "resorigtbl", _p?.resorigtbl); + _o.set(_j, "resorigcol", _p?.resorigcol); + _o.set(_j, "resjunk", _p?.resjunk); + return _j; + }, + rangeTblRef(_p?: RangeTblRef): RangeTblRef { + const _j = ({} as RangeTblRef); + _o.set(_j, "rtindex", _p?.rtindex); + return _j; + }, + joinExpr(_p?: JoinExpr): JoinExpr { + const _j = ({} as JoinExpr); + _o.set(_j, "jointype", _p?.jointype); + _o.set(_j, "isNatural", _p?.isNatural); + _o.set(_j, "larg", _p?.larg); + _o.set(_j, "rarg", _p?.rarg); + _o.set(_j, "usingClause", _p?.usingClause); + _o.set(_j, "join_using_alias", _p?.join_using_alias); + _o.set(_j, "quals", _p?.quals); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "rtindex", _p?.rtindex); + return _j; + }, + fromExpr(_p?: FromExpr): FromExpr { + const _j = ({} as FromExpr); + _o.set(_j, "fromlist", _p?.fromlist); + _o.set(_j, "quals", _p?.quals); + return _j; + }, + onConflictExpr(_p?: OnConflictExpr): OnConflictExpr { + const _j = ({} as OnConflictExpr); + _o.set(_j, "action", _p?.action); + _o.set(_j, "arbiterElems", _p?.arbiterElems); + _o.set(_j, "arbiterWhere", _p?.arbiterWhere); + _o.set(_j, "constraint", _p?.constraint); + _o.set(_j, "onConflictSet", _p?.onConflictSet); + _o.set(_j, "onConflictWhere", _p?.onConflictWhere); + _o.set(_j, "exclRelIndex", _p?.exclRelIndex); + _o.set(_j, "exclRelTlist", _p?.exclRelTlist); + return _j; + }, + query(_p?: Query): Query { + const _j = ({} as Query); + _o.set(_j, "commandType", _p?.commandType); + _o.set(_j, "querySource", _p?.querySource); + _o.set(_j, "canSetTag", _p?.canSetTag); + _o.set(_j, "utilityStmt", _p?.utilityStmt); + _o.set(_j, "resultRelation", _p?.resultRelation); + _o.set(_j, "hasAggs", _p?.hasAggs); + _o.set(_j, "hasWindowFuncs", _p?.hasWindowFuncs); + _o.set(_j, "hasTargetSRFs", _p?.hasTargetSRFs); + _o.set(_j, "hasSubLinks", _p?.hasSubLinks); + _o.set(_j, "hasDistinctOn", _p?.hasDistinctOn); + _o.set(_j, "hasRecursive", _p?.hasRecursive); + _o.set(_j, "hasModifyingCTE", _p?.hasModifyingCTE); + _o.set(_j, "hasForUpdate", _p?.hasForUpdate); + _o.set(_j, "hasRowSecurity", _p?.hasRowSecurity); + _o.set(_j, "isReturn", _p?.isReturn); + _o.set(_j, "cteList", _p?.cteList); + _o.set(_j, "rtable", _p?.rtable); + _o.set(_j, "rteperminfos", _p?.rteperminfos); + _o.set(_j, "jointree", _p?.jointree); + _o.set(_j, "mergeActionList", _p?.mergeActionList); + _o.set(_j, "mergeUseOuterJoin", _p?.mergeUseOuterJoin); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "override", _p?.override); + _o.set(_j, "onConflict", _p?.onConflict); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "groupClause", _p?.groupClause); + _o.set(_j, "groupDistinct", _p?.groupDistinct); + _o.set(_j, "groupingSets", _p?.groupingSets); + _o.set(_j, "havingQual", _p?.havingQual); + _o.set(_j, "windowClause", _p?.windowClause); + _o.set(_j, "distinctClause", _p?.distinctClause); + _o.set(_j, "sortClause", _p?.sortClause); + _o.set(_j, "limitOffset", _p?.limitOffset); + _o.set(_j, "limitCount", _p?.limitCount); + _o.set(_j, "limitOption", _p?.limitOption); + _o.set(_j, "rowMarks", _p?.rowMarks); + _o.set(_j, "setOperations", _p?.setOperations); + _o.set(_j, "constraintDeps", _p?.constraintDeps); + _o.set(_j, "withCheckOptions", _p?.withCheckOptions); + _o.set(_j, "stmt_location", _p?.stmt_location); + _o.set(_j, "stmt_len", _p?.stmt_len); + return _j; + }, + typeName(_p?: TypeName): TypeName { + const _j = ({} as TypeName); + _o.set(_j, "names", _p?.names); + _o.set(_j, "typeOid", _p?.typeOid); + _o.set(_j, "setof", _p?.setof); + _o.set(_j, "pct_type", _p?.pct_type); + _o.set(_j, "typmods", _p?.typmods); + _o.set(_j, "typemod", _p?.typemod); + _o.set(_j, "arrayBounds", _p?.arrayBounds); + _o.set(_j, "location", _p?.location); + return _j; + }, + columnRef(_p?: ColumnRef): ColumnRef { + const _j = ({} as ColumnRef); + _o.set(_j, "fields", _p?.fields); + _o.set(_j, "location", _p?.location); + return _j; + }, + paramRef(_p?: ParamRef): ParamRef { + const _j = ({} as ParamRef); + _o.set(_j, "number", _p?.number); + _o.set(_j, "location", _p?.location); + return _j; + }, + aExpr(_p?: A_Expr): A_Expr { + const _j = ({} as A_Expr); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "name", _p?.name); + _o.set(_j, "lexpr", _p?.lexpr); + _o.set(_j, "rexpr", _p?.rexpr); + _o.set(_j, "location", _p?.location); + return _j; + }, + typeCast(_p?: TypeCast): TypeCast { + const _j = ({} as TypeCast); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "location", _p?.location); + return _j; + }, + collateClause(_p?: CollateClause): CollateClause { + const _j = ({} as CollateClause); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "collname", _p?.collname); + _o.set(_j, "location", _p?.location); + return _j; + }, + roleSpec(_p?: RoleSpec): RoleSpec { + const _j = ({} as RoleSpec); + _o.set(_j, "roletype", _p?.roletype); + _o.set(_j, "rolename", _p?.rolename); + _o.set(_j, "location", _p?.location); + return _j; + }, + funcCall(_p?: FuncCall): FuncCall { + const _j = ({} as FuncCall); + _o.set(_j, "funcname", _p?.funcname); + _o.set(_j, "args", _p?.args); + _o.set(_j, "agg_order", _p?.agg_order); + _o.set(_j, "agg_filter", _p?.agg_filter); + _o.set(_j, "over", _p?.over); + _o.set(_j, "agg_within_group", _p?.agg_within_group); + _o.set(_j, "agg_star", _p?.agg_star); + _o.set(_j, "agg_distinct", _p?.agg_distinct); + _o.set(_j, "func_variadic", _p?.func_variadic); + _o.set(_j, "funcformat", _p?.funcformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + aStar(_p?: A_Star): A_Star { + const _j = ({} as A_Star); + return _j; + }, + aIndices(_p?: A_Indices): A_Indices { + const _j = ({} as A_Indices); + _o.set(_j, "is_slice", _p?.is_slice); + _o.set(_j, "lidx", _p?.lidx); + _o.set(_j, "uidx", _p?.uidx); + return _j; + }, + aIndirection(_p?: A_Indirection): A_Indirection { + const _j = ({} as A_Indirection); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "indirection", _p?.indirection); + return _j; + }, + aArrayExpr(_p?: A_ArrayExpr): A_ArrayExpr { + const _j = ({} as A_ArrayExpr); + _o.set(_j, "elements", _p?.elements); + _o.set(_j, "location", _p?.location); + return _j; + }, + resTarget(_p?: ResTarget): ResTarget { + const _j = ({} as ResTarget); + _o.set(_j, "name", _p?.name); + _o.set(_j, "indirection", _p?.indirection); + _o.set(_j, "val", _p?.val); + _o.set(_j, "location", _p?.location); + return _j; + }, + multiAssignRef(_p?: MultiAssignRef): MultiAssignRef { + const _j = ({} as MultiAssignRef); + _o.set(_j, "source", _p?.source); + _o.set(_j, "colno", _p?.colno); + _o.set(_j, "ncolumns", _p?.ncolumns); + return _j; + }, + sortBy(_p?: SortBy): SortBy { + const _j = ({} as SortBy); + _o.set(_j, "node", _p?.node); + _o.set(_j, "sortby_dir", _p?.sortby_dir); + _o.set(_j, "sortby_nulls", _p?.sortby_nulls); + _o.set(_j, "useOp", _p?.useOp); + _o.set(_j, "location", _p?.location); + return _j; + }, + windowDef(_p?: WindowDef): WindowDef { + const _j = ({} as WindowDef); + _o.set(_j, "name", _p?.name); + _o.set(_j, "refname", _p?.refname); + _o.set(_j, "partitionClause", _p?.partitionClause); + _o.set(_j, "orderClause", _p?.orderClause); + _o.set(_j, "frameOptions", _p?.frameOptions); + _o.set(_j, "startOffset", _p?.startOffset); + _o.set(_j, "endOffset", _p?.endOffset); + _o.set(_j, "location", _p?.location); + return _j; + }, + rangeSubselect(_p?: RangeSubselect): RangeSubselect { + const _j = ({} as RangeSubselect); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "subquery", _p?.subquery); + _o.set(_j, "alias", _p?.alias); + return _j; + }, + rangeFunction(_p?: RangeFunction): RangeFunction { + const _j = ({} as RangeFunction); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "ordinality", _p?.ordinality); + _o.set(_j, "is_rowsfrom", _p?.is_rowsfrom); + _o.set(_j, "functions", _p?.functions); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "coldeflist", _p?.coldeflist); + return _j; + }, + rangeTableFunc(_p?: RangeTableFunc): RangeTableFunc { + const _j = ({} as RangeTableFunc); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "docexpr", _p?.docexpr); + _o.set(_j, "rowexpr", _p?.rowexpr); + _o.set(_j, "namespaces", _p?.namespaces); + _o.set(_j, "columns", _p?.columns); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "location", _p?.location); + return _j; + }, + rangeTableFuncCol(_p?: RangeTableFuncCol): RangeTableFuncCol { + const _j = ({} as RangeTableFuncCol); + _o.set(_j, "colname", _p?.colname); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "for_ordinality", _p?.for_ordinality); + _o.set(_j, "is_not_null", _p?.is_not_null); + _o.set(_j, "colexpr", _p?.colexpr); + _o.set(_j, "coldefexpr", _p?.coldefexpr); + _o.set(_j, "location", _p?.location); + return _j; + }, + rangeTableSample(_p?: RangeTableSample): RangeTableSample { + const _j = ({} as RangeTableSample); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "method", _p?.method); + _o.set(_j, "args", _p?.args); + _o.set(_j, "repeatable", _p?.repeatable); + _o.set(_j, "location", _p?.location); + return _j; + }, + columnDef(_p?: ColumnDef): ColumnDef { + const _j = ({} as ColumnDef); + _o.set(_j, "colname", _p?.colname); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "compression", _p?.compression); + _o.set(_j, "inhcount", _p?.inhcount); + _o.set(_j, "is_local", _p?.is_local); + _o.set(_j, "is_not_null", _p?.is_not_null); + _o.set(_j, "is_from_type", _p?.is_from_type); + _o.set(_j, "storage", _p?.storage); + _o.set(_j, "storage_name", _p?.storage_name); + _o.set(_j, "raw_default", _p?.raw_default); + _o.set(_j, "cooked_default", _p?.cooked_default); + _o.set(_j, "identity", _p?.identity); + _o.set(_j, "identitySequence", _p?.identitySequence); + _o.set(_j, "generated", _p?.generated); + _o.set(_j, "collClause", _p?.collClause); + _o.set(_j, "collOid", _p?.collOid); + _o.set(_j, "constraints", _p?.constraints); + _o.set(_j, "fdwoptions", _p?.fdwoptions); + _o.set(_j, "location", _p?.location); + return _j; + }, + tableLikeClause(_p?: TableLikeClause): TableLikeClause { + const _j = ({} as TableLikeClause); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "options", _p?.options); + _o.set(_j, "relationOid", _p?.relationOid); + return _j; + }, + indexElem(_p?: IndexElem): IndexElem { + const _j = ({} as IndexElem); + _o.set(_j, "name", _p?.name); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "indexcolname", _p?.indexcolname); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "opclass", _p?.opclass); + _o.set(_j, "opclassopts", _p?.opclassopts); + _o.set(_j, "ordering", _p?.ordering); + _o.set(_j, "nulls_ordering", _p?.nulls_ordering); + return _j; + }, + defElem(_p?: DefElem): DefElem { + const _j = ({} as DefElem); + _o.set(_j, "defnamespace", _p?.defnamespace); + _o.set(_j, "defname", _p?.defname); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "defaction", _p?.defaction); + _o.set(_j, "location", _p?.location); + return _j; + }, + lockingClause(_p?: LockingClause): LockingClause { + const _j = ({} as LockingClause); + _o.set(_j, "lockedRels", _p?.lockedRels); + _o.set(_j, "strength", _p?.strength); + _o.set(_j, "waitPolicy", _p?.waitPolicy); + return _j; + }, + xmlSerialize(_p?: XmlSerialize): XmlSerialize { + const _j = ({} as XmlSerialize); + _o.set(_j, "xmloption", _p?.xmloption); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "indent", _p?.indent); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionElem(_p?: PartitionElem): PartitionElem { + const _j = ({} as PartitionElem); + _o.set(_j, "name", _p?.name); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "opclass", _p?.opclass); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionSpec(_p?: PartitionSpec): PartitionSpec { + const _j = ({} as PartitionSpec); + _o.set(_j, "strategy", _p?.strategy); + _o.set(_j, "partParams", _p?.partParams); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionBoundSpec(_p?: PartitionBoundSpec): PartitionBoundSpec { + const _j = ({} as PartitionBoundSpec); + _o.set(_j, "strategy", _p?.strategy); + _o.set(_j, "is_default", _p?.is_default); + _o.set(_j, "modulus", _p?.modulus); + _o.set(_j, "remainder", _p?.remainder); + _o.set(_j, "listdatums", _p?.listdatums); + _o.set(_j, "lowerdatums", _p?.lowerdatums); + _o.set(_j, "upperdatums", _p?.upperdatums); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionRangeDatum(_p?: PartitionRangeDatum): PartitionRangeDatum { + const _j = ({} as PartitionRangeDatum); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "value", _p?.value); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionCmd(_p?: PartitionCmd): PartitionCmd { + const _j = ({} as PartitionCmd); + _o.set(_j, "name", _p?.name); + _o.set(_j, "bound", _p?.bound); + _o.set(_j, "concurrent", _p?.concurrent); + return _j; + }, + rangeTblEntry(_p?: RangeTblEntry): RangeTblEntry { + const _j = ({} as RangeTblEntry); + _o.set(_j, "rtekind", _p?.rtekind); + _o.set(_j, "relid", _p?.relid); + _o.set(_j, "relkind", _p?.relkind); + _o.set(_j, "rellockmode", _p?.rellockmode); + _o.set(_j, "tablesample", _p?.tablesample); + _o.set(_j, "perminfoindex", _p?.perminfoindex); + _o.set(_j, "subquery", _p?.subquery); + _o.set(_j, "security_barrier", _p?.security_barrier); + _o.set(_j, "jointype", _p?.jointype); + _o.set(_j, "joinmergedcols", _p?.joinmergedcols); + _o.set(_j, "joinaliasvars", _p?.joinaliasvars); + _o.set(_j, "joinleftcols", _p?.joinleftcols); + _o.set(_j, "joinrightcols", _p?.joinrightcols); + _o.set(_j, "join_using_alias", _p?.join_using_alias); + _o.set(_j, "functions", _p?.functions); + _o.set(_j, "funcordinality", _p?.funcordinality); + _o.set(_j, "tablefunc", _p?.tablefunc); + _o.set(_j, "values_lists", _p?.values_lists); + _o.set(_j, "ctename", _p?.ctename); + _o.set(_j, "ctelevelsup", _p?.ctelevelsup); + _o.set(_j, "self_reference", _p?.self_reference); + _o.set(_j, "coltypes", _p?.coltypes); + _o.set(_j, "coltypmods", _p?.coltypmods); + _o.set(_j, "colcollations", _p?.colcollations); + _o.set(_j, "enrname", _p?.enrname); + _o.set(_j, "enrtuples", _p?.enrtuples); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "eref", _p?.eref); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "inh", _p?.inh); + _o.set(_j, "inFromCl", _p?.inFromCl); + _o.set(_j, "securityQuals", _p?.securityQuals); + return _j; + }, + rtePermissionInfo(_p?: RTEPermissionInfo): RTEPermissionInfo { + const _j = ({} as RTEPermissionInfo); + _o.set(_j, "relid", _p?.relid); + _o.set(_j, "inh", _p?.inh); + _o.set(_j, "requiredPerms", _p?.requiredPerms); + _o.set(_j, "checkAsUser", _p?.checkAsUser); + _o.set(_j, "selectedCols", _p?.selectedCols); + _o.set(_j, "insertedCols", _p?.insertedCols); + _o.set(_j, "updatedCols", _p?.updatedCols); + return _j; + }, + rangeTblFunction(_p?: RangeTblFunction): RangeTblFunction { + const _j = ({} as RangeTblFunction); + _o.set(_j, "funcexpr", _p?.funcexpr); + _o.set(_j, "funccolcount", _p?.funccolcount); + _o.set(_j, "funccolnames", _p?.funccolnames); + _o.set(_j, "funccoltypes", _p?.funccoltypes); + _o.set(_j, "funccoltypmods", _p?.funccoltypmods); + _o.set(_j, "funccolcollations", _p?.funccolcollations); + _o.set(_j, "funcparams", _p?.funcparams); + return _j; + }, + tableSampleClause(_p?: TableSampleClause): TableSampleClause { + const _j = ({} as TableSampleClause); + _o.set(_j, "tsmhandler", _p?.tsmhandler); + _o.set(_j, "args", _p?.args); + _o.set(_j, "repeatable", _p?.repeatable); + return _j; + }, + withCheckOption(_p?: WithCheckOption): WithCheckOption { + const _j = ({} as WithCheckOption); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "relname", _p?.relname); + _o.set(_j, "polname", _p?.polname); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "cascaded", _p?.cascaded); + return _j; + }, + sortGroupClause(_p?: SortGroupClause): SortGroupClause { + const _j = ({} as SortGroupClause); + _o.set(_j, "tleSortGroupRef", _p?.tleSortGroupRef); + _o.set(_j, "eqop", _p?.eqop); + _o.set(_j, "sortop", _p?.sortop); + _o.set(_j, "nulls_first", _p?.nulls_first); + _o.set(_j, "hashable", _p?.hashable); + return _j; + }, + groupingSet(_p?: GroupingSet): GroupingSet { + const _j = ({} as GroupingSet); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "content", _p?.content); + _o.set(_j, "location", _p?.location); + return _j; + }, + windowClause(_p?: WindowClause): WindowClause { + const _j = ({} as WindowClause); + _o.set(_j, "name", _p?.name); + _o.set(_j, "refname", _p?.refname); + _o.set(_j, "partitionClause", _p?.partitionClause); + _o.set(_j, "orderClause", _p?.orderClause); + _o.set(_j, "frameOptions", _p?.frameOptions); + _o.set(_j, "startOffset", _p?.startOffset); + _o.set(_j, "endOffset", _p?.endOffset); + _o.set(_j, "runCondition", _p?.runCondition); + _o.set(_j, "startInRangeFunc", _p?.startInRangeFunc); + _o.set(_j, "endInRangeFunc", _p?.endInRangeFunc); + _o.set(_j, "inRangeColl", _p?.inRangeColl); + _o.set(_j, "inRangeAsc", _p?.inRangeAsc); + _o.set(_j, "inRangeNullsFirst", _p?.inRangeNullsFirst); + _o.set(_j, "winref", _p?.winref); + _o.set(_j, "copiedOrder", _p?.copiedOrder); + return _j; + }, + rowMarkClause(_p?: RowMarkClause): RowMarkClause { + const _j = ({} as RowMarkClause); + _o.set(_j, "rti", _p?.rti); + _o.set(_j, "strength", _p?.strength); + _o.set(_j, "waitPolicy", _p?.waitPolicy); + _o.set(_j, "pushedDown", _p?.pushedDown); + return _j; + }, + withClause(_p?: WithClause): WithClause { + const _j = ({} as WithClause); + _o.set(_j, "ctes", _p?.ctes); + _o.set(_j, "recursive", _p?.recursive); + _o.set(_j, "location", _p?.location); + return _j; + }, + inferClause(_p?: InferClause): InferClause { + const _j = ({} as InferClause); + _o.set(_j, "indexElems", _p?.indexElems); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "conname", _p?.conname); + _o.set(_j, "location", _p?.location); + return _j; + }, + onConflictClause(_p?: OnConflictClause): OnConflictClause { + const _j = ({} as OnConflictClause); + _o.set(_j, "action", _p?.action); + _o.set(_j, "infer", _p?.infer); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "location", _p?.location); + return _j; + }, + cteSearchClause(_p?: CTESearchClause): CTESearchClause { + const _j = ({} as CTESearchClause); + _o.set(_j, "search_col_list", _p?.search_col_list); + _o.set(_j, "search_breadth_first", _p?.search_breadth_first); + _o.set(_j, "search_seq_column", _p?.search_seq_column); + _o.set(_j, "location", _p?.location); + return _j; + }, + cteCycleClause(_p?: CTECycleClause): CTECycleClause { + const _j = ({} as CTECycleClause); + _o.set(_j, "cycle_col_list", _p?.cycle_col_list); + _o.set(_j, "cycle_mark_column", _p?.cycle_mark_column); + _o.set(_j, "cycle_mark_value", _p?.cycle_mark_value); + _o.set(_j, "cycle_mark_default", _p?.cycle_mark_default); + _o.set(_j, "cycle_path_column", _p?.cycle_path_column); + _o.set(_j, "location", _p?.location); + _o.set(_j, "cycle_mark_type", _p?.cycle_mark_type); + _o.set(_j, "cycle_mark_typmod", _p?.cycle_mark_typmod); + _o.set(_j, "cycle_mark_collation", _p?.cycle_mark_collation); + _o.set(_j, "cycle_mark_neop", _p?.cycle_mark_neop); + return _j; + }, + commonTableExpr(_p?: CommonTableExpr): CommonTableExpr { + const _j = ({} as CommonTableExpr); + _o.set(_j, "ctename", _p?.ctename); + _o.set(_j, "aliascolnames", _p?.aliascolnames); + _o.set(_j, "ctematerialized", _p?.ctematerialized); + _o.set(_j, "ctequery", _p?.ctequery); + _o.set(_j, "search_clause", _p?.search_clause); + _o.set(_j, "cycle_clause", _p?.cycle_clause); + _o.set(_j, "location", _p?.location); + _o.set(_j, "cterecursive", _p?.cterecursive); + _o.set(_j, "cterefcount", _p?.cterefcount); + _o.set(_j, "ctecolnames", _p?.ctecolnames); + _o.set(_j, "ctecoltypes", _p?.ctecoltypes); + _o.set(_j, "ctecoltypmods", _p?.ctecoltypmods); + _o.set(_j, "ctecolcollations", _p?.ctecolcollations); + return _j; + }, + mergeWhenClause(_p?: MergeWhenClause): MergeWhenClause { + const _j = ({} as MergeWhenClause); + _o.set(_j, "matched", _p?.matched); + _o.set(_j, "commandType", _p?.commandType); + _o.set(_j, "override", _p?.override); + _o.set(_j, "condition", _p?.condition); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "values", _p?.values); + return _j; + }, + mergeAction(_p?: MergeAction): MergeAction { + const _j = ({} as MergeAction); + _o.set(_j, "matched", _p?.matched); + _o.set(_j, "commandType", _p?.commandType); + _o.set(_j, "override", _p?.override); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "updateColnos", _p?.updateColnos); + return _j; + }, + triggerTransition(_p?: TriggerTransition): TriggerTransition { + const _j = ({} as TriggerTransition); + _o.set(_j, "name", _p?.name); + _o.set(_j, "isNew", _p?.isNew); + _o.set(_j, "isTable", _p?.isTable); + return _j; + }, + jsonOutput(_p?: JsonOutput): JsonOutput { + const _j = ({} as JsonOutput); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "returning", _p?.returning); + return _j; + }, + jsonKeyValue(_p?: JsonKeyValue): JsonKeyValue { + const _j = ({} as JsonKeyValue); + _o.set(_j, "key", _p?.key); + _o.set(_j, "value", _p?.value); + return _j; + }, + jsonObjectConstructor(_p?: JsonObjectConstructor): JsonObjectConstructor { + const _j = ({} as JsonObjectConstructor); + _o.set(_j, "exprs", _p?.exprs); + _o.set(_j, "output", _p?.output); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "unique", _p?.unique); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonArrayConstructor(_p?: JsonArrayConstructor): JsonArrayConstructor { + const _j = ({} as JsonArrayConstructor); + _o.set(_j, "exprs", _p?.exprs); + _o.set(_j, "output", _p?.output); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonArrayQueryConstructor(_p?: JsonArrayQueryConstructor): JsonArrayQueryConstructor { + const _j = ({} as JsonArrayQueryConstructor); + _o.set(_j, "query", _p?.query); + _o.set(_j, "output", _p?.output); + _o.set(_j, "format", _p?.format); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonAggConstructor(_p?: JsonAggConstructor): JsonAggConstructor { + const _j = ({} as JsonAggConstructor); + _o.set(_j, "output", _p?.output); + _o.set(_j, "agg_filter", _p?.agg_filter); + _o.set(_j, "agg_order", _p?.agg_order); + _o.set(_j, "over", _p?.over); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonObjectAgg(_p?: JsonObjectAgg): JsonObjectAgg { + const _j = ({} as JsonObjectAgg); + _o.set(_j, "constructor", _p?.constructor); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "unique", _p?.unique); + return _j; + }, + jsonArrayAgg(_p?: JsonArrayAgg): JsonArrayAgg { + const _j = ({} as JsonArrayAgg); + _o.set(_j, "constructor", _p?.constructor); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + return _j; + }, + rawStmt(_p?: RawStmt): RawStmt { + const _j = ({} as RawStmt); + _o.set(_j, "stmt", _p?.stmt); + _o.set(_j, "stmt_location", _p?.stmt_location); + _o.set(_j, "stmt_len", _p?.stmt_len); + return _j; + }, + insertStmt(_p?: InsertStmt): InsertStmt { + const _j = ({} as InsertStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "cols", _p?.cols); + _o.set(_j, "selectStmt", _p?.selectStmt); + _o.set(_j, "onConflictClause", _p?.onConflictClause); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "withClause", _p?.withClause); + _o.set(_j, "override", _p?.override); + return _j; + }, + deleteStmt(_p?: DeleteStmt): DeleteStmt { + const _j = ({} as DeleteStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "usingClause", _p?.usingClause); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "withClause", _p?.withClause); + return _j; + }, + updateStmt(_p?: UpdateStmt): UpdateStmt { + const _j = ({} as UpdateStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "fromClause", _p?.fromClause); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "withClause", _p?.withClause); + return _j; + }, + mergeStmt(_p?: MergeStmt): MergeStmt { + const _j = ({} as MergeStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "sourceRelation", _p?.sourceRelation); + _o.set(_j, "joinCondition", _p?.joinCondition); + _o.set(_j, "mergeWhenClauses", _p?.mergeWhenClauses); + _o.set(_j, "withClause", _p?.withClause); + return _j; + }, + selectStmt(_p?: SelectStmt): SelectStmt { + const _j = ({} as SelectStmt); + _o.set(_j, "distinctClause", _p?.distinctClause); + _o.set(_j, "intoClause", _p?.intoClause); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "fromClause", _p?.fromClause); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "groupClause", _p?.groupClause); + _o.set(_j, "groupDistinct", _p?.groupDistinct); + _o.set(_j, "havingClause", _p?.havingClause); + _o.set(_j, "windowClause", _p?.windowClause); + _o.set(_j, "valuesLists", _p?.valuesLists); + _o.set(_j, "sortClause", _p?.sortClause); + _o.set(_j, "limitOffset", _p?.limitOffset); + _o.set(_j, "limitCount", _p?.limitCount); + _o.set(_j, "limitOption", _p?.limitOption); + _o.set(_j, "lockingClause", _p?.lockingClause); + _o.set(_j, "withClause", _p?.withClause); + _o.set(_j, "op", _p?.op); + _o.set(_j, "all", _p?.all); + _o.set(_j, "larg", _p?.larg); + _o.set(_j, "rarg", _p?.rarg); + return _j; + }, + setOperationStmt(_p?: SetOperationStmt): SetOperationStmt { + const _j = ({} as SetOperationStmt); + _o.set(_j, "op", _p?.op); + _o.set(_j, "all", _p?.all); + _o.set(_j, "larg", _p?.larg); + _o.set(_j, "rarg", _p?.rarg); + _o.set(_j, "colTypes", _p?.colTypes); + _o.set(_j, "colTypmods", _p?.colTypmods); + _o.set(_j, "colCollations", _p?.colCollations); + _o.set(_j, "groupClauses", _p?.groupClauses); + return _j; + }, + returnStmt(_p?: ReturnStmt): ReturnStmt { + const _j = ({} as ReturnStmt); + _o.set(_j, "returnval", _p?.returnval); + return _j; + }, + plAssignStmt(_p?: PLAssignStmt): PLAssignStmt { + const _j = ({} as PLAssignStmt); + _o.set(_j, "name", _p?.name); + _o.set(_j, "indirection", _p?.indirection); + _o.set(_j, "nnames", _p?.nnames); + _o.set(_j, "val", _p?.val); + _o.set(_j, "location", _p?.location); + return _j; + }, + createSchemaStmt(_p?: CreateSchemaStmt): CreateSchemaStmt { + const _j = ({} as CreateSchemaStmt); + _o.set(_j, "schemaname", _p?.schemaname); + _o.set(_j, "authrole", _p?.authrole); + _o.set(_j, "schemaElts", _p?.schemaElts); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + alterTableStmt(_p?: AlterTableStmt): AlterTableStmt { + const _j = ({} as AlterTableStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "cmds", _p?.cmds); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + replicaIdentityStmt(_p?: ReplicaIdentityStmt): ReplicaIdentityStmt { + const _j = ({} as ReplicaIdentityStmt); + _o.set(_j, "identity_type", _p?.identity_type); + _o.set(_j, "name", _p?.name); + return _j; + }, + alterTableCmd(_p?: AlterTableCmd): AlterTableCmd { + const _j = ({} as AlterTableCmd); + _o.set(_j, "subtype", _p?.subtype); + _o.set(_j, "name", _p?.name); + _o.set(_j, "num", _p?.num); + _o.set(_j, "newowner", _p?.newowner); + _o.set(_j, "def", _p?.def); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "recurse", _p?.recurse); + return _j; + }, + alterCollationStmt(_p?: AlterCollationStmt): AlterCollationStmt { + const _j = ({} as AlterCollationStmt); + _o.set(_j, "collname", _p?.collname); + return _j; + }, + alterDomainStmt(_p?: AlterDomainStmt): AlterDomainStmt { + const _j = ({} as AlterDomainStmt); + _o.set(_j, "subtype", _p?.subtype); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "name", _p?.name); + _o.set(_j, "def", _p?.def); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + grantStmt(_p?: GrantStmt): GrantStmt { + const _j = ({} as GrantStmt); + _o.set(_j, "is_grant", _p?.is_grant); + _o.set(_j, "targtype", _p?.targtype); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "objects", _p?.objects); + _o.set(_j, "privileges", _p?.privileges); + _o.set(_j, "grantees", _p?.grantees); + _o.set(_j, "grant_option", _p?.grant_option); + _o.set(_j, "grantor", _p?.grantor); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + objectWithArgs(_p?: ObjectWithArgs): ObjectWithArgs { + const _j = ({} as ObjectWithArgs); + _o.set(_j, "objname", _p?.objname); + _o.set(_j, "objargs", _p?.objargs); + _o.set(_j, "objfuncargs", _p?.objfuncargs); + _o.set(_j, "args_unspecified", _p?.args_unspecified); + return _j; + }, + accessPriv(_p?: AccessPriv): AccessPriv { + const _j = ({} as AccessPriv); + _o.set(_j, "priv_name", _p?.priv_name); + _o.set(_j, "cols", _p?.cols); + return _j; + }, + grantRoleStmt(_p?: GrantRoleStmt): GrantRoleStmt { + const _j = ({} as GrantRoleStmt); + _o.set(_j, "granted_roles", _p?.granted_roles); + _o.set(_j, "grantee_roles", _p?.grantee_roles); + _o.set(_j, "is_grant", _p?.is_grant); + _o.set(_j, "opt", _p?.opt); + _o.set(_j, "grantor", _p?.grantor); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + alterDefaultPrivilegesStmt(_p?: AlterDefaultPrivilegesStmt): AlterDefaultPrivilegesStmt { + const _j = ({} as AlterDefaultPrivilegesStmt); + _o.set(_j, "options", _p?.options); + _o.set(_j, "action", _p?.action); + return _j; + }, + copyStmt(_p?: CopyStmt): CopyStmt { + const _j = ({} as CopyStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "query", _p?.query); + _o.set(_j, "attlist", _p?.attlist); + _o.set(_j, "is_from", _p?.is_from); + _o.set(_j, "is_program", _p?.is_program); + _o.set(_j, "filename", _p?.filename); + _o.set(_j, "options", _p?.options); + _o.set(_j, "whereClause", _p?.whereClause); + return _j; + }, + variableSetStmt(_p?: VariableSetStmt): VariableSetStmt { + const _j = ({} as VariableSetStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "name", _p?.name); + _o.set(_j, "args", _p?.args); + _o.set(_j, "is_local", _p?.is_local); + return _j; + }, + variableShowStmt(_p?: VariableShowStmt): VariableShowStmt { + const _j = ({} as VariableShowStmt); + _o.set(_j, "name", _p?.name); + return _j; + }, + createStmt(_p?: CreateStmt): CreateStmt { + const _j = ({} as CreateStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "tableElts", _p?.tableElts); + _o.set(_j, "inhRelations", _p?.inhRelations); + _o.set(_j, "partbound", _p?.partbound); + _o.set(_j, "partspec", _p?.partspec); + _o.set(_j, "ofTypename", _p?.ofTypename); + _o.set(_j, "constraints", _p?.constraints); + _o.set(_j, "options", _p?.options); + _o.set(_j, "oncommit", _p?.oncommit); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "accessMethod", _p?.accessMethod); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + constraint(_p?: Constraint): Constraint { + const _j = ({} as Constraint); + _o.set(_j, "contype", _p?.contype); + _o.set(_j, "conname", _p?.conname); + _o.set(_j, "deferrable", _p?.deferrable); + _o.set(_j, "initdeferred", _p?.initdeferred); + _o.set(_j, "location", _p?.location); + _o.set(_j, "is_no_inherit", _p?.is_no_inherit); + _o.set(_j, "raw_expr", _p?.raw_expr); + _o.set(_j, "cooked_expr", _p?.cooked_expr); + _o.set(_j, "generated_when", _p?.generated_when); + _o.set(_j, "nulls_not_distinct", _p?.nulls_not_distinct); + _o.set(_j, "keys", _p?.keys); + _o.set(_j, "including", _p?.including); + _o.set(_j, "exclusions", _p?.exclusions); + _o.set(_j, "options", _p?.options); + _o.set(_j, "indexname", _p?.indexname); + _o.set(_j, "indexspace", _p?.indexspace); + _o.set(_j, "reset_default_tblspc", _p?.reset_default_tblspc); + _o.set(_j, "access_method", _p?.access_method); + _o.set(_j, "where_clause", _p?.where_clause); + _o.set(_j, "pktable", _p?.pktable); + _o.set(_j, "fk_attrs", _p?.fk_attrs); + _o.set(_j, "pk_attrs", _p?.pk_attrs); + _o.set(_j, "fk_matchtype", _p?.fk_matchtype); + _o.set(_j, "fk_upd_action", _p?.fk_upd_action); + _o.set(_j, "fk_del_action", _p?.fk_del_action); + _o.set(_j, "fk_del_set_cols", _p?.fk_del_set_cols); + _o.set(_j, "old_conpfeqop", _p?.old_conpfeqop); + _o.set(_j, "old_pktable_oid", _p?.old_pktable_oid); + _o.set(_j, "skip_validation", _p?.skip_validation); + _o.set(_j, "initially_valid", _p?.initially_valid); + return _j; + }, + createTableSpaceStmt(_p?: CreateTableSpaceStmt): CreateTableSpaceStmt { + const _j = ({} as CreateTableSpaceStmt); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "owner", _p?.owner); + _o.set(_j, "location", _p?.location); + _o.set(_j, "options", _p?.options); + return _j; + }, + dropTableSpaceStmt(_p?: DropTableSpaceStmt): DropTableSpaceStmt { + const _j = ({} as DropTableSpaceStmt); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + alterTableSpaceOptionsStmt(_p?: AlterTableSpaceOptionsStmt): AlterTableSpaceOptionsStmt { + const _j = ({} as AlterTableSpaceOptionsStmt); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "options", _p?.options); + _o.set(_j, "isReset", _p?.isReset); + return _j; + }, + alterTableMoveAllStmt(_p?: AlterTableMoveAllStmt): AlterTableMoveAllStmt { + const _j = ({} as AlterTableMoveAllStmt); + _o.set(_j, "orig_tablespacename", _p?.orig_tablespacename); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "new_tablespacename", _p?.new_tablespacename); + _o.set(_j, "nowait", _p?.nowait); + return _j; + }, + createExtensionStmt(_p?: CreateExtensionStmt): CreateExtensionStmt { + const _j = ({} as CreateExtensionStmt); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterExtensionStmt(_p?: AlterExtensionStmt): AlterExtensionStmt { + const _j = ({} as AlterExtensionStmt); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterExtensionContentsStmt(_p?: AlterExtensionContentsStmt): AlterExtensionContentsStmt { + const _j = ({} as AlterExtensionContentsStmt); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "action", _p?.action); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "object", _p?.object); + return _j; + }, + createFdwStmt(_p?: CreateFdwStmt): CreateFdwStmt { + const _j = ({} as CreateFdwStmt); + _o.set(_j, "fdwname", _p?.fdwname); + _o.set(_j, "func_options", _p?.func_options); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterFdwStmt(_p?: AlterFdwStmt): AlterFdwStmt { + const _j = ({} as AlterFdwStmt); + _o.set(_j, "fdwname", _p?.fdwname); + _o.set(_j, "func_options", _p?.func_options); + _o.set(_j, "options", _p?.options); + return _j; + }, + createForeignServerStmt(_p?: CreateForeignServerStmt): CreateForeignServerStmt { + const _j = ({} as CreateForeignServerStmt); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "servertype", _p?.servertype); + _o.set(_j, "version", _p?.version); + _o.set(_j, "fdwname", _p?.fdwname); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterForeignServerStmt(_p?: AlterForeignServerStmt): AlterForeignServerStmt { + const _j = ({} as AlterForeignServerStmt); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "version", _p?.version); + _o.set(_j, "options", _p?.options); + _o.set(_j, "has_version", _p?.has_version); + return _j; + }, + createForeignTableStmt(_p?: CreateForeignTableStmt): CreateForeignTableStmt { + const _j = ({} as CreateForeignTableStmt); + _o.set(_j, "base", _p?.base); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "options", _p?.options); + return _j; + }, + createUserMappingStmt(_p?: CreateUserMappingStmt): CreateUserMappingStmt { + const _j = ({} as CreateUserMappingStmt); + _o.set(_j, "user", _p?.user); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterUserMappingStmt(_p?: AlterUserMappingStmt): AlterUserMappingStmt { + const _j = ({} as AlterUserMappingStmt); + _o.set(_j, "user", _p?.user); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "options", _p?.options); + return _j; + }, + dropUserMappingStmt(_p?: DropUserMappingStmt): DropUserMappingStmt { + const _j = ({} as DropUserMappingStmt); + _o.set(_j, "user", _p?.user); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + importForeignSchemaStmt(_p?: ImportForeignSchemaStmt): ImportForeignSchemaStmt { + const _j = ({} as ImportForeignSchemaStmt); + _o.set(_j, "server_name", _p?.server_name); + _o.set(_j, "remote_schema", _p?.remote_schema); + _o.set(_j, "local_schema", _p?.local_schema); + _o.set(_j, "list_type", _p?.list_type); + _o.set(_j, "table_list", _p?.table_list); + _o.set(_j, "options", _p?.options); + return _j; + }, + createPolicyStmt(_p?: CreatePolicyStmt): CreatePolicyStmt { + const _j = ({} as CreatePolicyStmt); + _o.set(_j, "policy_name", _p?.policy_name); + _o.set(_j, "table", _p?.table); + _o.set(_j, "cmd_name", _p?.cmd_name); + _o.set(_j, "permissive", _p?.permissive); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "with_check", _p?.with_check); + return _j; + }, + alterPolicyStmt(_p?: AlterPolicyStmt): AlterPolicyStmt { + const _j = ({} as AlterPolicyStmt); + _o.set(_j, "policy_name", _p?.policy_name); + _o.set(_j, "table", _p?.table); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "with_check", _p?.with_check); + return _j; + }, + createAmStmt(_p?: CreateAmStmt): CreateAmStmt { + const _j = ({} as CreateAmStmt); + _o.set(_j, "amname", _p?.amname); + _o.set(_j, "handler_name", _p?.handler_name); + _o.set(_j, "amtype", _p?.amtype); + return _j; + }, + createTrigStmt(_p?: CreateTrigStmt): CreateTrigStmt { + const _j = ({} as CreateTrigStmt); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "isconstraint", _p?.isconstraint); + _o.set(_j, "trigname", _p?.trigname); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "funcname", _p?.funcname); + _o.set(_j, "args", _p?.args); + _o.set(_j, "row", _p?.row); + _o.set(_j, "timing", _p?.timing); + _o.set(_j, "events", _p?.events); + _o.set(_j, "columns", _p?.columns); + _o.set(_j, "whenClause", _p?.whenClause); + _o.set(_j, "transitionRels", _p?.transitionRels); + _o.set(_j, "deferrable", _p?.deferrable); + _o.set(_j, "initdeferred", _p?.initdeferred); + _o.set(_j, "constrrel", _p?.constrrel); + return _j; + }, + createEventTrigStmt(_p?: CreateEventTrigStmt): CreateEventTrigStmt { + const _j = ({} as CreateEventTrigStmt); + _o.set(_j, "trigname", _p?.trigname); + _o.set(_j, "eventname", _p?.eventname); + _o.set(_j, "whenclause", _p?.whenclause); + _o.set(_j, "funcname", _p?.funcname); + return _j; + }, + alterEventTrigStmt(_p?: AlterEventTrigStmt): AlterEventTrigStmt { + const _j = ({} as AlterEventTrigStmt); + _o.set(_j, "trigname", _p?.trigname); + _o.set(_j, "tgenabled", _p?.tgenabled); + return _j; + }, + createpLangStmt(_p?: CreatePLangStmt): CreatePLangStmt { + const _j = ({} as CreatePLangStmt); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "plname", _p?.plname); + _o.set(_j, "plhandler", _p?.plhandler); + _o.set(_j, "plinline", _p?.plinline); + _o.set(_j, "plvalidator", _p?.plvalidator); + _o.set(_j, "pltrusted", _p?.pltrusted); + return _j; + }, + createRoleStmt(_p?: CreateRoleStmt): CreateRoleStmt { + const _j = ({} as CreateRoleStmt); + _o.set(_j, "stmt_type", _p?.stmt_type); + _o.set(_j, "role", _p?.role); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterRoleStmt(_p?: AlterRoleStmt): AlterRoleStmt { + const _j = ({} as AlterRoleStmt); + _o.set(_j, "role", _p?.role); + _o.set(_j, "options", _p?.options); + _o.set(_j, "action", _p?.action); + return _j; + }, + alterRoleSetStmt(_p?: AlterRoleSetStmt): AlterRoleSetStmt { + const _j = ({} as AlterRoleSetStmt); + _o.set(_j, "role", _p?.role); + _o.set(_j, "database", _p?.database); + _o.set(_j, "setstmt", _p?.setstmt); + return _j; + }, + dropRoleStmt(_p?: DropRoleStmt): DropRoleStmt { + const _j = ({} as DropRoleStmt); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + createSeqStmt(_p?: CreateSeqStmt): CreateSeqStmt { + const _j = ({} as CreateSeqStmt); + _o.set(_j, "sequence", _p?.sequence); + _o.set(_j, "options", _p?.options); + _o.set(_j, "ownerId", _p?.ownerId); + _o.set(_j, "for_identity", _p?.for_identity); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + alterSeqStmt(_p?: AlterSeqStmt): AlterSeqStmt { + const _j = ({} as AlterSeqStmt); + _o.set(_j, "sequence", _p?.sequence); + _o.set(_j, "options", _p?.options); + _o.set(_j, "for_identity", _p?.for_identity); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + defineStmt(_p?: DefineStmt): DefineStmt { + const _j = ({} as DefineStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "oldstyle", _p?.oldstyle); + _o.set(_j, "defnames", _p?.defnames); + _o.set(_j, "args", _p?.args); + _o.set(_j, "definition", _p?.definition); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "replace", _p?.replace); + return _j; + }, + createDomainStmt(_p?: CreateDomainStmt): CreateDomainStmt { + const _j = ({} as CreateDomainStmt); + _o.set(_j, "domainname", _p?.domainname); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "collClause", _p?.collClause); + _o.set(_j, "constraints", _p?.constraints); + return _j; + }, + createOpClassStmt(_p?: CreateOpClassStmt): CreateOpClassStmt { + const _j = ({} as CreateOpClassStmt); + _o.set(_j, "opclassname", _p?.opclassname); + _o.set(_j, "opfamilyname", _p?.opfamilyname); + _o.set(_j, "amname", _p?.amname); + _o.set(_j, "datatype", _p?.datatype); + _o.set(_j, "items", _p?.items); + _o.set(_j, "isDefault", _p?.isDefault); + return _j; + }, + createOpClassItem(_p?: CreateOpClassItem): CreateOpClassItem { + const _j = ({} as CreateOpClassItem); + _o.set(_j, "itemtype", _p?.itemtype); + _o.set(_j, "name", _p?.name); + _o.set(_j, "number", _p?.number); + _o.set(_j, "order_family", _p?.order_family); + _o.set(_j, "class_args", _p?.class_args); + _o.set(_j, "storedtype", _p?.storedtype); + return _j; + }, + createOpFamilyStmt(_p?: CreateOpFamilyStmt): CreateOpFamilyStmt { + const _j = ({} as CreateOpFamilyStmt); + _o.set(_j, "opfamilyname", _p?.opfamilyname); + _o.set(_j, "amname", _p?.amname); + return _j; + }, + alterOpFamilyStmt(_p?: AlterOpFamilyStmt): AlterOpFamilyStmt { + const _j = ({} as AlterOpFamilyStmt); + _o.set(_j, "opfamilyname", _p?.opfamilyname); + _o.set(_j, "amname", _p?.amname); + _o.set(_j, "isDrop", _p?.isDrop); + _o.set(_j, "items", _p?.items); + return _j; + }, + dropStmt(_p?: DropStmt): DropStmt { + const _j = ({} as DropStmt); + _o.set(_j, "objects", _p?.objects); + _o.set(_j, "removeType", _p?.removeType); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "concurrent", _p?.concurrent); + return _j; + }, + truncateStmt(_p?: TruncateStmt): TruncateStmt { + const _j = ({} as TruncateStmt); + _o.set(_j, "relations", _p?.relations); + _o.set(_j, "restart_seqs", _p?.restart_seqs); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + commentStmt(_p?: CommentStmt): CommentStmt { + const _j = ({} as CommentStmt); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "object", _p?.object); + _o.set(_j, "comment", _p?.comment); + return _j; + }, + secLabelStmt(_p?: SecLabelStmt): SecLabelStmt { + const _j = ({} as SecLabelStmt); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "object", _p?.object); + _o.set(_j, "provider", _p?.provider); + _o.set(_j, "label", _p?.label); + return _j; + }, + declareCursorStmt(_p?: DeclareCursorStmt): DeclareCursorStmt { + const _j = ({} as DeclareCursorStmt); + _o.set(_j, "portalname", _p?.portalname); + _o.set(_j, "options", _p?.options); + _o.set(_j, "query", _p?.query); + return _j; + }, + closePortalStmt(_p?: ClosePortalStmt): ClosePortalStmt { + const _j = ({} as ClosePortalStmt); + _o.set(_j, "portalname", _p?.portalname); + return _j; + }, + fetchStmt(_p?: FetchStmt): FetchStmt { + const _j = ({} as FetchStmt); + _o.set(_j, "direction", _p?.direction); + _o.set(_j, "howMany", _p?.howMany); + _o.set(_j, "portalname", _p?.portalname); + _o.set(_j, "ismove", _p?.ismove); + return _j; + }, + indexStmt(_p?: IndexStmt): IndexStmt { + const _j = ({} as IndexStmt); + _o.set(_j, "idxname", _p?.idxname); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "accessMethod", _p?.accessMethod); + _o.set(_j, "tableSpace", _p?.tableSpace); + _o.set(_j, "indexParams", _p?.indexParams); + _o.set(_j, "indexIncludingParams", _p?.indexIncludingParams); + _o.set(_j, "options", _p?.options); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "excludeOpNames", _p?.excludeOpNames); + _o.set(_j, "idxcomment", _p?.idxcomment); + _o.set(_j, "indexOid", _p?.indexOid); + _o.set(_j, "oldNumber", _p?.oldNumber); + _o.set(_j, "oldCreateSubid", _p?.oldCreateSubid); + _o.set(_j, "oldFirstRelfilelocatorSubid", _p?.oldFirstRelfilelocatorSubid); + _o.set(_j, "unique", _p?.unique); + _o.set(_j, "nulls_not_distinct", _p?.nulls_not_distinct); + _o.set(_j, "primary", _p?.primary); + _o.set(_j, "isconstraint", _p?.isconstraint); + _o.set(_j, "deferrable", _p?.deferrable); + _o.set(_j, "initdeferred", _p?.initdeferred); + _o.set(_j, "transformed", _p?.transformed); + _o.set(_j, "concurrent", _p?.concurrent); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "reset_default_tblspc", _p?.reset_default_tblspc); + return _j; + }, + createStatsStmt(_p?: CreateStatsStmt): CreateStatsStmt { + const _j = ({} as CreateStatsStmt); + _o.set(_j, "defnames", _p?.defnames); + _o.set(_j, "stat_types", _p?.stat_types); + _o.set(_j, "exprs", _p?.exprs); + _o.set(_j, "relations", _p?.relations); + _o.set(_j, "stxcomment", _p?.stxcomment); + _o.set(_j, "transformed", _p?.transformed); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + statsElem(_p?: StatsElem): StatsElem { + const _j = ({} as StatsElem); + _o.set(_j, "name", _p?.name); + _o.set(_j, "expr", _p?.expr); + return _j; + }, + alterStatsStmt(_p?: AlterStatsStmt): AlterStatsStmt { + const _j = ({} as AlterStatsStmt); + _o.set(_j, "defnames", _p?.defnames); + _o.set(_j, "stxstattarget", _p?.stxstattarget); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + createFunctionStmt(_p?: CreateFunctionStmt): CreateFunctionStmt { + const _j = ({} as CreateFunctionStmt); + _o.set(_j, "is_procedure", _p?.is_procedure); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "funcname", _p?.funcname); + _o.set(_j, "parameters", _p?.parameters); + _o.set(_j, "returnType", _p?.returnType); + _o.set(_j, "options", _p?.options); + _o.set(_j, "sql_body", _p?.sql_body); + return _j; + }, + functionParameter(_p?: FunctionParameter): FunctionParameter { + const _j = ({} as FunctionParameter); + _o.set(_j, "name", _p?.name); + _o.set(_j, "argType", _p?.argType); + _o.set(_j, "mode", _p?.mode); + _o.set(_j, "defexpr", _p?.defexpr); + return _j; + }, + alterFunctionStmt(_p?: AlterFunctionStmt): AlterFunctionStmt { + const _j = ({} as AlterFunctionStmt); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "func", _p?.func); + _o.set(_j, "actions", _p?.actions); + return _j; + }, + doStmt(_p?: DoStmt): DoStmt { + const _j = ({} as DoStmt); + _o.set(_j, "args", _p?.args); + return _j; + }, + inlineCodeBlock(_p?: InlineCodeBlock): InlineCodeBlock { + const _j = ({} as InlineCodeBlock); + _o.set(_j, "source_text", _p?.source_text); + _o.set(_j, "langOid", _p?.langOid); + _o.set(_j, "langIsTrusted", _p?.langIsTrusted); + _o.set(_j, "atomic", _p?.atomic); + return _j; + }, + callStmt(_p?: CallStmt): CallStmt { + const _j = ({} as CallStmt); + _o.set(_j, "funccall", _p?.funccall); + _o.set(_j, "funcexpr", _p?.funcexpr); + _o.set(_j, "outargs", _p?.outargs); + return _j; + }, + callContext(_p?: CallContext): CallContext { + const _j = ({} as CallContext); + _o.set(_j, "atomic", _p?.atomic); + return _j; + }, + renameStmt(_p?: RenameStmt): RenameStmt { + const _j = ({} as RenameStmt); + _o.set(_j, "renameType", _p?.renameType); + _o.set(_j, "relationType", _p?.relationType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "newname", _p?.newname); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + alterObjectDependsStmt(_p?: AlterObjectDependsStmt): AlterObjectDependsStmt { + const _j = ({} as AlterObjectDependsStmt); + _o.set(_j, "objectType", _p?.objectType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "remove", _p?.remove); + return _j; + }, + alterObjectSchemaStmt(_p?: AlterObjectSchemaStmt): AlterObjectSchemaStmt { + const _j = ({} as AlterObjectSchemaStmt); + _o.set(_j, "objectType", _p?.objectType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "newschema", _p?.newschema); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + alterOwnerStmt(_p?: AlterOwnerStmt): AlterOwnerStmt { + const _j = ({} as AlterOwnerStmt); + _o.set(_j, "objectType", _p?.objectType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "newowner", _p?.newowner); + return _j; + }, + alterOperatorStmt(_p?: AlterOperatorStmt): AlterOperatorStmt { + const _j = ({} as AlterOperatorStmt); + _o.set(_j, "opername", _p?.opername); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterTypeStmt(_p?: AlterTypeStmt): AlterTypeStmt { + const _j = ({} as AlterTypeStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "options", _p?.options); + return _j; + }, + ruleStmt(_p?: RuleStmt): RuleStmt { + const _j = ({} as RuleStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "rulename", _p?.rulename); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "event", _p?.event); + _o.set(_j, "instead", _p?.instead); + _o.set(_j, "actions", _p?.actions); + _o.set(_j, "replace", _p?.replace); + return _j; + }, + notifyStmt(_p?: NotifyStmt): NotifyStmt { + const _j = ({} as NotifyStmt); + _o.set(_j, "conditionname", _p?.conditionname); + _o.set(_j, "payload", _p?.payload); + return _j; + }, + listenStmt(_p?: ListenStmt): ListenStmt { + const _j = ({} as ListenStmt); + _o.set(_j, "conditionname", _p?.conditionname); + return _j; + }, + unlistenStmt(_p?: UnlistenStmt): UnlistenStmt { + const _j = ({} as UnlistenStmt); + _o.set(_j, "conditionname", _p?.conditionname); + return _j; + }, + transactionStmt(_p?: TransactionStmt): TransactionStmt { + const _j = ({} as TransactionStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "options", _p?.options); + _o.set(_j, "savepoint_name", _p?.savepoint_name); + _o.set(_j, "gid", _p?.gid); + _o.set(_j, "chain", _p?.chain); + return _j; + }, + compositeTypeStmt(_p?: CompositeTypeStmt): CompositeTypeStmt { + const _j = ({} as CompositeTypeStmt); + _o.set(_j, "typevar", _p?.typevar); + _o.set(_j, "coldeflist", _p?.coldeflist); + return _j; + }, + createEnumStmt(_p?: CreateEnumStmt): CreateEnumStmt { + const _j = ({} as CreateEnumStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "vals", _p?.vals); + return _j; + }, + createRangeStmt(_p?: CreateRangeStmt): CreateRangeStmt { + const _j = ({} as CreateRangeStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "params", _p?.params); + return _j; + }, + alterEnumStmt(_p?: AlterEnumStmt): AlterEnumStmt { + const _j = ({} as AlterEnumStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "oldVal", _p?.oldVal); + _o.set(_j, "newVal", _p?.newVal); + _o.set(_j, "newValNeighbor", _p?.newValNeighbor); + _o.set(_j, "newValIsAfter", _p?.newValIsAfter); + _o.set(_j, "skipIfNewValExists", _p?.skipIfNewValExists); + return _j; + }, + viewStmt(_p?: ViewStmt): ViewStmt { + const _j = ({} as ViewStmt); + _o.set(_j, "view", _p?.view); + _o.set(_j, "aliases", _p?.aliases); + _o.set(_j, "query", _p?.query); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "options", _p?.options); + _o.set(_j, "withCheckOption", _p?.withCheckOption); + return _j; + }, + loadStmt(_p?: LoadStmt): LoadStmt { + const _j = ({} as LoadStmt); + _o.set(_j, "filename", _p?.filename); + return _j; + }, + createdbStmt(_p?: CreatedbStmt): CreatedbStmt { + const _j = ({} as CreatedbStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterDatabaseStmt(_p?: AlterDatabaseStmt): AlterDatabaseStmt { + const _j = ({} as AlterDatabaseStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterDatabaseRefreshCollStmt(_p?: AlterDatabaseRefreshCollStmt): AlterDatabaseRefreshCollStmt { + const _j = ({} as AlterDatabaseRefreshCollStmt); + _o.set(_j, "dbname", _p?.dbname); + return _j; + }, + alterDatabaseSetStmt(_p?: AlterDatabaseSetStmt): AlterDatabaseSetStmt { + const _j = ({} as AlterDatabaseSetStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "setstmt", _p?.setstmt); + return _j; + }, + dropdbStmt(_p?: DropdbStmt): DropdbStmt { + const _j = ({} as DropdbStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterSystemStmt(_p?: AlterSystemStmt): AlterSystemStmt { + const _j = ({} as AlterSystemStmt); + _o.set(_j, "setstmt", _p?.setstmt); + return _j; + }, + clusterStmt(_p?: ClusterStmt): ClusterStmt { + const _j = ({} as ClusterStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "indexname", _p?.indexname); + _o.set(_j, "params", _p?.params); + return _j; + }, + vacuumStmt(_p?: VacuumStmt): VacuumStmt { + const _j = ({} as VacuumStmt); + _o.set(_j, "options", _p?.options); + _o.set(_j, "rels", _p?.rels); + _o.set(_j, "is_vacuumcmd", _p?.is_vacuumcmd); + return _j; + }, + vacuumRelation(_p?: VacuumRelation): VacuumRelation { + const _j = ({} as VacuumRelation); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "oid", _p?.oid); + _o.set(_j, "va_cols", _p?.va_cols); + return _j; + }, + explainStmt(_p?: ExplainStmt): ExplainStmt { + const _j = ({} as ExplainStmt); + _o.set(_j, "query", _p?.query); + _o.set(_j, "options", _p?.options); + return _j; + }, + createTableAsStmt(_p?: CreateTableAsStmt): CreateTableAsStmt { + const _j = ({} as CreateTableAsStmt); + _o.set(_j, "query", _p?.query); + _o.set(_j, "into", _p?.into); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "is_select_into", _p?.is_select_into); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + refreshMatViewStmt(_p?: RefreshMatViewStmt): RefreshMatViewStmt { + const _j = ({} as RefreshMatViewStmt); + _o.set(_j, "concurrent", _p?.concurrent); + _o.set(_j, "skipData", _p?.skipData); + _o.set(_j, "relation", _p?.relation); + return _j; + }, + checkPointStmt(_p?: CheckPointStmt): CheckPointStmt { + const _j = ({} as CheckPointStmt); + return _j; + }, + discardStmt(_p?: DiscardStmt): DiscardStmt { + const _j = ({} as DiscardStmt); + _o.set(_j, "target", _p?.target); + return _j; + }, + lockStmt(_p?: LockStmt): LockStmt { + const _j = ({} as LockStmt); + _o.set(_j, "relations", _p?.relations); + _o.set(_j, "mode", _p?.mode); + _o.set(_j, "nowait", _p?.nowait); + return _j; + }, + constraintsSetStmt(_p?: ConstraintsSetStmt): ConstraintsSetStmt { + const _j = ({} as ConstraintsSetStmt); + _o.set(_j, "constraints", _p?.constraints); + _o.set(_j, "deferred", _p?.deferred); + return _j; + }, + reindexStmt(_p?: ReindexStmt): ReindexStmt { + const _j = ({} as ReindexStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "name", _p?.name); + _o.set(_j, "params", _p?.params); + return _j; + }, + createConversionStmt(_p?: CreateConversionStmt): CreateConversionStmt { + const _j = ({} as CreateConversionStmt); + _o.set(_j, "conversion_name", _p?.conversion_name); + _o.set(_j, "for_encoding_name", _p?.for_encoding_name); + _o.set(_j, "to_encoding_name", _p?.to_encoding_name); + _o.set(_j, "func_name", _p?.func_name); + _o.set(_j, "def", _p?.def); + return _j; + }, + createCastStmt(_p?: CreateCastStmt): CreateCastStmt { + const _j = ({} as CreateCastStmt); + _o.set(_j, "sourcetype", _p?.sourcetype); + _o.set(_j, "targettype", _p?.targettype); + _o.set(_j, "func", _p?.func); + _o.set(_j, "context", _p?.context); + _o.set(_j, "inout", _p?.inout); + return _j; + }, + createTransformStmt(_p?: CreateTransformStmt): CreateTransformStmt { + const _j = ({} as CreateTransformStmt); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "type_name", _p?.type_name); + _o.set(_j, "lang", _p?.lang); + _o.set(_j, "fromsql", _p?.fromsql); + _o.set(_j, "tosql", _p?.tosql); + return _j; + }, + prepareStmt(_p?: PrepareStmt): PrepareStmt { + const _j = ({} as PrepareStmt); + _o.set(_j, "name", _p?.name); + _o.set(_j, "argtypes", _p?.argtypes); + _o.set(_j, "query", _p?.query); + return _j; + }, + executeStmt(_p?: ExecuteStmt): ExecuteStmt { + const _j = ({} as ExecuteStmt); + _o.set(_j, "name", _p?.name); + _o.set(_j, "params", _p?.params); + return _j; + }, + deallocateStmt(_p?: DeallocateStmt): DeallocateStmt { + const _j = ({} as DeallocateStmt); + _o.set(_j, "name", _p?.name); + return _j; + }, + dropOwnedStmt(_p?: DropOwnedStmt): DropOwnedStmt { + const _j = ({} as DropOwnedStmt); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + reassignOwnedStmt(_p?: ReassignOwnedStmt): ReassignOwnedStmt { + const _j = ({} as ReassignOwnedStmt); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "newrole", _p?.newrole); + return _j; + }, + altertsDictionaryStmt(_p?: AlterTSDictionaryStmt): AlterTSDictionaryStmt { + const _j = ({} as AlterTSDictionaryStmt); + _o.set(_j, "dictname", _p?.dictname); + _o.set(_j, "options", _p?.options); + return _j; + }, + altertsConfigurationStmt(_p?: AlterTSConfigurationStmt): AlterTSConfigurationStmt { + const _j = ({} as AlterTSConfigurationStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "cfgname", _p?.cfgname); + _o.set(_j, "tokentype", _p?.tokentype); + _o.set(_j, "dicts", _p?.dicts); + _o.set(_j, "override", _p?.override); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + publicationTable(_p?: PublicationTable): PublicationTable { + const _j = ({} as PublicationTable); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "columns", _p?.columns); + return _j; + }, + publicationObjSpec(_p?: PublicationObjSpec): PublicationObjSpec { + const _j = ({} as PublicationObjSpec); + _o.set(_j, "pubobjtype", _p?.pubobjtype); + _o.set(_j, "name", _p?.name); + _o.set(_j, "pubtable", _p?.pubtable); + _o.set(_j, "location", _p?.location); + return _j; + }, + createPublicationStmt(_p?: CreatePublicationStmt): CreatePublicationStmt { + const _j = ({} as CreatePublicationStmt); + _o.set(_j, "pubname", _p?.pubname); + _o.set(_j, "options", _p?.options); + _o.set(_j, "pubobjects", _p?.pubobjects); + _o.set(_j, "for_all_tables", _p?.for_all_tables); + return _j; + }, + alterPublicationStmt(_p?: AlterPublicationStmt): AlterPublicationStmt { + const _j = ({} as AlterPublicationStmt); + _o.set(_j, "pubname", _p?.pubname); + _o.set(_j, "options", _p?.options); + _o.set(_j, "pubobjects", _p?.pubobjects); + _o.set(_j, "for_all_tables", _p?.for_all_tables); + _o.set(_j, "action", _p?.action); + return _j; + }, + createSubscriptionStmt(_p?: CreateSubscriptionStmt): CreateSubscriptionStmt { + const _j = ({} as CreateSubscriptionStmt); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "conninfo", _p?.conninfo); + _o.set(_j, "publication", _p?.publication); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterSubscriptionStmt(_p?: AlterSubscriptionStmt): AlterSubscriptionStmt { + const _j = ({} as AlterSubscriptionStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "conninfo", _p?.conninfo); + _o.set(_j, "publication", _p?.publication); + _o.set(_j, "options", _p?.options); + return _j; + }, + dropSubscriptionStmt(_p?: DropSubscriptionStmt): DropSubscriptionStmt { + const _j = ({} as DropSubscriptionStmt); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + scanToken(_p?: ScanToken): ScanToken { + const _j = ({} as ScanToken); + _o.set(_j, "start", _p?.start); + _o.set(_j, "end", _p?.end); + _o.set(_j, "token", _p?.token); + _o.set(_j, "keywordKind", _p?.keywordKind); + return _j; + } +}; \ No newline at end of file diff --git a/__fixtures__/output/runtime-schema/typescript/full-features/complete-schema.ts b/__fixtures__/output/runtime-schema/typescript/full-features/complete-schema.ts new file mode 100644 index 0000000..cea353c --- /dev/null +++ b/__fixtures__/output/runtime-schema/typescript/full-features/complete-schema.ts @@ -0,0 +1,10659 @@ +/** +* This file was automatically generated by pg-proto-parser@latest. +* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, +* and run the pg-proto-parser generate command to regenerate this file. +*/ +// Generated by pg-proto-parser +export interface FieldSpec { + name: string; + type: string; + isNode: boolean; + isArray: boolean; + optional: boolean; +} +export interface NodeSpec { + name: string; + wrapped: boolean; + fields: FieldSpec[]; +} +export const runtimeSchema: NodeSpec[] = [ + { + name: 'A_ArrayExpr', + wrapped: true, + fields: [ + { + name: 'elements', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'A_Const', + wrapped: true, + fields: [ + { + name: 'boolval', + type: 'Boolean', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'bsval', + type: 'BitString', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'fval', + type: 'Float', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'isnull', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ival', + type: 'Integer', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sval', + type: 'String', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'A_Expr', + wrapped: true, + fields: [ + { + name: 'kind', + type: 'A_Expr_Kind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'A_Indices', + wrapped: true, + fields: [ + { + name: 'is_slice', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lidx', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'uidx', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'A_Indirection', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'indirection', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'A_Star', + wrapped: true, + fields: [ + + ] + }, + { + name: 'AccessPriv', + wrapped: true, + fields: [ + { + name: 'cols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'priv_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'Aggref', + wrapped: true, + fields: [ + { + name: 'aggargtypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'aggcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggdirectargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'aggdistinct', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'aggfilter', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'aggfnoid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggkind', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'agglevelsup', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggorder', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'aggsplit', + type: 'AggSplit', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggstar', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggtransno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggtype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggvariadic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Alias', + wrapped: true, + fields: [ + { + name: 'aliasname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'colnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterCollationStmt', + wrapped: true, + fields: [ + { + name: 'collname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterDatabaseRefreshCollStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterDatabaseSetStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'setstmt', + type: 'VariableSetStmt', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterDatabaseStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterDefaultPrivilegesStmt', + wrapped: true, + fields: [ + { + name: 'action', + type: 'GrantStmt', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterDomainStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'def', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subtype', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterEnumStmt', + wrapped: true, + fields: [ + { + name: 'newVal', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newValIsAfter', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newValNeighbor', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldVal', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'skipIfNewValExists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterEventTrigStmt', + wrapped: true, + fields: [ + { + name: 'tgenabled', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'trigname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterExtensionContentsStmt', + wrapped: true, + fields: [ + { + name: 'action', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'extname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterExtensionStmt', + wrapped: true, + fields: [ + { + name: 'extname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterFdwStmt', + wrapped: true, + fields: [ + { + name: 'fdwname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'func_options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterForeignServerStmt', + wrapped: true, + fields: [ + { + name: 'has_version', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'version', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterFunctionStmt', + wrapped: true, + fields: [ + { + name: 'actions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'func', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlternativeSubPlan', + wrapped: true, + fields: [ + { + name: 'subplans', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterObjectDependsStmt', + wrapped: true, + fields: [ + { + name: 'extname', + type: 'String', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objectType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'remove', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterObjectSchemaStmt', + wrapped: true, + fields: [ + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newschema', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objectType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterOperatorStmt', + wrapped: true, + fields: [ + { + name: 'opername', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterOpFamilyStmt', + wrapped: true, + fields: [ + { + name: 'amname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'isDrop', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opfamilyname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterOwnerStmt', + wrapped: true, + fields: [ + { + name: 'newowner', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objectType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterPolicyStmt', + wrapped: true, + fields: [ + { + name: 'policy_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'qual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'table', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'with_check', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterPublicationStmt', + wrapped: true, + fields: [ + { + name: 'action', + type: 'AlterPublicationAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'for_all_tables', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pubname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pubobjects', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterRoleSetStmt', + wrapped: true, + fields: [ + { + name: 'database', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'role', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'setstmt', + type: 'VariableSetStmt', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterRoleStmt', + wrapped: true, + fields: [ + { + name: 'action', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'role', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterSeqStmt', + wrapped: true, + fields: [ + { + name: 'for_identity', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'sequence', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterStatsStmt', + wrapped: true, + fields: [ + { + name: 'defnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'stxstattarget', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterSubscriptionStmt', + wrapped: true, + fields: [ + { + name: 'conninfo', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'AlterSubscriptionType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'publication', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'subname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterSystemStmt', + wrapped: true, + fields: [ + { + name: 'setstmt', + type: 'VariableSetStmt', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterTableCmd', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'def', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newowner', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'num', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'recurse', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subtype', + type: 'AlterTableType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterTableMoveAllStmt', + wrapped: true, + fields: [ + { + name: 'new_tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nowait', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'orig_tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterTableSpaceOptionsStmt', + wrapped: true, + fields: [ + { + name: 'isReset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterTableStmt', + wrapped: true, + fields: [ + { + name: 'cmds', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterTSConfigurationStmt', + wrapped: true, + fields: [ + { + name: 'cfgname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'dicts', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'kind', + type: 'AlterTSConfigType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tokentype', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterTSDictionaryStmt', + wrapped: true, + fields: [ + { + name: 'dictname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterTypeStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterUserMappingStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'user', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ArrayCoerceExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'coerceformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'elemexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ArrayExpr', + wrapped: true, + fields: [ + { + name: 'array_collid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'array_typeid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'element_typeid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'elements', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'multidims', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'BitString', + wrapped: true, + fields: [ + { + name: 'bsval', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'Boolean', + wrapped: true, + fields: [ + { + name: 'boolval', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'BooleanTest', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'booltesttype', + type: 'BoolTestType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'BoolExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'boolop', + type: 'BoolExprType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CallContext', + wrapped: true, + fields: [ + { + name: 'atomic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CallStmt', + wrapped: true, + fields: [ + { + name: 'funccall', + type: 'FuncCall', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'funcexpr', + type: 'FuncExpr', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'outargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CaseExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'casecollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'casetype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'defresult', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CaseTestExpr', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeMod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CaseWhen', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'result', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CheckPointStmt', + wrapped: true, + fields: [ + + ] + }, + { + name: 'ClosePortalStmt', + wrapped: true, + fields: [ + { + name: 'portalname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ClusterStmt', + wrapped: true, + fields: [ + { + name: 'indexname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'params', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CoalesceExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coalescecollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'coalescetype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CoerceToDomain', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'coercionformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CoerceToDomainValue', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeMod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CoerceViaIO', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'coerceformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CollateClause', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'collname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CollateExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'collOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ColumnDef', + wrapped: true, + fields: [ + { + name: 'collClause', + type: 'CollateClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'collOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'colname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'compression', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'constraints', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'cooked_default', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'fdwoptions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'generated', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'identity', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'identitySequence', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'inhcount', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_from_type', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_local', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_not_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'raw_default', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'storage', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'storage_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ColumnRef', + wrapped: true, + fields: [ + { + name: 'fields', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CommentStmt', + wrapped: true, + fields: [ + { + name: 'comment', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CommonTableExpr', + wrapped: true, + fields: [ + { + name: 'aliascolnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctecolcollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctecolnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctecoltypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctecoltypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctematerialized', + type: 'CTEMaterialize', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ctename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ctequery', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'cterecursive', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cterefcount', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_clause', + type: 'CTECycleClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'search_clause', + type: 'CTESearchClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CompositeTypeStmt', + wrapped: true, + fields: [ + { + name: 'coldeflist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'typevar', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Constraint', + wrapped: true, + fields: [ + { + name: 'access_method', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'conname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'contype', + type: 'ConstrType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cooked_expr', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'deferrable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exclusions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'fk_attrs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'fk_del_action', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'fk_del_set_cols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'fk_matchtype', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'fk_upd_action', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'generated_when', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'including', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'indexname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'indexspace', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'initdeferred', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'initially_valid', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_no_inherit', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'keys', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulls_not_distinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'old_conpfeqop', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'old_pktable_oid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pk_attrs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pktable', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'raw_expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'reset_default_tblspc', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'skip_validation', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'where_clause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ConstraintsSetStmt', + wrapped: true, + fields: [ + { + name: 'constraints', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'deferred', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ConvertRowtypeExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'convertformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CopyStmt', + wrapped: true, + fields: [ + { + name: 'attlist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'filename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_from', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_program', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateAmStmt', + wrapped: true, + fields: [ + { + name: 'amname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'amtype', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'handler_name', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateCastStmt', + wrapped: true, + fields: [ + { + name: 'context', + type: 'CoercionContext', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'func', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'inout', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sourcetype', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'targettype', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateConversionStmt', + wrapped: true, + fields: [ + { + name: 'conversion_name', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'def', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'for_encoding_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'func_name', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'to_encoding_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreatedbStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateDomainStmt', + wrapped: true, + fields: [ + { + name: 'collClause', + type: 'CollateClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'constraints', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'domainname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateEnumStmt', + wrapped: true, + fields: [ + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'vals', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateEventTrigStmt', + wrapped: true, + fields: [ + { + name: 'eventname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'trigname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whenclause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateExtensionStmt', + wrapped: true, + fields: [ + { + name: 'extname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateFdwStmt', + wrapped: true, + fields: [ + { + name: 'fdwname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'func_options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateForeignServerStmt', + wrapped: true, + fields: [ + { + name: 'fdwname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'servertype', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'version', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateForeignTableStmt', + wrapped: true, + fields: [ + { + name: 'base', + type: 'CreateStmt', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateFunctionStmt', + wrapped: true, + fields: [ + { + name: 'funcname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'is_procedure', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'parameters', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'returnType', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sql_body', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateOpClassItem', + wrapped: true, + fields: [ + { + name: 'class_args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'itemtype', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'number', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'order_family', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'storedtype', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateOpClassStmt', + wrapped: true, + fields: [ + { + name: 'amname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'datatype', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'isDefault', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opclassname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opfamilyname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateOpFamilyStmt', + wrapped: true, + fields: [ + { + name: 'amname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opfamilyname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreatePLangStmt', + wrapped: true, + fields: [ + { + name: 'plhandler', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'plinline', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'plname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pltrusted', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'plvalidator', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreatePolicyStmt', + wrapped: true, + fields: [ + { + name: 'cmd_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'permissive', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'policy_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'qual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'table', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'with_check', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreatePublicationStmt', + wrapped: true, + fields: [ + { + name: 'for_all_tables', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pubname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pubobjects', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateRangeStmt', + wrapped: true, + fields: [ + { + name: 'params', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateRoleStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'role', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'stmt_type', + type: 'RoleStmtType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateSchemaStmt', + wrapped: true, + fields: [ + { + name: 'authrole', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'schemaElts', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'schemaname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateSeqStmt', + wrapped: true, + fields: [ + { + name: 'for_identity', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ownerId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sequence', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateStatsStmt', + wrapped: true, + fields: [ + { + name: 'defnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'exprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'stat_types', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'stxcomment', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'transformed', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateStmt', + wrapped: true, + fields: [ + { + name: 'accessMethod', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'constraints', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inhRelations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ofTypename', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'oncommit', + type: 'OnCommitAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'partbound', + type: 'PartitionBoundSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'partspec', + type: 'PartitionSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tableElts', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateSubscriptionStmt', + wrapped: true, + fields: [ + { + name: 'conninfo', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'publication', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'subname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateTableAsStmt', + wrapped: true, + fields: [ + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'into', + type: 'IntoClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'is_select_into', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateTableSpaceStmt', + wrapped: true, + fields: [ + { + name: 'location', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'owner', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateTransformStmt', + wrapped: true, + fields: [ + { + name: 'fromsql', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'lang', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tosql', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'type_name', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateTrigStmt', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'columns', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'constrrel', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'deferrable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'events', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'initdeferred', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'isconstraint', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'row', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'timing', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'transitionRels', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'trigname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whenClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateUserMappingStmt', + wrapped: true, + fields: [ + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'user', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CTECycleClause', + wrapped: true, + fields: [ + { + name: 'cycle_col_list', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'cycle_mark_collation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_column', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_default', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_neop', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_type', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_typmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_value', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'cycle_path_column', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CTESearchClause', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'search_breadth_first', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'search_col_list', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'search_seq_column', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CurrentOfExpr', + wrapped: true, + fields: [ + { + name: 'cursor_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cursor_param', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cvarno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'DeallocateStmt', + wrapped: true, + fields: [ + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DeclareCursorStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'portalname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'DefElem', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'defaction', + type: 'DefElemAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'defname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'defnamespace', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DefineStmt', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'definition', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'defnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldstyle', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DeleteStmt', + wrapped: true, + fields: [ + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'returningList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'usingClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'DiscardStmt', + wrapped: true, + fields: [ + { + name: 'target', + type: 'DiscardMode', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DistinctExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opresulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opretset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'DoStmt', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'DropdbStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'DropOwnedStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'DropRoleStmt', + wrapped: true, + fields: [ + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'DropStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'concurrent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objects', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'removeType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DropSubscriptionStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DropTableSpaceStmt', + wrapped: true, + fields: [ + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DropUserMappingStmt', + wrapped: true, + fields: [ + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'user', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ExecuteStmt', + wrapped: true, + fields: [ + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'params', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'ExplainStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FetchStmt', + wrapped: true, + fields: [ + { + name: 'direction', + type: 'FetchDirection', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'howMany', + type: 'int64', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ismove', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'portalname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'FieldSelect', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'fieldnum', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FieldStore', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'fieldnums', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'newvals', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Float', + wrapped: true, + fields: [ + { + name: 'fval', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'FromExpr', + wrapped: true, + fields: [ + { + name: 'fromlist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'quals', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FuncCall', + wrapped: true, + fields: [ + { + name: 'agg_distinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'agg_filter', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'agg_order', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'agg_star', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'agg_within_group', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'func_variadic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'over', + type: 'WindowDef', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FuncExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funccollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcresulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcretset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcvariadic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FunctionParameter', + wrapped: true, + fields: [ + { + name: 'argType', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'defexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'mode', + type: 'FunctionParameterMode', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'GrantRoleStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'granted_roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'grantee_roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'grantor', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'is_grant', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opt', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'GrantStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'grant_option', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'grantees', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'grantor', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'is_grant', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objects', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'privileges', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'targtype', + type: 'GrantTargetType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'GroupingFunc', + wrapped: true, + fields: [ + { + name: 'agglevelsup', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'GroupingSet', + wrapped: true, + fields: [ + { + name: 'content', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'kind', + type: 'GroupingSetKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ImportForeignSchemaStmt', + wrapped: true, + fields: [ + { + name: 'list_type', + type: 'ImportForeignSchemaType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'local_schema', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'remote_schema', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'server_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'table_list', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'IndexElem', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'indexcolname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulls_ordering', + type: 'SortByNulls', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opclass', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opclassopts', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ordering', + type: 'SortByDir', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'IndexStmt', + wrapped: true, + fields: [ + { + name: 'accessMethod', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'concurrent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'deferrable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'excludeOpNames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'idxcomment', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'idxname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'indexIncludingParams', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'indexOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'indexParams', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'initdeferred', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'isconstraint', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulls_not_distinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldCreateSubid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldFirstRelfilelocatorSubid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldNumber', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'primary', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'reset_default_tblspc', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tableSpace', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'transformed', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'unique', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'InferClause', + wrapped: true, + fields: [ + { + name: 'conname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'indexElems', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'InferenceElem', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'infercollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inferopclass', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'InlineCodeBlock', + wrapped: true, + fields: [ + { + name: 'atomic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'langIsTrusted', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'langOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'source_text', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'InsertStmt', + wrapped: true, + fields: [ + { + name: 'cols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'onConflictClause', + type: 'OnConflictClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'OverridingKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'returningList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'selectStmt', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Integer', + wrapped: true, + fields: [ + { + name: 'ival', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'IntList', + wrapped: true, + fields: [ + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'IntoClause', + wrapped: true, + fields: [ + { + name: 'accessMethod', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'colNames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'onCommit', + type: 'OnCommitAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rel', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'skipData', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tableSpaceName', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'viewQuery', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JoinExpr', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'isNatural', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'join_using_alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'jointype', + type: 'JoinType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'larg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'quals', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'rarg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'rtindex', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'usingClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'JsonAggConstructor', + wrapped: true, + fields: [ + { + name: 'agg_filter', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'agg_order', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'output', + type: 'JsonOutput', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'over', + type: 'WindowDef', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonArrayAgg', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'arg', + type: 'JsonValueExpr', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'constructor', + type: 'JsonAggConstructor', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonArrayConstructor', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'output', + type: 'JsonOutput', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonArrayQueryConstructor', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'format', + type: 'JsonFormat', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'output', + type: 'JsonOutput', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonConstructorExpr', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coercion', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'func', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'returning', + type: 'JsonReturning', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'type', + type: 'JsonConstructorType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'unique', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonFormat', + wrapped: true, + fields: [ + { + name: 'encoding', + type: 'JsonEncoding', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'format_type', + type: 'JsonFormatType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonIsPredicate', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'format', + type: 'JsonFormat', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'item_type', + type: 'JsonValueType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'unique_keys', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonKeyValue', + wrapped: true, + fields: [ + { + name: 'key', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'value', + type: 'JsonValueExpr', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonObjectAgg', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'arg', + type: 'JsonKeyValue', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'constructor', + type: 'JsonAggConstructor', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'unique', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonObjectConstructor', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'output', + type: 'JsonOutput', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'unique', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonOutput', + wrapped: true, + fields: [ + { + name: 'returning', + type: 'JsonReturning', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonReturning', + wrapped: true, + fields: [ + { + name: 'format', + type: 'JsonFormat', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'typid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonValueExpr', + wrapped: true, + fields: [ + { + name: 'format', + type: 'JsonFormat', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'formatted_expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'raw_expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'List', + wrapped: true, + fields: [ + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'ListenStmt', + wrapped: true, + fields: [ + { + name: 'conditionname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'LoadStmt', + wrapped: true, + fields: [ + { + name: 'filename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'LockingClause', + wrapped: true, + fields: [ + { + name: 'lockedRels', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'strength', + type: 'LockClauseStrength', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'waitPolicy', + type: 'LockWaitPolicy', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'LockStmt', + wrapped: true, + fields: [ + { + name: 'mode', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nowait', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'MergeAction', + wrapped: true, + fields: [ + { + name: 'commandType', + type: 'CmdType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'matched', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'OverridingKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'qual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'updateColnos', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'MergeStmt', + wrapped: true, + fields: [ + { + name: 'joinCondition', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'mergeWhenClauses', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sourceRelation', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'MergeWhenClause', + wrapped: true, + fields: [ + { + name: 'commandType', + type: 'CmdType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'condition', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'matched', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'OverridingKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'values', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'MinMaxExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'minmaxcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'minmaxtype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'op', + type: 'MinMaxOp', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'MultiAssignRef', + wrapped: true, + fields: [ + { + name: 'colno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ncolumns', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'source', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'NamedArgExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'argnumber', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'NextValueExpr', + wrapped: true, + fields: [ + { + name: 'seqid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'NotifyStmt', + wrapped: true, + fields: [ + { + name: 'conditionname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'payload', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'NullIfExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opresulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opretset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'NullTest', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'argisrow', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulltesttype', + type: 'NullTestType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ObjectWithArgs', + wrapped: true, + fields: [ + { + name: 'args_unspecified', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'objfuncargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'objname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'OidList', + wrapped: true, + fields: [ + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'OnConflictClause', + wrapped: true, + fields: [ + { + name: 'action', + type: 'OnConflictAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'infer', + type: 'InferClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'OnConflictExpr', + wrapped: true, + fields: [ + { + name: 'action', + type: 'OnConflictAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'arbiterElems', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'arbiterWhere', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'constraint', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exclRelIndex', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exclRelTlist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'onConflictSet', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'onConflictWhere', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'OpExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opresulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opretset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Param', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramid', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramkind', + type: 'ParamKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramtype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramtypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ParamRef', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'number', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ParseResult', + wrapped: false, + fields: [ + { + name: 'stmts', + type: 'RawStmt', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'version', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'PartitionBoundSpec', + wrapped: true, + fields: [ + { + name: 'is_default', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'listdatums', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lowerdatums', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'modulus', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'remainder', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'strategy', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'upperdatums', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'PartitionCmd', + wrapped: true, + fields: [ + { + name: 'bound', + type: 'PartitionBoundSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'concurrent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PartitionElem', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opclass', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'PartitionRangeDatum', + wrapped: true, + fields: [ + { + name: 'kind', + type: 'PartitionRangeDatumKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'value', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PartitionSpec', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'partParams', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'strategy', + type: 'PartitionStrategy', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'PLAssignStmt', + wrapped: true, + fields: [ + { + name: 'indirection', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nnames', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'val', + type: 'SelectStmt', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PrepareStmt', + wrapped: true, + fields: [ + { + name: 'argtypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PublicationObjSpec', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pubobjtype', + type: 'PublicationObjSpecType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pubtable', + type: 'PublicationTable', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PublicationTable', + wrapped: true, + fields: [ + { + name: 'columns', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Query', + wrapped: true, + fields: [ + { + name: 'canSetTag', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'commandType', + type: 'CmdType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'constraintDeps', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'cteList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'distinctClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupDistinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'groupingSets', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'hasAggs', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasDistinctOn', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasForUpdate', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasModifyingCTE', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasRecursive', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasRowSecurity', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasSubLinks', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasTargetSRFs', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasWindowFuncs', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'havingQual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'isReturn', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'jointree', + type: 'FromExpr', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitCount', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitOption', + type: 'LimitOption', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'mergeActionList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'mergeUseOuterJoin', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'onConflict', + type: 'OnConflictExpr', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'OverridingKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'querySource', + type: 'QuerySource', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultRelation', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'returningList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rowMarks', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rtable', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rteperminfos', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'setOperations', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sortClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'stmt_len', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'stmt_location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'utilityStmt', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'windowClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'withCheckOptions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'RangeFunction', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'coldeflist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'functions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'is_rowsfrom', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lateral', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ordinality', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeSubselect', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'lateral', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subquery', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeTableFunc', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'columns', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'docexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'lateral', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'namespaces', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rowexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeTableFuncCol', + wrapped: true, + fields: [ + { + name: 'coldefexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'colexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'colname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'for_ordinality', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_not_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeTableSample', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'method', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'repeatable', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeTblEntry', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'colcollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coltypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coltypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctelevelsup', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ctename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'enrname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'enrtuples', + type: 'double', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'eref', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'funcordinality', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'functions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inFromCl', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inh', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'join_using_alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'joinaliasvars', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'joinleftcols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'joinmergedcols', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'joinrightcols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'jointype', + type: 'JoinType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lateral', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'perminfoindex', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relkind', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rellockmode', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rtekind', + type: 'RTEKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'security_barrier', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'securityQuals', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'self_reference', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subquery', + type: 'Query', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tablefunc', + type: 'TableFunc', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tablesample', + type: 'TableSampleClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'values_lists', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'RangeTblFunction', + wrapped: true, + fields: [ + { + name: 'funccolcollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funccolcount', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funccolnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funccoltypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funccoltypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funcexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'funcparams', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + } + ] + }, + { + name: 'RangeTblRef', + wrapped: true, + fields: [ + { + name: 'rtindex', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeVar', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'catalogname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inh', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relpersistence', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'schemaname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RawStmt', + wrapped: true, + fields: [ + { + name: 'stmt', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'stmt_len', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'stmt_location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ReassignOwnedStmt', + wrapped: true, + fields: [ + { + name: 'newrole', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'RefreshMatViewStmt', + wrapped: true, + fields: [ + { + name: 'concurrent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'skipData', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ReindexStmt', + wrapped: true, + fields: [ + { + name: 'kind', + type: 'ReindexObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'params', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RelabelType', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relabelformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RenameStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relationType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'renameType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ReplicaIdentityStmt', + wrapped: true, + fields: [ + { + name: 'identity_type', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ResTarget', + wrapped: true, + fields: [ + { + name: 'indirection', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'val', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ReturnStmt', + wrapped: true, + fields: [ + { + name: 'returnval', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RoleSpec', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rolename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'roletype', + type: 'RoleSpecType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RowCompareExpr', + wrapped: true, + fields: [ + { + name: 'inputcollids', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'largs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opfamilies', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opnos', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rctype', + type: 'RowCompareType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RowExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'row_format', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'row_typeid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RowMarkClause', + wrapped: true, + fields: [ + { + name: 'pushedDown', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rti', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'strength', + type: 'LockClauseStrength', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'waitPolicy', + type: 'LockWaitPolicy', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RTEPermissionInfo', + wrapped: true, + fields: [ + { + name: 'checkAsUser', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inh', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'insertedCols', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'relid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'requiredPerms', + type: 'uint64', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'selectedCols', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'updatedCols', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + } + ] + }, + { + name: 'RuleStmt', + wrapped: true, + fields: [ + { + name: 'actions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'event', + type: 'CmdType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'instead', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rulename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ScalarArrayOpExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'useOr', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ScanResult', + wrapped: false, + fields: [ + { + name: 'tokens', + type: 'ScanToken', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'version', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ScanToken', + wrapped: false, + fields: [ + { + name: 'end', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'keywordKind', + type: 'KeywordKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'start', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'token', + type: 'Token', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'SecLabelStmt', + wrapped: true, + fields: [ + { + name: 'label', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'provider', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'SelectStmt', + wrapped: true, + fields: [ + { + name: 'all', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'distinctClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'fromClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupDistinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'havingClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'intoClause', + type: 'IntoClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'larg', + type: 'SelectStmt', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitCount', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitOption', + type: 'LimitOption', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lockingClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'op', + type: 'SetOperation', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rarg', + type: 'SelectStmt', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sortClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'valuesLists', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'windowClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SetOperationStmt', + wrapped: true, + fields: [ + { + name: 'all', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'colCollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colTypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colTypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupClauses', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'larg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'op', + type: 'SetOperation', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rarg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SetToDefault', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeMod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SortBy', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'node', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sortby_dir', + type: 'SortByDir', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sortby_nulls', + type: 'SortByNulls', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'useOp', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'SortGroupClause', + wrapped: true, + fields: [ + { + name: 'eqop', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hashable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulls_first', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sortop', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tleSortGroupRef', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'SQLValueFunction', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'op', + type: 'SQLValueFunctionOp', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'type', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'StatsElem', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'String', + wrapped: true, + fields: [ + { + name: 'sval', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'SubLink', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'operName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'subLinkId', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subLinkType', + type: 'SubLinkType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subselect', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'testexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SubPlan', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'firstColCollation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'firstColType', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'firstColTypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'parallel_safe', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramIds', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'parParam', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'per_call_cost', + type: 'double', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'plan_id', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'plan_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'setParam', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'startup_cost', + type: 'double', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subLinkType', + type: 'SubLinkType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'testexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'unknownEqFalse', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'useHashTable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SubscriptingRef', + wrapped: true, + fields: [ + { + name: 'refassgnexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'refcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refcontainertype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refelemtype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'reflowerindexpr', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'refrestype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'reftypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refupperindexpr', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'TableFunc', + wrapped: true, + fields: [ + { + name: 'colcollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coldefexprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colexprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coltypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coltypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'docexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'notnulls', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'ns_names', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ns_uris', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ordinalitycol', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rowexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'TableLikeClause', + wrapped: true, + fields: [ + { + name: 'options', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relationOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TableSampleClause', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'repeatable', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tsmhandler', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TargetEntry', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'resjunk', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resorigcol', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resorigtbl', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ressortgroupref', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'TransactionStmt', + wrapped: true, + fields: [ + { + name: 'chain', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'gid', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'TransactionStmtKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'savepoint_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TriggerTransition', + wrapped: true, + fields: [ + { + name: 'isNew', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'isTable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TruncateStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'restart_seqs', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TypeCast', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'TypeName', + wrapped: true, + fields: [ + { + name: 'arrayBounds', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'names', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pct_type', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'setof', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typemod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'UnlistenStmt', + wrapped: true, + fields: [ + { + name: 'conditionname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'UpdateStmt', + wrapped: true, + fields: [ + { + name: 'fromClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'returningList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'VacuumRelation', + wrapped: true, + fields: [ + { + name: 'oid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'va_cols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'VacuumStmt', + wrapped: true, + fields: [ + { + name: 'is_vacuumcmd', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rels', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'Var', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varattno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varlevelsup', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varnullingrels', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'vartype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'vartypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'VariableSetStmt', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'is_local', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'VariableSetKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'VariableShowStmt', + wrapped: true, + fields: [ + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ViewStmt', + wrapped: true, + fields: [ + { + name: 'aliases', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'view', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withCheckOption', + type: 'ViewCheckOption', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'WindowClause', + wrapped: true, + fields: [ + { + name: 'copiedOrder', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'endInRangeFunc', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'endOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'frameOptions', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inRangeAsc', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inRangeColl', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inRangeNullsFirst', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'orderClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'partitionClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'refname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'runCondition', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'startInRangeFunc', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'startOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'winref', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'WindowDef', + wrapped: true, + fields: [ + { + name: 'endOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'frameOptions', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'orderClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'partitionClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'refname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'startOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'WindowFunc', + wrapped: true, + fields: [ + { + name: 'aggfilter', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'winagg', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'wincollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'winfnoid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'winref', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'winstar', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'wintype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'WithCheckOption', + wrapped: true, + fields: [ + { + name: 'cascaded', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'WCOKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'polname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'qual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'WithClause', + wrapped: true, + fields: [ + { + name: 'ctes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'recursive', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'XmlExpr', + wrapped: true, + fields: [ + { + name: 'arg_names', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'indent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'named_args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'op', + type: 'XmlExprOp', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'type', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xmloption', + type: 'XmlOptionType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'XmlSerialize', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'indent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'xmloption', + type: 'XmlOptionType', + isNode: false, + isArray: false, + optional: true + } + ] + } +]; \ No newline at end of file diff --git a/__fixtures__/output/runtime-schema/typescript/full-features/enums.ts b/__fixtures__/output/runtime-schema/typescript/full-features/enums.ts new file mode 100644 index 0000000..6abee53 --- /dev/null +++ b/__fixtures__/output/runtime-schema/typescript/full-features/enums.ts @@ -0,0 +1,69 @@ +/** +* This file was automatically generated by pg-proto-parser@latest. +* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, +* and run the pg-proto-parser generate command to regenerate this file. +*/ +export type OverridingKind = "OVERRIDING_NOT_SET" | "OVERRIDING_USER_VALUE" | "OVERRIDING_SYSTEM_VALUE"; +export type QuerySource = "QSRC_ORIGINAL" | "QSRC_PARSER" | "QSRC_INSTEAD_RULE" | "QSRC_QUAL_INSTEAD_RULE" | "QSRC_NON_INSTEAD_RULE"; +export type SortByDir = "SORTBY_DEFAULT" | "SORTBY_ASC" | "SORTBY_DESC" | "SORTBY_USING"; +export type SortByNulls = "SORTBY_NULLS_DEFAULT" | "SORTBY_NULLS_FIRST" | "SORTBY_NULLS_LAST"; +export type SetQuantifier = "SET_QUANTIFIER_DEFAULT" | "SET_QUANTIFIER_ALL" | "SET_QUANTIFIER_DISTINCT"; +export type A_Expr_Kind = "AEXPR_OP" | "AEXPR_OP_ANY" | "AEXPR_OP_ALL" | "AEXPR_DISTINCT" | "AEXPR_NOT_DISTINCT" | "AEXPR_NULLIF" | "AEXPR_IN" | "AEXPR_LIKE" | "AEXPR_ILIKE" | "AEXPR_SIMILAR" | "AEXPR_BETWEEN" | "AEXPR_NOT_BETWEEN" | "AEXPR_BETWEEN_SYM" | "AEXPR_NOT_BETWEEN_SYM"; +export type RoleSpecType = "ROLESPEC_CSTRING" | "ROLESPEC_CURRENT_ROLE" | "ROLESPEC_CURRENT_USER" | "ROLESPEC_SESSION_USER" | "ROLESPEC_PUBLIC"; +export type TableLikeOption = "CREATE_TABLE_LIKE_COMMENTS" | "CREATE_TABLE_LIKE_COMPRESSION" | "CREATE_TABLE_LIKE_CONSTRAINTS" | "CREATE_TABLE_LIKE_DEFAULTS" | "CREATE_TABLE_LIKE_GENERATED" | "CREATE_TABLE_LIKE_IDENTITY" | "CREATE_TABLE_LIKE_INDEXES" | "CREATE_TABLE_LIKE_STATISTICS" | "CREATE_TABLE_LIKE_STORAGE" | "CREATE_TABLE_LIKE_ALL"; +export type DefElemAction = "DEFELEM_UNSPEC" | "DEFELEM_SET" | "DEFELEM_ADD" | "DEFELEM_DROP"; +export type PartitionStrategy = "PARTITION_STRATEGY_LIST" | "PARTITION_STRATEGY_RANGE" | "PARTITION_STRATEGY_HASH"; +export type PartitionRangeDatumKind = "PARTITION_RANGE_DATUM_MINVALUE" | "PARTITION_RANGE_DATUM_VALUE" | "PARTITION_RANGE_DATUM_MAXVALUE"; +export type RTEKind = "RTE_RELATION" | "RTE_SUBQUERY" | "RTE_JOIN" | "RTE_FUNCTION" | "RTE_TABLEFUNC" | "RTE_VALUES" | "RTE_CTE" | "RTE_NAMEDTUPLESTORE" | "RTE_RESULT"; +export type WCOKind = "WCO_VIEW_CHECK" | "WCO_RLS_INSERT_CHECK" | "WCO_RLS_UPDATE_CHECK" | "WCO_RLS_CONFLICT_CHECK" | "WCO_RLS_MERGE_UPDATE_CHECK" | "WCO_RLS_MERGE_DELETE_CHECK"; +export type GroupingSetKind = "GROUPING_SET_EMPTY" | "GROUPING_SET_SIMPLE" | "GROUPING_SET_ROLLUP" | "GROUPING_SET_CUBE" | "GROUPING_SET_SETS"; +export type CTEMaterialize = "CTEMaterializeDefault" | "CTEMaterializeAlways" | "CTEMaterializeNever"; +export type SetOperation = "SETOP_NONE" | "SETOP_UNION" | "SETOP_INTERSECT" | "SETOP_EXCEPT"; +export type ObjectType = "OBJECT_ACCESS_METHOD" | "OBJECT_AGGREGATE" | "OBJECT_AMOP" | "OBJECT_AMPROC" | "OBJECT_ATTRIBUTE" | "OBJECT_CAST" | "OBJECT_COLUMN" | "OBJECT_COLLATION" | "OBJECT_CONVERSION" | "OBJECT_DATABASE" | "OBJECT_DEFAULT" | "OBJECT_DEFACL" | "OBJECT_DOMAIN" | "OBJECT_DOMCONSTRAINT" | "OBJECT_EVENT_TRIGGER" | "OBJECT_EXTENSION" | "OBJECT_FDW" | "OBJECT_FOREIGN_SERVER" | "OBJECT_FOREIGN_TABLE" | "OBJECT_FUNCTION" | "OBJECT_INDEX" | "OBJECT_LANGUAGE" | "OBJECT_LARGEOBJECT" | "OBJECT_MATVIEW" | "OBJECT_OPCLASS" | "OBJECT_OPERATOR" | "OBJECT_OPFAMILY" | "OBJECT_PARAMETER_ACL" | "OBJECT_POLICY" | "OBJECT_PROCEDURE" | "OBJECT_PUBLICATION" | "OBJECT_PUBLICATION_NAMESPACE" | "OBJECT_PUBLICATION_REL" | "OBJECT_ROLE" | "OBJECT_ROUTINE" | "OBJECT_RULE" | "OBJECT_SCHEMA" | "OBJECT_SEQUENCE" | "OBJECT_SUBSCRIPTION" | "OBJECT_STATISTIC_EXT" | "OBJECT_TABCONSTRAINT" | "OBJECT_TABLE" | "OBJECT_TABLESPACE" | "OBJECT_TRANSFORM" | "OBJECT_TRIGGER" | "OBJECT_TSCONFIGURATION" | "OBJECT_TSDICTIONARY" | "OBJECT_TSPARSER" | "OBJECT_TSTEMPLATE" | "OBJECT_TYPE" | "OBJECT_USER_MAPPING" | "OBJECT_VIEW"; +export type DropBehavior = "DROP_RESTRICT" | "DROP_CASCADE"; +export type AlterTableType = "AT_AddColumn" | "AT_AddColumnToView" | "AT_ColumnDefault" | "AT_CookedColumnDefault" | "AT_DropNotNull" | "AT_SetNotNull" | "AT_DropExpression" | "AT_CheckNotNull" | "AT_SetStatistics" | "AT_SetOptions" | "AT_ResetOptions" | "AT_SetStorage" | "AT_SetCompression" | "AT_DropColumn" | "AT_AddIndex" | "AT_ReAddIndex" | "AT_AddConstraint" | "AT_ReAddConstraint" | "AT_ReAddDomainConstraint" | "AT_AlterConstraint" | "AT_ValidateConstraint" | "AT_AddIndexConstraint" | "AT_DropConstraint" | "AT_ReAddComment" | "AT_AlterColumnType" | "AT_AlterColumnGenericOptions" | "AT_ChangeOwner" | "AT_ClusterOn" | "AT_DropCluster" | "AT_SetLogged" | "AT_SetUnLogged" | "AT_DropOids" | "AT_SetAccessMethod" | "AT_SetTableSpace" | "AT_SetRelOptions" | "AT_ResetRelOptions" | "AT_ReplaceRelOptions" | "AT_EnableTrig" | "AT_EnableAlwaysTrig" | "AT_EnableReplicaTrig" | "AT_DisableTrig" | "AT_EnableTrigAll" | "AT_DisableTrigAll" | "AT_EnableTrigUser" | "AT_DisableTrigUser" | "AT_EnableRule" | "AT_EnableAlwaysRule" | "AT_EnableReplicaRule" | "AT_DisableRule" | "AT_AddInherit" | "AT_DropInherit" | "AT_AddOf" | "AT_DropOf" | "AT_ReplicaIdentity" | "AT_EnableRowSecurity" | "AT_DisableRowSecurity" | "AT_ForceRowSecurity" | "AT_NoForceRowSecurity" | "AT_GenericOptions" | "AT_AttachPartition" | "AT_DetachPartition" | "AT_DetachPartitionFinalize" | "AT_AddIdentity" | "AT_SetIdentity" | "AT_DropIdentity" | "AT_ReAddStatistics"; +export type GrantTargetType = "ACL_TARGET_OBJECT" | "ACL_TARGET_ALL_IN_SCHEMA" | "ACL_TARGET_DEFAULTS"; +export type VariableSetKind = "VAR_SET_VALUE" | "VAR_SET_DEFAULT" | "VAR_SET_CURRENT" | "VAR_SET_MULTI" | "VAR_RESET" | "VAR_RESET_ALL"; +export type ConstrType = "CONSTR_NULL" | "CONSTR_NOTNULL" | "CONSTR_DEFAULT" | "CONSTR_IDENTITY" | "CONSTR_GENERATED" | "CONSTR_CHECK" | "CONSTR_PRIMARY" | "CONSTR_UNIQUE" | "CONSTR_EXCLUSION" | "CONSTR_FOREIGN" | "CONSTR_ATTR_DEFERRABLE" | "CONSTR_ATTR_NOT_DEFERRABLE" | "CONSTR_ATTR_DEFERRED" | "CONSTR_ATTR_IMMEDIATE"; +export type ImportForeignSchemaType = "FDW_IMPORT_SCHEMA_ALL" | "FDW_IMPORT_SCHEMA_LIMIT_TO" | "FDW_IMPORT_SCHEMA_EXCEPT"; +export type RoleStmtType = "ROLESTMT_ROLE" | "ROLESTMT_USER" | "ROLESTMT_GROUP"; +export type FetchDirection = "FETCH_FORWARD" | "FETCH_BACKWARD" | "FETCH_ABSOLUTE" | "FETCH_RELATIVE"; +export type FunctionParameterMode = "FUNC_PARAM_IN" | "FUNC_PARAM_OUT" | "FUNC_PARAM_INOUT" | "FUNC_PARAM_VARIADIC" | "FUNC_PARAM_TABLE" | "FUNC_PARAM_DEFAULT"; +export type TransactionStmtKind = "TRANS_STMT_BEGIN" | "TRANS_STMT_START" | "TRANS_STMT_COMMIT" | "TRANS_STMT_ROLLBACK" | "TRANS_STMT_SAVEPOINT" | "TRANS_STMT_RELEASE" | "TRANS_STMT_ROLLBACK_TO" | "TRANS_STMT_PREPARE" | "TRANS_STMT_COMMIT_PREPARED" | "TRANS_STMT_ROLLBACK_PREPARED"; +export type ViewCheckOption = "NO_CHECK_OPTION" | "LOCAL_CHECK_OPTION" | "CASCADED_CHECK_OPTION"; +export type DiscardMode = "DISCARD_ALL" | "DISCARD_PLANS" | "DISCARD_SEQUENCES" | "DISCARD_TEMP"; +export type ReindexObjectType = "REINDEX_OBJECT_INDEX" | "REINDEX_OBJECT_TABLE" | "REINDEX_OBJECT_SCHEMA" | "REINDEX_OBJECT_SYSTEM" | "REINDEX_OBJECT_DATABASE"; +export type AlterTSConfigType = "ALTER_TSCONFIG_ADD_MAPPING" | "ALTER_TSCONFIG_ALTER_MAPPING_FOR_TOKEN" | "ALTER_TSCONFIG_REPLACE_DICT" | "ALTER_TSCONFIG_REPLACE_DICT_FOR_TOKEN" | "ALTER_TSCONFIG_DROP_MAPPING"; +export type PublicationObjSpecType = "PUBLICATIONOBJ_TABLE" | "PUBLICATIONOBJ_TABLES_IN_SCHEMA" | "PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA" | "PUBLICATIONOBJ_CONTINUATION"; +export type AlterPublicationAction = "AP_AddObjects" | "AP_DropObjects" | "AP_SetObjects"; +export type AlterSubscriptionType = "ALTER_SUBSCRIPTION_OPTIONS" | "ALTER_SUBSCRIPTION_CONNECTION" | "ALTER_SUBSCRIPTION_SET_PUBLICATION" | "ALTER_SUBSCRIPTION_ADD_PUBLICATION" | "ALTER_SUBSCRIPTION_DROP_PUBLICATION" | "ALTER_SUBSCRIPTION_REFRESH" | "ALTER_SUBSCRIPTION_ENABLED" | "ALTER_SUBSCRIPTION_SKIP"; +export type OnCommitAction = "ONCOMMIT_NOOP" | "ONCOMMIT_PRESERVE_ROWS" | "ONCOMMIT_DELETE_ROWS" | "ONCOMMIT_DROP"; +export type ParamKind = "PARAM_EXTERN" | "PARAM_EXEC" | "PARAM_SUBLINK" | "PARAM_MULTIEXPR"; +export type CoercionContext = "COERCION_IMPLICIT" | "COERCION_ASSIGNMENT" | "COERCION_PLPGSQL" | "COERCION_EXPLICIT"; +export type CoercionForm = "COERCE_EXPLICIT_CALL" | "COERCE_EXPLICIT_CAST" | "COERCE_IMPLICIT_CAST" | "COERCE_SQL_SYNTAX"; +export type BoolExprType = "AND_EXPR" | "OR_EXPR" | "NOT_EXPR"; +export type SubLinkType = "EXISTS_SUBLINK" | "ALL_SUBLINK" | "ANY_SUBLINK" | "ROWCOMPARE_SUBLINK" | "EXPR_SUBLINK" | "MULTIEXPR_SUBLINK" | "ARRAY_SUBLINK" | "CTE_SUBLINK"; +export type RowCompareType = "ROWCOMPARE_LT" | "ROWCOMPARE_LE" | "ROWCOMPARE_EQ" | "ROWCOMPARE_GE" | "ROWCOMPARE_GT" | "ROWCOMPARE_NE"; +export type MinMaxOp = "IS_GREATEST" | "IS_LEAST"; +export type SQLValueFunctionOp = "SVFOP_CURRENT_DATE" | "SVFOP_CURRENT_TIME" | "SVFOP_CURRENT_TIME_N" | "SVFOP_CURRENT_TIMESTAMP" | "SVFOP_CURRENT_TIMESTAMP_N" | "SVFOP_LOCALTIME" | "SVFOP_LOCALTIME_N" | "SVFOP_LOCALTIMESTAMP" | "SVFOP_LOCALTIMESTAMP_N" | "SVFOP_CURRENT_ROLE" | "SVFOP_CURRENT_USER" | "SVFOP_USER" | "SVFOP_SESSION_USER" | "SVFOP_CURRENT_CATALOG" | "SVFOP_CURRENT_SCHEMA"; +export type XmlExprOp = "IS_XMLCONCAT" | "IS_XMLELEMENT" | "IS_XMLFOREST" | "IS_XMLPARSE" | "IS_XMLPI" | "IS_XMLROOT" | "IS_XMLSERIALIZE" | "IS_DOCUMENT"; +export type XmlOptionType = "XMLOPTION_DOCUMENT" | "XMLOPTION_CONTENT"; +export type JsonEncoding = "JS_ENC_DEFAULT" | "JS_ENC_UTF8" | "JS_ENC_UTF16" | "JS_ENC_UTF32"; +export type JsonFormatType = "JS_FORMAT_DEFAULT" | "JS_FORMAT_JSON" | "JS_FORMAT_JSONB"; +export type JsonConstructorType = "JSCTOR_JSON_OBJECT" | "JSCTOR_JSON_ARRAY" | "JSCTOR_JSON_OBJECTAGG" | "JSCTOR_JSON_ARRAYAGG"; +export type JsonValueType = "JS_TYPE_ANY" | "JS_TYPE_OBJECT" | "JS_TYPE_ARRAY" | "JS_TYPE_SCALAR"; +export type NullTestType = "IS_NULL" | "IS_NOT_NULL"; +export type BoolTestType = "IS_TRUE" | "IS_NOT_TRUE" | "IS_FALSE" | "IS_NOT_FALSE" | "IS_UNKNOWN" | "IS_NOT_UNKNOWN"; +export type CmdType = "CMD_UNKNOWN" | "CMD_SELECT" | "CMD_UPDATE" | "CMD_INSERT" | "CMD_DELETE" | "CMD_MERGE" | "CMD_UTILITY" | "CMD_NOTHING"; +export type JoinType = "JOIN_INNER" | "JOIN_LEFT" | "JOIN_FULL" | "JOIN_RIGHT" | "JOIN_SEMI" | "JOIN_ANTI" | "JOIN_RIGHT_ANTI" | "JOIN_UNIQUE_OUTER" | "JOIN_UNIQUE_INNER"; +export type AggStrategy = "AGG_PLAIN" | "AGG_SORTED" | "AGG_HASHED" | "AGG_MIXED"; +export type AggSplit = "AGGSPLIT_SIMPLE" | "AGGSPLIT_INITIAL_SERIAL" | "AGGSPLIT_FINAL_DESERIAL"; +export type SetOpCmd = "SETOPCMD_INTERSECT" | "SETOPCMD_INTERSECT_ALL" | "SETOPCMD_EXCEPT" | "SETOPCMD_EXCEPT_ALL"; +export type SetOpStrategy = "SETOP_SORTED" | "SETOP_HASHED"; +export type OnConflictAction = "ONCONFLICT_NONE" | "ONCONFLICT_NOTHING" | "ONCONFLICT_UPDATE"; +export type LimitOption = "LIMIT_OPTION_DEFAULT" | "LIMIT_OPTION_COUNT" | "LIMIT_OPTION_WITH_TIES"; +export type LockClauseStrength = "LCS_NONE" | "LCS_FORKEYSHARE" | "LCS_FORSHARE" | "LCS_FORNOKEYUPDATE" | "LCS_FORUPDATE"; +export type LockWaitPolicy = "LockWaitBlock" | "LockWaitSkip" | "LockWaitError"; +export type LockTupleMode = "LockTupleKeyShare" | "LockTupleShare" | "LockTupleNoKeyExclusive" | "LockTupleExclusive"; +export type KeywordKind = "NO_KEYWORD" | "UNRESERVED_KEYWORD" | "COL_NAME_KEYWORD" | "TYPE_FUNC_NAME_KEYWORD" | "RESERVED_KEYWORD"; +export type Token = "NUL" | "ASCII_36" | "ASCII_37" | "ASCII_40" | "ASCII_41" | "ASCII_42" | "ASCII_43" | "ASCII_44" | "ASCII_45" | "ASCII_46" | "ASCII_47" | "ASCII_58" | "ASCII_59" | "ASCII_60" | "ASCII_61" | "ASCII_62" | "ASCII_63" | "ASCII_91" | "ASCII_92" | "ASCII_93" | "ASCII_94" | "IDENT" | "UIDENT" | "FCONST" | "SCONST" | "USCONST" | "BCONST" | "XCONST" | "Op" | "ICONST" | "PARAM" | "TYPECAST" | "DOT_DOT" | "COLON_EQUALS" | "EQUALS_GREATER" | "LESS_EQUALS" | "GREATER_EQUALS" | "NOT_EQUALS" | "SQL_COMMENT" | "C_COMMENT" | "ABORT_P" | "ABSENT" | "ABSOLUTE_P" | "ACCESS" | "ACTION" | "ADD_P" | "ADMIN" | "AFTER" | "AGGREGATE" | "ALL" | "ALSO" | "ALTER" | "ALWAYS" | "ANALYSE" | "ANALYZE" | "AND" | "ANY" | "ARRAY" | "AS" | "ASC" | "ASENSITIVE" | "ASSERTION" | "ASSIGNMENT" | "ASYMMETRIC" | "ATOMIC" | "AT" | "ATTACH" | "ATTRIBUTE" | "AUTHORIZATION" | "BACKWARD" | "BEFORE" | "BEGIN_P" | "BETWEEN" | "BIGINT" | "BINARY" | "BIT" | "BOOLEAN_P" | "BOTH" | "BREADTH" | "BY" | "CACHE" | "CALL" | "CALLED" | "CASCADE" | "CASCADED" | "CASE" | "CAST" | "CATALOG_P" | "CHAIN" | "CHAR_P" | "CHARACTER" | "CHARACTERISTICS" | "CHECK" | "CHECKPOINT" | "CLASS" | "CLOSE" | "CLUSTER" | "COALESCE" | "COLLATE" | "COLLATION" | "COLUMN" | "COLUMNS" | "COMMENT" | "COMMENTS" | "COMMIT" | "COMMITTED" | "COMPRESSION" | "CONCURRENTLY" | "CONFIGURATION" | "CONFLICT" | "CONNECTION" | "CONSTRAINT" | "CONSTRAINTS" | "CONTENT_P" | "CONTINUE_P" | "CONVERSION_P" | "COPY" | "COST" | "CREATE" | "CROSS" | "CSV" | "CUBE" | "CURRENT_P" | "CURRENT_CATALOG" | "CURRENT_DATE" | "CURRENT_ROLE" | "CURRENT_SCHEMA" | "CURRENT_TIME" | "CURRENT_TIMESTAMP" | "CURRENT_USER" | "CURSOR" | "CYCLE" | "DATA_P" | "DATABASE" | "DAY_P" | "DEALLOCATE" | "DEC" | "DECIMAL_P" | "DECLARE" | "DEFAULT" | "DEFAULTS" | "DEFERRABLE" | "DEFERRED" | "DEFINER" | "DELETE_P" | "DELIMITER" | "DELIMITERS" | "DEPENDS" | "DEPTH" | "DESC" | "DETACH" | "DICTIONARY" | "DISABLE_P" | "DISCARD" | "DISTINCT" | "DO" | "DOCUMENT_P" | "DOMAIN_P" | "DOUBLE_P" | "DROP" | "EACH" | "ELSE" | "ENABLE_P" | "ENCODING" | "ENCRYPTED" | "END_P" | "ENUM_P" | "ESCAPE" | "EVENT" | "EXCEPT" | "EXCLUDE" | "EXCLUDING" | "EXCLUSIVE" | "EXECUTE" | "EXISTS" | "EXPLAIN" | "EXPRESSION" | "EXTENSION" | "EXTERNAL" | "EXTRACT" | "FALSE_P" | "FAMILY" | "FETCH" | "FILTER" | "FINALIZE" | "FIRST_P" | "FLOAT_P" | "FOLLOWING" | "FOR" | "FORCE" | "FOREIGN" | "FORMAT" | "FORWARD" | "FREEZE" | "FROM" | "FULL" | "FUNCTION" | "FUNCTIONS" | "GENERATED" | "GLOBAL" | "GRANT" | "GRANTED" | "GREATEST" | "GROUP_P" | "GROUPING" | "GROUPS" | "HANDLER" | "HAVING" | "HEADER_P" | "HOLD" | "HOUR_P" | "IDENTITY_P" | "IF_P" | "ILIKE" | "IMMEDIATE" | "IMMUTABLE" | "IMPLICIT_P" | "IMPORT_P" | "IN_P" | "INCLUDE" | "INCLUDING" | "INCREMENT" | "INDENT" | "INDEX" | "INDEXES" | "INHERIT" | "INHERITS" | "INITIALLY" | "INLINE_P" | "INNER_P" | "INOUT" | "INPUT_P" | "INSENSITIVE" | "INSERT" | "INSTEAD" | "INT_P" | "INTEGER" | "INTERSECT" | "INTERVAL" | "INTO" | "INVOKER" | "IS" | "ISNULL" | "ISOLATION" | "JOIN" | "JSON" | "JSON_ARRAY" | "JSON_ARRAYAGG" | "JSON_OBJECT" | "JSON_OBJECTAGG" | "KEY" | "KEYS" | "LABEL" | "LANGUAGE" | "LARGE_P" | "LAST_P" | "LATERAL_P" | "LEADING" | "LEAKPROOF" | "LEAST" | "LEFT" | "LEVEL" | "LIKE" | "LIMIT" | "LISTEN" | "LOAD" | "LOCAL" | "LOCALTIME" | "LOCALTIMESTAMP" | "LOCATION" | "LOCK_P" | "LOCKED" | "LOGGED" | "MAPPING" | "MATCH" | "MATCHED" | "MATERIALIZED" | "MAXVALUE" | "MERGE" | "METHOD" | "MINUTE_P" | "MINVALUE" | "MODE" | "MONTH_P" | "MOVE" | "NAME_P" | "NAMES" | "NATIONAL" | "NATURAL" | "NCHAR" | "NEW" | "NEXT" | "NFC" | "NFD" | "NFKC" | "NFKD" | "NO" | "NONE" | "NORMALIZE" | "NORMALIZED" | "NOT" | "NOTHING" | "NOTIFY" | "NOTNULL" | "NOWAIT" | "NULL_P" | "NULLIF" | "NULLS_P" | "NUMERIC" | "OBJECT_P" | "OF" | "OFF" | "OFFSET" | "OIDS" | "OLD" | "ON" | "ONLY" | "OPERATOR" | "OPTION" | "OPTIONS" | "OR" | "ORDER" | "ORDINALITY" | "OTHERS" | "OUT_P" | "OUTER_P" | "OVER" | "OVERLAPS" | "OVERLAY" | "OVERRIDING" | "OWNED" | "OWNER" | "PARALLEL" | "PARAMETER" | "PARSER" | "PARTIAL" | "PARTITION" | "PASSING" | "PASSWORD" | "PLACING" | "PLANS" | "POLICY" | "POSITION" | "PRECEDING" | "PRECISION" | "PRESERVE" | "PREPARE" | "PREPARED" | "PRIMARY" | "PRIOR" | "PRIVILEGES" | "PROCEDURAL" | "PROCEDURE" | "PROCEDURES" | "PROGRAM" | "PUBLICATION" | "QUOTE" | "RANGE" | "READ" | "REAL" | "REASSIGN" | "RECHECK" | "RECURSIVE" | "REF_P" | "REFERENCES" | "REFERENCING" | "REFRESH" | "REINDEX" | "RELATIVE_P" | "RELEASE" | "RENAME" | "REPEATABLE" | "REPLACE" | "REPLICA" | "RESET" | "RESTART" | "RESTRICT" | "RETURN" | "RETURNING" | "RETURNS" | "REVOKE" | "RIGHT" | "ROLE" | "ROLLBACK" | "ROLLUP" | "ROUTINE" | "ROUTINES" | "ROW" | "ROWS" | "RULE" | "SAVEPOINT" | "SCALAR" | "SCHEMA" | "SCHEMAS" | "SCROLL" | "SEARCH" | "SECOND_P" | "SECURITY" | "SELECT" | "SEQUENCE" | "SEQUENCES" | "SERIALIZABLE" | "SERVER" | "SESSION" | "SESSION_USER" | "SET" | "SETS" | "SETOF" | "SHARE" | "SHOW" | "SIMILAR" | "SIMPLE" | "SKIP" | "SMALLINT" | "SNAPSHOT" | "SOME" | "SQL_P" | "STABLE" | "STANDALONE_P" | "START" | "STATEMENT" | "STATISTICS" | "STDIN" | "STDOUT" | "STORAGE" | "STORED" | "STRICT_P" | "STRIP_P" | "SUBSCRIPTION" | "SUBSTRING" | "SUPPORT" | "SYMMETRIC" | "SYSID" | "SYSTEM_P" | "SYSTEM_USER" | "TABLE" | "TABLES" | "TABLESAMPLE" | "TABLESPACE" | "TEMP" | "TEMPLATE" | "TEMPORARY" | "TEXT_P" | "THEN" | "TIES" | "TIME" | "TIMESTAMP" | "TO" | "TRAILING" | "TRANSACTION" | "TRANSFORM" | "TREAT" | "TRIGGER" | "TRIM" | "TRUE_P" | "TRUNCATE" | "TRUSTED" | "TYPE_P" | "TYPES_P" | "UESCAPE" | "UNBOUNDED" | "UNCOMMITTED" | "UNENCRYPTED" | "UNION" | "UNIQUE" | "UNKNOWN" | "UNLISTEN" | "UNLOGGED" | "UNTIL" | "UPDATE" | "USER" | "USING" | "VACUUM" | "VALID" | "VALIDATE" | "VALIDATOR" | "VALUE_P" | "VALUES" | "VARCHAR" | "VARIADIC" | "VARYING" | "VERBOSE" | "VERSION_P" | "VIEW" | "VIEWS" | "VOLATILE" | "WHEN" | "WHERE" | "WHITESPACE_P" | "WINDOW" | "WITH" | "WITHIN" | "WITHOUT" | "WORK" | "WRAPPER" | "WRITE" | "XML_P" | "XMLATTRIBUTES" | "XMLCONCAT" | "XMLELEMENT" | "XMLEXISTS" | "XMLFOREST" | "XMLNAMESPACES" | "XMLPARSE" | "XMLPI" | "XMLROOT" | "XMLSERIALIZE" | "XMLTABLE" | "YEAR_P" | "YES_P" | "ZONE" | "FORMAT_LA" | "NOT_LA" | "NULLS_LA" | "WITH_LA" | "WITHOUT_LA" | "MODE_TYPE_NAME" | "MODE_PLPGSQL_EXPR" | "MODE_PLPGSQL_ASSIGN1" | "MODE_PLPGSQL_ASSIGN2" | "MODE_PLPGSQL_ASSIGN3" | "UMINUS"; \ No newline at end of file diff --git a/__fixtures__/output/runtime-schema/typescript/full-features/types.ts b/__fixtures__/output/runtime-schema/typescript/full-features/types.ts new file mode 100644 index 0000000..4dbf99c --- /dev/null +++ b/__fixtures__/output/runtime-schema/typescript/full-features/types.ts @@ -0,0 +1,1816 @@ +/** +* This file was automatically generated by pg-proto-parser@latest. +* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, +* and run the pg-proto-parser generate command to regenerate this file. +*/ +import { OverridingKind, QuerySource, SortByDir, SortByNulls, SetQuantifier, A_Expr_Kind, RoleSpecType, TableLikeOption, DefElemAction, PartitionStrategy, PartitionRangeDatumKind, RTEKind, WCOKind, GroupingSetKind, CTEMaterialize, SetOperation, ObjectType, DropBehavior, AlterTableType, GrantTargetType, VariableSetKind, ConstrType, ImportForeignSchemaType, RoleStmtType, FetchDirection, FunctionParameterMode, TransactionStmtKind, ViewCheckOption, DiscardMode, ReindexObjectType, AlterTSConfigType, PublicationObjSpecType, AlterPublicationAction, AlterSubscriptionType, OnCommitAction, ParamKind, CoercionContext, CoercionForm, BoolExprType, SubLinkType, RowCompareType, MinMaxOp, SQLValueFunctionOp, XmlExprOp, XmlOptionType, JsonEncoding, JsonFormatType, JsonConstructorType, JsonValueType, NullTestType, BoolTestType, CmdType, JoinType, AggStrategy, AggSplit, SetOpCmd, SetOpStrategy, OnConflictAction, LimitOption, LockClauseStrength, LockWaitPolicy, LockTupleMode, KeywordKind, Token } from "./enums"; +export type Node = ParseResult | ScanResult | Integer | Float | Boolean | String | BitString | List | OidList | IntList | A_Const | Alias | RangeVar | TableFunc | IntoClause | Var | Param | Aggref | GroupingFunc | WindowFunc | SubscriptingRef | FuncExpr | NamedArgExpr | OpExpr | DistinctExpr | NullIfExpr | ScalarArrayOpExpr | BoolExpr | SubLink | SubPlan | AlternativeSubPlan | FieldSelect | FieldStore | RelabelType | CoerceViaIO | ArrayCoerceExpr | ConvertRowtypeExpr | CollateExpr | CaseExpr | CaseWhen | CaseTestExpr | ArrayExpr | RowExpr | RowCompareExpr | CoalesceExpr | MinMaxExpr | SQLValueFunction | XmlExpr | JsonFormat | JsonReturning | JsonValueExpr | JsonConstructorExpr | JsonIsPredicate | NullTest | BooleanTest | CoerceToDomain | CoerceToDomainValue | SetToDefault | CurrentOfExpr | NextValueExpr | InferenceElem | TargetEntry | RangeTblRef | JoinExpr | FromExpr | OnConflictExpr | Query | TypeName | ColumnRef | ParamRef | A_Expr | TypeCast | CollateClause | RoleSpec | FuncCall | A_Star | A_Indices | A_Indirection | A_ArrayExpr | ResTarget | MultiAssignRef | SortBy | WindowDef | RangeSubselect | RangeFunction | RangeTableFunc | RangeTableFuncCol | RangeTableSample | ColumnDef | TableLikeClause | IndexElem | DefElem | LockingClause | XmlSerialize | PartitionElem | PartitionSpec | PartitionBoundSpec | PartitionRangeDatum | PartitionCmd | RangeTblEntry | RTEPermissionInfo | RangeTblFunction | TableSampleClause | WithCheckOption | SortGroupClause | GroupingSet | WindowClause | RowMarkClause | WithClause | InferClause | OnConflictClause | CTESearchClause | CTECycleClause | CommonTableExpr | MergeWhenClause | MergeAction | TriggerTransition | JsonOutput | JsonKeyValue | JsonObjectConstructor | JsonArrayConstructor | JsonArrayQueryConstructor | JsonAggConstructor | JsonObjectAgg | JsonArrayAgg | RawStmt | InsertStmt | DeleteStmt | UpdateStmt | MergeStmt | SelectStmt | SetOperationStmt | ReturnStmt | PLAssignStmt | CreateSchemaStmt | AlterTableStmt | ReplicaIdentityStmt | AlterTableCmd | AlterCollationStmt | AlterDomainStmt | GrantStmt | ObjectWithArgs | AccessPriv | GrantRoleStmt | AlterDefaultPrivilegesStmt | CopyStmt | VariableSetStmt | VariableShowStmt | CreateStmt | Constraint | CreateTableSpaceStmt | DropTableSpaceStmt | AlterTableSpaceOptionsStmt | AlterTableMoveAllStmt | CreateExtensionStmt | AlterExtensionStmt | AlterExtensionContentsStmt | CreateFdwStmt | AlterFdwStmt | CreateForeignServerStmt | AlterForeignServerStmt | CreateForeignTableStmt | CreateUserMappingStmt | AlterUserMappingStmt | DropUserMappingStmt | ImportForeignSchemaStmt | CreatePolicyStmt | AlterPolicyStmt | CreateAmStmt | CreateTrigStmt | CreateEventTrigStmt | AlterEventTrigStmt | CreatePLangStmt | CreateRoleStmt | AlterRoleStmt | AlterRoleSetStmt | DropRoleStmt | CreateSeqStmt | AlterSeqStmt | DefineStmt | CreateDomainStmt | CreateOpClassStmt | CreateOpClassItem | CreateOpFamilyStmt | AlterOpFamilyStmt | DropStmt | TruncateStmt | CommentStmt | SecLabelStmt | DeclareCursorStmt | ClosePortalStmt | FetchStmt | IndexStmt | CreateStatsStmt | StatsElem | AlterStatsStmt | CreateFunctionStmt | FunctionParameter | AlterFunctionStmt | DoStmt | InlineCodeBlock | CallStmt | CallContext | RenameStmt | AlterObjectDependsStmt | AlterObjectSchemaStmt | AlterOwnerStmt | AlterOperatorStmt | AlterTypeStmt | RuleStmt | NotifyStmt | ListenStmt | UnlistenStmt | TransactionStmt | CompositeTypeStmt | CreateEnumStmt | CreateRangeStmt | AlterEnumStmt | ViewStmt | LoadStmt | CreatedbStmt | AlterDatabaseStmt | AlterDatabaseRefreshCollStmt | AlterDatabaseSetStmt | DropdbStmt | AlterSystemStmt | ClusterStmt | VacuumStmt | VacuumRelation | ExplainStmt | CreateTableAsStmt | RefreshMatViewStmt | CheckPointStmt | DiscardStmt | LockStmt | ConstraintsSetStmt | ReindexStmt | CreateConversionStmt | CreateCastStmt | CreateTransformStmt | PrepareStmt | ExecuteStmt | DeallocateStmt | DropOwnedStmt | ReassignOwnedStmt | AlterTSDictionaryStmt | AlterTSConfigurationStmt | PublicationTable | PublicationObjSpec | CreatePublicationStmt | AlterPublicationStmt | CreateSubscriptionStmt | AlterSubscriptionStmt | DropSubscriptionStmt | ScanToken; +export interface ParseResult { + version?: number; + stmts?: RawStmt[]; +} +export interface ScanResult { + version?: number; + tokens?: ScanToken[]; +} +export interface Integer { + ival?: number; +} +export interface Float { + fval?: string; +} +export interface Boolean { + boolval?: boolean; +} +export interface String { + sval?: string; +} +export interface BitString { + bsval?: string; +} +export interface List { + items?: Node[]; +} +export interface OidList { + items?: Node[]; +} +export interface IntList { + items?: Node[]; +} +export interface A_Const { + ival?: Integer; + fval?: Float; + boolval?: Boolean; + sval?: String; + bsval?: BitString; + isnull?: boolean; + location?: number; +} +export interface Alias { + aliasname?: string; + colnames?: Node[]; +} +export interface RangeVar { + catalogname?: string; + schemaname?: string; + relname?: string; + inh?: boolean; + relpersistence?: string; + alias?: Alias; + location?: number; +} +export interface TableFunc { + ns_uris?: Node[]; + ns_names?: Node[]; + docexpr?: Node; + rowexpr?: Node; + colnames?: Node[]; + coltypes?: Node[]; + coltypmods?: Node[]; + colcollations?: Node[]; + colexprs?: Node[]; + coldefexprs?: Node[]; + notnulls?: bigint[]; + ordinalitycol?: number; + location?: number; +} +export interface IntoClause { + rel?: RangeVar; + colNames?: Node[]; + accessMethod?: string; + options?: Node[]; + onCommit?: OnCommitAction; + tableSpaceName?: string; + viewQuery?: Node; + skipData?: boolean; +} +export interface Var { + xpr?: Node; + varno?: number; + varattno?: number; + vartype?: number; + vartypmod?: number; + varcollid?: number; + varnullingrels?: bigint[]; + varlevelsup?: number; + location?: number; +} +export interface Param { + xpr?: Node; + paramkind?: ParamKind; + paramid?: number; + paramtype?: number; + paramtypmod?: number; + paramcollid?: number; + location?: number; +} +export interface Aggref { + xpr?: Node; + aggfnoid?: number; + aggtype?: number; + aggcollid?: number; + inputcollid?: number; + aggargtypes?: Node[]; + aggdirectargs?: Node[]; + args?: Node[]; + aggorder?: Node[]; + aggdistinct?: Node[]; + aggfilter?: Node; + aggstar?: boolean; + aggvariadic?: boolean; + aggkind?: string; + agglevelsup?: number; + aggsplit?: AggSplit; + aggno?: number; + aggtransno?: number; + location?: number; +} +export interface GroupingFunc { + xpr?: Node; + args?: Node[]; + refs?: Node[]; + agglevelsup?: number; + location?: number; +} +export interface WindowFunc { + xpr?: Node; + winfnoid?: number; + wintype?: number; + wincollid?: number; + inputcollid?: number; + args?: Node[]; + aggfilter?: Node; + winref?: number; + winstar?: boolean; + winagg?: boolean; + location?: number; +} +export interface SubscriptingRef { + xpr?: Node; + refcontainertype?: number; + refelemtype?: number; + refrestype?: number; + reftypmod?: number; + refcollid?: number; + refupperindexpr?: Node[]; + reflowerindexpr?: Node[]; + refexpr?: Node; + refassgnexpr?: Node; +} +export interface FuncExpr { + xpr?: Node; + funcid?: number; + funcresulttype?: number; + funcretset?: boolean; + funcvariadic?: boolean; + funcformat?: CoercionForm; + funccollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface NamedArgExpr { + xpr?: Node; + arg?: Node; + name?: string; + argnumber?: number; + location?: number; +} +export interface OpExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface DistinctExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface NullIfExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface ScalarArrayOpExpr { + xpr?: Node; + opno?: number; + useOr?: boolean; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface BoolExpr { + xpr?: Node; + boolop?: BoolExprType; + args?: Node[]; + location?: number; +} +export interface SubLink { + xpr?: Node; + subLinkType?: SubLinkType; + subLinkId?: number; + testexpr?: Node; + operName?: Node[]; + subselect?: Node; + location?: number; +} +export interface SubPlan { + xpr?: Node; + subLinkType?: SubLinkType; + testexpr?: Node; + paramIds?: Node[]; + plan_id?: number; + plan_name?: string; + firstColType?: number; + firstColTypmod?: number; + firstColCollation?: number; + useHashTable?: boolean; + unknownEqFalse?: boolean; + parallel_safe?: boolean; + setParam?: Node[]; + parParam?: Node[]; + args?: Node[]; + startup_cost?: number; + per_call_cost?: number; +} +export interface AlternativeSubPlan { + xpr?: Node; + subplans?: Node[]; +} +export interface FieldSelect { + xpr?: Node; + arg?: Node; + fieldnum?: number; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; +} +export interface FieldStore { + xpr?: Node; + arg?: Node; + newvals?: Node[]; + fieldnums?: Node[]; + resulttype?: number; +} +export interface RelabelType { + xpr?: Node; + arg?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + relabelformat?: CoercionForm; + location?: number; +} +export interface CoerceViaIO { + xpr?: Node; + arg?: Node; + resulttype?: number; + resultcollid?: number; + coerceformat?: CoercionForm; + location?: number; +} +export interface ArrayCoerceExpr { + xpr?: Node; + arg?: Node; + elemexpr?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + coerceformat?: CoercionForm; + location?: number; +} +export interface ConvertRowtypeExpr { + xpr?: Node; + arg?: Node; + resulttype?: number; + convertformat?: CoercionForm; + location?: number; +} +export interface CollateExpr { + xpr?: Node; + arg?: Node; + collOid?: number; + location?: number; +} +export interface CaseExpr { + xpr?: Node; + casetype?: number; + casecollid?: number; + arg?: Node; + args?: Node[]; + defresult?: Node; + location?: number; +} +export interface CaseWhen { + xpr?: Node; + expr?: Node; + result?: Node; + location?: number; +} +export interface CaseTestExpr { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; +} +export interface ArrayExpr { + xpr?: Node; + array_typeid?: number; + array_collid?: number; + element_typeid?: number; + elements?: Node[]; + multidims?: boolean; + location?: number; +} +export interface RowExpr { + xpr?: Node; + args?: Node[]; + row_typeid?: number; + row_format?: CoercionForm; + colnames?: Node[]; + location?: number; +} +export interface RowCompareExpr { + xpr?: Node; + rctype?: RowCompareType; + opnos?: Node[]; + opfamilies?: Node[]; + inputcollids?: Node[]; + largs?: Node[]; + rargs?: Node[]; +} +export interface CoalesceExpr { + xpr?: Node; + coalescetype?: number; + coalescecollid?: number; + args?: Node[]; + location?: number; +} +export interface MinMaxExpr { + xpr?: Node; + minmaxtype?: number; + minmaxcollid?: number; + inputcollid?: number; + op?: MinMaxOp; + args?: Node[]; + location?: number; +} +export interface SQLValueFunction { + xpr?: Node; + op?: SQLValueFunctionOp; + type?: number; + typmod?: number; + location?: number; +} +export interface XmlExpr { + xpr?: Node; + op?: XmlExprOp; + name?: string; + named_args?: Node[]; + arg_names?: Node[]; + args?: Node[]; + xmloption?: XmlOptionType; + indent?: boolean; + type?: number; + typmod?: number; + location?: number; +} +export interface JsonFormat { + format_type?: JsonFormatType; + encoding?: JsonEncoding; + location?: number; +} +export interface JsonReturning { + format?: JsonFormat; + typid?: number; + typmod?: number; +} +export interface JsonValueExpr { + raw_expr?: Node; + formatted_expr?: Node; + format?: JsonFormat; +} +export interface JsonConstructorExpr { + xpr?: Node; + type?: JsonConstructorType; + args?: Node[]; + func?: Node; + coercion?: Node; + returning?: JsonReturning; + absent_on_null?: boolean; + unique?: boolean; + location?: number; +} +export interface JsonIsPredicate { + expr?: Node; + format?: JsonFormat; + item_type?: JsonValueType; + unique_keys?: boolean; + location?: number; +} +export interface NullTest { + xpr?: Node; + arg?: Node; + nulltesttype?: NullTestType; + argisrow?: boolean; + location?: number; +} +export interface BooleanTest { + xpr?: Node; + arg?: Node; + booltesttype?: BoolTestType; + location?: number; +} +export interface CoerceToDomain { + xpr?: Node; + arg?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + coercionformat?: CoercionForm; + location?: number; +} +export interface CoerceToDomainValue { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; + location?: number; +} +export interface SetToDefault { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; + location?: number; +} +export interface CurrentOfExpr { + xpr?: Node; + cvarno?: number; + cursor_name?: string; + cursor_param?: number; +} +export interface NextValueExpr { + xpr?: Node; + seqid?: number; + typeId?: number; +} +export interface InferenceElem { + xpr?: Node; + expr?: Node; + infercollid?: number; + inferopclass?: number; +} +export interface TargetEntry { + xpr?: Node; + expr?: Node; + resno?: number; + resname?: string; + ressortgroupref?: number; + resorigtbl?: number; + resorigcol?: number; + resjunk?: boolean; +} +export interface RangeTblRef { + rtindex?: number; +} +export interface JoinExpr { + jointype?: JoinType; + isNatural?: boolean; + larg?: Node; + rarg?: Node; + usingClause?: Node[]; + join_using_alias?: Alias; + quals?: Node; + alias?: Alias; + rtindex?: number; +} +export interface FromExpr { + fromlist?: Node[]; + quals?: Node; +} +export interface OnConflictExpr { + action?: OnConflictAction; + arbiterElems?: Node[]; + arbiterWhere?: Node; + constraint?: number; + onConflictSet?: Node[]; + onConflictWhere?: Node; + exclRelIndex?: number; + exclRelTlist?: Node[]; +} +export interface Query { + commandType?: CmdType; + querySource?: QuerySource; + canSetTag?: boolean; + utilityStmt?: Node; + resultRelation?: number; + hasAggs?: boolean; + hasWindowFuncs?: boolean; + hasTargetSRFs?: boolean; + hasSubLinks?: boolean; + hasDistinctOn?: boolean; + hasRecursive?: boolean; + hasModifyingCTE?: boolean; + hasForUpdate?: boolean; + hasRowSecurity?: boolean; + isReturn?: boolean; + cteList?: Node[]; + rtable?: Node[]; + rteperminfos?: Node[]; + jointree?: FromExpr; + mergeActionList?: Node[]; + mergeUseOuterJoin?: boolean; + targetList?: Node[]; + override?: OverridingKind; + onConflict?: OnConflictExpr; + returningList?: Node[]; + groupClause?: Node[]; + groupDistinct?: boolean; + groupingSets?: Node[]; + havingQual?: Node; + windowClause?: Node[]; + distinctClause?: Node[]; + sortClause?: Node[]; + limitOffset?: Node; + limitCount?: Node; + limitOption?: LimitOption; + rowMarks?: Node[]; + setOperations?: Node; + constraintDeps?: Node[]; + withCheckOptions?: Node[]; + stmt_location?: number; + stmt_len?: number; +} +export interface TypeName { + names?: Node[]; + typeOid?: number; + setof?: boolean; + pct_type?: boolean; + typmods?: Node[]; + typemod?: number; + arrayBounds?: Node[]; + location?: number; +} +export interface ColumnRef { + fields?: Node[]; + location?: number; +} +export interface ParamRef { + number?: number; + location?: number; +} +export interface A_Expr { + kind?: A_Expr_Kind; + name?: Node[]; + lexpr?: Node; + rexpr?: Node; + location?: number; +} +export interface TypeCast { + arg?: Node; + typeName?: TypeName; + location?: number; +} +export interface CollateClause { + arg?: Node; + collname?: Node[]; + location?: number; +} +export interface RoleSpec { + roletype?: RoleSpecType; + rolename?: string; + location?: number; +} +export interface FuncCall { + funcname?: Node[]; + args?: Node[]; + agg_order?: Node[]; + agg_filter?: Node; + over?: WindowDef; + agg_within_group?: boolean; + agg_star?: boolean; + agg_distinct?: boolean; + func_variadic?: boolean; + funcformat?: CoercionForm; + location?: number; +} +export interface A_Star {} +export interface A_Indices { + is_slice?: boolean; + lidx?: Node; + uidx?: Node; +} +export interface A_Indirection { + arg?: Node; + indirection?: Node[]; +} +export interface A_ArrayExpr { + elements?: Node[]; + location?: number; +} +export interface ResTarget { + name?: string; + indirection?: Node[]; + val?: Node; + location?: number; +} +export interface MultiAssignRef { + source?: Node; + colno?: number; + ncolumns?: number; +} +export interface SortBy { + node?: Node; + sortby_dir?: SortByDir; + sortby_nulls?: SortByNulls; + useOp?: Node[]; + location?: number; +} +export interface WindowDef { + name?: string; + refname?: string; + partitionClause?: Node[]; + orderClause?: Node[]; + frameOptions?: number; + startOffset?: Node; + endOffset?: Node; + location?: number; +} +export interface RangeSubselect { + lateral?: boolean; + subquery?: Node; + alias?: Alias; +} +export interface RangeFunction { + lateral?: boolean; + ordinality?: boolean; + is_rowsfrom?: boolean; + functions?: Node[]; + alias?: Alias; + coldeflist?: Node[]; +} +export interface RangeTableFunc { + lateral?: boolean; + docexpr?: Node; + rowexpr?: Node; + namespaces?: Node[]; + columns?: Node[]; + alias?: Alias; + location?: number; +} +export interface RangeTableFuncCol { + colname?: string; + typeName?: TypeName; + for_ordinality?: boolean; + is_not_null?: boolean; + colexpr?: Node; + coldefexpr?: Node; + location?: number; +} +export interface RangeTableSample { + relation?: Node; + method?: Node[]; + args?: Node[]; + repeatable?: Node; + location?: number; +} +export interface ColumnDef { + colname?: string; + typeName?: TypeName; + compression?: string; + inhcount?: number; + is_local?: boolean; + is_not_null?: boolean; + is_from_type?: boolean; + storage?: string; + storage_name?: string; + raw_default?: Node; + cooked_default?: Node; + identity?: string; + identitySequence?: RangeVar; + generated?: string; + collClause?: CollateClause; + collOid?: number; + constraints?: Node[]; + fdwoptions?: Node[]; + location?: number; +} +export interface TableLikeClause { + relation?: RangeVar; + options?: number; + relationOid?: number; +} +export interface IndexElem { + name?: string; + expr?: Node; + indexcolname?: string; + collation?: Node[]; + opclass?: Node[]; + opclassopts?: Node[]; + ordering?: SortByDir; + nulls_ordering?: SortByNulls; +} +export interface DefElem { + defnamespace?: string; + defname?: string; + arg?: Node; + defaction?: DefElemAction; + location?: number; +} +export interface LockingClause { + lockedRels?: Node[]; + strength?: LockClauseStrength; + waitPolicy?: LockWaitPolicy; +} +export interface XmlSerialize { + xmloption?: XmlOptionType; + expr?: Node; + typeName?: TypeName; + indent?: boolean; + location?: number; +} +export interface PartitionElem { + name?: string; + expr?: Node; + collation?: Node[]; + opclass?: Node[]; + location?: number; +} +export interface PartitionSpec { + strategy?: PartitionStrategy; + partParams?: Node[]; + location?: number; +} +export interface PartitionBoundSpec { + strategy?: string; + is_default?: boolean; + modulus?: number; + remainder?: number; + listdatums?: Node[]; + lowerdatums?: Node[]; + upperdatums?: Node[]; + location?: number; +} +export interface PartitionRangeDatum { + kind?: PartitionRangeDatumKind; + value?: Node; + location?: number; +} +export interface PartitionCmd { + name?: RangeVar; + bound?: PartitionBoundSpec; + concurrent?: boolean; +} +export interface RangeTblEntry { + rtekind?: RTEKind; + relid?: number; + relkind?: string; + rellockmode?: number; + tablesample?: TableSampleClause; + perminfoindex?: number; + subquery?: Query; + security_barrier?: boolean; + jointype?: JoinType; + joinmergedcols?: number; + joinaliasvars?: Node[]; + joinleftcols?: Node[]; + joinrightcols?: Node[]; + join_using_alias?: Alias; + functions?: Node[]; + funcordinality?: boolean; + tablefunc?: TableFunc; + values_lists?: Node[]; + ctename?: string; + ctelevelsup?: number; + self_reference?: boolean; + coltypes?: Node[]; + coltypmods?: Node[]; + colcollations?: Node[]; + enrname?: string; + enrtuples?: number; + alias?: Alias; + eref?: Alias; + lateral?: boolean; + inh?: boolean; + inFromCl?: boolean; + securityQuals?: Node[]; +} +export interface RTEPermissionInfo { + relid?: number; + inh?: boolean; + requiredPerms?: bigint; + checkAsUser?: number; + selectedCols?: bigint[]; + insertedCols?: bigint[]; + updatedCols?: bigint[]; +} +export interface RangeTblFunction { + funcexpr?: Node; + funccolcount?: number; + funccolnames?: Node[]; + funccoltypes?: Node[]; + funccoltypmods?: Node[]; + funccolcollations?: Node[]; + funcparams?: bigint[]; +} +export interface TableSampleClause { + tsmhandler?: number; + args?: Node[]; + repeatable?: Node; +} +export interface WithCheckOption { + kind?: WCOKind; + relname?: string; + polname?: string; + qual?: Node; + cascaded?: boolean; +} +export interface SortGroupClause { + tleSortGroupRef?: number; + eqop?: number; + sortop?: number; + nulls_first?: boolean; + hashable?: boolean; +} +export interface GroupingSet { + kind?: GroupingSetKind; + content?: Node[]; + location?: number; +} +export interface WindowClause { + name?: string; + refname?: string; + partitionClause?: Node[]; + orderClause?: Node[]; + frameOptions?: number; + startOffset?: Node; + endOffset?: Node; + runCondition?: Node[]; + startInRangeFunc?: number; + endInRangeFunc?: number; + inRangeColl?: number; + inRangeAsc?: boolean; + inRangeNullsFirst?: boolean; + winref?: number; + copiedOrder?: boolean; +} +export interface RowMarkClause { + rti?: number; + strength?: LockClauseStrength; + waitPolicy?: LockWaitPolicy; + pushedDown?: boolean; +} +export interface WithClause { + ctes?: Node[]; + recursive?: boolean; + location?: number; +} +export interface InferClause { + indexElems?: Node[]; + whereClause?: Node; + conname?: string; + location?: number; +} +export interface OnConflictClause { + action?: OnConflictAction; + infer?: InferClause; + targetList?: Node[]; + whereClause?: Node; + location?: number; +} +export interface CTESearchClause { + search_col_list?: Node[]; + search_breadth_first?: boolean; + search_seq_column?: string; + location?: number; +} +export interface CTECycleClause { + cycle_col_list?: Node[]; + cycle_mark_column?: string; + cycle_mark_value?: Node; + cycle_mark_default?: Node; + cycle_path_column?: string; + location?: number; + cycle_mark_type?: number; + cycle_mark_typmod?: number; + cycle_mark_collation?: number; + cycle_mark_neop?: number; +} +export interface CommonTableExpr { + ctename?: string; + aliascolnames?: Node[]; + ctematerialized?: CTEMaterialize; + ctequery?: Node; + search_clause?: CTESearchClause; + cycle_clause?: CTECycleClause; + location?: number; + cterecursive?: boolean; + cterefcount?: number; + ctecolnames?: Node[]; + ctecoltypes?: Node[]; + ctecoltypmods?: Node[]; + ctecolcollations?: Node[]; +} +export interface MergeWhenClause { + matched?: boolean; + commandType?: CmdType; + override?: OverridingKind; + condition?: Node; + targetList?: Node[]; + values?: Node[]; +} +export interface MergeAction { + matched?: boolean; + commandType?: CmdType; + override?: OverridingKind; + qual?: Node; + targetList?: Node[]; + updateColnos?: Node[]; +} +export interface TriggerTransition { + name?: string; + isNew?: boolean; + isTable?: boolean; +} +export interface JsonOutput { + typeName?: TypeName; + returning?: JsonReturning; +} +export interface JsonKeyValue { + key?: Node; + value?: JsonValueExpr; +} +export interface JsonObjectConstructor { + exprs?: Node[]; + output?: JsonOutput; + absent_on_null?: boolean; + unique?: boolean; + location?: number; +} +export interface JsonArrayConstructor { + exprs?: Node[]; + output?: JsonOutput; + absent_on_null?: boolean; + location?: number; +} +export interface JsonArrayQueryConstructor { + query?: Node; + output?: JsonOutput; + format?: JsonFormat; + absent_on_null?: boolean; + location?: number; +} +export interface JsonAggConstructor { + output?: JsonOutput; + agg_filter?: Node; + agg_order?: Node[]; + over?: WindowDef; + location?: number; +} +export interface JsonObjectAgg { + constructor?: JsonAggConstructor; + arg?: JsonKeyValue; + absent_on_null?: boolean; + unique?: boolean; +} +export interface JsonArrayAgg { + constructor?: JsonAggConstructor; + arg?: JsonValueExpr; + absent_on_null?: boolean; +} +export interface RawStmt { + stmt?: Node; + stmt_location?: number; + stmt_len?: number; +} +export interface InsertStmt { + relation?: RangeVar; + cols?: Node[]; + selectStmt?: Node; + onConflictClause?: OnConflictClause; + returningList?: Node[]; + withClause?: WithClause; + override?: OverridingKind; +} +export interface DeleteStmt { + relation?: RangeVar; + usingClause?: Node[]; + whereClause?: Node; + returningList?: Node[]; + withClause?: WithClause; +} +export interface UpdateStmt { + relation?: RangeVar; + targetList?: Node[]; + whereClause?: Node; + fromClause?: Node[]; + returningList?: Node[]; + withClause?: WithClause; +} +export interface MergeStmt { + relation?: RangeVar; + sourceRelation?: Node; + joinCondition?: Node; + mergeWhenClauses?: Node[]; + withClause?: WithClause; +} +export interface SelectStmt { + distinctClause?: Node[]; + intoClause?: IntoClause; + targetList?: Node[]; + fromClause?: Node[]; + whereClause?: Node; + groupClause?: Node[]; + groupDistinct?: boolean; + havingClause?: Node; + windowClause?: Node[]; + valuesLists?: Node[]; + sortClause?: Node[]; + limitOffset?: Node; + limitCount?: Node; + limitOption?: LimitOption; + lockingClause?: Node[]; + withClause?: WithClause; + op?: SetOperation; + all?: boolean; + larg?: SelectStmt; + rarg?: SelectStmt; +} +export interface SetOperationStmt { + op?: SetOperation; + all?: boolean; + larg?: Node; + rarg?: Node; + colTypes?: Node[]; + colTypmods?: Node[]; + colCollations?: Node[]; + groupClauses?: Node[]; +} +export interface ReturnStmt { + returnval?: Node; +} +export interface PLAssignStmt { + name?: string; + indirection?: Node[]; + nnames?: number; + val?: SelectStmt; + location?: number; +} +export interface CreateSchemaStmt { + schemaname?: string; + authrole?: RoleSpec; + schemaElts?: Node[]; + if_not_exists?: boolean; +} +export interface AlterTableStmt { + relation?: RangeVar; + cmds?: Node[]; + objtype?: ObjectType; + missing_ok?: boolean; +} +export interface ReplicaIdentityStmt { + identity_type?: string; + name?: string; +} +export interface AlterTableCmd { + subtype?: AlterTableType; + name?: string; + num?: number; + newowner?: RoleSpec; + def?: Node; + behavior?: DropBehavior; + missing_ok?: boolean; + recurse?: boolean; +} +export interface AlterCollationStmt { + collname?: Node[]; +} +export interface AlterDomainStmt { + subtype?: string; + typeName?: Node[]; + name?: string; + def?: Node; + behavior?: DropBehavior; + missing_ok?: boolean; +} +export interface GrantStmt { + is_grant?: boolean; + targtype?: GrantTargetType; + objtype?: ObjectType; + objects?: Node[]; + privileges?: Node[]; + grantees?: Node[]; + grant_option?: boolean; + grantor?: RoleSpec; + behavior?: DropBehavior; +} +export interface ObjectWithArgs { + objname?: Node[]; + objargs?: Node[]; + objfuncargs?: Node[]; + args_unspecified?: boolean; +} +export interface AccessPriv { + priv_name?: string; + cols?: Node[]; +} +export interface GrantRoleStmt { + granted_roles?: Node[]; + grantee_roles?: Node[]; + is_grant?: boolean; + opt?: Node[]; + grantor?: RoleSpec; + behavior?: DropBehavior; +} +export interface AlterDefaultPrivilegesStmt { + options?: Node[]; + action?: GrantStmt; +} +export interface CopyStmt { + relation?: RangeVar; + query?: Node; + attlist?: Node[]; + is_from?: boolean; + is_program?: boolean; + filename?: string; + options?: Node[]; + whereClause?: Node; +} +export interface VariableSetStmt { + kind?: VariableSetKind; + name?: string; + args?: Node[]; + is_local?: boolean; +} +export interface VariableShowStmt { + name?: string; +} +export interface CreateStmt { + relation?: RangeVar; + tableElts?: Node[]; + inhRelations?: Node[]; + partbound?: PartitionBoundSpec; + partspec?: PartitionSpec; + ofTypename?: TypeName; + constraints?: Node[]; + options?: Node[]; + oncommit?: OnCommitAction; + tablespacename?: string; + accessMethod?: string; + if_not_exists?: boolean; +} +export interface Constraint { + contype?: ConstrType; + conname?: string; + deferrable?: boolean; + initdeferred?: boolean; + location?: number; + is_no_inherit?: boolean; + raw_expr?: Node; + cooked_expr?: string; + generated_when?: string; + nulls_not_distinct?: boolean; + keys?: Node[]; + including?: Node[]; + exclusions?: Node[]; + options?: Node[]; + indexname?: string; + indexspace?: string; + reset_default_tblspc?: boolean; + access_method?: string; + where_clause?: Node; + pktable?: RangeVar; + fk_attrs?: Node[]; + pk_attrs?: Node[]; + fk_matchtype?: string; + fk_upd_action?: string; + fk_del_action?: string; + fk_del_set_cols?: Node[]; + old_conpfeqop?: Node[]; + old_pktable_oid?: number; + skip_validation?: boolean; + initially_valid?: boolean; +} +export interface CreateTableSpaceStmt { + tablespacename?: string; + owner?: RoleSpec; + location?: string; + options?: Node[]; +} +export interface DropTableSpaceStmt { + tablespacename?: string; + missing_ok?: boolean; +} +export interface AlterTableSpaceOptionsStmt { + tablespacename?: string; + options?: Node[]; + isReset?: boolean; +} +export interface AlterTableMoveAllStmt { + orig_tablespacename?: string; + objtype?: ObjectType; + roles?: Node[]; + new_tablespacename?: string; + nowait?: boolean; +} +export interface CreateExtensionStmt { + extname?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterExtensionStmt { + extname?: string; + options?: Node[]; +} +export interface AlterExtensionContentsStmt { + extname?: string; + action?: number; + objtype?: ObjectType; + object?: Node; +} +export interface CreateFdwStmt { + fdwname?: string; + func_options?: Node[]; + options?: Node[]; +} +export interface AlterFdwStmt { + fdwname?: string; + func_options?: Node[]; + options?: Node[]; +} +export interface CreateForeignServerStmt { + servername?: string; + servertype?: string; + version?: string; + fdwname?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterForeignServerStmt { + servername?: string; + version?: string; + options?: Node[]; + has_version?: boolean; +} +export interface CreateForeignTableStmt { + base?: CreateStmt; + servername?: string; + options?: Node[]; +} +export interface CreateUserMappingStmt { + user?: RoleSpec; + servername?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterUserMappingStmt { + user?: RoleSpec; + servername?: string; + options?: Node[]; +} +export interface DropUserMappingStmt { + user?: RoleSpec; + servername?: string; + missing_ok?: boolean; +} +export interface ImportForeignSchemaStmt { + server_name?: string; + remote_schema?: string; + local_schema?: string; + list_type?: ImportForeignSchemaType; + table_list?: Node[]; + options?: Node[]; +} +export interface CreatePolicyStmt { + policy_name?: string; + table?: RangeVar; + cmd_name?: string; + permissive?: boolean; + roles?: Node[]; + qual?: Node; + with_check?: Node; +} +export interface AlterPolicyStmt { + policy_name?: string; + table?: RangeVar; + roles?: Node[]; + qual?: Node; + with_check?: Node; +} +export interface CreateAmStmt { + amname?: string; + handler_name?: Node[]; + amtype?: string; +} +export interface CreateTrigStmt { + replace?: boolean; + isconstraint?: boolean; + trigname?: string; + relation?: RangeVar; + funcname?: Node[]; + args?: Node[]; + row?: boolean; + timing?: number; + events?: number; + columns?: Node[]; + whenClause?: Node; + transitionRels?: Node[]; + deferrable?: boolean; + initdeferred?: boolean; + constrrel?: RangeVar; +} +export interface CreateEventTrigStmt { + trigname?: string; + eventname?: string; + whenclause?: Node[]; + funcname?: Node[]; +} +export interface AlterEventTrigStmt { + trigname?: string; + tgenabled?: string; +} +export interface CreatePLangStmt { + replace?: boolean; + plname?: string; + plhandler?: Node[]; + plinline?: Node[]; + plvalidator?: Node[]; + pltrusted?: boolean; +} +export interface CreateRoleStmt { + stmt_type?: RoleStmtType; + role?: string; + options?: Node[]; +} +export interface AlterRoleStmt { + role?: RoleSpec; + options?: Node[]; + action?: number; +} +export interface AlterRoleSetStmt { + role?: RoleSpec; + database?: string; + setstmt?: VariableSetStmt; +} +export interface DropRoleStmt { + roles?: Node[]; + missing_ok?: boolean; +} +export interface CreateSeqStmt { + sequence?: RangeVar; + options?: Node[]; + ownerId?: number; + for_identity?: boolean; + if_not_exists?: boolean; +} +export interface AlterSeqStmt { + sequence?: RangeVar; + options?: Node[]; + for_identity?: boolean; + missing_ok?: boolean; +} +export interface DefineStmt { + kind?: ObjectType; + oldstyle?: boolean; + defnames?: Node[]; + args?: Node[]; + definition?: Node[]; + if_not_exists?: boolean; + replace?: boolean; +} +export interface CreateDomainStmt { + domainname?: Node[]; + typeName?: TypeName; + collClause?: CollateClause; + constraints?: Node[]; +} +export interface CreateOpClassStmt { + opclassname?: Node[]; + opfamilyname?: Node[]; + amname?: string; + datatype?: TypeName; + items?: Node[]; + isDefault?: boolean; +} +export interface CreateOpClassItem { + itemtype?: number; + name?: ObjectWithArgs; + number?: number; + order_family?: Node[]; + class_args?: Node[]; + storedtype?: TypeName; +} +export interface CreateOpFamilyStmt { + opfamilyname?: Node[]; + amname?: string; +} +export interface AlterOpFamilyStmt { + opfamilyname?: Node[]; + amname?: string; + isDrop?: boolean; + items?: Node[]; +} +export interface DropStmt { + objects?: Node[]; + removeType?: ObjectType; + behavior?: DropBehavior; + missing_ok?: boolean; + concurrent?: boolean; +} +export interface TruncateStmt { + relations?: Node[]; + restart_seqs?: boolean; + behavior?: DropBehavior; +} +export interface CommentStmt { + objtype?: ObjectType; + object?: Node; + comment?: string; +} +export interface SecLabelStmt { + objtype?: ObjectType; + object?: Node; + provider?: string; + label?: string; +} +export interface DeclareCursorStmt { + portalname?: string; + options?: number; + query?: Node; +} +export interface ClosePortalStmt { + portalname?: string; +} +export interface FetchStmt { + direction?: FetchDirection; + howMany?: bigint; + portalname?: string; + ismove?: boolean; +} +export interface IndexStmt { + idxname?: string; + relation?: RangeVar; + accessMethod?: string; + tableSpace?: string; + indexParams?: Node[]; + indexIncludingParams?: Node[]; + options?: Node[]; + whereClause?: Node; + excludeOpNames?: Node[]; + idxcomment?: string; + indexOid?: number; + oldNumber?: number; + oldCreateSubid?: number; + oldFirstRelfilelocatorSubid?: number; + unique?: boolean; + nulls_not_distinct?: boolean; + primary?: boolean; + isconstraint?: boolean; + deferrable?: boolean; + initdeferred?: boolean; + transformed?: boolean; + concurrent?: boolean; + if_not_exists?: boolean; + reset_default_tblspc?: boolean; +} +export interface CreateStatsStmt { + defnames?: Node[]; + stat_types?: Node[]; + exprs?: Node[]; + relations?: Node[]; + stxcomment?: string; + transformed?: boolean; + if_not_exists?: boolean; +} +export interface StatsElem { + name?: string; + expr?: Node; +} +export interface AlterStatsStmt { + defnames?: Node[]; + stxstattarget?: number; + missing_ok?: boolean; +} +export interface CreateFunctionStmt { + is_procedure?: boolean; + replace?: boolean; + funcname?: Node[]; + parameters?: Node[]; + returnType?: TypeName; + options?: Node[]; + sql_body?: Node; +} +export interface FunctionParameter { + name?: string; + argType?: TypeName; + mode?: FunctionParameterMode; + defexpr?: Node; +} +export interface AlterFunctionStmt { + objtype?: ObjectType; + func?: ObjectWithArgs; + actions?: Node[]; +} +export interface DoStmt { + args?: Node[]; +} +export interface InlineCodeBlock { + source_text?: string; + langOid?: number; + langIsTrusted?: boolean; + atomic?: boolean; +} +export interface CallStmt { + funccall?: FuncCall; + funcexpr?: FuncExpr; + outargs?: Node[]; +} +export interface CallContext { + atomic?: boolean; +} +export interface RenameStmt { + renameType?: ObjectType; + relationType?: ObjectType; + relation?: RangeVar; + object?: Node; + subname?: string; + newname?: string; + behavior?: DropBehavior; + missing_ok?: boolean; +} +export interface AlterObjectDependsStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + extname?: String; + remove?: boolean; +} +export interface AlterObjectSchemaStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + newschema?: string; + missing_ok?: boolean; +} +export interface AlterOwnerStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + newowner?: RoleSpec; +} +export interface AlterOperatorStmt { + opername?: ObjectWithArgs; + options?: Node[]; +} +export interface AlterTypeStmt { + typeName?: Node[]; + options?: Node[]; +} +export interface RuleStmt { + relation?: RangeVar; + rulename?: string; + whereClause?: Node; + event?: CmdType; + instead?: boolean; + actions?: Node[]; + replace?: boolean; +} +export interface NotifyStmt { + conditionname?: string; + payload?: string; +} +export interface ListenStmt { + conditionname?: string; +} +export interface UnlistenStmt { + conditionname?: string; +} +export interface TransactionStmt { + kind?: TransactionStmtKind; + options?: Node[]; + savepoint_name?: string; + gid?: string; + chain?: boolean; +} +export interface CompositeTypeStmt { + typevar?: RangeVar; + coldeflist?: Node[]; +} +export interface CreateEnumStmt { + typeName?: Node[]; + vals?: Node[]; +} +export interface CreateRangeStmt { + typeName?: Node[]; + params?: Node[]; +} +export interface AlterEnumStmt { + typeName?: Node[]; + oldVal?: string; + newVal?: string; + newValNeighbor?: string; + newValIsAfter?: boolean; + skipIfNewValExists?: boolean; +} +export interface ViewStmt { + view?: RangeVar; + aliases?: Node[]; + query?: Node; + replace?: boolean; + options?: Node[]; + withCheckOption?: ViewCheckOption; +} +export interface LoadStmt { + filename?: string; +} +export interface CreatedbStmt { + dbname?: string; + options?: Node[]; +} +export interface AlterDatabaseStmt { + dbname?: string; + options?: Node[]; +} +export interface AlterDatabaseRefreshCollStmt { + dbname?: string; +} +export interface AlterDatabaseSetStmt { + dbname?: string; + setstmt?: VariableSetStmt; +} +export interface DropdbStmt { + dbname?: string; + missing_ok?: boolean; + options?: Node[]; +} +export interface AlterSystemStmt { + setstmt?: VariableSetStmt; +} +export interface ClusterStmt { + relation?: RangeVar; + indexname?: string; + params?: Node[]; +} +export interface VacuumStmt { + options?: Node[]; + rels?: Node[]; + is_vacuumcmd?: boolean; +} +export interface VacuumRelation { + relation?: RangeVar; + oid?: number; + va_cols?: Node[]; +} +export interface ExplainStmt { + query?: Node; + options?: Node[]; +} +export interface CreateTableAsStmt { + query?: Node; + into?: IntoClause; + objtype?: ObjectType; + is_select_into?: boolean; + if_not_exists?: boolean; +} +export interface RefreshMatViewStmt { + concurrent?: boolean; + skipData?: boolean; + relation?: RangeVar; +} +export interface CheckPointStmt {} +export interface DiscardStmt { + target?: DiscardMode; +} +export interface LockStmt { + relations?: Node[]; + mode?: number; + nowait?: boolean; +} +export interface ConstraintsSetStmt { + constraints?: Node[]; + deferred?: boolean; +} +export interface ReindexStmt { + kind?: ReindexObjectType; + relation?: RangeVar; + name?: string; + params?: Node[]; +} +export interface CreateConversionStmt { + conversion_name?: Node[]; + for_encoding_name?: string; + to_encoding_name?: string; + func_name?: Node[]; + def?: boolean; +} +export interface CreateCastStmt { + sourcetype?: TypeName; + targettype?: TypeName; + func?: ObjectWithArgs; + context?: CoercionContext; + inout?: boolean; +} +export interface CreateTransformStmt { + replace?: boolean; + type_name?: TypeName; + lang?: string; + fromsql?: ObjectWithArgs; + tosql?: ObjectWithArgs; +} +export interface PrepareStmt { + name?: string; + argtypes?: Node[]; + query?: Node; +} +export interface ExecuteStmt { + name?: string; + params?: Node[]; +} +export interface DeallocateStmt { + name?: string; +} +export interface DropOwnedStmt { + roles?: Node[]; + behavior?: DropBehavior; +} +export interface ReassignOwnedStmt { + roles?: Node[]; + newrole?: RoleSpec; +} +export interface AlterTSDictionaryStmt { + dictname?: Node[]; + options?: Node[]; +} +export interface AlterTSConfigurationStmt { + kind?: AlterTSConfigType; + cfgname?: Node[]; + tokentype?: Node[]; + dicts?: Node[]; + override?: boolean; + replace?: boolean; + missing_ok?: boolean; +} +export interface PublicationTable { + relation?: RangeVar; + whereClause?: Node; + columns?: Node[]; +} +export interface PublicationObjSpec { + pubobjtype?: PublicationObjSpecType; + name?: string; + pubtable?: PublicationTable; + location?: number; +} +export interface CreatePublicationStmt { + pubname?: string; + options?: Node[]; + pubobjects?: Node[]; + for_all_tables?: boolean; +} +export interface AlterPublicationStmt { + pubname?: string; + options?: Node[]; + pubobjects?: Node[]; + for_all_tables?: boolean; + action?: AlterPublicationAction; +} +export interface CreateSubscriptionStmt { + subname?: string; + conninfo?: string; + publication?: Node[]; + options?: Node[]; +} +export interface AlterSubscriptionStmt { + kind?: AlterSubscriptionType; + subname?: string; + conninfo?: string; + publication?: Node[]; + options?: Node[]; +} +export interface DropSubscriptionStmt { + subname?: string; + missing_ok?: boolean; + behavior?: DropBehavior; +} +export interface ScanToken { + start?: number; + end?: number; + token?: Token; + keywordKind?: KeywordKind; +} \ No newline at end of file diff --git a/__fixtures__/output/runtime-schema/typescript/full-features/wrapped.ts b/__fixtures__/output/runtime-schema/typescript/full-features/wrapped.ts new file mode 100644 index 0000000..37f841c --- /dev/null +++ b/__fixtures__/output/runtime-schema/typescript/full-features/wrapped.ts @@ -0,0 +1,1822 @@ +/** +* This file was automatically generated by pg-proto-parser@latest. +* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, +* and run the pg-proto-parser generate command to regenerate this file. +*/ +import { OverridingKind, QuerySource, SortByDir, SortByNulls, SetQuantifier, A_Expr_Kind, RoleSpecType, TableLikeOption, DefElemAction, PartitionStrategy, PartitionRangeDatumKind, RTEKind, WCOKind, GroupingSetKind, CTEMaterialize, SetOperation, ObjectType, DropBehavior, AlterTableType, GrantTargetType, VariableSetKind, ConstrType, ImportForeignSchemaType, RoleStmtType, FetchDirection, FunctionParameterMode, TransactionStmtKind, ViewCheckOption, DiscardMode, ReindexObjectType, AlterTSConfigType, PublicationObjSpecType, AlterPublicationAction, AlterSubscriptionType, OnCommitAction, ParamKind, CoercionContext, CoercionForm, BoolExprType, SubLinkType, RowCompareType, MinMaxOp, SQLValueFunctionOp, XmlExprOp, XmlOptionType, JsonEncoding, JsonFormatType, JsonConstructorType, JsonValueType, NullTestType, BoolTestType, CmdType, JoinType, AggStrategy, AggSplit, SetOpCmd, SetOpStrategy, OnConflictAction, LimitOption, LockClauseStrength, LockWaitPolicy, LockTupleMode, KeywordKind, Token } from "./enums"; +export type Node = ParseResult | ScanResult | Integer | Float | Boolean | String | BitString | List | OidList | IntList | A_Const | Alias | RangeVar | TableFunc | IntoClause | Var | Param | Aggref | GroupingFunc | WindowFunc | SubscriptingRef | FuncExpr | NamedArgExpr | OpExpr | DistinctExpr | NullIfExpr | ScalarArrayOpExpr | BoolExpr | SubLink | SubPlan | AlternativeSubPlan | FieldSelect | FieldStore | RelabelType | CoerceViaIO | ArrayCoerceExpr | ConvertRowtypeExpr | CollateExpr | CaseExpr | CaseWhen | CaseTestExpr | ArrayExpr | RowExpr | RowCompareExpr | CoalesceExpr | MinMaxExpr | SQLValueFunction | XmlExpr | JsonFormat | JsonReturning | JsonValueExpr | JsonConstructorExpr | JsonIsPredicate | NullTest | BooleanTest | CoerceToDomain | CoerceToDomainValue | SetToDefault | CurrentOfExpr | NextValueExpr | InferenceElem | TargetEntry | RangeTblRef | JoinExpr | FromExpr | OnConflictExpr | Query | TypeName | ColumnRef | ParamRef | A_Expr | TypeCast | CollateClause | RoleSpec | FuncCall | A_Star | A_Indices | A_Indirection | A_ArrayExpr | ResTarget | MultiAssignRef | SortBy | WindowDef | RangeSubselect | RangeFunction | RangeTableFunc | RangeTableFuncCol | RangeTableSample | ColumnDef | TableLikeClause | IndexElem | DefElem | LockingClause | XmlSerialize | PartitionElem | PartitionSpec | PartitionBoundSpec | PartitionRangeDatum | PartitionCmd | RangeTblEntry | RTEPermissionInfo | RangeTblFunction | TableSampleClause | WithCheckOption | SortGroupClause | GroupingSet | WindowClause | RowMarkClause | WithClause | InferClause | OnConflictClause | CTESearchClause | CTECycleClause | CommonTableExpr | MergeWhenClause | MergeAction | TriggerTransition | JsonOutput | JsonKeyValue | JsonObjectConstructor | JsonArrayConstructor | JsonArrayQueryConstructor | JsonAggConstructor | JsonObjectAgg | JsonArrayAgg | RawStmt | InsertStmt | DeleteStmt | UpdateStmt | MergeStmt | SelectStmt | SetOperationStmt | ReturnStmt | PLAssignStmt | CreateSchemaStmt | AlterTableStmt | ReplicaIdentityStmt | AlterTableCmd | AlterCollationStmt | AlterDomainStmt | GrantStmt | ObjectWithArgs | AccessPriv | GrantRoleStmt | AlterDefaultPrivilegesStmt | CopyStmt | VariableSetStmt | VariableShowStmt | CreateStmt | Constraint | CreateTableSpaceStmt | DropTableSpaceStmt | AlterTableSpaceOptionsStmt | AlterTableMoveAllStmt | CreateExtensionStmt | AlterExtensionStmt | AlterExtensionContentsStmt | CreateFdwStmt | AlterFdwStmt | CreateForeignServerStmt | AlterForeignServerStmt | CreateForeignTableStmt | CreateUserMappingStmt | AlterUserMappingStmt | DropUserMappingStmt | ImportForeignSchemaStmt | CreatePolicyStmt | AlterPolicyStmt | CreateAmStmt | CreateTrigStmt | CreateEventTrigStmt | AlterEventTrigStmt | CreatePLangStmt | CreateRoleStmt | AlterRoleStmt | AlterRoleSetStmt | DropRoleStmt | CreateSeqStmt | AlterSeqStmt | DefineStmt | CreateDomainStmt | CreateOpClassStmt | CreateOpClassItem | CreateOpFamilyStmt | AlterOpFamilyStmt | DropStmt | TruncateStmt | CommentStmt | SecLabelStmt | DeclareCursorStmt | ClosePortalStmt | FetchStmt | IndexStmt | CreateStatsStmt | StatsElem | AlterStatsStmt | CreateFunctionStmt | FunctionParameter | AlterFunctionStmt | DoStmt | InlineCodeBlock | CallStmt | CallContext | RenameStmt | AlterObjectDependsStmt | AlterObjectSchemaStmt | AlterOwnerStmt | AlterOperatorStmt | AlterTypeStmt | RuleStmt | NotifyStmt | ListenStmt | UnlistenStmt | TransactionStmt | CompositeTypeStmt | CreateEnumStmt | CreateRangeStmt | AlterEnumStmt | ViewStmt | LoadStmt | CreatedbStmt | AlterDatabaseStmt | AlterDatabaseRefreshCollStmt | AlterDatabaseSetStmt | DropdbStmt | AlterSystemStmt | ClusterStmt | VacuumStmt | VacuumRelation | ExplainStmt | CreateTableAsStmt | RefreshMatViewStmt | CheckPointStmt | DiscardStmt | LockStmt | ConstraintsSetStmt | ReindexStmt | CreateConversionStmt | CreateCastStmt | CreateTransformStmt | PrepareStmt | ExecuteStmt | DeallocateStmt | DropOwnedStmt | ReassignOwnedStmt | AlterTSDictionaryStmt | AlterTSConfigurationStmt | PublicationTable | PublicationObjSpec | CreatePublicationStmt | AlterPublicationStmt | CreateSubscriptionStmt | AlterSubscriptionStmt | DropSubscriptionStmt | ScanToken; +export interface ParseResult { + ParseResult: { + version?: number; + stmts?: RawStmt[]; + }; +} +export interface ScanResult { + ScanResult: { + version?: number; + tokens?: ScanToken[]; + }; +} +export interface Integer { + ival?: number; +} +export interface Float { + fval?: string; +} +export interface Boolean { + boolval?: boolean; +} +export interface String { + sval?: string; +} +export interface BitString { + bsval?: string; +} +export interface List { + items?: Node[]; +} +export interface OidList { + items?: Node[]; +} +export interface IntList { + items?: Node[]; +} +export interface A_Const { + ival?: Integer; + fval?: Float; + boolval?: Boolean; + sval?: String; + bsval?: BitString; + isnull?: boolean; + location?: number; +} +export interface Alias { + aliasname?: string; + colnames?: Node[]; +} +export interface RangeVar { + catalogname?: string; + schemaname?: string; + relname?: string; + inh?: boolean; + relpersistence?: string; + alias?: Alias; + location?: number; +} +export interface TableFunc { + ns_uris?: Node[]; + ns_names?: Node[]; + docexpr?: Node; + rowexpr?: Node; + colnames?: Node[]; + coltypes?: Node[]; + coltypmods?: Node[]; + colcollations?: Node[]; + colexprs?: Node[]; + coldefexprs?: Node[]; + notnulls?: bigint[]; + ordinalitycol?: number; + location?: number; +} +export interface IntoClause { + rel?: RangeVar; + colNames?: Node[]; + accessMethod?: string; + options?: Node[]; + onCommit?: OnCommitAction; + tableSpaceName?: string; + viewQuery?: Node; + skipData?: boolean; +} +export interface Var { + xpr?: Node; + varno?: number; + varattno?: number; + vartype?: number; + vartypmod?: number; + varcollid?: number; + varnullingrels?: bigint[]; + varlevelsup?: number; + location?: number; +} +export interface Param { + xpr?: Node; + paramkind?: ParamKind; + paramid?: number; + paramtype?: number; + paramtypmod?: number; + paramcollid?: number; + location?: number; +} +export interface Aggref { + xpr?: Node; + aggfnoid?: number; + aggtype?: number; + aggcollid?: number; + inputcollid?: number; + aggargtypes?: Node[]; + aggdirectargs?: Node[]; + args?: Node[]; + aggorder?: Node[]; + aggdistinct?: Node[]; + aggfilter?: Node; + aggstar?: boolean; + aggvariadic?: boolean; + aggkind?: string; + agglevelsup?: number; + aggsplit?: AggSplit; + aggno?: number; + aggtransno?: number; + location?: number; +} +export interface GroupingFunc { + xpr?: Node; + args?: Node[]; + refs?: Node[]; + agglevelsup?: number; + location?: number; +} +export interface WindowFunc { + xpr?: Node; + winfnoid?: number; + wintype?: number; + wincollid?: number; + inputcollid?: number; + args?: Node[]; + aggfilter?: Node; + winref?: number; + winstar?: boolean; + winagg?: boolean; + location?: number; +} +export interface SubscriptingRef { + xpr?: Node; + refcontainertype?: number; + refelemtype?: number; + refrestype?: number; + reftypmod?: number; + refcollid?: number; + refupperindexpr?: Node[]; + reflowerindexpr?: Node[]; + refexpr?: Node; + refassgnexpr?: Node; +} +export interface FuncExpr { + xpr?: Node; + funcid?: number; + funcresulttype?: number; + funcretset?: boolean; + funcvariadic?: boolean; + funcformat?: CoercionForm; + funccollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface NamedArgExpr { + xpr?: Node; + arg?: Node; + name?: string; + argnumber?: number; + location?: number; +} +export interface OpExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface DistinctExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface NullIfExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface ScalarArrayOpExpr { + xpr?: Node; + opno?: number; + useOr?: boolean; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface BoolExpr { + xpr?: Node; + boolop?: BoolExprType; + args?: Node[]; + location?: number; +} +export interface SubLink { + xpr?: Node; + subLinkType?: SubLinkType; + subLinkId?: number; + testexpr?: Node; + operName?: Node[]; + subselect?: Node; + location?: number; +} +export interface SubPlan { + xpr?: Node; + subLinkType?: SubLinkType; + testexpr?: Node; + paramIds?: Node[]; + plan_id?: number; + plan_name?: string; + firstColType?: number; + firstColTypmod?: number; + firstColCollation?: number; + useHashTable?: boolean; + unknownEqFalse?: boolean; + parallel_safe?: boolean; + setParam?: Node[]; + parParam?: Node[]; + args?: Node[]; + startup_cost?: number; + per_call_cost?: number; +} +export interface AlternativeSubPlan { + xpr?: Node; + subplans?: Node[]; +} +export interface FieldSelect { + xpr?: Node; + arg?: Node; + fieldnum?: number; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; +} +export interface FieldStore { + xpr?: Node; + arg?: Node; + newvals?: Node[]; + fieldnums?: Node[]; + resulttype?: number; +} +export interface RelabelType { + xpr?: Node; + arg?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + relabelformat?: CoercionForm; + location?: number; +} +export interface CoerceViaIO { + xpr?: Node; + arg?: Node; + resulttype?: number; + resultcollid?: number; + coerceformat?: CoercionForm; + location?: number; +} +export interface ArrayCoerceExpr { + xpr?: Node; + arg?: Node; + elemexpr?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + coerceformat?: CoercionForm; + location?: number; +} +export interface ConvertRowtypeExpr { + xpr?: Node; + arg?: Node; + resulttype?: number; + convertformat?: CoercionForm; + location?: number; +} +export interface CollateExpr { + xpr?: Node; + arg?: Node; + collOid?: number; + location?: number; +} +export interface CaseExpr { + xpr?: Node; + casetype?: number; + casecollid?: number; + arg?: Node; + args?: Node[]; + defresult?: Node; + location?: number; +} +export interface CaseWhen { + xpr?: Node; + expr?: Node; + result?: Node; + location?: number; +} +export interface CaseTestExpr { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; +} +export interface ArrayExpr { + xpr?: Node; + array_typeid?: number; + array_collid?: number; + element_typeid?: number; + elements?: Node[]; + multidims?: boolean; + location?: number; +} +export interface RowExpr { + xpr?: Node; + args?: Node[]; + row_typeid?: number; + row_format?: CoercionForm; + colnames?: Node[]; + location?: number; +} +export interface RowCompareExpr { + xpr?: Node; + rctype?: RowCompareType; + opnos?: Node[]; + opfamilies?: Node[]; + inputcollids?: Node[]; + largs?: Node[]; + rargs?: Node[]; +} +export interface CoalesceExpr { + xpr?: Node; + coalescetype?: number; + coalescecollid?: number; + args?: Node[]; + location?: number; +} +export interface MinMaxExpr { + xpr?: Node; + minmaxtype?: number; + minmaxcollid?: number; + inputcollid?: number; + op?: MinMaxOp; + args?: Node[]; + location?: number; +} +export interface SQLValueFunction { + xpr?: Node; + op?: SQLValueFunctionOp; + type?: number; + typmod?: number; + location?: number; +} +export interface XmlExpr { + xpr?: Node; + op?: XmlExprOp; + name?: string; + named_args?: Node[]; + arg_names?: Node[]; + args?: Node[]; + xmloption?: XmlOptionType; + indent?: boolean; + type?: number; + typmod?: number; + location?: number; +} +export interface JsonFormat { + format_type?: JsonFormatType; + encoding?: JsonEncoding; + location?: number; +} +export interface JsonReturning { + format?: JsonFormat; + typid?: number; + typmod?: number; +} +export interface JsonValueExpr { + raw_expr?: Node; + formatted_expr?: Node; + format?: JsonFormat; +} +export interface JsonConstructorExpr { + xpr?: Node; + type?: JsonConstructorType; + args?: Node[]; + func?: Node; + coercion?: Node; + returning?: JsonReturning; + absent_on_null?: boolean; + unique?: boolean; + location?: number; +} +export interface JsonIsPredicate { + expr?: Node; + format?: JsonFormat; + item_type?: JsonValueType; + unique_keys?: boolean; + location?: number; +} +export interface NullTest { + xpr?: Node; + arg?: Node; + nulltesttype?: NullTestType; + argisrow?: boolean; + location?: number; +} +export interface BooleanTest { + xpr?: Node; + arg?: Node; + booltesttype?: BoolTestType; + location?: number; +} +export interface CoerceToDomain { + xpr?: Node; + arg?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + coercionformat?: CoercionForm; + location?: number; +} +export interface CoerceToDomainValue { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; + location?: number; +} +export interface SetToDefault { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; + location?: number; +} +export interface CurrentOfExpr { + xpr?: Node; + cvarno?: number; + cursor_name?: string; + cursor_param?: number; +} +export interface NextValueExpr { + xpr?: Node; + seqid?: number; + typeId?: number; +} +export interface InferenceElem { + xpr?: Node; + expr?: Node; + infercollid?: number; + inferopclass?: number; +} +export interface TargetEntry { + xpr?: Node; + expr?: Node; + resno?: number; + resname?: string; + ressortgroupref?: number; + resorigtbl?: number; + resorigcol?: number; + resjunk?: boolean; +} +export interface RangeTblRef { + rtindex?: number; +} +export interface JoinExpr { + jointype?: JoinType; + isNatural?: boolean; + larg?: Node; + rarg?: Node; + usingClause?: Node[]; + join_using_alias?: Alias; + quals?: Node; + alias?: Alias; + rtindex?: number; +} +export interface FromExpr { + fromlist?: Node[]; + quals?: Node; +} +export interface OnConflictExpr { + action?: OnConflictAction; + arbiterElems?: Node[]; + arbiterWhere?: Node; + constraint?: number; + onConflictSet?: Node[]; + onConflictWhere?: Node; + exclRelIndex?: number; + exclRelTlist?: Node[]; +} +export interface Query { + commandType?: CmdType; + querySource?: QuerySource; + canSetTag?: boolean; + utilityStmt?: Node; + resultRelation?: number; + hasAggs?: boolean; + hasWindowFuncs?: boolean; + hasTargetSRFs?: boolean; + hasSubLinks?: boolean; + hasDistinctOn?: boolean; + hasRecursive?: boolean; + hasModifyingCTE?: boolean; + hasForUpdate?: boolean; + hasRowSecurity?: boolean; + isReturn?: boolean; + cteList?: Node[]; + rtable?: Node[]; + rteperminfos?: Node[]; + jointree?: FromExpr; + mergeActionList?: Node[]; + mergeUseOuterJoin?: boolean; + targetList?: Node[]; + override?: OverridingKind; + onConflict?: OnConflictExpr; + returningList?: Node[]; + groupClause?: Node[]; + groupDistinct?: boolean; + groupingSets?: Node[]; + havingQual?: Node; + windowClause?: Node[]; + distinctClause?: Node[]; + sortClause?: Node[]; + limitOffset?: Node; + limitCount?: Node; + limitOption?: LimitOption; + rowMarks?: Node[]; + setOperations?: Node; + constraintDeps?: Node[]; + withCheckOptions?: Node[]; + stmt_location?: number; + stmt_len?: number; +} +export interface TypeName { + names?: Node[]; + typeOid?: number; + setof?: boolean; + pct_type?: boolean; + typmods?: Node[]; + typemod?: number; + arrayBounds?: Node[]; + location?: number; +} +export interface ColumnRef { + fields?: Node[]; + location?: number; +} +export interface ParamRef { + number?: number; + location?: number; +} +export interface A_Expr { + kind?: A_Expr_Kind; + name?: Node[]; + lexpr?: Node; + rexpr?: Node; + location?: number; +} +export interface TypeCast { + arg?: Node; + typeName?: TypeName; + location?: number; +} +export interface CollateClause { + arg?: Node; + collname?: Node[]; + location?: number; +} +export interface RoleSpec { + roletype?: RoleSpecType; + rolename?: string; + location?: number; +} +export interface FuncCall { + funcname?: Node[]; + args?: Node[]; + agg_order?: Node[]; + agg_filter?: Node; + over?: WindowDef; + agg_within_group?: boolean; + agg_star?: boolean; + agg_distinct?: boolean; + func_variadic?: boolean; + funcformat?: CoercionForm; + location?: number; +} +export interface A_Star {} +export interface A_Indices { + is_slice?: boolean; + lidx?: Node; + uidx?: Node; +} +export interface A_Indirection { + arg?: Node; + indirection?: Node[]; +} +export interface A_ArrayExpr { + elements?: Node[]; + location?: number; +} +export interface ResTarget { + name?: string; + indirection?: Node[]; + val?: Node; + location?: number; +} +export interface MultiAssignRef { + source?: Node; + colno?: number; + ncolumns?: number; +} +export interface SortBy { + node?: Node; + sortby_dir?: SortByDir; + sortby_nulls?: SortByNulls; + useOp?: Node[]; + location?: number; +} +export interface WindowDef { + name?: string; + refname?: string; + partitionClause?: Node[]; + orderClause?: Node[]; + frameOptions?: number; + startOffset?: Node; + endOffset?: Node; + location?: number; +} +export interface RangeSubselect { + lateral?: boolean; + subquery?: Node; + alias?: Alias; +} +export interface RangeFunction { + lateral?: boolean; + ordinality?: boolean; + is_rowsfrom?: boolean; + functions?: Node[]; + alias?: Alias; + coldeflist?: Node[]; +} +export interface RangeTableFunc { + lateral?: boolean; + docexpr?: Node; + rowexpr?: Node; + namespaces?: Node[]; + columns?: Node[]; + alias?: Alias; + location?: number; +} +export interface RangeTableFuncCol { + colname?: string; + typeName?: TypeName; + for_ordinality?: boolean; + is_not_null?: boolean; + colexpr?: Node; + coldefexpr?: Node; + location?: number; +} +export interface RangeTableSample { + relation?: Node; + method?: Node[]; + args?: Node[]; + repeatable?: Node; + location?: number; +} +export interface ColumnDef { + colname?: string; + typeName?: TypeName; + compression?: string; + inhcount?: number; + is_local?: boolean; + is_not_null?: boolean; + is_from_type?: boolean; + storage?: string; + storage_name?: string; + raw_default?: Node; + cooked_default?: Node; + identity?: string; + identitySequence?: RangeVar; + generated?: string; + collClause?: CollateClause; + collOid?: number; + constraints?: Node[]; + fdwoptions?: Node[]; + location?: number; +} +export interface TableLikeClause { + relation?: RangeVar; + options?: number; + relationOid?: number; +} +export interface IndexElem { + name?: string; + expr?: Node; + indexcolname?: string; + collation?: Node[]; + opclass?: Node[]; + opclassopts?: Node[]; + ordering?: SortByDir; + nulls_ordering?: SortByNulls; +} +export interface DefElem { + defnamespace?: string; + defname?: string; + arg?: Node; + defaction?: DefElemAction; + location?: number; +} +export interface LockingClause { + lockedRels?: Node[]; + strength?: LockClauseStrength; + waitPolicy?: LockWaitPolicy; +} +export interface XmlSerialize { + xmloption?: XmlOptionType; + expr?: Node; + typeName?: TypeName; + indent?: boolean; + location?: number; +} +export interface PartitionElem { + name?: string; + expr?: Node; + collation?: Node[]; + opclass?: Node[]; + location?: number; +} +export interface PartitionSpec { + strategy?: PartitionStrategy; + partParams?: Node[]; + location?: number; +} +export interface PartitionBoundSpec { + strategy?: string; + is_default?: boolean; + modulus?: number; + remainder?: number; + listdatums?: Node[]; + lowerdatums?: Node[]; + upperdatums?: Node[]; + location?: number; +} +export interface PartitionRangeDatum { + kind?: PartitionRangeDatumKind; + value?: Node; + location?: number; +} +export interface PartitionCmd { + name?: RangeVar; + bound?: PartitionBoundSpec; + concurrent?: boolean; +} +export interface RangeTblEntry { + rtekind?: RTEKind; + relid?: number; + relkind?: string; + rellockmode?: number; + tablesample?: TableSampleClause; + perminfoindex?: number; + subquery?: Query; + security_barrier?: boolean; + jointype?: JoinType; + joinmergedcols?: number; + joinaliasvars?: Node[]; + joinleftcols?: Node[]; + joinrightcols?: Node[]; + join_using_alias?: Alias; + functions?: Node[]; + funcordinality?: boolean; + tablefunc?: TableFunc; + values_lists?: Node[]; + ctename?: string; + ctelevelsup?: number; + self_reference?: boolean; + coltypes?: Node[]; + coltypmods?: Node[]; + colcollations?: Node[]; + enrname?: string; + enrtuples?: number; + alias?: Alias; + eref?: Alias; + lateral?: boolean; + inh?: boolean; + inFromCl?: boolean; + securityQuals?: Node[]; +} +export interface RTEPermissionInfo { + relid?: number; + inh?: boolean; + requiredPerms?: bigint; + checkAsUser?: number; + selectedCols?: bigint[]; + insertedCols?: bigint[]; + updatedCols?: bigint[]; +} +export interface RangeTblFunction { + funcexpr?: Node; + funccolcount?: number; + funccolnames?: Node[]; + funccoltypes?: Node[]; + funccoltypmods?: Node[]; + funccolcollations?: Node[]; + funcparams?: bigint[]; +} +export interface TableSampleClause { + tsmhandler?: number; + args?: Node[]; + repeatable?: Node; +} +export interface WithCheckOption { + kind?: WCOKind; + relname?: string; + polname?: string; + qual?: Node; + cascaded?: boolean; +} +export interface SortGroupClause { + tleSortGroupRef?: number; + eqop?: number; + sortop?: number; + nulls_first?: boolean; + hashable?: boolean; +} +export interface GroupingSet { + kind?: GroupingSetKind; + content?: Node[]; + location?: number; +} +export interface WindowClause { + name?: string; + refname?: string; + partitionClause?: Node[]; + orderClause?: Node[]; + frameOptions?: number; + startOffset?: Node; + endOffset?: Node; + runCondition?: Node[]; + startInRangeFunc?: number; + endInRangeFunc?: number; + inRangeColl?: number; + inRangeAsc?: boolean; + inRangeNullsFirst?: boolean; + winref?: number; + copiedOrder?: boolean; +} +export interface RowMarkClause { + rti?: number; + strength?: LockClauseStrength; + waitPolicy?: LockWaitPolicy; + pushedDown?: boolean; +} +export interface WithClause { + ctes?: Node[]; + recursive?: boolean; + location?: number; +} +export interface InferClause { + indexElems?: Node[]; + whereClause?: Node; + conname?: string; + location?: number; +} +export interface OnConflictClause { + action?: OnConflictAction; + infer?: InferClause; + targetList?: Node[]; + whereClause?: Node; + location?: number; +} +export interface CTESearchClause { + search_col_list?: Node[]; + search_breadth_first?: boolean; + search_seq_column?: string; + location?: number; +} +export interface CTECycleClause { + cycle_col_list?: Node[]; + cycle_mark_column?: string; + cycle_mark_value?: Node; + cycle_mark_default?: Node; + cycle_path_column?: string; + location?: number; + cycle_mark_type?: number; + cycle_mark_typmod?: number; + cycle_mark_collation?: number; + cycle_mark_neop?: number; +} +export interface CommonTableExpr { + ctename?: string; + aliascolnames?: Node[]; + ctematerialized?: CTEMaterialize; + ctequery?: Node; + search_clause?: CTESearchClause; + cycle_clause?: CTECycleClause; + location?: number; + cterecursive?: boolean; + cterefcount?: number; + ctecolnames?: Node[]; + ctecoltypes?: Node[]; + ctecoltypmods?: Node[]; + ctecolcollations?: Node[]; +} +export interface MergeWhenClause { + matched?: boolean; + commandType?: CmdType; + override?: OverridingKind; + condition?: Node; + targetList?: Node[]; + values?: Node[]; +} +export interface MergeAction { + matched?: boolean; + commandType?: CmdType; + override?: OverridingKind; + qual?: Node; + targetList?: Node[]; + updateColnos?: Node[]; +} +export interface TriggerTransition { + name?: string; + isNew?: boolean; + isTable?: boolean; +} +export interface JsonOutput { + typeName?: TypeName; + returning?: JsonReturning; +} +export interface JsonKeyValue { + key?: Node; + value?: JsonValueExpr; +} +export interface JsonObjectConstructor { + exprs?: Node[]; + output?: JsonOutput; + absent_on_null?: boolean; + unique?: boolean; + location?: number; +} +export interface JsonArrayConstructor { + exprs?: Node[]; + output?: JsonOutput; + absent_on_null?: boolean; + location?: number; +} +export interface JsonArrayQueryConstructor { + query?: Node; + output?: JsonOutput; + format?: JsonFormat; + absent_on_null?: boolean; + location?: number; +} +export interface JsonAggConstructor { + output?: JsonOutput; + agg_filter?: Node; + agg_order?: Node[]; + over?: WindowDef; + location?: number; +} +export interface JsonObjectAgg { + constructor?: JsonAggConstructor; + arg?: JsonKeyValue; + absent_on_null?: boolean; + unique?: boolean; +} +export interface JsonArrayAgg { + constructor?: JsonAggConstructor; + arg?: JsonValueExpr; + absent_on_null?: boolean; +} +export interface RawStmt { + stmt?: Node; + stmt_location?: number; + stmt_len?: number; +} +export interface InsertStmt { + relation?: RangeVar; + cols?: Node[]; + selectStmt?: Node; + onConflictClause?: OnConflictClause; + returningList?: Node[]; + withClause?: WithClause; + override?: OverridingKind; +} +export interface DeleteStmt { + relation?: RangeVar; + usingClause?: Node[]; + whereClause?: Node; + returningList?: Node[]; + withClause?: WithClause; +} +export interface UpdateStmt { + relation?: RangeVar; + targetList?: Node[]; + whereClause?: Node; + fromClause?: Node[]; + returningList?: Node[]; + withClause?: WithClause; +} +export interface MergeStmt { + relation?: RangeVar; + sourceRelation?: Node; + joinCondition?: Node; + mergeWhenClauses?: Node[]; + withClause?: WithClause; +} +export interface SelectStmt { + distinctClause?: Node[]; + intoClause?: IntoClause; + targetList?: Node[]; + fromClause?: Node[]; + whereClause?: Node; + groupClause?: Node[]; + groupDistinct?: boolean; + havingClause?: Node; + windowClause?: Node[]; + valuesLists?: Node[]; + sortClause?: Node[]; + limitOffset?: Node; + limitCount?: Node; + limitOption?: LimitOption; + lockingClause?: Node[]; + withClause?: WithClause; + op?: SetOperation; + all?: boolean; + larg?: SelectStmt; + rarg?: SelectStmt; +} +export interface SetOperationStmt { + op?: SetOperation; + all?: boolean; + larg?: Node; + rarg?: Node; + colTypes?: Node[]; + colTypmods?: Node[]; + colCollations?: Node[]; + groupClauses?: Node[]; +} +export interface ReturnStmt { + returnval?: Node; +} +export interface PLAssignStmt { + name?: string; + indirection?: Node[]; + nnames?: number; + val?: SelectStmt; + location?: number; +} +export interface CreateSchemaStmt { + schemaname?: string; + authrole?: RoleSpec; + schemaElts?: Node[]; + if_not_exists?: boolean; +} +export interface AlterTableStmt { + relation?: RangeVar; + cmds?: Node[]; + objtype?: ObjectType; + missing_ok?: boolean; +} +export interface ReplicaIdentityStmt { + identity_type?: string; + name?: string; +} +export interface AlterTableCmd { + subtype?: AlterTableType; + name?: string; + num?: number; + newowner?: RoleSpec; + def?: Node; + behavior?: DropBehavior; + missing_ok?: boolean; + recurse?: boolean; +} +export interface AlterCollationStmt { + collname?: Node[]; +} +export interface AlterDomainStmt { + subtype?: string; + typeName?: Node[]; + name?: string; + def?: Node; + behavior?: DropBehavior; + missing_ok?: boolean; +} +export interface GrantStmt { + is_grant?: boolean; + targtype?: GrantTargetType; + objtype?: ObjectType; + objects?: Node[]; + privileges?: Node[]; + grantees?: Node[]; + grant_option?: boolean; + grantor?: RoleSpec; + behavior?: DropBehavior; +} +export interface ObjectWithArgs { + objname?: Node[]; + objargs?: Node[]; + objfuncargs?: Node[]; + args_unspecified?: boolean; +} +export interface AccessPriv { + priv_name?: string; + cols?: Node[]; +} +export interface GrantRoleStmt { + granted_roles?: Node[]; + grantee_roles?: Node[]; + is_grant?: boolean; + opt?: Node[]; + grantor?: RoleSpec; + behavior?: DropBehavior; +} +export interface AlterDefaultPrivilegesStmt { + options?: Node[]; + action?: GrantStmt; +} +export interface CopyStmt { + relation?: RangeVar; + query?: Node; + attlist?: Node[]; + is_from?: boolean; + is_program?: boolean; + filename?: string; + options?: Node[]; + whereClause?: Node; +} +export interface VariableSetStmt { + kind?: VariableSetKind; + name?: string; + args?: Node[]; + is_local?: boolean; +} +export interface VariableShowStmt { + name?: string; +} +export interface CreateStmt { + relation?: RangeVar; + tableElts?: Node[]; + inhRelations?: Node[]; + partbound?: PartitionBoundSpec; + partspec?: PartitionSpec; + ofTypename?: TypeName; + constraints?: Node[]; + options?: Node[]; + oncommit?: OnCommitAction; + tablespacename?: string; + accessMethod?: string; + if_not_exists?: boolean; +} +export interface Constraint { + contype?: ConstrType; + conname?: string; + deferrable?: boolean; + initdeferred?: boolean; + location?: number; + is_no_inherit?: boolean; + raw_expr?: Node; + cooked_expr?: string; + generated_when?: string; + nulls_not_distinct?: boolean; + keys?: Node[]; + including?: Node[]; + exclusions?: Node[]; + options?: Node[]; + indexname?: string; + indexspace?: string; + reset_default_tblspc?: boolean; + access_method?: string; + where_clause?: Node; + pktable?: RangeVar; + fk_attrs?: Node[]; + pk_attrs?: Node[]; + fk_matchtype?: string; + fk_upd_action?: string; + fk_del_action?: string; + fk_del_set_cols?: Node[]; + old_conpfeqop?: Node[]; + old_pktable_oid?: number; + skip_validation?: boolean; + initially_valid?: boolean; +} +export interface CreateTableSpaceStmt { + tablespacename?: string; + owner?: RoleSpec; + location?: string; + options?: Node[]; +} +export interface DropTableSpaceStmt { + tablespacename?: string; + missing_ok?: boolean; +} +export interface AlterTableSpaceOptionsStmt { + tablespacename?: string; + options?: Node[]; + isReset?: boolean; +} +export interface AlterTableMoveAllStmt { + orig_tablespacename?: string; + objtype?: ObjectType; + roles?: Node[]; + new_tablespacename?: string; + nowait?: boolean; +} +export interface CreateExtensionStmt { + extname?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterExtensionStmt { + extname?: string; + options?: Node[]; +} +export interface AlterExtensionContentsStmt { + extname?: string; + action?: number; + objtype?: ObjectType; + object?: Node; +} +export interface CreateFdwStmt { + fdwname?: string; + func_options?: Node[]; + options?: Node[]; +} +export interface AlterFdwStmt { + fdwname?: string; + func_options?: Node[]; + options?: Node[]; +} +export interface CreateForeignServerStmt { + servername?: string; + servertype?: string; + version?: string; + fdwname?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterForeignServerStmt { + servername?: string; + version?: string; + options?: Node[]; + has_version?: boolean; +} +export interface CreateForeignTableStmt { + base?: CreateStmt; + servername?: string; + options?: Node[]; +} +export interface CreateUserMappingStmt { + user?: RoleSpec; + servername?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterUserMappingStmt { + user?: RoleSpec; + servername?: string; + options?: Node[]; +} +export interface DropUserMappingStmt { + user?: RoleSpec; + servername?: string; + missing_ok?: boolean; +} +export interface ImportForeignSchemaStmt { + server_name?: string; + remote_schema?: string; + local_schema?: string; + list_type?: ImportForeignSchemaType; + table_list?: Node[]; + options?: Node[]; +} +export interface CreatePolicyStmt { + policy_name?: string; + table?: RangeVar; + cmd_name?: string; + permissive?: boolean; + roles?: Node[]; + qual?: Node; + with_check?: Node; +} +export interface AlterPolicyStmt { + policy_name?: string; + table?: RangeVar; + roles?: Node[]; + qual?: Node; + with_check?: Node; +} +export interface CreateAmStmt { + amname?: string; + handler_name?: Node[]; + amtype?: string; +} +export interface CreateTrigStmt { + replace?: boolean; + isconstraint?: boolean; + trigname?: string; + relation?: RangeVar; + funcname?: Node[]; + args?: Node[]; + row?: boolean; + timing?: number; + events?: number; + columns?: Node[]; + whenClause?: Node; + transitionRels?: Node[]; + deferrable?: boolean; + initdeferred?: boolean; + constrrel?: RangeVar; +} +export interface CreateEventTrigStmt { + trigname?: string; + eventname?: string; + whenclause?: Node[]; + funcname?: Node[]; +} +export interface AlterEventTrigStmt { + trigname?: string; + tgenabled?: string; +} +export interface CreatePLangStmt { + replace?: boolean; + plname?: string; + plhandler?: Node[]; + plinline?: Node[]; + plvalidator?: Node[]; + pltrusted?: boolean; +} +export interface CreateRoleStmt { + stmt_type?: RoleStmtType; + role?: string; + options?: Node[]; +} +export interface AlterRoleStmt { + role?: RoleSpec; + options?: Node[]; + action?: number; +} +export interface AlterRoleSetStmt { + role?: RoleSpec; + database?: string; + setstmt?: VariableSetStmt; +} +export interface DropRoleStmt { + roles?: Node[]; + missing_ok?: boolean; +} +export interface CreateSeqStmt { + sequence?: RangeVar; + options?: Node[]; + ownerId?: number; + for_identity?: boolean; + if_not_exists?: boolean; +} +export interface AlterSeqStmt { + sequence?: RangeVar; + options?: Node[]; + for_identity?: boolean; + missing_ok?: boolean; +} +export interface DefineStmt { + kind?: ObjectType; + oldstyle?: boolean; + defnames?: Node[]; + args?: Node[]; + definition?: Node[]; + if_not_exists?: boolean; + replace?: boolean; +} +export interface CreateDomainStmt { + domainname?: Node[]; + typeName?: TypeName; + collClause?: CollateClause; + constraints?: Node[]; +} +export interface CreateOpClassStmt { + opclassname?: Node[]; + opfamilyname?: Node[]; + amname?: string; + datatype?: TypeName; + items?: Node[]; + isDefault?: boolean; +} +export interface CreateOpClassItem { + itemtype?: number; + name?: ObjectWithArgs; + number?: number; + order_family?: Node[]; + class_args?: Node[]; + storedtype?: TypeName; +} +export interface CreateOpFamilyStmt { + opfamilyname?: Node[]; + amname?: string; +} +export interface AlterOpFamilyStmt { + opfamilyname?: Node[]; + amname?: string; + isDrop?: boolean; + items?: Node[]; +} +export interface DropStmt { + objects?: Node[]; + removeType?: ObjectType; + behavior?: DropBehavior; + missing_ok?: boolean; + concurrent?: boolean; +} +export interface TruncateStmt { + relations?: Node[]; + restart_seqs?: boolean; + behavior?: DropBehavior; +} +export interface CommentStmt { + objtype?: ObjectType; + object?: Node; + comment?: string; +} +export interface SecLabelStmt { + objtype?: ObjectType; + object?: Node; + provider?: string; + label?: string; +} +export interface DeclareCursorStmt { + portalname?: string; + options?: number; + query?: Node; +} +export interface ClosePortalStmt { + portalname?: string; +} +export interface FetchStmt { + direction?: FetchDirection; + howMany?: bigint; + portalname?: string; + ismove?: boolean; +} +export interface IndexStmt { + idxname?: string; + relation?: RangeVar; + accessMethod?: string; + tableSpace?: string; + indexParams?: Node[]; + indexIncludingParams?: Node[]; + options?: Node[]; + whereClause?: Node; + excludeOpNames?: Node[]; + idxcomment?: string; + indexOid?: number; + oldNumber?: number; + oldCreateSubid?: number; + oldFirstRelfilelocatorSubid?: number; + unique?: boolean; + nulls_not_distinct?: boolean; + primary?: boolean; + isconstraint?: boolean; + deferrable?: boolean; + initdeferred?: boolean; + transformed?: boolean; + concurrent?: boolean; + if_not_exists?: boolean; + reset_default_tblspc?: boolean; +} +export interface CreateStatsStmt { + defnames?: Node[]; + stat_types?: Node[]; + exprs?: Node[]; + relations?: Node[]; + stxcomment?: string; + transformed?: boolean; + if_not_exists?: boolean; +} +export interface StatsElem { + name?: string; + expr?: Node; +} +export interface AlterStatsStmt { + defnames?: Node[]; + stxstattarget?: number; + missing_ok?: boolean; +} +export interface CreateFunctionStmt { + is_procedure?: boolean; + replace?: boolean; + funcname?: Node[]; + parameters?: Node[]; + returnType?: TypeName; + options?: Node[]; + sql_body?: Node; +} +export interface FunctionParameter { + name?: string; + argType?: TypeName; + mode?: FunctionParameterMode; + defexpr?: Node; +} +export interface AlterFunctionStmt { + objtype?: ObjectType; + func?: ObjectWithArgs; + actions?: Node[]; +} +export interface DoStmt { + args?: Node[]; +} +export interface InlineCodeBlock { + source_text?: string; + langOid?: number; + langIsTrusted?: boolean; + atomic?: boolean; +} +export interface CallStmt { + funccall?: FuncCall; + funcexpr?: FuncExpr; + outargs?: Node[]; +} +export interface CallContext { + atomic?: boolean; +} +export interface RenameStmt { + renameType?: ObjectType; + relationType?: ObjectType; + relation?: RangeVar; + object?: Node; + subname?: string; + newname?: string; + behavior?: DropBehavior; + missing_ok?: boolean; +} +export interface AlterObjectDependsStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + extname?: String; + remove?: boolean; +} +export interface AlterObjectSchemaStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + newschema?: string; + missing_ok?: boolean; +} +export interface AlterOwnerStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + newowner?: RoleSpec; +} +export interface AlterOperatorStmt { + opername?: ObjectWithArgs; + options?: Node[]; +} +export interface AlterTypeStmt { + typeName?: Node[]; + options?: Node[]; +} +export interface RuleStmt { + relation?: RangeVar; + rulename?: string; + whereClause?: Node; + event?: CmdType; + instead?: boolean; + actions?: Node[]; + replace?: boolean; +} +export interface NotifyStmt { + conditionname?: string; + payload?: string; +} +export interface ListenStmt { + conditionname?: string; +} +export interface UnlistenStmt { + conditionname?: string; +} +export interface TransactionStmt { + kind?: TransactionStmtKind; + options?: Node[]; + savepoint_name?: string; + gid?: string; + chain?: boolean; +} +export interface CompositeTypeStmt { + typevar?: RangeVar; + coldeflist?: Node[]; +} +export interface CreateEnumStmt { + typeName?: Node[]; + vals?: Node[]; +} +export interface CreateRangeStmt { + typeName?: Node[]; + params?: Node[]; +} +export interface AlterEnumStmt { + typeName?: Node[]; + oldVal?: string; + newVal?: string; + newValNeighbor?: string; + newValIsAfter?: boolean; + skipIfNewValExists?: boolean; +} +export interface ViewStmt { + view?: RangeVar; + aliases?: Node[]; + query?: Node; + replace?: boolean; + options?: Node[]; + withCheckOption?: ViewCheckOption; +} +export interface LoadStmt { + filename?: string; +} +export interface CreatedbStmt { + dbname?: string; + options?: Node[]; +} +export interface AlterDatabaseStmt { + dbname?: string; + options?: Node[]; +} +export interface AlterDatabaseRefreshCollStmt { + dbname?: string; +} +export interface AlterDatabaseSetStmt { + dbname?: string; + setstmt?: VariableSetStmt; +} +export interface DropdbStmt { + dbname?: string; + missing_ok?: boolean; + options?: Node[]; +} +export interface AlterSystemStmt { + setstmt?: VariableSetStmt; +} +export interface ClusterStmt { + relation?: RangeVar; + indexname?: string; + params?: Node[]; +} +export interface VacuumStmt { + options?: Node[]; + rels?: Node[]; + is_vacuumcmd?: boolean; +} +export interface VacuumRelation { + relation?: RangeVar; + oid?: number; + va_cols?: Node[]; +} +export interface ExplainStmt { + query?: Node; + options?: Node[]; +} +export interface CreateTableAsStmt { + query?: Node; + into?: IntoClause; + objtype?: ObjectType; + is_select_into?: boolean; + if_not_exists?: boolean; +} +export interface RefreshMatViewStmt { + concurrent?: boolean; + skipData?: boolean; + relation?: RangeVar; +} +export interface CheckPointStmt {} +export interface DiscardStmt { + target?: DiscardMode; +} +export interface LockStmt { + relations?: Node[]; + mode?: number; + nowait?: boolean; +} +export interface ConstraintsSetStmt { + constraints?: Node[]; + deferred?: boolean; +} +export interface ReindexStmt { + kind?: ReindexObjectType; + relation?: RangeVar; + name?: string; + params?: Node[]; +} +export interface CreateConversionStmt { + conversion_name?: Node[]; + for_encoding_name?: string; + to_encoding_name?: string; + func_name?: Node[]; + def?: boolean; +} +export interface CreateCastStmt { + sourcetype?: TypeName; + targettype?: TypeName; + func?: ObjectWithArgs; + context?: CoercionContext; + inout?: boolean; +} +export interface CreateTransformStmt { + replace?: boolean; + type_name?: TypeName; + lang?: string; + fromsql?: ObjectWithArgs; + tosql?: ObjectWithArgs; +} +export interface PrepareStmt { + name?: string; + argtypes?: Node[]; + query?: Node; +} +export interface ExecuteStmt { + name?: string; + params?: Node[]; +} +export interface DeallocateStmt { + name?: string; +} +export interface DropOwnedStmt { + roles?: Node[]; + behavior?: DropBehavior; +} +export interface ReassignOwnedStmt { + roles?: Node[]; + newrole?: RoleSpec; +} +export interface AlterTSDictionaryStmt { + dictname?: Node[]; + options?: Node[]; +} +export interface AlterTSConfigurationStmt { + kind?: AlterTSConfigType; + cfgname?: Node[]; + tokentype?: Node[]; + dicts?: Node[]; + override?: boolean; + replace?: boolean; + missing_ok?: boolean; +} +export interface PublicationTable { + relation?: RangeVar; + whereClause?: Node; + columns?: Node[]; +} +export interface PublicationObjSpec { + pubobjtype?: PublicationObjSpecType; + name?: string; + pubtable?: PublicationTable; + location?: number; +} +export interface CreatePublicationStmt { + pubname?: string; + options?: Node[]; + pubobjects?: Node[]; + for_all_tables?: boolean; +} +export interface AlterPublicationStmt { + pubname?: string; + options?: Node[]; + pubobjects?: Node[]; + for_all_tables?: boolean; + action?: AlterPublicationAction; +} +export interface CreateSubscriptionStmt { + subname?: string; + conninfo?: string; + publication?: Node[]; + options?: Node[]; +} +export interface AlterSubscriptionStmt { + kind?: AlterSubscriptionType; + subname?: string; + conninfo?: string; + publication?: Node[]; + options?: Node[]; +} +export interface DropSubscriptionStmt { + subname?: string; + missing_ok?: boolean; + behavior?: DropBehavior; +} +export interface ScanToken { + ScanToken: { + start?: number; + end?: number; + token?: Token; + keywordKind?: KeywordKind; + }; +} \ No newline at end of file diff --git a/__fixtures__/output/types/wrapped/wrapped.ts b/__fixtures__/output/types/wrapped/wrapped.ts index 5e2d2ac..ac242a2 100644 --- a/__fixtures__/output/types/wrapped/wrapped.ts +++ b/__fixtures__/output/types/wrapped/wrapped.ts @@ -18,678 +18,548 @@ export interface ScanResult { }; } export interface Integer { - Integer: { - ival?: number; - }; + ival?: number; } export interface Float { - Float: { - fval?: string; - }; + fval?: string; } export interface Boolean { - Boolean: { - boolval?: boolean; - }; + boolval?: boolean; } export interface String { - String: { - sval?: string; - }; + sval?: string; } export interface BitString { - BitString: { - bsval?: string; - }; + bsval?: string; } export interface List { - List: { - items?: Node[]; - }; + items?: Node[]; } export interface OidList { - OidList: { - items?: Node[]; - }; + items?: Node[]; } export interface IntList { - IntList: { - items?: Node[]; - }; + items?: Node[]; } export interface A_Const { - A_Const: { - ival?: Integer; - fval?: Float; - boolval?: Boolean; - sval?: String; - bsval?: BitString; - isnull?: boolean; - location?: number; - }; + ival?: Integer; + fval?: Float; + boolval?: Boolean; + sval?: String; + bsval?: BitString; + isnull?: boolean; + location?: number; } export interface Alias { - Alias: { - aliasname?: string; - colnames?: Node[]; - }; + aliasname?: string; + colnames?: Node[]; } export interface RangeVar { - RangeVar: { - catalogname?: string; - schemaname?: string; - relname?: string; - inh?: boolean; - relpersistence?: string; - alias?: Alias; - location?: number; - }; + catalogname?: string; + schemaname?: string; + relname?: string; + inh?: boolean; + relpersistence?: string; + alias?: Alias; + location?: number; } export interface TableFunc { - TableFunc: { - ns_uris?: Node[]; - ns_names?: Node[]; - docexpr?: Node; - rowexpr?: Node; - colnames?: Node[]; - coltypes?: Node[]; - coltypmods?: Node[]; - colcollations?: Node[]; - colexprs?: Node[]; - coldefexprs?: Node[]; - notnulls?: bigint[]; - ordinalitycol?: number; - location?: number; - }; + ns_uris?: Node[]; + ns_names?: Node[]; + docexpr?: Node; + rowexpr?: Node; + colnames?: Node[]; + coltypes?: Node[]; + coltypmods?: Node[]; + colcollations?: Node[]; + colexprs?: Node[]; + coldefexprs?: Node[]; + notnulls?: bigint[]; + ordinalitycol?: number; + location?: number; } export interface IntoClause { - IntoClause: { - rel?: RangeVar; - colNames?: Node[]; - accessMethod?: string; - options?: Node[]; - onCommit?: OnCommitAction; - tableSpaceName?: string; - viewQuery?: Node; - skipData?: boolean; - }; + rel?: RangeVar; + colNames?: Node[]; + accessMethod?: string; + options?: Node[]; + onCommit?: OnCommitAction; + tableSpaceName?: string; + viewQuery?: Node; + skipData?: boolean; } export interface Var { - Var: { - xpr?: Node; - varno?: number; - varattno?: number; - vartype?: number; - vartypmod?: number; - varcollid?: number; - varnullingrels?: bigint[]; - varlevelsup?: number; - location?: number; - }; + xpr?: Node; + varno?: number; + varattno?: number; + vartype?: number; + vartypmod?: number; + varcollid?: number; + varnullingrels?: bigint[]; + varlevelsup?: number; + location?: number; } export interface Param { - Param: { - xpr?: Node; - paramkind?: ParamKind; - paramid?: number; - paramtype?: number; - paramtypmod?: number; - paramcollid?: number; - location?: number; - }; + xpr?: Node; + paramkind?: ParamKind; + paramid?: number; + paramtype?: number; + paramtypmod?: number; + paramcollid?: number; + location?: number; } export interface Aggref { - Aggref: { - xpr?: Node; - aggfnoid?: number; - aggtype?: number; - aggcollid?: number; - inputcollid?: number; - aggargtypes?: Node[]; - aggdirectargs?: Node[]; - args?: Node[]; - aggorder?: Node[]; - aggdistinct?: Node[]; - aggfilter?: Node; - aggstar?: boolean; - aggvariadic?: boolean; - aggkind?: string; - agglevelsup?: number; - aggsplit?: AggSplit; - aggno?: number; - aggtransno?: number; - location?: number; - }; + xpr?: Node; + aggfnoid?: number; + aggtype?: number; + aggcollid?: number; + inputcollid?: number; + aggargtypes?: Node[]; + aggdirectargs?: Node[]; + args?: Node[]; + aggorder?: Node[]; + aggdistinct?: Node[]; + aggfilter?: Node; + aggstar?: boolean; + aggvariadic?: boolean; + aggkind?: string; + agglevelsup?: number; + aggsplit?: AggSplit; + aggno?: number; + aggtransno?: number; + location?: number; } export interface GroupingFunc { - GroupingFunc: { - xpr?: Node; - args?: Node[]; - refs?: Node[]; - agglevelsup?: number; - location?: number; - }; + xpr?: Node; + args?: Node[]; + refs?: Node[]; + agglevelsup?: number; + location?: number; } export interface WindowFunc { - WindowFunc: { - xpr?: Node; - winfnoid?: number; - wintype?: number; - wincollid?: number; - inputcollid?: number; - args?: Node[]; - aggfilter?: Node; - winref?: number; - winstar?: boolean; - winagg?: boolean; - location?: number; - }; + xpr?: Node; + winfnoid?: number; + wintype?: number; + wincollid?: number; + inputcollid?: number; + args?: Node[]; + aggfilter?: Node; + winref?: number; + winstar?: boolean; + winagg?: boolean; + location?: number; } export interface SubscriptingRef { - SubscriptingRef: { - xpr?: Node; - refcontainertype?: number; - refelemtype?: number; - refrestype?: number; - reftypmod?: number; - refcollid?: number; - refupperindexpr?: Node[]; - reflowerindexpr?: Node[]; - refexpr?: Node; - refassgnexpr?: Node; - }; + xpr?: Node; + refcontainertype?: number; + refelemtype?: number; + refrestype?: number; + reftypmod?: number; + refcollid?: number; + refupperindexpr?: Node[]; + reflowerindexpr?: Node[]; + refexpr?: Node; + refassgnexpr?: Node; } export interface FuncExpr { - FuncExpr: { - xpr?: Node; - funcid?: number; - funcresulttype?: number; - funcretset?: boolean; - funcvariadic?: boolean; - funcformat?: CoercionForm; - funccollid?: number; - inputcollid?: number; - args?: Node[]; - location?: number; - }; + xpr?: Node; + funcid?: number; + funcresulttype?: number; + funcretset?: boolean; + funcvariadic?: boolean; + funcformat?: CoercionForm; + funccollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; } export interface NamedArgExpr { - NamedArgExpr: { - xpr?: Node; - arg?: Node; - name?: string; - argnumber?: number; - location?: number; - }; + xpr?: Node; + arg?: Node; + name?: string; + argnumber?: number; + location?: number; } export interface OpExpr { - OpExpr: { - xpr?: Node; - opno?: number; - opresulttype?: number; - opretset?: boolean; - opcollid?: number; - inputcollid?: number; - args?: Node[]; - location?: number; - }; + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; } export interface DistinctExpr { - DistinctExpr: { - xpr?: Node; - opno?: number; - opresulttype?: number; - opretset?: boolean; - opcollid?: number; - inputcollid?: number; - args?: Node[]; - location?: number; - }; + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; } export interface NullIfExpr { - NullIfExpr: { - xpr?: Node; - opno?: number; - opresulttype?: number; - opretset?: boolean; - opcollid?: number; - inputcollid?: number; - args?: Node[]; - location?: number; - }; + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; } export interface ScalarArrayOpExpr { - ScalarArrayOpExpr: { - xpr?: Node; - opno?: number; - useOr?: boolean; - inputcollid?: number; - args?: Node[]; - location?: number; - }; + xpr?: Node; + opno?: number; + useOr?: boolean; + inputcollid?: number; + args?: Node[]; + location?: number; } export interface BoolExpr { - BoolExpr: { - xpr?: Node; - boolop?: BoolExprType; - args?: Node[]; - location?: number; - }; + xpr?: Node; + boolop?: BoolExprType; + args?: Node[]; + location?: number; } export interface SubLink { - SubLink: { - xpr?: Node; - subLinkType?: SubLinkType; - subLinkId?: number; - testexpr?: Node; - operName?: Node[]; - subselect?: Node; - location?: number; - }; + xpr?: Node; + subLinkType?: SubLinkType; + subLinkId?: number; + testexpr?: Node; + operName?: Node[]; + subselect?: Node; + location?: number; } export interface SubPlan { - SubPlan: { - xpr?: Node; - subLinkType?: SubLinkType; - testexpr?: Node; - paramIds?: Node[]; - plan_id?: number; - plan_name?: string; - firstColType?: number; - firstColTypmod?: number; - firstColCollation?: number; - useHashTable?: boolean; - unknownEqFalse?: boolean; - parallel_safe?: boolean; - setParam?: Node[]; - parParam?: Node[]; - args?: Node[]; - startup_cost?: number; - per_call_cost?: number; - }; + xpr?: Node; + subLinkType?: SubLinkType; + testexpr?: Node; + paramIds?: Node[]; + plan_id?: number; + plan_name?: string; + firstColType?: number; + firstColTypmod?: number; + firstColCollation?: number; + useHashTable?: boolean; + unknownEqFalse?: boolean; + parallel_safe?: boolean; + setParam?: Node[]; + parParam?: Node[]; + args?: Node[]; + startup_cost?: number; + per_call_cost?: number; } export interface AlternativeSubPlan { - AlternativeSubPlan: { - xpr?: Node; - subplans?: Node[]; - }; + xpr?: Node; + subplans?: Node[]; } export interface FieldSelect { - FieldSelect: { - xpr?: Node; - arg?: Node; - fieldnum?: number; - resulttype?: number; - resulttypmod?: number; - resultcollid?: number; - }; + xpr?: Node; + arg?: Node; + fieldnum?: number; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; } export interface FieldStore { - FieldStore: { - xpr?: Node; - arg?: Node; - newvals?: Node[]; - fieldnums?: Node[]; - resulttype?: number; - }; + xpr?: Node; + arg?: Node; + newvals?: Node[]; + fieldnums?: Node[]; + resulttype?: number; } export interface RelabelType { - RelabelType: { - xpr?: Node; - arg?: Node; - resulttype?: number; - resulttypmod?: number; - resultcollid?: number; - relabelformat?: CoercionForm; - location?: number; - }; + xpr?: Node; + arg?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + relabelformat?: CoercionForm; + location?: number; } export interface CoerceViaIO { - CoerceViaIO: { - xpr?: Node; - arg?: Node; - resulttype?: number; - resultcollid?: number; - coerceformat?: CoercionForm; - location?: number; - }; + xpr?: Node; + arg?: Node; + resulttype?: number; + resultcollid?: number; + coerceformat?: CoercionForm; + location?: number; } export interface ArrayCoerceExpr { - ArrayCoerceExpr: { - xpr?: Node; - arg?: Node; - elemexpr?: Node; - resulttype?: number; - resulttypmod?: number; - resultcollid?: number; - coerceformat?: CoercionForm; - location?: number; - }; + xpr?: Node; + arg?: Node; + elemexpr?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + coerceformat?: CoercionForm; + location?: number; } export interface ConvertRowtypeExpr { - ConvertRowtypeExpr: { - xpr?: Node; - arg?: Node; - resulttype?: number; - convertformat?: CoercionForm; - location?: number; - }; + xpr?: Node; + arg?: Node; + resulttype?: number; + convertformat?: CoercionForm; + location?: number; } export interface CollateExpr { - CollateExpr: { - xpr?: Node; - arg?: Node; - collOid?: number; - location?: number; - }; + xpr?: Node; + arg?: Node; + collOid?: number; + location?: number; } export interface CaseExpr { - CaseExpr: { - xpr?: Node; - casetype?: number; - casecollid?: number; - arg?: Node; - args?: Node[]; - defresult?: Node; - location?: number; - }; + xpr?: Node; + casetype?: number; + casecollid?: number; + arg?: Node; + args?: Node[]; + defresult?: Node; + location?: number; } export interface CaseWhen { - CaseWhen: { - xpr?: Node; - expr?: Node; - result?: Node; - location?: number; - }; + xpr?: Node; + expr?: Node; + result?: Node; + location?: number; } export interface CaseTestExpr { - CaseTestExpr: { - xpr?: Node; - typeId?: number; - typeMod?: number; - collation?: number; - }; + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; } export interface ArrayExpr { - ArrayExpr: { - xpr?: Node; - array_typeid?: number; - array_collid?: number; - element_typeid?: number; - elements?: Node[]; - multidims?: boolean; - location?: number; - }; + xpr?: Node; + array_typeid?: number; + array_collid?: number; + element_typeid?: number; + elements?: Node[]; + multidims?: boolean; + location?: number; } export interface RowExpr { - RowExpr: { - xpr?: Node; - args?: Node[]; - row_typeid?: number; - row_format?: CoercionForm; - colnames?: Node[]; - location?: number; - }; + xpr?: Node; + args?: Node[]; + row_typeid?: number; + row_format?: CoercionForm; + colnames?: Node[]; + location?: number; } export interface RowCompareExpr { - RowCompareExpr: { - xpr?: Node; - rctype?: RowCompareType; - opnos?: Node[]; - opfamilies?: Node[]; - inputcollids?: Node[]; - largs?: Node[]; - rargs?: Node[]; - }; + xpr?: Node; + rctype?: RowCompareType; + opnos?: Node[]; + opfamilies?: Node[]; + inputcollids?: Node[]; + largs?: Node[]; + rargs?: Node[]; } export interface CoalesceExpr { - CoalesceExpr: { - xpr?: Node; - coalescetype?: number; - coalescecollid?: number; - args?: Node[]; - location?: number; - }; + xpr?: Node; + coalescetype?: number; + coalescecollid?: number; + args?: Node[]; + location?: number; } export interface MinMaxExpr { - MinMaxExpr: { - xpr?: Node; - minmaxtype?: number; - minmaxcollid?: number; - inputcollid?: number; - op?: MinMaxOp; - args?: Node[]; - location?: number; - }; + xpr?: Node; + minmaxtype?: number; + minmaxcollid?: number; + inputcollid?: number; + op?: MinMaxOp; + args?: Node[]; + location?: number; } export interface SQLValueFunction { - SQLValueFunction: { - xpr?: Node; - op?: SQLValueFunctionOp; - type?: number; - typmod?: number; - location?: number; - }; + xpr?: Node; + op?: SQLValueFunctionOp; + type?: number; + typmod?: number; + location?: number; } export interface XmlExpr { - XmlExpr: { - xpr?: Node; - op?: XmlExprOp; - name?: string; - named_args?: Node[]; - arg_names?: Node[]; - args?: Node[]; - xmloption?: XmlOptionType; - indent?: boolean; - type?: number; - typmod?: number; - location?: number; - }; + xpr?: Node; + op?: XmlExprOp; + name?: string; + named_args?: Node[]; + arg_names?: Node[]; + args?: Node[]; + xmloption?: XmlOptionType; + indent?: boolean; + type?: number; + typmod?: number; + location?: number; } export interface JsonFormat { - JsonFormat: { - format_type?: JsonFormatType; - encoding?: JsonEncoding; - location?: number; - }; + format_type?: JsonFormatType; + encoding?: JsonEncoding; + location?: number; } export interface JsonReturning { - JsonReturning: { - format?: JsonFormat; - typid?: number; - typmod?: number; - }; + format?: JsonFormat; + typid?: number; + typmod?: number; } export interface JsonValueExpr { - JsonValueExpr: { - raw_expr?: Node; - formatted_expr?: Node; - format?: JsonFormat; - }; + raw_expr?: Node; + formatted_expr?: Node; + format?: JsonFormat; } export interface JsonConstructorExpr { - JsonConstructorExpr: { - xpr?: Node; - type?: JsonConstructorType; - args?: Node[]; - func?: Node; - coercion?: Node; - returning?: JsonReturning; - absent_on_null?: boolean; - unique?: boolean; - location?: number; - }; + xpr?: Node; + type?: JsonConstructorType; + args?: Node[]; + func?: Node; + coercion?: Node; + returning?: JsonReturning; + absent_on_null?: boolean; + unique?: boolean; + location?: number; } export interface JsonIsPredicate { - JsonIsPredicate: { - expr?: Node; - format?: JsonFormat; - item_type?: JsonValueType; - unique_keys?: boolean; - location?: number; - }; + expr?: Node; + format?: JsonFormat; + item_type?: JsonValueType; + unique_keys?: boolean; + location?: number; } export interface NullTest { - NullTest: { - xpr?: Node; - arg?: Node; - nulltesttype?: NullTestType; - argisrow?: boolean; - location?: number; - }; + xpr?: Node; + arg?: Node; + nulltesttype?: NullTestType; + argisrow?: boolean; + location?: number; } export interface BooleanTest { - BooleanTest: { - xpr?: Node; - arg?: Node; - booltesttype?: BoolTestType; - location?: number; - }; + xpr?: Node; + arg?: Node; + booltesttype?: BoolTestType; + location?: number; } export interface CoerceToDomain { - CoerceToDomain: { - xpr?: Node; - arg?: Node; - resulttype?: number; - resulttypmod?: number; - resultcollid?: number; - coercionformat?: CoercionForm; - location?: number; - }; + xpr?: Node; + arg?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + coercionformat?: CoercionForm; + location?: number; } export interface CoerceToDomainValue { - CoerceToDomainValue: { - xpr?: Node; - typeId?: number; - typeMod?: number; - collation?: number; - location?: number; - }; + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; + location?: number; } export interface SetToDefault { - SetToDefault: { - xpr?: Node; - typeId?: number; - typeMod?: number; - collation?: number; - location?: number; - }; + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; + location?: number; } export interface CurrentOfExpr { - CurrentOfExpr: { - xpr?: Node; - cvarno?: number; - cursor_name?: string; - cursor_param?: number; - }; + xpr?: Node; + cvarno?: number; + cursor_name?: string; + cursor_param?: number; } export interface NextValueExpr { - NextValueExpr: { - xpr?: Node; - seqid?: number; - typeId?: number; - }; + xpr?: Node; + seqid?: number; + typeId?: number; } export interface InferenceElem { - InferenceElem: { - xpr?: Node; - expr?: Node; - infercollid?: number; - inferopclass?: number; - }; + xpr?: Node; + expr?: Node; + infercollid?: number; + inferopclass?: number; } export interface TargetEntry { - TargetEntry: { - xpr?: Node; - expr?: Node; - resno?: number; - resname?: string; - ressortgroupref?: number; - resorigtbl?: number; - resorigcol?: number; - resjunk?: boolean; - }; + xpr?: Node; + expr?: Node; + resno?: number; + resname?: string; + ressortgroupref?: number; + resorigtbl?: number; + resorigcol?: number; + resjunk?: boolean; } export interface RangeTblRef { - RangeTblRef: { - rtindex?: number; - }; + rtindex?: number; } export interface JoinExpr { - JoinExpr: { - jointype?: JoinType; - isNatural?: boolean; - larg?: Node; - rarg?: Node; - usingClause?: Node[]; - join_using_alias?: Alias; - quals?: Node; - alias?: Alias; - rtindex?: number; - }; + jointype?: JoinType; + isNatural?: boolean; + larg?: Node; + rarg?: Node; + usingClause?: Node[]; + join_using_alias?: Alias; + quals?: Node; + alias?: Alias; + rtindex?: number; } export interface FromExpr { - FromExpr: { - fromlist?: Node[]; - quals?: Node; - }; + fromlist?: Node[]; + quals?: Node; } export interface OnConflictExpr { - OnConflictExpr: { - action?: OnConflictAction; - arbiterElems?: Node[]; - arbiterWhere?: Node; - constraint?: number; - onConflictSet?: Node[]; - onConflictWhere?: Node; - exclRelIndex?: number; - exclRelTlist?: Node[]; - }; + action?: OnConflictAction; + arbiterElems?: Node[]; + arbiterWhere?: Node; + constraint?: number; + onConflictSet?: Node[]; + onConflictWhere?: Node; + exclRelIndex?: number; + exclRelTlist?: Node[]; } export interface Query { - Query: { - commandType?: CmdType; - querySource?: QuerySource; - canSetTag?: boolean; - utilityStmt?: Node; - resultRelation?: number; - hasAggs?: boolean; - hasWindowFuncs?: boolean; - hasTargetSRFs?: boolean; - hasSubLinks?: boolean; - hasDistinctOn?: boolean; - hasRecursive?: boolean; - hasModifyingCTE?: boolean; - hasForUpdate?: boolean; - hasRowSecurity?: boolean; - isReturn?: boolean; - cteList?: Node[]; - rtable?: Node[]; - rteperminfos?: Node[]; - jointree?: FromExpr; - mergeActionList?: Node[]; - mergeUseOuterJoin?: boolean; - targetList?: Node[]; - override?: OverridingKind; - onConflict?: OnConflictExpr; - returningList?: Node[]; - groupClause?: Node[]; - groupDistinct?: boolean; - groupingSets?: Node[]; - havingQual?: Node; - windowClause?: Node[]; - distinctClause?: Node[]; - sortClause?: Node[]; - limitOffset?: Node; - limitCount?: Node; - limitOption?: LimitOption; - rowMarks?: Node[]; - setOperations?: Node; - constraintDeps?: Node[]; - withCheckOptions?: Node[]; - stmt_location?: number; - stmt_len?: number; - }; + commandType?: CmdType; + querySource?: QuerySource; + canSetTag?: boolean; + utilityStmt?: Node; + resultRelation?: number; + hasAggs?: boolean; + hasWindowFuncs?: boolean; + hasTargetSRFs?: boolean; + hasSubLinks?: boolean; + hasDistinctOn?: boolean; + hasRecursive?: boolean; + hasModifyingCTE?: boolean; + hasForUpdate?: boolean; + hasRowSecurity?: boolean; + isReturn?: boolean; + cteList?: Node[]; + rtable?: Node[]; + rteperminfos?: Node[]; + jointree?: FromExpr; + mergeActionList?: Node[]; + mergeUseOuterJoin?: boolean; + targetList?: Node[]; + override?: OverridingKind; + onConflict?: OnConflictExpr; + returningList?: Node[]; + groupClause?: Node[]; + groupDistinct?: boolean; + groupingSets?: Node[]; + havingQual?: Node; + windowClause?: Node[]; + distinctClause?: Node[]; + sortClause?: Node[]; + limitOffset?: Node; + limitCount?: Node; + limitOption?: LimitOption; + rowMarks?: Node[]; + setOperations?: Node; + constraintDeps?: Node[]; + withCheckOptions?: Node[]; + stmt_location?: number; + stmt_len?: number; } export interface TypeName { names?: Node[]; @@ -702,1617 +572,1245 @@ export interface TypeName { location?: number; } export interface ColumnRef { - ColumnRef: { - fields?: Node[]; - location?: number; - }; + fields?: Node[]; + location?: number; } export interface ParamRef { - ParamRef: { - number?: number; - location?: number; - }; + number?: number; + location?: number; } export interface A_Expr { - A_Expr: { - kind?: A_Expr_Kind; - name?: Node[]; - lexpr?: Node; - rexpr?: Node; - location?: number; - }; + kind?: A_Expr_Kind; + name?: Node[]; + lexpr?: Node; + rexpr?: Node; + location?: number; } export interface TypeCast { - TypeCast: { - arg?: Node; - typeName?: TypeName; - location?: number; - }; + arg?: Node; + typeName?: TypeName; + location?: number; } export interface CollateClause { - CollateClause: { - arg?: Node; - collname?: Node[]; - location?: number; - }; + arg?: Node; + collname?: Node[]; + location?: number; } export interface RoleSpec { - RoleSpec: { - roletype?: RoleSpecType; - rolename?: string; - location?: number; - }; + roletype?: RoleSpecType; + rolename?: string; + location?: number; } export interface FuncCall { - FuncCall: { - funcname?: Node[]; - args?: Node[]; - agg_order?: Node[]; - agg_filter?: Node; - over?: WindowDef; - agg_within_group?: boolean; - agg_star?: boolean; - agg_distinct?: boolean; - func_variadic?: boolean; - funcformat?: CoercionForm; - location?: number; - }; -} -export interface A_Star { - A_Star: {}; + funcname?: Node[]; + args?: Node[]; + agg_order?: Node[]; + agg_filter?: Node; + over?: WindowDef; + agg_within_group?: boolean; + agg_star?: boolean; + agg_distinct?: boolean; + func_variadic?: boolean; + funcformat?: CoercionForm; + location?: number; } +export interface A_Star {} export interface A_Indices { - A_Indices: { - is_slice?: boolean; - lidx?: Node; - uidx?: Node; - }; + is_slice?: boolean; + lidx?: Node; + uidx?: Node; } export interface A_Indirection { - A_Indirection: { - arg?: Node; - indirection?: Node[]; - }; + arg?: Node; + indirection?: Node[]; } export interface A_ArrayExpr { - A_ArrayExpr: { - elements?: Node[]; - location?: number; - }; + elements?: Node[]; + location?: number; } export interface ResTarget { - ResTarget: { - name?: string; - indirection?: Node[]; - val?: Node; - location?: number; - }; + name?: string; + indirection?: Node[]; + val?: Node; + location?: number; } export interface MultiAssignRef { - MultiAssignRef: { - source?: Node; - colno?: number; - ncolumns?: number; - }; + source?: Node; + colno?: number; + ncolumns?: number; } export interface SortBy { - SortBy: { - node?: Node; - sortby_dir?: SortByDir; - sortby_nulls?: SortByNulls; - useOp?: Node[]; - location?: number; - }; + node?: Node; + sortby_dir?: SortByDir; + sortby_nulls?: SortByNulls; + useOp?: Node[]; + location?: number; } export interface WindowDef { - WindowDef: { - name?: string; - refname?: string; - partitionClause?: Node[]; - orderClause?: Node[]; - frameOptions?: number; - startOffset?: Node; - endOffset?: Node; - location?: number; - }; + name?: string; + refname?: string; + partitionClause?: Node[]; + orderClause?: Node[]; + frameOptions?: number; + startOffset?: Node; + endOffset?: Node; + location?: number; } export interface RangeSubselect { - RangeSubselect: { - lateral?: boolean; - subquery?: Node; - alias?: Alias; - }; + lateral?: boolean; + subquery?: Node; + alias?: Alias; } export interface RangeFunction { - RangeFunction: { - lateral?: boolean; - ordinality?: boolean; - is_rowsfrom?: boolean; - functions?: Node[]; - alias?: Alias; - coldeflist?: Node[]; - }; + lateral?: boolean; + ordinality?: boolean; + is_rowsfrom?: boolean; + functions?: Node[]; + alias?: Alias; + coldeflist?: Node[]; } export interface RangeTableFunc { - RangeTableFunc: { - lateral?: boolean; - docexpr?: Node; - rowexpr?: Node; - namespaces?: Node[]; - columns?: Node[]; - alias?: Alias; - location?: number; - }; + lateral?: boolean; + docexpr?: Node; + rowexpr?: Node; + namespaces?: Node[]; + columns?: Node[]; + alias?: Alias; + location?: number; } export interface RangeTableFuncCol { - RangeTableFuncCol: { - colname?: string; - typeName?: TypeName; - for_ordinality?: boolean; - is_not_null?: boolean; - colexpr?: Node; - coldefexpr?: Node; - location?: number; - }; + colname?: string; + typeName?: TypeName; + for_ordinality?: boolean; + is_not_null?: boolean; + colexpr?: Node; + coldefexpr?: Node; + location?: number; } export interface RangeTableSample { - RangeTableSample: { - relation?: Node; - method?: Node[]; - args?: Node[]; - repeatable?: Node; - location?: number; - }; + relation?: Node; + method?: Node[]; + args?: Node[]; + repeatable?: Node; + location?: number; } export interface ColumnDef { - ColumnDef: { - colname?: string; - typeName?: TypeName; - compression?: string; - inhcount?: number; - is_local?: boolean; - is_not_null?: boolean; - is_from_type?: boolean; - storage?: string; - storage_name?: string; - raw_default?: Node; - cooked_default?: Node; - identity?: string; - identitySequence?: RangeVar; - generated?: string; - collClause?: CollateClause; - collOid?: number; - constraints?: Node[]; - fdwoptions?: Node[]; - location?: number; - }; + colname?: string; + typeName?: TypeName; + compression?: string; + inhcount?: number; + is_local?: boolean; + is_not_null?: boolean; + is_from_type?: boolean; + storage?: string; + storage_name?: string; + raw_default?: Node; + cooked_default?: Node; + identity?: string; + identitySequence?: RangeVar; + generated?: string; + collClause?: CollateClause; + collOid?: number; + constraints?: Node[]; + fdwoptions?: Node[]; + location?: number; } export interface TableLikeClause { - TableLikeClause: { - relation?: RangeVar; - options?: number; - relationOid?: number; - }; + relation?: RangeVar; + options?: number; + relationOid?: number; } export interface IndexElem { - IndexElem: { - name?: string; - expr?: Node; - indexcolname?: string; - collation?: Node[]; - opclass?: Node[]; - opclassopts?: Node[]; - ordering?: SortByDir; - nulls_ordering?: SortByNulls; - }; + name?: string; + expr?: Node; + indexcolname?: string; + collation?: Node[]; + opclass?: Node[]; + opclassopts?: Node[]; + ordering?: SortByDir; + nulls_ordering?: SortByNulls; } export interface DefElem { - DefElem: { - defnamespace?: string; - defname?: string; - arg?: Node; - defaction?: DefElemAction; - location?: number; - }; + defnamespace?: string; + defname?: string; + arg?: Node; + defaction?: DefElemAction; + location?: number; } export interface LockingClause { - LockingClause: { - lockedRels?: Node[]; - strength?: LockClauseStrength; - waitPolicy?: LockWaitPolicy; - }; + lockedRels?: Node[]; + strength?: LockClauseStrength; + waitPolicy?: LockWaitPolicy; } export interface XmlSerialize { - XmlSerialize: { - xmloption?: XmlOptionType; - expr?: Node; - typeName?: TypeName; - indent?: boolean; - location?: number; - }; + xmloption?: XmlOptionType; + expr?: Node; + typeName?: TypeName; + indent?: boolean; + location?: number; } export interface PartitionElem { - PartitionElem: { - name?: string; - expr?: Node; - collation?: Node[]; - opclass?: Node[]; - location?: number; - }; + name?: string; + expr?: Node; + collation?: Node[]; + opclass?: Node[]; + location?: number; } export interface PartitionSpec { - PartitionSpec: { - strategy?: PartitionStrategy; - partParams?: Node[]; - location?: number; - }; + strategy?: PartitionStrategy; + partParams?: Node[]; + location?: number; } export interface PartitionBoundSpec { - PartitionBoundSpec: { - strategy?: string; - is_default?: boolean; - modulus?: number; - remainder?: number; - listdatums?: Node[]; - lowerdatums?: Node[]; - upperdatums?: Node[]; - location?: number; - }; + strategy?: string; + is_default?: boolean; + modulus?: number; + remainder?: number; + listdatums?: Node[]; + lowerdatums?: Node[]; + upperdatums?: Node[]; + location?: number; } export interface PartitionRangeDatum { - PartitionRangeDatum: { - kind?: PartitionRangeDatumKind; - value?: Node; - location?: number; - }; + kind?: PartitionRangeDatumKind; + value?: Node; + location?: number; } export interface PartitionCmd { - PartitionCmd: { - name?: RangeVar; - bound?: PartitionBoundSpec; - concurrent?: boolean; - }; + name?: RangeVar; + bound?: PartitionBoundSpec; + concurrent?: boolean; } export interface RangeTblEntry { - RangeTblEntry: { - rtekind?: RTEKind; - relid?: number; - relkind?: string; - rellockmode?: number; - tablesample?: TableSampleClause; - perminfoindex?: number; - subquery?: Query; - security_barrier?: boolean; - jointype?: JoinType; - joinmergedcols?: number; - joinaliasvars?: Node[]; - joinleftcols?: Node[]; - joinrightcols?: Node[]; - join_using_alias?: Alias; - functions?: Node[]; - funcordinality?: boolean; - tablefunc?: TableFunc; - values_lists?: Node[]; - ctename?: string; - ctelevelsup?: number; - self_reference?: boolean; - coltypes?: Node[]; - coltypmods?: Node[]; - colcollations?: Node[]; - enrname?: string; - enrtuples?: number; - alias?: Alias; - eref?: Alias; - lateral?: boolean; - inh?: boolean; - inFromCl?: boolean; - securityQuals?: Node[]; - }; + rtekind?: RTEKind; + relid?: number; + relkind?: string; + rellockmode?: number; + tablesample?: TableSampleClause; + perminfoindex?: number; + subquery?: Query; + security_barrier?: boolean; + jointype?: JoinType; + joinmergedcols?: number; + joinaliasvars?: Node[]; + joinleftcols?: Node[]; + joinrightcols?: Node[]; + join_using_alias?: Alias; + functions?: Node[]; + funcordinality?: boolean; + tablefunc?: TableFunc; + values_lists?: Node[]; + ctename?: string; + ctelevelsup?: number; + self_reference?: boolean; + coltypes?: Node[]; + coltypmods?: Node[]; + colcollations?: Node[]; + enrname?: string; + enrtuples?: number; + alias?: Alias; + eref?: Alias; + lateral?: boolean; + inh?: boolean; + inFromCl?: boolean; + securityQuals?: Node[]; } export interface RTEPermissionInfo { - RTEPermissionInfo: { - relid?: number; - inh?: boolean; - requiredPerms?: bigint; - checkAsUser?: number; - selectedCols?: bigint[]; - insertedCols?: bigint[]; - updatedCols?: bigint[]; - }; + relid?: number; + inh?: boolean; + requiredPerms?: bigint; + checkAsUser?: number; + selectedCols?: bigint[]; + insertedCols?: bigint[]; + updatedCols?: bigint[]; } export interface RangeTblFunction { - RangeTblFunction: { - funcexpr?: Node; - funccolcount?: number; - funccolnames?: Node[]; - funccoltypes?: Node[]; - funccoltypmods?: Node[]; - funccolcollations?: Node[]; - funcparams?: bigint[]; - }; + funcexpr?: Node; + funccolcount?: number; + funccolnames?: Node[]; + funccoltypes?: Node[]; + funccoltypmods?: Node[]; + funccolcollations?: Node[]; + funcparams?: bigint[]; } export interface TableSampleClause { - TableSampleClause: { - tsmhandler?: number; - args?: Node[]; - repeatable?: Node; - }; + tsmhandler?: number; + args?: Node[]; + repeatable?: Node; } export interface WithCheckOption { - WithCheckOption: { - kind?: WCOKind; - relname?: string; - polname?: string; - qual?: Node; - cascaded?: boolean; - }; + kind?: WCOKind; + relname?: string; + polname?: string; + qual?: Node; + cascaded?: boolean; } export interface SortGroupClause { - SortGroupClause: { - tleSortGroupRef?: number; - eqop?: number; - sortop?: number; - nulls_first?: boolean; - hashable?: boolean; - }; + tleSortGroupRef?: number; + eqop?: number; + sortop?: number; + nulls_first?: boolean; + hashable?: boolean; } export interface GroupingSet { - GroupingSet: { - kind?: GroupingSetKind; - content?: Node[]; - location?: number; - }; + kind?: GroupingSetKind; + content?: Node[]; + location?: number; } export interface WindowClause { - WindowClause: { - name?: string; - refname?: string; - partitionClause?: Node[]; - orderClause?: Node[]; - frameOptions?: number; - startOffset?: Node; - endOffset?: Node; - runCondition?: Node[]; - startInRangeFunc?: number; - endInRangeFunc?: number; - inRangeColl?: number; - inRangeAsc?: boolean; - inRangeNullsFirst?: boolean; - winref?: number; - copiedOrder?: boolean; - }; + name?: string; + refname?: string; + partitionClause?: Node[]; + orderClause?: Node[]; + frameOptions?: number; + startOffset?: Node; + endOffset?: Node; + runCondition?: Node[]; + startInRangeFunc?: number; + endInRangeFunc?: number; + inRangeColl?: number; + inRangeAsc?: boolean; + inRangeNullsFirst?: boolean; + winref?: number; + copiedOrder?: boolean; } export interface RowMarkClause { - RowMarkClause: { - rti?: number; - strength?: LockClauseStrength; - waitPolicy?: LockWaitPolicy; - pushedDown?: boolean; - }; + rti?: number; + strength?: LockClauseStrength; + waitPolicy?: LockWaitPolicy; + pushedDown?: boolean; } export interface WithClause { - WithClause: { - ctes?: Node[]; - recursive?: boolean; - location?: number; - }; + ctes?: Node[]; + recursive?: boolean; + location?: number; } export interface InferClause { - InferClause: { - indexElems?: Node[]; - whereClause?: Node; - conname?: string; - location?: number; - }; + indexElems?: Node[]; + whereClause?: Node; + conname?: string; + location?: number; } export interface OnConflictClause { - OnConflictClause: { - action?: OnConflictAction; - infer?: InferClause; - targetList?: Node[]; - whereClause?: Node; - location?: number; - }; + action?: OnConflictAction; + infer?: InferClause; + targetList?: Node[]; + whereClause?: Node; + location?: number; } export interface CTESearchClause { - CTESearchClause: { - search_col_list?: Node[]; - search_breadth_first?: boolean; - search_seq_column?: string; - location?: number; - }; + search_col_list?: Node[]; + search_breadth_first?: boolean; + search_seq_column?: string; + location?: number; } export interface CTECycleClause { - CTECycleClause: { - cycle_col_list?: Node[]; - cycle_mark_column?: string; - cycle_mark_value?: Node; - cycle_mark_default?: Node; - cycle_path_column?: string; - location?: number; - cycle_mark_type?: number; - cycle_mark_typmod?: number; - cycle_mark_collation?: number; - cycle_mark_neop?: number; - }; + cycle_col_list?: Node[]; + cycle_mark_column?: string; + cycle_mark_value?: Node; + cycle_mark_default?: Node; + cycle_path_column?: string; + location?: number; + cycle_mark_type?: number; + cycle_mark_typmod?: number; + cycle_mark_collation?: number; + cycle_mark_neop?: number; } export interface CommonTableExpr { - CommonTableExpr: { - ctename?: string; - aliascolnames?: Node[]; - ctematerialized?: CTEMaterialize; - ctequery?: Node; - search_clause?: CTESearchClause; - cycle_clause?: CTECycleClause; - location?: number; - cterecursive?: boolean; - cterefcount?: number; - ctecolnames?: Node[]; - ctecoltypes?: Node[]; - ctecoltypmods?: Node[]; - ctecolcollations?: Node[]; - }; + ctename?: string; + aliascolnames?: Node[]; + ctematerialized?: CTEMaterialize; + ctequery?: Node; + search_clause?: CTESearchClause; + cycle_clause?: CTECycleClause; + location?: number; + cterecursive?: boolean; + cterefcount?: number; + ctecolnames?: Node[]; + ctecoltypes?: Node[]; + ctecoltypmods?: Node[]; + ctecolcollations?: Node[]; } export interface MergeWhenClause { - MergeWhenClause: { - matched?: boolean; - commandType?: CmdType; - override?: OverridingKind; - condition?: Node; - targetList?: Node[]; - values?: Node[]; - }; + matched?: boolean; + commandType?: CmdType; + override?: OverridingKind; + condition?: Node; + targetList?: Node[]; + values?: Node[]; } export interface MergeAction { - MergeAction: { - matched?: boolean; - commandType?: CmdType; - override?: OverridingKind; - qual?: Node; - targetList?: Node[]; - updateColnos?: Node[]; - }; + matched?: boolean; + commandType?: CmdType; + override?: OverridingKind; + qual?: Node; + targetList?: Node[]; + updateColnos?: Node[]; } export interface TriggerTransition { - TriggerTransition: { - name?: string; - isNew?: boolean; - isTable?: boolean; - }; + name?: string; + isNew?: boolean; + isTable?: boolean; } export interface JsonOutput { - JsonOutput: { - typeName?: TypeName; - returning?: JsonReturning; - }; + typeName?: TypeName; + returning?: JsonReturning; } export interface JsonKeyValue { - JsonKeyValue: { - key?: Node; - value?: JsonValueExpr; - }; + key?: Node; + value?: JsonValueExpr; } export interface JsonObjectConstructor { - JsonObjectConstructor: { - exprs?: Node[]; - output?: JsonOutput; - absent_on_null?: boolean; - unique?: boolean; - location?: number; - }; + exprs?: Node[]; + output?: JsonOutput; + absent_on_null?: boolean; + unique?: boolean; + location?: number; } export interface JsonArrayConstructor { - JsonArrayConstructor: { - exprs?: Node[]; - output?: JsonOutput; - absent_on_null?: boolean; - location?: number; - }; + exprs?: Node[]; + output?: JsonOutput; + absent_on_null?: boolean; + location?: number; } export interface JsonArrayQueryConstructor { - JsonArrayQueryConstructor: { - query?: Node; - output?: JsonOutput; - format?: JsonFormat; - absent_on_null?: boolean; - location?: number; - }; + query?: Node; + output?: JsonOutput; + format?: JsonFormat; + absent_on_null?: boolean; + location?: number; } export interface JsonAggConstructor { - JsonAggConstructor: { - output?: JsonOutput; - agg_filter?: Node; - agg_order?: Node[]; - over?: WindowDef; - location?: number; - }; + output?: JsonOutput; + agg_filter?: Node; + agg_order?: Node[]; + over?: WindowDef; + location?: number; } export interface JsonObjectAgg { - JsonObjectAgg: { - constructor?: JsonAggConstructor; - arg?: JsonKeyValue; - absent_on_null?: boolean; - unique?: boolean; - }; + constructor?: JsonAggConstructor; + arg?: JsonKeyValue; + absent_on_null?: boolean; + unique?: boolean; } export interface JsonArrayAgg { - JsonArrayAgg: { - constructor?: JsonAggConstructor; - arg?: JsonValueExpr; - absent_on_null?: boolean; - }; + constructor?: JsonAggConstructor; + arg?: JsonValueExpr; + absent_on_null?: boolean; } export interface RawStmt { - RawStmt: { - stmt?: Node; - stmt_location?: number; - stmt_len?: number; - }; + stmt?: Node; + stmt_location?: number; + stmt_len?: number; } export interface InsertStmt { - InsertStmt: { - relation?: RangeVar; - cols?: Node[]; - selectStmt?: Node; - onConflictClause?: OnConflictClause; - returningList?: Node[]; - withClause?: WithClause; - override?: OverridingKind; - }; + relation?: RangeVar; + cols?: Node[]; + selectStmt?: Node; + onConflictClause?: OnConflictClause; + returningList?: Node[]; + withClause?: WithClause; + override?: OverridingKind; } export interface DeleteStmt { - DeleteStmt: { - relation?: RangeVar; - usingClause?: Node[]; - whereClause?: Node; - returningList?: Node[]; - withClause?: WithClause; - }; + relation?: RangeVar; + usingClause?: Node[]; + whereClause?: Node; + returningList?: Node[]; + withClause?: WithClause; } export interface UpdateStmt { - UpdateStmt: { - relation?: RangeVar; - targetList?: Node[]; - whereClause?: Node; - fromClause?: Node[]; - returningList?: Node[]; - withClause?: WithClause; - }; + relation?: RangeVar; + targetList?: Node[]; + whereClause?: Node; + fromClause?: Node[]; + returningList?: Node[]; + withClause?: WithClause; } export interface MergeStmt { - MergeStmt: { - relation?: RangeVar; - sourceRelation?: Node; - joinCondition?: Node; - mergeWhenClauses?: Node[]; - withClause?: WithClause; - }; + relation?: RangeVar; + sourceRelation?: Node; + joinCondition?: Node; + mergeWhenClauses?: Node[]; + withClause?: WithClause; } export interface SelectStmt { - SelectStmt: { - distinctClause?: Node[]; - intoClause?: IntoClause; - targetList?: Node[]; - fromClause?: Node[]; - whereClause?: Node; - groupClause?: Node[]; - groupDistinct?: boolean; - havingClause?: Node; - windowClause?: Node[]; - valuesLists?: Node[]; - sortClause?: Node[]; - limitOffset?: Node; - limitCount?: Node; - limitOption?: LimitOption; - lockingClause?: Node[]; - withClause?: WithClause; - op?: SetOperation; - all?: boolean; - larg?: SelectStmt; - rarg?: SelectStmt; - }; + distinctClause?: Node[]; + intoClause?: IntoClause; + targetList?: Node[]; + fromClause?: Node[]; + whereClause?: Node; + groupClause?: Node[]; + groupDistinct?: boolean; + havingClause?: Node; + windowClause?: Node[]; + valuesLists?: Node[]; + sortClause?: Node[]; + limitOffset?: Node; + limitCount?: Node; + limitOption?: LimitOption; + lockingClause?: Node[]; + withClause?: WithClause; + op?: SetOperation; + all?: boolean; + larg?: SelectStmt; + rarg?: SelectStmt; } export interface SetOperationStmt { - SetOperationStmt: { - op?: SetOperation; - all?: boolean; - larg?: Node; - rarg?: Node; - colTypes?: Node[]; - colTypmods?: Node[]; - colCollations?: Node[]; - groupClauses?: Node[]; - }; + op?: SetOperation; + all?: boolean; + larg?: Node; + rarg?: Node; + colTypes?: Node[]; + colTypmods?: Node[]; + colCollations?: Node[]; + groupClauses?: Node[]; } export interface ReturnStmt { - ReturnStmt: { - returnval?: Node; - }; + returnval?: Node; } export interface PLAssignStmt { - PLAssignStmt: { - name?: string; - indirection?: Node[]; - nnames?: number; - val?: SelectStmt; - location?: number; - }; + name?: string; + indirection?: Node[]; + nnames?: number; + val?: SelectStmt; + location?: number; } export interface CreateSchemaStmt { - CreateSchemaStmt: { - schemaname?: string; - authrole?: RoleSpec; - schemaElts?: Node[]; - if_not_exists?: boolean; - }; + schemaname?: string; + authrole?: RoleSpec; + schemaElts?: Node[]; + if_not_exists?: boolean; } export interface AlterTableStmt { - AlterTableStmt: { - relation?: RangeVar; - cmds?: Node[]; - objtype?: ObjectType; - missing_ok?: boolean; - }; + relation?: RangeVar; + cmds?: Node[]; + objtype?: ObjectType; + missing_ok?: boolean; } export interface ReplicaIdentityStmt { - ReplicaIdentityStmt: { - identity_type?: string; - name?: string; - }; + identity_type?: string; + name?: string; } export interface AlterTableCmd { - AlterTableCmd: { - subtype?: AlterTableType; - name?: string; - num?: number; - newowner?: RoleSpec; - def?: Node; - behavior?: DropBehavior; - missing_ok?: boolean; - recurse?: boolean; - }; + subtype?: AlterTableType; + name?: string; + num?: number; + newowner?: RoleSpec; + def?: Node; + behavior?: DropBehavior; + missing_ok?: boolean; + recurse?: boolean; } export interface AlterCollationStmt { - AlterCollationStmt: { - collname?: Node[]; - }; + collname?: Node[]; } export interface AlterDomainStmt { - AlterDomainStmt: { - subtype?: string; - typeName?: Node[]; - name?: string; - def?: Node; - behavior?: DropBehavior; - missing_ok?: boolean; - }; + subtype?: string; + typeName?: Node[]; + name?: string; + def?: Node; + behavior?: DropBehavior; + missing_ok?: boolean; } export interface GrantStmt { - GrantStmt: { - is_grant?: boolean; - targtype?: GrantTargetType; - objtype?: ObjectType; - objects?: Node[]; - privileges?: Node[]; - grantees?: Node[]; - grant_option?: boolean; - grantor?: RoleSpec; - behavior?: DropBehavior; - }; + is_grant?: boolean; + targtype?: GrantTargetType; + objtype?: ObjectType; + objects?: Node[]; + privileges?: Node[]; + grantees?: Node[]; + grant_option?: boolean; + grantor?: RoleSpec; + behavior?: DropBehavior; } export interface ObjectWithArgs { - ObjectWithArgs: { - objname?: Node[]; - objargs?: Node[]; - objfuncargs?: Node[]; - args_unspecified?: boolean; - }; + objname?: Node[]; + objargs?: Node[]; + objfuncargs?: Node[]; + args_unspecified?: boolean; } export interface AccessPriv { - AccessPriv: { - priv_name?: string; - cols?: Node[]; - }; + priv_name?: string; + cols?: Node[]; } export interface GrantRoleStmt { - GrantRoleStmt: { - granted_roles?: Node[]; - grantee_roles?: Node[]; - is_grant?: boolean; - opt?: Node[]; - grantor?: RoleSpec; - behavior?: DropBehavior; - }; + granted_roles?: Node[]; + grantee_roles?: Node[]; + is_grant?: boolean; + opt?: Node[]; + grantor?: RoleSpec; + behavior?: DropBehavior; } export interface AlterDefaultPrivilegesStmt { - AlterDefaultPrivilegesStmt: { - options?: Node[]; - action?: GrantStmt; - }; + options?: Node[]; + action?: GrantStmt; } export interface CopyStmt { - CopyStmt: { - relation?: RangeVar; - query?: Node; - attlist?: Node[]; - is_from?: boolean; - is_program?: boolean; - filename?: string; - options?: Node[]; - whereClause?: Node; - }; + relation?: RangeVar; + query?: Node; + attlist?: Node[]; + is_from?: boolean; + is_program?: boolean; + filename?: string; + options?: Node[]; + whereClause?: Node; } export interface VariableSetStmt { - VariableSetStmt: { - kind?: VariableSetKind; - name?: string; - args?: Node[]; - is_local?: boolean; - }; + kind?: VariableSetKind; + name?: string; + args?: Node[]; + is_local?: boolean; } export interface VariableShowStmt { - VariableShowStmt: { - name?: string; - }; + name?: string; } export interface CreateStmt { - CreateStmt: { - relation?: RangeVar; - tableElts?: Node[]; - inhRelations?: Node[]; - partbound?: PartitionBoundSpec; - partspec?: PartitionSpec; - ofTypename?: TypeName; - constraints?: Node[]; - options?: Node[]; - oncommit?: OnCommitAction; - tablespacename?: string; - accessMethod?: string; - if_not_exists?: boolean; - }; + relation?: RangeVar; + tableElts?: Node[]; + inhRelations?: Node[]; + partbound?: PartitionBoundSpec; + partspec?: PartitionSpec; + ofTypename?: TypeName; + constraints?: Node[]; + options?: Node[]; + oncommit?: OnCommitAction; + tablespacename?: string; + accessMethod?: string; + if_not_exists?: boolean; } export interface Constraint { - Constraint: { - contype?: ConstrType; - conname?: string; - deferrable?: boolean; - initdeferred?: boolean; - location?: number; - is_no_inherit?: boolean; - raw_expr?: Node; - cooked_expr?: string; - generated_when?: string; - nulls_not_distinct?: boolean; - keys?: Node[]; - including?: Node[]; - exclusions?: Node[]; - options?: Node[]; - indexname?: string; - indexspace?: string; - reset_default_tblspc?: boolean; - access_method?: string; - where_clause?: Node; - pktable?: RangeVar; - fk_attrs?: Node[]; - pk_attrs?: Node[]; - fk_matchtype?: string; - fk_upd_action?: string; - fk_del_action?: string; - fk_del_set_cols?: Node[]; - old_conpfeqop?: Node[]; - old_pktable_oid?: number; - skip_validation?: boolean; - initially_valid?: boolean; - }; + contype?: ConstrType; + conname?: string; + deferrable?: boolean; + initdeferred?: boolean; + location?: number; + is_no_inherit?: boolean; + raw_expr?: Node; + cooked_expr?: string; + generated_when?: string; + nulls_not_distinct?: boolean; + keys?: Node[]; + including?: Node[]; + exclusions?: Node[]; + options?: Node[]; + indexname?: string; + indexspace?: string; + reset_default_tblspc?: boolean; + access_method?: string; + where_clause?: Node; + pktable?: RangeVar; + fk_attrs?: Node[]; + pk_attrs?: Node[]; + fk_matchtype?: string; + fk_upd_action?: string; + fk_del_action?: string; + fk_del_set_cols?: Node[]; + old_conpfeqop?: Node[]; + old_pktable_oid?: number; + skip_validation?: boolean; + initially_valid?: boolean; } export interface CreateTableSpaceStmt { - CreateTableSpaceStmt: { - tablespacename?: string; - owner?: RoleSpec; - location?: string; - options?: Node[]; - }; + tablespacename?: string; + owner?: RoleSpec; + location?: string; + options?: Node[]; } export interface DropTableSpaceStmt { - DropTableSpaceStmt: { - tablespacename?: string; - missing_ok?: boolean; - }; + tablespacename?: string; + missing_ok?: boolean; } export interface AlterTableSpaceOptionsStmt { - AlterTableSpaceOptionsStmt: { - tablespacename?: string; - options?: Node[]; - isReset?: boolean; - }; + tablespacename?: string; + options?: Node[]; + isReset?: boolean; } export interface AlterTableMoveAllStmt { - AlterTableMoveAllStmt: { - orig_tablespacename?: string; - objtype?: ObjectType; - roles?: Node[]; - new_tablespacename?: string; - nowait?: boolean; - }; + orig_tablespacename?: string; + objtype?: ObjectType; + roles?: Node[]; + new_tablespacename?: string; + nowait?: boolean; } export interface CreateExtensionStmt { - CreateExtensionStmt: { - extname?: string; - if_not_exists?: boolean; - options?: Node[]; - }; + extname?: string; + if_not_exists?: boolean; + options?: Node[]; } export interface AlterExtensionStmt { - AlterExtensionStmt: { - extname?: string; - options?: Node[]; - }; + extname?: string; + options?: Node[]; } export interface AlterExtensionContentsStmt { - AlterExtensionContentsStmt: { - extname?: string; - action?: number; - objtype?: ObjectType; - object?: Node; - }; + extname?: string; + action?: number; + objtype?: ObjectType; + object?: Node; } export interface CreateFdwStmt { - CreateFdwStmt: { - fdwname?: string; - func_options?: Node[]; - options?: Node[]; - }; + fdwname?: string; + func_options?: Node[]; + options?: Node[]; } export interface AlterFdwStmt { - AlterFdwStmt: { - fdwname?: string; - func_options?: Node[]; - options?: Node[]; - }; + fdwname?: string; + func_options?: Node[]; + options?: Node[]; } export interface CreateForeignServerStmt { - CreateForeignServerStmt: { - servername?: string; - servertype?: string; - version?: string; - fdwname?: string; - if_not_exists?: boolean; - options?: Node[]; - }; + servername?: string; + servertype?: string; + version?: string; + fdwname?: string; + if_not_exists?: boolean; + options?: Node[]; } export interface AlterForeignServerStmt { - AlterForeignServerStmt: { - servername?: string; - version?: string; - options?: Node[]; - has_version?: boolean; - }; + servername?: string; + version?: string; + options?: Node[]; + has_version?: boolean; } export interface CreateForeignTableStmt { - CreateForeignTableStmt: { - base?: CreateStmt; - servername?: string; - options?: Node[]; - }; + base?: CreateStmt; + servername?: string; + options?: Node[]; } export interface CreateUserMappingStmt { - CreateUserMappingStmt: { - user?: RoleSpec; - servername?: string; - if_not_exists?: boolean; - options?: Node[]; - }; + user?: RoleSpec; + servername?: string; + if_not_exists?: boolean; + options?: Node[]; } export interface AlterUserMappingStmt { - AlterUserMappingStmt: { - user?: RoleSpec; - servername?: string; - options?: Node[]; - }; + user?: RoleSpec; + servername?: string; + options?: Node[]; } export interface DropUserMappingStmt { - DropUserMappingStmt: { - user?: RoleSpec; - servername?: string; - missing_ok?: boolean; - }; + user?: RoleSpec; + servername?: string; + missing_ok?: boolean; } export interface ImportForeignSchemaStmt { - ImportForeignSchemaStmt: { - server_name?: string; - remote_schema?: string; - local_schema?: string; - list_type?: ImportForeignSchemaType; - table_list?: Node[]; - options?: Node[]; - }; + server_name?: string; + remote_schema?: string; + local_schema?: string; + list_type?: ImportForeignSchemaType; + table_list?: Node[]; + options?: Node[]; } export interface CreatePolicyStmt { - CreatePolicyStmt: { - policy_name?: string; - table?: RangeVar; - cmd_name?: string; - permissive?: boolean; - roles?: Node[]; - qual?: Node; - with_check?: Node; - }; + policy_name?: string; + table?: RangeVar; + cmd_name?: string; + permissive?: boolean; + roles?: Node[]; + qual?: Node; + with_check?: Node; } export interface AlterPolicyStmt { - AlterPolicyStmt: { - policy_name?: string; - table?: RangeVar; - roles?: Node[]; - qual?: Node; - with_check?: Node; - }; + policy_name?: string; + table?: RangeVar; + roles?: Node[]; + qual?: Node; + with_check?: Node; } export interface CreateAmStmt { - CreateAmStmt: { - amname?: string; - handler_name?: Node[]; - amtype?: string; - }; + amname?: string; + handler_name?: Node[]; + amtype?: string; } export interface CreateTrigStmt { - CreateTrigStmt: { - replace?: boolean; - isconstraint?: boolean; - trigname?: string; - relation?: RangeVar; - funcname?: Node[]; - args?: Node[]; - row?: boolean; - timing?: number; - events?: number; - columns?: Node[]; - whenClause?: Node; - transitionRels?: Node[]; - deferrable?: boolean; - initdeferred?: boolean; - constrrel?: RangeVar; - }; + replace?: boolean; + isconstraint?: boolean; + trigname?: string; + relation?: RangeVar; + funcname?: Node[]; + args?: Node[]; + row?: boolean; + timing?: number; + events?: number; + columns?: Node[]; + whenClause?: Node; + transitionRels?: Node[]; + deferrable?: boolean; + initdeferred?: boolean; + constrrel?: RangeVar; } export interface CreateEventTrigStmt { - CreateEventTrigStmt: { - trigname?: string; - eventname?: string; - whenclause?: Node[]; - funcname?: Node[]; - }; + trigname?: string; + eventname?: string; + whenclause?: Node[]; + funcname?: Node[]; } export interface AlterEventTrigStmt { - AlterEventTrigStmt: { - trigname?: string; - tgenabled?: string; - }; + trigname?: string; + tgenabled?: string; } export interface CreatePLangStmt { - CreatePLangStmt: { - replace?: boolean; - plname?: string; - plhandler?: Node[]; - plinline?: Node[]; - plvalidator?: Node[]; - pltrusted?: boolean; - }; + replace?: boolean; + plname?: string; + plhandler?: Node[]; + plinline?: Node[]; + plvalidator?: Node[]; + pltrusted?: boolean; } export interface CreateRoleStmt { - CreateRoleStmt: { - stmt_type?: RoleStmtType; - role?: string; - options?: Node[]; - }; + stmt_type?: RoleStmtType; + role?: string; + options?: Node[]; } export interface AlterRoleStmt { - AlterRoleStmt: { - role?: RoleSpec; - options?: Node[]; - action?: number; - }; + role?: RoleSpec; + options?: Node[]; + action?: number; } export interface AlterRoleSetStmt { - AlterRoleSetStmt: { - role?: RoleSpec; - database?: string; - setstmt?: VariableSetStmt; - }; + role?: RoleSpec; + database?: string; + setstmt?: VariableSetStmt; } export interface DropRoleStmt { - DropRoleStmt: { - roles?: Node[]; - missing_ok?: boolean; - }; + roles?: Node[]; + missing_ok?: boolean; } export interface CreateSeqStmt { - CreateSeqStmt: { - sequence?: RangeVar; - options?: Node[]; - ownerId?: number; - for_identity?: boolean; - if_not_exists?: boolean; - }; + sequence?: RangeVar; + options?: Node[]; + ownerId?: number; + for_identity?: boolean; + if_not_exists?: boolean; } export interface AlterSeqStmt { - AlterSeqStmt: { - sequence?: RangeVar; - options?: Node[]; - for_identity?: boolean; - missing_ok?: boolean; - }; + sequence?: RangeVar; + options?: Node[]; + for_identity?: boolean; + missing_ok?: boolean; } export interface DefineStmt { - DefineStmt: { - kind?: ObjectType; - oldstyle?: boolean; - defnames?: Node[]; - args?: Node[]; - definition?: Node[]; - if_not_exists?: boolean; - replace?: boolean; - }; + kind?: ObjectType; + oldstyle?: boolean; + defnames?: Node[]; + args?: Node[]; + definition?: Node[]; + if_not_exists?: boolean; + replace?: boolean; } export interface CreateDomainStmt { - CreateDomainStmt: { - domainname?: Node[]; - typeName?: TypeName; - collClause?: CollateClause; - constraints?: Node[]; - }; + domainname?: Node[]; + typeName?: TypeName; + collClause?: CollateClause; + constraints?: Node[]; } export interface CreateOpClassStmt { - CreateOpClassStmt: { - opclassname?: Node[]; - opfamilyname?: Node[]; - amname?: string; - datatype?: TypeName; - items?: Node[]; - isDefault?: boolean; - }; + opclassname?: Node[]; + opfamilyname?: Node[]; + amname?: string; + datatype?: TypeName; + items?: Node[]; + isDefault?: boolean; } export interface CreateOpClassItem { - CreateOpClassItem: { - itemtype?: number; - name?: ObjectWithArgs; - number?: number; - order_family?: Node[]; - class_args?: Node[]; - storedtype?: TypeName; - }; + itemtype?: number; + name?: ObjectWithArgs; + number?: number; + order_family?: Node[]; + class_args?: Node[]; + storedtype?: TypeName; } export interface CreateOpFamilyStmt { - CreateOpFamilyStmt: { - opfamilyname?: Node[]; - amname?: string; - }; + opfamilyname?: Node[]; + amname?: string; } export interface AlterOpFamilyStmt { - AlterOpFamilyStmt: { - opfamilyname?: Node[]; - amname?: string; - isDrop?: boolean; - items?: Node[]; - }; + opfamilyname?: Node[]; + amname?: string; + isDrop?: boolean; + items?: Node[]; } export interface DropStmt { - DropStmt: { - objects?: Node[]; - removeType?: ObjectType; - behavior?: DropBehavior; - missing_ok?: boolean; - concurrent?: boolean; - }; + objects?: Node[]; + removeType?: ObjectType; + behavior?: DropBehavior; + missing_ok?: boolean; + concurrent?: boolean; } export interface TruncateStmt { - TruncateStmt: { - relations?: Node[]; - restart_seqs?: boolean; - behavior?: DropBehavior; - }; + relations?: Node[]; + restart_seqs?: boolean; + behavior?: DropBehavior; } export interface CommentStmt { - CommentStmt: { - objtype?: ObjectType; - object?: Node; - comment?: string; - }; + objtype?: ObjectType; + object?: Node; + comment?: string; } export interface SecLabelStmt { - SecLabelStmt: { - objtype?: ObjectType; - object?: Node; - provider?: string; - label?: string; - }; + objtype?: ObjectType; + object?: Node; + provider?: string; + label?: string; } export interface DeclareCursorStmt { - DeclareCursorStmt: { - portalname?: string; - options?: number; - query?: Node; - }; + portalname?: string; + options?: number; + query?: Node; } export interface ClosePortalStmt { - ClosePortalStmt: { - portalname?: string; - }; + portalname?: string; } export interface FetchStmt { - FetchStmt: { - direction?: FetchDirection; - howMany?: bigint; - portalname?: string; - ismove?: boolean; - }; + direction?: FetchDirection; + howMany?: bigint; + portalname?: string; + ismove?: boolean; } export interface IndexStmt { - IndexStmt: { - idxname?: string; - relation?: RangeVar; - accessMethod?: string; - tableSpace?: string; - indexParams?: Node[]; - indexIncludingParams?: Node[]; - options?: Node[]; - whereClause?: Node; - excludeOpNames?: Node[]; - idxcomment?: string; - indexOid?: number; - oldNumber?: number; - oldCreateSubid?: number; - oldFirstRelfilelocatorSubid?: number; - unique?: boolean; - nulls_not_distinct?: boolean; - primary?: boolean; - isconstraint?: boolean; - deferrable?: boolean; - initdeferred?: boolean; - transformed?: boolean; - concurrent?: boolean; - if_not_exists?: boolean; - reset_default_tblspc?: boolean; - }; + idxname?: string; + relation?: RangeVar; + accessMethod?: string; + tableSpace?: string; + indexParams?: Node[]; + indexIncludingParams?: Node[]; + options?: Node[]; + whereClause?: Node; + excludeOpNames?: Node[]; + idxcomment?: string; + indexOid?: number; + oldNumber?: number; + oldCreateSubid?: number; + oldFirstRelfilelocatorSubid?: number; + unique?: boolean; + nulls_not_distinct?: boolean; + primary?: boolean; + isconstraint?: boolean; + deferrable?: boolean; + initdeferred?: boolean; + transformed?: boolean; + concurrent?: boolean; + if_not_exists?: boolean; + reset_default_tblspc?: boolean; } export interface CreateStatsStmt { - CreateStatsStmt: { - defnames?: Node[]; - stat_types?: Node[]; - exprs?: Node[]; - relations?: Node[]; - stxcomment?: string; - transformed?: boolean; - if_not_exists?: boolean; - }; + defnames?: Node[]; + stat_types?: Node[]; + exprs?: Node[]; + relations?: Node[]; + stxcomment?: string; + transformed?: boolean; + if_not_exists?: boolean; } export interface StatsElem { - StatsElem: { - name?: string; - expr?: Node; - }; + name?: string; + expr?: Node; } export interface AlterStatsStmt { - AlterStatsStmt: { - defnames?: Node[]; - stxstattarget?: number; - missing_ok?: boolean; - }; + defnames?: Node[]; + stxstattarget?: number; + missing_ok?: boolean; } export interface CreateFunctionStmt { - CreateFunctionStmt: { - is_procedure?: boolean; - replace?: boolean; - funcname?: Node[]; - parameters?: Node[]; - returnType?: TypeName; - options?: Node[]; - sql_body?: Node; - }; + is_procedure?: boolean; + replace?: boolean; + funcname?: Node[]; + parameters?: Node[]; + returnType?: TypeName; + options?: Node[]; + sql_body?: Node; } export interface FunctionParameter { - FunctionParameter: { - name?: string; - argType?: TypeName; - mode?: FunctionParameterMode; - defexpr?: Node; - }; + name?: string; + argType?: TypeName; + mode?: FunctionParameterMode; + defexpr?: Node; } export interface AlterFunctionStmt { - AlterFunctionStmt: { - objtype?: ObjectType; - func?: ObjectWithArgs; - actions?: Node[]; - }; + objtype?: ObjectType; + func?: ObjectWithArgs; + actions?: Node[]; } export interface DoStmt { - DoStmt: { - args?: Node[]; - }; + args?: Node[]; } export interface InlineCodeBlock { - InlineCodeBlock: { - source_text?: string; - langOid?: number; - langIsTrusted?: boolean; - atomic?: boolean; - }; + source_text?: string; + langOid?: number; + langIsTrusted?: boolean; + atomic?: boolean; } export interface CallStmt { - CallStmt: { - funccall?: FuncCall; - funcexpr?: FuncExpr; - outargs?: Node[]; - }; + funccall?: FuncCall; + funcexpr?: FuncExpr; + outargs?: Node[]; } export interface CallContext { - CallContext: { - atomic?: boolean; - }; + atomic?: boolean; } export interface RenameStmt { - RenameStmt: { - renameType?: ObjectType; - relationType?: ObjectType; - relation?: RangeVar; - object?: Node; - subname?: string; - newname?: string; - behavior?: DropBehavior; - missing_ok?: boolean; - }; + renameType?: ObjectType; + relationType?: ObjectType; + relation?: RangeVar; + object?: Node; + subname?: string; + newname?: string; + behavior?: DropBehavior; + missing_ok?: boolean; } export interface AlterObjectDependsStmt { - AlterObjectDependsStmt: { - objectType?: ObjectType; - relation?: RangeVar; - object?: Node; - extname?: String; - remove?: boolean; - }; + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + extname?: String; + remove?: boolean; } export interface AlterObjectSchemaStmt { - AlterObjectSchemaStmt: { - objectType?: ObjectType; - relation?: RangeVar; - object?: Node; - newschema?: string; - missing_ok?: boolean; - }; + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + newschema?: string; + missing_ok?: boolean; } export interface AlterOwnerStmt { - AlterOwnerStmt: { - objectType?: ObjectType; - relation?: RangeVar; - object?: Node; - newowner?: RoleSpec; - }; + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + newowner?: RoleSpec; } export interface AlterOperatorStmt { - AlterOperatorStmt: { - opername?: ObjectWithArgs; - options?: Node[]; - }; + opername?: ObjectWithArgs; + options?: Node[]; } export interface AlterTypeStmt { - AlterTypeStmt: { - typeName?: Node[]; - options?: Node[]; - }; + typeName?: Node[]; + options?: Node[]; } export interface RuleStmt { - RuleStmt: { - relation?: RangeVar; - rulename?: string; - whereClause?: Node; - event?: CmdType; - instead?: boolean; - actions?: Node[]; - replace?: boolean; - }; + relation?: RangeVar; + rulename?: string; + whereClause?: Node; + event?: CmdType; + instead?: boolean; + actions?: Node[]; + replace?: boolean; } export interface NotifyStmt { - NotifyStmt: { - conditionname?: string; - payload?: string; - }; + conditionname?: string; + payload?: string; } export interface ListenStmt { - ListenStmt: { - conditionname?: string; - }; + conditionname?: string; } export interface UnlistenStmt { - UnlistenStmt: { - conditionname?: string; - }; + conditionname?: string; } export interface TransactionStmt { - TransactionStmt: { - kind?: TransactionStmtKind; - options?: Node[]; - savepoint_name?: string; - gid?: string; - chain?: boolean; - }; + kind?: TransactionStmtKind; + options?: Node[]; + savepoint_name?: string; + gid?: string; + chain?: boolean; } export interface CompositeTypeStmt { - CompositeTypeStmt: { - typevar?: RangeVar; - coldeflist?: Node[]; - }; + typevar?: RangeVar; + coldeflist?: Node[]; } export interface CreateEnumStmt { - CreateEnumStmt: { - typeName?: Node[]; - vals?: Node[]; - }; + typeName?: Node[]; + vals?: Node[]; } export interface CreateRangeStmt { - CreateRangeStmt: { - typeName?: Node[]; - params?: Node[]; - }; + typeName?: Node[]; + params?: Node[]; } export interface AlterEnumStmt { - AlterEnumStmt: { - typeName?: Node[]; - oldVal?: string; - newVal?: string; - newValNeighbor?: string; - newValIsAfter?: boolean; - skipIfNewValExists?: boolean; - }; + typeName?: Node[]; + oldVal?: string; + newVal?: string; + newValNeighbor?: string; + newValIsAfter?: boolean; + skipIfNewValExists?: boolean; } export interface ViewStmt { - ViewStmt: { - view?: RangeVar; - aliases?: Node[]; - query?: Node; - replace?: boolean; - options?: Node[]; - withCheckOption?: ViewCheckOption; - }; + view?: RangeVar; + aliases?: Node[]; + query?: Node; + replace?: boolean; + options?: Node[]; + withCheckOption?: ViewCheckOption; } export interface LoadStmt { - LoadStmt: { - filename?: string; - }; + filename?: string; } export interface CreatedbStmt { - CreatedbStmt: { - dbname?: string; - options?: Node[]; - }; + dbname?: string; + options?: Node[]; } export interface AlterDatabaseStmt { - AlterDatabaseStmt: { - dbname?: string; - options?: Node[]; - }; + dbname?: string; + options?: Node[]; } export interface AlterDatabaseRefreshCollStmt { - AlterDatabaseRefreshCollStmt: { - dbname?: string; - }; + dbname?: string; } export interface AlterDatabaseSetStmt { - AlterDatabaseSetStmt: { - dbname?: string; - setstmt?: VariableSetStmt; - }; + dbname?: string; + setstmt?: VariableSetStmt; } export interface DropdbStmt { - DropdbStmt: { - dbname?: string; - missing_ok?: boolean; - options?: Node[]; - }; + dbname?: string; + missing_ok?: boolean; + options?: Node[]; } export interface AlterSystemStmt { - AlterSystemStmt: { - setstmt?: VariableSetStmt; - }; + setstmt?: VariableSetStmt; } export interface ClusterStmt { - ClusterStmt: { - relation?: RangeVar; - indexname?: string; - params?: Node[]; - }; + relation?: RangeVar; + indexname?: string; + params?: Node[]; } export interface VacuumStmt { - VacuumStmt: { - options?: Node[]; - rels?: Node[]; - is_vacuumcmd?: boolean; - }; + options?: Node[]; + rels?: Node[]; + is_vacuumcmd?: boolean; } export interface VacuumRelation { - VacuumRelation: { - relation?: RangeVar; - oid?: number; - va_cols?: Node[]; - }; + relation?: RangeVar; + oid?: number; + va_cols?: Node[]; } export interface ExplainStmt { - ExplainStmt: { - query?: Node; - options?: Node[]; - }; + query?: Node; + options?: Node[]; } export interface CreateTableAsStmt { - CreateTableAsStmt: { - query?: Node; - into?: IntoClause; - objtype?: ObjectType; - is_select_into?: boolean; - if_not_exists?: boolean; - }; + query?: Node; + into?: IntoClause; + objtype?: ObjectType; + is_select_into?: boolean; + if_not_exists?: boolean; } export interface RefreshMatViewStmt { - RefreshMatViewStmt: { - concurrent?: boolean; - skipData?: boolean; - relation?: RangeVar; - }; -} -export interface CheckPointStmt { - CheckPointStmt: {}; + concurrent?: boolean; + skipData?: boolean; + relation?: RangeVar; } +export interface CheckPointStmt {} export interface DiscardStmt { - DiscardStmt: { - target?: DiscardMode; - }; + target?: DiscardMode; } export interface LockStmt { - LockStmt: { - relations?: Node[]; - mode?: number; - nowait?: boolean; - }; + relations?: Node[]; + mode?: number; + nowait?: boolean; } export interface ConstraintsSetStmt { - ConstraintsSetStmt: { - constraints?: Node[]; - deferred?: boolean; - }; + constraints?: Node[]; + deferred?: boolean; } export interface ReindexStmt { - ReindexStmt: { - kind?: ReindexObjectType; - relation?: RangeVar; - name?: string; - params?: Node[]; - }; + kind?: ReindexObjectType; + relation?: RangeVar; + name?: string; + params?: Node[]; } export interface CreateConversionStmt { - CreateConversionStmt: { - conversion_name?: Node[]; - for_encoding_name?: string; - to_encoding_name?: string; - func_name?: Node[]; - def?: boolean; - }; + conversion_name?: Node[]; + for_encoding_name?: string; + to_encoding_name?: string; + func_name?: Node[]; + def?: boolean; } export interface CreateCastStmt { - CreateCastStmt: { - sourcetype?: TypeName; - targettype?: TypeName; - func?: ObjectWithArgs; - context?: CoercionContext; - inout?: boolean; - }; + sourcetype?: TypeName; + targettype?: TypeName; + func?: ObjectWithArgs; + context?: CoercionContext; + inout?: boolean; } export interface CreateTransformStmt { - CreateTransformStmt: { - replace?: boolean; - type_name?: TypeName; - lang?: string; - fromsql?: ObjectWithArgs; - tosql?: ObjectWithArgs; - }; + replace?: boolean; + type_name?: TypeName; + lang?: string; + fromsql?: ObjectWithArgs; + tosql?: ObjectWithArgs; } export interface PrepareStmt { - PrepareStmt: { - name?: string; - argtypes?: Node[]; - query?: Node; - }; + name?: string; + argtypes?: Node[]; + query?: Node; } export interface ExecuteStmt { - ExecuteStmt: { - name?: string; - params?: Node[]; - }; + name?: string; + params?: Node[]; } export interface DeallocateStmt { - DeallocateStmt: { - name?: string; - }; + name?: string; } export interface DropOwnedStmt { - DropOwnedStmt: { - roles?: Node[]; - behavior?: DropBehavior; - }; + roles?: Node[]; + behavior?: DropBehavior; } export interface ReassignOwnedStmt { - ReassignOwnedStmt: { - roles?: Node[]; - newrole?: RoleSpec; - }; + roles?: Node[]; + newrole?: RoleSpec; } export interface AlterTSDictionaryStmt { - AlterTSDictionaryStmt: { - dictname?: Node[]; - options?: Node[]; - }; + dictname?: Node[]; + options?: Node[]; } export interface AlterTSConfigurationStmt { - AlterTSConfigurationStmt: { - kind?: AlterTSConfigType; - cfgname?: Node[]; - tokentype?: Node[]; - dicts?: Node[]; - override?: boolean; - replace?: boolean; - missing_ok?: boolean; - }; + kind?: AlterTSConfigType; + cfgname?: Node[]; + tokentype?: Node[]; + dicts?: Node[]; + override?: boolean; + replace?: boolean; + missing_ok?: boolean; } export interface PublicationTable { - PublicationTable: { - relation?: RangeVar; - whereClause?: Node; - columns?: Node[]; - }; + relation?: RangeVar; + whereClause?: Node; + columns?: Node[]; } export interface PublicationObjSpec { - PublicationObjSpec: { - pubobjtype?: PublicationObjSpecType; - name?: string; - pubtable?: PublicationTable; - location?: number; - }; + pubobjtype?: PublicationObjSpecType; + name?: string; + pubtable?: PublicationTable; + location?: number; } export interface CreatePublicationStmt { - CreatePublicationStmt: { - pubname?: string; - options?: Node[]; - pubobjects?: Node[]; - for_all_tables?: boolean; - }; + pubname?: string; + options?: Node[]; + pubobjects?: Node[]; + for_all_tables?: boolean; } export interface AlterPublicationStmt { - AlterPublicationStmt: { - pubname?: string; - options?: Node[]; - pubobjects?: Node[]; - for_all_tables?: boolean; - action?: AlterPublicationAction; - }; + pubname?: string; + options?: Node[]; + pubobjects?: Node[]; + for_all_tables?: boolean; + action?: AlterPublicationAction; } export interface CreateSubscriptionStmt { - CreateSubscriptionStmt: { - subname?: string; - conninfo?: string; - publication?: Node[]; - options?: Node[]; - }; + subname?: string; + conninfo?: string; + publication?: Node[]; + options?: Node[]; } export interface AlterSubscriptionStmt { - AlterSubscriptionStmt: { - kind?: AlterSubscriptionType; - subname?: string; - conninfo?: string; - publication?: Node[]; - options?: Node[]; - }; + kind?: AlterSubscriptionType; + subname?: string; + conninfo?: string; + publication?: Node[]; + options?: Node[]; } export interface DropSubscriptionStmt { - DropSubscriptionStmt: { - subname?: string; - missing_ok?: boolean; - behavior?: DropBehavior; - }; + subname?: string; + missing_ok?: boolean; + behavior?: DropBehavior; } export interface ScanToken { ScanToken: { diff --git a/__fixtures__/output/utils/astHelpers/enabled/asts.ts b/__fixtures__/output/utils/astHelpers/enabled/asts.ts index e116819..1d886f5 100644 --- a/__fixtures__/output/utils/astHelpers/enabled/asts.ts +++ b/__fixtures__/output/utils/astHelpers/enabled/asts.ts @@ -6,824 +6,690 @@ import _o from "nested-obj"; import { ParseResult, ScanResult, Integer, Float, Boolean, String, BitString, List, OidList, IntList, A_Const, Alias, RangeVar, TableFunc, IntoClause, Var, Param, Aggref, GroupingFunc, WindowFunc, SubscriptingRef, FuncExpr, NamedArgExpr, OpExpr, DistinctExpr, NullIfExpr, ScalarArrayOpExpr, BoolExpr, SubLink, SubPlan, AlternativeSubPlan, FieldSelect, FieldStore, RelabelType, CoerceViaIO, ArrayCoerceExpr, ConvertRowtypeExpr, CollateExpr, CaseExpr, CaseWhen, CaseTestExpr, ArrayExpr, RowExpr, RowCompareExpr, CoalesceExpr, MinMaxExpr, SQLValueFunction, XmlExpr, JsonFormat, JsonReturning, JsonValueExpr, JsonConstructorExpr, JsonIsPredicate, NullTest, BooleanTest, CoerceToDomain, CoerceToDomainValue, SetToDefault, CurrentOfExpr, NextValueExpr, InferenceElem, TargetEntry, RangeTblRef, JoinExpr, FromExpr, OnConflictExpr, Query, TypeName, ColumnRef, ParamRef, A_Expr, TypeCast, CollateClause, RoleSpec, FuncCall, A_Star, A_Indices, A_Indirection, A_ArrayExpr, ResTarget, MultiAssignRef, SortBy, WindowDef, RangeSubselect, RangeFunction, RangeTableFunc, RangeTableFuncCol, RangeTableSample, ColumnDef, TableLikeClause, IndexElem, DefElem, LockingClause, XmlSerialize, PartitionElem, PartitionSpec, PartitionBoundSpec, PartitionRangeDatum, PartitionCmd, RangeTblEntry, RTEPermissionInfo, RangeTblFunction, TableSampleClause, WithCheckOption, SortGroupClause, GroupingSet, WindowClause, RowMarkClause, WithClause, InferClause, OnConflictClause, CTESearchClause, CTECycleClause, CommonTableExpr, MergeWhenClause, MergeAction, TriggerTransition, JsonOutput, JsonKeyValue, JsonObjectConstructor, JsonArrayConstructor, JsonArrayQueryConstructor, JsonAggConstructor, JsonObjectAgg, JsonArrayAgg, RawStmt, InsertStmt, DeleteStmt, UpdateStmt, MergeStmt, SelectStmt, SetOperationStmt, ReturnStmt, PLAssignStmt, CreateSchemaStmt, AlterTableStmt, ReplicaIdentityStmt, AlterTableCmd, AlterCollationStmt, AlterDomainStmt, GrantStmt, ObjectWithArgs, AccessPriv, GrantRoleStmt, AlterDefaultPrivilegesStmt, CopyStmt, VariableSetStmt, VariableShowStmt, CreateStmt, Constraint, CreateTableSpaceStmt, DropTableSpaceStmt, AlterTableSpaceOptionsStmt, AlterTableMoveAllStmt, CreateExtensionStmt, AlterExtensionStmt, AlterExtensionContentsStmt, CreateFdwStmt, AlterFdwStmt, CreateForeignServerStmt, AlterForeignServerStmt, CreateForeignTableStmt, CreateUserMappingStmt, AlterUserMappingStmt, DropUserMappingStmt, ImportForeignSchemaStmt, CreatePolicyStmt, AlterPolicyStmt, CreateAmStmt, CreateTrigStmt, CreateEventTrigStmt, AlterEventTrigStmt, CreatePLangStmt, CreateRoleStmt, AlterRoleStmt, AlterRoleSetStmt, DropRoleStmt, CreateSeqStmt, AlterSeqStmt, DefineStmt, CreateDomainStmt, CreateOpClassStmt, CreateOpClassItem, CreateOpFamilyStmt, AlterOpFamilyStmt, DropStmt, TruncateStmt, CommentStmt, SecLabelStmt, DeclareCursorStmt, ClosePortalStmt, FetchStmt, IndexStmt, CreateStatsStmt, StatsElem, AlterStatsStmt, CreateFunctionStmt, FunctionParameter, AlterFunctionStmt, DoStmt, InlineCodeBlock, CallStmt, CallContext, RenameStmt, AlterObjectDependsStmt, AlterObjectSchemaStmt, AlterOwnerStmt, AlterOperatorStmt, AlterTypeStmt, RuleStmt, NotifyStmt, ListenStmt, UnlistenStmt, TransactionStmt, CompositeTypeStmt, CreateEnumStmt, CreateRangeStmt, AlterEnumStmt, ViewStmt, LoadStmt, CreatedbStmt, AlterDatabaseStmt, AlterDatabaseRefreshCollStmt, AlterDatabaseSetStmt, DropdbStmt, AlterSystemStmt, ClusterStmt, VacuumStmt, VacuumRelation, ExplainStmt, CreateTableAsStmt, RefreshMatViewStmt, CheckPointStmt, DiscardStmt, LockStmt, ConstraintsSetStmt, ReindexStmt, CreateConversionStmt, CreateCastStmt, CreateTransformStmt, PrepareStmt, ExecuteStmt, DeallocateStmt, DropOwnedStmt, ReassignOwnedStmt, AlterTSDictionaryStmt, AlterTSConfigurationStmt, PublicationTable, PublicationObjSpec, CreatePublicationStmt, AlterPublicationStmt, CreateSubscriptionStmt, AlterSubscriptionStmt, DropSubscriptionStmt, ScanToken } from "./wrapped"; export default { - parseResult(_p?: ParseResult["ParseResult"]): ParseResult { - const _j = ({ - ParseResult: {} - } as ParseResult); - _o.set(_j, "ParseResult.version", _p?.version); - _o.set(_j, "ParseResult.stmts", _p?.stmts); + parseResult(_p?: ParseResult): ParseResult { + const _j = ({} as ParseResult); + _o.set(_j, "version", _p?.version); + _o.set(_j, "stmts", _p?.stmts); return _j; - }, - scanResult(_p?: ScanResult["ScanResult"]): ScanResult { - const _j = ({ - ScanResult: {} - } as ScanResult); - _o.set(_j, "ScanResult.version", _p?.version); - _o.set(_j, "ScanResult.tokens", _p?.tokens); - return _j; - }, - integer(_p?: Integer["Integer"]): Integer { - const _j = ({ - Integer: {} - } as Integer); - _o.set(_j, "Integer.ival", _p?.ival); - return _j; - }, - float(_p?: Float["Float"]): Float { - const _j = ({ - Float: {} - } as Float); - _o.set(_j, "Float.fval", _p?.fval); - return _j; - }, - boolean(_p?: Boolean["Boolean"]): Boolean { - const _j = ({ - Boolean: {} - } as Boolean); - _o.set(_j, "Boolean.boolval", _p?.boolval); - return _j; - }, - string(_p?: String["String"]): String { - const _j = ({ - String: {} - } as String); - _o.set(_j, "String.sval", _p?.sval); - return _j; - }, - bitString(_p?: BitString["BitString"]): BitString { - const _j = ({ - BitString: {} - } as BitString); - _o.set(_j, "BitString.bsval", _p?.bsval); - return _j; - }, - list(_p?: List["List"]): List { - const _j = ({ - List: {} - } as List); - _o.set(_j, "List.items", _p?.items); - return _j; - }, - oidList(_p?: OidList["OidList"]): OidList { - const _j = ({ - OidList: {} - } as OidList); - _o.set(_j, "OidList.items", _p?.items); - return _j; - }, - intList(_p?: IntList["IntList"]): IntList { - const _j = ({ - IntList: {} - } as IntList); - _o.set(_j, "IntList.items", _p?.items); - return _j; - }, - aConst(_p?: A_Const["A_Const"]): A_Const { - const _j = ({ - A_Const: {} - } as A_Const); - _o.set(_j, "A_Const.ival", _p?.ival); - _o.set(_j, "A_Const.fval", _p?.fval); - _o.set(_j, "A_Const.boolval", _p?.boolval); - _o.set(_j, "A_Const.sval", _p?.sval); - _o.set(_j, "A_Const.bsval", _p?.bsval); - _o.set(_j, "A_Const.isnull", _p?.isnull); - _o.set(_j, "A_Const.location", _p?.location); - return _j; - }, - alias(_p?: Alias["Alias"]): Alias { - const _j = ({ - Alias: {} - } as Alias); - _o.set(_j, "Alias.aliasname", _p?.aliasname); - _o.set(_j, "Alias.colnames", _p?.colnames); - return _j; - }, - rangeVar(_p?: RangeVar["RangeVar"]): RangeVar { - const _j = ({ - RangeVar: {} - } as RangeVar); - _o.set(_j, "RangeVar.catalogname", _p?.catalogname); - _o.set(_j, "RangeVar.schemaname", _p?.schemaname); - _o.set(_j, "RangeVar.relname", _p?.relname); - _o.set(_j, "RangeVar.inh", _p?.inh); - _o.set(_j, "RangeVar.relpersistence", _p?.relpersistence); - _o.set(_j, "RangeVar.alias", _p?.alias); - _o.set(_j, "RangeVar.location", _p?.location); - return _j; - }, - tableFunc(_p?: TableFunc["TableFunc"]): TableFunc { - const _j = ({ - TableFunc: {} - } as TableFunc); - _o.set(_j, "TableFunc.ns_uris", _p?.ns_uris); - _o.set(_j, "TableFunc.ns_names", _p?.ns_names); - _o.set(_j, "TableFunc.docexpr", _p?.docexpr); - _o.set(_j, "TableFunc.rowexpr", _p?.rowexpr); - _o.set(_j, "TableFunc.colnames", _p?.colnames); - _o.set(_j, "TableFunc.coltypes", _p?.coltypes); - _o.set(_j, "TableFunc.coltypmods", _p?.coltypmods); - _o.set(_j, "TableFunc.colcollations", _p?.colcollations); - _o.set(_j, "TableFunc.colexprs", _p?.colexprs); - _o.set(_j, "TableFunc.coldefexprs", _p?.coldefexprs); - _o.set(_j, "TableFunc.notnulls", _p?.notnulls); - _o.set(_j, "TableFunc.ordinalitycol", _p?.ordinalitycol); - _o.set(_j, "TableFunc.location", _p?.location); - return _j; - }, - intoClause(_p?: IntoClause["IntoClause"]): IntoClause { - const _j = ({ - IntoClause: {} - } as IntoClause); - _o.set(_j, "IntoClause.rel", _p?.rel); - _o.set(_j, "IntoClause.colNames", _p?.colNames); - _o.set(_j, "IntoClause.accessMethod", _p?.accessMethod); - _o.set(_j, "IntoClause.options", _p?.options); - _o.set(_j, "IntoClause.onCommit", _p?.onCommit); - _o.set(_j, "IntoClause.tableSpaceName", _p?.tableSpaceName); - _o.set(_j, "IntoClause.viewQuery", _p?.viewQuery); - _o.set(_j, "IntoClause.skipData", _p?.skipData); - return _j; - }, - var(_p?: Var["Var"]): Var { - const _j = ({ - Var: {} - } as Var); - _o.set(_j, "Var.xpr", _p?.xpr); - _o.set(_j, "Var.varno", _p?.varno); - _o.set(_j, "Var.varattno", _p?.varattno); - _o.set(_j, "Var.vartype", _p?.vartype); - _o.set(_j, "Var.vartypmod", _p?.vartypmod); - _o.set(_j, "Var.varcollid", _p?.varcollid); - _o.set(_j, "Var.varnullingrels", _p?.varnullingrels); - _o.set(_j, "Var.varlevelsup", _p?.varlevelsup); - _o.set(_j, "Var.location", _p?.location); - return _j; - }, - param(_p?: Param["Param"]): Param { - const _j = ({ - Param: {} - } as Param); - _o.set(_j, "Param.xpr", _p?.xpr); - _o.set(_j, "Param.paramkind", _p?.paramkind); - _o.set(_j, "Param.paramid", _p?.paramid); - _o.set(_j, "Param.paramtype", _p?.paramtype); - _o.set(_j, "Param.paramtypmod", _p?.paramtypmod); - _o.set(_j, "Param.paramcollid", _p?.paramcollid); - _o.set(_j, "Param.location", _p?.location); - return _j; - }, - aggref(_p?: Aggref["Aggref"]): Aggref { - const _j = ({ - Aggref: {} - } as Aggref); - _o.set(_j, "Aggref.xpr", _p?.xpr); - _o.set(_j, "Aggref.aggfnoid", _p?.aggfnoid); - _o.set(_j, "Aggref.aggtype", _p?.aggtype); - _o.set(_j, "Aggref.aggcollid", _p?.aggcollid); - _o.set(_j, "Aggref.inputcollid", _p?.inputcollid); - _o.set(_j, "Aggref.aggargtypes", _p?.aggargtypes); - _o.set(_j, "Aggref.aggdirectargs", _p?.aggdirectargs); - _o.set(_j, "Aggref.args", _p?.args); - _o.set(_j, "Aggref.aggorder", _p?.aggorder); - _o.set(_j, "Aggref.aggdistinct", _p?.aggdistinct); - _o.set(_j, "Aggref.aggfilter", _p?.aggfilter); - _o.set(_j, "Aggref.aggstar", _p?.aggstar); - _o.set(_j, "Aggref.aggvariadic", _p?.aggvariadic); - _o.set(_j, "Aggref.aggkind", _p?.aggkind); - _o.set(_j, "Aggref.agglevelsup", _p?.agglevelsup); - _o.set(_j, "Aggref.aggsplit", _p?.aggsplit); - _o.set(_j, "Aggref.aggno", _p?.aggno); - _o.set(_j, "Aggref.aggtransno", _p?.aggtransno); - _o.set(_j, "Aggref.location", _p?.location); - return _j; - }, - groupingFunc(_p?: GroupingFunc["GroupingFunc"]): GroupingFunc { - const _j = ({ - GroupingFunc: {} - } as GroupingFunc); - _o.set(_j, "GroupingFunc.xpr", _p?.xpr); - _o.set(_j, "GroupingFunc.args", _p?.args); - _o.set(_j, "GroupingFunc.refs", _p?.refs); - _o.set(_j, "GroupingFunc.agglevelsup", _p?.agglevelsup); - _o.set(_j, "GroupingFunc.location", _p?.location); - return _j; - }, - windowFunc(_p?: WindowFunc["WindowFunc"]): WindowFunc { - const _j = ({ - WindowFunc: {} - } as WindowFunc); - _o.set(_j, "WindowFunc.xpr", _p?.xpr); - _o.set(_j, "WindowFunc.winfnoid", _p?.winfnoid); - _o.set(_j, "WindowFunc.wintype", _p?.wintype); - _o.set(_j, "WindowFunc.wincollid", _p?.wincollid); - _o.set(_j, "WindowFunc.inputcollid", _p?.inputcollid); - _o.set(_j, "WindowFunc.args", _p?.args); - _o.set(_j, "WindowFunc.aggfilter", _p?.aggfilter); - _o.set(_j, "WindowFunc.winref", _p?.winref); - _o.set(_j, "WindowFunc.winstar", _p?.winstar); - _o.set(_j, "WindowFunc.winagg", _p?.winagg); - _o.set(_j, "WindowFunc.location", _p?.location); - return _j; - }, - subscriptingRef(_p?: SubscriptingRef["SubscriptingRef"]): SubscriptingRef { - const _j = ({ - SubscriptingRef: {} - } as SubscriptingRef); - _o.set(_j, "SubscriptingRef.xpr", _p?.xpr); - _o.set(_j, "SubscriptingRef.refcontainertype", _p?.refcontainertype); - _o.set(_j, "SubscriptingRef.refelemtype", _p?.refelemtype); - _o.set(_j, "SubscriptingRef.refrestype", _p?.refrestype); - _o.set(_j, "SubscriptingRef.reftypmod", _p?.reftypmod); - _o.set(_j, "SubscriptingRef.refcollid", _p?.refcollid); - _o.set(_j, "SubscriptingRef.refupperindexpr", _p?.refupperindexpr); - _o.set(_j, "SubscriptingRef.reflowerindexpr", _p?.reflowerindexpr); - _o.set(_j, "SubscriptingRef.refexpr", _p?.refexpr); - _o.set(_j, "SubscriptingRef.refassgnexpr", _p?.refassgnexpr); - return _j; - }, - funcExpr(_p?: FuncExpr["FuncExpr"]): FuncExpr { - const _j = ({ - FuncExpr: {} - } as FuncExpr); - _o.set(_j, "FuncExpr.xpr", _p?.xpr); - _o.set(_j, "FuncExpr.funcid", _p?.funcid); - _o.set(_j, "FuncExpr.funcresulttype", _p?.funcresulttype); - _o.set(_j, "FuncExpr.funcretset", _p?.funcretset); - _o.set(_j, "FuncExpr.funcvariadic", _p?.funcvariadic); - _o.set(_j, "FuncExpr.funcformat", _p?.funcformat); - _o.set(_j, "FuncExpr.funccollid", _p?.funccollid); - _o.set(_j, "FuncExpr.inputcollid", _p?.inputcollid); - _o.set(_j, "FuncExpr.args", _p?.args); - _o.set(_j, "FuncExpr.location", _p?.location); - return _j; - }, - namedArgExpr(_p?: NamedArgExpr["NamedArgExpr"]): NamedArgExpr { - const _j = ({ - NamedArgExpr: {} - } as NamedArgExpr); - _o.set(_j, "NamedArgExpr.xpr", _p?.xpr); - _o.set(_j, "NamedArgExpr.arg", _p?.arg); - _o.set(_j, "NamedArgExpr.name", _p?.name); - _o.set(_j, "NamedArgExpr.argnumber", _p?.argnumber); - _o.set(_j, "NamedArgExpr.location", _p?.location); - return _j; - }, - opExpr(_p?: OpExpr["OpExpr"]): OpExpr { - const _j = ({ - OpExpr: {} - } as OpExpr); - _o.set(_j, "OpExpr.xpr", _p?.xpr); - _o.set(_j, "OpExpr.opno", _p?.opno); - _o.set(_j, "OpExpr.opresulttype", _p?.opresulttype); - _o.set(_j, "OpExpr.opretset", _p?.opretset); - _o.set(_j, "OpExpr.opcollid", _p?.opcollid); - _o.set(_j, "OpExpr.inputcollid", _p?.inputcollid); - _o.set(_j, "OpExpr.args", _p?.args); - _o.set(_j, "OpExpr.location", _p?.location); - return _j; - }, - distinctExpr(_p?: DistinctExpr["DistinctExpr"]): DistinctExpr { - const _j = ({ - DistinctExpr: {} - } as DistinctExpr); - _o.set(_j, "DistinctExpr.xpr", _p?.xpr); - _o.set(_j, "DistinctExpr.opno", _p?.opno); - _o.set(_j, "DistinctExpr.opresulttype", _p?.opresulttype); - _o.set(_j, "DistinctExpr.opretset", _p?.opretset); - _o.set(_j, "DistinctExpr.opcollid", _p?.opcollid); - _o.set(_j, "DistinctExpr.inputcollid", _p?.inputcollid); - _o.set(_j, "DistinctExpr.args", _p?.args); - _o.set(_j, "DistinctExpr.location", _p?.location); - return _j; - }, - nullIfExpr(_p?: NullIfExpr["NullIfExpr"]): NullIfExpr { - const _j = ({ - NullIfExpr: {} - } as NullIfExpr); - _o.set(_j, "NullIfExpr.xpr", _p?.xpr); - _o.set(_j, "NullIfExpr.opno", _p?.opno); - _o.set(_j, "NullIfExpr.opresulttype", _p?.opresulttype); - _o.set(_j, "NullIfExpr.opretset", _p?.opretset); - _o.set(_j, "NullIfExpr.opcollid", _p?.opcollid); - _o.set(_j, "NullIfExpr.inputcollid", _p?.inputcollid); - _o.set(_j, "NullIfExpr.args", _p?.args); - _o.set(_j, "NullIfExpr.location", _p?.location); - return _j; - }, - scalarArrayOpExpr(_p?: ScalarArrayOpExpr["ScalarArrayOpExpr"]): ScalarArrayOpExpr { - const _j = ({ - ScalarArrayOpExpr: {} - } as ScalarArrayOpExpr); - _o.set(_j, "ScalarArrayOpExpr.xpr", _p?.xpr); - _o.set(_j, "ScalarArrayOpExpr.opno", _p?.opno); - _o.set(_j, "ScalarArrayOpExpr.useOr", _p?.useOr); - _o.set(_j, "ScalarArrayOpExpr.inputcollid", _p?.inputcollid); - _o.set(_j, "ScalarArrayOpExpr.args", _p?.args); - _o.set(_j, "ScalarArrayOpExpr.location", _p?.location); - return _j; - }, - boolExpr(_p?: BoolExpr["BoolExpr"]): BoolExpr { - const _j = ({ - BoolExpr: {} - } as BoolExpr); - _o.set(_j, "BoolExpr.xpr", _p?.xpr); - _o.set(_j, "BoolExpr.boolop", _p?.boolop); - _o.set(_j, "BoolExpr.args", _p?.args); - _o.set(_j, "BoolExpr.location", _p?.location); - return _j; - }, - subLink(_p?: SubLink["SubLink"]): SubLink { - const _j = ({ - SubLink: {} - } as SubLink); - _o.set(_j, "SubLink.xpr", _p?.xpr); - _o.set(_j, "SubLink.subLinkType", _p?.subLinkType); - _o.set(_j, "SubLink.subLinkId", _p?.subLinkId); - _o.set(_j, "SubLink.testexpr", _p?.testexpr); - _o.set(_j, "SubLink.operName", _p?.operName); - _o.set(_j, "SubLink.subselect", _p?.subselect); - _o.set(_j, "SubLink.location", _p?.location); - return _j; - }, - subPlan(_p?: SubPlan["SubPlan"]): SubPlan { - const _j = ({ - SubPlan: {} - } as SubPlan); - _o.set(_j, "SubPlan.xpr", _p?.xpr); - _o.set(_j, "SubPlan.subLinkType", _p?.subLinkType); - _o.set(_j, "SubPlan.testexpr", _p?.testexpr); - _o.set(_j, "SubPlan.paramIds", _p?.paramIds); - _o.set(_j, "SubPlan.plan_id", _p?.plan_id); - _o.set(_j, "SubPlan.plan_name", _p?.plan_name); - _o.set(_j, "SubPlan.firstColType", _p?.firstColType); - _o.set(_j, "SubPlan.firstColTypmod", _p?.firstColTypmod); - _o.set(_j, "SubPlan.firstColCollation", _p?.firstColCollation); - _o.set(_j, "SubPlan.useHashTable", _p?.useHashTable); - _o.set(_j, "SubPlan.unknownEqFalse", _p?.unknownEqFalse); - _o.set(_j, "SubPlan.parallel_safe", _p?.parallel_safe); - _o.set(_j, "SubPlan.setParam", _p?.setParam); - _o.set(_j, "SubPlan.parParam", _p?.parParam); - _o.set(_j, "SubPlan.args", _p?.args); - _o.set(_j, "SubPlan.startup_cost", _p?.startup_cost); - _o.set(_j, "SubPlan.per_call_cost", _p?.per_call_cost); - return _j; - }, - alternativeSubPlan(_p?: AlternativeSubPlan["AlternativeSubPlan"]): AlternativeSubPlan { - const _j = ({ - AlternativeSubPlan: {} - } as AlternativeSubPlan); - _o.set(_j, "AlternativeSubPlan.xpr", _p?.xpr); - _o.set(_j, "AlternativeSubPlan.subplans", _p?.subplans); - return _j; - }, - fieldSelect(_p?: FieldSelect["FieldSelect"]): FieldSelect { - const _j = ({ - FieldSelect: {} - } as FieldSelect); - _o.set(_j, "FieldSelect.xpr", _p?.xpr); - _o.set(_j, "FieldSelect.arg", _p?.arg); - _o.set(_j, "FieldSelect.fieldnum", _p?.fieldnum); - _o.set(_j, "FieldSelect.resulttype", _p?.resulttype); - _o.set(_j, "FieldSelect.resulttypmod", _p?.resulttypmod); - _o.set(_j, "FieldSelect.resultcollid", _p?.resultcollid); - return _j; - }, - fieldStore(_p?: FieldStore["FieldStore"]): FieldStore { - const _j = ({ - FieldStore: {} - } as FieldStore); - _o.set(_j, "FieldStore.xpr", _p?.xpr); - _o.set(_j, "FieldStore.arg", _p?.arg); - _o.set(_j, "FieldStore.newvals", _p?.newvals); - _o.set(_j, "FieldStore.fieldnums", _p?.fieldnums); - _o.set(_j, "FieldStore.resulttype", _p?.resulttype); - return _j; - }, - relabelType(_p?: RelabelType["RelabelType"]): RelabelType { - const _j = ({ - RelabelType: {} - } as RelabelType); - _o.set(_j, "RelabelType.xpr", _p?.xpr); - _o.set(_j, "RelabelType.arg", _p?.arg); - _o.set(_j, "RelabelType.resulttype", _p?.resulttype); - _o.set(_j, "RelabelType.resulttypmod", _p?.resulttypmod); - _o.set(_j, "RelabelType.resultcollid", _p?.resultcollid); - _o.set(_j, "RelabelType.relabelformat", _p?.relabelformat); - _o.set(_j, "RelabelType.location", _p?.location); - return _j; - }, - coerceViaio(_p?: CoerceViaIO["CoerceViaIO"]): CoerceViaIO { - const _j = ({ - CoerceViaIO: {} - } as CoerceViaIO); - _o.set(_j, "CoerceViaIO.xpr", _p?.xpr); - _o.set(_j, "CoerceViaIO.arg", _p?.arg); - _o.set(_j, "CoerceViaIO.resulttype", _p?.resulttype); - _o.set(_j, "CoerceViaIO.resultcollid", _p?.resultcollid); - _o.set(_j, "CoerceViaIO.coerceformat", _p?.coerceformat); - _o.set(_j, "CoerceViaIO.location", _p?.location); - return _j; - }, - arrayCoerceExpr(_p?: ArrayCoerceExpr["ArrayCoerceExpr"]): ArrayCoerceExpr { - const _j = ({ - ArrayCoerceExpr: {} - } as ArrayCoerceExpr); - _o.set(_j, "ArrayCoerceExpr.xpr", _p?.xpr); - _o.set(_j, "ArrayCoerceExpr.arg", _p?.arg); - _o.set(_j, "ArrayCoerceExpr.elemexpr", _p?.elemexpr); - _o.set(_j, "ArrayCoerceExpr.resulttype", _p?.resulttype); - _o.set(_j, "ArrayCoerceExpr.resulttypmod", _p?.resulttypmod); - _o.set(_j, "ArrayCoerceExpr.resultcollid", _p?.resultcollid); - _o.set(_j, "ArrayCoerceExpr.coerceformat", _p?.coerceformat); - _o.set(_j, "ArrayCoerceExpr.location", _p?.location); - return _j; - }, - convertRowtypeExpr(_p?: ConvertRowtypeExpr["ConvertRowtypeExpr"]): ConvertRowtypeExpr { - const _j = ({ - ConvertRowtypeExpr: {} - } as ConvertRowtypeExpr); - _o.set(_j, "ConvertRowtypeExpr.xpr", _p?.xpr); - _o.set(_j, "ConvertRowtypeExpr.arg", _p?.arg); - _o.set(_j, "ConvertRowtypeExpr.resulttype", _p?.resulttype); - _o.set(_j, "ConvertRowtypeExpr.convertformat", _p?.convertformat); - _o.set(_j, "ConvertRowtypeExpr.location", _p?.location); - return _j; - }, - collateExpr(_p?: CollateExpr["CollateExpr"]): CollateExpr { - const _j = ({ - CollateExpr: {} - } as CollateExpr); - _o.set(_j, "CollateExpr.xpr", _p?.xpr); - _o.set(_j, "CollateExpr.arg", _p?.arg); - _o.set(_j, "CollateExpr.collOid", _p?.collOid); - _o.set(_j, "CollateExpr.location", _p?.location); - return _j; - }, - caseExpr(_p?: CaseExpr["CaseExpr"]): CaseExpr { - const _j = ({ - CaseExpr: {} - } as CaseExpr); - _o.set(_j, "CaseExpr.xpr", _p?.xpr); - _o.set(_j, "CaseExpr.casetype", _p?.casetype); - _o.set(_j, "CaseExpr.casecollid", _p?.casecollid); - _o.set(_j, "CaseExpr.arg", _p?.arg); - _o.set(_j, "CaseExpr.args", _p?.args); - _o.set(_j, "CaseExpr.defresult", _p?.defresult); - _o.set(_j, "CaseExpr.location", _p?.location); - return _j; - }, - caseWhen(_p?: CaseWhen["CaseWhen"]): CaseWhen { - const _j = ({ - CaseWhen: {} - } as CaseWhen); - _o.set(_j, "CaseWhen.xpr", _p?.xpr); - _o.set(_j, "CaseWhen.expr", _p?.expr); - _o.set(_j, "CaseWhen.result", _p?.result); - _o.set(_j, "CaseWhen.location", _p?.location); - return _j; - }, - caseTestExpr(_p?: CaseTestExpr["CaseTestExpr"]): CaseTestExpr { - const _j = ({ - CaseTestExpr: {} - } as CaseTestExpr); - _o.set(_j, "CaseTestExpr.xpr", _p?.xpr); - _o.set(_j, "CaseTestExpr.typeId", _p?.typeId); - _o.set(_j, "CaseTestExpr.typeMod", _p?.typeMod); - _o.set(_j, "CaseTestExpr.collation", _p?.collation); - return _j; - }, - arrayExpr(_p?: ArrayExpr["ArrayExpr"]): ArrayExpr { - const _j = ({ - ArrayExpr: {} - } as ArrayExpr); - _o.set(_j, "ArrayExpr.xpr", _p?.xpr); - _o.set(_j, "ArrayExpr.array_typeid", _p?.array_typeid); - _o.set(_j, "ArrayExpr.array_collid", _p?.array_collid); - _o.set(_j, "ArrayExpr.element_typeid", _p?.element_typeid); - _o.set(_j, "ArrayExpr.elements", _p?.elements); - _o.set(_j, "ArrayExpr.multidims", _p?.multidims); - _o.set(_j, "ArrayExpr.location", _p?.location); - return _j; - }, - rowExpr(_p?: RowExpr["RowExpr"]): RowExpr { - const _j = ({ - RowExpr: {} - } as RowExpr); - _o.set(_j, "RowExpr.xpr", _p?.xpr); - _o.set(_j, "RowExpr.args", _p?.args); - _o.set(_j, "RowExpr.row_typeid", _p?.row_typeid); - _o.set(_j, "RowExpr.row_format", _p?.row_format); - _o.set(_j, "RowExpr.colnames", _p?.colnames); - _o.set(_j, "RowExpr.location", _p?.location); - return _j; - }, - rowCompareExpr(_p?: RowCompareExpr["RowCompareExpr"]): RowCompareExpr { - const _j = ({ - RowCompareExpr: {} - } as RowCompareExpr); - _o.set(_j, "RowCompareExpr.xpr", _p?.xpr); - _o.set(_j, "RowCompareExpr.rctype", _p?.rctype); - _o.set(_j, "RowCompareExpr.opnos", _p?.opnos); - _o.set(_j, "RowCompareExpr.opfamilies", _p?.opfamilies); - _o.set(_j, "RowCompareExpr.inputcollids", _p?.inputcollids); - _o.set(_j, "RowCompareExpr.largs", _p?.largs); - _o.set(_j, "RowCompareExpr.rargs", _p?.rargs); - return _j; - }, - coalesceExpr(_p?: CoalesceExpr["CoalesceExpr"]): CoalesceExpr { - const _j = ({ - CoalesceExpr: {} - } as CoalesceExpr); - _o.set(_j, "CoalesceExpr.xpr", _p?.xpr); - _o.set(_j, "CoalesceExpr.coalescetype", _p?.coalescetype); - _o.set(_j, "CoalesceExpr.coalescecollid", _p?.coalescecollid); - _o.set(_j, "CoalesceExpr.args", _p?.args); - _o.set(_j, "CoalesceExpr.location", _p?.location); - return _j; - }, - minMaxExpr(_p?: MinMaxExpr["MinMaxExpr"]): MinMaxExpr { - const _j = ({ - MinMaxExpr: {} - } as MinMaxExpr); - _o.set(_j, "MinMaxExpr.xpr", _p?.xpr); - _o.set(_j, "MinMaxExpr.minmaxtype", _p?.minmaxtype); - _o.set(_j, "MinMaxExpr.minmaxcollid", _p?.minmaxcollid); - _o.set(_j, "MinMaxExpr.inputcollid", _p?.inputcollid); - _o.set(_j, "MinMaxExpr.op", _p?.op); - _o.set(_j, "MinMaxExpr.args", _p?.args); - _o.set(_j, "MinMaxExpr.location", _p?.location); - return _j; - }, - sqlValueFunction(_p?: SQLValueFunction["SQLValueFunction"]): SQLValueFunction { - const _j = ({ - SQLValueFunction: {} - } as SQLValueFunction); - _o.set(_j, "SQLValueFunction.xpr", _p?.xpr); - _o.set(_j, "SQLValueFunction.op", _p?.op); - _o.set(_j, "SQLValueFunction.type", _p?.type); - _o.set(_j, "SQLValueFunction.typmod", _p?.typmod); - _o.set(_j, "SQLValueFunction.location", _p?.location); - return _j; - }, - xmlExpr(_p?: XmlExpr["XmlExpr"]): XmlExpr { - const _j = ({ - XmlExpr: {} - } as XmlExpr); - _o.set(_j, "XmlExpr.xpr", _p?.xpr); - _o.set(_j, "XmlExpr.op", _p?.op); - _o.set(_j, "XmlExpr.name", _p?.name); - _o.set(_j, "XmlExpr.named_args", _p?.named_args); - _o.set(_j, "XmlExpr.arg_names", _p?.arg_names); - _o.set(_j, "XmlExpr.args", _p?.args); - _o.set(_j, "XmlExpr.xmloption", _p?.xmloption); - _o.set(_j, "XmlExpr.indent", _p?.indent); - _o.set(_j, "XmlExpr.type", _p?.type); - _o.set(_j, "XmlExpr.typmod", _p?.typmod); - _o.set(_j, "XmlExpr.location", _p?.location); - return _j; - }, - jsonFormat(_p?: JsonFormat["JsonFormat"]): JsonFormat { - const _j = ({ - JsonFormat: {} - } as JsonFormat); - _o.set(_j, "JsonFormat.format_type", _p?.format_type); - _o.set(_j, "JsonFormat.encoding", _p?.encoding); - _o.set(_j, "JsonFormat.location", _p?.location); - return _j; - }, - jsonReturning(_p?: JsonReturning["JsonReturning"]): JsonReturning { - const _j = ({ - JsonReturning: {} - } as JsonReturning); - _o.set(_j, "JsonReturning.format", _p?.format); - _o.set(_j, "JsonReturning.typid", _p?.typid); - _o.set(_j, "JsonReturning.typmod", _p?.typmod); - return _j; - }, - jsonValueExpr(_p?: JsonValueExpr["JsonValueExpr"]): JsonValueExpr { - const _j = ({ - JsonValueExpr: {} - } as JsonValueExpr); - _o.set(_j, "JsonValueExpr.raw_expr", _p?.raw_expr); - _o.set(_j, "JsonValueExpr.formatted_expr", _p?.formatted_expr); - _o.set(_j, "JsonValueExpr.format", _p?.format); - return _j; - }, - jsonConstructorExpr(_p?: JsonConstructorExpr["JsonConstructorExpr"]): JsonConstructorExpr { - const _j = ({ - JsonConstructorExpr: {} - } as JsonConstructorExpr); - _o.set(_j, "JsonConstructorExpr.xpr", _p?.xpr); - _o.set(_j, "JsonConstructorExpr.type", _p?.type); - _o.set(_j, "JsonConstructorExpr.args", _p?.args); - _o.set(_j, "JsonConstructorExpr.func", _p?.func); - _o.set(_j, "JsonConstructorExpr.coercion", _p?.coercion); - _o.set(_j, "JsonConstructorExpr.returning", _p?.returning); - _o.set(_j, "JsonConstructorExpr.absent_on_null", _p?.absent_on_null); - _o.set(_j, "JsonConstructorExpr.unique", _p?.unique); - _o.set(_j, "JsonConstructorExpr.location", _p?.location); - return _j; - }, - jsonIsPredicate(_p?: JsonIsPredicate["JsonIsPredicate"]): JsonIsPredicate { - const _j = ({ - JsonIsPredicate: {} - } as JsonIsPredicate); - _o.set(_j, "JsonIsPredicate.expr", _p?.expr); - _o.set(_j, "JsonIsPredicate.format", _p?.format); - _o.set(_j, "JsonIsPredicate.item_type", _p?.item_type); - _o.set(_j, "JsonIsPredicate.unique_keys", _p?.unique_keys); - _o.set(_j, "JsonIsPredicate.location", _p?.location); - return _j; - }, - nullTest(_p?: NullTest["NullTest"]): NullTest { - const _j = ({ - NullTest: {} - } as NullTest); - _o.set(_j, "NullTest.xpr", _p?.xpr); - _o.set(_j, "NullTest.arg", _p?.arg); - _o.set(_j, "NullTest.nulltesttype", _p?.nulltesttype); - _o.set(_j, "NullTest.argisrow", _p?.argisrow); - _o.set(_j, "NullTest.location", _p?.location); - return _j; - }, - booleanTest(_p?: BooleanTest["BooleanTest"]): BooleanTest { - const _j = ({ - BooleanTest: {} - } as BooleanTest); - _o.set(_j, "BooleanTest.xpr", _p?.xpr); - _o.set(_j, "BooleanTest.arg", _p?.arg); - _o.set(_j, "BooleanTest.booltesttype", _p?.booltesttype); - _o.set(_j, "BooleanTest.location", _p?.location); - return _j; - }, - coerceToDomain(_p?: CoerceToDomain["CoerceToDomain"]): CoerceToDomain { - const _j = ({ - CoerceToDomain: {} - } as CoerceToDomain); - _o.set(_j, "CoerceToDomain.xpr", _p?.xpr); - _o.set(_j, "CoerceToDomain.arg", _p?.arg); - _o.set(_j, "CoerceToDomain.resulttype", _p?.resulttype); - _o.set(_j, "CoerceToDomain.resulttypmod", _p?.resulttypmod); - _o.set(_j, "CoerceToDomain.resultcollid", _p?.resultcollid); - _o.set(_j, "CoerceToDomain.coercionformat", _p?.coercionformat); - _o.set(_j, "CoerceToDomain.location", _p?.location); - return _j; - }, - coerceToDomainValue(_p?: CoerceToDomainValue["CoerceToDomainValue"]): CoerceToDomainValue { - const _j = ({ - CoerceToDomainValue: {} - } as CoerceToDomainValue); - _o.set(_j, "CoerceToDomainValue.xpr", _p?.xpr); - _o.set(_j, "CoerceToDomainValue.typeId", _p?.typeId); - _o.set(_j, "CoerceToDomainValue.typeMod", _p?.typeMod); - _o.set(_j, "CoerceToDomainValue.collation", _p?.collation); - _o.set(_j, "CoerceToDomainValue.location", _p?.location); - return _j; - }, - setToDefault(_p?: SetToDefault["SetToDefault"]): SetToDefault { - const _j = ({ - SetToDefault: {} - } as SetToDefault); - _o.set(_j, "SetToDefault.xpr", _p?.xpr); - _o.set(_j, "SetToDefault.typeId", _p?.typeId); - _o.set(_j, "SetToDefault.typeMod", _p?.typeMod); - _o.set(_j, "SetToDefault.collation", _p?.collation); - _o.set(_j, "SetToDefault.location", _p?.location); - return _j; - }, - currentOfExpr(_p?: CurrentOfExpr["CurrentOfExpr"]): CurrentOfExpr { - const _j = ({ - CurrentOfExpr: {} - } as CurrentOfExpr); - _o.set(_j, "CurrentOfExpr.xpr", _p?.xpr); - _o.set(_j, "CurrentOfExpr.cvarno", _p?.cvarno); - _o.set(_j, "CurrentOfExpr.cursor_name", _p?.cursor_name); - _o.set(_j, "CurrentOfExpr.cursor_param", _p?.cursor_param); - return _j; - }, - nextValueExpr(_p?: NextValueExpr["NextValueExpr"]): NextValueExpr { - const _j = ({ - NextValueExpr: {} - } as NextValueExpr); - _o.set(_j, "NextValueExpr.xpr", _p?.xpr); - _o.set(_j, "NextValueExpr.seqid", _p?.seqid); - _o.set(_j, "NextValueExpr.typeId", _p?.typeId); - return _j; - }, - inferenceElem(_p?: InferenceElem["InferenceElem"]): InferenceElem { - const _j = ({ - InferenceElem: {} - } as InferenceElem); - _o.set(_j, "InferenceElem.xpr", _p?.xpr); - _o.set(_j, "InferenceElem.expr", _p?.expr); - _o.set(_j, "InferenceElem.infercollid", _p?.infercollid); - _o.set(_j, "InferenceElem.inferopclass", _p?.inferopclass); - return _j; - }, - targetEntry(_p?: TargetEntry["TargetEntry"]): TargetEntry { - const _j = ({ - TargetEntry: {} - } as TargetEntry); - _o.set(_j, "TargetEntry.xpr", _p?.xpr); - _o.set(_j, "TargetEntry.expr", _p?.expr); - _o.set(_j, "TargetEntry.resno", _p?.resno); - _o.set(_j, "TargetEntry.resname", _p?.resname); - _o.set(_j, "TargetEntry.ressortgroupref", _p?.ressortgroupref); - _o.set(_j, "TargetEntry.resorigtbl", _p?.resorigtbl); - _o.set(_j, "TargetEntry.resorigcol", _p?.resorigcol); - _o.set(_j, "TargetEntry.resjunk", _p?.resjunk); - return _j; - }, - rangeTblRef(_p?: RangeTblRef["RangeTblRef"]): RangeTblRef { - const _j = ({ - RangeTblRef: {} - } as RangeTblRef); - _o.set(_j, "RangeTblRef.rtindex", _p?.rtindex); - return _j; - }, - joinExpr(_p?: JoinExpr["JoinExpr"]): JoinExpr { - const _j = ({ - JoinExpr: {} - } as JoinExpr); - _o.set(_j, "JoinExpr.jointype", _p?.jointype); - _o.set(_j, "JoinExpr.isNatural", _p?.isNatural); - _o.set(_j, "JoinExpr.larg", _p?.larg); - _o.set(_j, "JoinExpr.rarg", _p?.rarg); - _o.set(_j, "JoinExpr.usingClause", _p?.usingClause); - _o.set(_j, "JoinExpr.join_using_alias", _p?.join_using_alias); - _o.set(_j, "JoinExpr.quals", _p?.quals); - _o.set(_j, "JoinExpr.alias", _p?.alias); - _o.set(_j, "JoinExpr.rtindex", _p?.rtindex); - return _j; - }, - fromExpr(_p?: FromExpr["FromExpr"]): FromExpr { - const _j = ({ - FromExpr: {} - } as FromExpr); - _o.set(_j, "FromExpr.fromlist", _p?.fromlist); - _o.set(_j, "FromExpr.quals", _p?.quals); - return _j; - }, - onConflictExpr(_p?: OnConflictExpr["OnConflictExpr"]): OnConflictExpr { - const _j = ({ - OnConflictExpr: {} - } as OnConflictExpr); - _o.set(_j, "OnConflictExpr.action", _p?.action); - _o.set(_j, "OnConflictExpr.arbiterElems", _p?.arbiterElems); - _o.set(_j, "OnConflictExpr.arbiterWhere", _p?.arbiterWhere); - _o.set(_j, "OnConflictExpr.constraint", _p?.constraint); - _o.set(_j, "OnConflictExpr.onConflictSet", _p?.onConflictSet); - _o.set(_j, "OnConflictExpr.onConflictWhere", _p?.onConflictWhere); - _o.set(_j, "OnConflictExpr.exclRelIndex", _p?.exclRelIndex); - _o.set(_j, "OnConflictExpr.exclRelTlist", _p?.exclRelTlist); - return _j; - }, - query(_p?: Query["Query"]): Query { - const _j = ({ - Query: {} - } as Query); - _o.set(_j, "Query.commandType", _p?.commandType); - _o.set(_j, "Query.querySource", _p?.querySource); - _o.set(_j, "Query.canSetTag", _p?.canSetTag); - _o.set(_j, "Query.utilityStmt", _p?.utilityStmt); - _o.set(_j, "Query.resultRelation", _p?.resultRelation); - _o.set(_j, "Query.hasAggs", _p?.hasAggs); - _o.set(_j, "Query.hasWindowFuncs", _p?.hasWindowFuncs); - _o.set(_j, "Query.hasTargetSRFs", _p?.hasTargetSRFs); - _o.set(_j, "Query.hasSubLinks", _p?.hasSubLinks); - _o.set(_j, "Query.hasDistinctOn", _p?.hasDistinctOn); - _o.set(_j, "Query.hasRecursive", _p?.hasRecursive); - _o.set(_j, "Query.hasModifyingCTE", _p?.hasModifyingCTE); - _o.set(_j, "Query.hasForUpdate", _p?.hasForUpdate); - _o.set(_j, "Query.hasRowSecurity", _p?.hasRowSecurity); - _o.set(_j, "Query.isReturn", _p?.isReturn); - _o.set(_j, "Query.cteList", _p?.cteList); - _o.set(_j, "Query.rtable", _p?.rtable); - _o.set(_j, "Query.rteperminfos", _p?.rteperminfos); - _o.set(_j, "Query.jointree", _p?.jointree); - _o.set(_j, "Query.mergeActionList", _p?.mergeActionList); - _o.set(_j, "Query.mergeUseOuterJoin", _p?.mergeUseOuterJoin); - _o.set(_j, "Query.targetList", _p?.targetList); - _o.set(_j, "Query.override", _p?.override); - _o.set(_j, "Query.onConflict", _p?.onConflict); - _o.set(_j, "Query.returningList", _p?.returningList); - _o.set(_j, "Query.groupClause", _p?.groupClause); - _o.set(_j, "Query.groupDistinct", _p?.groupDistinct); - _o.set(_j, "Query.groupingSets", _p?.groupingSets); - _o.set(_j, "Query.havingQual", _p?.havingQual); - _o.set(_j, "Query.windowClause", _p?.windowClause); - _o.set(_j, "Query.distinctClause", _p?.distinctClause); - _o.set(_j, "Query.sortClause", _p?.sortClause); - _o.set(_j, "Query.limitOffset", _p?.limitOffset); - _o.set(_j, "Query.limitCount", _p?.limitCount); - _o.set(_j, "Query.limitOption", _p?.limitOption); - _o.set(_j, "Query.rowMarks", _p?.rowMarks); - _o.set(_j, "Query.setOperations", _p?.setOperations); - _o.set(_j, "Query.constraintDeps", _p?.constraintDeps); - _o.set(_j, "Query.withCheckOptions", _p?.withCheckOptions); - _o.set(_j, "Query.stmt_location", _p?.stmt_location); - _o.set(_j, "Query.stmt_len", _p?.stmt_len); + }, + scanResult(_p?: ScanResult): ScanResult { + const _j = ({} as ScanResult); + _o.set(_j, "version", _p?.version); + _o.set(_j, "tokens", _p?.tokens); + return _j; + }, + integer(_p?: Integer): Integer { + const _j = ({} as Integer); + _o.set(_j, "ival", _p?.ival); + return _j; + }, + float(_p?: Float): Float { + const _j = ({} as Float); + _o.set(_j, "fval", _p?.fval); + return _j; + }, + boolean(_p?: Boolean): Boolean { + const _j = ({} as Boolean); + _o.set(_j, "boolval", _p?.boolval); + return _j; + }, + string(_p?: String): String { + const _j = ({} as String); + _o.set(_j, "sval", _p?.sval); + return _j; + }, + bitString(_p?: BitString): BitString { + const _j = ({} as BitString); + _o.set(_j, "bsval", _p?.bsval); + return _j; + }, + list(_p?: List): List { + const _j = ({} as List); + _o.set(_j, "items", _p?.items); + return _j; + }, + oidList(_p?: OidList): OidList { + const _j = ({} as OidList); + _o.set(_j, "items", _p?.items); + return _j; + }, + intList(_p?: IntList): IntList { + const _j = ({} as IntList); + _o.set(_j, "items", _p?.items); + return _j; + }, + aConst(_p?: A_Const): A_Const { + const _j = ({} as A_Const); + _o.set(_j, "ival", _p?.ival); + _o.set(_j, "fval", _p?.fval); + _o.set(_j, "boolval", _p?.boolval); + _o.set(_j, "sval", _p?.sval); + _o.set(_j, "bsval", _p?.bsval); + _o.set(_j, "isnull", _p?.isnull); + _o.set(_j, "location", _p?.location); + return _j; + }, + alias(_p?: Alias): Alias { + const _j = ({} as Alias); + _o.set(_j, "aliasname", _p?.aliasname); + _o.set(_j, "colnames", _p?.colnames); + return _j; + }, + rangeVar(_p?: RangeVar): RangeVar { + const _j = ({} as RangeVar); + _o.set(_j, "catalogname", _p?.catalogname); + _o.set(_j, "schemaname", _p?.schemaname); + _o.set(_j, "relname", _p?.relname); + _o.set(_j, "inh", _p?.inh); + _o.set(_j, "relpersistence", _p?.relpersistence); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "location", _p?.location); + return _j; + }, + tableFunc(_p?: TableFunc): TableFunc { + const _j = ({} as TableFunc); + _o.set(_j, "ns_uris", _p?.ns_uris); + _o.set(_j, "ns_names", _p?.ns_names); + _o.set(_j, "docexpr", _p?.docexpr); + _o.set(_j, "rowexpr", _p?.rowexpr); + _o.set(_j, "colnames", _p?.colnames); + _o.set(_j, "coltypes", _p?.coltypes); + _o.set(_j, "coltypmods", _p?.coltypmods); + _o.set(_j, "colcollations", _p?.colcollations); + _o.set(_j, "colexprs", _p?.colexprs); + _o.set(_j, "coldefexprs", _p?.coldefexprs); + _o.set(_j, "notnulls", _p?.notnulls); + _o.set(_j, "ordinalitycol", _p?.ordinalitycol); + _o.set(_j, "location", _p?.location); + return _j; + }, + intoClause(_p?: IntoClause): IntoClause { + const _j = ({} as IntoClause); + _o.set(_j, "rel", _p?.rel); + _o.set(_j, "colNames", _p?.colNames); + _o.set(_j, "accessMethod", _p?.accessMethod); + _o.set(_j, "options", _p?.options); + _o.set(_j, "onCommit", _p?.onCommit); + _o.set(_j, "tableSpaceName", _p?.tableSpaceName); + _o.set(_j, "viewQuery", _p?.viewQuery); + _o.set(_j, "skipData", _p?.skipData); + return _j; + }, + var(_p?: Var): Var { + const _j = ({} as Var); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "varno", _p?.varno); + _o.set(_j, "varattno", _p?.varattno); + _o.set(_j, "vartype", _p?.vartype); + _o.set(_j, "vartypmod", _p?.vartypmod); + _o.set(_j, "varcollid", _p?.varcollid); + _o.set(_j, "varnullingrels", _p?.varnullingrels); + _o.set(_j, "varlevelsup", _p?.varlevelsup); + _o.set(_j, "location", _p?.location); + return _j; + }, + param(_p?: Param): Param { + const _j = ({} as Param); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "paramkind", _p?.paramkind); + _o.set(_j, "paramid", _p?.paramid); + _o.set(_j, "paramtype", _p?.paramtype); + _o.set(_j, "paramtypmod", _p?.paramtypmod); + _o.set(_j, "paramcollid", _p?.paramcollid); + _o.set(_j, "location", _p?.location); + return _j; + }, + aggref(_p?: Aggref): Aggref { + const _j = ({} as Aggref); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "aggfnoid", _p?.aggfnoid); + _o.set(_j, "aggtype", _p?.aggtype); + _o.set(_j, "aggcollid", _p?.aggcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "aggargtypes", _p?.aggargtypes); + _o.set(_j, "aggdirectargs", _p?.aggdirectargs); + _o.set(_j, "args", _p?.args); + _o.set(_j, "aggorder", _p?.aggorder); + _o.set(_j, "aggdistinct", _p?.aggdistinct); + _o.set(_j, "aggfilter", _p?.aggfilter); + _o.set(_j, "aggstar", _p?.aggstar); + _o.set(_j, "aggvariadic", _p?.aggvariadic); + _o.set(_j, "aggkind", _p?.aggkind); + _o.set(_j, "agglevelsup", _p?.agglevelsup); + _o.set(_j, "aggsplit", _p?.aggsplit); + _o.set(_j, "aggno", _p?.aggno); + _o.set(_j, "aggtransno", _p?.aggtransno); + _o.set(_j, "location", _p?.location); + return _j; + }, + groupingFunc(_p?: GroupingFunc): GroupingFunc { + const _j = ({} as GroupingFunc); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "args", _p?.args); + _o.set(_j, "refs", _p?.refs); + _o.set(_j, "agglevelsup", _p?.agglevelsup); + _o.set(_j, "location", _p?.location); + return _j; + }, + windowFunc(_p?: WindowFunc): WindowFunc { + const _j = ({} as WindowFunc); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "winfnoid", _p?.winfnoid); + _o.set(_j, "wintype", _p?.wintype); + _o.set(_j, "wincollid", _p?.wincollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "aggfilter", _p?.aggfilter); + _o.set(_j, "winref", _p?.winref); + _o.set(_j, "winstar", _p?.winstar); + _o.set(_j, "winagg", _p?.winagg); + _o.set(_j, "location", _p?.location); + return _j; + }, + subscriptingRef(_p?: SubscriptingRef): SubscriptingRef { + const _j = ({} as SubscriptingRef); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "refcontainertype", _p?.refcontainertype); + _o.set(_j, "refelemtype", _p?.refelemtype); + _o.set(_j, "refrestype", _p?.refrestype); + _o.set(_j, "reftypmod", _p?.reftypmod); + _o.set(_j, "refcollid", _p?.refcollid); + _o.set(_j, "refupperindexpr", _p?.refupperindexpr); + _o.set(_j, "reflowerindexpr", _p?.reflowerindexpr); + _o.set(_j, "refexpr", _p?.refexpr); + _o.set(_j, "refassgnexpr", _p?.refassgnexpr); + return _j; + }, + funcExpr(_p?: FuncExpr): FuncExpr { + const _j = ({} as FuncExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "funcid", _p?.funcid); + _o.set(_j, "funcresulttype", _p?.funcresulttype); + _o.set(_j, "funcretset", _p?.funcretset); + _o.set(_j, "funcvariadic", _p?.funcvariadic); + _o.set(_j, "funcformat", _p?.funcformat); + _o.set(_j, "funccollid", _p?.funccollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + namedArgExpr(_p?: NamedArgExpr): NamedArgExpr { + const _j = ({} as NamedArgExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "name", _p?.name); + _o.set(_j, "argnumber", _p?.argnumber); + _o.set(_j, "location", _p?.location); + return _j; + }, + opExpr(_p?: OpExpr): OpExpr { + const _j = ({} as OpExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "opresulttype", _p?.opresulttype); + _o.set(_j, "opretset", _p?.opretset); + _o.set(_j, "opcollid", _p?.opcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + distinctExpr(_p?: DistinctExpr): DistinctExpr { + const _j = ({} as DistinctExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "opresulttype", _p?.opresulttype); + _o.set(_j, "opretset", _p?.opretset); + _o.set(_j, "opcollid", _p?.opcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + nullIfExpr(_p?: NullIfExpr): NullIfExpr { + const _j = ({} as NullIfExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "opresulttype", _p?.opresulttype); + _o.set(_j, "opretset", _p?.opretset); + _o.set(_j, "opcollid", _p?.opcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + scalarArrayOpExpr(_p?: ScalarArrayOpExpr): ScalarArrayOpExpr { + const _j = ({} as ScalarArrayOpExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "useOr", _p?.useOr); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + boolExpr(_p?: BoolExpr): BoolExpr { + const _j = ({} as BoolExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "boolop", _p?.boolop); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + subLink(_p?: SubLink): SubLink { + const _j = ({} as SubLink); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "subLinkType", _p?.subLinkType); + _o.set(_j, "subLinkId", _p?.subLinkId); + _o.set(_j, "testexpr", _p?.testexpr); + _o.set(_j, "operName", _p?.operName); + _o.set(_j, "subselect", _p?.subselect); + _o.set(_j, "location", _p?.location); + return _j; + }, + subPlan(_p?: SubPlan): SubPlan { + const _j = ({} as SubPlan); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "subLinkType", _p?.subLinkType); + _o.set(_j, "testexpr", _p?.testexpr); + _o.set(_j, "paramIds", _p?.paramIds); + _o.set(_j, "plan_id", _p?.plan_id); + _o.set(_j, "plan_name", _p?.plan_name); + _o.set(_j, "firstColType", _p?.firstColType); + _o.set(_j, "firstColTypmod", _p?.firstColTypmod); + _o.set(_j, "firstColCollation", _p?.firstColCollation); + _o.set(_j, "useHashTable", _p?.useHashTable); + _o.set(_j, "unknownEqFalse", _p?.unknownEqFalse); + _o.set(_j, "parallel_safe", _p?.parallel_safe); + _o.set(_j, "setParam", _p?.setParam); + _o.set(_j, "parParam", _p?.parParam); + _o.set(_j, "args", _p?.args); + _o.set(_j, "startup_cost", _p?.startup_cost); + _o.set(_j, "per_call_cost", _p?.per_call_cost); + return _j; + }, + alternativeSubPlan(_p?: AlternativeSubPlan): AlternativeSubPlan { + const _j = ({} as AlternativeSubPlan); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "subplans", _p?.subplans); + return _j; + }, + fieldSelect(_p?: FieldSelect): FieldSelect { + const _j = ({} as FieldSelect); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "fieldnum", _p?.fieldnum); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + return _j; + }, + fieldStore(_p?: FieldStore): FieldStore { + const _j = ({} as FieldStore); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "newvals", _p?.newvals); + _o.set(_j, "fieldnums", _p?.fieldnums); + _o.set(_j, "resulttype", _p?.resulttype); + return _j; + }, + relabelType(_p?: RelabelType): RelabelType { + const _j = ({} as RelabelType); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "relabelformat", _p?.relabelformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + coerceViaio(_p?: CoerceViaIO): CoerceViaIO { + const _j = ({} as CoerceViaIO); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "coerceformat", _p?.coerceformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + arrayCoerceExpr(_p?: ArrayCoerceExpr): ArrayCoerceExpr { + const _j = ({} as ArrayCoerceExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "elemexpr", _p?.elemexpr); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "coerceformat", _p?.coerceformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + convertRowtypeExpr(_p?: ConvertRowtypeExpr): ConvertRowtypeExpr { + const _j = ({} as ConvertRowtypeExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "convertformat", _p?.convertformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + collateExpr(_p?: CollateExpr): CollateExpr { + const _j = ({} as CollateExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "collOid", _p?.collOid); + _o.set(_j, "location", _p?.location); + return _j; + }, + caseExpr(_p?: CaseExpr): CaseExpr { + const _j = ({} as CaseExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "casetype", _p?.casetype); + _o.set(_j, "casecollid", _p?.casecollid); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "args", _p?.args); + _o.set(_j, "defresult", _p?.defresult); + _o.set(_j, "location", _p?.location); + return _j; + }, + caseWhen(_p?: CaseWhen): CaseWhen { + const _j = ({} as CaseWhen); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "result", _p?.result); + _o.set(_j, "location", _p?.location); + return _j; + }, + caseTestExpr(_p?: CaseTestExpr): CaseTestExpr { + const _j = ({} as CaseTestExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "typeId", _p?.typeId); + _o.set(_j, "typeMod", _p?.typeMod); + _o.set(_j, "collation", _p?.collation); + return _j; + }, + arrayExpr(_p?: ArrayExpr): ArrayExpr { + const _j = ({} as ArrayExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "array_typeid", _p?.array_typeid); + _o.set(_j, "array_collid", _p?.array_collid); + _o.set(_j, "element_typeid", _p?.element_typeid); + _o.set(_j, "elements", _p?.elements); + _o.set(_j, "multidims", _p?.multidims); + _o.set(_j, "location", _p?.location); + return _j; + }, + rowExpr(_p?: RowExpr): RowExpr { + const _j = ({} as RowExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "args", _p?.args); + _o.set(_j, "row_typeid", _p?.row_typeid); + _o.set(_j, "row_format", _p?.row_format); + _o.set(_j, "colnames", _p?.colnames); + _o.set(_j, "location", _p?.location); + return _j; + }, + rowCompareExpr(_p?: RowCompareExpr): RowCompareExpr { + const _j = ({} as RowCompareExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "rctype", _p?.rctype); + _o.set(_j, "opnos", _p?.opnos); + _o.set(_j, "opfamilies", _p?.opfamilies); + _o.set(_j, "inputcollids", _p?.inputcollids); + _o.set(_j, "largs", _p?.largs); + _o.set(_j, "rargs", _p?.rargs); + return _j; + }, + coalesceExpr(_p?: CoalesceExpr): CoalesceExpr { + const _j = ({} as CoalesceExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "coalescetype", _p?.coalescetype); + _o.set(_j, "coalescecollid", _p?.coalescecollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + minMaxExpr(_p?: MinMaxExpr): MinMaxExpr { + const _j = ({} as MinMaxExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "minmaxtype", _p?.minmaxtype); + _o.set(_j, "minmaxcollid", _p?.minmaxcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "op", _p?.op); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + sqlValueFunction(_p?: SQLValueFunction): SQLValueFunction { + const _j = ({} as SQLValueFunction); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "op", _p?.op); + _o.set(_j, "type", _p?.type); + _o.set(_j, "typmod", _p?.typmod); + _o.set(_j, "location", _p?.location); + return _j; + }, + xmlExpr(_p?: XmlExpr): XmlExpr { + const _j = ({} as XmlExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "op", _p?.op); + _o.set(_j, "name", _p?.name); + _o.set(_j, "named_args", _p?.named_args); + _o.set(_j, "arg_names", _p?.arg_names); + _o.set(_j, "args", _p?.args); + _o.set(_j, "xmloption", _p?.xmloption); + _o.set(_j, "indent", _p?.indent); + _o.set(_j, "type", _p?.type); + _o.set(_j, "typmod", _p?.typmod); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonFormat(_p?: JsonFormat): JsonFormat { + const _j = ({} as JsonFormat); + _o.set(_j, "format_type", _p?.format_type); + _o.set(_j, "encoding", _p?.encoding); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonReturning(_p?: JsonReturning): JsonReturning { + const _j = ({} as JsonReturning); + _o.set(_j, "format", _p?.format); + _o.set(_j, "typid", _p?.typid); + _o.set(_j, "typmod", _p?.typmod); + return _j; + }, + jsonValueExpr(_p?: JsonValueExpr): JsonValueExpr { + const _j = ({} as JsonValueExpr); + _o.set(_j, "raw_expr", _p?.raw_expr); + _o.set(_j, "formatted_expr", _p?.formatted_expr); + _o.set(_j, "format", _p?.format); + return _j; + }, + jsonConstructorExpr(_p?: JsonConstructorExpr): JsonConstructorExpr { + const _j = ({} as JsonConstructorExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "type", _p?.type); + _o.set(_j, "args", _p?.args); + _o.set(_j, "func", _p?.func); + _o.set(_j, "coercion", _p?.coercion); + _o.set(_j, "returning", _p?.returning); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "unique", _p?.unique); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonIsPredicate(_p?: JsonIsPredicate): JsonIsPredicate { + const _j = ({} as JsonIsPredicate); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "format", _p?.format); + _o.set(_j, "item_type", _p?.item_type); + _o.set(_j, "unique_keys", _p?.unique_keys); + _o.set(_j, "location", _p?.location); + return _j; + }, + nullTest(_p?: NullTest): NullTest { + const _j = ({} as NullTest); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "nulltesttype", _p?.nulltesttype); + _o.set(_j, "argisrow", _p?.argisrow); + _o.set(_j, "location", _p?.location); + return _j; + }, + booleanTest(_p?: BooleanTest): BooleanTest { + const _j = ({} as BooleanTest); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "booltesttype", _p?.booltesttype); + _o.set(_j, "location", _p?.location); + return _j; + }, + coerceToDomain(_p?: CoerceToDomain): CoerceToDomain { + const _j = ({} as CoerceToDomain); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "coercionformat", _p?.coercionformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + coerceToDomainValue(_p?: CoerceToDomainValue): CoerceToDomainValue { + const _j = ({} as CoerceToDomainValue); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "typeId", _p?.typeId); + _o.set(_j, "typeMod", _p?.typeMod); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "location", _p?.location); + return _j; + }, + setToDefault(_p?: SetToDefault): SetToDefault { + const _j = ({} as SetToDefault); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "typeId", _p?.typeId); + _o.set(_j, "typeMod", _p?.typeMod); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "location", _p?.location); + return _j; + }, + currentOfExpr(_p?: CurrentOfExpr): CurrentOfExpr { + const _j = ({} as CurrentOfExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "cvarno", _p?.cvarno); + _o.set(_j, "cursor_name", _p?.cursor_name); + _o.set(_j, "cursor_param", _p?.cursor_param); + return _j; + }, + nextValueExpr(_p?: NextValueExpr): NextValueExpr { + const _j = ({} as NextValueExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "seqid", _p?.seqid); + _o.set(_j, "typeId", _p?.typeId); + return _j; + }, + inferenceElem(_p?: InferenceElem): InferenceElem { + const _j = ({} as InferenceElem); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "infercollid", _p?.infercollid); + _o.set(_j, "inferopclass", _p?.inferopclass); + return _j; + }, + targetEntry(_p?: TargetEntry): TargetEntry { + const _j = ({} as TargetEntry); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "resno", _p?.resno); + _o.set(_j, "resname", _p?.resname); + _o.set(_j, "ressortgroupref", _p?.ressortgroupref); + _o.set(_j, "resorigtbl", _p?.resorigtbl); + _o.set(_j, "resorigcol", _p?.resorigcol); + _o.set(_j, "resjunk", _p?.resjunk); + return _j; + }, + rangeTblRef(_p?: RangeTblRef): RangeTblRef { + const _j = ({} as RangeTblRef); + _o.set(_j, "rtindex", _p?.rtindex); + return _j; + }, + joinExpr(_p?: JoinExpr): JoinExpr { + const _j = ({} as JoinExpr); + _o.set(_j, "jointype", _p?.jointype); + _o.set(_j, "isNatural", _p?.isNatural); + _o.set(_j, "larg", _p?.larg); + _o.set(_j, "rarg", _p?.rarg); + _o.set(_j, "usingClause", _p?.usingClause); + _o.set(_j, "join_using_alias", _p?.join_using_alias); + _o.set(_j, "quals", _p?.quals); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "rtindex", _p?.rtindex); + return _j; + }, + fromExpr(_p?: FromExpr): FromExpr { + const _j = ({} as FromExpr); + _o.set(_j, "fromlist", _p?.fromlist); + _o.set(_j, "quals", _p?.quals); + return _j; + }, + onConflictExpr(_p?: OnConflictExpr): OnConflictExpr { + const _j = ({} as OnConflictExpr); + _o.set(_j, "action", _p?.action); + _o.set(_j, "arbiterElems", _p?.arbiterElems); + _o.set(_j, "arbiterWhere", _p?.arbiterWhere); + _o.set(_j, "constraint", _p?.constraint); + _o.set(_j, "onConflictSet", _p?.onConflictSet); + _o.set(_j, "onConflictWhere", _p?.onConflictWhere); + _o.set(_j, "exclRelIndex", _p?.exclRelIndex); + _o.set(_j, "exclRelTlist", _p?.exclRelTlist); + return _j; + }, + query(_p?: Query): Query { + const _j = ({} as Query); + _o.set(_j, "commandType", _p?.commandType); + _o.set(_j, "querySource", _p?.querySource); + _o.set(_j, "canSetTag", _p?.canSetTag); + _o.set(_j, "utilityStmt", _p?.utilityStmt); + _o.set(_j, "resultRelation", _p?.resultRelation); + _o.set(_j, "hasAggs", _p?.hasAggs); + _o.set(_j, "hasWindowFuncs", _p?.hasWindowFuncs); + _o.set(_j, "hasTargetSRFs", _p?.hasTargetSRFs); + _o.set(_j, "hasSubLinks", _p?.hasSubLinks); + _o.set(_j, "hasDistinctOn", _p?.hasDistinctOn); + _o.set(_j, "hasRecursive", _p?.hasRecursive); + _o.set(_j, "hasModifyingCTE", _p?.hasModifyingCTE); + _o.set(_j, "hasForUpdate", _p?.hasForUpdate); + _o.set(_j, "hasRowSecurity", _p?.hasRowSecurity); + _o.set(_j, "isReturn", _p?.isReturn); + _o.set(_j, "cteList", _p?.cteList); + _o.set(_j, "rtable", _p?.rtable); + _o.set(_j, "rteperminfos", _p?.rteperminfos); + _o.set(_j, "jointree", _p?.jointree); + _o.set(_j, "mergeActionList", _p?.mergeActionList); + _o.set(_j, "mergeUseOuterJoin", _p?.mergeUseOuterJoin); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "override", _p?.override); + _o.set(_j, "onConflict", _p?.onConflict); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "groupClause", _p?.groupClause); + _o.set(_j, "groupDistinct", _p?.groupDistinct); + _o.set(_j, "groupingSets", _p?.groupingSets); + _o.set(_j, "havingQual", _p?.havingQual); + _o.set(_j, "windowClause", _p?.windowClause); + _o.set(_j, "distinctClause", _p?.distinctClause); + _o.set(_j, "sortClause", _p?.sortClause); + _o.set(_j, "limitOffset", _p?.limitOffset); + _o.set(_j, "limitCount", _p?.limitCount); + _o.set(_j, "limitOption", _p?.limitOption); + _o.set(_j, "rowMarks", _p?.rowMarks); + _o.set(_j, "setOperations", _p?.setOperations); + _o.set(_j, "constraintDeps", _p?.constraintDeps); + _o.set(_j, "withCheckOptions", _p?.withCheckOptions); + _o.set(_j, "stmt_location", _p?.stmt_location); + _o.set(_j, "stmt_len", _p?.stmt_len); return _j; }, typeName(_p?: TypeName): TypeName { @@ -838,2001 +704,1627 @@ export default { _o.set(_j, "location", _p?.location); return _j; }, - columnRef(_p?: ColumnRef["ColumnRef"]): ColumnRef { - const _j = ({ - ColumnRef: {} - } as ColumnRef); - _o.set(_j, "ColumnRef.fields", _p?.fields); - _o.set(_j, "ColumnRef.location", _p?.location); - return _j; - }, - paramRef(_p?: ParamRef["ParamRef"]): ParamRef { - const _j = ({ - ParamRef: {} - } as ParamRef); - _o.set(_j, "ParamRef.number", _p?.number); - _o.set(_j, "ParamRef.location", _p?.location); - return _j; - }, - aExpr(_p?: A_Expr["A_Expr"]): A_Expr { - const _j = ({ - A_Expr: {} - } as A_Expr); - _o.set(_j, "A_Expr.kind", _p?.kind); - _o.set(_j, "A_Expr.name", _p?.name); - _o.set(_j, "A_Expr.lexpr", _p?.lexpr); - _o.set(_j, "A_Expr.rexpr", _p?.rexpr); - _o.set(_j, "A_Expr.location", _p?.location); - return _j; - }, - typeCast(_p?: TypeCast["TypeCast"]): TypeCast { - const _j = ({ - TypeCast: {} - } as TypeCast); - _o.set(_j, "TypeCast.arg", _p?.arg); - _o.set(_j, "TypeCast.typeName", _p?.typeName); - _o.set(_j, "TypeCast.location", _p?.location); - return _j; - }, - collateClause(_p?: CollateClause["CollateClause"]): CollateClause { - const _j = ({ - CollateClause: {} - } as CollateClause); - _o.set(_j, "CollateClause.arg", _p?.arg); - _o.set(_j, "CollateClause.collname", _p?.collname); - _o.set(_j, "CollateClause.location", _p?.location); - return _j; - }, - roleSpec(_p?: RoleSpec["RoleSpec"]): RoleSpec { - const _j = ({ - RoleSpec: {} - } as RoleSpec); - _o.set(_j, "RoleSpec.roletype", _p?.roletype); - _o.set(_j, "RoleSpec.rolename", _p?.rolename); - _o.set(_j, "RoleSpec.location", _p?.location); - return _j; - }, - funcCall(_p?: FuncCall["FuncCall"]): FuncCall { - const _j = ({ - FuncCall: {} - } as FuncCall); - _o.set(_j, "FuncCall.funcname", _p?.funcname); - _o.set(_j, "FuncCall.args", _p?.args); - _o.set(_j, "FuncCall.agg_order", _p?.agg_order); - _o.set(_j, "FuncCall.agg_filter", _p?.agg_filter); - _o.set(_j, "FuncCall.over", _p?.over); - _o.set(_j, "FuncCall.agg_within_group", _p?.agg_within_group); - _o.set(_j, "FuncCall.agg_star", _p?.agg_star); - _o.set(_j, "FuncCall.agg_distinct", _p?.agg_distinct); - _o.set(_j, "FuncCall.func_variadic", _p?.func_variadic); - _o.set(_j, "FuncCall.funcformat", _p?.funcformat); - _o.set(_j, "FuncCall.location", _p?.location); - return _j; - }, - aStar(_p?: A_Star["A_Star"]): A_Star { - const _j = ({ - A_Star: {} - } as A_Star); - return _j; - }, - aIndices(_p?: A_Indices["A_Indices"]): A_Indices { - const _j = ({ - A_Indices: {} - } as A_Indices); - _o.set(_j, "A_Indices.is_slice", _p?.is_slice); - _o.set(_j, "A_Indices.lidx", _p?.lidx); - _o.set(_j, "A_Indices.uidx", _p?.uidx); - return _j; - }, - aIndirection(_p?: A_Indirection["A_Indirection"]): A_Indirection { - const _j = ({ - A_Indirection: {} - } as A_Indirection); - _o.set(_j, "A_Indirection.arg", _p?.arg); - _o.set(_j, "A_Indirection.indirection", _p?.indirection); - return _j; - }, - aArrayExpr(_p?: A_ArrayExpr["A_ArrayExpr"]): A_ArrayExpr { - const _j = ({ - A_ArrayExpr: {} - } as A_ArrayExpr); - _o.set(_j, "A_ArrayExpr.elements", _p?.elements); - _o.set(_j, "A_ArrayExpr.location", _p?.location); - return _j; - }, - resTarget(_p?: ResTarget["ResTarget"]): ResTarget { - const _j = ({ - ResTarget: {} - } as ResTarget); - _o.set(_j, "ResTarget.name", _p?.name); - _o.set(_j, "ResTarget.indirection", _p?.indirection); - _o.set(_j, "ResTarget.val", _p?.val); - _o.set(_j, "ResTarget.location", _p?.location); - return _j; - }, - multiAssignRef(_p?: MultiAssignRef["MultiAssignRef"]): MultiAssignRef { - const _j = ({ - MultiAssignRef: {} - } as MultiAssignRef); - _o.set(_j, "MultiAssignRef.source", _p?.source); - _o.set(_j, "MultiAssignRef.colno", _p?.colno); - _o.set(_j, "MultiAssignRef.ncolumns", _p?.ncolumns); - return _j; - }, - sortBy(_p?: SortBy["SortBy"]): SortBy { - const _j = ({ - SortBy: {} - } as SortBy); - _o.set(_j, "SortBy.node", _p?.node); - _o.set(_j, "SortBy.sortby_dir", _p?.sortby_dir); - _o.set(_j, "SortBy.sortby_nulls", _p?.sortby_nulls); - _o.set(_j, "SortBy.useOp", _p?.useOp); - _o.set(_j, "SortBy.location", _p?.location); - return _j; - }, - windowDef(_p?: WindowDef["WindowDef"]): WindowDef { - const _j = ({ - WindowDef: {} - } as WindowDef); - _o.set(_j, "WindowDef.name", _p?.name); - _o.set(_j, "WindowDef.refname", _p?.refname); - _o.set(_j, "WindowDef.partitionClause", _p?.partitionClause); - _o.set(_j, "WindowDef.orderClause", _p?.orderClause); - _o.set(_j, "WindowDef.frameOptions", _p?.frameOptions); - _o.set(_j, "WindowDef.startOffset", _p?.startOffset); - _o.set(_j, "WindowDef.endOffset", _p?.endOffset); - _o.set(_j, "WindowDef.location", _p?.location); - return _j; - }, - rangeSubselect(_p?: RangeSubselect["RangeSubselect"]): RangeSubselect { - const _j = ({ - RangeSubselect: {} - } as RangeSubselect); - _o.set(_j, "RangeSubselect.lateral", _p?.lateral); - _o.set(_j, "RangeSubselect.subquery", _p?.subquery); - _o.set(_j, "RangeSubselect.alias", _p?.alias); - return _j; - }, - rangeFunction(_p?: RangeFunction["RangeFunction"]): RangeFunction { - const _j = ({ - RangeFunction: {} - } as RangeFunction); - _o.set(_j, "RangeFunction.lateral", _p?.lateral); - _o.set(_j, "RangeFunction.ordinality", _p?.ordinality); - _o.set(_j, "RangeFunction.is_rowsfrom", _p?.is_rowsfrom); - _o.set(_j, "RangeFunction.functions", _p?.functions); - _o.set(_j, "RangeFunction.alias", _p?.alias); - _o.set(_j, "RangeFunction.coldeflist", _p?.coldeflist); - return _j; - }, - rangeTableFunc(_p?: RangeTableFunc["RangeTableFunc"]): RangeTableFunc { - const _j = ({ - RangeTableFunc: {} - } as RangeTableFunc); - _o.set(_j, "RangeTableFunc.lateral", _p?.lateral); - _o.set(_j, "RangeTableFunc.docexpr", _p?.docexpr); - _o.set(_j, "RangeTableFunc.rowexpr", _p?.rowexpr); - _o.set(_j, "RangeTableFunc.namespaces", _p?.namespaces); - _o.set(_j, "RangeTableFunc.columns", _p?.columns); - _o.set(_j, "RangeTableFunc.alias", _p?.alias); - _o.set(_j, "RangeTableFunc.location", _p?.location); - return _j; - }, - rangeTableFuncCol(_p?: RangeTableFuncCol["RangeTableFuncCol"]): RangeTableFuncCol { - const _j = ({ - RangeTableFuncCol: {} - } as RangeTableFuncCol); - _o.set(_j, "RangeTableFuncCol.colname", _p?.colname); - _o.set(_j, "RangeTableFuncCol.typeName", _p?.typeName); - _o.set(_j, "RangeTableFuncCol.for_ordinality", _p?.for_ordinality); - _o.set(_j, "RangeTableFuncCol.is_not_null", _p?.is_not_null); - _o.set(_j, "RangeTableFuncCol.colexpr", _p?.colexpr); - _o.set(_j, "RangeTableFuncCol.coldefexpr", _p?.coldefexpr); - _o.set(_j, "RangeTableFuncCol.location", _p?.location); - return _j; - }, - rangeTableSample(_p?: RangeTableSample["RangeTableSample"]): RangeTableSample { - const _j = ({ - RangeTableSample: {} - } as RangeTableSample); - _o.set(_j, "RangeTableSample.relation", _p?.relation); - _o.set(_j, "RangeTableSample.method", _p?.method); - _o.set(_j, "RangeTableSample.args", _p?.args); - _o.set(_j, "RangeTableSample.repeatable", _p?.repeatable); - _o.set(_j, "RangeTableSample.location", _p?.location); - return _j; - }, - columnDef(_p?: ColumnDef["ColumnDef"]): ColumnDef { - const _j = ({ - ColumnDef: {} - } as ColumnDef); - _o.set(_j, "ColumnDef.colname", _p?.colname); - _o.set(_j, "ColumnDef.typeName", _p?.typeName); - _o.set(_j, "ColumnDef.compression", _p?.compression); - _o.set(_j, "ColumnDef.inhcount", _p?.inhcount); - _o.set(_j, "ColumnDef.is_local", _p?.is_local); - _o.set(_j, "ColumnDef.is_not_null", _p?.is_not_null); - _o.set(_j, "ColumnDef.is_from_type", _p?.is_from_type); - _o.set(_j, "ColumnDef.storage", _p?.storage); - _o.set(_j, "ColumnDef.storage_name", _p?.storage_name); - _o.set(_j, "ColumnDef.raw_default", _p?.raw_default); - _o.set(_j, "ColumnDef.cooked_default", _p?.cooked_default); - _o.set(_j, "ColumnDef.identity", _p?.identity); - _o.set(_j, "ColumnDef.identitySequence", _p?.identitySequence); - _o.set(_j, "ColumnDef.generated", _p?.generated); - _o.set(_j, "ColumnDef.collClause", _p?.collClause); - _o.set(_j, "ColumnDef.collOid", _p?.collOid); - _o.set(_j, "ColumnDef.constraints", _p?.constraints); - _o.set(_j, "ColumnDef.fdwoptions", _p?.fdwoptions); - _o.set(_j, "ColumnDef.location", _p?.location); - return _j; - }, - tableLikeClause(_p?: TableLikeClause["TableLikeClause"]): TableLikeClause { - const _j = ({ - TableLikeClause: {} - } as TableLikeClause); - _o.set(_j, "TableLikeClause.relation", _p?.relation); - _o.set(_j, "TableLikeClause.options", _p?.options); - _o.set(_j, "TableLikeClause.relationOid", _p?.relationOid); - return _j; - }, - indexElem(_p?: IndexElem["IndexElem"]): IndexElem { - const _j = ({ - IndexElem: {} - } as IndexElem); - _o.set(_j, "IndexElem.name", _p?.name); - _o.set(_j, "IndexElem.expr", _p?.expr); - _o.set(_j, "IndexElem.indexcolname", _p?.indexcolname); - _o.set(_j, "IndexElem.collation", _p?.collation); - _o.set(_j, "IndexElem.opclass", _p?.opclass); - _o.set(_j, "IndexElem.opclassopts", _p?.opclassopts); - _o.set(_j, "IndexElem.ordering", _p?.ordering); - _o.set(_j, "IndexElem.nulls_ordering", _p?.nulls_ordering); - return _j; - }, - defElem(_p?: DefElem["DefElem"]): DefElem { - const _j = ({ - DefElem: {} - } as DefElem); - _o.set(_j, "DefElem.defnamespace", _p?.defnamespace); - _o.set(_j, "DefElem.defname", _p?.defname); - _o.set(_j, "DefElem.arg", _p?.arg); - _o.set(_j, "DefElem.defaction", _p?.defaction); - _o.set(_j, "DefElem.location", _p?.location); - return _j; - }, - lockingClause(_p?: LockingClause["LockingClause"]): LockingClause { - const _j = ({ - LockingClause: {} - } as LockingClause); - _o.set(_j, "LockingClause.lockedRels", _p?.lockedRels); - _o.set(_j, "LockingClause.strength", _p?.strength); - _o.set(_j, "LockingClause.waitPolicy", _p?.waitPolicy); - return _j; - }, - xmlSerialize(_p?: XmlSerialize["XmlSerialize"]): XmlSerialize { - const _j = ({ - XmlSerialize: {} - } as XmlSerialize); - _o.set(_j, "XmlSerialize.xmloption", _p?.xmloption); - _o.set(_j, "XmlSerialize.expr", _p?.expr); - _o.set(_j, "XmlSerialize.typeName", _p?.typeName); - _o.set(_j, "XmlSerialize.indent", _p?.indent); - _o.set(_j, "XmlSerialize.location", _p?.location); - return _j; - }, - partitionElem(_p?: PartitionElem["PartitionElem"]): PartitionElem { - const _j = ({ - PartitionElem: {} - } as PartitionElem); - _o.set(_j, "PartitionElem.name", _p?.name); - _o.set(_j, "PartitionElem.expr", _p?.expr); - _o.set(_j, "PartitionElem.collation", _p?.collation); - _o.set(_j, "PartitionElem.opclass", _p?.opclass); - _o.set(_j, "PartitionElem.location", _p?.location); - return _j; - }, - partitionSpec(_p?: PartitionSpec["PartitionSpec"]): PartitionSpec { - const _j = ({ - PartitionSpec: {} - } as PartitionSpec); - _o.set(_j, "PartitionSpec.strategy", _p?.strategy); - _o.set(_j, "PartitionSpec.partParams", _p?.partParams); - _o.set(_j, "PartitionSpec.location", _p?.location); - return _j; - }, - partitionBoundSpec(_p?: PartitionBoundSpec["PartitionBoundSpec"]): PartitionBoundSpec { - const _j = ({ - PartitionBoundSpec: {} - } as PartitionBoundSpec); - _o.set(_j, "PartitionBoundSpec.strategy", _p?.strategy); - _o.set(_j, "PartitionBoundSpec.is_default", _p?.is_default); - _o.set(_j, "PartitionBoundSpec.modulus", _p?.modulus); - _o.set(_j, "PartitionBoundSpec.remainder", _p?.remainder); - _o.set(_j, "PartitionBoundSpec.listdatums", _p?.listdatums); - _o.set(_j, "PartitionBoundSpec.lowerdatums", _p?.lowerdatums); - _o.set(_j, "PartitionBoundSpec.upperdatums", _p?.upperdatums); - _o.set(_j, "PartitionBoundSpec.location", _p?.location); - return _j; - }, - partitionRangeDatum(_p?: PartitionRangeDatum["PartitionRangeDatum"]): PartitionRangeDatum { - const _j = ({ - PartitionRangeDatum: {} - } as PartitionRangeDatum); - _o.set(_j, "PartitionRangeDatum.kind", _p?.kind); - _o.set(_j, "PartitionRangeDatum.value", _p?.value); - _o.set(_j, "PartitionRangeDatum.location", _p?.location); - return _j; - }, - partitionCmd(_p?: PartitionCmd["PartitionCmd"]): PartitionCmd { - const _j = ({ - PartitionCmd: {} - } as PartitionCmd); - _o.set(_j, "PartitionCmd.name", _p?.name); - _o.set(_j, "PartitionCmd.bound", _p?.bound); - _o.set(_j, "PartitionCmd.concurrent", _p?.concurrent); - return _j; - }, - rangeTblEntry(_p?: RangeTblEntry["RangeTblEntry"]): RangeTblEntry { - const _j = ({ - RangeTblEntry: {} - } as RangeTblEntry); - _o.set(_j, "RangeTblEntry.rtekind", _p?.rtekind); - _o.set(_j, "RangeTblEntry.relid", _p?.relid); - _o.set(_j, "RangeTblEntry.relkind", _p?.relkind); - _o.set(_j, "RangeTblEntry.rellockmode", _p?.rellockmode); - _o.set(_j, "RangeTblEntry.tablesample", _p?.tablesample); - _o.set(_j, "RangeTblEntry.perminfoindex", _p?.perminfoindex); - _o.set(_j, "RangeTblEntry.subquery", _p?.subquery); - _o.set(_j, "RangeTblEntry.security_barrier", _p?.security_barrier); - _o.set(_j, "RangeTblEntry.jointype", _p?.jointype); - _o.set(_j, "RangeTblEntry.joinmergedcols", _p?.joinmergedcols); - _o.set(_j, "RangeTblEntry.joinaliasvars", _p?.joinaliasvars); - _o.set(_j, "RangeTblEntry.joinleftcols", _p?.joinleftcols); - _o.set(_j, "RangeTblEntry.joinrightcols", _p?.joinrightcols); - _o.set(_j, "RangeTblEntry.join_using_alias", _p?.join_using_alias); - _o.set(_j, "RangeTblEntry.functions", _p?.functions); - _o.set(_j, "RangeTblEntry.funcordinality", _p?.funcordinality); - _o.set(_j, "RangeTblEntry.tablefunc", _p?.tablefunc); - _o.set(_j, "RangeTblEntry.values_lists", _p?.values_lists); - _o.set(_j, "RangeTblEntry.ctename", _p?.ctename); - _o.set(_j, "RangeTblEntry.ctelevelsup", _p?.ctelevelsup); - _o.set(_j, "RangeTblEntry.self_reference", _p?.self_reference); - _o.set(_j, "RangeTblEntry.coltypes", _p?.coltypes); - _o.set(_j, "RangeTblEntry.coltypmods", _p?.coltypmods); - _o.set(_j, "RangeTblEntry.colcollations", _p?.colcollations); - _o.set(_j, "RangeTblEntry.enrname", _p?.enrname); - _o.set(_j, "RangeTblEntry.enrtuples", _p?.enrtuples); - _o.set(_j, "RangeTblEntry.alias", _p?.alias); - _o.set(_j, "RangeTblEntry.eref", _p?.eref); - _o.set(_j, "RangeTblEntry.lateral", _p?.lateral); - _o.set(_j, "RangeTblEntry.inh", _p?.inh); - _o.set(_j, "RangeTblEntry.inFromCl", _p?.inFromCl); - _o.set(_j, "RangeTblEntry.securityQuals", _p?.securityQuals); - return _j; - }, - rtePermissionInfo(_p?: RTEPermissionInfo["RTEPermissionInfo"]): RTEPermissionInfo { - const _j = ({ - RTEPermissionInfo: {} - } as RTEPermissionInfo); - _o.set(_j, "RTEPermissionInfo.relid", _p?.relid); - _o.set(_j, "RTEPermissionInfo.inh", _p?.inh); - _o.set(_j, "RTEPermissionInfo.requiredPerms", _p?.requiredPerms); - _o.set(_j, "RTEPermissionInfo.checkAsUser", _p?.checkAsUser); - _o.set(_j, "RTEPermissionInfo.selectedCols", _p?.selectedCols); - _o.set(_j, "RTEPermissionInfo.insertedCols", _p?.insertedCols); - _o.set(_j, "RTEPermissionInfo.updatedCols", _p?.updatedCols); - return _j; - }, - rangeTblFunction(_p?: RangeTblFunction["RangeTblFunction"]): RangeTblFunction { - const _j = ({ - RangeTblFunction: {} - } as RangeTblFunction); - _o.set(_j, "RangeTblFunction.funcexpr", _p?.funcexpr); - _o.set(_j, "RangeTblFunction.funccolcount", _p?.funccolcount); - _o.set(_j, "RangeTblFunction.funccolnames", _p?.funccolnames); - _o.set(_j, "RangeTblFunction.funccoltypes", _p?.funccoltypes); - _o.set(_j, "RangeTblFunction.funccoltypmods", _p?.funccoltypmods); - _o.set(_j, "RangeTblFunction.funccolcollations", _p?.funccolcollations); - _o.set(_j, "RangeTblFunction.funcparams", _p?.funcparams); - return _j; - }, - tableSampleClause(_p?: TableSampleClause["TableSampleClause"]): TableSampleClause { - const _j = ({ - TableSampleClause: {} - } as TableSampleClause); - _o.set(_j, "TableSampleClause.tsmhandler", _p?.tsmhandler); - _o.set(_j, "TableSampleClause.args", _p?.args); - _o.set(_j, "TableSampleClause.repeatable", _p?.repeatable); - return _j; - }, - withCheckOption(_p?: WithCheckOption["WithCheckOption"]): WithCheckOption { - const _j = ({ - WithCheckOption: {} - } as WithCheckOption); - _o.set(_j, "WithCheckOption.kind", _p?.kind); - _o.set(_j, "WithCheckOption.relname", _p?.relname); - _o.set(_j, "WithCheckOption.polname", _p?.polname); - _o.set(_j, "WithCheckOption.qual", _p?.qual); - _o.set(_j, "WithCheckOption.cascaded", _p?.cascaded); - return _j; - }, - sortGroupClause(_p?: SortGroupClause["SortGroupClause"]): SortGroupClause { - const _j = ({ - SortGroupClause: {} - } as SortGroupClause); - _o.set(_j, "SortGroupClause.tleSortGroupRef", _p?.tleSortGroupRef); - _o.set(_j, "SortGroupClause.eqop", _p?.eqop); - _o.set(_j, "SortGroupClause.sortop", _p?.sortop); - _o.set(_j, "SortGroupClause.nulls_first", _p?.nulls_first); - _o.set(_j, "SortGroupClause.hashable", _p?.hashable); - return _j; - }, - groupingSet(_p?: GroupingSet["GroupingSet"]): GroupingSet { - const _j = ({ - GroupingSet: {} - } as GroupingSet); - _o.set(_j, "GroupingSet.kind", _p?.kind); - _o.set(_j, "GroupingSet.content", _p?.content); - _o.set(_j, "GroupingSet.location", _p?.location); - return _j; - }, - windowClause(_p?: WindowClause["WindowClause"]): WindowClause { - const _j = ({ - WindowClause: {} - } as WindowClause); - _o.set(_j, "WindowClause.name", _p?.name); - _o.set(_j, "WindowClause.refname", _p?.refname); - _o.set(_j, "WindowClause.partitionClause", _p?.partitionClause); - _o.set(_j, "WindowClause.orderClause", _p?.orderClause); - _o.set(_j, "WindowClause.frameOptions", _p?.frameOptions); - _o.set(_j, "WindowClause.startOffset", _p?.startOffset); - _o.set(_j, "WindowClause.endOffset", _p?.endOffset); - _o.set(_j, "WindowClause.runCondition", _p?.runCondition); - _o.set(_j, "WindowClause.startInRangeFunc", _p?.startInRangeFunc); - _o.set(_j, "WindowClause.endInRangeFunc", _p?.endInRangeFunc); - _o.set(_j, "WindowClause.inRangeColl", _p?.inRangeColl); - _o.set(_j, "WindowClause.inRangeAsc", _p?.inRangeAsc); - _o.set(_j, "WindowClause.inRangeNullsFirst", _p?.inRangeNullsFirst); - _o.set(_j, "WindowClause.winref", _p?.winref); - _o.set(_j, "WindowClause.copiedOrder", _p?.copiedOrder); - return _j; - }, - rowMarkClause(_p?: RowMarkClause["RowMarkClause"]): RowMarkClause { - const _j = ({ - RowMarkClause: {} - } as RowMarkClause); - _o.set(_j, "RowMarkClause.rti", _p?.rti); - _o.set(_j, "RowMarkClause.strength", _p?.strength); - _o.set(_j, "RowMarkClause.waitPolicy", _p?.waitPolicy); - _o.set(_j, "RowMarkClause.pushedDown", _p?.pushedDown); - return _j; - }, - withClause(_p?: WithClause["WithClause"]): WithClause { - const _j = ({ - WithClause: {} - } as WithClause); - _o.set(_j, "WithClause.ctes", _p?.ctes); - _o.set(_j, "WithClause.recursive", _p?.recursive); - _o.set(_j, "WithClause.location", _p?.location); - return _j; - }, - inferClause(_p?: InferClause["InferClause"]): InferClause { - const _j = ({ - InferClause: {} - } as InferClause); - _o.set(_j, "InferClause.indexElems", _p?.indexElems); - _o.set(_j, "InferClause.whereClause", _p?.whereClause); - _o.set(_j, "InferClause.conname", _p?.conname); - _o.set(_j, "InferClause.location", _p?.location); - return _j; - }, - onConflictClause(_p?: OnConflictClause["OnConflictClause"]): OnConflictClause { - const _j = ({ - OnConflictClause: {} - } as OnConflictClause); - _o.set(_j, "OnConflictClause.action", _p?.action); - _o.set(_j, "OnConflictClause.infer", _p?.infer); - _o.set(_j, "OnConflictClause.targetList", _p?.targetList); - _o.set(_j, "OnConflictClause.whereClause", _p?.whereClause); - _o.set(_j, "OnConflictClause.location", _p?.location); - return _j; - }, - cteSearchClause(_p?: CTESearchClause["CTESearchClause"]): CTESearchClause { - const _j = ({ - CTESearchClause: {} - } as CTESearchClause); - _o.set(_j, "CTESearchClause.search_col_list", _p?.search_col_list); - _o.set(_j, "CTESearchClause.search_breadth_first", _p?.search_breadth_first); - _o.set(_j, "CTESearchClause.search_seq_column", _p?.search_seq_column); - _o.set(_j, "CTESearchClause.location", _p?.location); - return _j; - }, - cteCycleClause(_p?: CTECycleClause["CTECycleClause"]): CTECycleClause { - const _j = ({ - CTECycleClause: {} - } as CTECycleClause); - _o.set(_j, "CTECycleClause.cycle_col_list", _p?.cycle_col_list); - _o.set(_j, "CTECycleClause.cycle_mark_column", _p?.cycle_mark_column); - _o.set(_j, "CTECycleClause.cycle_mark_value", _p?.cycle_mark_value); - _o.set(_j, "CTECycleClause.cycle_mark_default", _p?.cycle_mark_default); - _o.set(_j, "CTECycleClause.cycle_path_column", _p?.cycle_path_column); - _o.set(_j, "CTECycleClause.location", _p?.location); - _o.set(_j, "CTECycleClause.cycle_mark_type", _p?.cycle_mark_type); - _o.set(_j, "CTECycleClause.cycle_mark_typmod", _p?.cycle_mark_typmod); - _o.set(_j, "CTECycleClause.cycle_mark_collation", _p?.cycle_mark_collation); - _o.set(_j, "CTECycleClause.cycle_mark_neop", _p?.cycle_mark_neop); - return _j; - }, - commonTableExpr(_p?: CommonTableExpr["CommonTableExpr"]): CommonTableExpr { - const _j = ({ - CommonTableExpr: {} - } as CommonTableExpr); - _o.set(_j, "CommonTableExpr.ctename", _p?.ctename); - _o.set(_j, "CommonTableExpr.aliascolnames", _p?.aliascolnames); - _o.set(_j, "CommonTableExpr.ctematerialized", _p?.ctematerialized); - _o.set(_j, "CommonTableExpr.ctequery", _p?.ctequery); - _o.set(_j, "CommonTableExpr.search_clause", _p?.search_clause); - _o.set(_j, "CommonTableExpr.cycle_clause", _p?.cycle_clause); - _o.set(_j, "CommonTableExpr.location", _p?.location); - _o.set(_j, "CommonTableExpr.cterecursive", _p?.cterecursive); - _o.set(_j, "CommonTableExpr.cterefcount", _p?.cterefcount); - _o.set(_j, "CommonTableExpr.ctecolnames", _p?.ctecolnames); - _o.set(_j, "CommonTableExpr.ctecoltypes", _p?.ctecoltypes); - _o.set(_j, "CommonTableExpr.ctecoltypmods", _p?.ctecoltypmods); - _o.set(_j, "CommonTableExpr.ctecolcollations", _p?.ctecolcollations); - return _j; - }, - mergeWhenClause(_p?: MergeWhenClause["MergeWhenClause"]): MergeWhenClause { - const _j = ({ - MergeWhenClause: {} - } as MergeWhenClause); - _o.set(_j, "MergeWhenClause.matched", _p?.matched); - _o.set(_j, "MergeWhenClause.commandType", _p?.commandType); - _o.set(_j, "MergeWhenClause.override", _p?.override); - _o.set(_j, "MergeWhenClause.condition", _p?.condition); - _o.set(_j, "MergeWhenClause.targetList", _p?.targetList); - _o.set(_j, "MergeWhenClause.values", _p?.values); - return _j; - }, - mergeAction(_p?: MergeAction["MergeAction"]): MergeAction { - const _j = ({ - MergeAction: {} - } as MergeAction); - _o.set(_j, "MergeAction.matched", _p?.matched); - _o.set(_j, "MergeAction.commandType", _p?.commandType); - _o.set(_j, "MergeAction.override", _p?.override); - _o.set(_j, "MergeAction.qual", _p?.qual); - _o.set(_j, "MergeAction.targetList", _p?.targetList); - _o.set(_j, "MergeAction.updateColnos", _p?.updateColnos); - return _j; - }, - triggerTransition(_p?: TriggerTransition["TriggerTransition"]): TriggerTransition { - const _j = ({ - TriggerTransition: {} - } as TriggerTransition); - _o.set(_j, "TriggerTransition.name", _p?.name); - _o.set(_j, "TriggerTransition.isNew", _p?.isNew); - _o.set(_j, "TriggerTransition.isTable", _p?.isTable); - return _j; - }, - jsonOutput(_p?: JsonOutput["JsonOutput"]): JsonOutput { - const _j = ({ - JsonOutput: {} - } as JsonOutput); - _o.set(_j, "JsonOutput.typeName", _p?.typeName); - _o.set(_j, "JsonOutput.returning", _p?.returning); - return _j; - }, - jsonKeyValue(_p?: JsonKeyValue["JsonKeyValue"]): JsonKeyValue { - const _j = ({ - JsonKeyValue: {} - } as JsonKeyValue); - _o.set(_j, "JsonKeyValue.key", _p?.key); - _o.set(_j, "JsonKeyValue.value", _p?.value); - return _j; - }, - jsonObjectConstructor(_p?: JsonObjectConstructor["JsonObjectConstructor"]): JsonObjectConstructor { - const _j = ({ - JsonObjectConstructor: {} - } as JsonObjectConstructor); - _o.set(_j, "JsonObjectConstructor.exprs", _p?.exprs); - _o.set(_j, "JsonObjectConstructor.output", _p?.output); - _o.set(_j, "JsonObjectConstructor.absent_on_null", _p?.absent_on_null); - _o.set(_j, "JsonObjectConstructor.unique", _p?.unique); - _o.set(_j, "JsonObjectConstructor.location", _p?.location); - return _j; - }, - jsonArrayConstructor(_p?: JsonArrayConstructor["JsonArrayConstructor"]): JsonArrayConstructor { - const _j = ({ - JsonArrayConstructor: {} - } as JsonArrayConstructor); - _o.set(_j, "JsonArrayConstructor.exprs", _p?.exprs); - _o.set(_j, "JsonArrayConstructor.output", _p?.output); - _o.set(_j, "JsonArrayConstructor.absent_on_null", _p?.absent_on_null); - _o.set(_j, "JsonArrayConstructor.location", _p?.location); - return _j; - }, - jsonArrayQueryConstructor(_p?: JsonArrayQueryConstructor["JsonArrayQueryConstructor"]): JsonArrayQueryConstructor { - const _j = ({ - JsonArrayQueryConstructor: {} - } as JsonArrayQueryConstructor); - _o.set(_j, "JsonArrayQueryConstructor.query", _p?.query); - _o.set(_j, "JsonArrayQueryConstructor.output", _p?.output); - _o.set(_j, "JsonArrayQueryConstructor.format", _p?.format); - _o.set(_j, "JsonArrayQueryConstructor.absent_on_null", _p?.absent_on_null); - _o.set(_j, "JsonArrayQueryConstructor.location", _p?.location); - return _j; - }, - jsonAggConstructor(_p?: JsonAggConstructor["JsonAggConstructor"]): JsonAggConstructor { - const _j = ({ - JsonAggConstructor: {} - } as JsonAggConstructor); - _o.set(_j, "JsonAggConstructor.output", _p?.output); - _o.set(_j, "JsonAggConstructor.agg_filter", _p?.agg_filter); - _o.set(_j, "JsonAggConstructor.agg_order", _p?.agg_order); - _o.set(_j, "JsonAggConstructor.over", _p?.over); - _o.set(_j, "JsonAggConstructor.location", _p?.location); - return _j; - }, - jsonObjectAgg(_p?: JsonObjectAgg["JsonObjectAgg"]): JsonObjectAgg { - const _j = ({ - JsonObjectAgg: {} - } as JsonObjectAgg); - _o.set(_j, "JsonObjectAgg.constructor", _p?.constructor); - _o.set(_j, "JsonObjectAgg.arg", _p?.arg); - _o.set(_j, "JsonObjectAgg.absent_on_null", _p?.absent_on_null); - _o.set(_j, "JsonObjectAgg.unique", _p?.unique); - return _j; - }, - jsonArrayAgg(_p?: JsonArrayAgg["JsonArrayAgg"]): JsonArrayAgg { - const _j = ({ - JsonArrayAgg: {} - } as JsonArrayAgg); - _o.set(_j, "JsonArrayAgg.constructor", _p?.constructor); - _o.set(_j, "JsonArrayAgg.arg", _p?.arg); - _o.set(_j, "JsonArrayAgg.absent_on_null", _p?.absent_on_null); - return _j; - }, - rawStmt(_p?: RawStmt["RawStmt"]): RawStmt { - const _j = ({ - RawStmt: {} - } as RawStmt); - _o.set(_j, "RawStmt.stmt", _p?.stmt); - _o.set(_j, "RawStmt.stmt_location", _p?.stmt_location); - _o.set(_j, "RawStmt.stmt_len", _p?.stmt_len); - return _j; - }, - insertStmt(_p?: InsertStmt["InsertStmt"]): InsertStmt { - const _j = ({ - InsertStmt: {} - } as InsertStmt); - _o.set(_j, "InsertStmt.relation", _p?.relation); - _o.set(_j, "InsertStmt.cols", _p?.cols); - _o.set(_j, "InsertStmt.selectStmt", _p?.selectStmt); - _o.set(_j, "InsertStmt.onConflictClause", _p?.onConflictClause); - _o.set(_j, "InsertStmt.returningList", _p?.returningList); - _o.set(_j, "InsertStmt.withClause", _p?.withClause); - _o.set(_j, "InsertStmt.override", _p?.override); - return _j; - }, - deleteStmt(_p?: DeleteStmt["DeleteStmt"]): DeleteStmt { - const _j = ({ - DeleteStmt: {} - } as DeleteStmt); - _o.set(_j, "DeleteStmt.relation", _p?.relation); - _o.set(_j, "DeleteStmt.usingClause", _p?.usingClause); - _o.set(_j, "DeleteStmt.whereClause", _p?.whereClause); - _o.set(_j, "DeleteStmt.returningList", _p?.returningList); - _o.set(_j, "DeleteStmt.withClause", _p?.withClause); - return _j; - }, - updateStmt(_p?: UpdateStmt["UpdateStmt"]): UpdateStmt { - const _j = ({ - UpdateStmt: {} - } as UpdateStmt); - _o.set(_j, "UpdateStmt.relation", _p?.relation); - _o.set(_j, "UpdateStmt.targetList", _p?.targetList); - _o.set(_j, "UpdateStmt.whereClause", _p?.whereClause); - _o.set(_j, "UpdateStmt.fromClause", _p?.fromClause); - _o.set(_j, "UpdateStmt.returningList", _p?.returningList); - _o.set(_j, "UpdateStmt.withClause", _p?.withClause); - return _j; - }, - mergeStmt(_p?: MergeStmt["MergeStmt"]): MergeStmt { - const _j = ({ - MergeStmt: {} - } as MergeStmt); - _o.set(_j, "MergeStmt.relation", _p?.relation); - _o.set(_j, "MergeStmt.sourceRelation", _p?.sourceRelation); - _o.set(_j, "MergeStmt.joinCondition", _p?.joinCondition); - _o.set(_j, "MergeStmt.mergeWhenClauses", _p?.mergeWhenClauses); - _o.set(_j, "MergeStmt.withClause", _p?.withClause); - return _j; - }, - selectStmt(_p?: SelectStmt["SelectStmt"]): SelectStmt { - const _j = ({ - SelectStmt: {} - } as SelectStmt); - _o.set(_j, "SelectStmt.distinctClause", _p?.distinctClause); - _o.set(_j, "SelectStmt.intoClause", _p?.intoClause); - _o.set(_j, "SelectStmt.targetList", _p?.targetList); - _o.set(_j, "SelectStmt.fromClause", _p?.fromClause); - _o.set(_j, "SelectStmt.whereClause", _p?.whereClause); - _o.set(_j, "SelectStmt.groupClause", _p?.groupClause); - _o.set(_j, "SelectStmt.groupDistinct", _p?.groupDistinct); - _o.set(_j, "SelectStmt.havingClause", _p?.havingClause); - _o.set(_j, "SelectStmt.windowClause", _p?.windowClause); - _o.set(_j, "SelectStmt.valuesLists", _p?.valuesLists); - _o.set(_j, "SelectStmt.sortClause", _p?.sortClause); - _o.set(_j, "SelectStmt.limitOffset", _p?.limitOffset); - _o.set(_j, "SelectStmt.limitCount", _p?.limitCount); - _o.set(_j, "SelectStmt.limitOption", _p?.limitOption); - _o.set(_j, "SelectStmt.lockingClause", _p?.lockingClause); - _o.set(_j, "SelectStmt.withClause", _p?.withClause); - _o.set(_j, "SelectStmt.op", _p?.op); - _o.set(_j, "SelectStmt.all", _p?.all); - _o.set(_j, "SelectStmt.larg", _p?.larg); - _o.set(_j, "SelectStmt.rarg", _p?.rarg); - return _j; - }, - setOperationStmt(_p?: SetOperationStmt["SetOperationStmt"]): SetOperationStmt { - const _j = ({ - SetOperationStmt: {} - } as SetOperationStmt); - _o.set(_j, "SetOperationStmt.op", _p?.op); - _o.set(_j, "SetOperationStmt.all", _p?.all); - _o.set(_j, "SetOperationStmt.larg", _p?.larg); - _o.set(_j, "SetOperationStmt.rarg", _p?.rarg); - _o.set(_j, "SetOperationStmt.colTypes", _p?.colTypes); - _o.set(_j, "SetOperationStmt.colTypmods", _p?.colTypmods); - _o.set(_j, "SetOperationStmt.colCollations", _p?.colCollations); - _o.set(_j, "SetOperationStmt.groupClauses", _p?.groupClauses); - return _j; - }, - returnStmt(_p?: ReturnStmt["ReturnStmt"]): ReturnStmt { - const _j = ({ - ReturnStmt: {} - } as ReturnStmt); - _o.set(_j, "ReturnStmt.returnval", _p?.returnval); - return _j; - }, - plAssignStmt(_p?: PLAssignStmt["PLAssignStmt"]): PLAssignStmt { - const _j = ({ - PLAssignStmt: {} - } as PLAssignStmt); - _o.set(_j, "PLAssignStmt.name", _p?.name); - _o.set(_j, "PLAssignStmt.indirection", _p?.indirection); - _o.set(_j, "PLAssignStmt.nnames", _p?.nnames); - _o.set(_j, "PLAssignStmt.val", _p?.val); - _o.set(_j, "PLAssignStmt.location", _p?.location); - return _j; - }, - createSchemaStmt(_p?: CreateSchemaStmt["CreateSchemaStmt"]): CreateSchemaStmt { - const _j = ({ - CreateSchemaStmt: {} - } as CreateSchemaStmt); - _o.set(_j, "CreateSchemaStmt.schemaname", _p?.schemaname); - _o.set(_j, "CreateSchemaStmt.authrole", _p?.authrole); - _o.set(_j, "CreateSchemaStmt.schemaElts", _p?.schemaElts); - _o.set(_j, "CreateSchemaStmt.if_not_exists", _p?.if_not_exists); - return _j; - }, - alterTableStmt(_p?: AlterTableStmt["AlterTableStmt"]): AlterTableStmt { - const _j = ({ - AlterTableStmt: {} - } as AlterTableStmt); - _o.set(_j, "AlterTableStmt.relation", _p?.relation); - _o.set(_j, "AlterTableStmt.cmds", _p?.cmds); - _o.set(_j, "AlterTableStmt.objtype", _p?.objtype); - _o.set(_j, "AlterTableStmt.missing_ok", _p?.missing_ok); - return _j; - }, - replicaIdentityStmt(_p?: ReplicaIdentityStmt["ReplicaIdentityStmt"]): ReplicaIdentityStmt { - const _j = ({ - ReplicaIdentityStmt: {} - } as ReplicaIdentityStmt); - _o.set(_j, "ReplicaIdentityStmt.identity_type", _p?.identity_type); - _o.set(_j, "ReplicaIdentityStmt.name", _p?.name); - return _j; - }, - alterTableCmd(_p?: AlterTableCmd["AlterTableCmd"]): AlterTableCmd { - const _j = ({ - AlterTableCmd: {} - } as AlterTableCmd); - _o.set(_j, "AlterTableCmd.subtype", _p?.subtype); - _o.set(_j, "AlterTableCmd.name", _p?.name); - _o.set(_j, "AlterTableCmd.num", _p?.num); - _o.set(_j, "AlterTableCmd.newowner", _p?.newowner); - _o.set(_j, "AlterTableCmd.def", _p?.def); - _o.set(_j, "AlterTableCmd.behavior", _p?.behavior); - _o.set(_j, "AlterTableCmd.missing_ok", _p?.missing_ok); - _o.set(_j, "AlterTableCmd.recurse", _p?.recurse); - return _j; - }, - alterCollationStmt(_p?: AlterCollationStmt["AlterCollationStmt"]): AlterCollationStmt { - const _j = ({ - AlterCollationStmt: {} - } as AlterCollationStmt); - _o.set(_j, "AlterCollationStmt.collname", _p?.collname); - return _j; - }, - alterDomainStmt(_p?: AlterDomainStmt["AlterDomainStmt"]): AlterDomainStmt { - const _j = ({ - AlterDomainStmt: {} - } as AlterDomainStmt); - _o.set(_j, "AlterDomainStmt.subtype", _p?.subtype); - _o.set(_j, "AlterDomainStmt.typeName", _p?.typeName); - _o.set(_j, "AlterDomainStmt.name", _p?.name); - _o.set(_j, "AlterDomainStmt.def", _p?.def); - _o.set(_j, "AlterDomainStmt.behavior", _p?.behavior); - _o.set(_j, "AlterDomainStmt.missing_ok", _p?.missing_ok); - return _j; - }, - grantStmt(_p?: GrantStmt["GrantStmt"]): GrantStmt { - const _j = ({ - GrantStmt: {} - } as GrantStmt); - _o.set(_j, "GrantStmt.is_grant", _p?.is_grant); - _o.set(_j, "GrantStmt.targtype", _p?.targtype); - _o.set(_j, "GrantStmt.objtype", _p?.objtype); - _o.set(_j, "GrantStmt.objects", _p?.objects); - _o.set(_j, "GrantStmt.privileges", _p?.privileges); - _o.set(_j, "GrantStmt.grantees", _p?.grantees); - _o.set(_j, "GrantStmt.grant_option", _p?.grant_option); - _o.set(_j, "GrantStmt.grantor", _p?.grantor); - _o.set(_j, "GrantStmt.behavior", _p?.behavior); - return _j; - }, - objectWithArgs(_p?: ObjectWithArgs["ObjectWithArgs"]): ObjectWithArgs { - const _j = ({ - ObjectWithArgs: {} - } as ObjectWithArgs); - _o.set(_j, "ObjectWithArgs.objname", _p?.objname); - _o.set(_j, "ObjectWithArgs.objargs", _p?.objargs); - _o.set(_j, "ObjectWithArgs.objfuncargs", _p?.objfuncargs); - _o.set(_j, "ObjectWithArgs.args_unspecified", _p?.args_unspecified); - return _j; - }, - accessPriv(_p?: AccessPriv["AccessPriv"]): AccessPriv { - const _j = ({ - AccessPriv: {} - } as AccessPriv); - _o.set(_j, "AccessPriv.priv_name", _p?.priv_name); - _o.set(_j, "AccessPriv.cols", _p?.cols); - return _j; - }, - grantRoleStmt(_p?: GrantRoleStmt["GrantRoleStmt"]): GrantRoleStmt { - const _j = ({ - GrantRoleStmt: {} - } as GrantRoleStmt); - _o.set(_j, "GrantRoleStmt.granted_roles", _p?.granted_roles); - _o.set(_j, "GrantRoleStmt.grantee_roles", _p?.grantee_roles); - _o.set(_j, "GrantRoleStmt.is_grant", _p?.is_grant); - _o.set(_j, "GrantRoleStmt.opt", _p?.opt); - _o.set(_j, "GrantRoleStmt.grantor", _p?.grantor); - _o.set(_j, "GrantRoleStmt.behavior", _p?.behavior); - return _j; - }, - alterDefaultPrivilegesStmt(_p?: AlterDefaultPrivilegesStmt["AlterDefaultPrivilegesStmt"]): AlterDefaultPrivilegesStmt { - const _j = ({ - AlterDefaultPrivilegesStmt: {} - } as AlterDefaultPrivilegesStmt); - _o.set(_j, "AlterDefaultPrivilegesStmt.options", _p?.options); - _o.set(_j, "AlterDefaultPrivilegesStmt.action", _p?.action); - return _j; - }, - copyStmt(_p?: CopyStmt["CopyStmt"]): CopyStmt { - const _j = ({ - CopyStmt: {} - } as CopyStmt); - _o.set(_j, "CopyStmt.relation", _p?.relation); - _o.set(_j, "CopyStmt.query", _p?.query); - _o.set(_j, "CopyStmt.attlist", _p?.attlist); - _o.set(_j, "CopyStmt.is_from", _p?.is_from); - _o.set(_j, "CopyStmt.is_program", _p?.is_program); - _o.set(_j, "CopyStmt.filename", _p?.filename); - _o.set(_j, "CopyStmt.options", _p?.options); - _o.set(_j, "CopyStmt.whereClause", _p?.whereClause); - return _j; - }, - variableSetStmt(_p?: VariableSetStmt["VariableSetStmt"]): VariableSetStmt { - const _j = ({ - VariableSetStmt: {} - } as VariableSetStmt); - _o.set(_j, "VariableSetStmt.kind", _p?.kind); - _o.set(_j, "VariableSetStmt.name", _p?.name); - _o.set(_j, "VariableSetStmt.args", _p?.args); - _o.set(_j, "VariableSetStmt.is_local", _p?.is_local); - return _j; - }, - variableShowStmt(_p?: VariableShowStmt["VariableShowStmt"]): VariableShowStmt { - const _j = ({ - VariableShowStmt: {} - } as VariableShowStmt); - _o.set(_j, "VariableShowStmt.name", _p?.name); - return _j; - }, - createStmt(_p?: CreateStmt["CreateStmt"]): CreateStmt { - const _j = ({ - CreateStmt: {} - } as CreateStmt); - _o.set(_j, "CreateStmt.relation", _p?.relation); - _o.set(_j, "CreateStmt.tableElts", _p?.tableElts); - _o.set(_j, "CreateStmt.inhRelations", _p?.inhRelations); - _o.set(_j, "CreateStmt.partbound", _p?.partbound); - _o.set(_j, "CreateStmt.partspec", _p?.partspec); - _o.set(_j, "CreateStmt.ofTypename", _p?.ofTypename); - _o.set(_j, "CreateStmt.constraints", _p?.constraints); - _o.set(_j, "CreateStmt.options", _p?.options); - _o.set(_j, "CreateStmt.oncommit", _p?.oncommit); - _o.set(_j, "CreateStmt.tablespacename", _p?.tablespacename); - _o.set(_j, "CreateStmt.accessMethod", _p?.accessMethod); - _o.set(_j, "CreateStmt.if_not_exists", _p?.if_not_exists); - return _j; - }, - constraint(_p?: Constraint["Constraint"]): Constraint { - const _j = ({ - Constraint: {} - } as Constraint); - _o.set(_j, "Constraint.contype", _p?.contype); - _o.set(_j, "Constraint.conname", _p?.conname); - _o.set(_j, "Constraint.deferrable", _p?.deferrable); - _o.set(_j, "Constraint.initdeferred", _p?.initdeferred); - _o.set(_j, "Constraint.location", _p?.location); - _o.set(_j, "Constraint.is_no_inherit", _p?.is_no_inherit); - _o.set(_j, "Constraint.raw_expr", _p?.raw_expr); - _o.set(_j, "Constraint.cooked_expr", _p?.cooked_expr); - _o.set(_j, "Constraint.generated_when", _p?.generated_when); - _o.set(_j, "Constraint.nulls_not_distinct", _p?.nulls_not_distinct); - _o.set(_j, "Constraint.keys", _p?.keys); - _o.set(_j, "Constraint.including", _p?.including); - _o.set(_j, "Constraint.exclusions", _p?.exclusions); - _o.set(_j, "Constraint.options", _p?.options); - _o.set(_j, "Constraint.indexname", _p?.indexname); - _o.set(_j, "Constraint.indexspace", _p?.indexspace); - _o.set(_j, "Constraint.reset_default_tblspc", _p?.reset_default_tblspc); - _o.set(_j, "Constraint.access_method", _p?.access_method); - _o.set(_j, "Constraint.where_clause", _p?.where_clause); - _o.set(_j, "Constraint.pktable", _p?.pktable); - _o.set(_j, "Constraint.fk_attrs", _p?.fk_attrs); - _o.set(_j, "Constraint.pk_attrs", _p?.pk_attrs); - _o.set(_j, "Constraint.fk_matchtype", _p?.fk_matchtype); - _o.set(_j, "Constraint.fk_upd_action", _p?.fk_upd_action); - _o.set(_j, "Constraint.fk_del_action", _p?.fk_del_action); - _o.set(_j, "Constraint.fk_del_set_cols", _p?.fk_del_set_cols); - _o.set(_j, "Constraint.old_conpfeqop", _p?.old_conpfeqop); - _o.set(_j, "Constraint.old_pktable_oid", _p?.old_pktable_oid); - _o.set(_j, "Constraint.skip_validation", _p?.skip_validation); - _o.set(_j, "Constraint.initially_valid", _p?.initially_valid); - return _j; - }, - createTableSpaceStmt(_p?: CreateTableSpaceStmt["CreateTableSpaceStmt"]): CreateTableSpaceStmt { - const _j = ({ - CreateTableSpaceStmt: {} - } as CreateTableSpaceStmt); - _o.set(_j, "CreateTableSpaceStmt.tablespacename", _p?.tablespacename); - _o.set(_j, "CreateTableSpaceStmt.owner", _p?.owner); - _o.set(_j, "CreateTableSpaceStmt.location", _p?.location); - _o.set(_j, "CreateTableSpaceStmt.options", _p?.options); - return _j; - }, - dropTableSpaceStmt(_p?: DropTableSpaceStmt["DropTableSpaceStmt"]): DropTableSpaceStmt { - const _j = ({ - DropTableSpaceStmt: {} - } as DropTableSpaceStmt); - _o.set(_j, "DropTableSpaceStmt.tablespacename", _p?.tablespacename); - _o.set(_j, "DropTableSpaceStmt.missing_ok", _p?.missing_ok); - return _j; - }, - alterTableSpaceOptionsStmt(_p?: AlterTableSpaceOptionsStmt["AlterTableSpaceOptionsStmt"]): AlterTableSpaceOptionsStmt { - const _j = ({ - AlterTableSpaceOptionsStmt: {} - } as AlterTableSpaceOptionsStmt); - _o.set(_j, "AlterTableSpaceOptionsStmt.tablespacename", _p?.tablespacename); - _o.set(_j, "AlterTableSpaceOptionsStmt.options", _p?.options); - _o.set(_j, "AlterTableSpaceOptionsStmt.isReset", _p?.isReset); - return _j; - }, - alterTableMoveAllStmt(_p?: AlterTableMoveAllStmt["AlterTableMoveAllStmt"]): AlterTableMoveAllStmt { - const _j = ({ - AlterTableMoveAllStmt: {} - } as AlterTableMoveAllStmt); - _o.set(_j, "AlterTableMoveAllStmt.orig_tablespacename", _p?.orig_tablespacename); - _o.set(_j, "AlterTableMoveAllStmt.objtype", _p?.objtype); - _o.set(_j, "AlterTableMoveAllStmt.roles", _p?.roles); - _o.set(_j, "AlterTableMoveAllStmt.new_tablespacename", _p?.new_tablespacename); - _o.set(_j, "AlterTableMoveAllStmt.nowait", _p?.nowait); - return _j; - }, - createExtensionStmt(_p?: CreateExtensionStmt["CreateExtensionStmt"]): CreateExtensionStmt { - const _j = ({ - CreateExtensionStmt: {} - } as CreateExtensionStmt); - _o.set(_j, "CreateExtensionStmt.extname", _p?.extname); - _o.set(_j, "CreateExtensionStmt.if_not_exists", _p?.if_not_exists); - _o.set(_j, "CreateExtensionStmt.options", _p?.options); - return _j; - }, - alterExtensionStmt(_p?: AlterExtensionStmt["AlterExtensionStmt"]): AlterExtensionStmt { - const _j = ({ - AlterExtensionStmt: {} - } as AlterExtensionStmt); - _o.set(_j, "AlterExtensionStmt.extname", _p?.extname); - _o.set(_j, "AlterExtensionStmt.options", _p?.options); - return _j; - }, - alterExtensionContentsStmt(_p?: AlterExtensionContentsStmt["AlterExtensionContentsStmt"]): AlterExtensionContentsStmt { - const _j = ({ - AlterExtensionContentsStmt: {} - } as AlterExtensionContentsStmt); - _o.set(_j, "AlterExtensionContentsStmt.extname", _p?.extname); - _o.set(_j, "AlterExtensionContentsStmt.action", _p?.action); - _o.set(_j, "AlterExtensionContentsStmt.objtype", _p?.objtype); - _o.set(_j, "AlterExtensionContentsStmt.object", _p?.object); - return _j; - }, - createFdwStmt(_p?: CreateFdwStmt["CreateFdwStmt"]): CreateFdwStmt { - const _j = ({ - CreateFdwStmt: {} - } as CreateFdwStmt); - _o.set(_j, "CreateFdwStmt.fdwname", _p?.fdwname); - _o.set(_j, "CreateFdwStmt.func_options", _p?.func_options); - _o.set(_j, "CreateFdwStmt.options", _p?.options); - return _j; - }, - alterFdwStmt(_p?: AlterFdwStmt["AlterFdwStmt"]): AlterFdwStmt { - const _j = ({ - AlterFdwStmt: {} - } as AlterFdwStmt); - _o.set(_j, "AlterFdwStmt.fdwname", _p?.fdwname); - _o.set(_j, "AlterFdwStmt.func_options", _p?.func_options); - _o.set(_j, "AlterFdwStmt.options", _p?.options); - return _j; - }, - createForeignServerStmt(_p?: CreateForeignServerStmt["CreateForeignServerStmt"]): CreateForeignServerStmt { - const _j = ({ - CreateForeignServerStmt: {} - } as CreateForeignServerStmt); - _o.set(_j, "CreateForeignServerStmt.servername", _p?.servername); - _o.set(_j, "CreateForeignServerStmt.servertype", _p?.servertype); - _o.set(_j, "CreateForeignServerStmt.version", _p?.version); - _o.set(_j, "CreateForeignServerStmt.fdwname", _p?.fdwname); - _o.set(_j, "CreateForeignServerStmt.if_not_exists", _p?.if_not_exists); - _o.set(_j, "CreateForeignServerStmt.options", _p?.options); - return _j; - }, - alterForeignServerStmt(_p?: AlterForeignServerStmt["AlterForeignServerStmt"]): AlterForeignServerStmt { - const _j = ({ - AlterForeignServerStmt: {} - } as AlterForeignServerStmt); - _o.set(_j, "AlterForeignServerStmt.servername", _p?.servername); - _o.set(_j, "AlterForeignServerStmt.version", _p?.version); - _o.set(_j, "AlterForeignServerStmt.options", _p?.options); - _o.set(_j, "AlterForeignServerStmt.has_version", _p?.has_version); - return _j; - }, - createForeignTableStmt(_p?: CreateForeignTableStmt["CreateForeignTableStmt"]): CreateForeignTableStmt { - const _j = ({ - CreateForeignTableStmt: {} - } as CreateForeignTableStmt); - _o.set(_j, "CreateForeignTableStmt.base", _p?.base); - _o.set(_j, "CreateForeignTableStmt.servername", _p?.servername); - _o.set(_j, "CreateForeignTableStmt.options", _p?.options); - return _j; - }, - createUserMappingStmt(_p?: CreateUserMappingStmt["CreateUserMappingStmt"]): CreateUserMappingStmt { - const _j = ({ - CreateUserMappingStmt: {} - } as CreateUserMappingStmt); - _o.set(_j, "CreateUserMappingStmt.user", _p?.user); - _o.set(_j, "CreateUserMappingStmt.servername", _p?.servername); - _o.set(_j, "CreateUserMappingStmt.if_not_exists", _p?.if_not_exists); - _o.set(_j, "CreateUserMappingStmt.options", _p?.options); - return _j; - }, - alterUserMappingStmt(_p?: AlterUserMappingStmt["AlterUserMappingStmt"]): AlterUserMappingStmt { - const _j = ({ - AlterUserMappingStmt: {} - } as AlterUserMappingStmt); - _o.set(_j, "AlterUserMappingStmt.user", _p?.user); - _o.set(_j, "AlterUserMappingStmt.servername", _p?.servername); - _o.set(_j, "AlterUserMappingStmt.options", _p?.options); - return _j; - }, - dropUserMappingStmt(_p?: DropUserMappingStmt["DropUserMappingStmt"]): DropUserMappingStmt { - const _j = ({ - DropUserMappingStmt: {} - } as DropUserMappingStmt); - _o.set(_j, "DropUserMappingStmt.user", _p?.user); - _o.set(_j, "DropUserMappingStmt.servername", _p?.servername); - _o.set(_j, "DropUserMappingStmt.missing_ok", _p?.missing_ok); - return _j; - }, - importForeignSchemaStmt(_p?: ImportForeignSchemaStmt["ImportForeignSchemaStmt"]): ImportForeignSchemaStmt { - const _j = ({ - ImportForeignSchemaStmt: {} - } as ImportForeignSchemaStmt); - _o.set(_j, "ImportForeignSchemaStmt.server_name", _p?.server_name); - _o.set(_j, "ImportForeignSchemaStmt.remote_schema", _p?.remote_schema); - _o.set(_j, "ImportForeignSchemaStmt.local_schema", _p?.local_schema); - _o.set(_j, "ImportForeignSchemaStmt.list_type", _p?.list_type); - _o.set(_j, "ImportForeignSchemaStmt.table_list", _p?.table_list); - _o.set(_j, "ImportForeignSchemaStmt.options", _p?.options); - return _j; - }, - createPolicyStmt(_p?: CreatePolicyStmt["CreatePolicyStmt"]): CreatePolicyStmt { - const _j = ({ - CreatePolicyStmt: {} - } as CreatePolicyStmt); - _o.set(_j, "CreatePolicyStmt.policy_name", _p?.policy_name); - _o.set(_j, "CreatePolicyStmt.table", _p?.table); - _o.set(_j, "CreatePolicyStmt.cmd_name", _p?.cmd_name); - _o.set(_j, "CreatePolicyStmt.permissive", _p?.permissive); - _o.set(_j, "CreatePolicyStmt.roles", _p?.roles); - _o.set(_j, "CreatePolicyStmt.qual", _p?.qual); - _o.set(_j, "CreatePolicyStmt.with_check", _p?.with_check); - return _j; - }, - alterPolicyStmt(_p?: AlterPolicyStmt["AlterPolicyStmt"]): AlterPolicyStmt { - const _j = ({ - AlterPolicyStmt: {} - } as AlterPolicyStmt); - _o.set(_j, "AlterPolicyStmt.policy_name", _p?.policy_name); - _o.set(_j, "AlterPolicyStmt.table", _p?.table); - _o.set(_j, "AlterPolicyStmt.roles", _p?.roles); - _o.set(_j, "AlterPolicyStmt.qual", _p?.qual); - _o.set(_j, "AlterPolicyStmt.with_check", _p?.with_check); - return _j; - }, - createAmStmt(_p?: CreateAmStmt["CreateAmStmt"]): CreateAmStmt { - const _j = ({ - CreateAmStmt: {} - } as CreateAmStmt); - _o.set(_j, "CreateAmStmt.amname", _p?.amname); - _o.set(_j, "CreateAmStmt.handler_name", _p?.handler_name); - _o.set(_j, "CreateAmStmt.amtype", _p?.amtype); - return _j; - }, - createTrigStmt(_p?: CreateTrigStmt["CreateTrigStmt"]): CreateTrigStmt { - const _j = ({ - CreateTrigStmt: {} - } as CreateTrigStmt); - _o.set(_j, "CreateTrigStmt.replace", _p?.replace); - _o.set(_j, "CreateTrigStmt.isconstraint", _p?.isconstraint); - _o.set(_j, "CreateTrigStmt.trigname", _p?.trigname); - _o.set(_j, "CreateTrigStmt.relation", _p?.relation); - _o.set(_j, "CreateTrigStmt.funcname", _p?.funcname); - _o.set(_j, "CreateTrigStmt.args", _p?.args); - _o.set(_j, "CreateTrigStmt.row", _p?.row); - _o.set(_j, "CreateTrigStmt.timing", _p?.timing); - _o.set(_j, "CreateTrigStmt.events", _p?.events); - _o.set(_j, "CreateTrigStmt.columns", _p?.columns); - _o.set(_j, "CreateTrigStmt.whenClause", _p?.whenClause); - _o.set(_j, "CreateTrigStmt.transitionRels", _p?.transitionRels); - _o.set(_j, "CreateTrigStmt.deferrable", _p?.deferrable); - _o.set(_j, "CreateTrigStmt.initdeferred", _p?.initdeferred); - _o.set(_j, "CreateTrigStmt.constrrel", _p?.constrrel); - return _j; - }, - createEventTrigStmt(_p?: CreateEventTrigStmt["CreateEventTrigStmt"]): CreateEventTrigStmt { - const _j = ({ - CreateEventTrigStmt: {} - } as CreateEventTrigStmt); - _o.set(_j, "CreateEventTrigStmt.trigname", _p?.trigname); - _o.set(_j, "CreateEventTrigStmt.eventname", _p?.eventname); - _o.set(_j, "CreateEventTrigStmt.whenclause", _p?.whenclause); - _o.set(_j, "CreateEventTrigStmt.funcname", _p?.funcname); - return _j; - }, - alterEventTrigStmt(_p?: AlterEventTrigStmt["AlterEventTrigStmt"]): AlterEventTrigStmt { - const _j = ({ - AlterEventTrigStmt: {} - } as AlterEventTrigStmt); - _o.set(_j, "AlterEventTrigStmt.trigname", _p?.trigname); - _o.set(_j, "AlterEventTrigStmt.tgenabled", _p?.tgenabled); - return _j; - }, - createpLangStmt(_p?: CreatePLangStmt["CreatePLangStmt"]): CreatePLangStmt { - const _j = ({ - CreatePLangStmt: {} - } as CreatePLangStmt); - _o.set(_j, "CreatePLangStmt.replace", _p?.replace); - _o.set(_j, "CreatePLangStmt.plname", _p?.plname); - _o.set(_j, "CreatePLangStmt.plhandler", _p?.plhandler); - _o.set(_j, "CreatePLangStmt.plinline", _p?.plinline); - _o.set(_j, "CreatePLangStmt.plvalidator", _p?.plvalidator); - _o.set(_j, "CreatePLangStmt.pltrusted", _p?.pltrusted); - return _j; - }, - createRoleStmt(_p?: CreateRoleStmt["CreateRoleStmt"]): CreateRoleStmt { - const _j = ({ - CreateRoleStmt: {} - } as CreateRoleStmt); - _o.set(_j, "CreateRoleStmt.stmt_type", _p?.stmt_type); - _o.set(_j, "CreateRoleStmt.role", _p?.role); - _o.set(_j, "CreateRoleStmt.options", _p?.options); - return _j; - }, - alterRoleStmt(_p?: AlterRoleStmt["AlterRoleStmt"]): AlterRoleStmt { - const _j = ({ - AlterRoleStmt: {} - } as AlterRoleStmt); - _o.set(_j, "AlterRoleStmt.role", _p?.role); - _o.set(_j, "AlterRoleStmt.options", _p?.options); - _o.set(_j, "AlterRoleStmt.action", _p?.action); - return _j; - }, - alterRoleSetStmt(_p?: AlterRoleSetStmt["AlterRoleSetStmt"]): AlterRoleSetStmt { - const _j = ({ - AlterRoleSetStmt: {} - } as AlterRoleSetStmt); - _o.set(_j, "AlterRoleSetStmt.role", _p?.role); - _o.set(_j, "AlterRoleSetStmt.database", _p?.database); - _o.set(_j, "AlterRoleSetStmt.setstmt", _p?.setstmt); - return _j; - }, - dropRoleStmt(_p?: DropRoleStmt["DropRoleStmt"]): DropRoleStmt { - const _j = ({ - DropRoleStmt: {} - } as DropRoleStmt); - _o.set(_j, "DropRoleStmt.roles", _p?.roles); - _o.set(_j, "DropRoleStmt.missing_ok", _p?.missing_ok); - return _j; - }, - createSeqStmt(_p?: CreateSeqStmt["CreateSeqStmt"]): CreateSeqStmt { - const _j = ({ - CreateSeqStmt: {} - } as CreateSeqStmt); - _o.set(_j, "CreateSeqStmt.sequence", _p?.sequence); - _o.set(_j, "CreateSeqStmt.options", _p?.options); - _o.set(_j, "CreateSeqStmt.ownerId", _p?.ownerId); - _o.set(_j, "CreateSeqStmt.for_identity", _p?.for_identity); - _o.set(_j, "CreateSeqStmt.if_not_exists", _p?.if_not_exists); - return _j; - }, - alterSeqStmt(_p?: AlterSeqStmt["AlterSeqStmt"]): AlterSeqStmt { - const _j = ({ - AlterSeqStmt: {} - } as AlterSeqStmt); - _o.set(_j, "AlterSeqStmt.sequence", _p?.sequence); - _o.set(_j, "AlterSeqStmt.options", _p?.options); - _o.set(_j, "AlterSeqStmt.for_identity", _p?.for_identity); - _o.set(_j, "AlterSeqStmt.missing_ok", _p?.missing_ok); - return _j; - }, - defineStmt(_p?: DefineStmt["DefineStmt"]): DefineStmt { - const _j = ({ - DefineStmt: {} - } as DefineStmt); - _o.set(_j, "DefineStmt.kind", _p?.kind); - _o.set(_j, "DefineStmt.oldstyle", _p?.oldstyle); - _o.set(_j, "DefineStmt.defnames", _p?.defnames); - _o.set(_j, "DefineStmt.args", _p?.args); - _o.set(_j, "DefineStmt.definition", _p?.definition); - _o.set(_j, "DefineStmt.if_not_exists", _p?.if_not_exists); - _o.set(_j, "DefineStmt.replace", _p?.replace); - return _j; - }, - createDomainStmt(_p?: CreateDomainStmt["CreateDomainStmt"]): CreateDomainStmt { - const _j = ({ - CreateDomainStmt: {} - } as CreateDomainStmt); - _o.set(_j, "CreateDomainStmt.domainname", _p?.domainname); - _o.set(_j, "CreateDomainStmt.typeName", _p?.typeName); - _o.set(_j, "CreateDomainStmt.collClause", _p?.collClause); - _o.set(_j, "CreateDomainStmt.constraints", _p?.constraints); - return _j; - }, - createOpClassStmt(_p?: CreateOpClassStmt["CreateOpClassStmt"]): CreateOpClassStmt { - const _j = ({ - CreateOpClassStmt: {} - } as CreateOpClassStmt); - _o.set(_j, "CreateOpClassStmt.opclassname", _p?.opclassname); - _o.set(_j, "CreateOpClassStmt.opfamilyname", _p?.opfamilyname); - _o.set(_j, "CreateOpClassStmt.amname", _p?.amname); - _o.set(_j, "CreateOpClassStmt.datatype", _p?.datatype); - _o.set(_j, "CreateOpClassStmt.items", _p?.items); - _o.set(_j, "CreateOpClassStmt.isDefault", _p?.isDefault); - return _j; - }, - createOpClassItem(_p?: CreateOpClassItem["CreateOpClassItem"]): CreateOpClassItem { - const _j = ({ - CreateOpClassItem: {} - } as CreateOpClassItem); - _o.set(_j, "CreateOpClassItem.itemtype", _p?.itemtype); - _o.set(_j, "CreateOpClassItem.name", _p?.name); - _o.set(_j, "CreateOpClassItem.number", _p?.number); - _o.set(_j, "CreateOpClassItem.order_family", _p?.order_family); - _o.set(_j, "CreateOpClassItem.class_args", _p?.class_args); - _o.set(_j, "CreateOpClassItem.storedtype", _p?.storedtype); - return _j; - }, - createOpFamilyStmt(_p?: CreateOpFamilyStmt["CreateOpFamilyStmt"]): CreateOpFamilyStmt { - const _j = ({ - CreateOpFamilyStmt: {} - } as CreateOpFamilyStmt); - _o.set(_j, "CreateOpFamilyStmt.opfamilyname", _p?.opfamilyname); - _o.set(_j, "CreateOpFamilyStmt.amname", _p?.amname); - return _j; - }, - alterOpFamilyStmt(_p?: AlterOpFamilyStmt["AlterOpFamilyStmt"]): AlterOpFamilyStmt { - const _j = ({ - AlterOpFamilyStmt: {} - } as AlterOpFamilyStmt); - _o.set(_j, "AlterOpFamilyStmt.opfamilyname", _p?.opfamilyname); - _o.set(_j, "AlterOpFamilyStmt.amname", _p?.amname); - _o.set(_j, "AlterOpFamilyStmt.isDrop", _p?.isDrop); - _o.set(_j, "AlterOpFamilyStmt.items", _p?.items); - return _j; - }, - dropStmt(_p?: DropStmt["DropStmt"]): DropStmt { - const _j = ({ - DropStmt: {} - } as DropStmt); - _o.set(_j, "DropStmt.objects", _p?.objects); - _o.set(_j, "DropStmt.removeType", _p?.removeType); - _o.set(_j, "DropStmt.behavior", _p?.behavior); - _o.set(_j, "DropStmt.missing_ok", _p?.missing_ok); - _o.set(_j, "DropStmt.concurrent", _p?.concurrent); - return _j; - }, - truncateStmt(_p?: TruncateStmt["TruncateStmt"]): TruncateStmt { - const _j = ({ - TruncateStmt: {} - } as TruncateStmt); - _o.set(_j, "TruncateStmt.relations", _p?.relations); - _o.set(_j, "TruncateStmt.restart_seqs", _p?.restart_seqs); - _o.set(_j, "TruncateStmt.behavior", _p?.behavior); - return _j; - }, - commentStmt(_p?: CommentStmt["CommentStmt"]): CommentStmt { - const _j = ({ - CommentStmt: {} - } as CommentStmt); - _o.set(_j, "CommentStmt.objtype", _p?.objtype); - _o.set(_j, "CommentStmt.object", _p?.object); - _o.set(_j, "CommentStmt.comment", _p?.comment); - return _j; - }, - secLabelStmt(_p?: SecLabelStmt["SecLabelStmt"]): SecLabelStmt { - const _j = ({ - SecLabelStmt: {} - } as SecLabelStmt); - _o.set(_j, "SecLabelStmt.objtype", _p?.objtype); - _o.set(_j, "SecLabelStmt.object", _p?.object); - _o.set(_j, "SecLabelStmt.provider", _p?.provider); - _o.set(_j, "SecLabelStmt.label", _p?.label); - return _j; - }, - declareCursorStmt(_p?: DeclareCursorStmt["DeclareCursorStmt"]): DeclareCursorStmt { - const _j = ({ - DeclareCursorStmt: {} - } as DeclareCursorStmt); - _o.set(_j, "DeclareCursorStmt.portalname", _p?.portalname); - _o.set(_j, "DeclareCursorStmt.options", _p?.options); - _o.set(_j, "DeclareCursorStmt.query", _p?.query); - return _j; - }, - closePortalStmt(_p?: ClosePortalStmt["ClosePortalStmt"]): ClosePortalStmt { - const _j = ({ - ClosePortalStmt: {} - } as ClosePortalStmt); - _o.set(_j, "ClosePortalStmt.portalname", _p?.portalname); - return _j; - }, - fetchStmt(_p?: FetchStmt["FetchStmt"]): FetchStmt { - const _j = ({ - FetchStmt: {} - } as FetchStmt); - _o.set(_j, "FetchStmt.direction", _p?.direction); - _o.set(_j, "FetchStmt.howMany", _p?.howMany); - _o.set(_j, "FetchStmt.portalname", _p?.portalname); - _o.set(_j, "FetchStmt.ismove", _p?.ismove); - return _j; - }, - indexStmt(_p?: IndexStmt["IndexStmt"]): IndexStmt { - const _j = ({ - IndexStmt: {} - } as IndexStmt); - _o.set(_j, "IndexStmt.idxname", _p?.idxname); - _o.set(_j, "IndexStmt.relation", _p?.relation); - _o.set(_j, "IndexStmt.accessMethod", _p?.accessMethod); - _o.set(_j, "IndexStmt.tableSpace", _p?.tableSpace); - _o.set(_j, "IndexStmt.indexParams", _p?.indexParams); - _o.set(_j, "IndexStmt.indexIncludingParams", _p?.indexIncludingParams); - _o.set(_j, "IndexStmt.options", _p?.options); - _o.set(_j, "IndexStmt.whereClause", _p?.whereClause); - _o.set(_j, "IndexStmt.excludeOpNames", _p?.excludeOpNames); - _o.set(_j, "IndexStmt.idxcomment", _p?.idxcomment); - _o.set(_j, "IndexStmt.indexOid", _p?.indexOid); - _o.set(_j, "IndexStmt.oldNumber", _p?.oldNumber); - _o.set(_j, "IndexStmt.oldCreateSubid", _p?.oldCreateSubid); - _o.set(_j, "IndexStmt.oldFirstRelfilelocatorSubid", _p?.oldFirstRelfilelocatorSubid); - _o.set(_j, "IndexStmt.unique", _p?.unique); - _o.set(_j, "IndexStmt.nulls_not_distinct", _p?.nulls_not_distinct); - _o.set(_j, "IndexStmt.primary", _p?.primary); - _o.set(_j, "IndexStmt.isconstraint", _p?.isconstraint); - _o.set(_j, "IndexStmt.deferrable", _p?.deferrable); - _o.set(_j, "IndexStmt.initdeferred", _p?.initdeferred); - _o.set(_j, "IndexStmt.transformed", _p?.transformed); - _o.set(_j, "IndexStmt.concurrent", _p?.concurrent); - _o.set(_j, "IndexStmt.if_not_exists", _p?.if_not_exists); - _o.set(_j, "IndexStmt.reset_default_tblspc", _p?.reset_default_tblspc); - return _j; - }, - createStatsStmt(_p?: CreateStatsStmt["CreateStatsStmt"]): CreateStatsStmt { - const _j = ({ - CreateStatsStmt: {} - } as CreateStatsStmt); - _o.set(_j, "CreateStatsStmt.defnames", _p?.defnames); - _o.set(_j, "CreateStatsStmt.stat_types", _p?.stat_types); - _o.set(_j, "CreateStatsStmt.exprs", _p?.exprs); - _o.set(_j, "CreateStatsStmt.relations", _p?.relations); - _o.set(_j, "CreateStatsStmt.stxcomment", _p?.stxcomment); - _o.set(_j, "CreateStatsStmt.transformed", _p?.transformed); - _o.set(_j, "CreateStatsStmt.if_not_exists", _p?.if_not_exists); - return _j; - }, - statsElem(_p?: StatsElem["StatsElem"]): StatsElem { - const _j = ({ - StatsElem: {} - } as StatsElem); - _o.set(_j, "StatsElem.name", _p?.name); - _o.set(_j, "StatsElem.expr", _p?.expr); - return _j; - }, - alterStatsStmt(_p?: AlterStatsStmt["AlterStatsStmt"]): AlterStatsStmt { - const _j = ({ - AlterStatsStmt: {} - } as AlterStatsStmt); - _o.set(_j, "AlterStatsStmt.defnames", _p?.defnames); - _o.set(_j, "AlterStatsStmt.stxstattarget", _p?.stxstattarget); - _o.set(_j, "AlterStatsStmt.missing_ok", _p?.missing_ok); - return _j; - }, - createFunctionStmt(_p?: CreateFunctionStmt["CreateFunctionStmt"]): CreateFunctionStmt { - const _j = ({ - CreateFunctionStmt: {} - } as CreateFunctionStmt); - _o.set(_j, "CreateFunctionStmt.is_procedure", _p?.is_procedure); - _o.set(_j, "CreateFunctionStmt.replace", _p?.replace); - _o.set(_j, "CreateFunctionStmt.funcname", _p?.funcname); - _o.set(_j, "CreateFunctionStmt.parameters", _p?.parameters); - _o.set(_j, "CreateFunctionStmt.returnType", _p?.returnType); - _o.set(_j, "CreateFunctionStmt.options", _p?.options); - _o.set(_j, "CreateFunctionStmt.sql_body", _p?.sql_body); - return _j; - }, - functionParameter(_p?: FunctionParameter["FunctionParameter"]): FunctionParameter { - const _j = ({ - FunctionParameter: {} - } as FunctionParameter); - _o.set(_j, "FunctionParameter.name", _p?.name); - _o.set(_j, "FunctionParameter.argType", _p?.argType); - _o.set(_j, "FunctionParameter.mode", _p?.mode); - _o.set(_j, "FunctionParameter.defexpr", _p?.defexpr); - return _j; - }, - alterFunctionStmt(_p?: AlterFunctionStmt["AlterFunctionStmt"]): AlterFunctionStmt { - const _j = ({ - AlterFunctionStmt: {} - } as AlterFunctionStmt); - _o.set(_j, "AlterFunctionStmt.objtype", _p?.objtype); - _o.set(_j, "AlterFunctionStmt.func", _p?.func); - _o.set(_j, "AlterFunctionStmt.actions", _p?.actions); - return _j; - }, - doStmt(_p?: DoStmt["DoStmt"]): DoStmt { - const _j = ({ - DoStmt: {} - } as DoStmt); - _o.set(_j, "DoStmt.args", _p?.args); - return _j; - }, - inlineCodeBlock(_p?: InlineCodeBlock["InlineCodeBlock"]): InlineCodeBlock { - const _j = ({ - InlineCodeBlock: {} - } as InlineCodeBlock); - _o.set(_j, "InlineCodeBlock.source_text", _p?.source_text); - _o.set(_j, "InlineCodeBlock.langOid", _p?.langOid); - _o.set(_j, "InlineCodeBlock.langIsTrusted", _p?.langIsTrusted); - _o.set(_j, "InlineCodeBlock.atomic", _p?.atomic); - return _j; - }, - callStmt(_p?: CallStmt["CallStmt"]): CallStmt { - const _j = ({ - CallStmt: {} - } as CallStmt); - _o.set(_j, "CallStmt.funccall", _p?.funccall); - _o.set(_j, "CallStmt.funcexpr", _p?.funcexpr); - _o.set(_j, "CallStmt.outargs", _p?.outargs); - return _j; - }, - callContext(_p?: CallContext["CallContext"]): CallContext { - const _j = ({ - CallContext: {} - } as CallContext); - _o.set(_j, "CallContext.atomic", _p?.atomic); - return _j; - }, - renameStmt(_p?: RenameStmt["RenameStmt"]): RenameStmt { - const _j = ({ - RenameStmt: {} - } as RenameStmt); - _o.set(_j, "RenameStmt.renameType", _p?.renameType); - _o.set(_j, "RenameStmt.relationType", _p?.relationType); - _o.set(_j, "RenameStmt.relation", _p?.relation); - _o.set(_j, "RenameStmt.object", _p?.object); - _o.set(_j, "RenameStmt.subname", _p?.subname); - _o.set(_j, "RenameStmt.newname", _p?.newname); - _o.set(_j, "RenameStmt.behavior", _p?.behavior); - _o.set(_j, "RenameStmt.missing_ok", _p?.missing_ok); - return _j; - }, - alterObjectDependsStmt(_p?: AlterObjectDependsStmt["AlterObjectDependsStmt"]): AlterObjectDependsStmt { - const _j = ({ - AlterObjectDependsStmt: {} - } as AlterObjectDependsStmt); - _o.set(_j, "AlterObjectDependsStmt.objectType", _p?.objectType); - _o.set(_j, "AlterObjectDependsStmt.relation", _p?.relation); - _o.set(_j, "AlterObjectDependsStmt.object", _p?.object); - _o.set(_j, "AlterObjectDependsStmt.extname", _p?.extname); - _o.set(_j, "AlterObjectDependsStmt.remove", _p?.remove); - return _j; - }, - alterObjectSchemaStmt(_p?: AlterObjectSchemaStmt["AlterObjectSchemaStmt"]): AlterObjectSchemaStmt { - const _j = ({ - AlterObjectSchemaStmt: {} - } as AlterObjectSchemaStmt); - _o.set(_j, "AlterObjectSchemaStmt.objectType", _p?.objectType); - _o.set(_j, "AlterObjectSchemaStmt.relation", _p?.relation); - _o.set(_j, "AlterObjectSchemaStmt.object", _p?.object); - _o.set(_j, "AlterObjectSchemaStmt.newschema", _p?.newschema); - _o.set(_j, "AlterObjectSchemaStmt.missing_ok", _p?.missing_ok); - return _j; - }, - alterOwnerStmt(_p?: AlterOwnerStmt["AlterOwnerStmt"]): AlterOwnerStmt { - const _j = ({ - AlterOwnerStmt: {} - } as AlterOwnerStmt); - _o.set(_j, "AlterOwnerStmt.objectType", _p?.objectType); - _o.set(_j, "AlterOwnerStmt.relation", _p?.relation); - _o.set(_j, "AlterOwnerStmt.object", _p?.object); - _o.set(_j, "AlterOwnerStmt.newowner", _p?.newowner); - return _j; - }, - alterOperatorStmt(_p?: AlterOperatorStmt["AlterOperatorStmt"]): AlterOperatorStmt { - const _j = ({ - AlterOperatorStmt: {} - } as AlterOperatorStmt); - _o.set(_j, "AlterOperatorStmt.opername", _p?.opername); - _o.set(_j, "AlterOperatorStmt.options", _p?.options); - return _j; - }, - alterTypeStmt(_p?: AlterTypeStmt["AlterTypeStmt"]): AlterTypeStmt { - const _j = ({ - AlterTypeStmt: {} - } as AlterTypeStmt); - _o.set(_j, "AlterTypeStmt.typeName", _p?.typeName); - _o.set(_j, "AlterTypeStmt.options", _p?.options); - return _j; - }, - ruleStmt(_p?: RuleStmt["RuleStmt"]): RuleStmt { - const _j = ({ - RuleStmt: {} - } as RuleStmt); - _o.set(_j, "RuleStmt.relation", _p?.relation); - _o.set(_j, "RuleStmt.rulename", _p?.rulename); - _o.set(_j, "RuleStmt.whereClause", _p?.whereClause); - _o.set(_j, "RuleStmt.event", _p?.event); - _o.set(_j, "RuleStmt.instead", _p?.instead); - _o.set(_j, "RuleStmt.actions", _p?.actions); - _o.set(_j, "RuleStmt.replace", _p?.replace); - return _j; - }, - notifyStmt(_p?: NotifyStmt["NotifyStmt"]): NotifyStmt { - const _j = ({ - NotifyStmt: {} - } as NotifyStmt); - _o.set(_j, "NotifyStmt.conditionname", _p?.conditionname); - _o.set(_j, "NotifyStmt.payload", _p?.payload); - return _j; - }, - listenStmt(_p?: ListenStmt["ListenStmt"]): ListenStmt { - const _j = ({ - ListenStmt: {} - } as ListenStmt); - _o.set(_j, "ListenStmt.conditionname", _p?.conditionname); - return _j; - }, - unlistenStmt(_p?: UnlistenStmt["UnlistenStmt"]): UnlistenStmt { - const _j = ({ - UnlistenStmt: {} - } as UnlistenStmt); - _o.set(_j, "UnlistenStmt.conditionname", _p?.conditionname); - return _j; - }, - transactionStmt(_p?: TransactionStmt["TransactionStmt"]): TransactionStmt { - const _j = ({ - TransactionStmt: {} - } as TransactionStmt); - _o.set(_j, "TransactionStmt.kind", _p?.kind); - _o.set(_j, "TransactionStmt.options", _p?.options); - _o.set(_j, "TransactionStmt.savepoint_name", _p?.savepoint_name); - _o.set(_j, "TransactionStmt.gid", _p?.gid); - _o.set(_j, "TransactionStmt.chain", _p?.chain); - return _j; - }, - compositeTypeStmt(_p?: CompositeTypeStmt["CompositeTypeStmt"]): CompositeTypeStmt { - const _j = ({ - CompositeTypeStmt: {} - } as CompositeTypeStmt); - _o.set(_j, "CompositeTypeStmt.typevar", _p?.typevar); - _o.set(_j, "CompositeTypeStmt.coldeflist", _p?.coldeflist); - return _j; - }, - createEnumStmt(_p?: CreateEnumStmt["CreateEnumStmt"]): CreateEnumStmt { - const _j = ({ - CreateEnumStmt: {} - } as CreateEnumStmt); - _o.set(_j, "CreateEnumStmt.typeName", _p?.typeName); - _o.set(_j, "CreateEnumStmt.vals", _p?.vals); - return _j; - }, - createRangeStmt(_p?: CreateRangeStmt["CreateRangeStmt"]): CreateRangeStmt { - const _j = ({ - CreateRangeStmt: {} - } as CreateRangeStmt); - _o.set(_j, "CreateRangeStmt.typeName", _p?.typeName); - _o.set(_j, "CreateRangeStmt.params", _p?.params); - return _j; - }, - alterEnumStmt(_p?: AlterEnumStmt["AlterEnumStmt"]): AlterEnumStmt { - const _j = ({ - AlterEnumStmt: {} - } as AlterEnumStmt); - _o.set(_j, "AlterEnumStmt.typeName", _p?.typeName); - _o.set(_j, "AlterEnumStmt.oldVal", _p?.oldVal); - _o.set(_j, "AlterEnumStmt.newVal", _p?.newVal); - _o.set(_j, "AlterEnumStmt.newValNeighbor", _p?.newValNeighbor); - _o.set(_j, "AlterEnumStmt.newValIsAfter", _p?.newValIsAfter); - _o.set(_j, "AlterEnumStmt.skipIfNewValExists", _p?.skipIfNewValExists); - return _j; - }, - viewStmt(_p?: ViewStmt["ViewStmt"]): ViewStmt { - const _j = ({ - ViewStmt: {} - } as ViewStmt); - _o.set(_j, "ViewStmt.view", _p?.view); - _o.set(_j, "ViewStmt.aliases", _p?.aliases); - _o.set(_j, "ViewStmt.query", _p?.query); - _o.set(_j, "ViewStmt.replace", _p?.replace); - _o.set(_j, "ViewStmt.options", _p?.options); - _o.set(_j, "ViewStmt.withCheckOption", _p?.withCheckOption); - return _j; - }, - loadStmt(_p?: LoadStmt["LoadStmt"]): LoadStmt { - const _j = ({ - LoadStmt: {} - } as LoadStmt); - _o.set(_j, "LoadStmt.filename", _p?.filename); - return _j; - }, - createdbStmt(_p?: CreatedbStmt["CreatedbStmt"]): CreatedbStmt { - const _j = ({ - CreatedbStmt: {} - } as CreatedbStmt); - _o.set(_j, "CreatedbStmt.dbname", _p?.dbname); - _o.set(_j, "CreatedbStmt.options", _p?.options); - return _j; - }, - alterDatabaseStmt(_p?: AlterDatabaseStmt["AlterDatabaseStmt"]): AlterDatabaseStmt { - const _j = ({ - AlterDatabaseStmt: {} - } as AlterDatabaseStmt); - _o.set(_j, "AlterDatabaseStmt.dbname", _p?.dbname); - _o.set(_j, "AlterDatabaseStmt.options", _p?.options); - return _j; - }, - alterDatabaseRefreshCollStmt(_p?: AlterDatabaseRefreshCollStmt["AlterDatabaseRefreshCollStmt"]): AlterDatabaseRefreshCollStmt { - const _j = ({ - AlterDatabaseRefreshCollStmt: {} - } as AlterDatabaseRefreshCollStmt); - _o.set(_j, "AlterDatabaseRefreshCollStmt.dbname", _p?.dbname); - return _j; - }, - alterDatabaseSetStmt(_p?: AlterDatabaseSetStmt["AlterDatabaseSetStmt"]): AlterDatabaseSetStmt { - const _j = ({ - AlterDatabaseSetStmt: {} - } as AlterDatabaseSetStmt); - _o.set(_j, "AlterDatabaseSetStmt.dbname", _p?.dbname); - _o.set(_j, "AlterDatabaseSetStmt.setstmt", _p?.setstmt); - return _j; - }, - dropdbStmt(_p?: DropdbStmt["DropdbStmt"]): DropdbStmt { - const _j = ({ - DropdbStmt: {} - } as DropdbStmt); - _o.set(_j, "DropdbStmt.dbname", _p?.dbname); - _o.set(_j, "DropdbStmt.missing_ok", _p?.missing_ok); - _o.set(_j, "DropdbStmt.options", _p?.options); - return _j; - }, - alterSystemStmt(_p?: AlterSystemStmt["AlterSystemStmt"]): AlterSystemStmt { - const _j = ({ - AlterSystemStmt: {} - } as AlterSystemStmt); - _o.set(_j, "AlterSystemStmt.setstmt", _p?.setstmt); - return _j; - }, - clusterStmt(_p?: ClusterStmt["ClusterStmt"]): ClusterStmt { - const _j = ({ - ClusterStmt: {} - } as ClusterStmt); - _o.set(_j, "ClusterStmt.relation", _p?.relation); - _o.set(_j, "ClusterStmt.indexname", _p?.indexname); - _o.set(_j, "ClusterStmt.params", _p?.params); - return _j; - }, - vacuumStmt(_p?: VacuumStmt["VacuumStmt"]): VacuumStmt { - const _j = ({ - VacuumStmt: {} - } as VacuumStmt); - _o.set(_j, "VacuumStmt.options", _p?.options); - _o.set(_j, "VacuumStmt.rels", _p?.rels); - _o.set(_j, "VacuumStmt.is_vacuumcmd", _p?.is_vacuumcmd); - return _j; - }, - vacuumRelation(_p?: VacuumRelation["VacuumRelation"]): VacuumRelation { - const _j = ({ - VacuumRelation: {} - } as VacuumRelation); - _o.set(_j, "VacuumRelation.relation", _p?.relation); - _o.set(_j, "VacuumRelation.oid", _p?.oid); - _o.set(_j, "VacuumRelation.va_cols", _p?.va_cols); - return _j; - }, - explainStmt(_p?: ExplainStmt["ExplainStmt"]): ExplainStmt { - const _j = ({ - ExplainStmt: {} - } as ExplainStmt); - _o.set(_j, "ExplainStmt.query", _p?.query); - _o.set(_j, "ExplainStmt.options", _p?.options); - return _j; - }, - createTableAsStmt(_p?: CreateTableAsStmt["CreateTableAsStmt"]): CreateTableAsStmt { - const _j = ({ - CreateTableAsStmt: {} - } as CreateTableAsStmt); - _o.set(_j, "CreateTableAsStmt.query", _p?.query); - _o.set(_j, "CreateTableAsStmt.into", _p?.into); - _o.set(_j, "CreateTableAsStmt.objtype", _p?.objtype); - _o.set(_j, "CreateTableAsStmt.is_select_into", _p?.is_select_into); - _o.set(_j, "CreateTableAsStmt.if_not_exists", _p?.if_not_exists); - return _j; - }, - refreshMatViewStmt(_p?: RefreshMatViewStmt["RefreshMatViewStmt"]): RefreshMatViewStmt { - const _j = ({ - RefreshMatViewStmt: {} - } as RefreshMatViewStmt); - _o.set(_j, "RefreshMatViewStmt.concurrent", _p?.concurrent); - _o.set(_j, "RefreshMatViewStmt.skipData", _p?.skipData); - _o.set(_j, "RefreshMatViewStmt.relation", _p?.relation); - return _j; - }, - checkPointStmt(_p?: CheckPointStmt["CheckPointStmt"]): CheckPointStmt { - const _j = ({ - CheckPointStmt: {} - } as CheckPointStmt); - return _j; - }, - discardStmt(_p?: DiscardStmt["DiscardStmt"]): DiscardStmt { - const _j = ({ - DiscardStmt: {} - } as DiscardStmt); - _o.set(_j, "DiscardStmt.target", _p?.target); - return _j; - }, - lockStmt(_p?: LockStmt["LockStmt"]): LockStmt { - const _j = ({ - LockStmt: {} - } as LockStmt); - _o.set(_j, "LockStmt.relations", _p?.relations); - _o.set(_j, "LockStmt.mode", _p?.mode); - _o.set(_j, "LockStmt.nowait", _p?.nowait); - return _j; - }, - constraintsSetStmt(_p?: ConstraintsSetStmt["ConstraintsSetStmt"]): ConstraintsSetStmt { - const _j = ({ - ConstraintsSetStmt: {} - } as ConstraintsSetStmt); - _o.set(_j, "ConstraintsSetStmt.constraints", _p?.constraints); - _o.set(_j, "ConstraintsSetStmt.deferred", _p?.deferred); - return _j; - }, - reindexStmt(_p?: ReindexStmt["ReindexStmt"]): ReindexStmt { - const _j = ({ - ReindexStmt: {} - } as ReindexStmt); - _o.set(_j, "ReindexStmt.kind", _p?.kind); - _o.set(_j, "ReindexStmt.relation", _p?.relation); - _o.set(_j, "ReindexStmt.name", _p?.name); - _o.set(_j, "ReindexStmt.params", _p?.params); - return _j; - }, - createConversionStmt(_p?: CreateConversionStmt["CreateConversionStmt"]): CreateConversionStmt { - const _j = ({ - CreateConversionStmt: {} - } as CreateConversionStmt); - _o.set(_j, "CreateConversionStmt.conversion_name", _p?.conversion_name); - _o.set(_j, "CreateConversionStmt.for_encoding_name", _p?.for_encoding_name); - _o.set(_j, "CreateConversionStmt.to_encoding_name", _p?.to_encoding_name); - _o.set(_j, "CreateConversionStmt.func_name", _p?.func_name); - _o.set(_j, "CreateConversionStmt.def", _p?.def); - return _j; - }, - createCastStmt(_p?: CreateCastStmt["CreateCastStmt"]): CreateCastStmt { - const _j = ({ - CreateCastStmt: {} - } as CreateCastStmt); - _o.set(_j, "CreateCastStmt.sourcetype", _p?.sourcetype); - _o.set(_j, "CreateCastStmt.targettype", _p?.targettype); - _o.set(_j, "CreateCastStmt.func", _p?.func); - _o.set(_j, "CreateCastStmt.context", _p?.context); - _o.set(_j, "CreateCastStmt.inout", _p?.inout); - return _j; - }, - createTransformStmt(_p?: CreateTransformStmt["CreateTransformStmt"]): CreateTransformStmt { - const _j = ({ - CreateTransformStmt: {} - } as CreateTransformStmt); - _o.set(_j, "CreateTransformStmt.replace", _p?.replace); - _o.set(_j, "CreateTransformStmt.type_name", _p?.type_name); - _o.set(_j, "CreateTransformStmt.lang", _p?.lang); - _o.set(_j, "CreateTransformStmt.fromsql", _p?.fromsql); - _o.set(_j, "CreateTransformStmt.tosql", _p?.tosql); - return _j; - }, - prepareStmt(_p?: PrepareStmt["PrepareStmt"]): PrepareStmt { - const _j = ({ - PrepareStmt: {} - } as PrepareStmt); - _o.set(_j, "PrepareStmt.name", _p?.name); - _o.set(_j, "PrepareStmt.argtypes", _p?.argtypes); - _o.set(_j, "PrepareStmt.query", _p?.query); - return _j; - }, - executeStmt(_p?: ExecuteStmt["ExecuteStmt"]): ExecuteStmt { - const _j = ({ - ExecuteStmt: {} - } as ExecuteStmt); - _o.set(_j, "ExecuteStmt.name", _p?.name); - _o.set(_j, "ExecuteStmt.params", _p?.params); - return _j; - }, - deallocateStmt(_p?: DeallocateStmt["DeallocateStmt"]): DeallocateStmt { - const _j = ({ - DeallocateStmt: {} - } as DeallocateStmt); - _o.set(_j, "DeallocateStmt.name", _p?.name); - return _j; - }, - dropOwnedStmt(_p?: DropOwnedStmt["DropOwnedStmt"]): DropOwnedStmt { - const _j = ({ - DropOwnedStmt: {} - } as DropOwnedStmt); - _o.set(_j, "DropOwnedStmt.roles", _p?.roles); - _o.set(_j, "DropOwnedStmt.behavior", _p?.behavior); - return _j; - }, - reassignOwnedStmt(_p?: ReassignOwnedStmt["ReassignOwnedStmt"]): ReassignOwnedStmt { - const _j = ({ - ReassignOwnedStmt: {} - } as ReassignOwnedStmt); - _o.set(_j, "ReassignOwnedStmt.roles", _p?.roles); - _o.set(_j, "ReassignOwnedStmt.newrole", _p?.newrole); - return _j; - }, - altertsDictionaryStmt(_p?: AlterTSDictionaryStmt["AlterTSDictionaryStmt"]): AlterTSDictionaryStmt { - const _j = ({ - AlterTSDictionaryStmt: {} - } as AlterTSDictionaryStmt); - _o.set(_j, "AlterTSDictionaryStmt.dictname", _p?.dictname); - _o.set(_j, "AlterTSDictionaryStmt.options", _p?.options); - return _j; - }, - altertsConfigurationStmt(_p?: AlterTSConfigurationStmt["AlterTSConfigurationStmt"]): AlterTSConfigurationStmt { - const _j = ({ - AlterTSConfigurationStmt: {} - } as AlterTSConfigurationStmt); - _o.set(_j, "AlterTSConfigurationStmt.kind", _p?.kind); - _o.set(_j, "AlterTSConfigurationStmt.cfgname", _p?.cfgname); - _o.set(_j, "AlterTSConfigurationStmt.tokentype", _p?.tokentype); - _o.set(_j, "AlterTSConfigurationStmt.dicts", _p?.dicts); - _o.set(_j, "AlterTSConfigurationStmt.override", _p?.override); - _o.set(_j, "AlterTSConfigurationStmt.replace", _p?.replace); - _o.set(_j, "AlterTSConfigurationStmt.missing_ok", _p?.missing_ok); - return _j; - }, - publicationTable(_p?: PublicationTable["PublicationTable"]): PublicationTable { - const _j = ({ - PublicationTable: {} - } as PublicationTable); - _o.set(_j, "PublicationTable.relation", _p?.relation); - _o.set(_j, "PublicationTable.whereClause", _p?.whereClause); - _o.set(_j, "PublicationTable.columns", _p?.columns); - return _j; - }, - publicationObjSpec(_p?: PublicationObjSpec["PublicationObjSpec"]): PublicationObjSpec { - const _j = ({ - PublicationObjSpec: {} - } as PublicationObjSpec); - _o.set(_j, "PublicationObjSpec.pubobjtype", _p?.pubobjtype); - _o.set(_j, "PublicationObjSpec.name", _p?.name); - _o.set(_j, "PublicationObjSpec.pubtable", _p?.pubtable); - _o.set(_j, "PublicationObjSpec.location", _p?.location); - return _j; - }, - createPublicationStmt(_p?: CreatePublicationStmt["CreatePublicationStmt"]): CreatePublicationStmt { - const _j = ({ - CreatePublicationStmt: {} - } as CreatePublicationStmt); - _o.set(_j, "CreatePublicationStmt.pubname", _p?.pubname); - _o.set(_j, "CreatePublicationStmt.options", _p?.options); - _o.set(_j, "CreatePublicationStmt.pubobjects", _p?.pubobjects); - _o.set(_j, "CreatePublicationStmt.for_all_tables", _p?.for_all_tables); - return _j; - }, - alterPublicationStmt(_p?: AlterPublicationStmt["AlterPublicationStmt"]): AlterPublicationStmt { - const _j = ({ - AlterPublicationStmt: {} - } as AlterPublicationStmt); - _o.set(_j, "AlterPublicationStmt.pubname", _p?.pubname); - _o.set(_j, "AlterPublicationStmt.options", _p?.options); - _o.set(_j, "AlterPublicationStmt.pubobjects", _p?.pubobjects); - _o.set(_j, "AlterPublicationStmt.for_all_tables", _p?.for_all_tables); - _o.set(_j, "AlterPublicationStmt.action", _p?.action); - return _j; - }, - createSubscriptionStmt(_p?: CreateSubscriptionStmt["CreateSubscriptionStmt"]): CreateSubscriptionStmt { - const _j = ({ - CreateSubscriptionStmt: {} - } as CreateSubscriptionStmt); - _o.set(_j, "CreateSubscriptionStmt.subname", _p?.subname); - _o.set(_j, "CreateSubscriptionStmt.conninfo", _p?.conninfo); - _o.set(_j, "CreateSubscriptionStmt.publication", _p?.publication); - _o.set(_j, "CreateSubscriptionStmt.options", _p?.options); - return _j; - }, - alterSubscriptionStmt(_p?: AlterSubscriptionStmt["AlterSubscriptionStmt"]): AlterSubscriptionStmt { - const _j = ({ - AlterSubscriptionStmt: {} - } as AlterSubscriptionStmt); - _o.set(_j, "AlterSubscriptionStmt.kind", _p?.kind); - _o.set(_j, "AlterSubscriptionStmt.subname", _p?.subname); - _o.set(_j, "AlterSubscriptionStmt.conninfo", _p?.conninfo); - _o.set(_j, "AlterSubscriptionStmt.publication", _p?.publication); - _o.set(_j, "AlterSubscriptionStmt.options", _p?.options); - return _j; - }, - dropSubscriptionStmt(_p?: DropSubscriptionStmt["DropSubscriptionStmt"]): DropSubscriptionStmt { - const _j = ({ - DropSubscriptionStmt: {} - } as DropSubscriptionStmt); - _o.set(_j, "DropSubscriptionStmt.subname", _p?.subname); - _o.set(_j, "DropSubscriptionStmt.missing_ok", _p?.missing_ok); - _o.set(_j, "DropSubscriptionStmt.behavior", _p?.behavior); - return _j; - }, - scanToken(_p?: ScanToken["ScanToken"]): ScanToken { - const _j = ({ - ScanToken: {} - } as ScanToken); - _o.set(_j, "ScanToken.start", _p?.start); - _o.set(_j, "ScanToken.end", _p?.end); - _o.set(_j, "ScanToken.token", _p?.token); - _o.set(_j, "ScanToken.keywordKind", _p?.keywordKind); + columnRef(_p?: ColumnRef): ColumnRef { + const _j = ({} as ColumnRef); + _o.set(_j, "fields", _p?.fields); + _o.set(_j, "location", _p?.location); + return _j; + }, + paramRef(_p?: ParamRef): ParamRef { + const _j = ({} as ParamRef); + _o.set(_j, "number", _p?.number); + _o.set(_j, "location", _p?.location); + return _j; + }, + aExpr(_p?: A_Expr): A_Expr { + const _j = ({} as A_Expr); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "name", _p?.name); + _o.set(_j, "lexpr", _p?.lexpr); + _o.set(_j, "rexpr", _p?.rexpr); + _o.set(_j, "location", _p?.location); + return _j; + }, + typeCast(_p?: TypeCast): TypeCast { + const _j = ({} as TypeCast); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "location", _p?.location); + return _j; + }, + collateClause(_p?: CollateClause): CollateClause { + const _j = ({} as CollateClause); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "collname", _p?.collname); + _o.set(_j, "location", _p?.location); + return _j; + }, + roleSpec(_p?: RoleSpec): RoleSpec { + const _j = ({} as RoleSpec); + _o.set(_j, "roletype", _p?.roletype); + _o.set(_j, "rolename", _p?.rolename); + _o.set(_j, "location", _p?.location); + return _j; + }, + funcCall(_p?: FuncCall): FuncCall { + const _j = ({} as FuncCall); + _o.set(_j, "funcname", _p?.funcname); + _o.set(_j, "args", _p?.args); + _o.set(_j, "agg_order", _p?.agg_order); + _o.set(_j, "agg_filter", _p?.agg_filter); + _o.set(_j, "over", _p?.over); + _o.set(_j, "agg_within_group", _p?.agg_within_group); + _o.set(_j, "agg_star", _p?.agg_star); + _o.set(_j, "agg_distinct", _p?.agg_distinct); + _o.set(_j, "func_variadic", _p?.func_variadic); + _o.set(_j, "funcformat", _p?.funcformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + aStar(_p?: A_Star): A_Star { + const _j = ({} as A_Star); + return _j; + }, + aIndices(_p?: A_Indices): A_Indices { + const _j = ({} as A_Indices); + _o.set(_j, "is_slice", _p?.is_slice); + _o.set(_j, "lidx", _p?.lidx); + _o.set(_j, "uidx", _p?.uidx); + return _j; + }, + aIndirection(_p?: A_Indirection): A_Indirection { + const _j = ({} as A_Indirection); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "indirection", _p?.indirection); + return _j; + }, + aArrayExpr(_p?: A_ArrayExpr): A_ArrayExpr { + const _j = ({} as A_ArrayExpr); + _o.set(_j, "elements", _p?.elements); + _o.set(_j, "location", _p?.location); + return _j; + }, + resTarget(_p?: ResTarget): ResTarget { + const _j = ({} as ResTarget); + _o.set(_j, "name", _p?.name); + _o.set(_j, "indirection", _p?.indirection); + _o.set(_j, "val", _p?.val); + _o.set(_j, "location", _p?.location); + return _j; + }, + multiAssignRef(_p?: MultiAssignRef): MultiAssignRef { + const _j = ({} as MultiAssignRef); + _o.set(_j, "source", _p?.source); + _o.set(_j, "colno", _p?.colno); + _o.set(_j, "ncolumns", _p?.ncolumns); + return _j; + }, + sortBy(_p?: SortBy): SortBy { + const _j = ({} as SortBy); + _o.set(_j, "node", _p?.node); + _o.set(_j, "sortby_dir", _p?.sortby_dir); + _o.set(_j, "sortby_nulls", _p?.sortby_nulls); + _o.set(_j, "useOp", _p?.useOp); + _o.set(_j, "location", _p?.location); + return _j; + }, + windowDef(_p?: WindowDef): WindowDef { + const _j = ({} as WindowDef); + _o.set(_j, "name", _p?.name); + _o.set(_j, "refname", _p?.refname); + _o.set(_j, "partitionClause", _p?.partitionClause); + _o.set(_j, "orderClause", _p?.orderClause); + _o.set(_j, "frameOptions", _p?.frameOptions); + _o.set(_j, "startOffset", _p?.startOffset); + _o.set(_j, "endOffset", _p?.endOffset); + _o.set(_j, "location", _p?.location); + return _j; + }, + rangeSubselect(_p?: RangeSubselect): RangeSubselect { + const _j = ({} as RangeSubselect); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "subquery", _p?.subquery); + _o.set(_j, "alias", _p?.alias); + return _j; + }, + rangeFunction(_p?: RangeFunction): RangeFunction { + const _j = ({} as RangeFunction); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "ordinality", _p?.ordinality); + _o.set(_j, "is_rowsfrom", _p?.is_rowsfrom); + _o.set(_j, "functions", _p?.functions); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "coldeflist", _p?.coldeflist); + return _j; + }, + rangeTableFunc(_p?: RangeTableFunc): RangeTableFunc { + const _j = ({} as RangeTableFunc); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "docexpr", _p?.docexpr); + _o.set(_j, "rowexpr", _p?.rowexpr); + _o.set(_j, "namespaces", _p?.namespaces); + _o.set(_j, "columns", _p?.columns); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "location", _p?.location); + return _j; + }, + rangeTableFuncCol(_p?: RangeTableFuncCol): RangeTableFuncCol { + const _j = ({} as RangeTableFuncCol); + _o.set(_j, "colname", _p?.colname); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "for_ordinality", _p?.for_ordinality); + _o.set(_j, "is_not_null", _p?.is_not_null); + _o.set(_j, "colexpr", _p?.colexpr); + _o.set(_j, "coldefexpr", _p?.coldefexpr); + _o.set(_j, "location", _p?.location); + return _j; + }, + rangeTableSample(_p?: RangeTableSample): RangeTableSample { + const _j = ({} as RangeTableSample); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "method", _p?.method); + _o.set(_j, "args", _p?.args); + _o.set(_j, "repeatable", _p?.repeatable); + _o.set(_j, "location", _p?.location); + return _j; + }, + columnDef(_p?: ColumnDef): ColumnDef { + const _j = ({} as ColumnDef); + _o.set(_j, "colname", _p?.colname); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "compression", _p?.compression); + _o.set(_j, "inhcount", _p?.inhcount); + _o.set(_j, "is_local", _p?.is_local); + _o.set(_j, "is_not_null", _p?.is_not_null); + _o.set(_j, "is_from_type", _p?.is_from_type); + _o.set(_j, "storage", _p?.storage); + _o.set(_j, "storage_name", _p?.storage_name); + _o.set(_j, "raw_default", _p?.raw_default); + _o.set(_j, "cooked_default", _p?.cooked_default); + _o.set(_j, "identity", _p?.identity); + _o.set(_j, "identitySequence", _p?.identitySequence); + _o.set(_j, "generated", _p?.generated); + _o.set(_j, "collClause", _p?.collClause); + _o.set(_j, "collOid", _p?.collOid); + _o.set(_j, "constraints", _p?.constraints); + _o.set(_j, "fdwoptions", _p?.fdwoptions); + _o.set(_j, "location", _p?.location); + return _j; + }, + tableLikeClause(_p?: TableLikeClause): TableLikeClause { + const _j = ({} as TableLikeClause); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "options", _p?.options); + _o.set(_j, "relationOid", _p?.relationOid); + return _j; + }, + indexElem(_p?: IndexElem): IndexElem { + const _j = ({} as IndexElem); + _o.set(_j, "name", _p?.name); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "indexcolname", _p?.indexcolname); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "opclass", _p?.opclass); + _o.set(_j, "opclassopts", _p?.opclassopts); + _o.set(_j, "ordering", _p?.ordering); + _o.set(_j, "nulls_ordering", _p?.nulls_ordering); + return _j; + }, + defElem(_p?: DefElem): DefElem { + const _j = ({} as DefElem); + _o.set(_j, "defnamespace", _p?.defnamespace); + _o.set(_j, "defname", _p?.defname); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "defaction", _p?.defaction); + _o.set(_j, "location", _p?.location); + return _j; + }, + lockingClause(_p?: LockingClause): LockingClause { + const _j = ({} as LockingClause); + _o.set(_j, "lockedRels", _p?.lockedRels); + _o.set(_j, "strength", _p?.strength); + _o.set(_j, "waitPolicy", _p?.waitPolicy); + return _j; + }, + xmlSerialize(_p?: XmlSerialize): XmlSerialize { + const _j = ({} as XmlSerialize); + _o.set(_j, "xmloption", _p?.xmloption); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "indent", _p?.indent); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionElem(_p?: PartitionElem): PartitionElem { + const _j = ({} as PartitionElem); + _o.set(_j, "name", _p?.name); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "opclass", _p?.opclass); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionSpec(_p?: PartitionSpec): PartitionSpec { + const _j = ({} as PartitionSpec); + _o.set(_j, "strategy", _p?.strategy); + _o.set(_j, "partParams", _p?.partParams); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionBoundSpec(_p?: PartitionBoundSpec): PartitionBoundSpec { + const _j = ({} as PartitionBoundSpec); + _o.set(_j, "strategy", _p?.strategy); + _o.set(_j, "is_default", _p?.is_default); + _o.set(_j, "modulus", _p?.modulus); + _o.set(_j, "remainder", _p?.remainder); + _o.set(_j, "listdatums", _p?.listdatums); + _o.set(_j, "lowerdatums", _p?.lowerdatums); + _o.set(_j, "upperdatums", _p?.upperdatums); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionRangeDatum(_p?: PartitionRangeDatum): PartitionRangeDatum { + const _j = ({} as PartitionRangeDatum); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "value", _p?.value); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionCmd(_p?: PartitionCmd): PartitionCmd { + const _j = ({} as PartitionCmd); + _o.set(_j, "name", _p?.name); + _o.set(_j, "bound", _p?.bound); + _o.set(_j, "concurrent", _p?.concurrent); + return _j; + }, + rangeTblEntry(_p?: RangeTblEntry): RangeTblEntry { + const _j = ({} as RangeTblEntry); + _o.set(_j, "rtekind", _p?.rtekind); + _o.set(_j, "relid", _p?.relid); + _o.set(_j, "relkind", _p?.relkind); + _o.set(_j, "rellockmode", _p?.rellockmode); + _o.set(_j, "tablesample", _p?.tablesample); + _o.set(_j, "perminfoindex", _p?.perminfoindex); + _o.set(_j, "subquery", _p?.subquery); + _o.set(_j, "security_barrier", _p?.security_barrier); + _o.set(_j, "jointype", _p?.jointype); + _o.set(_j, "joinmergedcols", _p?.joinmergedcols); + _o.set(_j, "joinaliasvars", _p?.joinaliasvars); + _o.set(_j, "joinleftcols", _p?.joinleftcols); + _o.set(_j, "joinrightcols", _p?.joinrightcols); + _o.set(_j, "join_using_alias", _p?.join_using_alias); + _o.set(_j, "functions", _p?.functions); + _o.set(_j, "funcordinality", _p?.funcordinality); + _o.set(_j, "tablefunc", _p?.tablefunc); + _o.set(_j, "values_lists", _p?.values_lists); + _o.set(_j, "ctename", _p?.ctename); + _o.set(_j, "ctelevelsup", _p?.ctelevelsup); + _o.set(_j, "self_reference", _p?.self_reference); + _o.set(_j, "coltypes", _p?.coltypes); + _o.set(_j, "coltypmods", _p?.coltypmods); + _o.set(_j, "colcollations", _p?.colcollations); + _o.set(_j, "enrname", _p?.enrname); + _o.set(_j, "enrtuples", _p?.enrtuples); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "eref", _p?.eref); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "inh", _p?.inh); + _o.set(_j, "inFromCl", _p?.inFromCl); + _o.set(_j, "securityQuals", _p?.securityQuals); + return _j; + }, + rtePermissionInfo(_p?: RTEPermissionInfo): RTEPermissionInfo { + const _j = ({} as RTEPermissionInfo); + _o.set(_j, "relid", _p?.relid); + _o.set(_j, "inh", _p?.inh); + _o.set(_j, "requiredPerms", _p?.requiredPerms); + _o.set(_j, "checkAsUser", _p?.checkAsUser); + _o.set(_j, "selectedCols", _p?.selectedCols); + _o.set(_j, "insertedCols", _p?.insertedCols); + _o.set(_j, "updatedCols", _p?.updatedCols); + return _j; + }, + rangeTblFunction(_p?: RangeTblFunction): RangeTblFunction { + const _j = ({} as RangeTblFunction); + _o.set(_j, "funcexpr", _p?.funcexpr); + _o.set(_j, "funccolcount", _p?.funccolcount); + _o.set(_j, "funccolnames", _p?.funccolnames); + _o.set(_j, "funccoltypes", _p?.funccoltypes); + _o.set(_j, "funccoltypmods", _p?.funccoltypmods); + _o.set(_j, "funccolcollations", _p?.funccolcollations); + _o.set(_j, "funcparams", _p?.funcparams); + return _j; + }, + tableSampleClause(_p?: TableSampleClause): TableSampleClause { + const _j = ({} as TableSampleClause); + _o.set(_j, "tsmhandler", _p?.tsmhandler); + _o.set(_j, "args", _p?.args); + _o.set(_j, "repeatable", _p?.repeatable); + return _j; + }, + withCheckOption(_p?: WithCheckOption): WithCheckOption { + const _j = ({} as WithCheckOption); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "relname", _p?.relname); + _o.set(_j, "polname", _p?.polname); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "cascaded", _p?.cascaded); + return _j; + }, + sortGroupClause(_p?: SortGroupClause): SortGroupClause { + const _j = ({} as SortGroupClause); + _o.set(_j, "tleSortGroupRef", _p?.tleSortGroupRef); + _o.set(_j, "eqop", _p?.eqop); + _o.set(_j, "sortop", _p?.sortop); + _o.set(_j, "nulls_first", _p?.nulls_first); + _o.set(_j, "hashable", _p?.hashable); + return _j; + }, + groupingSet(_p?: GroupingSet): GroupingSet { + const _j = ({} as GroupingSet); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "content", _p?.content); + _o.set(_j, "location", _p?.location); + return _j; + }, + windowClause(_p?: WindowClause): WindowClause { + const _j = ({} as WindowClause); + _o.set(_j, "name", _p?.name); + _o.set(_j, "refname", _p?.refname); + _o.set(_j, "partitionClause", _p?.partitionClause); + _o.set(_j, "orderClause", _p?.orderClause); + _o.set(_j, "frameOptions", _p?.frameOptions); + _o.set(_j, "startOffset", _p?.startOffset); + _o.set(_j, "endOffset", _p?.endOffset); + _o.set(_j, "runCondition", _p?.runCondition); + _o.set(_j, "startInRangeFunc", _p?.startInRangeFunc); + _o.set(_j, "endInRangeFunc", _p?.endInRangeFunc); + _o.set(_j, "inRangeColl", _p?.inRangeColl); + _o.set(_j, "inRangeAsc", _p?.inRangeAsc); + _o.set(_j, "inRangeNullsFirst", _p?.inRangeNullsFirst); + _o.set(_j, "winref", _p?.winref); + _o.set(_j, "copiedOrder", _p?.copiedOrder); + return _j; + }, + rowMarkClause(_p?: RowMarkClause): RowMarkClause { + const _j = ({} as RowMarkClause); + _o.set(_j, "rti", _p?.rti); + _o.set(_j, "strength", _p?.strength); + _o.set(_j, "waitPolicy", _p?.waitPolicy); + _o.set(_j, "pushedDown", _p?.pushedDown); + return _j; + }, + withClause(_p?: WithClause): WithClause { + const _j = ({} as WithClause); + _o.set(_j, "ctes", _p?.ctes); + _o.set(_j, "recursive", _p?.recursive); + _o.set(_j, "location", _p?.location); + return _j; + }, + inferClause(_p?: InferClause): InferClause { + const _j = ({} as InferClause); + _o.set(_j, "indexElems", _p?.indexElems); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "conname", _p?.conname); + _o.set(_j, "location", _p?.location); + return _j; + }, + onConflictClause(_p?: OnConflictClause): OnConflictClause { + const _j = ({} as OnConflictClause); + _o.set(_j, "action", _p?.action); + _o.set(_j, "infer", _p?.infer); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "location", _p?.location); + return _j; + }, + cteSearchClause(_p?: CTESearchClause): CTESearchClause { + const _j = ({} as CTESearchClause); + _o.set(_j, "search_col_list", _p?.search_col_list); + _o.set(_j, "search_breadth_first", _p?.search_breadth_first); + _o.set(_j, "search_seq_column", _p?.search_seq_column); + _o.set(_j, "location", _p?.location); + return _j; + }, + cteCycleClause(_p?: CTECycleClause): CTECycleClause { + const _j = ({} as CTECycleClause); + _o.set(_j, "cycle_col_list", _p?.cycle_col_list); + _o.set(_j, "cycle_mark_column", _p?.cycle_mark_column); + _o.set(_j, "cycle_mark_value", _p?.cycle_mark_value); + _o.set(_j, "cycle_mark_default", _p?.cycle_mark_default); + _o.set(_j, "cycle_path_column", _p?.cycle_path_column); + _o.set(_j, "location", _p?.location); + _o.set(_j, "cycle_mark_type", _p?.cycle_mark_type); + _o.set(_j, "cycle_mark_typmod", _p?.cycle_mark_typmod); + _o.set(_j, "cycle_mark_collation", _p?.cycle_mark_collation); + _o.set(_j, "cycle_mark_neop", _p?.cycle_mark_neop); + return _j; + }, + commonTableExpr(_p?: CommonTableExpr): CommonTableExpr { + const _j = ({} as CommonTableExpr); + _o.set(_j, "ctename", _p?.ctename); + _o.set(_j, "aliascolnames", _p?.aliascolnames); + _o.set(_j, "ctematerialized", _p?.ctematerialized); + _o.set(_j, "ctequery", _p?.ctequery); + _o.set(_j, "search_clause", _p?.search_clause); + _o.set(_j, "cycle_clause", _p?.cycle_clause); + _o.set(_j, "location", _p?.location); + _o.set(_j, "cterecursive", _p?.cterecursive); + _o.set(_j, "cterefcount", _p?.cterefcount); + _o.set(_j, "ctecolnames", _p?.ctecolnames); + _o.set(_j, "ctecoltypes", _p?.ctecoltypes); + _o.set(_j, "ctecoltypmods", _p?.ctecoltypmods); + _o.set(_j, "ctecolcollations", _p?.ctecolcollations); + return _j; + }, + mergeWhenClause(_p?: MergeWhenClause): MergeWhenClause { + const _j = ({} as MergeWhenClause); + _o.set(_j, "matched", _p?.matched); + _o.set(_j, "commandType", _p?.commandType); + _o.set(_j, "override", _p?.override); + _o.set(_j, "condition", _p?.condition); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "values", _p?.values); + return _j; + }, + mergeAction(_p?: MergeAction): MergeAction { + const _j = ({} as MergeAction); + _o.set(_j, "matched", _p?.matched); + _o.set(_j, "commandType", _p?.commandType); + _o.set(_j, "override", _p?.override); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "updateColnos", _p?.updateColnos); + return _j; + }, + triggerTransition(_p?: TriggerTransition): TriggerTransition { + const _j = ({} as TriggerTransition); + _o.set(_j, "name", _p?.name); + _o.set(_j, "isNew", _p?.isNew); + _o.set(_j, "isTable", _p?.isTable); + return _j; + }, + jsonOutput(_p?: JsonOutput): JsonOutput { + const _j = ({} as JsonOutput); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "returning", _p?.returning); + return _j; + }, + jsonKeyValue(_p?: JsonKeyValue): JsonKeyValue { + const _j = ({} as JsonKeyValue); + _o.set(_j, "key", _p?.key); + _o.set(_j, "value", _p?.value); + return _j; + }, + jsonObjectConstructor(_p?: JsonObjectConstructor): JsonObjectConstructor { + const _j = ({} as JsonObjectConstructor); + _o.set(_j, "exprs", _p?.exprs); + _o.set(_j, "output", _p?.output); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "unique", _p?.unique); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonArrayConstructor(_p?: JsonArrayConstructor): JsonArrayConstructor { + const _j = ({} as JsonArrayConstructor); + _o.set(_j, "exprs", _p?.exprs); + _o.set(_j, "output", _p?.output); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonArrayQueryConstructor(_p?: JsonArrayQueryConstructor): JsonArrayQueryConstructor { + const _j = ({} as JsonArrayQueryConstructor); + _o.set(_j, "query", _p?.query); + _o.set(_j, "output", _p?.output); + _o.set(_j, "format", _p?.format); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonAggConstructor(_p?: JsonAggConstructor): JsonAggConstructor { + const _j = ({} as JsonAggConstructor); + _o.set(_j, "output", _p?.output); + _o.set(_j, "agg_filter", _p?.agg_filter); + _o.set(_j, "agg_order", _p?.agg_order); + _o.set(_j, "over", _p?.over); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonObjectAgg(_p?: JsonObjectAgg): JsonObjectAgg { + const _j = ({} as JsonObjectAgg); + _o.set(_j, "constructor", _p?.constructor); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "unique", _p?.unique); + return _j; + }, + jsonArrayAgg(_p?: JsonArrayAgg): JsonArrayAgg { + const _j = ({} as JsonArrayAgg); + _o.set(_j, "constructor", _p?.constructor); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + return _j; + }, + rawStmt(_p?: RawStmt): RawStmt { + const _j = ({} as RawStmt); + _o.set(_j, "stmt", _p?.stmt); + _o.set(_j, "stmt_location", _p?.stmt_location); + _o.set(_j, "stmt_len", _p?.stmt_len); + return _j; + }, + insertStmt(_p?: InsertStmt): InsertStmt { + const _j = ({} as InsertStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "cols", _p?.cols); + _o.set(_j, "selectStmt", _p?.selectStmt); + _o.set(_j, "onConflictClause", _p?.onConflictClause); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "withClause", _p?.withClause); + _o.set(_j, "override", _p?.override); + return _j; + }, + deleteStmt(_p?: DeleteStmt): DeleteStmt { + const _j = ({} as DeleteStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "usingClause", _p?.usingClause); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "withClause", _p?.withClause); + return _j; + }, + updateStmt(_p?: UpdateStmt): UpdateStmt { + const _j = ({} as UpdateStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "fromClause", _p?.fromClause); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "withClause", _p?.withClause); + return _j; + }, + mergeStmt(_p?: MergeStmt): MergeStmt { + const _j = ({} as MergeStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "sourceRelation", _p?.sourceRelation); + _o.set(_j, "joinCondition", _p?.joinCondition); + _o.set(_j, "mergeWhenClauses", _p?.mergeWhenClauses); + _o.set(_j, "withClause", _p?.withClause); + return _j; + }, + selectStmt(_p?: SelectStmt): SelectStmt { + const _j = ({} as SelectStmt); + _o.set(_j, "distinctClause", _p?.distinctClause); + _o.set(_j, "intoClause", _p?.intoClause); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "fromClause", _p?.fromClause); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "groupClause", _p?.groupClause); + _o.set(_j, "groupDistinct", _p?.groupDistinct); + _o.set(_j, "havingClause", _p?.havingClause); + _o.set(_j, "windowClause", _p?.windowClause); + _o.set(_j, "valuesLists", _p?.valuesLists); + _o.set(_j, "sortClause", _p?.sortClause); + _o.set(_j, "limitOffset", _p?.limitOffset); + _o.set(_j, "limitCount", _p?.limitCount); + _o.set(_j, "limitOption", _p?.limitOption); + _o.set(_j, "lockingClause", _p?.lockingClause); + _o.set(_j, "withClause", _p?.withClause); + _o.set(_j, "op", _p?.op); + _o.set(_j, "all", _p?.all); + _o.set(_j, "larg", _p?.larg); + _o.set(_j, "rarg", _p?.rarg); + return _j; + }, + setOperationStmt(_p?: SetOperationStmt): SetOperationStmt { + const _j = ({} as SetOperationStmt); + _o.set(_j, "op", _p?.op); + _o.set(_j, "all", _p?.all); + _o.set(_j, "larg", _p?.larg); + _o.set(_j, "rarg", _p?.rarg); + _o.set(_j, "colTypes", _p?.colTypes); + _o.set(_j, "colTypmods", _p?.colTypmods); + _o.set(_j, "colCollations", _p?.colCollations); + _o.set(_j, "groupClauses", _p?.groupClauses); + return _j; + }, + returnStmt(_p?: ReturnStmt): ReturnStmt { + const _j = ({} as ReturnStmt); + _o.set(_j, "returnval", _p?.returnval); + return _j; + }, + plAssignStmt(_p?: PLAssignStmt): PLAssignStmt { + const _j = ({} as PLAssignStmt); + _o.set(_j, "name", _p?.name); + _o.set(_j, "indirection", _p?.indirection); + _o.set(_j, "nnames", _p?.nnames); + _o.set(_j, "val", _p?.val); + _o.set(_j, "location", _p?.location); + return _j; + }, + createSchemaStmt(_p?: CreateSchemaStmt): CreateSchemaStmt { + const _j = ({} as CreateSchemaStmt); + _o.set(_j, "schemaname", _p?.schemaname); + _o.set(_j, "authrole", _p?.authrole); + _o.set(_j, "schemaElts", _p?.schemaElts); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + alterTableStmt(_p?: AlterTableStmt): AlterTableStmt { + const _j = ({} as AlterTableStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "cmds", _p?.cmds); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + replicaIdentityStmt(_p?: ReplicaIdentityStmt): ReplicaIdentityStmt { + const _j = ({} as ReplicaIdentityStmt); + _o.set(_j, "identity_type", _p?.identity_type); + _o.set(_j, "name", _p?.name); + return _j; + }, + alterTableCmd(_p?: AlterTableCmd): AlterTableCmd { + const _j = ({} as AlterTableCmd); + _o.set(_j, "subtype", _p?.subtype); + _o.set(_j, "name", _p?.name); + _o.set(_j, "num", _p?.num); + _o.set(_j, "newowner", _p?.newowner); + _o.set(_j, "def", _p?.def); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "recurse", _p?.recurse); + return _j; + }, + alterCollationStmt(_p?: AlterCollationStmt): AlterCollationStmt { + const _j = ({} as AlterCollationStmt); + _o.set(_j, "collname", _p?.collname); + return _j; + }, + alterDomainStmt(_p?: AlterDomainStmt): AlterDomainStmt { + const _j = ({} as AlterDomainStmt); + _o.set(_j, "subtype", _p?.subtype); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "name", _p?.name); + _o.set(_j, "def", _p?.def); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + grantStmt(_p?: GrantStmt): GrantStmt { + const _j = ({} as GrantStmt); + _o.set(_j, "is_grant", _p?.is_grant); + _o.set(_j, "targtype", _p?.targtype); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "objects", _p?.objects); + _o.set(_j, "privileges", _p?.privileges); + _o.set(_j, "grantees", _p?.grantees); + _o.set(_j, "grant_option", _p?.grant_option); + _o.set(_j, "grantor", _p?.grantor); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + objectWithArgs(_p?: ObjectWithArgs): ObjectWithArgs { + const _j = ({} as ObjectWithArgs); + _o.set(_j, "objname", _p?.objname); + _o.set(_j, "objargs", _p?.objargs); + _o.set(_j, "objfuncargs", _p?.objfuncargs); + _o.set(_j, "args_unspecified", _p?.args_unspecified); + return _j; + }, + accessPriv(_p?: AccessPriv): AccessPriv { + const _j = ({} as AccessPriv); + _o.set(_j, "priv_name", _p?.priv_name); + _o.set(_j, "cols", _p?.cols); + return _j; + }, + grantRoleStmt(_p?: GrantRoleStmt): GrantRoleStmt { + const _j = ({} as GrantRoleStmt); + _o.set(_j, "granted_roles", _p?.granted_roles); + _o.set(_j, "grantee_roles", _p?.grantee_roles); + _o.set(_j, "is_grant", _p?.is_grant); + _o.set(_j, "opt", _p?.opt); + _o.set(_j, "grantor", _p?.grantor); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + alterDefaultPrivilegesStmt(_p?: AlterDefaultPrivilegesStmt): AlterDefaultPrivilegesStmt { + const _j = ({} as AlterDefaultPrivilegesStmt); + _o.set(_j, "options", _p?.options); + _o.set(_j, "action", _p?.action); + return _j; + }, + copyStmt(_p?: CopyStmt): CopyStmt { + const _j = ({} as CopyStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "query", _p?.query); + _o.set(_j, "attlist", _p?.attlist); + _o.set(_j, "is_from", _p?.is_from); + _o.set(_j, "is_program", _p?.is_program); + _o.set(_j, "filename", _p?.filename); + _o.set(_j, "options", _p?.options); + _o.set(_j, "whereClause", _p?.whereClause); + return _j; + }, + variableSetStmt(_p?: VariableSetStmt): VariableSetStmt { + const _j = ({} as VariableSetStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "name", _p?.name); + _o.set(_j, "args", _p?.args); + _o.set(_j, "is_local", _p?.is_local); + return _j; + }, + variableShowStmt(_p?: VariableShowStmt): VariableShowStmt { + const _j = ({} as VariableShowStmt); + _o.set(_j, "name", _p?.name); + return _j; + }, + createStmt(_p?: CreateStmt): CreateStmt { + const _j = ({} as CreateStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "tableElts", _p?.tableElts); + _o.set(_j, "inhRelations", _p?.inhRelations); + _o.set(_j, "partbound", _p?.partbound); + _o.set(_j, "partspec", _p?.partspec); + _o.set(_j, "ofTypename", _p?.ofTypename); + _o.set(_j, "constraints", _p?.constraints); + _o.set(_j, "options", _p?.options); + _o.set(_j, "oncommit", _p?.oncommit); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "accessMethod", _p?.accessMethod); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + constraint(_p?: Constraint): Constraint { + const _j = ({} as Constraint); + _o.set(_j, "contype", _p?.contype); + _o.set(_j, "conname", _p?.conname); + _o.set(_j, "deferrable", _p?.deferrable); + _o.set(_j, "initdeferred", _p?.initdeferred); + _o.set(_j, "location", _p?.location); + _o.set(_j, "is_no_inherit", _p?.is_no_inherit); + _o.set(_j, "raw_expr", _p?.raw_expr); + _o.set(_j, "cooked_expr", _p?.cooked_expr); + _o.set(_j, "generated_when", _p?.generated_when); + _o.set(_j, "nulls_not_distinct", _p?.nulls_not_distinct); + _o.set(_j, "keys", _p?.keys); + _o.set(_j, "including", _p?.including); + _o.set(_j, "exclusions", _p?.exclusions); + _o.set(_j, "options", _p?.options); + _o.set(_j, "indexname", _p?.indexname); + _o.set(_j, "indexspace", _p?.indexspace); + _o.set(_j, "reset_default_tblspc", _p?.reset_default_tblspc); + _o.set(_j, "access_method", _p?.access_method); + _o.set(_j, "where_clause", _p?.where_clause); + _o.set(_j, "pktable", _p?.pktable); + _o.set(_j, "fk_attrs", _p?.fk_attrs); + _o.set(_j, "pk_attrs", _p?.pk_attrs); + _o.set(_j, "fk_matchtype", _p?.fk_matchtype); + _o.set(_j, "fk_upd_action", _p?.fk_upd_action); + _o.set(_j, "fk_del_action", _p?.fk_del_action); + _o.set(_j, "fk_del_set_cols", _p?.fk_del_set_cols); + _o.set(_j, "old_conpfeqop", _p?.old_conpfeqop); + _o.set(_j, "old_pktable_oid", _p?.old_pktable_oid); + _o.set(_j, "skip_validation", _p?.skip_validation); + _o.set(_j, "initially_valid", _p?.initially_valid); + return _j; + }, + createTableSpaceStmt(_p?: CreateTableSpaceStmt): CreateTableSpaceStmt { + const _j = ({} as CreateTableSpaceStmt); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "owner", _p?.owner); + _o.set(_j, "location", _p?.location); + _o.set(_j, "options", _p?.options); + return _j; + }, + dropTableSpaceStmt(_p?: DropTableSpaceStmt): DropTableSpaceStmt { + const _j = ({} as DropTableSpaceStmt); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + alterTableSpaceOptionsStmt(_p?: AlterTableSpaceOptionsStmt): AlterTableSpaceOptionsStmt { + const _j = ({} as AlterTableSpaceOptionsStmt); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "options", _p?.options); + _o.set(_j, "isReset", _p?.isReset); + return _j; + }, + alterTableMoveAllStmt(_p?: AlterTableMoveAllStmt): AlterTableMoveAllStmt { + const _j = ({} as AlterTableMoveAllStmt); + _o.set(_j, "orig_tablespacename", _p?.orig_tablespacename); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "new_tablespacename", _p?.new_tablespacename); + _o.set(_j, "nowait", _p?.nowait); + return _j; + }, + createExtensionStmt(_p?: CreateExtensionStmt): CreateExtensionStmt { + const _j = ({} as CreateExtensionStmt); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterExtensionStmt(_p?: AlterExtensionStmt): AlterExtensionStmt { + const _j = ({} as AlterExtensionStmt); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterExtensionContentsStmt(_p?: AlterExtensionContentsStmt): AlterExtensionContentsStmt { + const _j = ({} as AlterExtensionContentsStmt); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "action", _p?.action); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "object", _p?.object); + return _j; + }, + createFdwStmt(_p?: CreateFdwStmt): CreateFdwStmt { + const _j = ({} as CreateFdwStmt); + _o.set(_j, "fdwname", _p?.fdwname); + _o.set(_j, "func_options", _p?.func_options); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterFdwStmt(_p?: AlterFdwStmt): AlterFdwStmt { + const _j = ({} as AlterFdwStmt); + _o.set(_j, "fdwname", _p?.fdwname); + _o.set(_j, "func_options", _p?.func_options); + _o.set(_j, "options", _p?.options); + return _j; + }, + createForeignServerStmt(_p?: CreateForeignServerStmt): CreateForeignServerStmt { + const _j = ({} as CreateForeignServerStmt); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "servertype", _p?.servertype); + _o.set(_j, "version", _p?.version); + _o.set(_j, "fdwname", _p?.fdwname); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterForeignServerStmt(_p?: AlterForeignServerStmt): AlterForeignServerStmt { + const _j = ({} as AlterForeignServerStmt); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "version", _p?.version); + _o.set(_j, "options", _p?.options); + _o.set(_j, "has_version", _p?.has_version); + return _j; + }, + createForeignTableStmt(_p?: CreateForeignTableStmt): CreateForeignTableStmt { + const _j = ({} as CreateForeignTableStmt); + _o.set(_j, "base", _p?.base); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "options", _p?.options); + return _j; + }, + createUserMappingStmt(_p?: CreateUserMappingStmt): CreateUserMappingStmt { + const _j = ({} as CreateUserMappingStmt); + _o.set(_j, "user", _p?.user); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterUserMappingStmt(_p?: AlterUserMappingStmt): AlterUserMappingStmt { + const _j = ({} as AlterUserMappingStmt); + _o.set(_j, "user", _p?.user); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "options", _p?.options); + return _j; + }, + dropUserMappingStmt(_p?: DropUserMappingStmt): DropUserMappingStmt { + const _j = ({} as DropUserMappingStmt); + _o.set(_j, "user", _p?.user); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + importForeignSchemaStmt(_p?: ImportForeignSchemaStmt): ImportForeignSchemaStmt { + const _j = ({} as ImportForeignSchemaStmt); + _o.set(_j, "server_name", _p?.server_name); + _o.set(_j, "remote_schema", _p?.remote_schema); + _o.set(_j, "local_schema", _p?.local_schema); + _o.set(_j, "list_type", _p?.list_type); + _o.set(_j, "table_list", _p?.table_list); + _o.set(_j, "options", _p?.options); + return _j; + }, + createPolicyStmt(_p?: CreatePolicyStmt): CreatePolicyStmt { + const _j = ({} as CreatePolicyStmt); + _o.set(_j, "policy_name", _p?.policy_name); + _o.set(_j, "table", _p?.table); + _o.set(_j, "cmd_name", _p?.cmd_name); + _o.set(_j, "permissive", _p?.permissive); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "with_check", _p?.with_check); + return _j; + }, + alterPolicyStmt(_p?: AlterPolicyStmt): AlterPolicyStmt { + const _j = ({} as AlterPolicyStmt); + _o.set(_j, "policy_name", _p?.policy_name); + _o.set(_j, "table", _p?.table); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "with_check", _p?.with_check); + return _j; + }, + createAmStmt(_p?: CreateAmStmt): CreateAmStmt { + const _j = ({} as CreateAmStmt); + _o.set(_j, "amname", _p?.amname); + _o.set(_j, "handler_name", _p?.handler_name); + _o.set(_j, "amtype", _p?.amtype); + return _j; + }, + createTrigStmt(_p?: CreateTrigStmt): CreateTrigStmt { + const _j = ({} as CreateTrigStmt); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "isconstraint", _p?.isconstraint); + _o.set(_j, "trigname", _p?.trigname); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "funcname", _p?.funcname); + _o.set(_j, "args", _p?.args); + _o.set(_j, "row", _p?.row); + _o.set(_j, "timing", _p?.timing); + _o.set(_j, "events", _p?.events); + _o.set(_j, "columns", _p?.columns); + _o.set(_j, "whenClause", _p?.whenClause); + _o.set(_j, "transitionRels", _p?.transitionRels); + _o.set(_j, "deferrable", _p?.deferrable); + _o.set(_j, "initdeferred", _p?.initdeferred); + _o.set(_j, "constrrel", _p?.constrrel); + return _j; + }, + createEventTrigStmt(_p?: CreateEventTrigStmt): CreateEventTrigStmt { + const _j = ({} as CreateEventTrigStmt); + _o.set(_j, "trigname", _p?.trigname); + _o.set(_j, "eventname", _p?.eventname); + _o.set(_j, "whenclause", _p?.whenclause); + _o.set(_j, "funcname", _p?.funcname); + return _j; + }, + alterEventTrigStmt(_p?: AlterEventTrigStmt): AlterEventTrigStmt { + const _j = ({} as AlterEventTrigStmt); + _o.set(_j, "trigname", _p?.trigname); + _o.set(_j, "tgenabled", _p?.tgenabled); + return _j; + }, + createpLangStmt(_p?: CreatePLangStmt): CreatePLangStmt { + const _j = ({} as CreatePLangStmt); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "plname", _p?.plname); + _o.set(_j, "plhandler", _p?.plhandler); + _o.set(_j, "plinline", _p?.plinline); + _o.set(_j, "plvalidator", _p?.plvalidator); + _o.set(_j, "pltrusted", _p?.pltrusted); + return _j; + }, + createRoleStmt(_p?: CreateRoleStmt): CreateRoleStmt { + const _j = ({} as CreateRoleStmt); + _o.set(_j, "stmt_type", _p?.stmt_type); + _o.set(_j, "role", _p?.role); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterRoleStmt(_p?: AlterRoleStmt): AlterRoleStmt { + const _j = ({} as AlterRoleStmt); + _o.set(_j, "role", _p?.role); + _o.set(_j, "options", _p?.options); + _o.set(_j, "action", _p?.action); + return _j; + }, + alterRoleSetStmt(_p?: AlterRoleSetStmt): AlterRoleSetStmt { + const _j = ({} as AlterRoleSetStmt); + _o.set(_j, "role", _p?.role); + _o.set(_j, "database", _p?.database); + _o.set(_j, "setstmt", _p?.setstmt); + return _j; + }, + dropRoleStmt(_p?: DropRoleStmt): DropRoleStmt { + const _j = ({} as DropRoleStmt); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + createSeqStmt(_p?: CreateSeqStmt): CreateSeqStmt { + const _j = ({} as CreateSeqStmt); + _o.set(_j, "sequence", _p?.sequence); + _o.set(_j, "options", _p?.options); + _o.set(_j, "ownerId", _p?.ownerId); + _o.set(_j, "for_identity", _p?.for_identity); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + alterSeqStmt(_p?: AlterSeqStmt): AlterSeqStmt { + const _j = ({} as AlterSeqStmt); + _o.set(_j, "sequence", _p?.sequence); + _o.set(_j, "options", _p?.options); + _o.set(_j, "for_identity", _p?.for_identity); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + defineStmt(_p?: DefineStmt): DefineStmt { + const _j = ({} as DefineStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "oldstyle", _p?.oldstyle); + _o.set(_j, "defnames", _p?.defnames); + _o.set(_j, "args", _p?.args); + _o.set(_j, "definition", _p?.definition); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "replace", _p?.replace); + return _j; + }, + createDomainStmt(_p?: CreateDomainStmt): CreateDomainStmt { + const _j = ({} as CreateDomainStmt); + _o.set(_j, "domainname", _p?.domainname); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "collClause", _p?.collClause); + _o.set(_j, "constraints", _p?.constraints); + return _j; + }, + createOpClassStmt(_p?: CreateOpClassStmt): CreateOpClassStmt { + const _j = ({} as CreateOpClassStmt); + _o.set(_j, "opclassname", _p?.opclassname); + _o.set(_j, "opfamilyname", _p?.opfamilyname); + _o.set(_j, "amname", _p?.amname); + _o.set(_j, "datatype", _p?.datatype); + _o.set(_j, "items", _p?.items); + _o.set(_j, "isDefault", _p?.isDefault); + return _j; + }, + createOpClassItem(_p?: CreateOpClassItem): CreateOpClassItem { + const _j = ({} as CreateOpClassItem); + _o.set(_j, "itemtype", _p?.itemtype); + _o.set(_j, "name", _p?.name); + _o.set(_j, "number", _p?.number); + _o.set(_j, "order_family", _p?.order_family); + _o.set(_j, "class_args", _p?.class_args); + _o.set(_j, "storedtype", _p?.storedtype); + return _j; + }, + createOpFamilyStmt(_p?: CreateOpFamilyStmt): CreateOpFamilyStmt { + const _j = ({} as CreateOpFamilyStmt); + _o.set(_j, "opfamilyname", _p?.opfamilyname); + _o.set(_j, "amname", _p?.amname); + return _j; + }, + alterOpFamilyStmt(_p?: AlterOpFamilyStmt): AlterOpFamilyStmt { + const _j = ({} as AlterOpFamilyStmt); + _o.set(_j, "opfamilyname", _p?.opfamilyname); + _o.set(_j, "amname", _p?.amname); + _o.set(_j, "isDrop", _p?.isDrop); + _o.set(_j, "items", _p?.items); + return _j; + }, + dropStmt(_p?: DropStmt): DropStmt { + const _j = ({} as DropStmt); + _o.set(_j, "objects", _p?.objects); + _o.set(_j, "removeType", _p?.removeType); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "concurrent", _p?.concurrent); + return _j; + }, + truncateStmt(_p?: TruncateStmt): TruncateStmt { + const _j = ({} as TruncateStmt); + _o.set(_j, "relations", _p?.relations); + _o.set(_j, "restart_seqs", _p?.restart_seqs); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + commentStmt(_p?: CommentStmt): CommentStmt { + const _j = ({} as CommentStmt); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "object", _p?.object); + _o.set(_j, "comment", _p?.comment); + return _j; + }, + secLabelStmt(_p?: SecLabelStmt): SecLabelStmt { + const _j = ({} as SecLabelStmt); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "object", _p?.object); + _o.set(_j, "provider", _p?.provider); + _o.set(_j, "label", _p?.label); + return _j; + }, + declareCursorStmt(_p?: DeclareCursorStmt): DeclareCursorStmt { + const _j = ({} as DeclareCursorStmt); + _o.set(_j, "portalname", _p?.portalname); + _o.set(_j, "options", _p?.options); + _o.set(_j, "query", _p?.query); + return _j; + }, + closePortalStmt(_p?: ClosePortalStmt): ClosePortalStmt { + const _j = ({} as ClosePortalStmt); + _o.set(_j, "portalname", _p?.portalname); + return _j; + }, + fetchStmt(_p?: FetchStmt): FetchStmt { + const _j = ({} as FetchStmt); + _o.set(_j, "direction", _p?.direction); + _o.set(_j, "howMany", _p?.howMany); + _o.set(_j, "portalname", _p?.portalname); + _o.set(_j, "ismove", _p?.ismove); + return _j; + }, + indexStmt(_p?: IndexStmt): IndexStmt { + const _j = ({} as IndexStmt); + _o.set(_j, "idxname", _p?.idxname); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "accessMethod", _p?.accessMethod); + _o.set(_j, "tableSpace", _p?.tableSpace); + _o.set(_j, "indexParams", _p?.indexParams); + _o.set(_j, "indexIncludingParams", _p?.indexIncludingParams); + _o.set(_j, "options", _p?.options); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "excludeOpNames", _p?.excludeOpNames); + _o.set(_j, "idxcomment", _p?.idxcomment); + _o.set(_j, "indexOid", _p?.indexOid); + _o.set(_j, "oldNumber", _p?.oldNumber); + _o.set(_j, "oldCreateSubid", _p?.oldCreateSubid); + _o.set(_j, "oldFirstRelfilelocatorSubid", _p?.oldFirstRelfilelocatorSubid); + _o.set(_j, "unique", _p?.unique); + _o.set(_j, "nulls_not_distinct", _p?.nulls_not_distinct); + _o.set(_j, "primary", _p?.primary); + _o.set(_j, "isconstraint", _p?.isconstraint); + _o.set(_j, "deferrable", _p?.deferrable); + _o.set(_j, "initdeferred", _p?.initdeferred); + _o.set(_j, "transformed", _p?.transformed); + _o.set(_j, "concurrent", _p?.concurrent); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "reset_default_tblspc", _p?.reset_default_tblspc); + return _j; + }, + createStatsStmt(_p?: CreateStatsStmt): CreateStatsStmt { + const _j = ({} as CreateStatsStmt); + _o.set(_j, "defnames", _p?.defnames); + _o.set(_j, "stat_types", _p?.stat_types); + _o.set(_j, "exprs", _p?.exprs); + _o.set(_j, "relations", _p?.relations); + _o.set(_j, "stxcomment", _p?.stxcomment); + _o.set(_j, "transformed", _p?.transformed); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + statsElem(_p?: StatsElem): StatsElem { + const _j = ({} as StatsElem); + _o.set(_j, "name", _p?.name); + _o.set(_j, "expr", _p?.expr); + return _j; + }, + alterStatsStmt(_p?: AlterStatsStmt): AlterStatsStmt { + const _j = ({} as AlterStatsStmt); + _o.set(_j, "defnames", _p?.defnames); + _o.set(_j, "stxstattarget", _p?.stxstattarget); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + createFunctionStmt(_p?: CreateFunctionStmt): CreateFunctionStmt { + const _j = ({} as CreateFunctionStmt); + _o.set(_j, "is_procedure", _p?.is_procedure); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "funcname", _p?.funcname); + _o.set(_j, "parameters", _p?.parameters); + _o.set(_j, "returnType", _p?.returnType); + _o.set(_j, "options", _p?.options); + _o.set(_j, "sql_body", _p?.sql_body); + return _j; + }, + functionParameter(_p?: FunctionParameter): FunctionParameter { + const _j = ({} as FunctionParameter); + _o.set(_j, "name", _p?.name); + _o.set(_j, "argType", _p?.argType); + _o.set(_j, "mode", _p?.mode); + _o.set(_j, "defexpr", _p?.defexpr); + return _j; + }, + alterFunctionStmt(_p?: AlterFunctionStmt): AlterFunctionStmt { + const _j = ({} as AlterFunctionStmt); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "func", _p?.func); + _o.set(_j, "actions", _p?.actions); + return _j; + }, + doStmt(_p?: DoStmt): DoStmt { + const _j = ({} as DoStmt); + _o.set(_j, "args", _p?.args); + return _j; + }, + inlineCodeBlock(_p?: InlineCodeBlock): InlineCodeBlock { + const _j = ({} as InlineCodeBlock); + _o.set(_j, "source_text", _p?.source_text); + _o.set(_j, "langOid", _p?.langOid); + _o.set(_j, "langIsTrusted", _p?.langIsTrusted); + _o.set(_j, "atomic", _p?.atomic); + return _j; + }, + callStmt(_p?: CallStmt): CallStmt { + const _j = ({} as CallStmt); + _o.set(_j, "funccall", _p?.funccall); + _o.set(_j, "funcexpr", _p?.funcexpr); + _o.set(_j, "outargs", _p?.outargs); + return _j; + }, + callContext(_p?: CallContext): CallContext { + const _j = ({} as CallContext); + _o.set(_j, "atomic", _p?.atomic); + return _j; + }, + renameStmt(_p?: RenameStmt): RenameStmt { + const _j = ({} as RenameStmt); + _o.set(_j, "renameType", _p?.renameType); + _o.set(_j, "relationType", _p?.relationType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "newname", _p?.newname); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + alterObjectDependsStmt(_p?: AlterObjectDependsStmt): AlterObjectDependsStmt { + const _j = ({} as AlterObjectDependsStmt); + _o.set(_j, "objectType", _p?.objectType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "remove", _p?.remove); + return _j; + }, + alterObjectSchemaStmt(_p?: AlterObjectSchemaStmt): AlterObjectSchemaStmt { + const _j = ({} as AlterObjectSchemaStmt); + _o.set(_j, "objectType", _p?.objectType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "newschema", _p?.newschema); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + alterOwnerStmt(_p?: AlterOwnerStmt): AlterOwnerStmt { + const _j = ({} as AlterOwnerStmt); + _o.set(_j, "objectType", _p?.objectType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "newowner", _p?.newowner); + return _j; + }, + alterOperatorStmt(_p?: AlterOperatorStmt): AlterOperatorStmt { + const _j = ({} as AlterOperatorStmt); + _o.set(_j, "opername", _p?.opername); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterTypeStmt(_p?: AlterTypeStmt): AlterTypeStmt { + const _j = ({} as AlterTypeStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "options", _p?.options); + return _j; + }, + ruleStmt(_p?: RuleStmt): RuleStmt { + const _j = ({} as RuleStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "rulename", _p?.rulename); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "event", _p?.event); + _o.set(_j, "instead", _p?.instead); + _o.set(_j, "actions", _p?.actions); + _o.set(_j, "replace", _p?.replace); + return _j; + }, + notifyStmt(_p?: NotifyStmt): NotifyStmt { + const _j = ({} as NotifyStmt); + _o.set(_j, "conditionname", _p?.conditionname); + _o.set(_j, "payload", _p?.payload); + return _j; + }, + listenStmt(_p?: ListenStmt): ListenStmt { + const _j = ({} as ListenStmt); + _o.set(_j, "conditionname", _p?.conditionname); + return _j; + }, + unlistenStmt(_p?: UnlistenStmt): UnlistenStmt { + const _j = ({} as UnlistenStmt); + _o.set(_j, "conditionname", _p?.conditionname); + return _j; + }, + transactionStmt(_p?: TransactionStmt): TransactionStmt { + const _j = ({} as TransactionStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "options", _p?.options); + _o.set(_j, "savepoint_name", _p?.savepoint_name); + _o.set(_j, "gid", _p?.gid); + _o.set(_j, "chain", _p?.chain); + return _j; + }, + compositeTypeStmt(_p?: CompositeTypeStmt): CompositeTypeStmt { + const _j = ({} as CompositeTypeStmt); + _o.set(_j, "typevar", _p?.typevar); + _o.set(_j, "coldeflist", _p?.coldeflist); + return _j; + }, + createEnumStmt(_p?: CreateEnumStmt): CreateEnumStmt { + const _j = ({} as CreateEnumStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "vals", _p?.vals); + return _j; + }, + createRangeStmt(_p?: CreateRangeStmt): CreateRangeStmt { + const _j = ({} as CreateRangeStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "params", _p?.params); + return _j; + }, + alterEnumStmt(_p?: AlterEnumStmt): AlterEnumStmt { + const _j = ({} as AlterEnumStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "oldVal", _p?.oldVal); + _o.set(_j, "newVal", _p?.newVal); + _o.set(_j, "newValNeighbor", _p?.newValNeighbor); + _o.set(_j, "newValIsAfter", _p?.newValIsAfter); + _o.set(_j, "skipIfNewValExists", _p?.skipIfNewValExists); + return _j; + }, + viewStmt(_p?: ViewStmt): ViewStmt { + const _j = ({} as ViewStmt); + _o.set(_j, "view", _p?.view); + _o.set(_j, "aliases", _p?.aliases); + _o.set(_j, "query", _p?.query); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "options", _p?.options); + _o.set(_j, "withCheckOption", _p?.withCheckOption); + return _j; + }, + loadStmt(_p?: LoadStmt): LoadStmt { + const _j = ({} as LoadStmt); + _o.set(_j, "filename", _p?.filename); + return _j; + }, + createdbStmt(_p?: CreatedbStmt): CreatedbStmt { + const _j = ({} as CreatedbStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterDatabaseStmt(_p?: AlterDatabaseStmt): AlterDatabaseStmt { + const _j = ({} as AlterDatabaseStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterDatabaseRefreshCollStmt(_p?: AlterDatabaseRefreshCollStmt): AlterDatabaseRefreshCollStmt { + const _j = ({} as AlterDatabaseRefreshCollStmt); + _o.set(_j, "dbname", _p?.dbname); + return _j; + }, + alterDatabaseSetStmt(_p?: AlterDatabaseSetStmt): AlterDatabaseSetStmt { + const _j = ({} as AlterDatabaseSetStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "setstmt", _p?.setstmt); + return _j; + }, + dropdbStmt(_p?: DropdbStmt): DropdbStmt { + const _j = ({} as DropdbStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterSystemStmt(_p?: AlterSystemStmt): AlterSystemStmt { + const _j = ({} as AlterSystemStmt); + _o.set(_j, "setstmt", _p?.setstmt); + return _j; + }, + clusterStmt(_p?: ClusterStmt): ClusterStmt { + const _j = ({} as ClusterStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "indexname", _p?.indexname); + _o.set(_j, "params", _p?.params); + return _j; + }, + vacuumStmt(_p?: VacuumStmt): VacuumStmt { + const _j = ({} as VacuumStmt); + _o.set(_j, "options", _p?.options); + _o.set(_j, "rels", _p?.rels); + _o.set(_j, "is_vacuumcmd", _p?.is_vacuumcmd); + return _j; + }, + vacuumRelation(_p?: VacuumRelation): VacuumRelation { + const _j = ({} as VacuumRelation); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "oid", _p?.oid); + _o.set(_j, "va_cols", _p?.va_cols); + return _j; + }, + explainStmt(_p?: ExplainStmt): ExplainStmt { + const _j = ({} as ExplainStmt); + _o.set(_j, "query", _p?.query); + _o.set(_j, "options", _p?.options); + return _j; + }, + createTableAsStmt(_p?: CreateTableAsStmt): CreateTableAsStmt { + const _j = ({} as CreateTableAsStmt); + _o.set(_j, "query", _p?.query); + _o.set(_j, "into", _p?.into); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "is_select_into", _p?.is_select_into); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + refreshMatViewStmt(_p?: RefreshMatViewStmt): RefreshMatViewStmt { + const _j = ({} as RefreshMatViewStmt); + _o.set(_j, "concurrent", _p?.concurrent); + _o.set(_j, "skipData", _p?.skipData); + _o.set(_j, "relation", _p?.relation); + return _j; + }, + checkPointStmt(_p?: CheckPointStmt): CheckPointStmt { + const _j = ({} as CheckPointStmt); + return _j; + }, + discardStmt(_p?: DiscardStmt): DiscardStmt { + const _j = ({} as DiscardStmt); + _o.set(_j, "target", _p?.target); + return _j; + }, + lockStmt(_p?: LockStmt): LockStmt { + const _j = ({} as LockStmt); + _o.set(_j, "relations", _p?.relations); + _o.set(_j, "mode", _p?.mode); + _o.set(_j, "nowait", _p?.nowait); + return _j; + }, + constraintsSetStmt(_p?: ConstraintsSetStmt): ConstraintsSetStmt { + const _j = ({} as ConstraintsSetStmt); + _o.set(_j, "constraints", _p?.constraints); + _o.set(_j, "deferred", _p?.deferred); + return _j; + }, + reindexStmt(_p?: ReindexStmt): ReindexStmt { + const _j = ({} as ReindexStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "name", _p?.name); + _o.set(_j, "params", _p?.params); + return _j; + }, + createConversionStmt(_p?: CreateConversionStmt): CreateConversionStmt { + const _j = ({} as CreateConversionStmt); + _o.set(_j, "conversion_name", _p?.conversion_name); + _o.set(_j, "for_encoding_name", _p?.for_encoding_name); + _o.set(_j, "to_encoding_name", _p?.to_encoding_name); + _o.set(_j, "func_name", _p?.func_name); + _o.set(_j, "def", _p?.def); + return _j; + }, + createCastStmt(_p?: CreateCastStmt): CreateCastStmt { + const _j = ({} as CreateCastStmt); + _o.set(_j, "sourcetype", _p?.sourcetype); + _o.set(_j, "targettype", _p?.targettype); + _o.set(_j, "func", _p?.func); + _o.set(_j, "context", _p?.context); + _o.set(_j, "inout", _p?.inout); + return _j; + }, + createTransformStmt(_p?: CreateTransformStmt): CreateTransformStmt { + const _j = ({} as CreateTransformStmt); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "type_name", _p?.type_name); + _o.set(_j, "lang", _p?.lang); + _o.set(_j, "fromsql", _p?.fromsql); + _o.set(_j, "tosql", _p?.tosql); + return _j; + }, + prepareStmt(_p?: PrepareStmt): PrepareStmt { + const _j = ({} as PrepareStmt); + _o.set(_j, "name", _p?.name); + _o.set(_j, "argtypes", _p?.argtypes); + _o.set(_j, "query", _p?.query); + return _j; + }, + executeStmt(_p?: ExecuteStmt): ExecuteStmt { + const _j = ({} as ExecuteStmt); + _o.set(_j, "name", _p?.name); + _o.set(_j, "params", _p?.params); + return _j; + }, + deallocateStmt(_p?: DeallocateStmt): DeallocateStmt { + const _j = ({} as DeallocateStmt); + _o.set(_j, "name", _p?.name); + return _j; + }, + dropOwnedStmt(_p?: DropOwnedStmt): DropOwnedStmt { + const _j = ({} as DropOwnedStmt); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + reassignOwnedStmt(_p?: ReassignOwnedStmt): ReassignOwnedStmt { + const _j = ({} as ReassignOwnedStmt); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "newrole", _p?.newrole); + return _j; + }, + altertsDictionaryStmt(_p?: AlterTSDictionaryStmt): AlterTSDictionaryStmt { + const _j = ({} as AlterTSDictionaryStmt); + _o.set(_j, "dictname", _p?.dictname); + _o.set(_j, "options", _p?.options); + return _j; + }, + altertsConfigurationStmt(_p?: AlterTSConfigurationStmt): AlterTSConfigurationStmt { + const _j = ({} as AlterTSConfigurationStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "cfgname", _p?.cfgname); + _o.set(_j, "tokentype", _p?.tokentype); + _o.set(_j, "dicts", _p?.dicts); + _o.set(_j, "override", _p?.override); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + publicationTable(_p?: PublicationTable): PublicationTable { + const _j = ({} as PublicationTable); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "columns", _p?.columns); + return _j; + }, + publicationObjSpec(_p?: PublicationObjSpec): PublicationObjSpec { + const _j = ({} as PublicationObjSpec); + _o.set(_j, "pubobjtype", _p?.pubobjtype); + _o.set(_j, "name", _p?.name); + _o.set(_j, "pubtable", _p?.pubtable); + _o.set(_j, "location", _p?.location); + return _j; + }, + createPublicationStmt(_p?: CreatePublicationStmt): CreatePublicationStmt { + const _j = ({} as CreatePublicationStmt); + _o.set(_j, "pubname", _p?.pubname); + _o.set(_j, "options", _p?.options); + _o.set(_j, "pubobjects", _p?.pubobjects); + _o.set(_j, "for_all_tables", _p?.for_all_tables); + return _j; + }, + alterPublicationStmt(_p?: AlterPublicationStmt): AlterPublicationStmt { + const _j = ({} as AlterPublicationStmt); + _o.set(_j, "pubname", _p?.pubname); + _o.set(_j, "options", _p?.options); + _o.set(_j, "pubobjects", _p?.pubobjects); + _o.set(_j, "for_all_tables", _p?.for_all_tables); + _o.set(_j, "action", _p?.action); + return _j; + }, + createSubscriptionStmt(_p?: CreateSubscriptionStmt): CreateSubscriptionStmt { + const _j = ({} as CreateSubscriptionStmt); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "conninfo", _p?.conninfo); + _o.set(_j, "publication", _p?.publication); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterSubscriptionStmt(_p?: AlterSubscriptionStmt): AlterSubscriptionStmt { + const _j = ({} as AlterSubscriptionStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "conninfo", _p?.conninfo); + _o.set(_j, "publication", _p?.publication); + _o.set(_j, "options", _p?.options); + return _j; + }, + dropSubscriptionStmt(_p?: DropSubscriptionStmt): DropSubscriptionStmt { + const _j = ({} as DropSubscriptionStmt); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + scanToken(_p?: ScanToken): ScanToken { + const _j = ({} as ScanToken); + _o.set(_j, "start", _p?.start); + _o.set(_j, "end", _p?.end); + _o.set(_j, "token", _p?.token); + _o.set(_j, "keywordKind", _p?.keywordKind); return _j; } }; \ No newline at end of file diff --git a/__fixtures__/output/utils/astHelpers/inlineNestedObj/asts.ts b/__fixtures__/output/utils/astHelpers/inlineNestedObj/asts.ts index 5d8db13..b84f7e6 100644 --- a/__fixtures__/output/utils/astHelpers/inlineNestedObj/asts.ts +++ b/__fixtures__/output/utils/astHelpers/inlineNestedObj/asts.ts @@ -6,824 +6,690 @@ import _o from "./path-obj"; import { ParseResult, ScanResult, Integer, Float, Boolean, String, BitString, List, OidList, IntList, A_Const, Alias, RangeVar, TableFunc, IntoClause, Var, Param, Aggref, GroupingFunc, WindowFunc, SubscriptingRef, FuncExpr, NamedArgExpr, OpExpr, DistinctExpr, NullIfExpr, ScalarArrayOpExpr, BoolExpr, SubLink, SubPlan, AlternativeSubPlan, FieldSelect, FieldStore, RelabelType, CoerceViaIO, ArrayCoerceExpr, ConvertRowtypeExpr, CollateExpr, CaseExpr, CaseWhen, CaseTestExpr, ArrayExpr, RowExpr, RowCompareExpr, CoalesceExpr, MinMaxExpr, SQLValueFunction, XmlExpr, JsonFormat, JsonReturning, JsonValueExpr, JsonConstructorExpr, JsonIsPredicate, NullTest, BooleanTest, CoerceToDomain, CoerceToDomainValue, SetToDefault, CurrentOfExpr, NextValueExpr, InferenceElem, TargetEntry, RangeTblRef, JoinExpr, FromExpr, OnConflictExpr, Query, TypeName, ColumnRef, ParamRef, A_Expr, TypeCast, CollateClause, RoleSpec, FuncCall, A_Star, A_Indices, A_Indirection, A_ArrayExpr, ResTarget, MultiAssignRef, SortBy, WindowDef, RangeSubselect, RangeFunction, RangeTableFunc, RangeTableFuncCol, RangeTableSample, ColumnDef, TableLikeClause, IndexElem, DefElem, LockingClause, XmlSerialize, PartitionElem, PartitionSpec, PartitionBoundSpec, PartitionRangeDatum, PartitionCmd, RangeTblEntry, RTEPermissionInfo, RangeTblFunction, TableSampleClause, WithCheckOption, SortGroupClause, GroupingSet, WindowClause, RowMarkClause, WithClause, InferClause, OnConflictClause, CTESearchClause, CTECycleClause, CommonTableExpr, MergeWhenClause, MergeAction, TriggerTransition, JsonOutput, JsonKeyValue, JsonObjectConstructor, JsonArrayConstructor, JsonArrayQueryConstructor, JsonAggConstructor, JsonObjectAgg, JsonArrayAgg, RawStmt, InsertStmt, DeleteStmt, UpdateStmt, MergeStmt, SelectStmt, SetOperationStmt, ReturnStmt, PLAssignStmt, CreateSchemaStmt, AlterTableStmt, ReplicaIdentityStmt, AlterTableCmd, AlterCollationStmt, AlterDomainStmt, GrantStmt, ObjectWithArgs, AccessPriv, GrantRoleStmt, AlterDefaultPrivilegesStmt, CopyStmt, VariableSetStmt, VariableShowStmt, CreateStmt, Constraint, CreateTableSpaceStmt, DropTableSpaceStmt, AlterTableSpaceOptionsStmt, AlterTableMoveAllStmt, CreateExtensionStmt, AlterExtensionStmt, AlterExtensionContentsStmt, CreateFdwStmt, AlterFdwStmt, CreateForeignServerStmt, AlterForeignServerStmt, CreateForeignTableStmt, CreateUserMappingStmt, AlterUserMappingStmt, DropUserMappingStmt, ImportForeignSchemaStmt, CreatePolicyStmt, AlterPolicyStmt, CreateAmStmt, CreateTrigStmt, CreateEventTrigStmt, AlterEventTrigStmt, CreatePLangStmt, CreateRoleStmt, AlterRoleStmt, AlterRoleSetStmt, DropRoleStmt, CreateSeqStmt, AlterSeqStmt, DefineStmt, CreateDomainStmt, CreateOpClassStmt, CreateOpClassItem, CreateOpFamilyStmt, AlterOpFamilyStmt, DropStmt, TruncateStmt, CommentStmt, SecLabelStmt, DeclareCursorStmt, ClosePortalStmt, FetchStmt, IndexStmt, CreateStatsStmt, StatsElem, AlterStatsStmt, CreateFunctionStmt, FunctionParameter, AlterFunctionStmt, DoStmt, InlineCodeBlock, CallStmt, CallContext, RenameStmt, AlterObjectDependsStmt, AlterObjectSchemaStmt, AlterOwnerStmt, AlterOperatorStmt, AlterTypeStmt, RuleStmt, NotifyStmt, ListenStmt, UnlistenStmt, TransactionStmt, CompositeTypeStmt, CreateEnumStmt, CreateRangeStmt, AlterEnumStmt, ViewStmt, LoadStmt, CreatedbStmt, AlterDatabaseStmt, AlterDatabaseRefreshCollStmt, AlterDatabaseSetStmt, DropdbStmt, AlterSystemStmt, ClusterStmt, VacuumStmt, VacuumRelation, ExplainStmt, CreateTableAsStmt, RefreshMatViewStmt, CheckPointStmt, DiscardStmt, LockStmt, ConstraintsSetStmt, ReindexStmt, CreateConversionStmt, CreateCastStmt, CreateTransformStmt, PrepareStmt, ExecuteStmt, DeallocateStmt, DropOwnedStmt, ReassignOwnedStmt, AlterTSDictionaryStmt, AlterTSConfigurationStmt, PublicationTable, PublicationObjSpec, CreatePublicationStmt, AlterPublicationStmt, CreateSubscriptionStmt, AlterSubscriptionStmt, DropSubscriptionStmt, ScanToken } from "./wrapped"; export default { - parseResult(_p?: ParseResult["ParseResult"]): ParseResult { - const _j = ({ - ParseResult: {} - } as ParseResult); - _o.set(_j, "ParseResult.version", _p?.version); - _o.set(_j, "ParseResult.stmts", _p?.stmts); + parseResult(_p?: ParseResult): ParseResult { + const _j = ({} as ParseResult); + _o.set(_j, "version", _p?.version); + _o.set(_j, "stmts", _p?.stmts); return _j; - }, - scanResult(_p?: ScanResult["ScanResult"]): ScanResult { - const _j = ({ - ScanResult: {} - } as ScanResult); - _o.set(_j, "ScanResult.version", _p?.version); - _o.set(_j, "ScanResult.tokens", _p?.tokens); - return _j; - }, - integer(_p?: Integer["Integer"]): Integer { - const _j = ({ - Integer: {} - } as Integer); - _o.set(_j, "Integer.ival", _p?.ival); - return _j; - }, - float(_p?: Float["Float"]): Float { - const _j = ({ - Float: {} - } as Float); - _o.set(_j, "Float.fval", _p?.fval); - return _j; - }, - boolean(_p?: Boolean["Boolean"]): Boolean { - const _j = ({ - Boolean: {} - } as Boolean); - _o.set(_j, "Boolean.boolval", _p?.boolval); - return _j; - }, - string(_p?: String["String"]): String { - const _j = ({ - String: {} - } as String); - _o.set(_j, "String.sval", _p?.sval); - return _j; - }, - bitString(_p?: BitString["BitString"]): BitString { - const _j = ({ - BitString: {} - } as BitString); - _o.set(_j, "BitString.bsval", _p?.bsval); - return _j; - }, - list(_p?: List["List"]): List { - const _j = ({ - List: {} - } as List); - _o.set(_j, "List.items", _p?.items); - return _j; - }, - oidList(_p?: OidList["OidList"]): OidList { - const _j = ({ - OidList: {} - } as OidList); - _o.set(_j, "OidList.items", _p?.items); - return _j; - }, - intList(_p?: IntList["IntList"]): IntList { - const _j = ({ - IntList: {} - } as IntList); - _o.set(_j, "IntList.items", _p?.items); - return _j; - }, - aConst(_p?: A_Const["A_Const"]): A_Const { - const _j = ({ - A_Const: {} - } as A_Const); - _o.set(_j, "A_Const.ival", _p?.ival); - _o.set(_j, "A_Const.fval", _p?.fval); - _o.set(_j, "A_Const.boolval", _p?.boolval); - _o.set(_j, "A_Const.sval", _p?.sval); - _o.set(_j, "A_Const.bsval", _p?.bsval); - _o.set(_j, "A_Const.isnull", _p?.isnull); - _o.set(_j, "A_Const.location", _p?.location); - return _j; - }, - alias(_p?: Alias["Alias"]): Alias { - const _j = ({ - Alias: {} - } as Alias); - _o.set(_j, "Alias.aliasname", _p?.aliasname); - _o.set(_j, "Alias.colnames", _p?.colnames); - return _j; - }, - rangeVar(_p?: RangeVar["RangeVar"]): RangeVar { - const _j = ({ - RangeVar: {} - } as RangeVar); - _o.set(_j, "RangeVar.catalogname", _p?.catalogname); - _o.set(_j, "RangeVar.schemaname", _p?.schemaname); - _o.set(_j, "RangeVar.relname", _p?.relname); - _o.set(_j, "RangeVar.inh", _p?.inh); - _o.set(_j, "RangeVar.relpersistence", _p?.relpersistence); - _o.set(_j, "RangeVar.alias", _p?.alias); - _o.set(_j, "RangeVar.location", _p?.location); - return _j; - }, - tableFunc(_p?: TableFunc["TableFunc"]): TableFunc { - const _j = ({ - TableFunc: {} - } as TableFunc); - _o.set(_j, "TableFunc.ns_uris", _p?.ns_uris); - _o.set(_j, "TableFunc.ns_names", _p?.ns_names); - _o.set(_j, "TableFunc.docexpr", _p?.docexpr); - _o.set(_j, "TableFunc.rowexpr", _p?.rowexpr); - _o.set(_j, "TableFunc.colnames", _p?.colnames); - _o.set(_j, "TableFunc.coltypes", _p?.coltypes); - _o.set(_j, "TableFunc.coltypmods", _p?.coltypmods); - _o.set(_j, "TableFunc.colcollations", _p?.colcollations); - _o.set(_j, "TableFunc.colexprs", _p?.colexprs); - _o.set(_j, "TableFunc.coldefexprs", _p?.coldefexprs); - _o.set(_j, "TableFunc.notnulls", _p?.notnulls); - _o.set(_j, "TableFunc.ordinalitycol", _p?.ordinalitycol); - _o.set(_j, "TableFunc.location", _p?.location); - return _j; - }, - intoClause(_p?: IntoClause["IntoClause"]): IntoClause { - const _j = ({ - IntoClause: {} - } as IntoClause); - _o.set(_j, "IntoClause.rel", _p?.rel); - _o.set(_j, "IntoClause.colNames", _p?.colNames); - _o.set(_j, "IntoClause.accessMethod", _p?.accessMethod); - _o.set(_j, "IntoClause.options", _p?.options); - _o.set(_j, "IntoClause.onCommit", _p?.onCommit); - _o.set(_j, "IntoClause.tableSpaceName", _p?.tableSpaceName); - _o.set(_j, "IntoClause.viewQuery", _p?.viewQuery); - _o.set(_j, "IntoClause.skipData", _p?.skipData); - return _j; - }, - var(_p?: Var["Var"]): Var { - const _j = ({ - Var: {} - } as Var); - _o.set(_j, "Var.xpr", _p?.xpr); - _o.set(_j, "Var.varno", _p?.varno); - _o.set(_j, "Var.varattno", _p?.varattno); - _o.set(_j, "Var.vartype", _p?.vartype); - _o.set(_j, "Var.vartypmod", _p?.vartypmod); - _o.set(_j, "Var.varcollid", _p?.varcollid); - _o.set(_j, "Var.varnullingrels", _p?.varnullingrels); - _o.set(_j, "Var.varlevelsup", _p?.varlevelsup); - _o.set(_j, "Var.location", _p?.location); - return _j; - }, - param(_p?: Param["Param"]): Param { - const _j = ({ - Param: {} - } as Param); - _o.set(_j, "Param.xpr", _p?.xpr); - _o.set(_j, "Param.paramkind", _p?.paramkind); - _o.set(_j, "Param.paramid", _p?.paramid); - _o.set(_j, "Param.paramtype", _p?.paramtype); - _o.set(_j, "Param.paramtypmod", _p?.paramtypmod); - _o.set(_j, "Param.paramcollid", _p?.paramcollid); - _o.set(_j, "Param.location", _p?.location); - return _j; - }, - aggref(_p?: Aggref["Aggref"]): Aggref { - const _j = ({ - Aggref: {} - } as Aggref); - _o.set(_j, "Aggref.xpr", _p?.xpr); - _o.set(_j, "Aggref.aggfnoid", _p?.aggfnoid); - _o.set(_j, "Aggref.aggtype", _p?.aggtype); - _o.set(_j, "Aggref.aggcollid", _p?.aggcollid); - _o.set(_j, "Aggref.inputcollid", _p?.inputcollid); - _o.set(_j, "Aggref.aggargtypes", _p?.aggargtypes); - _o.set(_j, "Aggref.aggdirectargs", _p?.aggdirectargs); - _o.set(_j, "Aggref.args", _p?.args); - _o.set(_j, "Aggref.aggorder", _p?.aggorder); - _o.set(_j, "Aggref.aggdistinct", _p?.aggdistinct); - _o.set(_j, "Aggref.aggfilter", _p?.aggfilter); - _o.set(_j, "Aggref.aggstar", _p?.aggstar); - _o.set(_j, "Aggref.aggvariadic", _p?.aggvariadic); - _o.set(_j, "Aggref.aggkind", _p?.aggkind); - _o.set(_j, "Aggref.agglevelsup", _p?.agglevelsup); - _o.set(_j, "Aggref.aggsplit", _p?.aggsplit); - _o.set(_j, "Aggref.aggno", _p?.aggno); - _o.set(_j, "Aggref.aggtransno", _p?.aggtransno); - _o.set(_j, "Aggref.location", _p?.location); - return _j; - }, - groupingFunc(_p?: GroupingFunc["GroupingFunc"]): GroupingFunc { - const _j = ({ - GroupingFunc: {} - } as GroupingFunc); - _o.set(_j, "GroupingFunc.xpr", _p?.xpr); - _o.set(_j, "GroupingFunc.args", _p?.args); - _o.set(_j, "GroupingFunc.refs", _p?.refs); - _o.set(_j, "GroupingFunc.agglevelsup", _p?.agglevelsup); - _o.set(_j, "GroupingFunc.location", _p?.location); - return _j; - }, - windowFunc(_p?: WindowFunc["WindowFunc"]): WindowFunc { - const _j = ({ - WindowFunc: {} - } as WindowFunc); - _o.set(_j, "WindowFunc.xpr", _p?.xpr); - _o.set(_j, "WindowFunc.winfnoid", _p?.winfnoid); - _o.set(_j, "WindowFunc.wintype", _p?.wintype); - _o.set(_j, "WindowFunc.wincollid", _p?.wincollid); - _o.set(_j, "WindowFunc.inputcollid", _p?.inputcollid); - _o.set(_j, "WindowFunc.args", _p?.args); - _o.set(_j, "WindowFunc.aggfilter", _p?.aggfilter); - _o.set(_j, "WindowFunc.winref", _p?.winref); - _o.set(_j, "WindowFunc.winstar", _p?.winstar); - _o.set(_j, "WindowFunc.winagg", _p?.winagg); - _o.set(_j, "WindowFunc.location", _p?.location); - return _j; - }, - subscriptingRef(_p?: SubscriptingRef["SubscriptingRef"]): SubscriptingRef { - const _j = ({ - SubscriptingRef: {} - } as SubscriptingRef); - _o.set(_j, "SubscriptingRef.xpr", _p?.xpr); - _o.set(_j, "SubscriptingRef.refcontainertype", _p?.refcontainertype); - _o.set(_j, "SubscriptingRef.refelemtype", _p?.refelemtype); - _o.set(_j, "SubscriptingRef.refrestype", _p?.refrestype); - _o.set(_j, "SubscriptingRef.reftypmod", _p?.reftypmod); - _o.set(_j, "SubscriptingRef.refcollid", _p?.refcollid); - _o.set(_j, "SubscriptingRef.refupperindexpr", _p?.refupperindexpr); - _o.set(_j, "SubscriptingRef.reflowerindexpr", _p?.reflowerindexpr); - _o.set(_j, "SubscriptingRef.refexpr", _p?.refexpr); - _o.set(_j, "SubscriptingRef.refassgnexpr", _p?.refassgnexpr); - return _j; - }, - funcExpr(_p?: FuncExpr["FuncExpr"]): FuncExpr { - const _j = ({ - FuncExpr: {} - } as FuncExpr); - _o.set(_j, "FuncExpr.xpr", _p?.xpr); - _o.set(_j, "FuncExpr.funcid", _p?.funcid); - _o.set(_j, "FuncExpr.funcresulttype", _p?.funcresulttype); - _o.set(_j, "FuncExpr.funcretset", _p?.funcretset); - _o.set(_j, "FuncExpr.funcvariadic", _p?.funcvariadic); - _o.set(_j, "FuncExpr.funcformat", _p?.funcformat); - _o.set(_j, "FuncExpr.funccollid", _p?.funccollid); - _o.set(_j, "FuncExpr.inputcollid", _p?.inputcollid); - _o.set(_j, "FuncExpr.args", _p?.args); - _o.set(_j, "FuncExpr.location", _p?.location); - return _j; - }, - namedArgExpr(_p?: NamedArgExpr["NamedArgExpr"]): NamedArgExpr { - const _j = ({ - NamedArgExpr: {} - } as NamedArgExpr); - _o.set(_j, "NamedArgExpr.xpr", _p?.xpr); - _o.set(_j, "NamedArgExpr.arg", _p?.arg); - _o.set(_j, "NamedArgExpr.name", _p?.name); - _o.set(_j, "NamedArgExpr.argnumber", _p?.argnumber); - _o.set(_j, "NamedArgExpr.location", _p?.location); - return _j; - }, - opExpr(_p?: OpExpr["OpExpr"]): OpExpr { - const _j = ({ - OpExpr: {} - } as OpExpr); - _o.set(_j, "OpExpr.xpr", _p?.xpr); - _o.set(_j, "OpExpr.opno", _p?.opno); - _o.set(_j, "OpExpr.opresulttype", _p?.opresulttype); - _o.set(_j, "OpExpr.opretset", _p?.opretset); - _o.set(_j, "OpExpr.opcollid", _p?.opcollid); - _o.set(_j, "OpExpr.inputcollid", _p?.inputcollid); - _o.set(_j, "OpExpr.args", _p?.args); - _o.set(_j, "OpExpr.location", _p?.location); - return _j; - }, - distinctExpr(_p?: DistinctExpr["DistinctExpr"]): DistinctExpr { - const _j = ({ - DistinctExpr: {} - } as DistinctExpr); - _o.set(_j, "DistinctExpr.xpr", _p?.xpr); - _o.set(_j, "DistinctExpr.opno", _p?.opno); - _o.set(_j, "DistinctExpr.opresulttype", _p?.opresulttype); - _o.set(_j, "DistinctExpr.opretset", _p?.opretset); - _o.set(_j, "DistinctExpr.opcollid", _p?.opcollid); - _o.set(_j, "DistinctExpr.inputcollid", _p?.inputcollid); - _o.set(_j, "DistinctExpr.args", _p?.args); - _o.set(_j, "DistinctExpr.location", _p?.location); - return _j; - }, - nullIfExpr(_p?: NullIfExpr["NullIfExpr"]): NullIfExpr { - const _j = ({ - NullIfExpr: {} - } as NullIfExpr); - _o.set(_j, "NullIfExpr.xpr", _p?.xpr); - _o.set(_j, "NullIfExpr.opno", _p?.opno); - _o.set(_j, "NullIfExpr.opresulttype", _p?.opresulttype); - _o.set(_j, "NullIfExpr.opretset", _p?.opretset); - _o.set(_j, "NullIfExpr.opcollid", _p?.opcollid); - _o.set(_j, "NullIfExpr.inputcollid", _p?.inputcollid); - _o.set(_j, "NullIfExpr.args", _p?.args); - _o.set(_j, "NullIfExpr.location", _p?.location); - return _j; - }, - scalarArrayOpExpr(_p?: ScalarArrayOpExpr["ScalarArrayOpExpr"]): ScalarArrayOpExpr { - const _j = ({ - ScalarArrayOpExpr: {} - } as ScalarArrayOpExpr); - _o.set(_j, "ScalarArrayOpExpr.xpr", _p?.xpr); - _o.set(_j, "ScalarArrayOpExpr.opno", _p?.opno); - _o.set(_j, "ScalarArrayOpExpr.useOr", _p?.useOr); - _o.set(_j, "ScalarArrayOpExpr.inputcollid", _p?.inputcollid); - _o.set(_j, "ScalarArrayOpExpr.args", _p?.args); - _o.set(_j, "ScalarArrayOpExpr.location", _p?.location); - return _j; - }, - boolExpr(_p?: BoolExpr["BoolExpr"]): BoolExpr { - const _j = ({ - BoolExpr: {} - } as BoolExpr); - _o.set(_j, "BoolExpr.xpr", _p?.xpr); - _o.set(_j, "BoolExpr.boolop", _p?.boolop); - _o.set(_j, "BoolExpr.args", _p?.args); - _o.set(_j, "BoolExpr.location", _p?.location); - return _j; - }, - subLink(_p?: SubLink["SubLink"]): SubLink { - const _j = ({ - SubLink: {} - } as SubLink); - _o.set(_j, "SubLink.xpr", _p?.xpr); - _o.set(_j, "SubLink.subLinkType", _p?.subLinkType); - _o.set(_j, "SubLink.subLinkId", _p?.subLinkId); - _o.set(_j, "SubLink.testexpr", _p?.testexpr); - _o.set(_j, "SubLink.operName", _p?.operName); - _o.set(_j, "SubLink.subselect", _p?.subselect); - _o.set(_j, "SubLink.location", _p?.location); - return _j; - }, - subPlan(_p?: SubPlan["SubPlan"]): SubPlan { - const _j = ({ - SubPlan: {} - } as SubPlan); - _o.set(_j, "SubPlan.xpr", _p?.xpr); - _o.set(_j, "SubPlan.subLinkType", _p?.subLinkType); - _o.set(_j, "SubPlan.testexpr", _p?.testexpr); - _o.set(_j, "SubPlan.paramIds", _p?.paramIds); - _o.set(_j, "SubPlan.plan_id", _p?.plan_id); - _o.set(_j, "SubPlan.plan_name", _p?.plan_name); - _o.set(_j, "SubPlan.firstColType", _p?.firstColType); - _o.set(_j, "SubPlan.firstColTypmod", _p?.firstColTypmod); - _o.set(_j, "SubPlan.firstColCollation", _p?.firstColCollation); - _o.set(_j, "SubPlan.useHashTable", _p?.useHashTable); - _o.set(_j, "SubPlan.unknownEqFalse", _p?.unknownEqFalse); - _o.set(_j, "SubPlan.parallel_safe", _p?.parallel_safe); - _o.set(_j, "SubPlan.setParam", _p?.setParam); - _o.set(_j, "SubPlan.parParam", _p?.parParam); - _o.set(_j, "SubPlan.args", _p?.args); - _o.set(_j, "SubPlan.startup_cost", _p?.startup_cost); - _o.set(_j, "SubPlan.per_call_cost", _p?.per_call_cost); - return _j; - }, - alternativeSubPlan(_p?: AlternativeSubPlan["AlternativeSubPlan"]): AlternativeSubPlan { - const _j = ({ - AlternativeSubPlan: {} - } as AlternativeSubPlan); - _o.set(_j, "AlternativeSubPlan.xpr", _p?.xpr); - _o.set(_j, "AlternativeSubPlan.subplans", _p?.subplans); - return _j; - }, - fieldSelect(_p?: FieldSelect["FieldSelect"]): FieldSelect { - const _j = ({ - FieldSelect: {} - } as FieldSelect); - _o.set(_j, "FieldSelect.xpr", _p?.xpr); - _o.set(_j, "FieldSelect.arg", _p?.arg); - _o.set(_j, "FieldSelect.fieldnum", _p?.fieldnum); - _o.set(_j, "FieldSelect.resulttype", _p?.resulttype); - _o.set(_j, "FieldSelect.resulttypmod", _p?.resulttypmod); - _o.set(_j, "FieldSelect.resultcollid", _p?.resultcollid); - return _j; - }, - fieldStore(_p?: FieldStore["FieldStore"]): FieldStore { - const _j = ({ - FieldStore: {} - } as FieldStore); - _o.set(_j, "FieldStore.xpr", _p?.xpr); - _o.set(_j, "FieldStore.arg", _p?.arg); - _o.set(_j, "FieldStore.newvals", _p?.newvals); - _o.set(_j, "FieldStore.fieldnums", _p?.fieldnums); - _o.set(_j, "FieldStore.resulttype", _p?.resulttype); - return _j; - }, - relabelType(_p?: RelabelType["RelabelType"]): RelabelType { - const _j = ({ - RelabelType: {} - } as RelabelType); - _o.set(_j, "RelabelType.xpr", _p?.xpr); - _o.set(_j, "RelabelType.arg", _p?.arg); - _o.set(_j, "RelabelType.resulttype", _p?.resulttype); - _o.set(_j, "RelabelType.resulttypmod", _p?.resulttypmod); - _o.set(_j, "RelabelType.resultcollid", _p?.resultcollid); - _o.set(_j, "RelabelType.relabelformat", _p?.relabelformat); - _o.set(_j, "RelabelType.location", _p?.location); - return _j; - }, - coerceViaio(_p?: CoerceViaIO["CoerceViaIO"]): CoerceViaIO { - const _j = ({ - CoerceViaIO: {} - } as CoerceViaIO); - _o.set(_j, "CoerceViaIO.xpr", _p?.xpr); - _o.set(_j, "CoerceViaIO.arg", _p?.arg); - _o.set(_j, "CoerceViaIO.resulttype", _p?.resulttype); - _o.set(_j, "CoerceViaIO.resultcollid", _p?.resultcollid); - _o.set(_j, "CoerceViaIO.coerceformat", _p?.coerceformat); - _o.set(_j, "CoerceViaIO.location", _p?.location); - return _j; - }, - arrayCoerceExpr(_p?: ArrayCoerceExpr["ArrayCoerceExpr"]): ArrayCoerceExpr { - const _j = ({ - ArrayCoerceExpr: {} - } as ArrayCoerceExpr); - _o.set(_j, "ArrayCoerceExpr.xpr", _p?.xpr); - _o.set(_j, "ArrayCoerceExpr.arg", _p?.arg); - _o.set(_j, "ArrayCoerceExpr.elemexpr", _p?.elemexpr); - _o.set(_j, "ArrayCoerceExpr.resulttype", _p?.resulttype); - _o.set(_j, "ArrayCoerceExpr.resulttypmod", _p?.resulttypmod); - _o.set(_j, "ArrayCoerceExpr.resultcollid", _p?.resultcollid); - _o.set(_j, "ArrayCoerceExpr.coerceformat", _p?.coerceformat); - _o.set(_j, "ArrayCoerceExpr.location", _p?.location); - return _j; - }, - convertRowtypeExpr(_p?: ConvertRowtypeExpr["ConvertRowtypeExpr"]): ConvertRowtypeExpr { - const _j = ({ - ConvertRowtypeExpr: {} - } as ConvertRowtypeExpr); - _o.set(_j, "ConvertRowtypeExpr.xpr", _p?.xpr); - _o.set(_j, "ConvertRowtypeExpr.arg", _p?.arg); - _o.set(_j, "ConvertRowtypeExpr.resulttype", _p?.resulttype); - _o.set(_j, "ConvertRowtypeExpr.convertformat", _p?.convertformat); - _o.set(_j, "ConvertRowtypeExpr.location", _p?.location); - return _j; - }, - collateExpr(_p?: CollateExpr["CollateExpr"]): CollateExpr { - const _j = ({ - CollateExpr: {} - } as CollateExpr); - _o.set(_j, "CollateExpr.xpr", _p?.xpr); - _o.set(_j, "CollateExpr.arg", _p?.arg); - _o.set(_j, "CollateExpr.collOid", _p?.collOid); - _o.set(_j, "CollateExpr.location", _p?.location); - return _j; - }, - caseExpr(_p?: CaseExpr["CaseExpr"]): CaseExpr { - const _j = ({ - CaseExpr: {} - } as CaseExpr); - _o.set(_j, "CaseExpr.xpr", _p?.xpr); - _o.set(_j, "CaseExpr.casetype", _p?.casetype); - _o.set(_j, "CaseExpr.casecollid", _p?.casecollid); - _o.set(_j, "CaseExpr.arg", _p?.arg); - _o.set(_j, "CaseExpr.args", _p?.args); - _o.set(_j, "CaseExpr.defresult", _p?.defresult); - _o.set(_j, "CaseExpr.location", _p?.location); - return _j; - }, - caseWhen(_p?: CaseWhen["CaseWhen"]): CaseWhen { - const _j = ({ - CaseWhen: {} - } as CaseWhen); - _o.set(_j, "CaseWhen.xpr", _p?.xpr); - _o.set(_j, "CaseWhen.expr", _p?.expr); - _o.set(_j, "CaseWhen.result", _p?.result); - _o.set(_j, "CaseWhen.location", _p?.location); - return _j; - }, - caseTestExpr(_p?: CaseTestExpr["CaseTestExpr"]): CaseTestExpr { - const _j = ({ - CaseTestExpr: {} - } as CaseTestExpr); - _o.set(_j, "CaseTestExpr.xpr", _p?.xpr); - _o.set(_j, "CaseTestExpr.typeId", _p?.typeId); - _o.set(_j, "CaseTestExpr.typeMod", _p?.typeMod); - _o.set(_j, "CaseTestExpr.collation", _p?.collation); - return _j; - }, - arrayExpr(_p?: ArrayExpr["ArrayExpr"]): ArrayExpr { - const _j = ({ - ArrayExpr: {} - } as ArrayExpr); - _o.set(_j, "ArrayExpr.xpr", _p?.xpr); - _o.set(_j, "ArrayExpr.array_typeid", _p?.array_typeid); - _o.set(_j, "ArrayExpr.array_collid", _p?.array_collid); - _o.set(_j, "ArrayExpr.element_typeid", _p?.element_typeid); - _o.set(_j, "ArrayExpr.elements", _p?.elements); - _o.set(_j, "ArrayExpr.multidims", _p?.multidims); - _o.set(_j, "ArrayExpr.location", _p?.location); - return _j; - }, - rowExpr(_p?: RowExpr["RowExpr"]): RowExpr { - const _j = ({ - RowExpr: {} - } as RowExpr); - _o.set(_j, "RowExpr.xpr", _p?.xpr); - _o.set(_j, "RowExpr.args", _p?.args); - _o.set(_j, "RowExpr.row_typeid", _p?.row_typeid); - _o.set(_j, "RowExpr.row_format", _p?.row_format); - _o.set(_j, "RowExpr.colnames", _p?.colnames); - _o.set(_j, "RowExpr.location", _p?.location); - return _j; - }, - rowCompareExpr(_p?: RowCompareExpr["RowCompareExpr"]): RowCompareExpr { - const _j = ({ - RowCompareExpr: {} - } as RowCompareExpr); - _o.set(_j, "RowCompareExpr.xpr", _p?.xpr); - _o.set(_j, "RowCompareExpr.rctype", _p?.rctype); - _o.set(_j, "RowCompareExpr.opnos", _p?.opnos); - _o.set(_j, "RowCompareExpr.opfamilies", _p?.opfamilies); - _o.set(_j, "RowCompareExpr.inputcollids", _p?.inputcollids); - _o.set(_j, "RowCompareExpr.largs", _p?.largs); - _o.set(_j, "RowCompareExpr.rargs", _p?.rargs); - return _j; - }, - coalesceExpr(_p?: CoalesceExpr["CoalesceExpr"]): CoalesceExpr { - const _j = ({ - CoalesceExpr: {} - } as CoalesceExpr); - _o.set(_j, "CoalesceExpr.xpr", _p?.xpr); - _o.set(_j, "CoalesceExpr.coalescetype", _p?.coalescetype); - _o.set(_j, "CoalesceExpr.coalescecollid", _p?.coalescecollid); - _o.set(_j, "CoalesceExpr.args", _p?.args); - _o.set(_j, "CoalesceExpr.location", _p?.location); - return _j; - }, - minMaxExpr(_p?: MinMaxExpr["MinMaxExpr"]): MinMaxExpr { - const _j = ({ - MinMaxExpr: {} - } as MinMaxExpr); - _o.set(_j, "MinMaxExpr.xpr", _p?.xpr); - _o.set(_j, "MinMaxExpr.minmaxtype", _p?.minmaxtype); - _o.set(_j, "MinMaxExpr.minmaxcollid", _p?.minmaxcollid); - _o.set(_j, "MinMaxExpr.inputcollid", _p?.inputcollid); - _o.set(_j, "MinMaxExpr.op", _p?.op); - _o.set(_j, "MinMaxExpr.args", _p?.args); - _o.set(_j, "MinMaxExpr.location", _p?.location); - return _j; - }, - sqlValueFunction(_p?: SQLValueFunction["SQLValueFunction"]): SQLValueFunction { - const _j = ({ - SQLValueFunction: {} - } as SQLValueFunction); - _o.set(_j, "SQLValueFunction.xpr", _p?.xpr); - _o.set(_j, "SQLValueFunction.op", _p?.op); - _o.set(_j, "SQLValueFunction.type", _p?.type); - _o.set(_j, "SQLValueFunction.typmod", _p?.typmod); - _o.set(_j, "SQLValueFunction.location", _p?.location); - return _j; - }, - xmlExpr(_p?: XmlExpr["XmlExpr"]): XmlExpr { - const _j = ({ - XmlExpr: {} - } as XmlExpr); - _o.set(_j, "XmlExpr.xpr", _p?.xpr); - _o.set(_j, "XmlExpr.op", _p?.op); - _o.set(_j, "XmlExpr.name", _p?.name); - _o.set(_j, "XmlExpr.named_args", _p?.named_args); - _o.set(_j, "XmlExpr.arg_names", _p?.arg_names); - _o.set(_j, "XmlExpr.args", _p?.args); - _o.set(_j, "XmlExpr.xmloption", _p?.xmloption); - _o.set(_j, "XmlExpr.indent", _p?.indent); - _o.set(_j, "XmlExpr.type", _p?.type); - _o.set(_j, "XmlExpr.typmod", _p?.typmod); - _o.set(_j, "XmlExpr.location", _p?.location); - return _j; - }, - jsonFormat(_p?: JsonFormat["JsonFormat"]): JsonFormat { - const _j = ({ - JsonFormat: {} - } as JsonFormat); - _o.set(_j, "JsonFormat.format_type", _p?.format_type); - _o.set(_j, "JsonFormat.encoding", _p?.encoding); - _o.set(_j, "JsonFormat.location", _p?.location); - return _j; - }, - jsonReturning(_p?: JsonReturning["JsonReturning"]): JsonReturning { - const _j = ({ - JsonReturning: {} - } as JsonReturning); - _o.set(_j, "JsonReturning.format", _p?.format); - _o.set(_j, "JsonReturning.typid", _p?.typid); - _o.set(_j, "JsonReturning.typmod", _p?.typmod); - return _j; - }, - jsonValueExpr(_p?: JsonValueExpr["JsonValueExpr"]): JsonValueExpr { - const _j = ({ - JsonValueExpr: {} - } as JsonValueExpr); - _o.set(_j, "JsonValueExpr.raw_expr", _p?.raw_expr); - _o.set(_j, "JsonValueExpr.formatted_expr", _p?.formatted_expr); - _o.set(_j, "JsonValueExpr.format", _p?.format); - return _j; - }, - jsonConstructorExpr(_p?: JsonConstructorExpr["JsonConstructorExpr"]): JsonConstructorExpr { - const _j = ({ - JsonConstructorExpr: {} - } as JsonConstructorExpr); - _o.set(_j, "JsonConstructorExpr.xpr", _p?.xpr); - _o.set(_j, "JsonConstructorExpr.type", _p?.type); - _o.set(_j, "JsonConstructorExpr.args", _p?.args); - _o.set(_j, "JsonConstructorExpr.func", _p?.func); - _o.set(_j, "JsonConstructorExpr.coercion", _p?.coercion); - _o.set(_j, "JsonConstructorExpr.returning", _p?.returning); - _o.set(_j, "JsonConstructorExpr.absent_on_null", _p?.absent_on_null); - _o.set(_j, "JsonConstructorExpr.unique", _p?.unique); - _o.set(_j, "JsonConstructorExpr.location", _p?.location); - return _j; - }, - jsonIsPredicate(_p?: JsonIsPredicate["JsonIsPredicate"]): JsonIsPredicate { - const _j = ({ - JsonIsPredicate: {} - } as JsonIsPredicate); - _o.set(_j, "JsonIsPredicate.expr", _p?.expr); - _o.set(_j, "JsonIsPredicate.format", _p?.format); - _o.set(_j, "JsonIsPredicate.item_type", _p?.item_type); - _o.set(_j, "JsonIsPredicate.unique_keys", _p?.unique_keys); - _o.set(_j, "JsonIsPredicate.location", _p?.location); - return _j; - }, - nullTest(_p?: NullTest["NullTest"]): NullTest { - const _j = ({ - NullTest: {} - } as NullTest); - _o.set(_j, "NullTest.xpr", _p?.xpr); - _o.set(_j, "NullTest.arg", _p?.arg); - _o.set(_j, "NullTest.nulltesttype", _p?.nulltesttype); - _o.set(_j, "NullTest.argisrow", _p?.argisrow); - _o.set(_j, "NullTest.location", _p?.location); - return _j; - }, - booleanTest(_p?: BooleanTest["BooleanTest"]): BooleanTest { - const _j = ({ - BooleanTest: {} - } as BooleanTest); - _o.set(_j, "BooleanTest.xpr", _p?.xpr); - _o.set(_j, "BooleanTest.arg", _p?.arg); - _o.set(_j, "BooleanTest.booltesttype", _p?.booltesttype); - _o.set(_j, "BooleanTest.location", _p?.location); - return _j; - }, - coerceToDomain(_p?: CoerceToDomain["CoerceToDomain"]): CoerceToDomain { - const _j = ({ - CoerceToDomain: {} - } as CoerceToDomain); - _o.set(_j, "CoerceToDomain.xpr", _p?.xpr); - _o.set(_j, "CoerceToDomain.arg", _p?.arg); - _o.set(_j, "CoerceToDomain.resulttype", _p?.resulttype); - _o.set(_j, "CoerceToDomain.resulttypmod", _p?.resulttypmod); - _o.set(_j, "CoerceToDomain.resultcollid", _p?.resultcollid); - _o.set(_j, "CoerceToDomain.coercionformat", _p?.coercionformat); - _o.set(_j, "CoerceToDomain.location", _p?.location); - return _j; - }, - coerceToDomainValue(_p?: CoerceToDomainValue["CoerceToDomainValue"]): CoerceToDomainValue { - const _j = ({ - CoerceToDomainValue: {} - } as CoerceToDomainValue); - _o.set(_j, "CoerceToDomainValue.xpr", _p?.xpr); - _o.set(_j, "CoerceToDomainValue.typeId", _p?.typeId); - _o.set(_j, "CoerceToDomainValue.typeMod", _p?.typeMod); - _o.set(_j, "CoerceToDomainValue.collation", _p?.collation); - _o.set(_j, "CoerceToDomainValue.location", _p?.location); - return _j; - }, - setToDefault(_p?: SetToDefault["SetToDefault"]): SetToDefault { - const _j = ({ - SetToDefault: {} - } as SetToDefault); - _o.set(_j, "SetToDefault.xpr", _p?.xpr); - _o.set(_j, "SetToDefault.typeId", _p?.typeId); - _o.set(_j, "SetToDefault.typeMod", _p?.typeMod); - _o.set(_j, "SetToDefault.collation", _p?.collation); - _o.set(_j, "SetToDefault.location", _p?.location); - return _j; - }, - currentOfExpr(_p?: CurrentOfExpr["CurrentOfExpr"]): CurrentOfExpr { - const _j = ({ - CurrentOfExpr: {} - } as CurrentOfExpr); - _o.set(_j, "CurrentOfExpr.xpr", _p?.xpr); - _o.set(_j, "CurrentOfExpr.cvarno", _p?.cvarno); - _o.set(_j, "CurrentOfExpr.cursor_name", _p?.cursor_name); - _o.set(_j, "CurrentOfExpr.cursor_param", _p?.cursor_param); - return _j; - }, - nextValueExpr(_p?: NextValueExpr["NextValueExpr"]): NextValueExpr { - const _j = ({ - NextValueExpr: {} - } as NextValueExpr); - _o.set(_j, "NextValueExpr.xpr", _p?.xpr); - _o.set(_j, "NextValueExpr.seqid", _p?.seqid); - _o.set(_j, "NextValueExpr.typeId", _p?.typeId); - return _j; - }, - inferenceElem(_p?: InferenceElem["InferenceElem"]): InferenceElem { - const _j = ({ - InferenceElem: {} - } as InferenceElem); - _o.set(_j, "InferenceElem.xpr", _p?.xpr); - _o.set(_j, "InferenceElem.expr", _p?.expr); - _o.set(_j, "InferenceElem.infercollid", _p?.infercollid); - _o.set(_j, "InferenceElem.inferopclass", _p?.inferopclass); - return _j; - }, - targetEntry(_p?: TargetEntry["TargetEntry"]): TargetEntry { - const _j = ({ - TargetEntry: {} - } as TargetEntry); - _o.set(_j, "TargetEntry.xpr", _p?.xpr); - _o.set(_j, "TargetEntry.expr", _p?.expr); - _o.set(_j, "TargetEntry.resno", _p?.resno); - _o.set(_j, "TargetEntry.resname", _p?.resname); - _o.set(_j, "TargetEntry.ressortgroupref", _p?.ressortgroupref); - _o.set(_j, "TargetEntry.resorigtbl", _p?.resorigtbl); - _o.set(_j, "TargetEntry.resorigcol", _p?.resorigcol); - _o.set(_j, "TargetEntry.resjunk", _p?.resjunk); - return _j; - }, - rangeTblRef(_p?: RangeTblRef["RangeTblRef"]): RangeTblRef { - const _j = ({ - RangeTblRef: {} - } as RangeTblRef); - _o.set(_j, "RangeTblRef.rtindex", _p?.rtindex); - return _j; - }, - joinExpr(_p?: JoinExpr["JoinExpr"]): JoinExpr { - const _j = ({ - JoinExpr: {} - } as JoinExpr); - _o.set(_j, "JoinExpr.jointype", _p?.jointype); - _o.set(_j, "JoinExpr.isNatural", _p?.isNatural); - _o.set(_j, "JoinExpr.larg", _p?.larg); - _o.set(_j, "JoinExpr.rarg", _p?.rarg); - _o.set(_j, "JoinExpr.usingClause", _p?.usingClause); - _o.set(_j, "JoinExpr.join_using_alias", _p?.join_using_alias); - _o.set(_j, "JoinExpr.quals", _p?.quals); - _o.set(_j, "JoinExpr.alias", _p?.alias); - _o.set(_j, "JoinExpr.rtindex", _p?.rtindex); - return _j; - }, - fromExpr(_p?: FromExpr["FromExpr"]): FromExpr { - const _j = ({ - FromExpr: {} - } as FromExpr); - _o.set(_j, "FromExpr.fromlist", _p?.fromlist); - _o.set(_j, "FromExpr.quals", _p?.quals); - return _j; - }, - onConflictExpr(_p?: OnConflictExpr["OnConflictExpr"]): OnConflictExpr { - const _j = ({ - OnConflictExpr: {} - } as OnConflictExpr); - _o.set(_j, "OnConflictExpr.action", _p?.action); - _o.set(_j, "OnConflictExpr.arbiterElems", _p?.arbiterElems); - _o.set(_j, "OnConflictExpr.arbiterWhere", _p?.arbiterWhere); - _o.set(_j, "OnConflictExpr.constraint", _p?.constraint); - _o.set(_j, "OnConflictExpr.onConflictSet", _p?.onConflictSet); - _o.set(_j, "OnConflictExpr.onConflictWhere", _p?.onConflictWhere); - _o.set(_j, "OnConflictExpr.exclRelIndex", _p?.exclRelIndex); - _o.set(_j, "OnConflictExpr.exclRelTlist", _p?.exclRelTlist); - return _j; - }, - query(_p?: Query["Query"]): Query { - const _j = ({ - Query: {} - } as Query); - _o.set(_j, "Query.commandType", _p?.commandType); - _o.set(_j, "Query.querySource", _p?.querySource); - _o.set(_j, "Query.canSetTag", _p?.canSetTag); - _o.set(_j, "Query.utilityStmt", _p?.utilityStmt); - _o.set(_j, "Query.resultRelation", _p?.resultRelation); - _o.set(_j, "Query.hasAggs", _p?.hasAggs); - _o.set(_j, "Query.hasWindowFuncs", _p?.hasWindowFuncs); - _o.set(_j, "Query.hasTargetSRFs", _p?.hasTargetSRFs); - _o.set(_j, "Query.hasSubLinks", _p?.hasSubLinks); - _o.set(_j, "Query.hasDistinctOn", _p?.hasDistinctOn); - _o.set(_j, "Query.hasRecursive", _p?.hasRecursive); - _o.set(_j, "Query.hasModifyingCTE", _p?.hasModifyingCTE); - _o.set(_j, "Query.hasForUpdate", _p?.hasForUpdate); - _o.set(_j, "Query.hasRowSecurity", _p?.hasRowSecurity); - _o.set(_j, "Query.isReturn", _p?.isReturn); - _o.set(_j, "Query.cteList", _p?.cteList); - _o.set(_j, "Query.rtable", _p?.rtable); - _o.set(_j, "Query.rteperminfos", _p?.rteperminfos); - _o.set(_j, "Query.jointree", _p?.jointree); - _o.set(_j, "Query.mergeActionList", _p?.mergeActionList); - _o.set(_j, "Query.mergeUseOuterJoin", _p?.mergeUseOuterJoin); - _o.set(_j, "Query.targetList", _p?.targetList); - _o.set(_j, "Query.override", _p?.override); - _o.set(_j, "Query.onConflict", _p?.onConflict); - _o.set(_j, "Query.returningList", _p?.returningList); - _o.set(_j, "Query.groupClause", _p?.groupClause); - _o.set(_j, "Query.groupDistinct", _p?.groupDistinct); - _o.set(_j, "Query.groupingSets", _p?.groupingSets); - _o.set(_j, "Query.havingQual", _p?.havingQual); - _o.set(_j, "Query.windowClause", _p?.windowClause); - _o.set(_j, "Query.distinctClause", _p?.distinctClause); - _o.set(_j, "Query.sortClause", _p?.sortClause); - _o.set(_j, "Query.limitOffset", _p?.limitOffset); - _o.set(_j, "Query.limitCount", _p?.limitCount); - _o.set(_j, "Query.limitOption", _p?.limitOption); - _o.set(_j, "Query.rowMarks", _p?.rowMarks); - _o.set(_j, "Query.setOperations", _p?.setOperations); - _o.set(_j, "Query.constraintDeps", _p?.constraintDeps); - _o.set(_j, "Query.withCheckOptions", _p?.withCheckOptions); - _o.set(_j, "Query.stmt_location", _p?.stmt_location); - _o.set(_j, "Query.stmt_len", _p?.stmt_len); + }, + scanResult(_p?: ScanResult): ScanResult { + const _j = ({} as ScanResult); + _o.set(_j, "version", _p?.version); + _o.set(_j, "tokens", _p?.tokens); + return _j; + }, + integer(_p?: Integer): Integer { + const _j = ({} as Integer); + _o.set(_j, "ival", _p?.ival); + return _j; + }, + float(_p?: Float): Float { + const _j = ({} as Float); + _o.set(_j, "fval", _p?.fval); + return _j; + }, + boolean(_p?: Boolean): Boolean { + const _j = ({} as Boolean); + _o.set(_j, "boolval", _p?.boolval); + return _j; + }, + string(_p?: String): String { + const _j = ({} as String); + _o.set(_j, "sval", _p?.sval); + return _j; + }, + bitString(_p?: BitString): BitString { + const _j = ({} as BitString); + _o.set(_j, "bsval", _p?.bsval); + return _j; + }, + list(_p?: List): List { + const _j = ({} as List); + _o.set(_j, "items", _p?.items); + return _j; + }, + oidList(_p?: OidList): OidList { + const _j = ({} as OidList); + _o.set(_j, "items", _p?.items); + return _j; + }, + intList(_p?: IntList): IntList { + const _j = ({} as IntList); + _o.set(_j, "items", _p?.items); + return _j; + }, + aConst(_p?: A_Const): A_Const { + const _j = ({} as A_Const); + _o.set(_j, "ival", _p?.ival); + _o.set(_j, "fval", _p?.fval); + _o.set(_j, "boolval", _p?.boolval); + _o.set(_j, "sval", _p?.sval); + _o.set(_j, "bsval", _p?.bsval); + _o.set(_j, "isnull", _p?.isnull); + _o.set(_j, "location", _p?.location); + return _j; + }, + alias(_p?: Alias): Alias { + const _j = ({} as Alias); + _o.set(_j, "aliasname", _p?.aliasname); + _o.set(_j, "colnames", _p?.colnames); + return _j; + }, + rangeVar(_p?: RangeVar): RangeVar { + const _j = ({} as RangeVar); + _o.set(_j, "catalogname", _p?.catalogname); + _o.set(_j, "schemaname", _p?.schemaname); + _o.set(_j, "relname", _p?.relname); + _o.set(_j, "inh", _p?.inh); + _o.set(_j, "relpersistence", _p?.relpersistence); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "location", _p?.location); + return _j; + }, + tableFunc(_p?: TableFunc): TableFunc { + const _j = ({} as TableFunc); + _o.set(_j, "ns_uris", _p?.ns_uris); + _o.set(_j, "ns_names", _p?.ns_names); + _o.set(_j, "docexpr", _p?.docexpr); + _o.set(_j, "rowexpr", _p?.rowexpr); + _o.set(_j, "colnames", _p?.colnames); + _o.set(_j, "coltypes", _p?.coltypes); + _o.set(_j, "coltypmods", _p?.coltypmods); + _o.set(_j, "colcollations", _p?.colcollations); + _o.set(_j, "colexprs", _p?.colexprs); + _o.set(_j, "coldefexprs", _p?.coldefexprs); + _o.set(_j, "notnulls", _p?.notnulls); + _o.set(_j, "ordinalitycol", _p?.ordinalitycol); + _o.set(_j, "location", _p?.location); + return _j; + }, + intoClause(_p?: IntoClause): IntoClause { + const _j = ({} as IntoClause); + _o.set(_j, "rel", _p?.rel); + _o.set(_j, "colNames", _p?.colNames); + _o.set(_j, "accessMethod", _p?.accessMethod); + _o.set(_j, "options", _p?.options); + _o.set(_j, "onCommit", _p?.onCommit); + _o.set(_j, "tableSpaceName", _p?.tableSpaceName); + _o.set(_j, "viewQuery", _p?.viewQuery); + _o.set(_j, "skipData", _p?.skipData); + return _j; + }, + var(_p?: Var): Var { + const _j = ({} as Var); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "varno", _p?.varno); + _o.set(_j, "varattno", _p?.varattno); + _o.set(_j, "vartype", _p?.vartype); + _o.set(_j, "vartypmod", _p?.vartypmod); + _o.set(_j, "varcollid", _p?.varcollid); + _o.set(_j, "varnullingrels", _p?.varnullingrels); + _o.set(_j, "varlevelsup", _p?.varlevelsup); + _o.set(_j, "location", _p?.location); + return _j; + }, + param(_p?: Param): Param { + const _j = ({} as Param); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "paramkind", _p?.paramkind); + _o.set(_j, "paramid", _p?.paramid); + _o.set(_j, "paramtype", _p?.paramtype); + _o.set(_j, "paramtypmod", _p?.paramtypmod); + _o.set(_j, "paramcollid", _p?.paramcollid); + _o.set(_j, "location", _p?.location); + return _j; + }, + aggref(_p?: Aggref): Aggref { + const _j = ({} as Aggref); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "aggfnoid", _p?.aggfnoid); + _o.set(_j, "aggtype", _p?.aggtype); + _o.set(_j, "aggcollid", _p?.aggcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "aggargtypes", _p?.aggargtypes); + _o.set(_j, "aggdirectargs", _p?.aggdirectargs); + _o.set(_j, "args", _p?.args); + _o.set(_j, "aggorder", _p?.aggorder); + _o.set(_j, "aggdistinct", _p?.aggdistinct); + _o.set(_j, "aggfilter", _p?.aggfilter); + _o.set(_j, "aggstar", _p?.aggstar); + _o.set(_j, "aggvariadic", _p?.aggvariadic); + _o.set(_j, "aggkind", _p?.aggkind); + _o.set(_j, "agglevelsup", _p?.agglevelsup); + _o.set(_j, "aggsplit", _p?.aggsplit); + _o.set(_j, "aggno", _p?.aggno); + _o.set(_j, "aggtransno", _p?.aggtransno); + _o.set(_j, "location", _p?.location); + return _j; + }, + groupingFunc(_p?: GroupingFunc): GroupingFunc { + const _j = ({} as GroupingFunc); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "args", _p?.args); + _o.set(_j, "refs", _p?.refs); + _o.set(_j, "agglevelsup", _p?.agglevelsup); + _o.set(_j, "location", _p?.location); + return _j; + }, + windowFunc(_p?: WindowFunc): WindowFunc { + const _j = ({} as WindowFunc); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "winfnoid", _p?.winfnoid); + _o.set(_j, "wintype", _p?.wintype); + _o.set(_j, "wincollid", _p?.wincollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "aggfilter", _p?.aggfilter); + _o.set(_j, "winref", _p?.winref); + _o.set(_j, "winstar", _p?.winstar); + _o.set(_j, "winagg", _p?.winagg); + _o.set(_j, "location", _p?.location); + return _j; + }, + subscriptingRef(_p?: SubscriptingRef): SubscriptingRef { + const _j = ({} as SubscriptingRef); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "refcontainertype", _p?.refcontainertype); + _o.set(_j, "refelemtype", _p?.refelemtype); + _o.set(_j, "refrestype", _p?.refrestype); + _o.set(_j, "reftypmod", _p?.reftypmod); + _o.set(_j, "refcollid", _p?.refcollid); + _o.set(_j, "refupperindexpr", _p?.refupperindexpr); + _o.set(_j, "reflowerindexpr", _p?.reflowerindexpr); + _o.set(_j, "refexpr", _p?.refexpr); + _o.set(_j, "refassgnexpr", _p?.refassgnexpr); + return _j; + }, + funcExpr(_p?: FuncExpr): FuncExpr { + const _j = ({} as FuncExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "funcid", _p?.funcid); + _o.set(_j, "funcresulttype", _p?.funcresulttype); + _o.set(_j, "funcretset", _p?.funcretset); + _o.set(_j, "funcvariadic", _p?.funcvariadic); + _o.set(_j, "funcformat", _p?.funcformat); + _o.set(_j, "funccollid", _p?.funccollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + namedArgExpr(_p?: NamedArgExpr): NamedArgExpr { + const _j = ({} as NamedArgExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "name", _p?.name); + _o.set(_j, "argnumber", _p?.argnumber); + _o.set(_j, "location", _p?.location); + return _j; + }, + opExpr(_p?: OpExpr): OpExpr { + const _j = ({} as OpExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "opresulttype", _p?.opresulttype); + _o.set(_j, "opretset", _p?.opretset); + _o.set(_j, "opcollid", _p?.opcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + distinctExpr(_p?: DistinctExpr): DistinctExpr { + const _j = ({} as DistinctExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "opresulttype", _p?.opresulttype); + _o.set(_j, "opretset", _p?.opretset); + _o.set(_j, "opcollid", _p?.opcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + nullIfExpr(_p?: NullIfExpr): NullIfExpr { + const _j = ({} as NullIfExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "opresulttype", _p?.opresulttype); + _o.set(_j, "opretset", _p?.opretset); + _o.set(_j, "opcollid", _p?.opcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + scalarArrayOpExpr(_p?: ScalarArrayOpExpr): ScalarArrayOpExpr { + const _j = ({} as ScalarArrayOpExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "useOr", _p?.useOr); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + boolExpr(_p?: BoolExpr): BoolExpr { + const _j = ({} as BoolExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "boolop", _p?.boolop); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + subLink(_p?: SubLink): SubLink { + const _j = ({} as SubLink); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "subLinkType", _p?.subLinkType); + _o.set(_j, "subLinkId", _p?.subLinkId); + _o.set(_j, "testexpr", _p?.testexpr); + _o.set(_j, "operName", _p?.operName); + _o.set(_j, "subselect", _p?.subselect); + _o.set(_j, "location", _p?.location); + return _j; + }, + subPlan(_p?: SubPlan): SubPlan { + const _j = ({} as SubPlan); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "subLinkType", _p?.subLinkType); + _o.set(_j, "testexpr", _p?.testexpr); + _o.set(_j, "paramIds", _p?.paramIds); + _o.set(_j, "plan_id", _p?.plan_id); + _o.set(_j, "plan_name", _p?.plan_name); + _o.set(_j, "firstColType", _p?.firstColType); + _o.set(_j, "firstColTypmod", _p?.firstColTypmod); + _o.set(_j, "firstColCollation", _p?.firstColCollation); + _o.set(_j, "useHashTable", _p?.useHashTable); + _o.set(_j, "unknownEqFalse", _p?.unknownEqFalse); + _o.set(_j, "parallel_safe", _p?.parallel_safe); + _o.set(_j, "setParam", _p?.setParam); + _o.set(_j, "parParam", _p?.parParam); + _o.set(_j, "args", _p?.args); + _o.set(_j, "startup_cost", _p?.startup_cost); + _o.set(_j, "per_call_cost", _p?.per_call_cost); + return _j; + }, + alternativeSubPlan(_p?: AlternativeSubPlan): AlternativeSubPlan { + const _j = ({} as AlternativeSubPlan); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "subplans", _p?.subplans); + return _j; + }, + fieldSelect(_p?: FieldSelect): FieldSelect { + const _j = ({} as FieldSelect); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "fieldnum", _p?.fieldnum); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + return _j; + }, + fieldStore(_p?: FieldStore): FieldStore { + const _j = ({} as FieldStore); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "newvals", _p?.newvals); + _o.set(_j, "fieldnums", _p?.fieldnums); + _o.set(_j, "resulttype", _p?.resulttype); + return _j; + }, + relabelType(_p?: RelabelType): RelabelType { + const _j = ({} as RelabelType); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "relabelformat", _p?.relabelformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + coerceViaio(_p?: CoerceViaIO): CoerceViaIO { + const _j = ({} as CoerceViaIO); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "coerceformat", _p?.coerceformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + arrayCoerceExpr(_p?: ArrayCoerceExpr): ArrayCoerceExpr { + const _j = ({} as ArrayCoerceExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "elemexpr", _p?.elemexpr); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "coerceformat", _p?.coerceformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + convertRowtypeExpr(_p?: ConvertRowtypeExpr): ConvertRowtypeExpr { + const _j = ({} as ConvertRowtypeExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "convertformat", _p?.convertformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + collateExpr(_p?: CollateExpr): CollateExpr { + const _j = ({} as CollateExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "collOid", _p?.collOid); + _o.set(_j, "location", _p?.location); + return _j; + }, + caseExpr(_p?: CaseExpr): CaseExpr { + const _j = ({} as CaseExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "casetype", _p?.casetype); + _o.set(_j, "casecollid", _p?.casecollid); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "args", _p?.args); + _o.set(_j, "defresult", _p?.defresult); + _o.set(_j, "location", _p?.location); + return _j; + }, + caseWhen(_p?: CaseWhen): CaseWhen { + const _j = ({} as CaseWhen); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "result", _p?.result); + _o.set(_j, "location", _p?.location); + return _j; + }, + caseTestExpr(_p?: CaseTestExpr): CaseTestExpr { + const _j = ({} as CaseTestExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "typeId", _p?.typeId); + _o.set(_j, "typeMod", _p?.typeMod); + _o.set(_j, "collation", _p?.collation); + return _j; + }, + arrayExpr(_p?: ArrayExpr): ArrayExpr { + const _j = ({} as ArrayExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "array_typeid", _p?.array_typeid); + _o.set(_j, "array_collid", _p?.array_collid); + _o.set(_j, "element_typeid", _p?.element_typeid); + _o.set(_j, "elements", _p?.elements); + _o.set(_j, "multidims", _p?.multidims); + _o.set(_j, "location", _p?.location); + return _j; + }, + rowExpr(_p?: RowExpr): RowExpr { + const _j = ({} as RowExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "args", _p?.args); + _o.set(_j, "row_typeid", _p?.row_typeid); + _o.set(_j, "row_format", _p?.row_format); + _o.set(_j, "colnames", _p?.colnames); + _o.set(_j, "location", _p?.location); + return _j; + }, + rowCompareExpr(_p?: RowCompareExpr): RowCompareExpr { + const _j = ({} as RowCompareExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "rctype", _p?.rctype); + _o.set(_j, "opnos", _p?.opnos); + _o.set(_j, "opfamilies", _p?.opfamilies); + _o.set(_j, "inputcollids", _p?.inputcollids); + _o.set(_j, "largs", _p?.largs); + _o.set(_j, "rargs", _p?.rargs); + return _j; + }, + coalesceExpr(_p?: CoalesceExpr): CoalesceExpr { + const _j = ({} as CoalesceExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "coalescetype", _p?.coalescetype); + _o.set(_j, "coalescecollid", _p?.coalescecollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + minMaxExpr(_p?: MinMaxExpr): MinMaxExpr { + const _j = ({} as MinMaxExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "minmaxtype", _p?.minmaxtype); + _o.set(_j, "minmaxcollid", _p?.minmaxcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "op", _p?.op); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + sqlValueFunction(_p?: SQLValueFunction): SQLValueFunction { + const _j = ({} as SQLValueFunction); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "op", _p?.op); + _o.set(_j, "type", _p?.type); + _o.set(_j, "typmod", _p?.typmod); + _o.set(_j, "location", _p?.location); + return _j; + }, + xmlExpr(_p?: XmlExpr): XmlExpr { + const _j = ({} as XmlExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "op", _p?.op); + _o.set(_j, "name", _p?.name); + _o.set(_j, "named_args", _p?.named_args); + _o.set(_j, "arg_names", _p?.arg_names); + _o.set(_j, "args", _p?.args); + _o.set(_j, "xmloption", _p?.xmloption); + _o.set(_j, "indent", _p?.indent); + _o.set(_j, "type", _p?.type); + _o.set(_j, "typmod", _p?.typmod); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonFormat(_p?: JsonFormat): JsonFormat { + const _j = ({} as JsonFormat); + _o.set(_j, "format_type", _p?.format_type); + _o.set(_j, "encoding", _p?.encoding); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonReturning(_p?: JsonReturning): JsonReturning { + const _j = ({} as JsonReturning); + _o.set(_j, "format", _p?.format); + _o.set(_j, "typid", _p?.typid); + _o.set(_j, "typmod", _p?.typmod); + return _j; + }, + jsonValueExpr(_p?: JsonValueExpr): JsonValueExpr { + const _j = ({} as JsonValueExpr); + _o.set(_j, "raw_expr", _p?.raw_expr); + _o.set(_j, "formatted_expr", _p?.formatted_expr); + _o.set(_j, "format", _p?.format); + return _j; + }, + jsonConstructorExpr(_p?: JsonConstructorExpr): JsonConstructorExpr { + const _j = ({} as JsonConstructorExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "type", _p?.type); + _o.set(_j, "args", _p?.args); + _o.set(_j, "func", _p?.func); + _o.set(_j, "coercion", _p?.coercion); + _o.set(_j, "returning", _p?.returning); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "unique", _p?.unique); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonIsPredicate(_p?: JsonIsPredicate): JsonIsPredicate { + const _j = ({} as JsonIsPredicate); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "format", _p?.format); + _o.set(_j, "item_type", _p?.item_type); + _o.set(_j, "unique_keys", _p?.unique_keys); + _o.set(_j, "location", _p?.location); + return _j; + }, + nullTest(_p?: NullTest): NullTest { + const _j = ({} as NullTest); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "nulltesttype", _p?.nulltesttype); + _o.set(_j, "argisrow", _p?.argisrow); + _o.set(_j, "location", _p?.location); + return _j; + }, + booleanTest(_p?: BooleanTest): BooleanTest { + const _j = ({} as BooleanTest); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "booltesttype", _p?.booltesttype); + _o.set(_j, "location", _p?.location); + return _j; + }, + coerceToDomain(_p?: CoerceToDomain): CoerceToDomain { + const _j = ({} as CoerceToDomain); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "coercionformat", _p?.coercionformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + coerceToDomainValue(_p?: CoerceToDomainValue): CoerceToDomainValue { + const _j = ({} as CoerceToDomainValue); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "typeId", _p?.typeId); + _o.set(_j, "typeMod", _p?.typeMod); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "location", _p?.location); + return _j; + }, + setToDefault(_p?: SetToDefault): SetToDefault { + const _j = ({} as SetToDefault); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "typeId", _p?.typeId); + _o.set(_j, "typeMod", _p?.typeMod); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "location", _p?.location); + return _j; + }, + currentOfExpr(_p?: CurrentOfExpr): CurrentOfExpr { + const _j = ({} as CurrentOfExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "cvarno", _p?.cvarno); + _o.set(_j, "cursor_name", _p?.cursor_name); + _o.set(_j, "cursor_param", _p?.cursor_param); + return _j; + }, + nextValueExpr(_p?: NextValueExpr): NextValueExpr { + const _j = ({} as NextValueExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "seqid", _p?.seqid); + _o.set(_j, "typeId", _p?.typeId); + return _j; + }, + inferenceElem(_p?: InferenceElem): InferenceElem { + const _j = ({} as InferenceElem); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "infercollid", _p?.infercollid); + _o.set(_j, "inferopclass", _p?.inferopclass); + return _j; + }, + targetEntry(_p?: TargetEntry): TargetEntry { + const _j = ({} as TargetEntry); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "resno", _p?.resno); + _o.set(_j, "resname", _p?.resname); + _o.set(_j, "ressortgroupref", _p?.ressortgroupref); + _o.set(_j, "resorigtbl", _p?.resorigtbl); + _o.set(_j, "resorigcol", _p?.resorigcol); + _o.set(_j, "resjunk", _p?.resjunk); + return _j; + }, + rangeTblRef(_p?: RangeTblRef): RangeTblRef { + const _j = ({} as RangeTblRef); + _o.set(_j, "rtindex", _p?.rtindex); + return _j; + }, + joinExpr(_p?: JoinExpr): JoinExpr { + const _j = ({} as JoinExpr); + _o.set(_j, "jointype", _p?.jointype); + _o.set(_j, "isNatural", _p?.isNatural); + _o.set(_j, "larg", _p?.larg); + _o.set(_j, "rarg", _p?.rarg); + _o.set(_j, "usingClause", _p?.usingClause); + _o.set(_j, "join_using_alias", _p?.join_using_alias); + _o.set(_j, "quals", _p?.quals); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "rtindex", _p?.rtindex); + return _j; + }, + fromExpr(_p?: FromExpr): FromExpr { + const _j = ({} as FromExpr); + _o.set(_j, "fromlist", _p?.fromlist); + _o.set(_j, "quals", _p?.quals); + return _j; + }, + onConflictExpr(_p?: OnConflictExpr): OnConflictExpr { + const _j = ({} as OnConflictExpr); + _o.set(_j, "action", _p?.action); + _o.set(_j, "arbiterElems", _p?.arbiterElems); + _o.set(_j, "arbiterWhere", _p?.arbiterWhere); + _o.set(_j, "constraint", _p?.constraint); + _o.set(_j, "onConflictSet", _p?.onConflictSet); + _o.set(_j, "onConflictWhere", _p?.onConflictWhere); + _o.set(_j, "exclRelIndex", _p?.exclRelIndex); + _o.set(_j, "exclRelTlist", _p?.exclRelTlist); + return _j; + }, + query(_p?: Query): Query { + const _j = ({} as Query); + _o.set(_j, "commandType", _p?.commandType); + _o.set(_j, "querySource", _p?.querySource); + _o.set(_j, "canSetTag", _p?.canSetTag); + _o.set(_j, "utilityStmt", _p?.utilityStmt); + _o.set(_j, "resultRelation", _p?.resultRelation); + _o.set(_j, "hasAggs", _p?.hasAggs); + _o.set(_j, "hasWindowFuncs", _p?.hasWindowFuncs); + _o.set(_j, "hasTargetSRFs", _p?.hasTargetSRFs); + _o.set(_j, "hasSubLinks", _p?.hasSubLinks); + _o.set(_j, "hasDistinctOn", _p?.hasDistinctOn); + _o.set(_j, "hasRecursive", _p?.hasRecursive); + _o.set(_j, "hasModifyingCTE", _p?.hasModifyingCTE); + _o.set(_j, "hasForUpdate", _p?.hasForUpdate); + _o.set(_j, "hasRowSecurity", _p?.hasRowSecurity); + _o.set(_j, "isReturn", _p?.isReturn); + _o.set(_j, "cteList", _p?.cteList); + _o.set(_j, "rtable", _p?.rtable); + _o.set(_j, "rteperminfos", _p?.rteperminfos); + _o.set(_j, "jointree", _p?.jointree); + _o.set(_j, "mergeActionList", _p?.mergeActionList); + _o.set(_j, "mergeUseOuterJoin", _p?.mergeUseOuterJoin); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "override", _p?.override); + _o.set(_j, "onConflict", _p?.onConflict); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "groupClause", _p?.groupClause); + _o.set(_j, "groupDistinct", _p?.groupDistinct); + _o.set(_j, "groupingSets", _p?.groupingSets); + _o.set(_j, "havingQual", _p?.havingQual); + _o.set(_j, "windowClause", _p?.windowClause); + _o.set(_j, "distinctClause", _p?.distinctClause); + _o.set(_j, "sortClause", _p?.sortClause); + _o.set(_j, "limitOffset", _p?.limitOffset); + _o.set(_j, "limitCount", _p?.limitCount); + _o.set(_j, "limitOption", _p?.limitOption); + _o.set(_j, "rowMarks", _p?.rowMarks); + _o.set(_j, "setOperations", _p?.setOperations); + _o.set(_j, "constraintDeps", _p?.constraintDeps); + _o.set(_j, "withCheckOptions", _p?.withCheckOptions); + _o.set(_j, "stmt_location", _p?.stmt_location); + _o.set(_j, "stmt_len", _p?.stmt_len); return _j; }, typeName(_p?: TypeName): TypeName { @@ -838,2001 +704,1627 @@ export default { _o.set(_j, "location", _p?.location); return _j; }, - columnRef(_p?: ColumnRef["ColumnRef"]): ColumnRef { - const _j = ({ - ColumnRef: {} - } as ColumnRef); - _o.set(_j, "ColumnRef.fields", _p?.fields); - _o.set(_j, "ColumnRef.location", _p?.location); - return _j; - }, - paramRef(_p?: ParamRef["ParamRef"]): ParamRef { - const _j = ({ - ParamRef: {} - } as ParamRef); - _o.set(_j, "ParamRef.number", _p?.number); - _o.set(_j, "ParamRef.location", _p?.location); - return _j; - }, - aExpr(_p?: A_Expr["A_Expr"]): A_Expr { - const _j = ({ - A_Expr: {} - } as A_Expr); - _o.set(_j, "A_Expr.kind", _p?.kind); - _o.set(_j, "A_Expr.name", _p?.name); - _o.set(_j, "A_Expr.lexpr", _p?.lexpr); - _o.set(_j, "A_Expr.rexpr", _p?.rexpr); - _o.set(_j, "A_Expr.location", _p?.location); - return _j; - }, - typeCast(_p?: TypeCast["TypeCast"]): TypeCast { - const _j = ({ - TypeCast: {} - } as TypeCast); - _o.set(_j, "TypeCast.arg", _p?.arg); - _o.set(_j, "TypeCast.typeName", _p?.typeName); - _o.set(_j, "TypeCast.location", _p?.location); - return _j; - }, - collateClause(_p?: CollateClause["CollateClause"]): CollateClause { - const _j = ({ - CollateClause: {} - } as CollateClause); - _o.set(_j, "CollateClause.arg", _p?.arg); - _o.set(_j, "CollateClause.collname", _p?.collname); - _o.set(_j, "CollateClause.location", _p?.location); - return _j; - }, - roleSpec(_p?: RoleSpec["RoleSpec"]): RoleSpec { - const _j = ({ - RoleSpec: {} - } as RoleSpec); - _o.set(_j, "RoleSpec.roletype", _p?.roletype); - _o.set(_j, "RoleSpec.rolename", _p?.rolename); - _o.set(_j, "RoleSpec.location", _p?.location); - return _j; - }, - funcCall(_p?: FuncCall["FuncCall"]): FuncCall { - const _j = ({ - FuncCall: {} - } as FuncCall); - _o.set(_j, "FuncCall.funcname", _p?.funcname); - _o.set(_j, "FuncCall.args", _p?.args); - _o.set(_j, "FuncCall.agg_order", _p?.agg_order); - _o.set(_j, "FuncCall.agg_filter", _p?.agg_filter); - _o.set(_j, "FuncCall.over", _p?.over); - _o.set(_j, "FuncCall.agg_within_group", _p?.agg_within_group); - _o.set(_j, "FuncCall.agg_star", _p?.agg_star); - _o.set(_j, "FuncCall.agg_distinct", _p?.agg_distinct); - _o.set(_j, "FuncCall.func_variadic", _p?.func_variadic); - _o.set(_j, "FuncCall.funcformat", _p?.funcformat); - _o.set(_j, "FuncCall.location", _p?.location); - return _j; - }, - aStar(_p?: A_Star["A_Star"]): A_Star { - const _j = ({ - A_Star: {} - } as A_Star); - return _j; - }, - aIndices(_p?: A_Indices["A_Indices"]): A_Indices { - const _j = ({ - A_Indices: {} - } as A_Indices); - _o.set(_j, "A_Indices.is_slice", _p?.is_slice); - _o.set(_j, "A_Indices.lidx", _p?.lidx); - _o.set(_j, "A_Indices.uidx", _p?.uidx); - return _j; - }, - aIndirection(_p?: A_Indirection["A_Indirection"]): A_Indirection { - const _j = ({ - A_Indirection: {} - } as A_Indirection); - _o.set(_j, "A_Indirection.arg", _p?.arg); - _o.set(_j, "A_Indirection.indirection", _p?.indirection); - return _j; - }, - aArrayExpr(_p?: A_ArrayExpr["A_ArrayExpr"]): A_ArrayExpr { - const _j = ({ - A_ArrayExpr: {} - } as A_ArrayExpr); - _o.set(_j, "A_ArrayExpr.elements", _p?.elements); - _o.set(_j, "A_ArrayExpr.location", _p?.location); - return _j; - }, - resTarget(_p?: ResTarget["ResTarget"]): ResTarget { - const _j = ({ - ResTarget: {} - } as ResTarget); - _o.set(_j, "ResTarget.name", _p?.name); - _o.set(_j, "ResTarget.indirection", _p?.indirection); - _o.set(_j, "ResTarget.val", _p?.val); - _o.set(_j, "ResTarget.location", _p?.location); - return _j; - }, - multiAssignRef(_p?: MultiAssignRef["MultiAssignRef"]): MultiAssignRef { - const _j = ({ - MultiAssignRef: {} - } as MultiAssignRef); - _o.set(_j, "MultiAssignRef.source", _p?.source); - _o.set(_j, "MultiAssignRef.colno", _p?.colno); - _o.set(_j, "MultiAssignRef.ncolumns", _p?.ncolumns); - return _j; - }, - sortBy(_p?: SortBy["SortBy"]): SortBy { - const _j = ({ - SortBy: {} - } as SortBy); - _o.set(_j, "SortBy.node", _p?.node); - _o.set(_j, "SortBy.sortby_dir", _p?.sortby_dir); - _o.set(_j, "SortBy.sortby_nulls", _p?.sortby_nulls); - _o.set(_j, "SortBy.useOp", _p?.useOp); - _o.set(_j, "SortBy.location", _p?.location); - return _j; - }, - windowDef(_p?: WindowDef["WindowDef"]): WindowDef { - const _j = ({ - WindowDef: {} - } as WindowDef); - _o.set(_j, "WindowDef.name", _p?.name); - _o.set(_j, "WindowDef.refname", _p?.refname); - _o.set(_j, "WindowDef.partitionClause", _p?.partitionClause); - _o.set(_j, "WindowDef.orderClause", _p?.orderClause); - _o.set(_j, "WindowDef.frameOptions", _p?.frameOptions); - _o.set(_j, "WindowDef.startOffset", _p?.startOffset); - _o.set(_j, "WindowDef.endOffset", _p?.endOffset); - _o.set(_j, "WindowDef.location", _p?.location); - return _j; - }, - rangeSubselect(_p?: RangeSubselect["RangeSubselect"]): RangeSubselect { - const _j = ({ - RangeSubselect: {} - } as RangeSubselect); - _o.set(_j, "RangeSubselect.lateral", _p?.lateral); - _o.set(_j, "RangeSubselect.subquery", _p?.subquery); - _o.set(_j, "RangeSubselect.alias", _p?.alias); - return _j; - }, - rangeFunction(_p?: RangeFunction["RangeFunction"]): RangeFunction { - const _j = ({ - RangeFunction: {} - } as RangeFunction); - _o.set(_j, "RangeFunction.lateral", _p?.lateral); - _o.set(_j, "RangeFunction.ordinality", _p?.ordinality); - _o.set(_j, "RangeFunction.is_rowsfrom", _p?.is_rowsfrom); - _o.set(_j, "RangeFunction.functions", _p?.functions); - _o.set(_j, "RangeFunction.alias", _p?.alias); - _o.set(_j, "RangeFunction.coldeflist", _p?.coldeflist); - return _j; - }, - rangeTableFunc(_p?: RangeTableFunc["RangeTableFunc"]): RangeTableFunc { - const _j = ({ - RangeTableFunc: {} - } as RangeTableFunc); - _o.set(_j, "RangeTableFunc.lateral", _p?.lateral); - _o.set(_j, "RangeTableFunc.docexpr", _p?.docexpr); - _o.set(_j, "RangeTableFunc.rowexpr", _p?.rowexpr); - _o.set(_j, "RangeTableFunc.namespaces", _p?.namespaces); - _o.set(_j, "RangeTableFunc.columns", _p?.columns); - _o.set(_j, "RangeTableFunc.alias", _p?.alias); - _o.set(_j, "RangeTableFunc.location", _p?.location); - return _j; - }, - rangeTableFuncCol(_p?: RangeTableFuncCol["RangeTableFuncCol"]): RangeTableFuncCol { - const _j = ({ - RangeTableFuncCol: {} - } as RangeTableFuncCol); - _o.set(_j, "RangeTableFuncCol.colname", _p?.colname); - _o.set(_j, "RangeTableFuncCol.typeName", _p?.typeName); - _o.set(_j, "RangeTableFuncCol.for_ordinality", _p?.for_ordinality); - _o.set(_j, "RangeTableFuncCol.is_not_null", _p?.is_not_null); - _o.set(_j, "RangeTableFuncCol.colexpr", _p?.colexpr); - _o.set(_j, "RangeTableFuncCol.coldefexpr", _p?.coldefexpr); - _o.set(_j, "RangeTableFuncCol.location", _p?.location); - return _j; - }, - rangeTableSample(_p?: RangeTableSample["RangeTableSample"]): RangeTableSample { - const _j = ({ - RangeTableSample: {} - } as RangeTableSample); - _o.set(_j, "RangeTableSample.relation", _p?.relation); - _o.set(_j, "RangeTableSample.method", _p?.method); - _o.set(_j, "RangeTableSample.args", _p?.args); - _o.set(_j, "RangeTableSample.repeatable", _p?.repeatable); - _o.set(_j, "RangeTableSample.location", _p?.location); - return _j; - }, - columnDef(_p?: ColumnDef["ColumnDef"]): ColumnDef { - const _j = ({ - ColumnDef: {} - } as ColumnDef); - _o.set(_j, "ColumnDef.colname", _p?.colname); - _o.set(_j, "ColumnDef.typeName", _p?.typeName); - _o.set(_j, "ColumnDef.compression", _p?.compression); - _o.set(_j, "ColumnDef.inhcount", _p?.inhcount); - _o.set(_j, "ColumnDef.is_local", _p?.is_local); - _o.set(_j, "ColumnDef.is_not_null", _p?.is_not_null); - _o.set(_j, "ColumnDef.is_from_type", _p?.is_from_type); - _o.set(_j, "ColumnDef.storage", _p?.storage); - _o.set(_j, "ColumnDef.storage_name", _p?.storage_name); - _o.set(_j, "ColumnDef.raw_default", _p?.raw_default); - _o.set(_j, "ColumnDef.cooked_default", _p?.cooked_default); - _o.set(_j, "ColumnDef.identity", _p?.identity); - _o.set(_j, "ColumnDef.identitySequence", _p?.identitySequence); - _o.set(_j, "ColumnDef.generated", _p?.generated); - _o.set(_j, "ColumnDef.collClause", _p?.collClause); - _o.set(_j, "ColumnDef.collOid", _p?.collOid); - _o.set(_j, "ColumnDef.constraints", _p?.constraints); - _o.set(_j, "ColumnDef.fdwoptions", _p?.fdwoptions); - _o.set(_j, "ColumnDef.location", _p?.location); - return _j; - }, - tableLikeClause(_p?: TableLikeClause["TableLikeClause"]): TableLikeClause { - const _j = ({ - TableLikeClause: {} - } as TableLikeClause); - _o.set(_j, "TableLikeClause.relation", _p?.relation); - _o.set(_j, "TableLikeClause.options", _p?.options); - _o.set(_j, "TableLikeClause.relationOid", _p?.relationOid); - return _j; - }, - indexElem(_p?: IndexElem["IndexElem"]): IndexElem { - const _j = ({ - IndexElem: {} - } as IndexElem); - _o.set(_j, "IndexElem.name", _p?.name); - _o.set(_j, "IndexElem.expr", _p?.expr); - _o.set(_j, "IndexElem.indexcolname", _p?.indexcolname); - _o.set(_j, "IndexElem.collation", _p?.collation); - _o.set(_j, "IndexElem.opclass", _p?.opclass); - _o.set(_j, "IndexElem.opclassopts", _p?.opclassopts); - _o.set(_j, "IndexElem.ordering", _p?.ordering); - _o.set(_j, "IndexElem.nulls_ordering", _p?.nulls_ordering); - return _j; - }, - defElem(_p?: DefElem["DefElem"]): DefElem { - const _j = ({ - DefElem: {} - } as DefElem); - _o.set(_j, "DefElem.defnamespace", _p?.defnamespace); - _o.set(_j, "DefElem.defname", _p?.defname); - _o.set(_j, "DefElem.arg", _p?.arg); - _o.set(_j, "DefElem.defaction", _p?.defaction); - _o.set(_j, "DefElem.location", _p?.location); - return _j; - }, - lockingClause(_p?: LockingClause["LockingClause"]): LockingClause { - const _j = ({ - LockingClause: {} - } as LockingClause); - _o.set(_j, "LockingClause.lockedRels", _p?.lockedRels); - _o.set(_j, "LockingClause.strength", _p?.strength); - _o.set(_j, "LockingClause.waitPolicy", _p?.waitPolicy); - return _j; - }, - xmlSerialize(_p?: XmlSerialize["XmlSerialize"]): XmlSerialize { - const _j = ({ - XmlSerialize: {} - } as XmlSerialize); - _o.set(_j, "XmlSerialize.xmloption", _p?.xmloption); - _o.set(_j, "XmlSerialize.expr", _p?.expr); - _o.set(_j, "XmlSerialize.typeName", _p?.typeName); - _o.set(_j, "XmlSerialize.indent", _p?.indent); - _o.set(_j, "XmlSerialize.location", _p?.location); - return _j; - }, - partitionElem(_p?: PartitionElem["PartitionElem"]): PartitionElem { - const _j = ({ - PartitionElem: {} - } as PartitionElem); - _o.set(_j, "PartitionElem.name", _p?.name); - _o.set(_j, "PartitionElem.expr", _p?.expr); - _o.set(_j, "PartitionElem.collation", _p?.collation); - _o.set(_j, "PartitionElem.opclass", _p?.opclass); - _o.set(_j, "PartitionElem.location", _p?.location); - return _j; - }, - partitionSpec(_p?: PartitionSpec["PartitionSpec"]): PartitionSpec { - const _j = ({ - PartitionSpec: {} - } as PartitionSpec); - _o.set(_j, "PartitionSpec.strategy", _p?.strategy); - _o.set(_j, "PartitionSpec.partParams", _p?.partParams); - _o.set(_j, "PartitionSpec.location", _p?.location); - return _j; - }, - partitionBoundSpec(_p?: PartitionBoundSpec["PartitionBoundSpec"]): PartitionBoundSpec { - const _j = ({ - PartitionBoundSpec: {} - } as PartitionBoundSpec); - _o.set(_j, "PartitionBoundSpec.strategy", _p?.strategy); - _o.set(_j, "PartitionBoundSpec.is_default", _p?.is_default); - _o.set(_j, "PartitionBoundSpec.modulus", _p?.modulus); - _o.set(_j, "PartitionBoundSpec.remainder", _p?.remainder); - _o.set(_j, "PartitionBoundSpec.listdatums", _p?.listdatums); - _o.set(_j, "PartitionBoundSpec.lowerdatums", _p?.lowerdatums); - _o.set(_j, "PartitionBoundSpec.upperdatums", _p?.upperdatums); - _o.set(_j, "PartitionBoundSpec.location", _p?.location); - return _j; - }, - partitionRangeDatum(_p?: PartitionRangeDatum["PartitionRangeDatum"]): PartitionRangeDatum { - const _j = ({ - PartitionRangeDatum: {} - } as PartitionRangeDatum); - _o.set(_j, "PartitionRangeDatum.kind", _p?.kind); - _o.set(_j, "PartitionRangeDatum.value", _p?.value); - _o.set(_j, "PartitionRangeDatum.location", _p?.location); - return _j; - }, - partitionCmd(_p?: PartitionCmd["PartitionCmd"]): PartitionCmd { - const _j = ({ - PartitionCmd: {} - } as PartitionCmd); - _o.set(_j, "PartitionCmd.name", _p?.name); - _o.set(_j, "PartitionCmd.bound", _p?.bound); - _o.set(_j, "PartitionCmd.concurrent", _p?.concurrent); - return _j; - }, - rangeTblEntry(_p?: RangeTblEntry["RangeTblEntry"]): RangeTblEntry { - const _j = ({ - RangeTblEntry: {} - } as RangeTblEntry); - _o.set(_j, "RangeTblEntry.rtekind", _p?.rtekind); - _o.set(_j, "RangeTblEntry.relid", _p?.relid); - _o.set(_j, "RangeTblEntry.relkind", _p?.relkind); - _o.set(_j, "RangeTblEntry.rellockmode", _p?.rellockmode); - _o.set(_j, "RangeTblEntry.tablesample", _p?.tablesample); - _o.set(_j, "RangeTblEntry.perminfoindex", _p?.perminfoindex); - _o.set(_j, "RangeTblEntry.subquery", _p?.subquery); - _o.set(_j, "RangeTblEntry.security_barrier", _p?.security_barrier); - _o.set(_j, "RangeTblEntry.jointype", _p?.jointype); - _o.set(_j, "RangeTblEntry.joinmergedcols", _p?.joinmergedcols); - _o.set(_j, "RangeTblEntry.joinaliasvars", _p?.joinaliasvars); - _o.set(_j, "RangeTblEntry.joinleftcols", _p?.joinleftcols); - _o.set(_j, "RangeTblEntry.joinrightcols", _p?.joinrightcols); - _o.set(_j, "RangeTblEntry.join_using_alias", _p?.join_using_alias); - _o.set(_j, "RangeTblEntry.functions", _p?.functions); - _o.set(_j, "RangeTblEntry.funcordinality", _p?.funcordinality); - _o.set(_j, "RangeTblEntry.tablefunc", _p?.tablefunc); - _o.set(_j, "RangeTblEntry.values_lists", _p?.values_lists); - _o.set(_j, "RangeTblEntry.ctename", _p?.ctename); - _o.set(_j, "RangeTblEntry.ctelevelsup", _p?.ctelevelsup); - _o.set(_j, "RangeTblEntry.self_reference", _p?.self_reference); - _o.set(_j, "RangeTblEntry.coltypes", _p?.coltypes); - _o.set(_j, "RangeTblEntry.coltypmods", _p?.coltypmods); - _o.set(_j, "RangeTblEntry.colcollations", _p?.colcollations); - _o.set(_j, "RangeTblEntry.enrname", _p?.enrname); - _o.set(_j, "RangeTblEntry.enrtuples", _p?.enrtuples); - _o.set(_j, "RangeTblEntry.alias", _p?.alias); - _o.set(_j, "RangeTblEntry.eref", _p?.eref); - _o.set(_j, "RangeTblEntry.lateral", _p?.lateral); - _o.set(_j, "RangeTblEntry.inh", _p?.inh); - _o.set(_j, "RangeTblEntry.inFromCl", _p?.inFromCl); - _o.set(_j, "RangeTblEntry.securityQuals", _p?.securityQuals); - return _j; - }, - rtePermissionInfo(_p?: RTEPermissionInfo["RTEPermissionInfo"]): RTEPermissionInfo { - const _j = ({ - RTEPermissionInfo: {} - } as RTEPermissionInfo); - _o.set(_j, "RTEPermissionInfo.relid", _p?.relid); - _o.set(_j, "RTEPermissionInfo.inh", _p?.inh); - _o.set(_j, "RTEPermissionInfo.requiredPerms", _p?.requiredPerms); - _o.set(_j, "RTEPermissionInfo.checkAsUser", _p?.checkAsUser); - _o.set(_j, "RTEPermissionInfo.selectedCols", _p?.selectedCols); - _o.set(_j, "RTEPermissionInfo.insertedCols", _p?.insertedCols); - _o.set(_j, "RTEPermissionInfo.updatedCols", _p?.updatedCols); - return _j; - }, - rangeTblFunction(_p?: RangeTblFunction["RangeTblFunction"]): RangeTblFunction { - const _j = ({ - RangeTblFunction: {} - } as RangeTblFunction); - _o.set(_j, "RangeTblFunction.funcexpr", _p?.funcexpr); - _o.set(_j, "RangeTblFunction.funccolcount", _p?.funccolcount); - _o.set(_j, "RangeTblFunction.funccolnames", _p?.funccolnames); - _o.set(_j, "RangeTblFunction.funccoltypes", _p?.funccoltypes); - _o.set(_j, "RangeTblFunction.funccoltypmods", _p?.funccoltypmods); - _o.set(_j, "RangeTblFunction.funccolcollations", _p?.funccolcollations); - _o.set(_j, "RangeTblFunction.funcparams", _p?.funcparams); - return _j; - }, - tableSampleClause(_p?: TableSampleClause["TableSampleClause"]): TableSampleClause { - const _j = ({ - TableSampleClause: {} - } as TableSampleClause); - _o.set(_j, "TableSampleClause.tsmhandler", _p?.tsmhandler); - _o.set(_j, "TableSampleClause.args", _p?.args); - _o.set(_j, "TableSampleClause.repeatable", _p?.repeatable); - return _j; - }, - withCheckOption(_p?: WithCheckOption["WithCheckOption"]): WithCheckOption { - const _j = ({ - WithCheckOption: {} - } as WithCheckOption); - _o.set(_j, "WithCheckOption.kind", _p?.kind); - _o.set(_j, "WithCheckOption.relname", _p?.relname); - _o.set(_j, "WithCheckOption.polname", _p?.polname); - _o.set(_j, "WithCheckOption.qual", _p?.qual); - _o.set(_j, "WithCheckOption.cascaded", _p?.cascaded); - return _j; - }, - sortGroupClause(_p?: SortGroupClause["SortGroupClause"]): SortGroupClause { - const _j = ({ - SortGroupClause: {} - } as SortGroupClause); - _o.set(_j, "SortGroupClause.tleSortGroupRef", _p?.tleSortGroupRef); - _o.set(_j, "SortGroupClause.eqop", _p?.eqop); - _o.set(_j, "SortGroupClause.sortop", _p?.sortop); - _o.set(_j, "SortGroupClause.nulls_first", _p?.nulls_first); - _o.set(_j, "SortGroupClause.hashable", _p?.hashable); - return _j; - }, - groupingSet(_p?: GroupingSet["GroupingSet"]): GroupingSet { - const _j = ({ - GroupingSet: {} - } as GroupingSet); - _o.set(_j, "GroupingSet.kind", _p?.kind); - _o.set(_j, "GroupingSet.content", _p?.content); - _o.set(_j, "GroupingSet.location", _p?.location); - return _j; - }, - windowClause(_p?: WindowClause["WindowClause"]): WindowClause { - const _j = ({ - WindowClause: {} - } as WindowClause); - _o.set(_j, "WindowClause.name", _p?.name); - _o.set(_j, "WindowClause.refname", _p?.refname); - _o.set(_j, "WindowClause.partitionClause", _p?.partitionClause); - _o.set(_j, "WindowClause.orderClause", _p?.orderClause); - _o.set(_j, "WindowClause.frameOptions", _p?.frameOptions); - _o.set(_j, "WindowClause.startOffset", _p?.startOffset); - _o.set(_j, "WindowClause.endOffset", _p?.endOffset); - _o.set(_j, "WindowClause.runCondition", _p?.runCondition); - _o.set(_j, "WindowClause.startInRangeFunc", _p?.startInRangeFunc); - _o.set(_j, "WindowClause.endInRangeFunc", _p?.endInRangeFunc); - _o.set(_j, "WindowClause.inRangeColl", _p?.inRangeColl); - _o.set(_j, "WindowClause.inRangeAsc", _p?.inRangeAsc); - _o.set(_j, "WindowClause.inRangeNullsFirst", _p?.inRangeNullsFirst); - _o.set(_j, "WindowClause.winref", _p?.winref); - _o.set(_j, "WindowClause.copiedOrder", _p?.copiedOrder); - return _j; - }, - rowMarkClause(_p?: RowMarkClause["RowMarkClause"]): RowMarkClause { - const _j = ({ - RowMarkClause: {} - } as RowMarkClause); - _o.set(_j, "RowMarkClause.rti", _p?.rti); - _o.set(_j, "RowMarkClause.strength", _p?.strength); - _o.set(_j, "RowMarkClause.waitPolicy", _p?.waitPolicy); - _o.set(_j, "RowMarkClause.pushedDown", _p?.pushedDown); - return _j; - }, - withClause(_p?: WithClause["WithClause"]): WithClause { - const _j = ({ - WithClause: {} - } as WithClause); - _o.set(_j, "WithClause.ctes", _p?.ctes); - _o.set(_j, "WithClause.recursive", _p?.recursive); - _o.set(_j, "WithClause.location", _p?.location); - return _j; - }, - inferClause(_p?: InferClause["InferClause"]): InferClause { - const _j = ({ - InferClause: {} - } as InferClause); - _o.set(_j, "InferClause.indexElems", _p?.indexElems); - _o.set(_j, "InferClause.whereClause", _p?.whereClause); - _o.set(_j, "InferClause.conname", _p?.conname); - _o.set(_j, "InferClause.location", _p?.location); - return _j; - }, - onConflictClause(_p?: OnConflictClause["OnConflictClause"]): OnConflictClause { - const _j = ({ - OnConflictClause: {} - } as OnConflictClause); - _o.set(_j, "OnConflictClause.action", _p?.action); - _o.set(_j, "OnConflictClause.infer", _p?.infer); - _o.set(_j, "OnConflictClause.targetList", _p?.targetList); - _o.set(_j, "OnConflictClause.whereClause", _p?.whereClause); - _o.set(_j, "OnConflictClause.location", _p?.location); - return _j; - }, - cteSearchClause(_p?: CTESearchClause["CTESearchClause"]): CTESearchClause { - const _j = ({ - CTESearchClause: {} - } as CTESearchClause); - _o.set(_j, "CTESearchClause.search_col_list", _p?.search_col_list); - _o.set(_j, "CTESearchClause.search_breadth_first", _p?.search_breadth_first); - _o.set(_j, "CTESearchClause.search_seq_column", _p?.search_seq_column); - _o.set(_j, "CTESearchClause.location", _p?.location); - return _j; - }, - cteCycleClause(_p?: CTECycleClause["CTECycleClause"]): CTECycleClause { - const _j = ({ - CTECycleClause: {} - } as CTECycleClause); - _o.set(_j, "CTECycleClause.cycle_col_list", _p?.cycle_col_list); - _o.set(_j, "CTECycleClause.cycle_mark_column", _p?.cycle_mark_column); - _o.set(_j, "CTECycleClause.cycle_mark_value", _p?.cycle_mark_value); - _o.set(_j, "CTECycleClause.cycle_mark_default", _p?.cycle_mark_default); - _o.set(_j, "CTECycleClause.cycle_path_column", _p?.cycle_path_column); - _o.set(_j, "CTECycleClause.location", _p?.location); - _o.set(_j, "CTECycleClause.cycle_mark_type", _p?.cycle_mark_type); - _o.set(_j, "CTECycleClause.cycle_mark_typmod", _p?.cycle_mark_typmod); - _o.set(_j, "CTECycleClause.cycle_mark_collation", _p?.cycle_mark_collation); - _o.set(_j, "CTECycleClause.cycle_mark_neop", _p?.cycle_mark_neop); - return _j; - }, - commonTableExpr(_p?: CommonTableExpr["CommonTableExpr"]): CommonTableExpr { - const _j = ({ - CommonTableExpr: {} - } as CommonTableExpr); - _o.set(_j, "CommonTableExpr.ctename", _p?.ctename); - _o.set(_j, "CommonTableExpr.aliascolnames", _p?.aliascolnames); - _o.set(_j, "CommonTableExpr.ctematerialized", _p?.ctematerialized); - _o.set(_j, "CommonTableExpr.ctequery", _p?.ctequery); - _o.set(_j, "CommonTableExpr.search_clause", _p?.search_clause); - _o.set(_j, "CommonTableExpr.cycle_clause", _p?.cycle_clause); - _o.set(_j, "CommonTableExpr.location", _p?.location); - _o.set(_j, "CommonTableExpr.cterecursive", _p?.cterecursive); - _o.set(_j, "CommonTableExpr.cterefcount", _p?.cterefcount); - _o.set(_j, "CommonTableExpr.ctecolnames", _p?.ctecolnames); - _o.set(_j, "CommonTableExpr.ctecoltypes", _p?.ctecoltypes); - _o.set(_j, "CommonTableExpr.ctecoltypmods", _p?.ctecoltypmods); - _o.set(_j, "CommonTableExpr.ctecolcollations", _p?.ctecolcollations); - return _j; - }, - mergeWhenClause(_p?: MergeWhenClause["MergeWhenClause"]): MergeWhenClause { - const _j = ({ - MergeWhenClause: {} - } as MergeWhenClause); - _o.set(_j, "MergeWhenClause.matched", _p?.matched); - _o.set(_j, "MergeWhenClause.commandType", _p?.commandType); - _o.set(_j, "MergeWhenClause.override", _p?.override); - _o.set(_j, "MergeWhenClause.condition", _p?.condition); - _o.set(_j, "MergeWhenClause.targetList", _p?.targetList); - _o.set(_j, "MergeWhenClause.values", _p?.values); - return _j; - }, - mergeAction(_p?: MergeAction["MergeAction"]): MergeAction { - const _j = ({ - MergeAction: {} - } as MergeAction); - _o.set(_j, "MergeAction.matched", _p?.matched); - _o.set(_j, "MergeAction.commandType", _p?.commandType); - _o.set(_j, "MergeAction.override", _p?.override); - _o.set(_j, "MergeAction.qual", _p?.qual); - _o.set(_j, "MergeAction.targetList", _p?.targetList); - _o.set(_j, "MergeAction.updateColnos", _p?.updateColnos); - return _j; - }, - triggerTransition(_p?: TriggerTransition["TriggerTransition"]): TriggerTransition { - const _j = ({ - TriggerTransition: {} - } as TriggerTransition); - _o.set(_j, "TriggerTransition.name", _p?.name); - _o.set(_j, "TriggerTransition.isNew", _p?.isNew); - _o.set(_j, "TriggerTransition.isTable", _p?.isTable); - return _j; - }, - jsonOutput(_p?: JsonOutput["JsonOutput"]): JsonOutput { - const _j = ({ - JsonOutput: {} - } as JsonOutput); - _o.set(_j, "JsonOutput.typeName", _p?.typeName); - _o.set(_j, "JsonOutput.returning", _p?.returning); - return _j; - }, - jsonKeyValue(_p?: JsonKeyValue["JsonKeyValue"]): JsonKeyValue { - const _j = ({ - JsonKeyValue: {} - } as JsonKeyValue); - _o.set(_j, "JsonKeyValue.key", _p?.key); - _o.set(_j, "JsonKeyValue.value", _p?.value); - return _j; - }, - jsonObjectConstructor(_p?: JsonObjectConstructor["JsonObjectConstructor"]): JsonObjectConstructor { - const _j = ({ - JsonObjectConstructor: {} - } as JsonObjectConstructor); - _o.set(_j, "JsonObjectConstructor.exprs", _p?.exprs); - _o.set(_j, "JsonObjectConstructor.output", _p?.output); - _o.set(_j, "JsonObjectConstructor.absent_on_null", _p?.absent_on_null); - _o.set(_j, "JsonObjectConstructor.unique", _p?.unique); - _o.set(_j, "JsonObjectConstructor.location", _p?.location); - return _j; - }, - jsonArrayConstructor(_p?: JsonArrayConstructor["JsonArrayConstructor"]): JsonArrayConstructor { - const _j = ({ - JsonArrayConstructor: {} - } as JsonArrayConstructor); - _o.set(_j, "JsonArrayConstructor.exprs", _p?.exprs); - _o.set(_j, "JsonArrayConstructor.output", _p?.output); - _o.set(_j, "JsonArrayConstructor.absent_on_null", _p?.absent_on_null); - _o.set(_j, "JsonArrayConstructor.location", _p?.location); - return _j; - }, - jsonArrayQueryConstructor(_p?: JsonArrayQueryConstructor["JsonArrayQueryConstructor"]): JsonArrayQueryConstructor { - const _j = ({ - JsonArrayQueryConstructor: {} - } as JsonArrayQueryConstructor); - _o.set(_j, "JsonArrayQueryConstructor.query", _p?.query); - _o.set(_j, "JsonArrayQueryConstructor.output", _p?.output); - _o.set(_j, "JsonArrayQueryConstructor.format", _p?.format); - _o.set(_j, "JsonArrayQueryConstructor.absent_on_null", _p?.absent_on_null); - _o.set(_j, "JsonArrayQueryConstructor.location", _p?.location); - return _j; - }, - jsonAggConstructor(_p?: JsonAggConstructor["JsonAggConstructor"]): JsonAggConstructor { - const _j = ({ - JsonAggConstructor: {} - } as JsonAggConstructor); - _o.set(_j, "JsonAggConstructor.output", _p?.output); - _o.set(_j, "JsonAggConstructor.agg_filter", _p?.agg_filter); - _o.set(_j, "JsonAggConstructor.agg_order", _p?.agg_order); - _o.set(_j, "JsonAggConstructor.over", _p?.over); - _o.set(_j, "JsonAggConstructor.location", _p?.location); - return _j; - }, - jsonObjectAgg(_p?: JsonObjectAgg["JsonObjectAgg"]): JsonObjectAgg { - const _j = ({ - JsonObjectAgg: {} - } as JsonObjectAgg); - _o.set(_j, "JsonObjectAgg.constructor", _p?.constructor); - _o.set(_j, "JsonObjectAgg.arg", _p?.arg); - _o.set(_j, "JsonObjectAgg.absent_on_null", _p?.absent_on_null); - _o.set(_j, "JsonObjectAgg.unique", _p?.unique); - return _j; - }, - jsonArrayAgg(_p?: JsonArrayAgg["JsonArrayAgg"]): JsonArrayAgg { - const _j = ({ - JsonArrayAgg: {} - } as JsonArrayAgg); - _o.set(_j, "JsonArrayAgg.constructor", _p?.constructor); - _o.set(_j, "JsonArrayAgg.arg", _p?.arg); - _o.set(_j, "JsonArrayAgg.absent_on_null", _p?.absent_on_null); - return _j; - }, - rawStmt(_p?: RawStmt["RawStmt"]): RawStmt { - const _j = ({ - RawStmt: {} - } as RawStmt); - _o.set(_j, "RawStmt.stmt", _p?.stmt); - _o.set(_j, "RawStmt.stmt_location", _p?.stmt_location); - _o.set(_j, "RawStmt.stmt_len", _p?.stmt_len); - return _j; - }, - insertStmt(_p?: InsertStmt["InsertStmt"]): InsertStmt { - const _j = ({ - InsertStmt: {} - } as InsertStmt); - _o.set(_j, "InsertStmt.relation", _p?.relation); - _o.set(_j, "InsertStmt.cols", _p?.cols); - _o.set(_j, "InsertStmt.selectStmt", _p?.selectStmt); - _o.set(_j, "InsertStmt.onConflictClause", _p?.onConflictClause); - _o.set(_j, "InsertStmt.returningList", _p?.returningList); - _o.set(_j, "InsertStmt.withClause", _p?.withClause); - _o.set(_j, "InsertStmt.override", _p?.override); - return _j; - }, - deleteStmt(_p?: DeleteStmt["DeleteStmt"]): DeleteStmt { - const _j = ({ - DeleteStmt: {} - } as DeleteStmt); - _o.set(_j, "DeleteStmt.relation", _p?.relation); - _o.set(_j, "DeleteStmt.usingClause", _p?.usingClause); - _o.set(_j, "DeleteStmt.whereClause", _p?.whereClause); - _o.set(_j, "DeleteStmt.returningList", _p?.returningList); - _o.set(_j, "DeleteStmt.withClause", _p?.withClause); - return _j; - }, - updateStmt(_p?: UpdateStmt["UpdateStmt"]): UpdateStmt { - const _j = ({ - UpdateStmt: {} - } as UpdateStmt); - _o.set(_j, "UpdateStmt.relation", _p?.relation); - _o.set(_j, "UpdateStmt.targetList", _p?.targetList); - _o.set(_j, "UpdateStmt.whereClause", _p?.whereClause); - _o.set(_j, "UpdateStmt.fromClause", _p?.fromClause); - _o.set(_j, "UpdateStmt.returningList", _p?.returningList); - _o.set(_j, "UpdateStmt.withClause", _p?.withClause); - return _j; - }, - mergeStmt(_p?: MergeStmt["MergeStmt"]): MergeStmt { - const _j = ({ - MergeStmt: {} - } as MergeStmt); - _o.set(_j, "MergeStmt.relation", _p?.relation); - _o.set(_j, "MergeStmt.sourceRelation", _p?.sourceRelation); - _o.set(_j, "MergeStmt.joinCondition", _p?.joinCondition); - _o.set(_j, "MergeStmt.mergeWhenClauses", _p?.mergeWhenClauses); - _o.set(_j, "MergeStmt.withClause", _p?.withClause); - return _j; - }, - selectStmt(_p?: SelectStmt["SelectStmt"]): SelectStmt { - const _j = ({ - SelectStmt: {} - } as SelectStmt); - _o.set(_j, "SelectStmt.distinctClause", _p?.distinctClause); - _o.set(_j, "SelectStmt.intoClause", _p?.intoClause); - _o.set(_j, "SelectStmt.targetList", _p?.targetList); - _o.set(_j, "SelectStmt.fromClause", _p?.fromClause); - _o.set(_j, "SelectStmt.whereClause", _p?.whereClause); - _o.set(_j, "SelectStmt.groupClause", _p?.groupClause); - _o.set(_j, "SelectStmt.groupDistinct", _p?.groupDistinct); - _o.set(_j, "SelectStmt.havingClause", _p?.havingClause); - _o.set(_j, "SelectStmt.windowClause", _p?.windowClause); - _o.set(_j, "SelectStmt.valuesLists", _p?.valuesLists); - _o.set(_j, "SelectStmt.sortClause", _p?.sortClause); - _o.set(_j, "SelectStmt.limitOffset", _p?.limitOffset); - _o.set(_j, "SelectStmt.limitCount", _p?.limitCount); - _o.set(_j, "SelectStmt.limitOption", _p?.limitOption); - _o.set(_j, "SelectStmt.lockingClause", _p?.lockingClause); - _o.set(_j, "SelectStmt.withClause", _p?.withClause); - _o.set(_j, "SelectStmt.op", _p?.op); - _o.set(_j, "SelectStmt.all", _p?.all); - _o.set(_j, "SelectStmt.larg", _p?.larg); - _o.set(_j, "SelectStmt.rarg", _p?.rarg); - return _j; - }, - setOperationStmt(_p?: SetOperationStmt["SetOperationStmt"]): SetOperationStmt { - const _j = ({ - SetOperationStmt: {} - } as SetOperationStmt); - _o.set(_j, "SetOperationStmt.op", _p?.op); - _o.set(_j, "SetOperationStmt.all", _p?.all); - _o.set(_j, "SetOperationStmt.larg", _p?.larg); - _o.set(_j, "SetOperationStmt.rarg", _p?.rarg); - _o.set(_j, "SetOperationStmt.colTypes", _p?.colTypes); - _o.set(_j, "SetOperationStmt.colTypmods", _p?.colTypmods); - _o.set(_j, "SetOperationStmt.colCollations", _p?.colCollations); - _o.set(_j, "SetOperationStmt.groupClauses", _p?.groupClauses); - return _j; - }, - returnStmt(_p?: ReturnStmt["ReturnStmt"]): ReturnStmt { - const _j = ({ - ReturnStmt: {} - } as ReturnStmt); - _o.set(_j, "ReturnStmt.returnval", _p?.returnval); - return _j; - }, - plAssignStmt(_p?: PLAssignStmt["PLAssignStmt"]): PLAssignStmt { - const _j = ({ - PLAssignStmt: {} - } as PLAssignStmt); - _o.set(_j, "PLAssignStmt.name", _p?.name); - _o.set(_j, "PLAssignStmt.indirection", _p?.indirection); - _o.set(_j, "PLAssignStmt.nnames", _p?.nnames); - _o.set(_j, "PLAssignStmt.val", _p?.val); - _o.set(_j, "PLAssignStmt.location", _p?.location); - return _j; - }, - createSchemaStmt(_p?: CreateSchemaStmt["CreateSchemaStmt"]): CreateSchemaStmt { - const _j = ({ - CreateSchemaStmt: {} - } as CreateSchemaStmt); - _o.set(_j, "CreateSchemaStmt.schemaname", _p?.schemaname); - _o.set(_j, "CreateSchemaStmt.authrole", _p?.authrole); - _o.set(_j, "CreateSchemaStmt.schemaElts", _p?.schemaElts); - _o.set(_j, "CreateSchemaStmt.if_not_exists", _p?.if_not_exists); - return _j; - }, - alterTableStmt(_p?: AlterTableStmt["AlterTableStmt"]): AlterTableStmt { - const _j = ({ - AlterTableStmt: {} - } as AlterTableStmt); - _o.set(_j, "AlterTableStmt.relation", _p?.relation); - _o.set(_j, "AlterTableStmt.cmds", _p?.cmds); - _o.set(_j, "AlterTableStmt.objtype", _p?.objtype); - _o.set(_j, "AlterTableStmt.missing_ok", _p?.missing_ok); - return _j; - }, - replicaIdentityStmt(_p?: ReplicaIdentityStmt["ReplicaIdentityStmt"]): ReplicaIdentityStmt { - const _j = ({ - ReplicaIdentityStmt: {} - } as ReplicaIdentityStmt); - _o.set(_j, "ReplicaIdentityStmt.identity_type", _p?.identity_type); - _o.set(_j, "ReplicaIdentityStmt.name", _p?.name); - return _j; - }, - alterTableCmd(_p?: AlterTableCmd["AlterTableCmd"]): AlterTableCmd { - const _j = ({ - AlterTableCmd: {} - } as AlterTableCmd); - _o.set(_j, "AlterTableCmd.subtype", _p?.subtype); - _o.set(_j, "AlterTableCmd.name", _p?.name); - _o.set(_j, "AlterTableCmd.num", _p?.num); - _o.set(_j, "AlterTableCmd.newowner", _p?.newowner); - _o.set(_j, "AlterTableCmd.def", _p?.def); - _o.set(_j, "AlterTableCmd.behavior", _p?.behavior); - _o.set(_j, "AlterTableCmd.missing_ok", _p?.missing_ok); - _o.set(_j, "AlterTableCmd.recurse", _p?.recurse); - return _j; - }, - alterCollationStmt(_p?: AlterCollationStmt["AlterCollationStmt"]): AlterCollationStmt { - const _j = ({ - AlterCollationStmt: {} - } as AlterCollationStmt); - _o.set(_j, "AlterCollationStmt.collname", _p?.collname); - return _j; - }, - alterDomainStmt(_p?: AlterDomainStmt["AlterDomainStmt"]): AlterDomainStmt { - const _j = ({ - AlterDomainStmt: {} - } as AlterDomainStmt); - _o.set(_j, "AlterDomainStmt.subtype", _p?.subtype); - _o.set(_j, "AlterDomainStmt.typeName", _p?.typeName); - _o.set(_j, "AlterDomainStmt.name", _p?.name); - _o.set(_j, "AlterDomainStmt.def", _p?.def); - _o.set(_j, "AlterDomainStmt.behavior", _p?.behavior); - _o.set(_j, "AlterDomainStmt.missing_ok", _p?.missing_ok); - return _j; - }, - grantStmt(_p?: GrantStmt["GrantStmt"]): GrantStmt { - const _j = ({ - GrantStmt: {} - } as GrantStmt); - _o.set(_j, "GrantStmt.is_grant", _p?.is_grant); - _o.set(_j, "GrantStmt.targtype", _p?.targtype); - _o.set(_j, "GrantStmt.objtype", _p?.objtype); - _o.set(_j, "GrantStmt.objects", _p?.objects); - _o.set(_j, "GrantStmt.privileges", _p?.privileges); - _o.set(_j, "GrantStmt.grantees", _p?.grantees); - _o.set(_j, "GrantStmt.grant_option", _p?.grant_option); - _o.set(_j, "GrantStmt.grantor", _p?.grantor); - _o.set(_j, "GrantStmt.behavior", _p?.behavior); - return _j; - }, - objectWithArgs(_p?: ObjectWithArgs["ObjectWithArgs"]): ObjectWithArgs { - const _j = ({ - ObjectWithArgs: {} - } as ObjectWithArgs); - _o.set(_j, "ObjectWithArgs.objname", _p?.objname); - _o.set(_j, "ObjectWithArgs.objargs", _p?.objargs); - _o.set(_j, "ObjectWithArgs.objfuncargs", _p?.objfuncargs); - _o.set(_j, "ObjectWithArgs.args_unspecified", _p?.args_unspecified); - return _j; - }, - accessPriv(_p?: AccessPriv["AccessPriv"]): AccessPriv { - const _j = ({ - AccessPriv: {} - } as AccessPriv); - _o.set(_j, "AccessPriv.priv_name", _p?.priv_name); - _o.set(_j, "AccessPriv.cols", _p?.cols); - return _j; - }, - grantRoleStmt(_p?: GrantRoleStmt["GrantRoleStmt"]): GrantRoleStmt { - const _j = ({ - GrantRoleStmt: {} - } as GrantRoleStmt); - _o.set(_j, "GrantRoleStmt.granted_roles", _p?.granted_roles); - _o.set(_j, "GrantRoleStmt.grantee_roles", _p?.grantee_roles); - _o.set(_j, "GrantRoleStmt.is_grant", _p?.is_grant); - _o.set(_j, "GrantRoleStmt.opt", _p?.opt); - _o.set(_j, "GrantRoleStmt.grantor", _p?.grantor); - _o.set(_j, "GrantRoleStmt.behavior", _p?.behavior); - return _j; - }, - alterDefaultPrivilegesStmt(_p?: AlterDefaultPrivilegesStmt["AlterDefaultPrivilegesStmt"]): AlterDefaultPrivilegesStmt { - const _j = ({ - AlterDefaultPrivilegesStmt: {} - } as AlterDefaultPrivilegesStmt); - _o.set(_j, "AlterDefaultPrivilegesStmt.options", _p?.options); - _o.set(_j, "AlterDefaultPrivilegesStmt.action", _p?.action); - return _j; - }, - copyStmt(_p?: CopyStmt["CopyStmt"]): CopyStmt { - const _j = ({ - CopyStmt: {} - } as CopyStmt); - _o.set(_j, "CopyStmt.relation", _p?.relation); - _o.set(_j, "CopyStmt.query", _p?.query); - _o.set(_j, "CopyStmt.attlist", _p?.attlist); - _o.set(_j, "CopyStmt.is_from", _p?.is_from); - _o.set(_j, "CopyStmt.is_program", _p?.is_program); - _o.set(_j, "CopyStmt.filename", _p?.filename); - _o.set(_j, "CopyStmt.options", _p?.options); - _o.set(_j, "CopyStmt.whereClause", _p?.whereClause); - return _j; - }, - variableSetStmt(_p?: VariableSetStmt["VariableSetStmt"]): VariableSetStmt { - const _j = ({ - VariableSetStmt: {} - } as VariableSetStmt); - _o.set(_j, "VariableSetStmt.kind", _p?.kind); - _o.set(_j, "VariableSetStmt.name", _p?.name); - _o.set(_j, "VariableSetStmt.args", _p?.args); - _o.set(_j, "VariableSetStmt.is_local", _p?.is_local); - return _j; - }, - variableShowStmt(_p?: VariableShowStmt["VariableShowStmt"]): VariableShowStmt { - const _j = ({ - VariableShowStmt: {} - } as VariableShowStmt); - _o.set(_j, "VariableShowStmt.name", _p?.name); - return _j; - }, - createStmt(_p?: CreateStmt["CreateStmt"]): CreateStmt { - const _j = ({ - CreateStmt: {} - } as CreateStmt); - _o.set(_j, "CreateStmt.relation", _p?.relation); - _o.set(_j, "CreateStmt.tableElts", _p?.tableElts); - _o.set(_j, "CreateStmt.inhRelations", _p?.inhRelations); - _o.set(_j, "CreateStmt.partbound", _p?.partbound); - _o.set(_j, "CreateStmt.partspec", _p?.partspec); - _o.set(_j, "CreateStmt.ofTypename", _p?.ofTypename); - _o.set(_j, "CreateStmt.constraints", _p?.constraints); - _o.set(_j, "CreateStmt.options", _p?.options); - _o.set(_j, "CreateStmt.oncommit", _p?.oncommit); - _o.set(_j, "CreateStmt.tablespacename", _p?.tablespacename); - _o.set(_j, "CreateStmt.accessMethod", _p?.accessMethod); - _o.set(_j, "CreateStmt.if_not_exists", _p?.if_not_exists); - return _j; - }, - constraint(_p?: Constraint["Constraint"]): Constraint { - const _j = ({ - Constraint: {} - } as Constraint); - _o.set(_j, "Constraint.contype", _p?.contype); - _o.set(_j, "Constraint.conname", _p?.conname); - _o.set(_j, "Constraint.deferrable", _p?.deferrable); - _o.set(_j, "Constraint.initdeferred", _p?.initdeferred); - _o.set(_j, "Constraint.location", _p?.location); - _o.set(_j, "Constraint.is_no_inherit", _p?.is_no_inherit); - _o.set(_j, "Constraint.raw_expr", _p?.raw_expr); - _o.set(_j, "Constraint.cooked_expr", _p?.cooked_expr); - _o.set(_j, "Constraint.generated_when", _p?.generated_when); - _o.set(_j, "Constraint.nulls_not_distinct", _p?.nulls_not_distinct); - _o.set(_j, "Constraint.keys", _p?.keys); - _o.set(_j, "Constraint.including", _p?.including); - _o.set(_j, "Constraint.exclusions", _p?.exclusions); - _o.set(_j, "Constraint.options", _p?.options); - _o.set(_j, "Constraint.indexname", _p?.indexname); - _o.set(_j, "Constraint.indexspace", _p?.indexspace); - _o.set(_j, "Constraint.reset_default_tblspc", _p?.reset_default_tblspc); - _o.set(_j, "Constraint.access_method", _p?.access_method); - _o.set(_j, "Constraint.where_clause", _p?.where_clause); - _o.set(_j, "Constraint.pktable", _p?.pktable); - _o.set(_j, "Constraint.fk_attrs", _p?.fk_attrs); - _o.set(_j, "Constraint.pk_attrs", _p?.pk_attrs); - _o.set(_j, "Constraint.fk_matchtype", _p?.fk_matchtype); - _o.set(_j, "Constraint.fk_upd_action", _p?.fk_upd_action); - _o.set(_j, "Constraint.fk_del_action", _p?.fk_del_action); - _o.set(_j, "Constraint.fk_del_set_cols", _p?.fk_del_set_cols); - _o.set(_j, "Constraint.old_conpfeqop", _p?.old_conpfeqop); - _o.set(_j, "Constraint.old_pktable_oid", _p?.old_pktable_oid); - _o.set(_j, "Constraint.skip_validation", _p?.skip_validation); - _o.set(_j, "Constraint.initially_valid", _p?.initially_valid); - return _j; - }, - createTableSpaceStmt(_p?: CreateTableSpaceStmt["CreateTableSpaceStmt"]): CreateTableSpaceStmt { - const _j = ({ - CreateTableSpaceStmt: {} - } as CreateTableSpaceStmt); - _o.set(_j, "CreateTableSpaceStmt.tablespacename", _p?.tablespacename); - _o.set(_j, "CreateTableSpaceStmt.owner", _p?.owner); - _o.set(_j, "CreateTableSpaceStmt.location", _p?.location); - _o.set(_j, "CreateTableSpaceStmt.options", _p?.options); - return _j; - }, - dropTableSpaceStmt(_p?: DropTableSpaceStmt["DropTableSpaceStmt"]): DropTableSpaceStmt { - const _j = ({ - DropTableSpaceStmt: {} - } as DropTableSpaceStmt); - _o.set(_j, "DropTableSpaceStmt.tablespacename", _p?.tablespacename); - _o.set(_j, "DropTableSpaceStmt.missing_ok", _p?.missing_ok); - return _j; - }, - alterTableSpaceOptionsStmt(_p?: AlterTableSpaceOptionsStmt["AlterTableSpaceOptionsStmt"]): AlterTableSpaceOptionsStmt { - const _j = ({ - AlterTableSpaceOptionsStmt: {} - } as AlterTableSpaceOptionsStmt); - _o.set(_j, "AlterTableSpaceOptionsStmt.tablespacename", _p?.tablespacename); - _o.set(_j, "AlterTableSpaceOptionsStmt.options", _p?.options); - _o.set(_j, "AlterTableSpaceOptionsStmt.isReset", _p?.isReset); - return _j; - }, - alterTableMoveAllStmt(_p?: AlterTableMoveAllStmt["AlterTableMoveAllStmt"]): AlterTableMoveAllStmt { - const _j = ({ - AlterTableMoveAllStmt: {} - } as AlterTableMoveAllStmt); - _o.set(_j, "AlterTableMoveAllStmt.orig_tablespacename", _p?.orig_tablespacename); - _o.set(_j, "AlterTableMoveAllStmt.objtype", _p?.objtype); - _o.set(_j, "AlterTableMoveAllStmt.roles", _p?.roles); - _o.set(_j, "AlterTableMoveAllStmt.new_tablespacename", _p?.new_tablespacename); - _o.set(_j, "AlterTableMoveAllStmt.nowait", _p?.nowait); - return _j; - }, - createExtensionStmt(_p?: CreateExtensionStmt["CreateExtensionStmt"]): CreateExtensionStmt { - const _j = ({ - CreateExtensionStmt: {} - } as CreateExtensionStmt); - _o.set(_j, "CreateExtensionStmt.extname", _p?.extname); - _o.set(_j, "CreateExtensionStmt.if_not_exists", _p?.if_not_exists); - _o.set(_j, "CreateExtensionStmt.options", _p?.options); - return _j; - }, - alterExtensionStmt(_p?: AlterExtensionStmt["AlterExtensionStmt"]): AlterExtensionStmt { - const _j = ({ - AlterExtensionStmt: {} - } as AlterExtensionStmt); - _o.set(_j, "AlterExtensionStmt.extname", _p?.extname); - _o.set(_j, "AlterExtensionStmt.options", _p?.options); - return _j; - }, - alterExtensionContentsStmt(_p?: AlterExtensionContentsStmt["AlterExtensionContentsStmt"]): AlterExtensionContentsStmt { - const _j = ({ - AlterExtensionContentsStmt: {} - } as AlterExtensionContentsStmt); - _o.set(_j, "AlterExtensionContentsStmt.extname", _p?.extname); - _o.set(_j, "AlterExtensionContentsStmt.action", _p?.action); - _o.set(_j, "AlterExtensionContentsStmt.objtype", _p?.objtype); - _o.set(_j, "AlterExtensionContentsStmt.object", _p?.object); - return _j; - }, - createFdwStmt(_p?: CreateFdwStmt["CreateFdwStmt"]): CreateFdwStmt { - const _j = ({ - CreateFdwStmt: {} - } as CreateFdwStmt); - _o.set(_j, "CreateFdwStmt.fdwname", _p?.fdwname); - _o.set(_j, "CreateFdwStmt.func_options", _p?.func_options); - _o.set(_j, "CreateFdwStmt.options", _p?.options); - return _j; - }, - alterFdwStmt(_p?: AlterFdwStmt["AlterFdwStmt"]): AlterFdwStmt { - const _j = ({ - AlterFdwStmt: {} - } as AlterFdwStmt); - _o.set(_j, "AlterFdwStmt.fdwname", _p?.fdwname); - _o.set(_j, "AlterFdwStmt.func_options", _p?.func_options); - _o.set(_j, "AlterFdwStmt.options", _p?.options); - return _j; - }, - createForeignServerStmt(_p?: CreateForeignServerStmt["CreateForeignServerStmt"]): CreateForeignServerStmt { - const _j = ({ - CreateForeignServerStmt: {} - } as CreateForeignServerStmt); - _o.set(_j, "CreateForeignServerStmt.servername", _p?.servername); - _o.set(_j, "CreateForeignServerStmt.servertype", _p?.servertype); - _o.set(_j, "CreateForeignServerStmt.version", _p?.version); - _o.set(_j, "CreateForeignServerStmt.fdwname", _p?.fdwname); - _o.set(_j, "CreateForeignServerStmt.if_not_exists", _p?.if_not_exists); - _o.set(_j, "CreateForeignServerStmt.options", _p?.options); - return _j; - }, - alterForeignServerStmt(_p?: AlterForeignServerStmt["AlterForeignServerStmt"]): AlterForeignServerStmt { - const _j = ({ - AlterForeignServerStmt: {} - } as AlterForeignServerStmt); - _o.set(_j, "AlterForeignServerStmt.servername", _p?.servername); - _o.set(_j, "AlterForeignServerStmt.version", _p?.version); - _o.set(_j, "AlterForeignServerStmt.options", _p?.options); - _o.set(_j, "AlterForeignServerStmt.has_version", _p?.has_version); - return _j; - }, - createForeignTableStmt(_p?: CreateForeignTableStmt["CreateForeignTableStmt"]): CreateForeignTableStmt { - const _j = ({ - CreateForeignTableStmt: {} - } as CreateForeignTableStmt); - _o.set(_j, "CreateForeignTableStmt.base", _p?.base); - _o.set(_j, "CreateForeignTableStmt.servername", _p?.servername); - _o.set(_j, "CreateForeignTableStmt.options", _p?.options); - return _j; - }, - createUserMappingStmt(_p?: CreateUserMappingStmt["CreateUserMappingStmt"]): CreateUserMappingStmt { - const _j = ({ - CreateUserMappingStmt: {} - } as CreateUserMappingStmt); - _o.set(_j, "CreateUserMappingStmt.user", _p?.user); - _o.set(_j, "CreateUserMappingStmt.servername", _p?.servername); - _o.set(_j, "CreateUserMappingStmt.if_not_exists", _p?.if_not_exists); - _o.set(_j, "CreateUserMappingStmt.options", _p?.options); - return _j; - }, - alterUserMappingStmt(_p?: AlterUserMappingStmt["AlterUserMappingStmt"]): AlterUserMappingStmt { - const _j = ({ - AlterUserMappingStmt: {} - } as AlterUserMappingStmt); - _o.set(_j, "AlterUserMappingStmt.user", _p?.user); - _o.set(_j, "AlterUserMappingStmt.servername", _p?.servername); - _o.set(_j, "AlterUserMappingStmt.options", _p?.options); - return _j; - }, - dropUserMappingStmt(_p?: DropUserMappingStmt["DropUserMappingStmt"]): DropUserMappingStmt { - const _j = ({ - DropUserMappingStmt: {} - } as DropUserMappingStmt); - _o.set(_j, "DropUserMappingStmt.user", _p?.user); - _o.set(_j, "DropUserMappingStmt.servername", _p?.servername); - _o.set(_j, "DropUserMappingStmt.missing_ok", _p?.missing_ok); - return _j; - }, - importForeignSchemaStmt(_p?: ImportForeignSchemaStmt["ImportForeignSchemaStmt"]): ImportForeignSchemaStmt { - const _j = ({ - ImportForeignSchemaStmt: {} - } as ImportForeignSchemaStmt); - _o.set(_j, "ImportForeignSchemaStmt.server_name", _p?.server_name); - _o.set(_j, "ImportForeignSchemaStmt.remote_schema", _p?.remote_schema); - _o.set(_j, "ImportForeignSchemaStmt.local_schema", _p?.local_schema); - _o.set(_j, "ImportForeignSchemaStmt.list_type", _p?.list_type); - _o.set(_j, "ImportForeignSchemaStmt.table_list", _p?.table_list); - _o.set(_j, "ImportForeignSchemaStmt.options", _p?.options); - return _j; - }, - createPolicyStmt(_p?: CreatePolicyStmt["CreatePolicyStmt"]): CreatePolicyStmt { - const _j = ({ - CreatePolicyStmt: {} - } as CreatePolicyStmt); - _o.set(_j, "CreatePolicyStmt.policy_name", _p?.policy_name); - _o.set(_j, "CreatePolicyStmt.table", _p?.table); - _o.set(_j, "CreatePolicyStmt.cmd_name", _p?.cmd_name); - _o.set(_j, "CreatePolicyStmt.permissive", _p?.permissive); - _o.set(_j, "CreatePolicyStmt.roles", _p?.roles); - _o.set(_j, "CreatePolicyStmt.qual", _p?.qual); - _o.set(_j, "CreatePolicyStmt.with_check", _p?.with_check); - return _j; - }, - alterPolicyStmt(_p?: AlterPolicyStmt["AlterPolicyStmt"]): AlterPolicyStmt { - const _j = ({ - AlterPolicyStmt: {} - } as AlterPolicyStmt); - _o.set(_j, "AlterPolicyStmt.policy_name", _p?.policy_name); - _o.set(_j, "AlterPolicyStmt.table", _p?.table); - _o.set(_j, "AlterPolicyStmt.roles", _p?.roles); - _o.set(_j, "AlterPolicyStmt.qual", _p?.qual); - _o.set(_j, "AlterPolicyStmt.with_check", _p?.with_check); - return _j; - }, - createAmStmt(_p?: CreateAmStmt["CreateAmStmt"]): CreateAmStmt { - const _j = ({ - CreateAmStmt: {} - } as CreateAmStmt); - _o.set(_j, "CreateAmStmt.amname", _p?.amname); - _o.set(_j, "CreateAmStmt.handler_name", _p?.handler_name); - _o.set(_j, "CreateAmStmt.amtype", _p?.amtype); - return _j; - }, - createTrigStmt(_p?: CreateTrigStmt["CreateTrigStmt"]): CreateTrigStmt { - const _j = ({ - CreateTrigStmt: {} - } as CreateTrigStmt); - _o.set(_j, "CreateTrigStmt.replace", _p?.replace); - _o.set(_j, "CreateTrigStmt.isconstraint", _p?.isconstraint); - _o.set(_j, "CreateTrigStmt.trigname", _p?.trigname); - _o.set(_j, "CreateTrigStmt.relation", _p?.relation); - _o.set(_j, "CreateTrigStmt.funcname", _p?.funcname); - _o.set(_j, "CreateTrigStmt.args", _p?.args); - _o.set(_j, "CreateTrigStmt.row", _p?.row); - _o.set(_j, "CreateTrigStmt.timing", _p?.timing); - _o.set(_j, "CreateTrigStmt.events", _p?.events); - _o.set(_j, "CreateTrigStmt.columns", _p?.columns); - _o.set(_j, "CreateTrigStmt.whenClause", _p?.whenClause); - _o.set(_j, "CreateTrigStmt.transitionRels", _p?.transitionRels); - _o.set(_j, "CreateTrigStmt.deferrable", _p?.deferrable); - _o.set(_j, "CreateTrigStmt.initdeferred", _p?.initdeferred); - _o.set(_j, "CreateTrigStmt.constrrel", _p?.constrrel); - return _j; - }, - createEventTrigStmt(_p?: CreateEventTrigStmt["CreateEventTrigStmt"]): CreateEventTrigStmt { - const _j = ({ - CreateEventTrigStmt: {} - } as CreateEventTrigStmt); - _o.set(_j, "CreateEventTrigStmt.trigname", _p?.trigname); - _o.set(_j, "CreateEventTrigStmt.eventname", _p?.eventname); - _o.set(_j, "CreateEventTrigStmt.whenclause", _p?.whenclause); - _o.set(_j, "CreateEventTrigStmt.funcname", _p?.funcname); - return _j; - }, - alterEventTrigStmt(_p?: AlterEventTrigStmt["AlterEventTrigStmt"]): AlterEventTrigStmt { - const _j = ({ - AlterEventTrigStmt: {} - } as AlterEventTrigStmt); - _o.set(_j, "AlterEventTrigStmt.trigname", _p?.trigname); - _o.set(_j, "AlterEventTrigStmt.tgenabled", _p?.tgenabled); - return _j; - }, - createpLangStmt(_p?: CreatePLangStmt["CreatePLangStmt"]): CreatePLangStmt { - const _j = ({ - CreatePLangStmt: {} - } as CreatePLangStmt); - _o.set(_j, "CreatePLangStmt.replace", _p?.replace); - _o.set(_j, "CreatePLangStmt.plname", _p?.plname); - _o.set(_j, "CreatePLangStmt.plhandler", _p?.plhandler); - _o.set(_j, "CreatePLangStmt.plinline", _p?.plinline); - _o.set(_j, "CreatePLangStmt.plvalidator", _p?.plvalidator); - _o.set(_j, "CreatePLangStmt.pltrusted", _p?.pltrusted); - return _j; - }, - createRoleStmt(_p?: CreateRoleStmt["CreateRoleStmt"]): CreateRoleStmt { - const _j = ({ - CreateRoleStmt: {} - } as CreateRoleStmt); - _o.set(_j, "CreateRoleStmt.stmt_type", _p?.stmt_type); - _o.set(_j, "CreateRoleStmt.role", _p?.role); - _o.set(_j, "CreateRoleStmt.options", _p?.options); - return _j; - }, - alterRoleStmt(_p?: AlterRoleStmt["AlterRoleStmt"]): AlterRoleStmt { - const _j = ({ - AlterRoleStmt: {} - } as AlterRoleStmt); - _o.set(_j, "AlterRoleStmt.role", _p?.role); - _o.set(_j, "AlterRoleStmt.options", _p?.options); - _o.set(_j, "AlterRoleStmt.action", _p?.action); - return _j; - }, - alterRoleSetStmt(_p?: AlterRoleSetStmt["AlterRoleSetStmt"]): AlterRoleSetStmt { - const _j = ({ - AlterRoleSetStmt: {} - } as AlterRoleSetStmt); - _o.set(_j, "AlterRoleSetStmt.role", _p?.role); - _o.set(_j, "AlterRoleSetStmt.database", _p?.database); - _o.set(_j, "AlterRoleSetStmt.setstmt", _p?.setstmt); - return _j; - }, - dropRoleStmt(_p?: DropRoleStmt["DropRoleStmt"]): DropRoleStmt { - const _j = ({ - DropRoleStmt: {} - } as DropRoleStmt); - _o.set(_j, "DropRoleStmt.roles", _p?.roles); - _o.set(_j, "DropRoleStmt.missing_ok", _p?.missing_ok); - return _j; - }, - createSeqStmt(_p?: CreateSeqStmt["CreateSeqStmt"]): CreateSeqStmt { - const _j = ({ - CreateSeqStmt: {} - } as CreateSeqStmt); - _o.set(_j, "CreateSeqStmt.sequence", _p?.sequence); - _o.set(_j, "CreateSeqStmt.options", _p?.options); - _o.set(_j, "CreateSeqStmt.ownerId", _p?.ownerId); - _o.set(_j, "CreateSeqStmt.for_identity", _p?.for_identity); - _o.set(_j, "CreateSeqStmt.if_not_exists", _p?.if_not_exists); - return _j; - }, - alterSeqStmt(_p?: AlterSeqStmt["AlterSeqStmt"]): AlterSeqStmt { - const _j = ({ - AlterSeqStmt: {} - } as AlterSeqStmt); - _o.set(_j, "AlterSeqStmt.sequence", _p?.sequence); - _o.set(_j, "AlterSeqStmt.options", _p?.options); - _o.set(_j, "AlterSeqStmt.for_identity", _p?.for_identity); - _o.set(_j, "AlterSeqStmt.missing_ok", _p?.missing_ok); - return _j; - }, - defineStmt(_p?: DefineStmt["DefineStmt"]): DefineStmt { - const _j = ({ - DefineStmt: {} - } as DefineStmt); - _o.set(_j, "DefineStmt.kind", _p?.kind); - _o.set(_j, "DefineStmt.oldstyle", _p?.oldstyle); - _o.set(_j, "DefineStmt.defnames", _p?.defnames); - _o.set(_j, "DefineStmt.args", _p?.args); - _o.set(_j, "DefineStmt.definition", _p?.definition); - _o.set(_j, "DefineStmt.if_not_exists", _p?.if_not_exists); - _o.set(_j, "DefineStmt.replace", _p?.replace); - return _j; - }, - createDomainStmt(_p?: CreateDomainStmt["CreateDomainStmt"]): CreateDomainStmt { - const _j = ({ - CreateDomainStmt: {} - } as CreateDomainStmt); - _o.set(_j, "CreateDomainStmt.domainname", _p?.domainname); - _o.set(_j, "CreateDomainStmt.typeName", _p?.typeName); - _o.set(_j, "CreateDomainStmt.collClause", _p?.collClause); - _o.set(_j, "CreateDomainStmt.constraints", _p?.constraints); - return _j; - }, - createOpClassStmt(_p?: CreateOpClassStmt["CreateOpClassStmt"]): CreateOpClassStmt { - const _j = ({ - CreateOpClassStmt: {} - } as CreateOpClassStmt); - _o.set(_j, "CreateOpClassStmt.opclassname", _p?.opclassname); - _o.set(_j, "CreateOpClassStmt.opfamilyname", _p?.opfamilyname); - _o.set(_j, "CreateOpClassStmt.amname", _p?.amname); - _o.set(_j, "CreateOpClassStmt.datatype", _p?.datatype); - _o.set(_j, "CreateOpClassStmt.items", _p?.items); - _o.set(_j, "CreateOpClassStmt.isDefault", _p?.isDefault); - return _j; - }, - createOpClassItem(_p?: CreateOpClassItem["CreateOpClassItem"]): CreateOpClassItem { - const _j = ({ - CreateOpClassItem: {} - } as CreateOpClassItem); - _o.set(_j, "CreateOpClassItem.itemtype", _p?.itemtype); - _o.set(_j, "CreateOpClassItem.name", _p?.name); - _o.set(_j, "CreateOpClassItem.number", _p?.number); - _o.set(_j, "CreateOpClassItem.order_family", _p?.order_family); - _o.set(_j, "CreateOpClassItem.class_args", _p?.class_args); - _o.set(_j, "CreateOpClassItem.storedtype", _p?.storedtype); - return _j; - }, - createOpFamilyStmt(_p?: CreateOpFamilyStmt["CreateOpFamilyStmt"]): CreateOpFamilyStmt { - const _j = ({ - CreateOpFamilyStmt: {} - } as CreateOpFamilyStmt); - _o.set(_j, "CreateOpFamilyStmt.opfamilyname", _p?.opfamilyname); - _o.set(_j, "CreateOpFamilyStmt.amname", _p?.amname); - return _j; - }, - alterOpFamilyStmt(_p?: AlterOpFamilyStmt["AlterOpFamilyStmt"]): AlterOpFamilyStmt { - const _j = ({ - AlterOpFamilyStmt: {} - } as AlterOpFamilyStmt); - _o.set(_j, "AlterOpFamilyStmt.opfamilyname", _p?.opfamilyname); - _o.set(_j, "AlterOpFamilyStmt.amname", _p?.amname); - _o.set(_j, "AlterOpFamilyStmt.isDrop", _p?.isDrop); - _o.set(_j, "AlterOpFamilyStmt.items", _p?.items); - return _j; - }, - dropStmt(_p?: DropStmt["DropStmt"]): DropStmt { - const _j = ({ - DropStmt: {} - } as DropStmt); - _o.set(_j, "DropStmt.objects", _p?.objects); - _o.set(_j, "DropStmt.removeType", _p?.removeType); - _o.set(_j, "DropStmt.behavior", _p?.behavior); - _o.set(_j, "DropStmt.missing_ok", _p?.missing_ok); - _o.set(_j, "DropStmt.concurrent", _p?.concurrent); - return _j; - }, - truncateStmt(_p?: TruncateStmt["TruncateStmt"]): TruncateStmt { - const _j = ({ - TruncateStmt: {} - } as TruncateStmt); - _o.set(_j, "TruncateStmt.relations", _p?.relations); - _o.set(_j, "TruncateStmt.restart_seqs", _p?.restart_seqs); - _o.set(_j, "TruncateStmt.behavior", _p?.behavior); - return _j; - }, - commentStmt(_p?: CommentStmt["CommentStmt"]): CommentStmt { - const _j = ({ - CommentStmt: {} - } as CommentStmt); - _o.set(_j, "CommentStmt.objtype", _p?.objtype); - _o.set(_j, "CommentStmt.object", _p?.object); - _o.set(_j, "CommentStmt.comment", _p?.comment); - return _j; - }, - secLabelStmt(_p?: SecLabelStmt["SecLabelStmt"]): SecLabelStmt { - const _j = ({ - SecLabelStmt: {} - } as SecLabelStmt); - _o.set(_j, "SecLabelStmt.objtype", _p?.objtype); - _o.set(_j, "SecLabelStmt.object", _p?.object); - _o.set(_j, "SecLabelStmt.provider", _p?.provider); - _o.set(_j, "SecLabelStmt.label", _p?.label); - return _j; - }, - declareCursorStmt(_p?: DeclareCursorStmt["DeclareCursorStmt"]): DeclareCursorStmt { - const _j = ({ - DeclareCursorStmt: {} - } as DeclareCursorStmt); - _o.set(_j, "DeclareCursorStmt.portalname", _p?.portalname); - _o.set(_j, "DeclareCursorStmt.options", _p?.options); - _o.set(_j, "DeclareCursorStmt.query", _p?.query); - return _j; - }, - closePortalStmt(_p?: ClosePortalStmt["ClosePortalStmt"]): ClosePortalStmt { - const _j = ({ - ClosePortalStmt: {} - } as ClosePortalStmt); - _o.set(_j, "ClosePortalStmt.portalname", _p?.portalname); - return _j; - }, - fetchStmt(_p?: FetchStmt["FetchStmt"]): FetchStmt { - const _j = ({ - FetchStmt: {} - } as FetchStmt); - _o.set(_j, "FetchStmt.direction", _p?.direction); - _o.set(_j, "FetchStmt.howMany", _p?.howMany); - _o.set(_j, "FetchStmt.portalname", _p?.portalname); - _o.set(_j, "FetchStmt.ismove", _p?.ismove); - return _j; - }, - indexStmt(_p?: IndexStmt["IndexStmt"]): IndexStmt { - const _j = ({ - IndexStmt: {} - } as IndexStmt); - _o.set(_j, "IndexStmt.idxname", _p?.idxname); - _o.set(_j, "IndexStmt.relation", _p?.relation); - _o.set(_j, "IndexStmt.accessMethod", _p?.accessMethod); - _o.set(_j, "IndexStmt.tableSpace", _p?.tableSpace); - _o.set(_j, "IndexStmt.indexParams", _p?.indexParams); - _o.set(_j, "IndexStmt.indexIncludingParams", _p?.indexIncludingParams); - _o.set(_j, "IndexStmt.options", _p?.options); - _o.set(_j, "IndexStmt.whereClause", _p?.whereClause); - _o.set(_j, "IndexStmt.excludeOpNames", _p?.excludeOpNames); - _o.set(_j, "IndexStmt.idxcomment", _p?.idxcomment); - _o.set(_j, "IndexStmt.indexOid", _p?.indexOid); - _o.set(_j, "IndexStmt.oldNumber", _p?.oldNumber); - _o.set(_j, "IndexStmt.oldCreateSubid", _p?.oldCreateSubid); - _o.set(_j, "IndexStmt.oldFirstRelfilelocatorSubid", _p?.oldFirstRelfilelocatorSubid); - _o.set(_j, "IndexStmt.unique", _p?.unique); - _o.set(_j, "IndexStmt.nulls_not_distinct", _p?.nulls_not_distinct); - _o.set(_j, "IndexStmt.primary", _p?.primary); - _o.set(_j, "IndexStmt.isconstraint", _p?.isconstraint); - _o.set(_j, "IndexStmt.deferrable", _p?.deferrable); - _o.set(_j, "IndexStmt.initdeferred", _p?.initdeferred); - _o.set(_j, "IndexStmt.transformed", _p?.transformed); - _o.set(_j, "IndexStmt.concurrent", _p?.concurrent); - _o.set(_j, "IndexStmt.if_not_exists", _p?.if_not_exists); - _o.set(_j, "IndexStmt.reset_default_tblspc", _p?.reset_default_tblspc); - return _j; - }, - createStatsStmt(_p?: CreateStatsStmt["CreateStatsStmt"]): CreateStatsStmt { - const _j = ({ - CreateStatsStmt: {} - } as CreateStatsStmt); - _o.set(_j, "CreateStatsStmt.defnames", _p?.defnames); - _o.set(_j, "CreateStatsStmt.stat_types", _p?.stat_types); - _o.set(_j, "CreateStatsStmt.exprs", _p?.exprs); - _o.set(_j, "CreateStatsStmt.relations", _p?.relations); - _o.set(_j, "CreateStatsStmt.stxcomment", _p?.stxcomment); - _o.set(_j, "CreateStatsStmt.transformed", _p?.transformed); - _o.set(_j, "CreateStatsStmt.if_not_exists", _p?.if_not_exists); - return _j; - }, - statsElem(_p?: StatsElem["StatsElem"]): StatsElem { - const _j = ({ - StatsElem: {} - } as StatsElem); - _o.set(_j, "StatsElem.name", _p?.name); - _o.set(_j, "StatsElem.expr", _p?.expr); - return _j; - }, - alterStatsStmt(_p?: AlterStatsStmt["AlterStatsStmt"]): AlterStatsStmt { - const _j = ({ - AlterStatsStmt: {} - } as AlterStatsStmt); - _o.set(_j, "AlterStatsStmt.defnames", _p?.defnames); - _o.set(_j, "AlterStatsStmt.stxstattarget", _p?.stxstattarget); - _o.set(_j, "AlterStatsStmt.missing_ok", _p?.missing_ok); - return _j; - }, - createFunctionStmt(_p?: CreateFunctionStmt["CreateFunctionStmt"]): CreateFunctionStmt { - const _j = ({ - CreateFunctionStmt: {} - } as CreateFunctionStmt); - _o.set(_j, "CreateFunctionStmt.is_procedure", _p?.is_procedure); - _o.set(_j, "CreateFunctionStmt.replace", _p?.replace); - _o.set(_j, "CreateFunctionStmt.funcname", _p?.funcname); - _o.set(_j, "CreateFunctionStmt.parameters", _p?.parameters); - _o.set(_j, "CreateFunctionStmt.returnType", _p?.returnType); - _o.set(_j, "CreateFunctionStmt.options", _p?.options); - _o.set(_j, "CreateFunctionStmt.sql_body", _p?.sql_body); - return _j; - }, - functionParameter(_p?: FunctionParameter["FunctionParameter"]): FunctionParameter { - const _j = ({ - FunctionParameter: {} - } as FunctionParameter); - _o.set(_j, "FunctionParameter.name", _p?.name); - _o.set(_j, "FunctionParameter.argType", _p?.argType); - _o.set(_j, "FunctionParameter.mode", _p?.mode); - _o.set(_j, "FunctionParameter.defexpr", _p?.defexpr); - return _j; - }, - alterFunctionStmt(_p?: AlterFunctionStmt["AlterFunctionStmt"]): AlterFunctionStmt { - const _j = ({ - AlterFunctionStmt: {} - } as AlterFunctionStmt); - _o.set(_j, "AlterFunctionStmt.objtype", _p?.objtype); - _o.set(_j, "AlterFunctionStmt.func", _p?.func); - _o.set(_j, "AlterFunctionStmt.actions", _p?.actions); - return _j; - }, - doStmt(_p?: DoStmt["DoStmt"]): DoStmt { - const _j = ({ - DoStmt: {} - } as DoStmt); - _o.set(_j, "DoStmt.args", _p?.args); - return _j; - }, - inlineCodeBlock(_p?: InlineCodeBlock["InlineCodeBlock"]): InlineCodeBlock { - const _j = ({ - InlineCodeBlock: {} - } as InlineCodeBlock); - _o.set(_j, "InlineCodeBlock.source_text", _p?.source_text); - _o.set(_j, "InlineCodeBlock.langOid", _p?.langOid); - _o.set(_j, "InlineCodeBlock.langIsTrusted", _p?.langIsTrusted); - _o.set(_j, "InlineCodeBlock.atomic", _p?.atomic); - return _j; - }, - callStmt(_p?: CallStmt["CallStmt"]): CallStmt { - const _j = ({ - CallStmt: {} - } as CallStmt); - _o.set(_j, "CallStmt.funccall", _p?.funccall); - _o.set(_j, "CallStmt.funcexpr", _p?.funcexpr); - _o.set(_j, "CallStmt.outargs", _p?.outargs); - return _j; - }, - callContext(_p?: CallContext["CallContext"]): CallContext { - const _j = ({ - CallContext: {} - } as CallContext); - _o.set(_j, "CallContext.atomic", _p?.atomic); - return _j; - }, - renameStmt(_p?: RenameStmt["RenameStmt"]): RenameStmt { - const _j = ({ - RenameStmt: {} - } as RenameStmt); - _o.set(_j, "RenameStmt.renameType", _p?.renameType); - _o.set(_j, "RenameStmt.relationType", _p?.relationType); - _o.set(_j, "RenameStmt.relation", _p?.relation); - _o.set(_j, "RenameStmt.object", _p?.object); - _o.set(_j, "RenameStmt.subname", _p?.subname); - _o.set(_j, "RenameStmt.newname", _p?.newname); - _o.set(_j, "RenameStmt.behavior", _p?.behavior); - _o.set(_j, "RenameStmt.missing_ok", _p?.missing_ok); - return _j; - }, - alterObjectDependsStmt(_p?: AlterObjectDependsStmt["AlterObjectDependsStmt"]): AlterObjectDependsStmt { - const _j = ({ - AlterObjectDependsStmt: {} - } as AlterObjectDependsStmt); - _o.set(_j, "AlterObjectDependsStmt.objectType", _p?.objectType); - _o.set(_j, "AlterObjectDependsStmt.relation", _p?.relation); - _o.set(_j, "AlterObjectDependsStmt.object", _p?.object); - _o.set(_j, "AlterObjectDependsStmt.extname", _p?.extname); - _o.set(_j, "AlterObjectDependsStmt.remove", _p?.remove); - return _j; - }, - alterObjectSchemaStmt(_p?: AlterObjectSchemaStmt["AlterObjectSchemaStmt"]): AlterObjectSchemaStmt { - const _j = ({ - AlterObjectSchemaStmt: {} - } as AlterObjectSchemaStmt); - _o.set(_j, "AlterObjectSchemaStmt.objectType", _p?.objectType); - _o.set(_j, "AlterObjectSchemaStmt.relation", _p?.relation); - _o.set(_j, "AlterObjectSchemaStmt.object", _p?.object); - _o.set(_j, "AlterObjectSchemaStmt.newschema", _p?.newschema); - _o.set(_j, "AlterObjectSchemaStmt.missing_ok", _p?.missing_ok); - return _j; - }, - alterOwnerStmt(_p?: AlterOwnerStmt["AlterOwnerStmt"]): AlterOwnerStmt { - const _j = ({ - AlterOwnerStmt: {} - } as AlterOwnerStmt); - _o.set(_j, "AlterOwnerStmt.objectType", _p?.objectType); - _o.set(_j, "AlterOwnerStmt.relation", _p?.relation); - _o.set(_j, "AlterOwnerStmt.object", _p?.object); - _o.set(_j, "AlterOwnerStmt.newowner", _p?.newowner); - return _j; - }, - alterOperatorStmt(_p?: AlterOperatorStmt["AlterOperatorStmt"]): AlterOperatorStmt { - const _j = ({ - AlterOperatorStmt: {} - } as AlterOperatorStmt); - _o.set(_j, "AlterOperatorStmt.opername", _p?.opername); - _o.set(_j, "AlterOperatorStmt.options", _p?.options); - return _j; - }, - alterTypeStmt(_p?: AlterTypeStmt["AlterTypeStmt"]): AlterTypeStmt { - const _j = ({ - AlterTypeStmt: {} - } as AlterTypeStmt); - _o.set(_j, "AlterTypeStmt.typeName", _p?.typeName); - _o.set(_j, "AlterTypeStmt.options", _p?.options); - return _j; - }, - ruleStmt(_p?: RuleStmt["RuleStmt"]): RuleStmt { - const _j = ({ - RuleStmt: {} - } as RuleStmt); - _o.set(_j, "RuleStmt.relation", _p?.relation); - _o.set(_j, "RuleStmt.rulename", _p?.rulename); - _o.set(_j, "RuleStmt.whereClause", _p?.whereClause); - _o.set(_j, "RuleStmt.event", _p?.event); - _o.set(_j, "RuleStmt.instead", _p?.instead); - _o.set(_j, "RuleStmt.actions", _p?.actions); - _o.set(_j, "RuleStmt.replace", _p?.replace); - return _j; - }, - notifyStmt(_p?: NotifyStmt["NotifyStmt"]): NotifyStmt { - const _j = ({ - NotifyStmt: {} - } as NotifyStmt); - _o.set(_j, "NotifyStmt.conditionname", _p?.conditionname); - _o.set(_j, "NotifyStmt.payload", _p?.payload); - return _j; - }, - listenStmt(_p?: ListenStmt["ListenStmt"]): ListenStmt { - const _j = ({ - ListenStmt: {} - } as ListenStmt); - _o.set(_j, "ListenStmt.conditionname", _p?.conditionname); - return _j; - }, - unlistenStmt(_p?: UnlistenStmt["UnlistenStmt"]): UnlistenStmt { - const _j = ({ - UnlistenStmt: {} - } as UnlistenStmt); - _o.set(_j, "UnlistenStmt.conditionname", _p?.conditionname); - return _j; - }, - transactionStmt(_p?: TransactionStmt["TransactionStmt"]): TransactionStmt { - const _j = ({ - TransactionStmt: {} - } as TransactionStmt); - _o.set(_j, "TransactionStmt.kind", _p?.kind); - _o.set(_j, "TransactionStmt.options", _p?.options); - _o.set(_j, "TransactionStmt.savepoint_name", _p?.savepoint_name); - _o.set(_j, "TransactionStmt.gid", _p?.gid); - _o.set(_j, "TransactionStmt.chain", _p?.chain); - return _j; - }, - compositeTypeStmt(_p?: CompositeTypeStmt["CompositeTypeStmt"]): CompositeTypeStmt { - const _j = ({ - CompositeTypeStmt: {} - } as CompositeTypeStmt); - _o.set(_j, "CompositeTypeStmt.typevar", _p?.typevar); - _o.set(_j, "CompositeTypeStmt.coldeflist", _p?.coldeflist); - return _j; - }, - createEnumStmt(_p?: CreateEnumStmt["CreateEnumStmt"]): CreateEnumStmt { - const _j = ({ - CreateEnumStmt: {} - } as CreateEnumStmt); - _o.set(_j, "CreateEnumStmt.typeName", _p?.typeName); - _o.set(_j, "CreateEnumStmt.vals", _p?.vals); - return _j; - }, - createRangeStmt(_p?: CreateRangeStmt["CreateRangeStmt"]): CreateRangeStmt { - const _j = ({ - CreateRangeStmt: {} - } as CreateRangeStmt); - _o.set(_j, "CreateRangeStmt.typeName", _p?.typeName); - _o.set(_j, "CreateRangeStmt.params", _p?.params); - return _j; - }, - alterEnumStmt(_p?: AlterEnumStmt["AlterEnumStmt"]): AlterEnumStmt { - const _j = ({ - AlterEnumStmt: {} - } as AlterEnumStmt); - _o.set(_j, "AlterEnumStmt.typeName", _p?.typeName); - _o.set(_j, "AlterEnumStmt.oldVal", _p?.oldVal); - _o.set(_j, "AlterEnumStmt.newVal", _p?.newVal); - _o.set(_j, "AlterEnumStmt.newValNeighbor", _p?.newValNeighbor); - _o.set(_j, "AlterEnumStmt.newValIsAfter", _p?.newValIsAfter); - _o.set(_j, "AlterEnumStmt.skipIfNewValExists", _p?.skipIfNewValExists); - return _j; - }, - viewStmt(_p?: ViewStmt["ViewStmt"]): ViewStmt { - const _j = ({ - ViewStmt: {} - } as ViewStmt); - _o.set(_j, "ViewStmt.view", _p?.view); - _o.set(_j, "ViewStmt.aliases", _p?.aliases); - _o.set(_j, "ViewStmt.query", _p?.query); - _o.set(_j, "ViewStmt.replace", _p?.replace); - _o.set(_j, "ViewStmt.options", _p?.options); - _o.set(_j, "ViewStmt.withCheckOption", _p?.withCheckOption); - return _j; - }, - loadStmt(_p?: LoadStmt["LoadStmt"]): LoadStmt { - const _j = ({ - LoadStmt: {} - } as LoadStmt); - _o.set(_j, "LoadStmt.filename", _p?.filename); - return _j; - }, - createdbStmt(_p?: CreatedbStmt["CreatedbStmt"]): CreatedbStmt { - const _j = ({ - CreatedbStmt: {} - } as CreatedbStmt); - _o.set(_j, "CreatedbStmt.dbname", _p?.dbname); - _o.set(_j, "CreatedbStmt.options", _p?.options); - return _j; - }, - alterDatabaseStmt(_p?: AlterDatabaseStmt["AlterDatabaseStmt"]): AlterDatabaseStmt { - const _j = ({ - AlterDatabaseStmt: {} - } as AlterDatabaseStmt); - _o.set(_j, "AlterDatabaseStmt.dbname", _p?.dbname); - _o.set(_j, "AlterDatabaseStmt.options", _p?.options); - return _j; - }, - alterDatabaseRefreshCollStmt(_p?: AlterDatabaseRefreshCollStmt["AlterDatabaseRefreshCollStmt"]): AlterDatabaseRefreshCollStmt { - const _j = ({ - AlterDatabaseRefreshCollStmt: {} - } as AlterDatabaseRefreshCollStmt); - _o.set(_j, "AlterDatabaseRefreshCollStmt.dbname", _p?.dbname); - return _j; - }, - alterDatabaseSetStmt(_p?: AlterDatabaseSetStmt["AlterDatabaseSetStmt"]): AlterDatabaseSetStmt { - const _j = ({ - AlterDatabaseSetStmt: {} - } as AlterDatabaseSetStmt); - _o.set(_j, "AlterDatabaseSetStmt.dbname", _p?.dbname); - _o.set(_j, "AlterDatabaseSetStmt.setstmt", _p?.setstmt); - return _j; - }, - dropdbStmt(_p?: DropdbStmt["DropdbStmt"]): DropdbStmt { - const _j = ({ - DropdbStmt: {} - } as DropdbStmt); - _o.set(_j, "DropdbStmt.dbname", _p?.dbname); - _o.set(_j, "DropdbStmt.missing_ok", _p?.missing_ok); - _o.set(_j, "DropdbStmt.options", _p?.options); - return _j; - }, - alterSystemStmt(_p?: AlterSystemStmt["AlterSystemStmt"]): AlterSystemStmt { - const _j = ({ - AlterSystemStmt: {} - } as AlterSystemStmt); - _o.set(_j, "AlterSystemStmt.setstmt", _p?.setstmt); - return _j; - }, - clusterStmt(_p?: ClusterStmt["ClusterStmt"]): ClusterStmt { - const _j = ({ - ClusterStmt: {} - } as ClusterStmt); - _o.set(_j, "ClusterStmt.relation", _p?.relation); - _o.set(_j, "ClusterStmt.indexname", _p?.indexname); - _o.set(_j, "ClusterStmt.params", _p?.params); - return _j; - }, - vacuumStmt(_p?: VacuumStmt["VacuumStmt"]): VacuumStmt { - const _j = ({ - VacuumStmt: {} - } as VacuumStmt); - _o.set(_j, "VacuumStmt.options", _p?.options); - _o.set(_j, "VacuumStmt.rels", _p?.rels); - _o.set(_j, "VacuumStmt.is_vacuumcmd", _p?.is_vacuumcmd); - return _j; - }, - vacuumRelation(_p?: VacuumRelation["VacuumRelation"]): VacuumRelation { - const _j = ({ - VacuumRelation: {} - } as VacuumRelation); - _o.set(_j, "VacuumRelation.relation", _p?.relation); - _o.set(_j, "VacuumRelation.oid", _p?.oid); - _o.set(_j, "VacuumRelation.va_cols", _p?.va_cols); - return _j; - }, - explainStmt(_p?: ExplainStmt["ExplainStmt"]): ExplainStmt { - const _j = ({ - ExplainStmt: {} - } as ExplainStmt); - _o.set(_j, "ExplainStmt.query", _p?.query); - _o.set(_j, "ExplainStmt.options", _p?.options); - return _j; - }, - createTableAsStmt(_p?: CreateTableAsStmt["CreateTableAsStmt"]): CreateTableAsStmt { - const _j = ({ - CreateTableAsStmt: {} - } as CreateTableAsStmt); - _o.set(_j, "CreateTableAsStmt.query", _p?.query); - _o.set(_j, "CreateTableAsStmt.into", _p?.into); - _o.set(_j, "CreateTableAsStmt.objtype", _p?.objtype); - _o.set(_j, "CreateTableAsStmt.is_select_into", _p?.is_select_into); - _o.set(_j, "CreateTableAsStmt.if_not_exists", _p?.if_not_exists); - return _j; - }, - refreshMatViewStmt(_p?: RefreshMatViewStmt["RefreshMatViewStmt"]): RefreshMatViewStmt { - const _j = ({ - RefreshMatViewStmt: {} - } as RefreshMatViewStmt); - _o.set(_j, "RefreshMatViewStmt.concurrent", _p?.concurrent); - _o.set(_j, "RefreshMatViewStmt.skipData", _p?.skipData); - _o.set(_j, "RefreshMatViewStmt.relation", _p?.relation); - return _j; - }, - checkPointStmt(_p?: CheckPointStmt["CheckPointStmt"]): CheckPointStmt { - const _j = ({ - CheckPointStmt: {} - } as CheckPointStmt); - return _j; - }, - discardStmt(_p?: DiscardStmt["DiscardStmt"]): DiscardStmt { - const _j = ({ - DiscardStmt: {} - } as DiscardStmt); - _o.set(_j, "DiscardStmt.target", _p?.target); - return _j; - }, - lockStmt(_p?: LockStmt["LockStmt"]): LockStmt { - const _j = ({ - LockStmt: {} - } as LockStmt); - _o.set(_j, "LockStmt.relations", _p?.relations); - _o.set(_j, "LockStmt.mode", _p?.mode); - _o.set(_j, "LockStmt.nowait", _p?.nowait); - return _j; - }, - constraintsSetStmt(_p?: ConstraintsSetStmt["ConstraintsSetStmt"]): ConstraintsSetStmt { - const _j = ({ - ConstraintsSetStmt: {} - } as ConstraintsSetStmt); - _o.set(_j, "ConstraintsSetStmt.constraints", _p?.constraints); - _o.set(_j, "ConstraintsSetStmt.deferred", _p?.deferred); - return _j; - }, - reindexStmt(_p?: ReindexStmt["ReindexStmt"]): ReindexStmt { - const _j = ({ - ReindexStmt: {} - } as ReindexStmt); - _o.set(_j, "ReindexStmt.kind", _p?.kind); - _o.set(_j, "ReindexStmt.relation", _p?.relation); - _o.set(_j, "ReindexStmt.name", _p?.name); - _o.set(_j, "ReindexStmt.params", _p?.params); - return _j; - }, - createConversionStmt(_p?: CreateConversionStmt["CreateConversionStmt"]): CreateConversionStmt { - const _j = ({ - CreateConversionStmt: {} - } as CreateConversionStmt); - _o.set(_j, "CreateConversionStmt.conversion_name", _p?.conversion_name); - _o.set(_j, "CreateConversionStmt.for_encoding_name", _p?.for_encoding_name); - _o.set(_j, "CreateConversionStmt.to_encoding_name", _p?.to_encoding_name); - _o.set(_j, "CreateConversionStmt.func_name", _p?.func_name); - _o.set(_j, "CreateConversionStmt.def", _p?.def); - return _j; - }, - createCastStmt(_p?: CreateCastStmt["CreateCastStmt"]): CreateCastStmt { - const _j = ({ - CreateCastStmt: {} - } as CreateCastStmt); - _o.set(_j, "CreateCastStmt.sourcetype", _p?.sourcetype); - _o.set(_j, "CreateCastStmt.targettype", _p?.targettype); - _o.set(_j, "CreateCastStmt.func", _p?.func); - _o.set(_j, "CreateCastStmt.context", _p?.context); - _o.set(_j, "CreateCastStmt.inout", _p?.inout); - return _j; - }, - createTransformStmt(_p?: CreateTransformStmt["CreateTransformStmt"]): CreateTransformStmt { - const _j = ({ - CreateTransformStmt: {} - } as CreateTransformStmt); - _o.set(_j, "CreateTransformStmt.replace", _p?.replace); - _o.set(_j, "CreateTransformStmt.type_name", _p?.type_name); - _o.set(_j, "CreateTransformStmt.lang", _p?.lang); - _o.set(_j, "CreateTransformStmt.fromsql", _p?.fromsql); - _o.set(_j, "CreateTransformStmt.tosql", _p?.tosql); - return _j; - }, - prepareStmt(_p?: PrepareStmt["PrepareStmt"]): PrepareStmt { - const _j = ({ - PrepareStmt: {} - } as PrepareStmt); - _o.set(_j, "PrepareStmt.name", _p?.name); - _o.set(_j, "PrepareStmt.argtypes", _p?.argtypes); - _o.set(_j, "PrepareStmt.query", _p?.query); - return _j; - }, - executeStmt(_p?: ExecuteStmt["ExecuteStmt"]): ExecuteStmt { - const _j = ({ - ExecuteStmt: {} - } as ExecuteStmt); - _o.set(_j, "ExecuteStmt.name", _p?.name); - _o.set(_j, "ExecuteStmt.params", _p?.params); - return _j; - }, - deallocateStmt(_p?: DeallocateStmt["DeallocateStmt"]): DeallocateStmt { - const _j = ({ - DeallocateStmt: {} - } as DeallocateStmt); - _o.set(_j, "DeallocateStmt.name", _p?.name); - return _j; - }, - dropOwnedStmt(_p?: DropOwnedStmt["DropOwnedStmt"]): DropOwnedStmt { - const _j = ({ - DropOwnedStmt: {} - } as DropOwnedStmt); - _o.set(_j, "DropOwnedStmt.roles", _p?.roles); - _o.set(_j, "DropOwnedStmt.behavior", _p?.behavior); - return _j; - }, - reassignOwnedStmt(_p?: ReassignOwnedStmt["ReassignOwnedStmt"]): ReassignOwnedStmt { - const _j = ({ - ReassignOwnedStmt: {} - } as ReassignOwnedStmt); - _o.set(_j, "ReassignOwnedStmt.roles", _p?.roles); - _o.set(_j, "ReassignOwnedStmt.newrole", _p?.newrole); - return _j; - }, - altertsDictionaryStmt(_p?: AlterTSDictionaryStmt["AlterTSDictionaryStmt"]): AlterTSDictionaryStmt { - const _j = ({ - AlterTSDictionaryStmt: {} - } as AlterTSDictionaryStmt); - _o.set(_j, "AlterTSDictionaryStmt.dictname", _p?.dictname); - _o.set(_j, "AlterTSDictionaryStmt.options", _p?.options); - return _j; - }, - altertsConfigurationStmt(_p?: AlterTSConfigurationStmt["AlterTSConfigurationStmt"]): AlterTSConfigurationStmt { - const _j = ({ - AlterTSConfigurationStmt: {} - } as AlterTSConfigurationStmt); - _o.set(_j, "AlterTSConfigurationStmt.kind", _p?.kind); - _o.set(_j, "AlterTSConfigurationStmt.cfgname", _p?.cfgname); - _o.set(_j, "AlterTSConfigurationStmt.tokentype", _p?.tokentype); - _o.set(_j, "AlterTSConfigurationStmt.dicts", _p?.dicts); - _o.set(_j, "AlterTSConfigurationStmt.override", _p?.override); - _o.set(_j, "AlterTSConfigurationStmt.replace", _p?.replace); - _o.set(_j, "AlterTSConfigurationStmt.missing_ok", _p?.missing_ok); - return _j; - }, - publicationTable(_p?: PublicationTable["PublicationTable"]): PublicationTable { - const _j = ({ - PublicationTable: {} - } as PublicationTable); - _o.set(_j, "PublicationTable.relation", _p?.relation); - _o.set(_j, "PublicationTable.whereClause", _p?.whereClause); - _o.set(_j, "PublicationTable.columns", _p?.columns); - return _j; - }, - publicationObjSpec(_p?: PublicationObjSpec["PublicationObjSpec"]): PublicationObjSpec { - const _j = ({ - PublicationObjSpec: {} - } as PublicationObjSpec); - _o.set(_j, "PublicationObjSpec.pubobjtype", _p?.pubobjtype); - _o.set(_j, "PublicationObjSpec.name", _p?.name); - _o.set(_j, "PublicationObjSpec.pubtable", _p?.pubtable); - _o.set(_j, "PublicationObjSpec.location", _p?.location); - return _j; - }, - createPublicationStmt(_p?: CreatePublicationStmt["CreatePublicationStmt"]): CreatePublicationStmt { - const _j = ({ - CreatePublicationStmt: {} - } as CreatePublicationStmt); - _o.set(_j, "CreatePublicationStmt.pubname", _p?.pubname); - _o.set(_j, "CreatePublicationStmt.options", _p?.options); - _o.set(_j, "CreatePublicationStmt.pubobjects", _p?.pubobjects); - _o.set(_j, "CreatePublicationStmt.for_all_tables", _p?.for_all_tables); - return _j; - }, - alterPublicationStmt(_p?: AlterPublicationStmt["AlterPublicationStmt"]): AlterPublicationStmt { - const _j = ({ - AlterPublicationStmt: {} - } as AlterPublicationStmt); - _o.set(_j, "AlterPublicationStmt.pubname", _p?.pubname); - _o.set(_j, "AlterPublicationStmt.options", _p?.options); - _o.set(_j, "AlterPublicationStmt.pubobjects", _p?.pubobjects); - _o.set(_j, "AlterPublicationStmt.for_all_tables", _p?.for_all_tables); - _o.set(_j, "AlterPublicationStmt.action", _p?.action); - return _j; - }, - createSubscriptionStmt(_p?: CreateSubscriptionStmt["CreateSubscriptionStmt"]): CreateSubscriptionStmt { - const _j = ({ - CreateSubscriptionStmt: {} - } as CreateSubscriptionStmt); - _o.set(_j, "CreateSubscriptionStmt.subname", _p?.subname); - _o.set(_j, "CreateSubscriptionStmt.conninfo", _p?.conninfo); - _o.set(_j, "CreateSubscriptionStmt.publication", _p?.publication); - _o.set(_j, "CreateSubscriptionStmt.options", _p?.options); - return _j; - }, - alterSubscriptionStmt(_p?: AlterSubscriptionStmt["AlterSubscriptionStmt"]): AlterSubscriptionStmt { - const _j = ({ - AlterSubscriptionStmt: {} - } as AlterSubscriptionStmt); - _o.set(_j, "AlterSubscriptionStmt.kind", _p?.kind); - _o.set(_j, "AlterSubscriptionStmt.subname", _p?.subname); - _o.set(_j, "AlterSubscriptionStmt.conninfo", _p?.conninfo); - _o.set(_j, "AlterSubscriptionStmt.publication", _p?.publication); - _o.set(_j, "AlterSubscriptionStmt.options", _p?.options); - return _j; - }, - dropSubscriptionStmt(_p?: DropSubscriptionStmt["DropSubscriptionStmt"]): DropSubscriptionStmt { - const _j = ({ - DropSubscriptionStmt: {} - } as DropSubscriptionStmt); - _o.set(_j, "DropSubscriptionStmt.subname", _p?.subname); - _o.set(_j, "DropSubscriptionStmt.missing_ok", _p?.missing_ok); - _o.set(_j, "DropSubscriptionStmt.behavior", _p?.behavior); - return _j; - }, - scanToken(_p?: ScanToken["ScanToken"]): ScanToken { - const _j = ({ - ScanToken: {} - } as ScanToken); - _o.set(_j, "ScanToken.start", _p?.start); - _o.set(_j, "ScanToken.end", _p?.end); - _o.set(_j, "ScanToken.token", _p?.token); - _o.set(_j, "ScanToken.keywordKind", _p?.keywordKind); + columnRef(_p?: ColumnRef): ColumnRef { + const _j = ({} as ColumnRef); + _o.set(_j, "fields", _p?.fields); + _o.set(_j, "location", _p?.location); + return _j; + }, + paramRef(_p?: ParamRef): ParamRef { + const _j = ({} as ParamRef); + _o.set(_j, "number", _p?.number); + _o.set(_j, "location", _p?.location); + return _j; + }, + aExpr(_p?: A_Expr): A_Expr { + const _j = ({} as A_Expr); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "name", _p?.name); + _o.set(_j, "lexpr", _p?.lexpr); + _o.set(_j, "rexpr", _p?.rexpr); + _o.set(_j, "location", _p?.location); + return _j; + }, + typeCast(_p?: TypeCast): TypeCast { + const _j = ({} as TypeCast); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "location", _p?.location); + return _j; + }, + collateClause(_p?: CollateClause): CollateClause { + const _j = ({} as CollateClause); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "collname", _p?.collname); + _o.set(_j, "location", _p?.location); + return _j; + }, + roleSpec(_p?: RoleSpec): RoleSpec { + const _j = ({} as RoleSpec); + _o.set(_j, "roletype", _p?.roletype); + _o.set(_j, "rolename", _p?.rolename); + _o.set(_j, "location", _p?.location); + return _j; + }, + funcCall(_p?: FuncCall): FuncCall { + const _j = ({} as FuncCall); + _o.set(_j, "funcname", _p?.funcname); + _o.set(_j, "args", _p?.args); + _o.set(_j, "agg_order", _p?.agg_order); + _o.set(_j, "agg_filter", _p?.agg_filter); + _o.set(_j, "over", _p?.over); + _o.set(_j, "agg_within_group", _p?.agg_within_group); + _o.set(_j, "agg_star", _p?.agg_star); + _o.set(_j, "agg_distinct", _p?.agg_distinct); + _o.set(_j, "func_variadic", _p?.func_variadic); + _o.set(_j, "funcformat", _p?.funcformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + aStar(_p?: A_Star): A_Star { + const _j = ({} as A_Star); + return _j; + }, + aIndices(_p?: A_Indices): A_Indices { + const _j = ({} as A_Indices); + _o.set(_j, "is_slice", _p?.is_slice); + _o.set(_j, "lidx", _p?.lidx); + _o.set(_j, "uidx", _p?.uidx); + return _j; + }, + aIndirection(_p?: A_Indirection): A_Indirection { + const _j = ({} as A_Indirection); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "indirection", _p?.indirection); + return _j; + }, + aArrayExpr(_p?: A_ArrayExpr): A_ArrayExpr { + const _j = ({} as A_ArrayExpr); + _o.set(_j, "elements", _p?.elements); + _o.set(_j, "location", _p?.location); + return _j; + }, + resTarget(_p?: ResTarget): ResTarget { + const _j = ({} as ResTarget); + _o.set(_j, "name", _p?.name); + _o.set(_j, "indirection", _p?.indirection); + _o.set(_j, "val", _p?.val); + _o.set(_j, "location", _p?.location); + return _j; + }, + multiAssignRef(_p?: MultiAssignRef): MultiAssignRef { + const _j = ({} as MultiAssignRef); + _o.set(_j, "source", _p?.source); + _o.set(_j, "colno", _p?.colno); + _o.set(_j, "ncolumns", _p?.ncolumns); + return _j; + }, + sortBy(_p?: SortBy): SortBy { + const _j = ({} as SortBy); + _o.set(_j, "node", _p?.node); + _o.set(_j, "sortby_dir", _p?.sortby_dir); + _o.set(_j, "sortby_nulls", _p?.sortby_nulls); + _o.set(_j, "useOp", _p?.useOp); + _o.set(_j, "location", _p?.location); + return _j; + }, + windowDef(_p?: WindowDef): WindowDef { + const _j = ({} as WindowDef); + _o.set(_j, "name", _p?.name); + _o.set(_j, "refname", _p?.refname); + _o.set(_j, "partitionClause", _p?.partitionClause); + _o.set(_j, "orderClause", _p?.orderClause); + _o.set(_j, "frameOptions", _p?.frameOptions); + _o.set(_j, "startOffset", _p?.startOffset); + _o.set(_j, "endOffset", _p?.endOffset); + _o.set(_j, "location", _p?.location); + return _j; + }, + rangeSubselect(_p?: RangeSubselect): RangeSubselect { + const _j = ({} as RangeSubselect); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "subquery", _p?.subquery); + _o.set(_j, "alias", _p?.alias); + return _j; + }, + rangeFunction(_p?: RangeFunction): RangeFunction { + const _j = ({} as RangeFunction); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "ordinality", _p?.ordinality); + _o.set(_j, "is_rowsfrom", _p?.is_rowsfrom); + _o.set(_j, "functions", _p?.functions); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "coldeflist", _p?.coldeflist); + return _j; + }, + rangeTableFunc(_p?: RangeTableFunc): RangeTableFunc { + const _j = ({} as RangeTableFunc); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "docexpr", _p?.docexpr); + _o.set(_j, "rowexpr", _p?.rowexpr); + _o.set(_j, "namespaces", _p?.namespaces); + _o.set(_j, "columns", _p?.columns); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "location", _p?.location); + return _j; + }, + rangeTableFuncCol(_p?: RangeTableFuncCol): RangeTableFuncCol { + const _j = ({} as RangeTableFuncCol); + _o.set(_j, "colname", _p?.colname); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "for_ordinality", _p?.for_ordinality); + _o.set(_j, "is_not_null", _p?.is_not_null); + _o.set(_j, "colexpr", _p?.colexpr); + _o.set(_j, "coldefexpr", _p?.coldefexpr); + _o.set(_j, "location", _p?.location); + return _j; + }, + rangeTableSample(_p?: RangeTableSample): RangeTableSample { + const _j = ({} as RangeTableSample); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "method", _p?.method); + _o.set(_j, "args", _p?.args); + _o.set(_j, "repeatable", _p?.repeatable); + _o.set(_j, "location", _p?.location); + return _j; + }, + columnDef(_p?: ColumnDef): ColumnDef { + const _j = ({} as ColumnDef); + _o.set(_j, "colname", _p?.colname); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "compression", _p?.compression); + _o.set(_j, "inhcount", _p?.inhcount); + _o.set(_j, "is_local", _p?.is_local); + _o.set(_j, "is_not_null", _p?.is_not_null); + _o.set(_j, "is_from_type", _p?.is_from_type); + _o.set(_j, "storage", _p?.storage); + _o.set(_j, "storage_name", _p?.storage_name); + _o.set(_j, "raw_default", _p?.raw_default); + _o.set(_j, "cooked_default", _p?.cooked_default); + _o.set(_j, "identity", _p?.identity); + _o.set(_j, "identitySequence", _p?.identitySequence); + _o.set(_j, "generated", _p?.generated); + _o.set(_j, "collClause", _p?.collClause); + _o.set(_j, "collOid", _p?.collOid); + _o.set(_j, "constraints", _p?.constraints); + _o.set(_j, "fdwoptions", _p?.fdwoptions); + _o.set(_j, "location", _p?.location); + return _j; + }, + tableLikeClause(_p?: TableLikeClause): TableLikeClause { + const _j = ({} as TableLikeClause); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "options", _p?.options); + _o.set(_j, "relationOid", _p?.relationOid); + return _j; + }, + indexElem(_p?: IndexElem): IndexElem { + const _j = ({} as IndexElem); + _o.set(_j, "name", _p?.name); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "indexcolname", _p?.indexcolname); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "opclass", _p?.opclass); + _o.set(_j, "opclassopts", _p?.opclassopts); + _o.set(_j, "ordering", _p?.ordering); + _o.set(_j, "nulls_ordering", _p?.nulls_ordering); + return _j; + }, + defElem(_p?: DefElem): DefElem { + const _j = ({} as DefElem); + _o.set(_j, "defnamespace", _p?.defnamespace); + _o.set(_j, "defname", _p?.defname); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "defaction", _p?.defaction); + _o.set(_j, "location", _p?.location); + return _j; + }, + lockingClause(_p?: LockingClause): LockingClause { + const _j = ({} as LockingClause); + _o.set(_j, "lockedRels", _p?.lockedRels); + _o.set(_j, "strength", _p?.strength); + _o.set(_j, "waitPolicy", _p?.waitPolicy); + return _j; + }, + xmlSerialize(_p?: XmlSerialize): XmlSerialize { + const _j = ({} as XmlSerialize); + _o.set(_j, "xmloption", _p?.xmloption); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "indent", _p?.indent); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionElem(_p?: PartitionElem): PartitionElem { + const _j = ({} as PartitionElem); + _o.set(_j, "name", _p?.name); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "opclass", _p?.opclass); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionSpec(_p?: PartitionSpec): PartitionSpec { + const _j = ({} as PartitionSpec); + _o.set(_j, "strategy", _p?.strategy); + _o.set(_j, "partParams", _p?.partParams); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionBoundSpec(_p?: PartitionBoundSpec): PartitionBoundSpec { + const _j = ({} as PartitionBoundSpec); + _o.set(_j, "strategy", _p?.strategy); + _o.set(_j, "is_default", _p?.is_default); + _o.set(_j, "modulus", _p?.modulus); + _o.set(_j, "remainder", _p?.remainder); + _o.set(_j, "listdatums", _p?.listdatums); + _o.set(_j, "lowerdatums", _p?.lowerdatums); + _o.set(_j, "upperdatums", _p?.upperdatums); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionRangeDatum(_p?: PartitionRangeDatum): PartitionRangeDatum { + const _j = ({} as PartitionRangeDatum); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "value", _p?.value); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionCmd(_p?: PartitionCmd): PartitionCmd { + const _j = ({} as PartitionCmd); + _o.set(_j, "name", _p?.name); + _o.set(_j, "bound", _p?.bound); + _o.set(_j, "concurrent", _p?.concurrent); + return _j; + }, + rangeTblEntry(_p?: RangeTblEntry): RangeTblEntry { + const _j = ({} as RangeTblEntry); + _o.set(_j, "rtekind", _p?.rtekind); + _o.set(_j, "relid", _p?.relid); + _o.set(_j, "relkind", _p?.relkind); + _o.set(_j, "rellockmode", _p?.rellockmode); + _o.set(_j, "tablesample", _p?.tablesample); + _o.set(_j, "perminfoindex", _p?.perminfoindex); + _o.set(_j, "subquery", _p?.subquery); + _o.set(_j, "security_barrier", _p?.security_barrier); + _o.set(_j, "jointype", _p?.jointype); + _o.set(_j, "joinmergedcols", _p?.joinmergedcols); + _o.set(_j, "joinaliasvars", _p?.joinaliasvars); + _o.set(_j, "joinleftcols", _p?.joinleftcols); + _o.set(_j, "joinrightcols", _p?.joinrightcols); + _o.set(_j, "join_using_alias", _p?.join_using_alias); + _o.set(_j, "functions", _p?.functions); + _o.set(_j, "funcordinality", _p?.funcordinality); + _o.set(_j, "tablefunc", _p?.tablefunc); + _o.set(_j, "values_lists", _p?.values_lists); + _o.set(_j, "ctename", _p?.ctename); + _o.set(_j, "ctelevelsup", _p?.ctelevelsup); + _o.set(_j, "self_reference", _p?.self_reference); + _o.set(_j, "coltypes", _p?.coltypes); + _o.set(_j, "coltypmods", _p?.coltypmods); + _o.set(_j, "colcollations", _p?.colcollations); + _o.set(_j, "enrname", _p?.enrname); + _o.set(_j, "enrtuples", _p?.enrtuples); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "eref", _p?.eref); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "inh", _p?.inh); + _o.set(_j, "inFromCl", _p?.inFromCl); + _o.set(_j, "securityQuals", _p?.securityQuals); + return _j; + }, + rtePermissionInfo(_p?: RTEPermissionInfo): RTEPermissionInfo { + const _j = ({} as RTEPermissionInfo); + _o.set(_j, "relid", _p?.relid); + _o.set(_j, "inh", _p?.inh); + _o.set(_j, "requiredPerms", _p?.requiredPerms); + _o.set(_j, "checkAsUser", _p?.checkAsUser); + _o.set(_j, "selectedCols", _p?.selectedCols); + _o.set(_j, "insertedCols", _p?.insertedCols); + _o.set(_j, "updatedCols", _p?.updatedCols); + return _j; + }, + rangeTblFunction(_p?: RangeTblFunction): RangeTblFunction { + const _j = ({} as RangeTblFunction); + _o.set(_j, "funcexpr", _p?.funcexpr); + _o.set(_j, "funccolcount", _p?.funccolcount); + _o.set(_j, "funccolnames", _p?.funccolnames); + _o.set(_j, "funccoltypes", _p?.funccoltypes); + _o.set(_j, "funccoltypmods", _p?.funccoltypmods); + _o.set(_j, "funccolcollations", _p?.funccolcollations); + _o.set(_j, "funcparams", _p?.funcparams); + return _j; + }, + tableSampleClause(_p?: TableSampleClause): TableSampleClause { + const _j = ({} as TableSampleClause); + _o.set(_j, "tsmhandler", _p?.tsmhandler); + _o.set(_j, "args", _p?.args); + _o.set(_j, "repeatable", _p?.repeatable); + return _j; + }, + withCheckOption(_p?: WithCheckOption): WithCheckOption { + const _j = ({} as WithCheckOption); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "relname", _p?.relname); + _o.set(_j, "polname", _p?.polname); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "cascaded", _p?.cascaded); + return _j; + }, + sortGroupClause(_p?: SortGroupClause): SortGroupClause { + const _j = ({} as SortGroupClause); + _o.set(_j, "tleSortGroupRef", _p?.tleSortGroupRef); + _o.set(_j, "eqop", _p?.eqop); + _o.set(_j, "sortop", _p?.sortop); + _o.set(_j, "nulls_first", _p?.nulls_first); + _o.set(_j, "hashable", _p?.hashable); + return _j; + }, + groupingSet(_p?: GroupingSet): GroupingSet { + const _j = ({} as GroupingSet); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "content", _p?.content); + _o.set(_j, "location", _p?.location); + return _j; + }, + windowClause(_p?: WindowClause): WindowClause { + const _j = ({} as WindowClause); + _o.set(_j, "name", _p?.name); + _o.set(_j, "refname", _p?.refname); + _o.set(_j, "partitionClause", _p?.partitionClause); + _o.set(_j, "orderClause", _p?.orderClause); + _o.set(_j, "frameOptions", _p?.frameOptions); + _o.set(_j, "startOffset", _p?.startOffset); + _o.set(_j, "endOffset", _p?.endOffset); + _o.set(_j, "runCondition", _p?.runCondition); + _o.set(_j, "startInRangeFunc", _p?.startInRangeFunc); + _o.set(_j, "endInRangeFunc", _p?.endInRangeFunc); + _o.set(_j, "inRangeColl", _p?.inRangeColl); + _o.set(_j, "inRangeAsc", _p?.inRangeAsc); + _o.set(_j, "inRangeNullsFirst", _p?.inRangeNullsFirst); + _o.set(_j, "winref", _p?.winref); + _o.set(_j, "copiedOrder", _p?.copiedOrder); + return _j; + }, + rowMarkClause(_p?: RowMarkClause): RowMarkClause { + const _j = ({} as RowMarkClause); + _o.set(_j, "rti", _p?.rti); + _o.set(_j, "strength", _p?.strength); + _o.set(_j, "waitPolicy", _p?.waitPolicy); + _o.set(_j, "pushedDown", _p?.pushedDown); + return _j; + }, + withClause(_p?: WithClause): WithClause { + const _j = ({} as WithClause); + _o.set(_j, "ctes", _p?.ctes); + _o.set(_j, "recursive", _p?.recursive); + _o.set(_j, "location", _p?.location); + return _j; + }, + inferClause(_p?: InferClause): InferClause { + const _j = ({} as InferClause); + _o.set(_j, "indexElems", _p?.indexElems); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "conname", _p?.conname); + _o.set(_j, "location", _p?.location); + return _j; + }, + onConflictClause(_p?: OnConflictClause): OnConflictClause { + const _j = ({} as OnConflictClause); + _o.set(_j, "action", _p?.action); + _o.set(_j, "infer", _p?.infer); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "location", _p?.location); + return _j; + }, + cteSearchClause(_p?: CTESearchClause): CTESearchClause { + const _j = ({} as CTESearchClause); + _o.set(_j, "search_col_list", _p?.search_col_list); + _o.set(_j, "search_breadth_first", _p?.search_breadth_first); + _o.set(_j, "search_seq_column", _p?.search_seq_column); + _o.set(_j, "location", _p?.location); + return _j; + }, + cteCycleClause(_p?: CTECycleClause): CTECycleClause { + const _j = ({} as CTECycleClause); + _o.set(_j, "cycle_col_list", _p?.cycle_col_list); + _o.set(_j, "cycle_mark_column", _p?.cycle_mark_column); + _o.set(_j, "cycle_mark_value", _p?.cycle_mark_value); + _o.set(_j, "cycle_mark_default", _p?.cycle_mark_default); + _o.set(_j, "cycle_path_column", _p?.cycle_path_column); + _o.set(_j, "location", _p?.location); + _o.set(_j, "cycle_mark_type", _p?.cycle_mark_type); + _o.set(_j, "cycle_mark_typmod", _p?.cycle_mark_typmod); + _o.set(_j, "cycle_mark_collation", _p?.cycle_mark_collation); + _o.set(_j, "cycle_mark_neop", _p?.cycle_mark_neop); + return _j; + }, + commonTableExpr(_p?: CommonTableExpr): CommonTableExpr { + const _j = ({} as CommonTableExpr); + _o.set(_j, "ctename", _p?.ctename); + _o.set(_j, "aliascolnames", _p?.aliascolnames); + _o.set(_j, "ctematerialized", _p?.ctematerialized); + _o.set(_j, "ctequery", _p?.ctequery); + _o.set(_j, "search_clause", _p?.search_clause); + _o.set(_j, "cycle_clause", _p?.cycle_clause); + _o.set(_j, "location", _p?.location); + _o.set(_j, "cterecursive", _p?.cterecursive); + _o.set(_j, "cterefcount", _p?.cterefcount); + _o.set(_j, "ctecolnames", _p?.ctecolnames); + _o.set(_j, "ctecoltypes", _p?.ctecoltypes); + _o.set(_j, "ctecoltypmods", _p?.ctecoltypmods); + _o.set(_j, "ctecolcollations", _p?.ctecolcollations); + return _j; + }, + mergeWhenClause(_p?: MergeWhenClause): MergeWhenClause { + const _j = ({} as MergeWhenClause); + _o.set(_j, "matched", _p?.matched); + _o.set(_j, "commandType", _p?.commandType); + _o.set(_j, "override", _p?.override); + _o.set(_j, "condition", _p?.condition); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "values", _p?.values); + return _j; + }, + mergeAction(_p?: MergeAction): MergeAction { + const _j = ({} as MergeAction); + _o.set(_j, "matched", _p?.matched); + _o.set(_j, "commandType", _p?.commandType); + _o.set(_j, "override", _p?.override); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "updateColnos", _p?.updateColnos); + return _j; + }, + triggerTransition(_p?: TriggerTransition): TriggerTransition { + const _j = ({} as TriggerTransition); + _o.set(_j, "name", _p?.name); + _o.set(_j, "isNew", _p?.isNew); + _o.set(_j, "isTable", _p?.isTable); + return _j; + }, + jsonOutput(_p?: JsonOutput): JsonOutput { + const _j = ({} as JsonOutput); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "returning", _p?.returning); + return _j; + }, + jsonKeyValue(_p?: JsonKeyValue): JsonKeyValue { + const _j = ({} as JsonKeyValue); + _o.set(_j, "key", _p?.key); + _o.set(_j, "value", _p?.value); + return _j; + }, + jsonObjectConstructor(_p?: JsonObjectConstructor): JsonObjectConstructor { + const _j = ({} as JsonObjectConstructor); + _o.set(_j, "exprs", _p?.exprs); + _o.set(_j, "output", _p?.output); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "unique", _p?.unique); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonArrayConstructor(_p?: JsonArrayConstructor): JsonArrayConstructor { + const _j = ({} as JsonArrayConstructor); + _o.set(_j, "exprs", _p?.exprs); + _o.set(_j, "output", _p?.output); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonArrayQueryConstructor(_p?: JsonArrayQueryConstructor): JsonArrayQueryConstructor { + const _j = ({} as JsonArrayQueryConstructor); + _o.set(_j, "query", _p?.query); + _o.set(_j, "output", _p?.output); + _o.set(_j, "format", _p?.format); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonAggConstructor(_p?: JsonAggConstructor): JsonAggConstructor { + const _j = ({} as JsonAggConstructor); + _o.set(_j, "output", _p?.output); + _o.set(_j, "agg_filter", _p?.agg_filter); + _o.set(_j, "agg_order", _p?.agg_order); + _o.set(_j, "over", _p?.over); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonObjectAgg(_p?: JsonObjectAgg): JsonObjectAgg { + const _j = ({} as JsonObjectAgg); + _o.set(_j, "constructor", _p?.constructor); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "unique", _p?.unique); + return _j; + }, + jsonArrayAgg(_p?: JsonArrayAgg): JsonArrayAgg { + const _j = ({} as JsonArrayAgg); + _o.set(_j, "constructor", _p?.constructor); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + return _j; + }, + rawStmt(_p?: RawStmt): RawStmt { + const _j = ({} as RawStmt); + _o.set(_j, "stmt", _p?.stmt); + _o.set(_j, "stmt_location", _p?.stmt_location); + _o.set(_j, "stmt_len", _p?.stmt_len); + return _j; + }, + insertStmt(_p?: InsertStmt): InsertStmt { + const _j = ({} as InsertStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "cols", _p?.cols); + _o.set(_j, "selectStmt", _p?.selectStmt); + _o.set(_j, "onConflictClause", _p?.onConflictClause); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "withClause", _p?.withClause); + _o.set(_j, "override", _p?.override); + return _j; + }, + deleteStmt(_p?: DeleteStmt): DeleteStmt { + const _j = ({} as DeleteStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "usingClause", _p?.usingClause); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "withClause", _p?.withClause); + return _j; + }, + updateStmt(_p?: UpdateStmt): UpdateStmt { + const _j = ({} as UpdateStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "fromClause", _p?.fromClause); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "withClause", _p?.withClause); + return _j; + }, + mergeStmt(_p?: MergeStmt): MergeStmt { + const _j = ({} as MergeStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "sourceRelation", _p?.sourceRelation); + _o.set(_j, "joinCondition", _p?.joinCondition); + _o.set(_j, "mergeWhenClauses", _p?.mergeWhenClauses); + _o.set(_j, "withClause", _p?.withClause); + return _j; + }, + selectStmt(_p?: SelectStmt): SelectStmt { + const _j = ({} as SelectStmt); + _o.set(_j, "distinctClause", _p?.distinctClause); + _o.set(_j, "intoClause", _p?.intoClause); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "fromClause", _p?.fromClause); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "groupClause", _p?.groupClause); + _o.set(_j, "groupDistinct", _p?.groupDistinct); + _o.set(_j, "havingClause", _p?.havingClause); + _o.set(_j, "windowClause", _p?.windowClause); + _o.set(_j, "valuesLists", _p?.valuesLists); + _o.set(_j, "sortClause", _p?.sortClause); + _o.set(_j, "limitOffset", _p?.limitOffset); + _o.set(_j, "limitCount", _p?.limitCount); + _o.set(_j, "limitOption", _p?.limitOption); + _o.set(_j, "lockingClause", _p?.lockingClause); + _o.set(_j, "withClause", _p?.withClause); + _o.set(_j, "op", _p?.op); + _o.set(_j, "all", _p?.all); + _o.set(_j, "larg", _p?.larg); + _o.set(_j, "rarg", _p?.rarg); + return _j; + }, + setOperationStmt(_p?: SetOperationStmt): SetOperationStmt { + const _j = ({} as SetOperationStmt); + _o.set(_j, "op", _p?.op); + _o.set(_j, "all", _p?.all); + _o.set(_j, "larg", _p?.larg); + _o.set(_j, "rarg", _p?.rarg); + _o.set(_j, "colTypes", _p?.colTypes); + _o.set(_j, "colTypmods", _p?.colTypmods); + _o.set(_j, "colCollations", _p?.colCollations); + _o.set(_j, "groupClauses", _p?.groupClauses); + return _j; + }, + returnStmt(_p?: ReturnStmt): ReturnStmt { + const _j = ({} as ReturnStmt); + _o.set(_j, "returnval", _p?.returnval); + return _j; + }, + plAssignStmt(_p?: PLAssignStmt): PLAssignStmt { + const _j = ({} as PLAssignStmt); + _o.set(_j, "name", _p?.name); + _o.set(_j, "indirection", _p?.indirection); + _o.set(_j, "nnames", _p?.nnames); + _o.set(_j, "val", _p?.val); + _o.set(_j, "location", _p?.location); + return _j; + }, + createSchemaStmt(_p?: CreateSchemaStmt): CreateSchemaStmt { + const _j = ({} as CreateSchemaStmt); + _o.set(_j, "schemaname", _p?.schemaname); + _o.set(_j, "authrole", _p?.authrole); + _o.set(_j, "schemaElts", _p?.schemaElts); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + alterTableStmt(_p?: AlterTableStmt): AlterTableStmt { + const _j = ({} as AlterTableStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "cmds", _p?.cmds); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + replicaIdentityStmt(_p?: ReplicaIdentityStmt): ReplicaIdentityStmt { + const _j = ({} as ReplicaIdentityStmt); + _o.set(_j, "identity_type", _p?.identity_type); + _o.set(_j, "name", _p?.name); + return _j; + }, + alterTableCmd(_p?: AlterTableCmd): AlterTableCmd { + const _j = ({} as AlterTableCmd); + _o.set(_j, "subtype", _p?.subtype); + _o.set(_j, "name", _p?.name); + _o.set(_j, "num", _p?.num); + _o.set(_j, "newowner", _p?.newowner); + _o.set(_j, "def", _p?.def); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "recurse", _p?.recurse); + return _j; + }, + alterCollationStmt(_p?: AlterCollationStmt): AlterCollationStmt { + const _j = ({} as AlterCollationStmt); + _o.set(_j, "collname", _p?.collname); + return _j; + }, + alterDomainStmt(_p?: AlterDomainStmt): AlterDomainStmt { + const _j = ({} as AlterDomainStmt); + _o.set(_j, "subtype", _p?.subtype); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "name", _p?.name); + _o.set(_j, "def", _p?.def); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + grantStmt(_p?: GrantStmt): GrantStmt { + const _j = ({} as GrantStmt); + _o.set(_j, "is_grant", _p?.is_grant); + _o.set(_j, "targtype", _p?.targtype); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "objects", _p?.objects); + _o.set(_j, "privileges", _p?.privileges); + _o.set(_j, "grantees", _p?.grantees); + _o.set(_j, "grant_option", _p?.grant_option); + _o.set(_j, "grantor", _p?.grantor); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + objectWithArgs(_p?: ObjectWithArgs): ObjectWithArgs { + const _j = ({} as ObjectWithArgs); + _o.set(_j, "objname", _p?.objname); + _o.set(_j, "objargs", _p?.objargs); + _o.set(_j, "objfuncargs", _p?.objfuncargs); + _o.set(_j, "args_unspecified", _p?.args_unspecified); + return _j; + }, + accessPriv(_p?: AccessPriv): AccessPriv { + const _j = ({} as AccessPriv); + _o.set(_j, "priv_name", _p?.priv_name); + _o.set(_j, "cols", _p?.cols); + return _j; + }, + grantRoleStmt(_p?: GrantRoleStmt): GrantRoleStmt { + const _j = ({} as GrantRoleStmt); + _o.set(_j, "granted_roles", _p?.granted_roles); + _o.set(_j, "grantee_roles", _p?.grantee_roles); + _o.set(_j, "is_grant", _p?.is_grant); + _o.set(_j, "opt", _p?.opt); + _o.set(_j, "grantor", _p?.grantor); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + alterDefaultPrivilegesStmt(_p?: AlterDefaultPrivilegesStmt): AlterDefaultPrivilegesStmt { + const _j = ({} as AlterDefaultPrivilegesStmt); + _o.set(_j, "options", _p?.options); + _o.set(_j, "action", _p?.action); + return _j; + }, + copyStmt(_p?: CopyStmt): CopyStmt { + const _j = ({} as CopyStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "query", _p?.query); + _o.set(_j, "attlist", _p?.attlist); + _o.set(_j, "is_from", _p?.is_from); + _o.set(_j, "is_program", _p?.is_program); + _o.set(_j, "filename", _p?.filename); + _o.set(_j, "options", _p?.options); + _o.set(_j, "whereClause", _p?.whereClause); + return _j; + }, + variableSetStmt(_p?: VariableSetStmt): VariableSetStmt { + const _j = ({} as VariableSetStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "name", _p?.name); + _o.set(_j, "args", _p?.args); + _o.set(_j, "is_local", _p?.is_local); + return _j; + }, + variableShowStmt(_p?: VariableShowStmt): VariableShowStmt { + const _j = ({} as VariableShowStmt); + _o.set(_j, "name", _p?.name); + return _j; + }, + createStmt(_p?: CreateStmt): CreateStmt { + const _j = ({} as CreateStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "tableElts", _p?.tableElts); + _o.set(_j, "inhRelations", _p?.inhRelations); + _o.set(_j, "partbound", _p?.partbound); + _o.set(_j, "partspec", _p?.partspec); + _o.set(_j, "ofTypename", _p?.ofTypename); + _o.set(_j, "constraints", _p?.constraints); + _o.set(_j, "options", _p?.options); + _o.set(_j, "oncommit", _p?.oncommit); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "accessMethod", _p?.accessMethod); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + constraint(_p?: Constraint): Constraint { + const _j = ({} as Constraint); + _o.set(_j, "contype", _p?.contype); + _o.set(_j, "conname", _p?.conname); + _o.set(_j, "deferrable", _p?.deferrable); + _o.set(_j, "initdeferred", _p?.initdeferred); + _o.set(_j, "location", _p?.location); + _o.set(_j, "is_no_inherit", _p?.is_no_inherit); + _o.set(_j, "raw_expr", _p?.raw_expr); + _o.set(_j, "cooked_expr", _p?.cooked_expr); + _o.set(_j, "generated_when", _p?.generated_when); + _o.set(_j, "nulls_not_distinct", _p?.nulls_not_distinct); + _o.set(_j, "keys", _p?.keys); + _o.set(_j, "including", _p?.including); + _o.set(_j, "exclusions", _p?.exclusions); + _o.set(_j, "options", _p?.options); + _o.set(_j, "indexname", _p?.indexname); + _o.set(_j, "indexspace", _p?.indexspace); + _o.set(_j, "reset_default_tblspc", _p?.reset_default_tblspc); + _o.set(_j, "access_method", _p?.access_method); + _o.set(_j, "where_clause", _p?.where_clause); + _o.set(_j, "pktable", _p?.pktable); + _o.set(_j, "fk_attrs", _p?.fk_attrs); + _o.set(_j, "pk_attrs", _p?.pk_attrs); + _o.set(_j, "fk_matchtype", _p?.fk_matchtype); + _o.set(_j, "fk_upd_action", _p?.fk_upd_action); + _o.set(_j, "fk_del_action", _p?.fk_del_action); + _o.set(_j, "fk_del_set_cols", _p?.fk_del_set_cols); + _o.set(_j, "old_conpfeqop", _p?.old_conpfeqop); + _o.set(_j, "old_pktable_oid", _p?.old_pktable_oid); + _o.set(_j, "skip_validation", _p?.skip_validation); + _o.set(_j, "initially_valid", _p?.initially_valid); + return _j; + }, + createTableSpaceStmt(_p?: CreateTableSpaceStmt): CreateTableSpaceStmt { + const _j = ({} as CreateTableSpaceStmt); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "owner", _p?.owner); + _o.set(_j, "location", _p?.location); + _o.set(_j, "options", _p?.options); + return _j; + }, + dropTableSpaceStmt(_p?: DropTableSpaceStmt): DropTableSpaceStmt { + const _j = ({} as DropTableSpaceStmt); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + alterTableSpaceOptionsStmt(_p?: AlterTableSpaceOptionsStmt): AlterTableSpaceOptionsStmt { + const _j = ({} as AlterTableSpaceOptionsStmt); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "options", _p?.options); + _o.set(_j, "isReset", _p?.isReset); + return _j; + }, + alterTableMoveAllStmt(_p?: AlterTableMoveAllStmt): AlterTableMoveAllStmt { + const _j = ({} as AlterTableMoveAllStmt); + _o.set(_j, "orig_tablespacename", _p?.orig_tablespacename); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "new_tablespacename", _p?.new_tablespacename); + _o.set(_j, "nowait", _p?.nowait); + return _j; + }, + createExtensionStmt(_p?: CreateExtensionStmt): CreateExtensionStmt { + const _j = ({} as CreateExtensionStmt); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterExtensionStmt(_p?: AlterExtensionStmt): AlterExtensionStmt { + const _j = ({} as AlterExtensionStmt); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterExtensionContentsStmt(_p?: AlterExtensionContentsStmt): AlterExtensionContentsStmt { + const _j = ({} as AlterExtensionContentsStmt); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "action", _p?.action); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "object", _p?.object); + return _j; + }, + createFdwStmt(_p?: CreateFdwStmt): CreateFdwStmt { + const _j = ({} as CreateFdwStmt); + _o.set(_j, "fdwname", _p?.fdwname); + _o.set(_j, "func_options", _p?.func_options); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterFdwStmt(_p?: AlterFdwStmt): AlterFdwStmt { + const _j = ({} as AlterFdwStmt); + _o.set(_j, "fdwname", _p?.fdwname); + _o.set(_j, "func_options", _p?.func_options); + _o.set(_j, "options", _p?.options); + return _j; + }, + createForeignServerStmt(_p?: CreateForeignServerStmt): CreateForeignServerStmt { + const _j = ({} as CreateForeignServerStmt); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "servertype", _p?.servertype); + _o.set(_j, "version", _p?.version); + _o.set(_j, "fdwname", _p?.fdwname); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterForeignServerStmt(_p?: AlterForeignServerStmt): AlterForeignServerStmt { + const _j = ({} as AlterForeignServerStmt); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "version", _p?.version); + _o.set(_j, "options", _p?.options); + _o.set(_j, "has_version", _p?.has_version); + return _j; + }, + createForeignTableStmt(_p?: CreateForeignTableStmt): CreateForeignTableStmt { + const _j = ({} as CreateForeignTableStmt); + _o.set(_j, "base", _p?.base); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "options", _p?.options); + return _j; + }, + createUserMappingStmt(_p?: CreateUserMappingStmt): CreateUserMappingStmt { + const _j = ({} as CreateUserMappingStmt); + _o.set(_j, "user", _p?.user); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterUserMappingStmt(_p?: AlterUserMappingStmt): AlterUserMappingStmt { + const _j = ({} as AlterUserMappingStmt); + _o.set(_j, "user", _p?.user); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "options", _p?.options); + return _j; + }, + dropUserMappingStmt(_p?: DropUserMappingStmt): DropUserMappingStmt { + const _j = ({} as DropUserMappingStmt); + _o.set(_j, "user", _p?.user); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + importForeignSchemaStmt(_p?: ImportForeignSchemaStmt): ImportForeignSchemaStmt { + const _j = ({} as ImportForeignSchemaStmt); + _o.set(_j, "server_name", _p?.server_name); + _o.set(_j, "remote_schema", _p?.remote_schema); + _o.set(_j, "local_schema", _p?.local_schema); + _o.set(_j, "list_type", _p?.list_type); + _o.set(_j, "table_list", _p?.table_list); + _o.set(_j, "options", _p?.options); + return _j; + }, + createPolicyStmt(_p?: CreatePolicyStmt): CreatePolicyStmt { + const _j = ({} as CreatePolicyStmt); + _o.set(_j, "policy_name", _p?.policy_name); + _o.set(_j, "table", _p?.table); + _o.set(_j, "cmd_name", _p?.cmd_name); + _o.set(_j, "permissive", _p?.permissive); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "with_check", _p?.with_check); + return _j; + }, + alterPolicyStmt(_p?: AlterPolicyStmt): AlterPolicyStmt { + const _j = ({} as AlterPolicyStmt); + _o.set(_j, "policy_name", _p?.policy_name); + _o.set(_j, "table", _p?.table); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "with_check", _p?.with_check); + return _j; + }, + createAmStmt(_p?: CreateAmStmt): CreateAmStmt { + const _j = ({} as CreateAmStmt); + _o.set(_j, "amname", _p?.amname); + _o.set(_j, "handler_name", _p?.handler_name); + _o.set(_j, "amtype", _p?.amtype); + return _j; + }, + createTrigStmt(_p?: CreateTrigStmt): CreateTrigStmt { + const _j = ({} as CreateTrigStmt); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "isconstraint", _p?.isconstraint); + _o.set(_j, "trigname", _p?.trigname); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "funcname", _p?.funcname); + _o.set(_j, "args", _p?.args); + _o.set(_j, "row", _p?.row); + _o.set(_j, "timing", _p?.timing); + _o.set(_j, "events", _p?.events); + _o.set(_j, "columns", _p?.columns); + _o.set(_j, "whenClause", _p?.whenClause); + _o.set(_j, "transitionRels", _p?.transitionRels); + _o.set(_j, "deferrable", _p?.deferrable); + _o.set(_j, "initdeferred", _p?.initdeferred); + _o.set(_j, "constrrel", _p?.constrrel); + return _j; + }, + createEventTrigStmt(_p?: CreateEventTrigStmt): CreateEventTrigStmt { + const _j = ({} as CreateEventTrigStmt); + _o.set(_j, "trigname", _p?.trigname); + _o.set(_j, "eventname", _p?.eventname); + _o.set(_j, "whenclause", _p?.whenclause); + _o.set(_j, "funcname", _p?.funcname); + return _j; + }, + alterEventTrigStmt(_p?: AlterEventTrigStmt): AlterEventTrigStmt { + const _j = ({} as AlterEventTrigStmt); + _o.set(_j, "trigname", _p?.trigname); + _o.set(_j, "tgenabled", _p?.tgenabled); + return _j; + }, + createpLangStmt(_p?: CreatePLangStmt): CreatePLangStmt { + const _j = ({} as CreatePLangStmt); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "plname", _p?.plname); + _o.set(_j, "plhandler", _p?.plhandler); + _o.set(_j, "plinline", _p?.plinline); + _o.set(_j, "plvalidator", _p?.plvalidator); + _o.set(_j, "pltrusted", _p?.pltrusted); + return _j; + }, + createRoleStmt(_p?: CreateRoleStmt): CreateRoleStmt { + const _j = ({} as CreateRoleStmt); + _o.set(_j, "stmt_type", _p?.stmt_type); + _o.set(_j, "role", _p?.role); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterRoleStmt(_p?: AlterRoleStmt): AlterRoleStmt { + const _j = ({} as AlterRoleStmt); + _o.set(_j, "role", _p?.role); + _o.set(_j, "options", _p?.options); + _o.set(_j, "action", _p?.action); + return _j; + }, + alterRoleSetStmt(_p?: AlterRoleSetStmt): AlterRoleSetStmt { + const _j = ({} as AlterRoleSetStmt); + _o.set(_j, "role", _p?.role); + _o.set(_j, "database", _p?.database); + _o.set(_j, "setstmt", _p?.setstmt); + return _j; + }, + dropRoleStmt(_p?: DropRoleStmt): DropRoleStmt { + const _j = ({} as DropRoleStmt); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + createSeqStmt(_p?: CreateSeqStmt): CreateSeqStmt { + const _j = ({} as CreateSeqStmt); + _o.set(_j, "sequence", _p?.sequence); + _o.set(_j, "options", _p?.options); + _o.set(_j, "ownerId", _p?.ownerId); + _o.set(_j, "for_identity", _p?.for_identity); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + alterSeqStmt(_p?: AlterSeqStmt): AlterSeqStmt { + const _j = ({} as AlterSeqStmt); + _o.set(_j, "sequence", _p?.sequence); + _o.set(_j, "options", _p?.options); + _o.set(_j, "for_identity", _p?.for_identity); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + defineStmt(_p?: DefineStmt): DefineStmt { + const _j = ({} as DefineStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "oldstyle", _p?.oldstyle); + _o.set(_j, "defnames", _p?.defnames); + _o.set(_j, "args", _p?.args); + _o.set(_j, "definition", _p?.definition); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "replace", _p?.replace); + return _j; + }, + createDomainStmt(_p?: CreateDomainStmt): CreateDomainStmt { + const _j = ({} as CreateDomainStmt); + _o.set(_j, "domainname", _p?.domainname); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "collClause", _p?.collClause); + _o.set(_j, "constraints", _p?.constraints); + return _j; + }, + createOpClassStmt(_p?: CreateOpClassStmt): CreateOpClassStmt { + const _j = ({} as CreateOpClassStmt); + _o.set(_j, "opclassname", _p?.opclassname); + _o.set(_j, "opfamilyname", _p?.opfamilyname); + _o.set(_j, "amname", _p?.amname); + _o.set(_j, "datatype", _p?.datatype); + _o.set(_j, "items", _p?.items); + _o.set(_j, "isDefault", _p?.isDefault); + return _j; + }, + createOpClassItem(_p?: CreateOpClassItem): CreateOpClassItem { + const _j = ({} as CreateOpClassItem); + _o.set(_j, "itemtype", _p?.itemtype); + _o.set(_j, "name", _p?.name); + _o.set(_j, "number", _p?.number); + _o.set(_j, "order_family", _p?.order_family); + _o.set(_j, "class_args", _p?.class_args); + _o.set(_j, "storedtype", _p?.storedtype); + return _j; + }, + createOpFamilyStmt(_p?: CreateOpFamilyStmt): CreateOpFamilyStmt { + const _j = ({} as CreateOpFamilyStmt); + _o.set(_j, "opfamilyname", _p?.opfamilyname); + _o.set(_j, "amname", _p?.amname); + return _j; + }, + alterOpFamilyStmt(_p?: AlterOpFamilyStmt): AlterOpFamilyStmt { + const _j = ({} as AlterOpFamilyStmt); + _o.set(_j, "opfamilyname", _p?.opfamilyname); + _o.set(_j, "amname", _p?.amname); + _o.set(_j, "isDrop", _p?.isDrop); + _o.set(_j, "items", _p?.items); + return _j; + }, + dropStmt(_p?: DropStmt): DropStmt { + const _j = ({} as DropStmt); + _o.set(_j, "objects", _p?.objects); + _o.set(_j, "removeType", _p?.removeType); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "concurrent", _p?.concurrent); + return _j; + }, + truncateStmt(_p?: TruncateStmt): TruncateStmt { + const _j = ({} as TruncateStmt); + _o.set(_j, "relations", _p?.relations); + _o.set(_j, "restart_seqs", _p?.restart_seqs); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + commentStmt(_p?: CommentStmt): CommentStmt { + const _j = ({} as CommentStmt); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "object", _p?.object); + _o.set(_j, "comment", _p?.comment); + return _j; + }, + secLabelStmt(_p?: SecLabelStmt): SecLabelStmt { + const _j = ({} as SecLabelStmt); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "object", _p?.object); + _o.set(_j, "provider", _p?.provider); + _o.set(_j, "label", _p?.label); + return _j; + }, + declareCursorStmt(_p?: DeclareCursorStmt): DeclareCursorStmt { + const _j = ({} as DeclareCursorStmt); + _o.set(_j, "portalname", _p?.portalname); + _o.set(_j, "options", _p?.options); + _o.set(_j, "query", _p?.query); + return _j; + }, + closePortalStmt(_p?: ClosePortalStmt): ClosePortalStmt { + const _j = ({} as ClosePortalStmt); + _o.set(_j, "portalname", _p?.portalname); + return _j; + }, + fetchStmt(_p?: FetchStmt): FetchStmt { + const _j = ({} as FetchStmt); + _o.set(_j, "direction", _p?.direction); + _o.set(_j, "howMany", _p?.howMany); + _o.set(_j, "portalname", _p?.portalname); + _o.set(_j, "ismove", _p?.ismove); + return _j; + }, + indexStmt(_p?: IndexStmt): IndexStmt { + const _j = ({} as IndexStmt); + _o.set(_j, "idxname", _p?.idxname); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "accessMethod", _p?.accessMethod); + _o.set(_j, "tableSpace", _p?.tableSpace); + _o.set(_j, "indexParams", _p?.indexParams); + _o.set(_j, "indexIncludingParams", _p?.indexIncludingParams); + _o.set(_j, "options", _p?.options); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "excludeOpNames", _p?.excludeOpNames); + _o.set(_j, "idxcomment", _p?.idxcomment); + _o.set(_j, "indexOid", _p?.indexOid); + _o.set(_j, "oldNumber", _p?.oldNumber); + _o.set(_j, "oldCreateSubid", _p?.oldCreateSubid); + _o.set(_j, "oldFirstRelfilelocatorSubid", _p?.oldFirstRelfilelocatorSubid); + _o.set(_j, "unique", _p?.unique); + _o.set(_j, "nulls_not_distinct", _p?.nulls_not_distinct); + _o.set(_j, "primary", _p?.primary); + _o.set(_j, "isconstraint", _p?.isconstraint); + _o.set(_j, "deferrable", _p?.deferrable); + _o.set(_j, "initdeferred", _p?.initdeferred); + _o.set(_j, "transformed", _p?.transformed); + _o.set(_j, "concurrent", _p?.concurrent); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "reset_default_tblspc", _p?.reset_default_tblspc); + return _j; + }, + createStatsStmt(_p?: CreateStatsStmt): CreateStatsStmt { + const _j = ({} as CreateStatsStmt); + _o.set(_j, "defnames", _p?.defnames); + _o.set(_j, "stat_types", _p?.stat_types); + _o.set(_j, "exprs", _p?.exprs); + _o.set(_j, "relations", _p?.relations); + _o.set(_j, "stxcomment", _p?.stxcomment); + _o.set(_j, "transformed", _p?.transformed); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + statsElem(_p?: StatsElem): StatsElem { + const _j = ({} as StatsElem); + _o.set(_j, "name", _p?.name); + _o.set(_j, "expr", _p?.expr); + return _j; + }, + alterStatsStmt(_p?: AlterStatsStmt): AlterStatsStmt { + const _j = ({} as AlterStatsStmt); + _o.set(_j, "defnames", _p?.defnames); + _o.set(_j, "stxstattarget", _p?.stxstattarget); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + createFunctionStmt(_p?: CreateFunctionStmt): CreateFunctionStmt { + const _j = ({} as CreateFunctionStmt); + _o.set(_j, "is_procedure", _p?.is_procedure); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "funcname", _p?.funcname); + _o.set(_j, "parameters", _p?.parameters); + _o.set(_j, "returnType", _p?.returnType); + _o.set(_j, "options", _p?.options); + _o.set(_j, "sql_body", _p?.sql_body); + return _j; + }, + functionParameter(_p?: FunctionParameter): FunctionParameter { + const _j = ({} as FunctionParameter); + _o.set(_j, "name", _p?.name); + _o.set(_j, "argType", _p?.argType); + _o.set(_j, "mode", _p?.mode); + _o.set(_j, "defexpr", _p?.defexpr); + return _j; + }, + alterFunctionStmt(_p?: AlterFunctionStmt): AlterFunctionStmt { + const _j = ({} as AlterFunctionStmt); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "func", _p?.func); + _o.set(_j, "actions", _p?.actions); + return _j; + }, + doStmt(_p?: DoStmt): DoStmt { + const _j = ({} as DoStmt); + _o.set(_j, "args", _p?.args); + return _j; + }, + inlineCodeBlock(_p?: InlineCodeBlock): InlineCodeBlock { + const _j = ({} as InlineCodeBlock); + _o.set(_j, "source_text", _p?.source_text); + _o.set(_j, "langOid", _p?.langOid); + _o.set(_j, "langIsTrusted", _p?.langIsTrusted); + _o.set(_j, "atomic", _p?.atomic); + return _j; + }, + callStmt(_p?: CallStmt): CallStmt { + const _j = ({} as CallStmt); + _o.set(_j, "funccall", _p?.funccall); + _o.set(_j, "funcexpr", _p?.funcexpr); + _o.set(_j, "outargs", _p?.outargs); + return _j; + }, + callContext(_p?: CallContext): CallContext { + const _j = ({} as CallContext); + _o.set(_j, "atomic", _p?.atomic); + return _j; + }, + renameStmt(_p?: RenameStmt): RenameStmt { + const _j = ({} as RenameStmt); + _o.set(_j, "renameType", _p?.renameType); + _o.set(_j, "relationType", _p?.relationType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "newname", _p?.newname); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + alterObjectDependsStmt(_p?: AlterObjectDependsStmt): AlterObjectDependsStmt { + const _j = ({} as AlterObjectDependsStmt); + _o.set(_j, "objectType", _p?.objectType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "remove", _p?.remove); + return _j; + }, + alterObjectSchemaStmt(_p?: AlterObjectSchemaStmt): AlterObjectSchemaStmt { + const _j = ({} as AlterObjectSchemaStmt); + _o.set(_j, "objectType", _p?.objectType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "newschema", _p?.newschema); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + alterOwnerStmt(_p?: AlterOwnerStmt): AlterOwnerStmt { + const _j = ({} as AlterOwnerStmt); + _o.set(_j, "objectType", _p?.objectType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "newowner", _p?.newowner); + return _j; + }, + alterOperatorStmt(_p?: AlterOperatorStmt): AlterOperatorStmt { + const _j = ({} as AlterOperatorStmt); + _o.set(_j, "opername", _p?.opername); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterTypeStmt(_p?: AlterTypeStmt): AlterTypeStmt { + const _j = ({} as AlterTypeStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "options", _p?.options); + return _j; + }, + ruleStmt(_p?: RuleStmt): RuleStmt { + const _j = ({} as RuleStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "rulename", _p?.rulename); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "event", _p?.event); + _o.set(_j, "instead", _p?.instead); + _o.set(_j, "actions", _p?.actions); + _o.set(_j, "replace", _p?.replace); + return _j; + }, + notifyStmt(_p?: NotifyStmt): NotifyStmt { + const _j = ({} as NotifyStmt); + _o.set(_j, "conditionname", _p?.conditionname); + _o.set(_j, "payload", _p?.payload); + return _j; + }, + listenStmt(_p?: ListenStmt): ListenStmt { + const _j = ({} as ListenStmt); + _o.set(_j, "conditionname", _p?.conditionname); + return _j; + }, + unlistenStmt(_p?: UnlistenStmt): UnlistenStmt { + const _j = ({} as UnlistenStmt); + _o.set(_j, "conditionname", _p?.conditionname); + return _j; + }, + transactionStmt(_p?: TransactionStmt): TransactionStmt { + const _j = ({} as TransactionStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "options", _p?.options); + _o.set(_j, "savepoint_name", _p?.savepoint_name); + _o.set(_j, "gid", _p?.gid); + _o.set(_j, "chain", _p?.chain); + return _j; + }, + compositeTypeStmt(_p?: CompositeTypeStmt): CompositeTypeStmt { + const _j = ({} as CompositeTypeStmt); + _o.set(_j, "typevar", _p?.typevar); + _o.set(_j, "coldeflist", _p?.coldeflist); + return _j; + }, + createEnumStmt(_p?: CreateEnumStmt): CreateEnumStmt { + const _j = ({} as CreateEnumStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "vals", _p?.vals); + return _j; + }, + createRangeStmt(_p?: CreateRangeStmt): CreateRangeStmt { + const _j = ({} as CreateRangeStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "params", _p?.params); + return _j; + }, + alterEnumStmt(_p?: AlterEnumStmt): AlterEnumStmt { + const _j = ({} as AlterEnumStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "oldVal", _p?.oldVal); + _o.set(_j, "newVal", _p?.newVal); + _o.set(_j, "newValNeighbor", _p?.newValNeighbor); + _o.set(_j, "newValIsAfter", _p?.newValIsAfter); + _o.set(_j, "skipIfNewValExists", _p?.skipIfNewValExists); + return _j; + }, + viewStmt(_p?: ViewStmt): ViewStmt { + const _j = ({} as ViewStmt); + _o.set(_j, "view", _p?.view); + _o.set(_j, "aliases", _p?.aliases); + _o.set(_j, "query", _p?.query); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "options", _p?.options); + _o.set(_j, "withCheckOption", _p?.withCheckOption); + return _j; + }, + loadStmt(_p?: LoadStmt): LoadStmt { + const _j = ({} as LoadStmt); + _o.set(_j, "filename", _p?.filename); + return _j; + }, + createdbStmt(_p?: CreatedbStmt): CreatedbStmt { + const _j = ({} as CreatedbStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterDatabaseStmt(_p?: AlterDatabaseStmt): AlterDatabaseStmt { + const _j = ({} as AlterDatabaseStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterDatabaseRefreshCollStmt(_p?: AlterDatabaseRefreshCollStmt): AlterDatabaseRefreshCollStmt { + const _j = ({} as AlterDatabaseRefreshCollStmt); + _o.set(_j, "dbname", _p?.dbname); + return _j; + }, + alterDatabaseSetStmt(_p?: AlterDatabaseSetStmt): AlterDatabaseSetStmt { + const _j = ({} as AlterDatabaseSetStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "setstmt", _p?.setstmt); + return _j; + }, + dropdbStmt(_p?: DropdbStmt): DropdbStmt { + const _j = ({} as DropdbStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterSystemStmt(_p?: AlterSystemStmt): AlterSystemStmt { + const _j = ({} as AlterSystemStmt); + _o.set(_j, "setstmt", _p?.setstmt); + return _j; + }, + clusterStmt(_p?: ClusterStmt): ClusterStmt { + const _j = ({} as ClusterStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "indexname", _p?.indexname); + _o.set(_j, "params", _p?.params); + return _j; + }, + vacuumStmt(_p?: VacuumStmt): VacuumStmt { + const _j = ({} as VacuumStmt); + _o.set(_j, "options", _p?.options); + _o.set(_j, "rels", _p?.rels); + _o.set(_j, "is_vacuumcmd", _p?.is_vacuumcmd); + return _j; + }, + vacuumRelation(_p?: VacuumRelation): VacuumRelation { + const _j = ({} as VacuumRelation); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "oid", _p?.oid); + _o.set(_j, "va_cols", _p?.va_cols); + return _j; + }, + explainStmt(_p?: ExplainStmt): ExplainStmt { + const _j = ({} as ExplainStmt); + _o.set(_j, "query", _p?.query); + _o.set(_j, "options", _p?.options); + return _j; + }, + createTableAsStmt(_p?: CreateTableAsStmt): CreateTableAsStmt { + const _j = ({} as CreateTableAsStmt); + _o.set(_j, "query", _p?.query); + _o.set(_j, "into", _p?.into); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "is_select_into", _p?.is_select_into); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + refreshMatViewStmt(_p?: RefreshMatViewStmt): RefreshMatViewStmt { + const _j = ({} as RefreshMatViewStmt); + _o.set(_j, "concurrent", _p?.concurrent); + _o.set(_j, "skipData", _p?.skipData); + _o.set(_j, "relation", _p?.relation); + return _j; + }, + checkPointStmt(_p?: CheckPointStmt): CheckPointStmt { + const _j = ({} as CheckPointStmt); + return _j; + }, + discardStmt(_p?: DiscardStmt): DiscardStmt { + const _j = ({} as DiscardStmt); + _o.set(_j, "target", _p?.target); + return _j; + }, + lockStmt(_p?: LockStmt): LockStmt { + const _j = ({} as LockStmt); + _o.set(_j, "relations", _p?.relations); + _o.set(_j, "mode", _p?.mode); + _o.set(_j, "nowait", _p?.nowait); + return _j; + }, + constraintsSetStmt(_p?: ConstraintsSetStmt): ConstraintsSetStmt { + const _j = ({} as ConstraintsSetStmt); + _o.set(_j, "constraints", _p?.constraints); + _o.set(_j, "deferred", _p?.deferred); + return _j; + }, + reindexStmt(_p?: ReindexStmt): ReindexStmt { + const _j = ({} as ReindexStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "name", _p?.name); + _o.set(_j, "params", _p?.params); + return _j; + }, + createConversionStmt(_p?: CreateConversionStmt): CreateConversionStmt { + const _j = ({} as CreateConversionStmt); + _o.set(_j, "conversion_name", _p?.conversion_name); + _o.set(_j, "for_encoding_name", _p?.for_encoding_name); + _o.set(_j, "to_encoding_name", _p?.to_encoding_name); + _o.set(_j, "func_name", _p?.func_name); + _o.set(_j, "def", _p?.def); + return _j; + }, + createCastStmt(_p?: CreateCastStmt): CreateCastStmt { + const _j = ({} as CreateCastStmt); + _o.set(_j, "sourcetype", _p?.sourcetype); + _o.set(_j, "targettype", _p?.targettype); + _o.set(_j, "func", _p?.func); + _o.set(_j, "context", _p?.context); + _o.set(_j, "inout", _p?.inout); + return _j; + }, + createTransformStmt(_p?: CreateTransformStmt): CreateTransformStmt { + const _j = ({} as CreateTransformStmt); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "type_name", _p?.type_name); + _o.set(_j, "lang", _p?.lang); + _o.set(_j, "fromsql", _p?.fromsql); + _o.set(_j, "tosql", _p?.tosql); + return _j; + }, + prepareStmt(_p?: PrepareStmt): PrepareStmt { + const _j = ({} as PrepareStmt); + _o.set(_j, "name", _p?.name); + _o.set(_j, "argtypes", _p?.argtypes); + _o.set(_j, "query", _p?.query); + return _j; + }, + executeStmt(_p?: ExecuteStmt): ExecuteStmt { + const _j = ({} as ExecuteStmt); + _o.set(_j, "name", _p?.name); + _o.set(_j, "params", _p?.params); + return _j; + }, + deallocateStmt(_p?: DeallocateStmt): DeallocateStmt { + const _j = ({} as DeallocateStmt); + _o.set(_j, "name", _p?.name); + return _j; + }, + dropOwnedStmt(_p?: DropOwnedStmt): DropOwnedStmt { + const _j = ({} as DropOwnedStmt); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + reassignOwnedStmt(_p?: ReassignOwnedStmt): ReassignOwnedStmt { + const _j = ({} as ReassignOwnedStmt); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "newrole", _p?.newrole); + return _j; + }, + altertsDictionaryStmt(_p?: AlterTSDictionaryStmt): AlterTSDictionaryStmt { + const _j = ({} as AlterTSDictionaryStmt); + _o.set(_j, "dictname", _p?.dictname); + _o.set(_j, "options", _p?.options); + return _j; + }, + altertsConfigurationStmt(_p?: AlterTSConfigurationStmt): AlterTSConfigurationStmt { + const _j = ({} as AlterTSConfigurationStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "cfgname", _p?.cfgname); + _o.set(_j, "tokentype", _p?.tokentype); + _o.set(_j, "dicts", _p?.dicts); + _o.set(_j, "override", _p?.override); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + publicationTable(_p?: PublicationTable): PublicationTable { + const _j = ({} as PublicationTable); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "columns", _p?.columns); + return _j; + }, + publicationObjSpec(_p?: PublicationObjSpec): PublicationObjSpec { + const _j = ({} as PublicationObjSpec); + _o.set(_j, "pubobjtype", _p?.pubobjtype); + _o.set(_j, "name", _p?.name); + _o.set(_j, "pubtable", _p?.pubtable); + _o.set(_j, "location", _p?.location); + return _j; + }, + createPublicationStmt(_p?: CreatePublicationStmt): CreatePublicationStmt { + const _j = ({} as CreatePublicationStmt); + _o.set(_j, "pubname", _p?.pubname); + _o.set(_j, "options", _p?.options); + _o.set(_j, "pubobjects", _p?.pubobjects); + _o.set(_j, "for_all_tables", _p?.for_all_tables); + return _j; + }, + alterPublicationStmt(_p?: AlterPublicationStmt): AlterPublicationStmt { + const _j = ({} as AlterPublicationStmt); + _o.set(_j, "pubname", _p?.pubname); + _o.set(_j, "options", _p?.options); + _o.set(_j, "pubobjects", _p?.pubobjects); + _o.set(_j, "for_all_tables", _p?.for_all_tables); + _o.set(_j, "action", _p?.action); + return _j; + }, + createSubscriptionStmt(_p?: CreateSubscriptionStmt): CreateSubscriptionStmt { + const _j = ({} as CreateSubscriptionStmt); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "conninfo", _p?.conninfo); + _o.set(_j, "publication", _p?.publication); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterSubscriptionStmt(_p?: AlterSubscriptionStmt): AlterSubscriptionStmt { + const _j = ({} as AlterSubscriptionStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "conninfo", _p?.conninfo); + _o.set(_j, "publication", _p?.publication); + _o.set(_j, "options", _p?.options); + return _j; + }, + dropSubscriptionStmt(_p?: DropSubscriptionStmt): DropSubscriptionStmt { + const _j = ({} as DropSubscriptionStmt); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + scanToken(_p?: ScanToken): ScanToken { + const _j = ({} as ScanToken); + _o.set(_j, "start", _p?.start); + _o.set(_j, "end", _p?.end); + _o.set(_j, "token", _p?.token); + _o.set(_j, "keywordKind", _p?.keywordKind); return _j; } }; \ No newline at end of file diff --git a/__fixtures__/output/utils/astHelpers/inlineNestedObj/wrapped.ts b/__fixtures__/output/utils/astHelpers/inlineNestedObj/wrapped.ts index 1b1ba08..37f841c 100644 --- a/__fixtures__/output/utils/astHelpers/inlineNestedObj/wrapped.ts +++ b/__fixtures__/output/utils/astHelpers/inlineNestedObj/wrapped.ts @@ -18,678 +18,548 @@ export interface ScanResult { }; } export interface Integer { - Integer: { - ival?: number; - }; + ival?: number; } export interface Float { - Float: { - fval?: string; - }; + fval?: string; } export interface Boolean { - Boolean: { - boolval?: boolean; - }; + boolval?: boolean; } export interface String { - String: { - sval?: string; - }; + sval?: string; } export interface BitString { - BitString: { - bsval?: string; - }; + bsval?: string; } export interface List { - List: { - items?: Node[]; - }; + items?: Node[]; } export interface OidList { - OidList: { - items?: Node[]; - }; + items?: Node[]; } export interface IntList { - IntList: { - items?: Node[]; - }; + items?: Node[]; } export interface A_Const { - A_Const: { - ival?: Integer; - fval?: Float; - boolval?: Boolean; - sval?: String; - bsval?: BitString; - isnull?: boolean; - location?: number; - }; + ival?: Integer; + fval?: Float; + boolval?: Boolean; + sval?: String; + bsval?: BitString; + isnull?: boolean; + location?: number; } export interface Alias { - Alias: { - aliasname?: string; - colnames?: Node[]; - }; + aliasname?: string; + colnames?: Node[]; } export interface RangeVar { - RangeVar: { - catalogname?: string; - schemaname?: string; - relname?: string; - inh?: boolean; - relpersistence?: string; - alias?: Alias; - location?: number; - }; + catalogname?: string; + schemaname?: string; + relname?: string; + inh?: boolean; + relpersistence?: string; + alias?: Alias; + location?: number; } export interface TableFunc { - TableFunc: { - ns_uris?: Node[]; - ns_names?: Node[]; - docexpr?: Node; - rowexpr?: Node; - colnames?: Node[]; - coltypes?: Node[]; - coltypmods?: Node[]; - colcollations?: Node[]; - colexprs?: Node[]; - coldefexprs?: Node[]; - notnulls?: bigint[]; - ordinalitycol?: number; - location?: number; - }; + ns_uris?: Node[]; + ns_names?: Node[]; + docexpr?: Node; + rowexpr?: Node; + colnames?: Node[]; + coltypes?: Node[]; + coltypmods?: Node[]; + colcollations?: Node[]; + colexprs?: Node[]; + coldefexprs?: Node[]; + notnulls?: bigint[]; + ordinalitycol?: number; + location?: number; } export interface IntoClause { - IntoClause: { - rel?: RangeVar; - colNames?: Node[]; - accessMethod?: string; - options?: Node[]; - onCommit?: OnCommitAction; - tableSpaceName?: string; - viewQuery?: Node; - skipData?: boolean; - }; + rel?: RangeVar; + colNames?: Node[]; + accessMethod?: string; + options?: Node[]; + onCommit?: OnCommitAction; + tableSpaceName?: string; + viewQuery?: Node; + skipData?: boolean; } export interface Var { - Var: { - xpr?: Node; - varno?: number; - varattno?: number; - vartype?: number; - vartypmod?: number; - varcollid?: number; - varnullingrels?: bigint[]; - varlevelsup?: number; - location?: number; - }; + xpr?: Node; + varno?: number; + varattno?: number; + vartype?: number; + vartypmod?: number; + varcollid?: number; + varnullingrels?: bigint[]; + varlevelsup?: number; + location?: number; } export interface Param { - Param: { - xpr?: Node; - paramkind?: ParamKind; - paramid?: number; - paramtype?: number; - paramtypmod?: number; - paramcollid?: number; - location?: number; - }; + xpr?: Node; + paramkind?: ParamKind; + paramid?: number; + paramtype?: number; + paramtypmod?: number; + paramcollid?: number; + location?: number; } export interface Aggref { - Aggref: { - xpr?: Node; - aggfnoid?: number; - aggtype?: number; - aggcollid?: number; - inputcollid?: number; - aggargtypes?: Node[]; - aggdirectargs?: Node[]; - args?: Node[]; - aggorder?: Node[]; - aggdistinct?: Node[]; - aggfilter?: Node; - aggstar?: boolean; - aggvariadic?: boolean; - aggkind?: string; - agglevelsup?: number; - aggsplit?: AggSplit; - aggno?: number; - aggtransno?: number; - location?: number; - }; + xpr?: Node; + aggfnoid?: number; + aggtype?: number; + aggcollid?: number; + inputcollid?: number; + aggargtypes?: Node[]; + aggdirectargs?: Node[]; + args?: Node[]; + aggorder?: Node[]; + aggdistinct?: Node[]; + aggfilter?: Node; + aggstar?: boolean; + aggvariadic?: boolean; + aggkind?: string; + agglevelsup?: number; + aggsplit?: AggSplit; + aggno?: number; + aggtransno?: number; + location?: number; } export interface GroupingFunc { - GroupingFunc: { - xpr?: Node; - args?: Node[]; - refs?: Node[]; - agglevelsup?: number; - location?: number; - }; + xpr?: Node; + args?: Node[]; + refs?: Node[]; + agglevelsup?: number; + location?: number; } export interface WindowFunc { - WindowFunc: { - xpr?: Node; - winfnoid?: number; - wintype?: number; - wincollid?: number; - inputcollid?: number; - args?: Node[]; - aggfilter?: Node; - winref?: number; - winstar?: boolean; - winagg?: boolean; - location?: number; - }; + xpr?: Node; + winfnoid?: number; + wintype?: number; + wincollid?: number; + inputcollid?: number; + args?: Node[]; + aggfilter?: Node; + winref?: number; + winstar?: boolean; + winagg?: boolean; + location?: number; } export interface SubscriptingRef { - SubscriptingRef: { - xpr?: Node; - refcontainertype?: number; - refelemtype?: number; - refrestype?: number; - reftypmod?: number; - refcollid?: number; - refupperindexpr?: Node[]; - reflowerindexpr?: Node[]; - refexpr?: Node; - refassgnexpr?: Node; - }; + xpr?: Node; + refcontainertype?: number; + refelemtype?: number; + refrestype?: number; + reftypmod?: number; + refcollid?: number; + refupperindexpr?: Node[]; + reflowerindexpr?: Node[]; + refexpr?: Node; + refassgnexpr?: Node; } export interface FuncExpr { - FuncExpr: { - xpr?: Node; - funcid?: number; - funcresulttype?: number; - funcretset?: boolean; - funcvariadic?: boolean; - funcformat?: CoercionForm; - funccollid?: number; - inputcollid?: number; - args?: Node[]; - location?: number; - }; + xpr?: Node; + funcid?: number; + funcresulttype?: number; + funcretset?: boolean; + funcvariadic?: boolean; + funcformat?: CoercionForm; + funccollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; } export interface NamedArgExpr { - NamedArgExpr: { - xpr?: Node; - arg?: Node; - name?: string; - argnumber?: number; - location?: number; - }; + xpr?: Node; + arg?: Node; + name?: string; + argnumber?: number; + location?: number; } export interface OpExpr { - OpExpr: { - xpr?: Node; - opno?: number; - opresulttype?: number; - opretset?: boolean; - opcollid?: number; - inputcollid?: number; - args?: Node[]; - location?: number; - }; + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; } export interface DistinctExpr { - DistinctExpr: { - xpr?: Node; - opno?: number; - opresulttype?: number; - opretset?: boolean; - opcollid?: number; - inputcollid?: number; - args?: Node[]; - location?: number; - }; + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; } export interface NullIfExpr { - NullIfExpr: { - xpr?: Node; - opno?: number; - opresulttype?: number; - opretset?: boolean; - opcollid?: number; - inputcollid?: number; - args?: Node[]; - location?: number; - }; + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; } export interface ScalarArrayOpExpr { - ScalarArrayOpExpr: { - xpr?: Node; - opno?: number; - useOr?: boolean; - inputcollid?: number; - args?: Node[]; - location?: number; - }; + xpr?: Node; + opno?: number; + useOr?: boolean; + inputcollid?: number; + args?: Node[]; + location?: number; } export interface BoolExpr { - BoolExpr: { - xpr?: Node; - boolop?: BoolExprType; - args?: Node[]; - location?: number; - }; + xpr?: Node; + boolop?: BoolExprType; + args?: Node[]; + location?: number; } export interface SubLink { - SubLink: { - xpr?: Node; - subLinkType?: SubLinkType; - subLinkId?: number; - testexpr?: Node; - operName?: Node[]; - subselect?: Node; - location?: number; - }; + xpr?: Node; + subLinkType?: SubLinkType; + subLinkId?: number; + testexpr?: Node; + operName?: Node[]; + subselect?: Node; + location?: number; } export interface SubPlan { - SubPlan: { - xpr?: Node; - subLinkType?: SubLinkType; - testexpr?: Node; - paramIds?: Node[]; - plan_id?: number; - plan_name?: string; - firstColType?: number; - firstColTypmod?: number; - firstColCollation?: number; - useHashTable?: boolean; - unknownEqFalse?: boolean; - parallel_safe?: boolean; - setParam?: Node[]; - parParam?: Node[]; - args?: Node[]; - startup_cost?: number; - per_call_cost?: number; - }; + xpr?: Node; + subLinkType?: SubLinkType; + testexpr?: Node; + paramIds?: Node[]; + plan_id?: number; + plan_name?: string; + firstColType?: number; + firstColTypmod?: number; + firstColCollation?: number; + useHashTable?: boolean; + unknownEqFalse?: boolean; + parallel_safe?: boolean; + setParam?: Node[]; + parParam?: Node[]; + args?: Node[]; + startup_cost?: number; + per_call_cost?: number; } export interface AlternativeSubPlan { - AlternativeSubPlan: { - xpr?: Node; - subplans?: Node[]; - }; + xpr?: Node; + subplans?: Node[]; } export interface FieldSelect { - FieldSelect: { - xpr?: Node; - arg?: Node; - fieldnum?: number; - resulttype?: number; - resulttypmod?: number; - resultcollid?: number; - }; + xpr?: Node; + arg?: Node; + fieldnum?: number; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; } export interface FieldStore { - FieldStore: { - xpr?: Node; - arg?: Node; - newvals?: Node[]; - fieldnums?: Node[]; - resulttype?: number; - }; + xpr?: Node; + arg?: Node; + newvals?: Node[]; + fieldnums?: Node[]; + resulttype?: number; } export interface RelabelType { - RelabelType: { - xpr?: Node; - arg?: Node; - resulttype?: number; - resulttypmod?: number; - resultcollid?: number; - relabelformat?: CoercionForm; - location?: number; - }; + xpr?: Node; + arg?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + relabelformat?: CoercionForm; + location?: number; } export interface CoerceViaIO { - CoerceViaIO: { - xpr?: Node; - arg?: Node; - resulttype?: number; - resultcollid?: number; - coerceformat?: CoercionForm; - location?: number; - }; + xpr?: Node; + arg?: Node; + resulttype?: number; + resultcollid?: number; + coerceformat?: CoercionForm; + location?: number; } export interface ArrayCoerceExpr { - ArrayCoerceExpr: { - xpr?: Node; - arg?: Node; - elemexpr?: Node; - resulttype?: number; - resulttypmod?: number; - resultcollid?: number; - coerceformat?: CoercionForm; - location?: number; - }; + xpr?: Node; + arg?: Node; + elemexpr?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + coerceformat?: CoercionForm; + location?: number; } export interface ConvertRowtypeExpr { - ConvertRowtypeExpr: { - xpr?: Node; - arg?: Node; - resulttype?: number; - convertformat?: CoercionForm; - location?: number; - }; + xpr?: Node; + arg?: Node; + resulttype?: number; + convertformat?: CoercionForm; + location?: number; } export interface CollateExpr { - CollateExpr: { - xpr?: Node; - arg?: Node; - collOid?: number; - location?: number; - }; + xpr?: Node; + arg?: Node; + collOid?: number; + location?: number; } export interface CaseExpr { - CaseExpr: { - xpr?: Node; - casetype?: number; - casecollid?: number; - arg?: Node; - args?: Node[]; - defresult?: Node; - location?: number; - }; + xpr?: Node; + casetype?: number; + casecollid?: number; + arg?: Node; + args?: Node[]; + defresult?: Node; + location?: number; } export interface CaseWhen { - CaseWhen: { - xpr?: Node; - expr?: Node; - result?: Node; - location?: number; - }; + xpr?: Node; + expr?: Node; + result?: Node; + location?: number; } export interface CaseTestExpr { - CaseTestExpr: { - xpr?: Node; - typeId?: number; - typeMod?: number; - collation?: number; - }; + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; } export interface ArrayExpr { - ArrayExpr: { - xpr?: Node; - array_typeid?: number; - array_collid?: number; - element_typeid?: number; - elements?: Node[]; - multidims?: boolean; - location?: number; - }; + xpr?: Node; + array_typeid?: number; + array_collid?: number; + element_typeid?: number; + elements?: Node[]; + multidims?: boolean; + location?: number; } export interface RowExpr { - RowExpr: { - xpr?: Node; - args?: Node[]; - row_typeid?: number; - row_format?: CoercionForm; - colnames?: Node[]; - location?: number; - }; + xpr?: Node; + args?: Node[]; + row_typeid?: number; + row_format?: CoercionForm; + colnames?: Node[]; + location?: number; } export interface RowCompareExpr { - RowCompareExpr: { - xpr?: Node; - rctype?: RowCompareType; - opnos?: Node[]; - opfamilies?: Node[]; - inputcollids?: Node[]; - largs?: Node[]; - rargs?: Node[]; - }; + xpr?: Node; + rctype?: RowCompareType; + opnos?: Node[]; + opfamilies?: Node[]; + inputcollids?: Node[]; + largs?: Node[]; + rargs?: Node[]; } export interface CoalesceExpr { - CoalesceExpr: { - xpr?: Node; - coalescetype?: number; - coalescecollid?: number; - args?: Node[]; - location?: number; - }; + xpr?: Node; + coalescetype?: number; + coalescecollid?: number; + args?: Node[]; + location?: number; } export interface MinMaxExpr { - MinMaxExpr: { - xpr?: Node; - minmaxtype?: number; - minmaxcollid?: number; - inputcollid?: number; - op?: MinMaxOp; - args?: Node[]; - location?: number; - }; + xpr?: Node; + minmaxtype?: number; + minmaxcollid?: number; + inputcollid?: number; + op?: MinMaxOp; + args?: Node[]; + location?: number; } export interface SQLValueFunction { - SQLValueFunction: { - xpr?: Node; - op?: SQLValueFunctionOp; - type?: number; - typmod?: number; - location?: number; - }; + xpr?: Node; + op?: SQLValueFunctionOp; + type?: number; + typmod?: number; + location?: number; } export interface XmlExpr { - XmlExpr: { - xpr?: Node; - op?: XmlExprOp; - name?: string; - named_args?: Node[]; - arg_names?: Node[]; - args?: Node[]; - xmloption?: XmlOptionType; - indent?: boolean; - type?: number; - typmod?: number; - location?: number; - }; + xpr?: Node; + op?: XmlExprOp; + name?: string; + named_args?: Node[]; + arg_names?: Node[]; + args?: Node[]; + xmloption?: XmlOptionType; + indent?: boolean; + type?: number; + typmod?: number; + location?: number; } export interface JsonFormat { - JsonFormat: { - format_type?: JsonFormatType; - encoding?: JsonEncoding; - location?: number; - }; + format_type?: JsonFormatType; + encoding?: JsonEncoding; + location?: number; } export interface JsonReturning { - JsonReturning: { - format?: JsonFormat; - typid?: number; - typmod?: number; - }; + format?: JsonFormat; + typid?: number; + typmod?: number; } export interface JsonValueExpr { - JsonValueExpr: { - raw_expr?: Node; - formatted_expr?: Node; - format?: JsonFormat; - }; + raw_expr?: Node; + formatted_expr?: Node; + format?: JsonFormat; } export interface JsonConstructorExpr { - JsonConstructorExpr: { - xpr?: Node; - type?: JsonConstructorType; - args?: Node[]; - func?: Node; - coercion?: Node; - returning?: JsonReturning; - absent_on_null?: boolean; - unique?: boolean; - location?: number; - }; + xpr?: Node; + type?: JsonConstructorType; + args?: Node[]; + func?: Node; + coercion?: Node; + returning?: JsonReturning; + absent_on_null?: boolean; + unique?: boolean; + location?: number; } export interface JsonIsPredicate { - JsonIsPredicate: { - expr?: Node; - format?: JsonFormat; - item_type?: JsonValueType; - unique_keys?: boolean; - location?: number; - }; + expr?: Node; + format?: JsonFormat; + item_type?: JsonValueType; + unique_keys?: boolean; + location?: number; } export interface NullTest { - NullTest: { - xpr?: Node; - arg?: Node; - nulltesttype?: NullTestType; - argisrow?: boolean; - location?: number; - }; + xpr?: Node; + arg?: Node; + nulltesttype?: NullTestType; + argisrow?: boolean; + location?: number; } export interface BooleanTest { - BooleanTest: { - xpr?: Node; - arg?: Node; - booltesttype?: BoolTestType; - location?: number; - }; + xpr?: Node; + arg?: Node; + booltesttype?: BoolTestType; + location?: number; } export interface CoerceToDomain { - CoerceToDomain: { - xpr?: Node; - arg?: Node; - resulttype?: number; - resulttypmod?: number; - resultcollid?: number; - coercionformat?: CoercionForm; - location?: number; - }; + xpr?: Node; + arg?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + coercionformat?: CoercionForm; + location?: number; } export interface CoerceToDomainValue { - CoerceToDomainValue: { - xpr?: Node; - typeId?: number; - typeMod?: number; - collation?: number; - location?: number; - }; + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; + location?: number; } export interface SetToDefault { - SetToDefault: { - xpr?: Node; - typeId?: number; - typeMod?: number; - collation?: number; - location?: number; - }; + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; + location?: number; } export interface CurrentOfExpr { - CurrentOfExpr: { - xpr?: Node; - cvarno?: number; - cursor_name?: string; - cursor_param?: number; - }; + xpr?: Node; + cvarno?: number; + cursor_name?: string; + cursor_param?: number; } export interface NextValueExpr { - NextValueExpr: { - xpr?: Node; - seqid?: number; - typeId?: number; - }; + xpr?: Node; + seqid?: number; + typeId?: number; } export interface InferenceElem { - InferenceElem: { - xpr?: Node; - expr?: Node; - infercollid?: number; - inferopclass?: number; - }; + xpr?: Node; + expr?: Node; + infercollid?: number; + inferopclass?: number; } export interface TargetEntry { - TargetEntry: { - xpr?: Node; - expr?: Node; - resno?: number; - resname?: string; - ressortgroupref?: number; - resorigtbl?: number; - resorigcol?: number; - resjunk?: boolean; - }; + xpr?: Node; + expr?: Node; + resno?: number; + resname?: string; + ressortgroupref?: number; + resorigtbl?: number; + resorigcol?: number; + resjunk?: boolean; } export interface RangeTblRef { - RangeTblRef: { - rtindex?: number; - }; + rtindex?: number; } export interface JoinExpr { - JoinExpr: { - jointype?: JoinType; - isNatural?: boolean; - larg?: Node; - rarg?: Node; - usingClause?: Node[]; - join_using_alias?: Alias; - quals?: Node; - alias?: Alias; - rtindex?: number; - }; + jointype?: JoinType; + isNatural?: boolean; + larg?: Node; + rarg?: Node; + usingClause?: Node[]; + join_using_alias?: Alias; + quals?: Node; + alias?: Alias; + rtindex?: number; } export interface FromExpr { - FromExpr: { - fromlist?: Node[]; - quals?: Node; - }; + fromlist?: Node[]; + quals?: Node; } export interface OnConflictExpr { - OnConflictExpr: { - action?: OnConflictAction; - arbiterElems?: Node[]; - arbiterWhere?: Node; - constraint?: number; - onConflictSet?: Node[]; - onConflictWhere?: Node; - exclRelIndex?: number; - exclRelTlist?: Node[]; - }; + action?: OnConflictAction; + arbiterElems?: Node[]; + arbiterWhere?: Node; + constraint?: number; + onConflictSet?: Node[]; + onConflictWhere?: Node; + exclRelIndex?: number; + exclRelTlist?: Node[]; } export interface Query { - Query: { - commandType?: CmdType; - querySource?: QuerySource; - canSetTag?: boolean; - utilityStmt?: Node; - resultRelation?: number; - hasAggs?: boolean; - hasWindowFuncs?: boolean; - hasTargetSRFs?: boolean; - hasSubLinks?: boolean; - hasDistinctOn?: boolean; - hasRecursive?: boolean; - hasModifyingCTE?: boolean; - hasForUpdate?: boolean; - hasRowSecurity?: boolean; - isReturn?: boolean; - cteList?: Node[]; - rtable?: Node[]; - rteperminfos?: Node[]; - jointree?: FromExpr; - mergeActionList?: Node[]; - mergeUseOuterJoin?: boolean; - targetList?: Node[]; - override?: OverridingKind; - onConflict?: OnConflictExpr; - returningList?: Node[]; - groupClause?: Node[]; - groupDistinct?: boolean; - groupingSets?: Node[]; - havingQual?: Node; - windowClause?: Node[]; - distinctClause?: Node[]; - sortClause?: Node[]; - limitOffset?: Node; - limitCount?: Node; - limitOption?: LimitOption; - rowMarks?: Node[]; - setOperations?: Node; - constraintDeps?: Node[]; - withCheckOptions?: Node[]; - stmt_location?: number; - stmt_len?: number; - }; + commandType?: CmdType; + querySource?: QuerySource; + canSetTag?: boolean; + utilityStmt?: Node; + resultRelation?: number; + hasAggs?: boolean; + hasWindowFuncs?: boolean; + hasTargetSRFs?: boolean; + hasSubLinks?: boolean; + hasDistinctOn?: boolean; + hasRecursive?: boolean; + hasModifyingCTE?: boolean; + hasForUpdate?: boolean; + hasRowSecurity?: boolean; + isReturn?: boolean; + cteList?: Node[]; + rtable?: Node[]; + rteperminfos?: Node[]; + jointree?: FromExpr; + mergeActionList?: Node[]; + mergeUseOuterJoin?: boolean; + targetList?: Node[]; + override?: OverridingKind; + onConflict?: OnConflictExpr; + returningList?: Node[]; + groupClause?: Node[]; + groupDistinct?: boolean; + groupingSets?: Node[]; + havingQual?: Node; + windowClause?: Node[]; + distinctClause?: Node[]; + sortClause?: Node[]; + limitOffset?: Node; + limitCount?: Node; + limitOption?: LimitOption; + rowMarks?: Node[]; + setOperations?: Node; + constraintDeps?: Node[]; + withCheckOptions?: Node[]; + stmt_location?: number; + stmt_len?: number; } export interface TypeName { names?: Node[]; @@ -702,1617 +572,1245 @@ export interface TypeName { location?: number; } export interface ColumnRef { - ColumnRef: { - fields?: Node[]; - location?: number; - }; + fields?: Node[]; + location?: number; } export interface ParamRef { - ParamRef: { - number?: number; - location?: number; - }; + number?: number; + location?: number; } export interface A_Expr { - A_Expr: { - kind?: A_Expr_Kind; - name?: Node[]; - lexpr?: Node; - rexpr?: Node; - location?: number; - }; + kind?: A_Expr_Kind; + name?: Node[]; + lexpr?: Node; + rexpr?: Node; + location?: number; } export interface TypeCast { - TypeCast: { - arg?: Node; - typeName?: TypeName; - location?: number; - }; + arg?: Node; + typeName?: TypeName; + location?: number; } export interface CollateClause { - CollateClause: { - arg?: Node; - collname?: Node[]; - location?: number; - }; + arg?: Node; + collname?: Node[]; + location?: number; } export interface RoleSpec { - RoleSpec: { - roletype?: RoleSpecType; - rolename?: string; - location?: number; - }; + roletype?: RoleSpecType; + rolename?: string; + location?: number; } export interface FuncCall { - FuncCall: { - funcname?: Node[]; - args?: Node[]; - agg_order?: Node[]; - agg_filter?: Node; - over?: WindowDef; - agg_within_group?: boolean; - agg_star?: boolean; - agg_distinct?: boolean; - func_variadic?: boolean; - funcformat?: CoercionForm; - location?: number; - }; -} -export interface A_Star { - A_Star: {}; + funcname?: Node[]; + args?: Node[]; + agg_order?: Node[]; + agg_filter?: Node; + over?: WindowDef; + agg_within_group?: boolean; + agg_star?: boolean; + agg_distinct?: boolean; + func_variadic?: boolean; + funcformat?: CoercionForm; + location?: number; } +export interface A_Star {} export interface A_Indices { - A_Indices: { - is_slice?: boolean; - lidx?: Node; - uidx?: Node; - }; + is_slice?: boolean; + lidx?: Node; + uidx?: Node; } export interface A_Indirection { - A_Indirection: { - arg?: Node; - indirection?: Node[]; - }; + arg?: Node; + indirection?: Node[]; } export interface A_ArrayExpr { - A_ArrayExpr: { - elements?: Node[]; - location?: number; - }; + elements?: Node[]; + location?: number; } export interface ResTarget { - ResTarget: { - name?: string; - indirection?: Node[]; - val?: Node; - location?: number; - }; + name?: string; + indirection?: Node[]; + val?: Node; + location?: number; } export interface MultiAssignRef { - MultiAssignRef: { - source?: Node; - colno?: number; - ncolumns?: number; - }; + source?: Node; + colno?: number; + ncolumns?: number; } export interface SortBy { - SortBy: { - node?: Node; - sortby_dir?: SortByDir; - sortby_nulls?: SortByNulls; - useOp?: Node[]; - location?: number; - }; + node?: Node; + sortby_dir?: SortByDir; + sortby_nulls?: SortByNulls; + useOp?: Node[]; + location?: number; } export interface WindowDef { - WindowDef: { - name?: string; - refname?: string; - partitionClause?: Node[]; - orderClause?: Node[]; - frameOptions?: number; - startOffset?: Node; - endOffset?: Node; - location?: number; - }; + name?: string; + refname?: string; + partitionClause?: Node[]; + orderClause?: Node[]; + frameOptions?: number; + startOffset?: Node; + endOffset?: Node; + location?: number; } export interface RangeSubselect { - RangeSubselect: { - lateral?: boolean; - subquery?: Node; - alias?: Alias; - }; + lateral?: boolean; + subquery?: Node; + alias?: Alias; } export interface RangeFunction { - RangeFunction: { - lateral?: boolean; - ordinality?: boolean; - is_rowsfrom?: boolean; - functions?: Node[]; - alias?: Alias; - coldeflist?: Node[]; - }; + lateral?: boolean; + ordinality?: boolean; + is_rowsfrom?: boolean; + functions?: Node[]; + alias?: Alias; + coldeflist?: Node[]; } export interface RangeTableFunc { - RangeTableFunc: { - lateral?: boolean; - docexpr?: Node; - rowexpr?: Node; - namespaces?: Node[]; - columns?: Node[]; - alias?: Alias; - location?: number; - }; + lateral?: boolean; + docexpr?: Node; + rowexpr?: Node; + namespaces?: Node[]; + columns?: Node[]; + alias?: Alias; + location?: number; } export interface RangeTableFuncCol { - RangeTableFuncCol: { - colname?: string; - typeName?: TypeName; - for_ordinality?: boolean; - is_not_null?: boolean; - colexpr?: Node; - coldefexpr?: Node; - location?: number; - }; + colname?: string; + typeName?: TypeName; + for_ordinality?: boolean; + is_not_null?: boolean; + colexpr?: Node; + coldefexpr?: Node; + location?: number; } export interface RangeTableSample { - RangeTableSample: { - relation?: Node; - method?: Node[]; - args?: Node[]; - repeatable?: Node; - location?: number; - }; + relation?: Node; + method?: Node[]; + args?: Node[]; + repeatable?: Node; + location?: number; } export interface ColumnDef { - ColumnDef: { - colname?: string; - typeName?: TypeName; - compression?: string; - inhcount?: number; - is_local?: boolean; - is_not_null?: boolean; - is_from_type?: boolean; - storage?: string; - storage_name?: string; - raw_default?: Node; - cooked_default?: Node; - identity?: string; - identitySequence?: RangeVar; - generated?: string; - collClause?: CollateClause; - collOid?: number; - constraints?: Node[]; - fdwoptions?: Node[]; - location?: number; - }; + colname?: string; + typeName?: TypeName; + compression?: string; + inhcount?: number; + is_local?: boolean; + is_not_null?: boolean; + is_from_type?: boolean; + storage?: string; + storage_name?: string; + raw_default?: Node; + cooked_default?: Node; + identity?: string; + identitySequence?: RangeVar; + generated?: string; + collClause?: CollateClause; + collOid?: number; + constraints?: Node[]; + fdwoptions?: Node[]; + location?: number; } export interface TableLikeClause { - TableLikeClause: { - relation?: RangeVar; - options?: number; - relationOid?: number; - }; + relation?: RangeVar; + options?: number; + relationOid?: number; } export interface IndexElem { - IndexElem: { - name?: string; - expr?: Node; - indexcolname?: string; - collation?: Node[]; - opclass?: Node[]; - opclassopts?: Node[]; - ordering?: SortByDir; - nulls_ordering?: SortByNulls; - }; + name?: string; + expr?: Node; + indexcolname?: string; + collation?: Node[]; + opclass?: Node[]; + opclassopts?: Node[]; + ordering?: SortByDir; + nulls_ordering?: SortByNulls; } export interface DefElem { - DefElem: { - defnamespace?: string; - defname?: string; - arg?: Node; - defaction?: DefElemAction; - location?: number; - }; + defnamespace?: string; + defname?: string; + arg?: Node; + defaction?: DefElemAction; + location?: number; } export interface LockingClause { - LockingClause: { - lockedRels?: Node[]; - strength?: LockClauseStrength; - waitPolicy?: LockWaitPolicy; - }; + lockedRels?: Node[]; + strength?: LockClauseStrength; + waitPolicy?: LockWaitPolicy; } export interface XmlSerialize { - XmlSerialize: { - xmloption?: XmlOptionType; - expr?: Node; - typeName?: TypeName; - indent?: boolean; - location?: number; - }; + xmloption?: XmlOptionType; + expr?: Node; + typeName?: TypeName; + indent?: boolean; + location?: number; } export interface PartitionElem { - PartitionElem: { - name?: string; - expr?: Node; - collation?: Node[]; - opclass?: Node[]; - location?: number; - }; + name?: string; + expr?: Node; + collation?: Node[]; + opclass?: Node[]; + location?: number; } export interface PartitionSpec { - PartitionSpec: { - strategy?: PartitionStrategy; - partParams?: Node[]; - location?: number; - }; + strategy?: PartitionStrategy; + partParams?: Node[]; + location?: number; } export interface PartitionBoundSpec { - PartitionBoundSpec: { - strategy?: string; - is_default?: boolean; - modulus?: number; - remainder?: number; - listdatums?: Node[]; - lowerdatums?: Node[]; - upperdatums?: Node[]; - location?: number; - }; + strategy?: string; + is_default?: boolean; + modulus?: number; + remainder?: number; + listdatums?: Node[]; + lowerdatums?: Node[]; + upperdatums?: Node[]; + location?: number; } export interface PartitionRangeDatum { - PartitionRangeDatum: { - kind?: PartitionRangeDatumKind; - value?: Node; - location?: number; - }; + kind?: PartitionRangeDatumKind; + value?: Node; + location?: number; } export interface PartitionCmd { - PartitionCmd: { - name?: RangeVar; - bound?: PartitionBoundSpec; - concurrent?: boolean; - }; + name?: RangeVar; + bound?: PartitionBoundSpec; + concurrent?: boolean; } export interface RangeTblEntry { - RangeTblEntry: { - rtekind?: RTEKind; - relid?: number; - relkind?: string; - rellockmode?: number; - tablesample?: TableSampleClause; - perminfoindex?: number; - subquery?: Query; - security_barrier?: boolean; - jointype?: JoinType; - joinmergedcols?: number; - joinaliasvars?: Node[]; - joinleftcols?: Node[]; - joinrightcols?: Node[]; - join_using_alias?: Alias; - functions?: Node[]; - funcordinality?: boolean; - tablefunc?: TableFunc; - values_lists?: Node[]; - ctename?: string; - ctelevelsup?: number; - self_reference?: boolean; - coltypes?: Node[]; - coltypmods?: Node[]; - colcollations?: Node[]; - enrname?: string; - enrtuples?: number; - alias?: Alias; - eref?: Alias; - lateral?: boolean; - inh?: boolean; - inFromCl?: boolean; - securityQuals?: Node[]; - }; + rtekind?: RTEKind; + relid?: number; + relkind?: string; + rellockmode?: number; + tablesample?: TableSampleClause; + perminfoindex?: number; + subquery?: Query; + security_barrier?: boolean; + jointype?: JoinType; + joinmergedcols?: number; + joinaliasvars?: Node[]; + joinleftcols?: Node[]; + joinrightcols?: Node[]; + join_using_alias?: Alias; + functions?: Node[]; + funcordinality?: boolean; + tablefunc?: TableFunc; + values_lists?: Node[]; + ctename?: string; + ctelevelsup?: number; + self_reference?: boolean; + coltypes?: Node[]; + coltypmods?: Node[]; + colcollations?: Node[]; + enrname?: string; + enrtuples?: number; + alias?: Alias; + eref?: Alias; + lateral?: boolean; + inh?: boolean; + inFromCl?: boolean; + securityQuals?: Node[]; } export interface RTEPermissionInfo { - RTEPermissionInfo: { - relid?: number; - inh?: boolean; - requiredPerms?: bigint; - checkAsUser?: number; - selectedCols?: bigint[]; - insertedCols?: bigint[]; - updatedCols?: bigint[]; - }; + relid?: number; + inh?: boolean; + requiredPerms?: bigint; + checkAsUser?: number; + selectedCols?: bigint[]; + insertedCols?: bigint[]; + updatedCols?: bigint[]; } export interface RangeTblFunction { - RangeTblFunction: { - funcexpr?: Node; - funccolcount?: number; - funccolnames?: Node[]; - funccoltypes?: Node[]; - funccoltypmods?: Node[]; - funccolcollations?: Node[]; - funcparams?: bigint[]; - }; + funcexpr?: Node; + funccolcount?: number; + funccolnames?: Node[]; + funccoltypes?: Node[]; + funccoltypmods?: Node[]; + funccolcollations?: Node[]; + funcparams?: bigint[]; } export interface TableSampleClause { - TableSampleClause: { - tsmhandler?: number; - args?: Node[]; - repeatable?: Node; - }; + tsmhandler?: number; + args?: Node[]; + repeatable?: Node; } export interface WithCheckOption { - WithCheckOption: { - kind?: WCOKind; - relname?: string; - polname?: string; - qual?: Node; - cascaded?: boolean; - }; + kind?: WCOKind; + relname?: string; + polname?: string; + qual?: Node; + cascaded?: boolean; } export interface SortGroupClause { - SortGroupClause: { - tleSortGroupRef?: number; - eqop?: number; - sortop?: number; - nulls_first?: boolean; - hashable?: boolean; - }; + tleSortGroupRef?: number; + eqop?: number; + sortop?: number; + nulls_first?: boolean; + hashable?: boolean; } export interface GroupingSet { - GroupingSet: { - kind?: GroupingSetKind; - content?: Node[]; - location?: number; - }; + kind?: GroupingSetKind; + content?: Node[]; + location?: number; } export interface WindowClause { - WindowClause: { - name?: string; - refname?: string; - partitionClause?: Node[]; - orderClause?: Node[]; - frameOptions?: number; - startOffset?: Node; - endOffset?: Node; - runCondition?: Node[]; - startInRangeFunc?: number; - endInRangeFunc?: number; - inRangeColl?: number; - inRangeAsc?: boolean; - inRangeNullsFirst?: boolean; - winref?: number; - copiedOrder?: boolean; - }; + name?: string; + refname?: string; + partitionClause?: Node[]; + orderClause?: Node[]; + frameOptions?: number; + startOffset?: Node; + endOffset?: Node; + runCondition?: Node[]; + startInRangeFunc?: number; + endInRangeFunc?: number; + inRangeColl?: number; + inRangeAsc?: boolean; + inRangeNullsFirst?: boolean; + winref?: number; + copiedOrder?: boolean; } export interface RowMarkClause { - RowMarkClause: { - rti?: number; - strength?: LockClauseStrength; - waitPolicy?: LockWaitPolicy; - pushedDown?: boolean; - }; + rti?: number; + strength?: LockClauseStrength; + waitPolicy?: LockWaitPolicy; + pushedDown?: boolean; } export interface WithClause { - WithClause: { - ctes?: Node[]; - recursive?: boolean; - location?: number; - }; + ctes?: Node[]; + recursive?: boolean; + location?: number; } export interface InferClause { - InferClause: { - indexElems?: Node[]; - whereClause?: Node; - conname?: string; - location?: number; - }; + indexElems?: Node[]; + whereClause?: Node; + conname?: string; + location?: number; } export interface OnConflictClause { - OnConflictClause: { - action?: OnConflictAction; - infer?: InferClause; - targetList?: Node[]; - whereClause?: Node; - location?: number; - }; + action?: OnConflictAction; + infer?: InferClause; + targetList?: Node[]; + whereClause?: Node; + location?: number; } export interface CTESearchClause { - CTESearchClause: { - search_col_list?: Node[]; - search_breadth_first?: boolean; - search_seq_column?: string; - location?: number; - }; + search_col_list?: Node[]; + search_breadth_first?: boolean; + search_seq_column?: string; + location?: number; } export interface CTECycleClause { - CTECycleClause: { - cycle_col_list?: Node[]; - cycle_mark_column?: string; - cycle_mark_value?: Node; - cycle_mark_default?: Node; - cycle_path_column?: string; - location?: number; - cycle_mark_type?: number; - cycle_mark_typmod?: number; - cycle_mark_collation?: number; - cycle_mark_neop?: number; - }; + cycle_col_list?: Node[]; + cycle_mark_column?: string; + cycle_mark_value?: Node; + cycle_mark_default?: Node; + cycle_path_column?: string; + location?: number; + cycle_mark_type?: number; + cycle_mark_typmod?: number; + cycle_mark_collation?: number; + cycle_mark_neop?: number; } export interface CommonTableExpr { - CommonTableExpr: { - ctename?: string; - aliascolnames?: Node[]; - ctematerialized?: CTEMaterialize; - ctequery?: Node; - search_clause?: CTESearchClause; - cycle_clause?: CTECycleClause; - location?: number; - cterecursive?: boolean; - cterefcount?: number; - ctecolnames?: Node[]; - ctecoltypes?: Node[]; - ctecoltypmods?: Node[]; - ctecolcollations?: Node[]; - }; + ctename?: string; + aliascolnames?: Node[]; + ctematerialized?: CTEMaterialize; + ctequery?: Node; + search_clause?: CTESearchClause; + cycle_clause?: CTECycleClause; + location?: number; + cterecursive?: boolean; + cterefcount?: number; + ctecolnames?: Node[]; + ctecoltypes?: Node[]; + ctecoltypmods?: Node[]; + ctecolcollations?: Node[]; } export interface MergeWhenClause { - MergeWhenClause: { - matched?: boolean; - commandType?: CmdType; - override?: OverridingKind; - condition?: Node; - targetList?: Node[]; - values?: Node[]; - }; + matched?: boolean; + commandType?: CmdType; + override?: OverridingKind; + condition?: Node; + targetList?: Node[]; + values?: Node[]; } export interface MergeAction { - MergeAction: { - matched?: boolean; - commandType?: CmdType; - override?: OverridingKind; - qual?: Node; - targetList?: Node[]; - updateColnos?: Node[]; - }; + matched?: boolean; + commandType?: CmdType; + override?: OverridingKind; + qual?: Node; + targetList?: Node[]; + updateColnos?: Node[]; } export interface TriggerTransition { - TriggerTransition: { - name?: string; - isNew?: boolean; - isTable?: boolean; - }; + name?: string; + isNew?: boolean; + isTable?: boolean; } export interface JsonOutput { - JsonOutput: { - typeName?: TypeName; - returning?: JsonReturning; - }; + typeName?: TypeName; + returning?: JsonReturning; } export interface JsonKeyValue { - JsonKeyValue: { - key?: Node; - value?: JsonValueExpr; - }; + key?: Node; + value?: JsonValueExpr; } export interface JsonObjectConstructor { - JsonObjectConstructor: { - exprs?: Node[]; - output?: JsonOutput; - absent_on_null?: boolean; - unique?: boolean; - location?: number; - }; + exprs?: Node[]; + output?: JsonOutput; + absent_on_null?: boolean; + unique?: boolean; + location?: number; } export interface JsonArrayConstructor { - JsonArrayConstructor: { - exprs?: Node[]; - output?: JsonOutput; - absent_on_null?: boolean; - location?: number; - }; + exprs?: Node[]; + output?: JsonOutput; + absent_on_null?: boolean; + location?: number; } export interface JsonArrayQueryConstructor { - JsonArrayQueryConstructor: { - query?: Node; - output?: JsonOutput; - format?: JsonFormat; - absent_on_null?: boolean; - location?: number; - }; + query?: Node; + output?: JsonOutput; + format?: JsonFormat; + absent_on_null?: boolean; + location?: number; } export interface JsonAggConstructor { - JsonAggConstructor: { - output?: JsonOutput; - agg_filter?: Node; - agg_order?: Node[]; - over?: WindowDef; - location?: number; - }; + output?: JsonOutput; + agg_filter?: Node; + agg_order?: Node[]; + over?: WindowDef; + location?: number; } export interface JsonObjectAgg { - JsonObjectAgg: { - constructor?: JsonAggConstructor; - arg?: JsonKeyValue; - absent_on_null?: boolean; - unique?: boolean; - }; + constructor?: JsonAggConstructor; + arg?: JsonKeyValue; + absent_on_null?: boolean; + unique?: boolean; } export interface JsonArrayAgg { - JsonArrayAgg: { - constructor?: JsonAggConstructor; - arg?: JsonValueExpr; - absent_on_null?: boolean; - }; + constructor?: JsonAggConstructor; + arg?: JsonValueExpr; + absent_on_null?: boolean; } export interface RawStmt { - RawStmt: { - stmt?: Node; - stmt_location?: number; - stmt_len?: number; - }; + stmt?: Node; + stmt_location?: number; + stmt_len?: number; } export interface InsertStmt { - InsertStmt: { - relation?: RangeVar; - cols?: Node[]; - selectStmt?: Node; - onConflictClause?: OnConflictClause; - returningList?: Node[]; - withClause?: WithClause; - override?: OverridingKind; - }; + relation?: RangeVar; + cols?: Node[]; + selectStmt?: Node; + onConflictClause?: OnConflictClause; + returningList?: Node[]; + withClause?: WithClause; + override?: OverridingKind; } export interface DeleteStmt { - DeleteStmt: { - relation?: RangeVar; - usingClause?: Node[]; - whereClause?: Node; - returningList?: Node[]; - withClause?: WithClause; - }; + relation?: RangeVar; + usingClause?: Node[]; + whereClause?: Node; + returningList?: Node[]; + withClause?: WithClause; } export interface UpdateStmt { - UpdateStmt: { - relation?: RangeVar; - targetList?: Node[]; - whereClause?: Node; - fromClause?: Node[]; - returningList?: Node[]; - withClause?: WithClause; - }; + relation?: RangeVar; + targetList?: Node[]; + whereClause?: Node; + fromClause?: Node[]; + returningList?: Node[]; + withClause?: WithClause; } export interface MergeStmt { - MergeStmt: { - relation?: RangeVar; - sourceRelation?: Node; - joinCondition?: Node; - mergeWhenClauses?: Node[]; - withClause?: WithClause; - }; + relation?: RangeVar; + sourceRelation?: Node; + joinCondition?: Node; + mergeWhenClauses?: Node[]; + withClause?: WithClause; } export interface SelectStmt { - SelectStmt: { - distinctClause?: Node[]; - intoClause?: IntoClause; - targetList?: Node[]; - fromClause?: Node[]; - whereClause?: Node; - groupClause?: Node[]; - groupDistinct?: boolean; - havingClause?: Node; - windowClause?: Node[]; - valuesLists?: Node[]; - sortClause?: Node[]; - limitOffset?: Node; - limitCount?: Node; - limitOption?: LimitOption; - lockingClause?: Node[]; - withClause?: WithClause; - op?: SetOperation; - all?: boolean; - larg?: SelectStmt; - rarg?: SelectStmt; - }; + distinctClause?: Node[]; + intoClause?: IntoClause; + targetList?: Node[]; + fromClause?: Node[]; + whereClause?: Node; + groupClause?: Node[]; + groupDistinct?: boolean; + havingClause?: Node; + windowClause?: Node[]; + valuesLists?: Node[]; + sortClause?: Node[]; + limitOffset?: Node; + limitCount?: Node; + limitOption?: LimitOption; + lockingClause?: Node[]; + withClause?: WithClause; + op?: SetOperation; + all?: boolean; + larg?: SelectStmt; + rarg?: SelectStmt; } export interface SetOperationStmt { - SetOperationStmt: { - op?: SetOperation; - all?: boolean; - larg?: Node; - rarg?: Node; - colTypes?: Node[]; - colTypmods?: Node[]; - colCollations?: Node[]; - groupClauses?: Node[]; - }; + op?: SetOperation; + all?: boolean; + larg?: Node; + rarg?: Node; + colTypes?: Node[]; + colTypmods?: Node[]; + colCollations?: Node[]; + groupClauses?: Node[]; } export interface ReturnStmt { - ReturnStmt: { - returnval?: Node; - }; + returnval?: Node; } export interface PLAssignStmt { - PLAssignStmt: { - name?: string; - indirection?: Node[]; - nnames?: number; - val?: SelectStmt; - location?: number; - }; + name?: string; + indirection?: Node[]; + nnames?: number; + val?: SelectStmt; + location?: number; } export interface CreateSchemaStmt { - CreateSchemaStmt: { - schemaname?: string; - authrole?: RoleSpec; - schemaElts?: Node[]; - if_not_exists?: boolean; - }; + schemaname?: string; + authrole?: RoleSpec; + schemaElts?: Node[]; + if_not_exists?: boolean; } export interface AlterTableStmt { - AlterTableStmt: { - relation?: RangeVar; - cmds?: Node[]; - objtype?: ObjectType; - missing_ok?: boolean; - }; + relation?: RangeVar; + cmds?: Node[]; + objtype?: ObjectType; + missing_ok?: boolean; } export interface ReplicaIdentityStmt { - ReplicaIdentityStmt: { - identity_type?: string; - name?: string; - }; + identity_type?: string; + name?: string; } export interface AlterTableCmd { - AlterTableCmd: { - subtype?: AlterTableType; - name?: string; - num?: number; - newowner?: RoleSpec; - def?: Node; - behavior?: DropBehavior; - missing_ok?: boolean; - recurse?: boolean; - }; + subtype?: AlterTableType; + name?: string; + num?: number; + newowner?: RoleSpec; + def?: Node; + behavior?: DropBehavior; + missing_ok?: boolean; + recurse?: boolean; } export interface AlterCollationStmt { - AlterCollationStmt: { - collname?: Node[]; - }; + collname?: Node[]; } export interface AlterDomainStmt { - AlterDomainStmt: { - subtype?: string; - typeName?: Node[]; - name?: string; - def?: Node; - behavior?: DropBehavior; - missing_ok?: boolean; - }; + subtype?: string; + typeName?: Node[]; + name?: string; + def?: Node; + behavior?: DropBehavior; + missing_ok?: boolean; } export interface GrantStmt { - GrantStmt: { - is_grant?: boolean; - targtype?: GrantTargetType; - objtype?: ObjectType; - objects?: Node[]; - privileges?: Node[]; - grantees?: Node[]; - grant_option?: boolean; - grantor?: RoleSpec; - behavior?: DropBehavior; - }; + is_grant?: boolean; + targtype?: GrantTargetType; + objtype?: ObjectType; + objects?: Node[]; + privileges?: Node[]; + grantees?: Node[]; + grant_option?: boolean; + grantor?: RoleSpec; + behavior?: DropBehavior; } export interface ObjectWithArgs { - ObjectWithArgs: { - objname?: Node[]; - objargs?: Node[]; - objfuncargs?: Node[]; - args_unspecified?: boolean; - }; + objname?: Node[]; + objargs?: Node[]; + objfuncargs?: Node[]; + args_unspecified?: boolean; } export interface AccessPriv { - AccessPriv: { - priv_name?: string; - cols?: Node[]; - }; + priv_name?: string; + cols?: Node[]; } export interface GrantRoleStmt { - GrantRoleStmt: { - granted_roles?: Node[]; - grantee_roles?: Node[]; - is_grant?: boolean; - opt?: Node[]; - grantor?: RoleSpec; - behavior?: DropBehavior; - }; + granted_roles?: Node[]; + grantee_roles?: Node[]; + is_grant?: boolean; + opt?: Node[]; + grantor?: RoleSpec; + behavior?: DropBehavior; } export interface AlterDefaultPrivilegesStmt { - AlterDefaultPrivilegesStmt: { - options?: Node[]; - action?: GrantStmt; - }; + options?: Node[]; + action?: GrantStmt; } export interface CopyStmt { - CopyStmt: { - relation?: RangeVar; - query?: Node; - attlist?: Node[]; - is_from?: boolean; - is_program?: boolean; - filename?: string; - options?: Node[]; - whereClause?: Node; - }; + relation?: RangeVar; + query?: Node; + attlist?: Node[]; + is_from?: boolean; + is_program?: boolean; + filename?: string; + options?: Node[]; + whereClause?: Node; } export interface VariableSetStmt { - VariableSetStmt: { - kind?: VariableSetKind; - name?: string; - args?: Node[]; - is_local?: boolean; - }; + kind?: VariableSetKind; + name?: string; + args?: Node[]; + is_local?: boolean; } export interface VariableShowStmt { - VariableShowStmt: { - name?: string; - }; + name?: string; } export interface CreateStmt { - CreateStmt: { - relation?: RangeVar; - tableElts?: Node[]; - inhRelations?: Node[]; - partbound?: PartitionBoundSpec; - partspec?: PartitionSpec; - ofTypename?: TypeName; - constraints?: Node[]; - options?: Node[]; - oncommit?: OnCommitAction; - tablespacename?: string; - accessMethod?: string; - if_not_exists?: boolean; - }; + relation?: RangeVar; + tableElts?: Node[]; + inhRelations?: Node[]; + partbound?: PartitionBoundSpec; + partspec?: PartitionSpec; + ofTypename?: TypeName; + constraints?: Node[]; + options?: Node[]; + oncommit?: OnCommitAction; + tablespacename?: string; + accessMethod?: string; + if_not_exists?: boolean; } export interface Constraint { - Constraint: { - contype?: ConstrType; - conname?: string; - deferrable?: boolean; - initdeferred?: boolean; - location?: number; - is_no_inherit?: boolean; - raw_expr?: Node; - cooked_expr?: string; - generated_when?: string; - nulls_not_distinct?: boolean; - keys?: Node[]; - including?: Node[]; - exclusions?: Node[]; - options?: Node[]; - indexname?: string; - indexspace?: string; - reset_default_tblspc?: boolean; - access_method?: string; - where_clause?: Node; - pktable?: RangeVar; - fk_attrs?: Node[]; - pk_attrs?: Node[]; - fk_matchtype?: string; - fk_upd_action?: string; - fk_del_action?: string; - fk_del_set_cols?: Node[]; - old_conpfeqop?: Node[]; - old_pktable_oid?: number; - skip_validation?: boolean; - initially_valid?: boolean; - }; + contype?: ConstrType; + conname?: string; + deferrable?: boolean; + initdeferred?: boolean; + location?: number; + is_no_inherit?: boolean; + raw_expr?: Node; + cooked_expr?: string; + generated_when?: string; + nulls_not_distinct?: boolean; + keys?: Node[]; + including?: Node[]; + exclusions?: Node[]; + options?: Node[]; + indexname?: string; + indexspace?: string; + reset_default_tblspc?: boolean; + access_method?: string; + where_clause?: Node; + pktable?: RangeVar; + fk_attrs?: Node[]; + pk_attrs?: Node[]; + fk_matchtype?: string; + fk_upd_action?: string; + fk_del_action?: string; + fk_del_set_cols?: Node[]; + old_conpfeqop?: Node[]; + old_pktable_oid?: number; + skip_validation?: boolean; + initially_valid?: boolean; } export interface CreateTableSpaceStmt { - CreateTableSpaceStmt: { - tablespacename?: string; - owner?: RoleSpec; - location?: string; - options?: Node[]; - }; + tablespacename?: string; + owner?: RoleSpec; + location?: string; + options?: Node[]; } export interface DropTableSpaceStmt { - DropTableSpaceStmt: { - tablespacename?: string; - missing_ok?: boolean; - }; + tablespacename?: string; + missing_ok?: boolean; } export interface AlterTableSpaceOptionsStmt { - AlterTableSpaceOptionsStmt: { - tablespacename?: string; - options?: Node[]; - isReset?: boolean; - }; + tablespacename?: string; + options?: Node[]; + isReset?: boolean; } export interface AlterTableMoveAllStmt { - AlterTableMoveAllStmt: { - orig_tablespacename?: string; - objtype?: ObjectType; - roles?: Node[]; - new_tablespacename?: string; - nowait?: boolean; - }; + orig_tablespacename?: string; + objtype?: ObjectType; + roles?: Node[]; + new_tablespacename?: string; + nowait?: boolean; } export interface CreateExtensionStmt { - CreateExtensionStmt: { - extname?: string; - if_not_exists?: boolean; - options?: Node[]; - }; + extname?: string; + if_not_exists?: boolean; + options?: Node[]; } export interface AlterExtensionStmt { - AlterExtensionStmt: { - extname?: string; - options?: Node[]; - }; + extname?: string; + options?: Node[]; } export interface AlterExtensionContentsStmt { - AlterExtensionContentsStmt: { - extname?: string; - action?: number; - objtype?: ObjectType; - object?: Node; - }; + extname?: string; + action?: number; + objtype?: ObjectType; + object?: Node; } export interface CreateFdwStmt { - CreateFdwStmt: { - fdwname?: string; - func_options?: Node[]; - options?: Node[]; - }; + fdwname?: string; + func_options?: Node[]; + options?: Node[]; } export interface AlterFdwStmt { - AlterFdwStmt: { - fdwname?: string; - func_options?: Node[]; - options?: Node[]; - }; + fdwname?: string; + func_options?: Node[]; + options?: Node[]; } export interface CreateForeignServerStmt { - CreateForeignServerStmt: { - servername?: string; - servertype?: string; - version?: string; - fdwname?: string; - if_not_exists?: boolean; - options?: Node[]; - }; + servername?: string; + servertype?: string; + version?: string; + fdwname?: string; + if_not_exists?: boolean; + options?: Node[]; } export interface AlterForeignServerStmt { - AlterForeignServerStmt: { - servername?: string; - version?: string; - options?: Node[]; - has_version?: boolean; - }; + servername?: string; + version?: string; + options?: Node[]; + has_version?: boolean; } export interface CreateForeignTableStmt { - CreateForeignTableStmt: { - base?: CreateStmt; - servername?: string; - options?: Node[]; - }; + base?: CreateStmt; + servername?: string; + options?: Node[]; } export interface CreateUserMappingStmt { - CreateUserMappingStmt: { - user?: RoleSpec; - servername?: string; - if_not_exists?: boolean; - options?: Node[]; - }; + user?: RoleSpec; + servername?: string; + if_not_exists?: boolean; + options?: Node[]; } export interface AlterUserMappingStmt { - AlterUserMappingStmt: { - user?: RoleSpec; - servername?: string; - options?: Node[]; - }; + user?: RoleSpec; + servername?: string; + options?: Node[]; } export interface DropUserMappingStmt { - DropUserMappingStmt: { - user?: RoleSpec; - servername?: string; - missing_ok?: boolean; - }; + user?: RoleSpec; + servername?: string; + missing_ok?: boolean; } export interface ImportForeignSchemaStmt { - ImportForeignSchemaStmt: { - server_name?: string; - remote_schema?: string; - local_schema?: string; - list_type?: ImportForeignSchemaType; - table_list?: Node[]; - options?: Node[]; - }; + server_name?: string; + remote_schema?: string; + local_schema?: string; + list_type?: ImportForeignSchemaType; + table_list?: Node[]; + options?: Node[]; } export interface CreatePolicyStmt { - CreatePolicyStmt: { - policy_name?: string; - table?: RangeVar; - cmd_name?: string; - permissive?: boolean; - roles?: Node[]; - qual?: Node; - with_check?: Node; - }; + policy_name?: string; + table?: RangeVar; + cmd_name?: string; + permissive?: boolean; + roles?: Node[]; + qual?: Node; + with_check?: Node; } export interface AlterPolicyStmt { - AlterPolicyStmt: { - policy_name?: string; - table?: RangeVar; - roles?: Node[]; - qual?: Node; - with_check?: Node; - }; + policy_name?: string; + table?: RangeVar; + roles?: Node[]; + qual?: Node; + with_check?: Node; } export interface CreateAmStmt { - CreateAmStmt: { - amname?: string; - handler_name?: Node[]; - amtype?: string; - }; + amname?: string; + handler_name?: Node[]; + amtype?: string; } export interface CreateTrigStmt { - CreateTrigStmt: { - replace?: boolean; - isconstraint?: boolean; - trigname?: string; - relation?: RangeVar; - funcname?: Node[]; - args?: Node[]; - row?: boolean; - timing?: number; - events?: number; - columns?: Node[]; - whenClause?: Node; - transitionRels?: Node[]; - deferrable?: boolean; - initdeferred?: boolean; - constrrel?: RangeVar; - }; + replace?: boolean; + isconstraint?: boolean; + trigname?: string; + relation?: RangeVar; + funcname?: Node[]; + args?: Node[]; + row?: boolean; + timing?: number; + events?: number; + columns?: Node[]; + whenClause?: Node; + transitionRels?: Node[]; + deferrable?: boolean; + initdeferred?: boolean; + constrrel?: RangeVar; } export interface CreateEventTrigStmt { - CreateEventTrigStmt: { - trigname?: string; - eventname?: string; - whenclause?: Node[]; - funcname?: Node[]; - }; + trigname?: string; + eventname?: string; + whenclause?: Node[]; + funcname?: Node[]; } export interface AlterEventTrigStmt { - AlterEventTrigStmt: { - trigname?: string; - tgenabled?: string; - }; + trigname?: string; + tgenabled?: string; } export interface CreatePLangStmt { - CreatePLangStmt: { - replace?: boolean; - plname?: string; - plhandler?: Node[]; - plinline?: Node[]; - plvalidator?: Node[]; - pltrusted?: boolean; - }; + replace?: boolean; + plname?: string; + plhandler?: Node[]; + plinline?: Node[]; + plvalidator?: Node[]; + pltrusted?: boolean; } export interface CreateRoleStmt { - CreateRoleStmt: { - stmt_type?: RoleStmtType; - role?: string; - options?: Node[]; - }; + stmt_type?: RoleStmtType; + role?: string; + options?: Node[]; } export interface AlterRoleStmt { - AlterRoleStmt: { - role?: RoleSpec; - options?: Node[]; - action?: number; - }; + role?: RoleSpec; + options?: Node[]; + action?: number; } export interface AlterRoleSetStmt { - AlterRoleSetStmt: { - role?: RoleSpec; - database?: string; - setstmt?: VariableSetStmt; - }; + role?: RoleSpec; + database?: string; + setstmt?: VariableSetStmt; } export interface DropRoleStmt { - DropRoleStmt: { - roles?: Node[]; - missing_ok?: boolean; - }; + roles?: Node[]; + missing_ok?: boolean; } export interface CreateSeqStmt { - CreateSeqStmt: { - sequence?: RangeVar; - options?: Node[]; - ownerId?: number; - for_identity?: boolean; - if_not_exists?: boolean; - }; + sequence?: RangeVar; + options?: Node[]; + ownerId?: number; + for_identity?: boolean; + if_not_exists?: boolean; } export interface AlterSeqStmt { - AlterSeqStmt: { - sequence?: RangeVar; - options?: Node[]; - for_identity?: boolean; - missing_ok?: boolean; - }; + sequence?: RangeVar; + options?: Node[]; + for_identity?: boolean; + missing_ok?: boolean; } export interface DefineStmt { - DefineStmt: { - kind?: ObjectType; - oldstyle?: boolean; - defnames?: Node[]; - args?: Node[]; - definition?: Node[]; - if_not_exists?: boolean; - replace?: boolean; - }; + kind?: ObjectType; + oldstyle?: boolean; + defnames?: Node[]; + args?: Node[]; + definition?: Node[]; + if_not_exists?: boolean; + replace?: boolean; } export interface CreateDomainStmt { - CreateDomainStmt: { - domainname?: Node[]; - typeName?: TypeName; - collClause?: CollateClause; - constraints?: Node[]; - }; + domainname?: Node[]; + typeName?: TypeName; + collClause?: CollateClause; + constraints?: Node[]; } export interface CreateOpClassStmt { - CreateOpClassStmt: { - opclassname?: Node[]; - opfamilyname?: Node[]; - amname?: string; - datatype?: TypeName; - items?: Node[]; - isDefault?: boolean; - }; + opclassname?: Node[]; + opfamilyname?: Node[]; + amname?: string; + datatype?: TypeName; + items?: Node[]; + isDefault?: boolean; } export interface CreateOpClassItem { - CreateOpClassItem: { - itemtype?: number; - name?: ObjectWithArgs; - number?: number; - order_family?: Node[]; - class_args?: Node[]; - storedtype?: TypeName; - }; + itemtype?: number; + name?: ObjectWithArgs; + number?: number; + order_family?: Node[]; + class_args?: Node[]; + storedtype?: TypeName; } export interface CreateOpFamilyStmt { - CreateOpFamilyStmt: { - opfamilyname?: Node[]; - amname?: string; - }; + opfamilyname?: Node[]; + amname?: string; } export interface AlterOpFamilyStmt { - AlterOpFamilyStmt: { - opfamilyname?: Node[]; - amname?: string; - isDrop?: boolean; - items?: Node[]; - }; + opfamilyname?: Node[]; + amname?: string; + isDrop?: boolean; + items?: Node[]; } export interface DropStmt { - DropStmt: { - objects?: Node[]; - removeType?: ObjectType; - behavior?: DropBehavior; - missing_ok?: boolean; - concurrent?: boolean; - }; + objects?: Node[]; + removeType?: ObjectType; + behavior?: DropBehavior; + missing_ok?: boolean; + concurrent?: boolean; } export interface TruncateStmt { - TruncateStmt: { - relations?: Node[]; - restart_seqs?: boolean; - behavior?: DropBehavior; - }; + relations?: Node[]; + restart_seqs?: boolean; + behavior?: DropBehavior; } export interface CommentStmt { - CommentStmt: { - objtype?: ObjectType; - object?: Node; - comment?: string; - }; + objtype?: ObjectType; + object?: Node; + comment?: string; } export interface SecLabelStmt { - SecLabelStmt: { - objtype?: ObjectType; - object?: Node; - provider?: string; - label?: string; - }; + objtype?: ObjectType; + object?: Node; + provider?: string; + label?: string; } export interface DeclareCursorStmt { - DeclareCursorStmt: { - portalname?: string; - options?: number; - query?: Node; - }; + portalname?: string; + options?: number; + query?: Node; } export interface ClosePortalStmt { - ClosePortalStmt: { - portalname?: string; - }; + portalname?: string; } export interface FetchStmt { - FetchStmt: { - direction?: FetchDirection; - howMany?: bigint; - portalname?: string; - ismove?: boolean; - }; + direction?: FetchDirection; + howMany?: bigint; + portalname?: string; + ismove?: boolean; } export interface IndexStmt { - IndexStmt: { - idxname?: string; - relation?: RangeVar; - accessMethod?: string; - tableSpace?: string; - indexParams?: Node[]; - indexIncludingParams?: Node[]; - options?: Node[]; - whereClause?: Node; - excludeOpNames?: Node[]; - idxcomment?: string; - indexOid?: number; - oldNumber?: number; - oldCreateSubid?: number; - oldFirstRelfilelocatorSubid?: number; - unique?: boolean; - nulls_not_distinct?: boolean; - primary?: boolean; - isconstraint?: boolean; - deferrable?: boolean; - initdeferred?: boolean; - transformed?: boolean; - concurrent?: boolean; - if_not_exists?: boolean; - reset_default_tblspc?: boolean; - }; + idxname?: string; + relation?: RangeVar; + accessMethod?: string; + tableSpace?: string; + indexParams?: Node[]; + indexIncludingParams?: Node[]; + options?: Node[]; + whereClause?: Node; + excludeOpNames?: Node[]; + idxcomment?: string; + indexOid?: number; + oldNumber?: number; + oldCreateSubid?: number; + oldFirstRelfilelocatorSubid?: number; + unique?: boolean; + nulls_not_distinct?: boolean; + primary?: boolean; + isconstraint?: boolean; + deferrable?: boolean; + initdeferred?: boolean; + transformed?: boolean; + concurrent?: boolean; + if_not_exists?: boolean; + reset_default_tblspc?: boolean; } export interface CreateStatsStmt { - CreateStatsStmt: { - defnames?: Node[]; - stat_types?: Node[]; - exprs?: Node[]; - relations?: Node[]; - stxcomment?: string; - transformed?: boolean; - if_not_exists?: boolean; - }; + defnames?: Node[]; + stat_types?: Node[]; + exprs?: Node[]; + relations?: Node[]; + stxcomment?: string; + transformed?: boolean; + if_not_exists?: boolean; } export interface StatsElem { - StatsElem: { - name?: string; - expr?: Node; - }; + name?: string; + expr?: Node; } export interface AlterStatsStmt { - AlterStatsStmt: { - defnames?: Node[]; - stxstattarget?: number; - missing_ok?: boolean; - }; + defnames?: Node[]; + stxstattarget?: number; + missing_ok?: boolean; } export interface CreateFunctionStmt { - CreateFunctionStmt: { - is_procedure?: boolean; - replace?: boolean; - funcname?: Node[]; - parameters?: Node[]; - returnType?: TypeName; - options?: Node[]; - sql_body?: Node; - }; + is_procedure?: boolean; + replace?: boolean; + funcname?: Node[]; + parameters?: Node[]; + returnType?: TypeName; + options?: Node[]; + sql_body?: Node; } export interface FunctionParameter { - FunctionParameter: { - name?: string; - argType?: TypeName; - mode?: FunctionParameterMode; - defexpr?: Node; - }; + name?: string; + argType?: TypeName; + mode?: FunctionParameterMode; + defexpr?: Node; } export interface AlterFunctionStmt { - AlterFunctionStmt: { - objtype?: ObjectType; - func?: ObjectWithArgs; - actions?: Node[]; - }; + objtype?: ObjectType; + func?: ObjectWithArgs; + actions?: Node[]; } export interface DoStmt { - DoStmt: { - args?: Node[]; - }; + args?: Node[]; } export interface InlineCodeBlock { - InlineCodeBlock: { - source_text?: string; - langOid?: number; - langIsTrusted?: boolean; - atomic?: boolean; - }; + source_text?: string; + langOid?: number; + langIsTrusted?: boolean; + atomic?: boolean; } export interface CallStmt { - CallStmt: { - funccall?: FuncCall; - funcexpr?: FuncExpr; - outargs?: Node[]; - }; + funccall?: FuncCall; + funcexpr?: FuncExpr; + outargs?: Node[]; } export interface CallContext { - CallContext: { - atomic?: boolean; - }; + atomic?: boolean; } export interface RenameStmt { - RenameStmt: { - renameType?: ObjectType; - relationType?: ObjectType; - relation?: RangeVar; - object?: Node; - subname?: string; - newname?: string; - behavior?: DropBehavior; - missing_ok?: boolean; - }; + renameType?: ObjectType; + relationType?: ObjectType; + relation?: RangeVar; + object?: Node; + subname?: string; + newname?: string; + behavior?: DropBehavior; + missing_ok?: boolean; } export interface AlterObjectDependsStmt { - AlterObjectDependsStmt: { - objectType?: ObjectType; - relation?: RangeVar; - object?: Node; - extname?: String; - remove?: boolean; - }; + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + extname?: String; + remove?: boolean; } export interface AlterObjectSchemaStmt { - AlterObjectSchemaStmt: { - objectType?: ObjectType; - relation?: RangeVar; - object?: Node; - newschema?: string; - missing_ok?: boolean; - }; + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + newschema?: string; + missing_ok?: boolean; } export interface AlterOwnerStmt { - AlterOwnerStmt: { - objectType?: ObjectType; - relation?: RangeVar; - object?: Node; - newowner?: RoleSpec; - }; + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + newowner?: RoleSpec; } export interface AlterOperatorStmt { - AlterOperatorStmt: { - opername?: ObjectWithArgs; - options?: Node[]; - }; + opername?: ObjectWithArgs; + options?: Node[]; } export interface AlterTypeStmt { - AlterTypeStmt: { - typeName?: Node[]; - options?: Node[]; - }; + typeName?: Node[]; + options?: Node[]; } export interface RuleStmt { - RuleStmt: { - relation?: RangeVar; - rulename?: string; - whereClause?: Node; - event?: CmdType; - instead?: boolean; - actions?: Node[]; - replace?: boolean; - }; + relation?: RangeVar; + rulename?: string; + whereClause?: Node; + event?: CmdType; + instead?: boolean; + actions?: Node[]; + replace?: boolean; } export interface NotifyStmt { - NotifyStmt: { - conditionname?: string; - payload?: string; - }; + conditionname?: string; + payload?: string; } export interface ListenStmt { - ListenStmt: { - conditionname?: string; - }; + conditionname?: string; } export interface UnlistenStmt { - UnlistenStmt: { - conditionname?: string; - }; + conditionname?: string; } export interface TransactionStmt { - TransactionStmt: { - kind?: TransactionStmtKind; - options?: Node[]; - savepoint_name?: string; - gid?: string; - chain?: boolean; - }; + kind?: TransactionStmtKind; + options?: Node[]; + savepoint_name?: string; + gid?: string; + chain?: boolean; } export interface CompositeTypeStmt { - CompositeTypeStmt: { - typevar?: RangeVar; - coldeflist?: Node[]; - }; + typevar?: RangeVar; + coldeflist?: Node[]; } export interface CreateEnumStmt { - CreateEnumStmt: { - typeName?: Node[]; - vals?: Node[]; - }; + typeName?: Node[]; + vals?: Node[]; } export interface CreateRangeStmt { - CreateRangeStmt: { - typeName?: Node[]; - params?: Node[]; - }; + typeName?: Node[]; + params?: Node[]; } export interface AlterEnumStmt { - AlterEnumStmt: { - typeName?: Node[]; - oldVal?: string; - newVal?: string; - newValNeighbor?: string; - newValIsAfter?: boolean; - skipIfNewValExists?: boolean; - }; + typeName?: Node[]; + oldVal?: string; + newVal?: string; + newValNeighbor?: string; + newValIsAfter?: boolean; + skipIfNewValExists?: boolean; } export interface ViewStmt { - ViewStmt: { - view?: RangeVar; - aliases?: Node[]; - query?: Node; - replace?: boolean; - options?: Node[]; - withCheckOption?: ViewCheckOption; - }; + view?: RangeVar; + aliases?: Node[]; + query?: Node; + replace?: boolean; + options?: Node[]; + withCheckOption?: ViewCheckOption; } export interface LoadStmt { - LoadStmt: { - filename?: string; - }; + filename?: string; } export interface CreatedbStmt { - CreatedbStmt: { - dbname?: string; - options?: Node[]; - }; + dbname?: string; + options?: Node[]; } export interface AlterDatabaseStmt { - AlterDatabaseStmt: { - dbname?: string; - options?: Node[]; - }; + dbname?: string; + options?: Node[]; } export interface AlterDatabaseRefreshCollStmt { - AlterDatabaseRefreshCollStmt: { - dbname?: string; - }; + dbname?: string; } export interface AlterDatabaseSetStmt { - AlterDatabaseSetStmt: { - dbname?: string; - setstmt?: VariableSetStmt; - }; + dbname?: string; + setstmt?: VariableSetStmt; } export interface DropdbStmt { - DropdbStmt: { - dbname?: string; - missing_ok?: boolean; - options?: Node[]; - }; + dbname?: string; + missing_ok?: boolean; + options?: Node[]; } export interface AlterSystemStmt { - AlterSystemStmt: { - setstmt?: VariableSetStmt; - }; + setstmt?: VariableSetStmt; } export interface ClusterStmt { - ClusterStmt: { - relation?: RangeVar; - indexname?: string; - params?: Node[]; - }; + relation?: RangeVar; + indexname?: string; + params?: Node[]; } export interface VacuumStmt { - VacuumStmt: { - options?: Node[]; - rels?: Node[]; - is_vacuumcmd?: boolean; - }; + options?: Node[]; + rels?: Node[]; + is_vacuumcmd?: boolean; } export interface VacuumRelation { - VacuumRelation: { - relation?: RangeVar; - oid?: number; - va_cols?: Node[]; - }; + relation?: RangeVar; + oid?: number; + va_cols?: Node[]; } export interface ExplainStmt { - ExplainStmt: { - query?: Node; - options?: Node[]; - }; + query?: Node; + options?: Node[]; } export interface CreateTableAsStmt { - CreateTableAsStmt: { - query?: Node; - into?: IntoClause; - objtype?: ObjectType; - is_select_into?: boolean; - if_not_exists?: boolean; - }; + query?: Node; + into?: IntoClause; + objtype?: ObjectType; + is_select_into?: boolean; + if_not_exists?: boolean; } export interface RefreshMatViewStmt { - RefreshMatViewStmt: { - concurrent?: boolean; - skipData?: boolean; - relation?: RangeVar; - }; -} -export interface CheckPointStmt { - CheckPointStmt: {}; + concurrent?: boolean; + skipData?: boolean; + relation?: RangeVar; } +export interface CheckPointStmt {} export interface DiscardStmt { - DiscardStmt: { - target?: DiscardMode; - }; + target?: DiscardMode; } export interface LockStmt { - LockStmt: { - relations?: Node[]; - mode?: number; - nowait?: boolean; - }; + relations?: Node[]; + mode?: number; + nowait?: boolean; } export interface ConstraintsSetStmt { - ConstraintsSetStmt: { - constraints?: Node[]; - deferred?: boolean; - }; + constraints?: Node[]; + deferred?: boolean; } export interface ReindexStmt { - ReindexStmt: { - kind?: ReindexObjectType; - relation?: RangeVar; - name?: string; - params?: Node[]; - }; + kind?: ReindexObjectType; + relation?: RangeVar; + name?: string; + params?: Node[]; } export interface CreateConversionStmt { - CreateConversionStmt: { - conversion_name?: Node[]; - for_encoding_name?: string; - to_encoding_name?: string; - func_name?: Node[]; - def?: boolean; - }; + conversion_name?: Node[]; + for_encoding_name?: string; + to_encoding_name?: string; + func_name?: Node[]; + def?: boolean; } export interface CreateCastStmt { - CreateCastStmt: { - sourcetype?: TypeName; - targettype?: TypeName; - func?: ObjectWithArgs; - context?: CoercionContext; - inout?: boolean; - }; + sourcetype?: TypeName; + targettype?: TypeName; + func?: ObjectWithArgs; + context?: CoercionContext; + inout?: boolean; } export interface CreateTransformStmt { - CreateTransformStmt: { - replace?: boolean; - type_name?: TypeName; - lang?: string; - fromsql?: ObjectWithArgs; - tosql?: ObjectWithArgs; - }; + replace?: boolean; + type_name?: TypeName; + lang?: string; + fromsql?: ObjectWithArgs; + tosql?: ObjectWithArgs; } export interface PrepareStmt { - PrepareStmt: { - name?: string; - argtypes?: Node[]; - query?: Node; - }; + name?: string; + argtypes?: Node[]; + query?: Node; } export interface ExecuteStmt { - ExecuteStmt: { - name?: string; - params?: Node[]; - }; + name?: string; + params?: Node[]; } export interface DeallocateStmt { - DeallocateStmt: { - name?: string; - }; + name?: string; } export interface DropOwnedStmt { - DropOwnedStmt: { - roles?: Node[]; - behavior?: DropBehavior; - }; + roles?: Node[]; + behavior?: DropBehavior; } export interface ReassignOwnedStmt { - ReassignOwnedStmt: { - roles?: Node[]; - newrole?: RoleSpec; - }; + roles?: Node[]; + newrole?: RoleSpec; } export interface AlterTSDictionaryStmt { - AlterTSDictionaryStmt: { - dictname?: Node[]; - options?: Node[]; - }; + dictname?: Node[]; + options?: Node[]; } export interface AlterTSConfigurationStmt { - AlterTSConfigurationStmt: { - kind?: AlterTSConfigType; - cfgname?: Node[]; - tokentype?: Node[]; - dicts?: Node[]; - override?: boolean; - replace?: boolean; - missing_ok?: boolean; - }; + kind?: AlterTSConfigType; + cfgname?: Node[]; + tokentype?: Node[]; + dicts?: Node[]; + override?: boolean; + replace?: boolean; + missing_ok?: boolean; } export interface PublicationTable { - PublicationTable: { - relation?: RangeVar; - whereClause?: Node; - columns?: Node[]; - }; + relation?: RangeVar; + whereClause?: Node; + columns?: Node[]; } export interface PublicationObjSpec { - PublicationObjSpec: { - pubobjtype?: PublicationObjSpecType; - name?: string; - pubtable?: PublicationTable; - location?: number; - }; + pubobjtype?: PublicationObjSpecType; + name?: string; + pubtable?: PublicationTable; + location?: number; } export interface CreatePublicationStmt { - CreatePublicationStmt: { - pubname?: string; - options?: Node[]; - pubobjects?: Node[]; - for_all_tables?: boolean; - }; + pubname?: string; + options?: Node[]; + pubobjects?: Node[]; + for_all_tables?: boolean; } export interface AlterPublicationStmt { - AlterPublicationStmt: { - pubname?: string; - options?: Node[]; - pubobjects?: Node[]; - for_all_tables?: boolean; - action?: AlterPublicationAction; - }; + pubname?: string; + options?: Node[]; + pubobjects?: Node[]; + for_all_tables?: boolean; + action?: AlterPublicationAction; } export interface CreateSubscriptionStmt { - CreateSubscriptionStmt: { - subname?: string; - conninfo?: string; - publication?: Node[]; - options?: Node[]; - }; + subname?: string; + conninfo?: string; + publication?: Node[]; + options?: Node[]; } export interface AlterSubscriptionStmt { - AlterSubscriptionStmt: { - kind?: AlterSubscriptionType; - subname?: string; - conninfo?: string; - publication?: Node[]; - options?: Node[]; - }; + kind?: AlterSubscriptionType; + subname?: string; + conninfo?: string; + publication?: Node[]; + options?: Node[]; } export interface DropSubscriptionStmt { - DropSubscriptionStmt: { - subname?: string; - missing_ok?: boolean; - behavior?: DropBehavior; - }; + subname?: string; + missing_ok?: boolean; + behavior?: DropBehavior; } export interface ScanToken { ScanToken: { diff --git a/__fixtures__/proto/14-latest.proto b/__fixtures__/proto/14-latest.proto new file mode 100644 index 0000000..3ae87fe --- /dev/null +++ b/__fixtures__/proto/14-latest.proto @@ -0,0 +1,3581 @@ +// This file is autogenerated by ./scripts/generate_protobuf_and_funcs.rb + +syntax = "proto3"; + +package pg_query; + +message ParseResult { + int32 version = 1; + repeated RawStmt stmts = 2; +} + +message ScanResult { + int32 version = 1; + repeated ScanToken tokens = 2; +} + +message Node { + oneof node { + Alias alias = 1 [json_name="Alias"]; + RangeVar range_var = 2 [json_name="RangeVar"]; + TableFunc table_func = 3 [json_name="TableFunc"]; + Expr expr = 4 [json_name="Expr"]; + Var var = 5 [json_name="Var"]; + Param param = 6 [json_name="Param"]; + Aggref aggref = 7 [json_name="Aggref"]; + GroupingFunc grouping_func = 8 [json_name="GroupingFunc"]; + WindowFunc window_func = 9 [json_name="WindowFunc"]; + SubscriptingRef subscripting_ref = 10 [json_name="SubscriptingRef"]; + FuncExpr func_expr = 11 [json_name="FuncExpr"]; + NamedArgExpr named_arg_expr = 12 [json_name="NamedArgExpr"]; + OpExpr op_expr = 13 [json_name="OpExpr"]; + DistinctExpr distinct_expr = 14 [json_name="DistinctExpr"]; + NullIfExpr null_if_expr = 15 [json_name="NullIfExpr"]; + ScalarArrayOpExpr scalar_array_op_expr = 16 [json_name="ScalarArrayOpExpr"]; + BoolExpr bool_expr = 17 [json_name="BoolExpr"]; + SubLink sub_link = 18 [json_name="SubLink"]; + SubPlan sub_plan = 19 [json_name="SubPlan"]; + AlternativeSubPlan alternative_sub_plan = 20 [json_name="AlternativeSubPlan"]; + FieldSelect field_select = 21 [json_name="FieldSelect"]; + FieldStore field_store = 22 [json_name="FieldStore"]; + RelabelType relabel_type = 23 [json_name="RelabelType"]; + CoerceViaIO coerce_via_io = 24 [json_name="CoerceViaIO"]; + ArrayCoerceExpr array_coerce_expr = 25 [json_name="ArrayCoerceExpr"]; + ConvertRowtypeExpr convert_rowtype_expr = 26 [json_name="ConvertRowtypeExpr"]; + CollateExpr collate_expr = 27 [json_name="CollateExpr"]; + CaseExpr case_expr = 28 [json_name="CaseExpr"]; + CaseWhen case_when = 29 [json_name="CaseWhen"]; + CaseTestExpr case_test_expr = 30 [json_name="CaseTestExpr"]; + ArrayExpr array_expr = 31 [json_name="ArrayExpr"]; + RowExpr row_expr = 32 [json_name="RowExpr"]; + RowCompareExpr row_compare_expr = 33 [json_name="RowCompareExpr"]; + CoalesceExpr coalesce_expr = 34 [json_name="CoalesceExpr"]; + MinMaxExpr min_max_expr = 35 [json_name="MinMaxExpr"]; + SQLValueFunction sqlvalue_function = 36 [json_name="SQLValueFunction"]; + XmlExpr xml_expr = 37 [json_name="XmlExpr"]; + NullTest null_test = 38 [json_name="NullTest"]; + BooleanTest boolean_test = 39 [json_name="BooleanTest"]; + CoerceToDomain coerce_to_domain = 40 [json_name="CoerceToDomain"]; + CoerceToDomainValue coerce_to_domain_value = 41 [json_name="CoerceToDomainValue"]; + SetToDefault set_to_default = 42 [json_name="SetToDefault"]; + CurrentOfExpr current_of_expr = 43 [json_name="CurrentOfExpr"]; + NextValueExpr next_value_expr = 44 [json_name="NextValueExpr"]; + InferenceElem inference_elem = 45 [json_name="InferenceElem"]; + TargetEntry target_entry = 46 [json_name="TargetEntry"]; + RangeTblRef range_tbl_ref = 47 [json_name="RangeTblRef"]; + JoinExpr join_expr = 48 [json_name="JoinExpr"]; + FromExpr from_expr = 49 [json_name="FromExpr"]; + OnConflictExpr on_conflict_expr = 50 [json_name="OnConflictExpr"]; + IntoClause into_clause = 51 [json_name="IntoClause"]; + RawStmt raw_stmt = 52 [json_name="RawStmt"]; + Query query = 53 [json_name="Query"]; + InsertStmt insert_stmt = 54 [json_name="InsertStmt"]; + DeleteStmt delete_stmt = 55 [json_name="DeleteStmt"]; + UpdateStmt update_stmt = 56 [json_name="UpdateStmt"]; + SelectStmt select_stmt = 57 [json_name="SelectStmt"]; + ReturnStmt return_stmt = 58 [json_name="ReturnStmt"]; + PLAssignStmt plassign_stmt = 59 [json_name="PLAssignStmt"]; + AlterTableStmt alter_table_stmt = 60 [json_name="AlterTableStmt"]; + AlterTableCmd alter_table_cmd = 61 [json_name="AlterTableCmd"]; + AlterDomainStmt alter_domain_stmt = 62 [json_name="AlterDomainStmt"]; + SetOperationStmt set_operation_stmt = 63 [json_name="SetOperationStmt"]; + GrantStmt grant_stmt = 64 [json_name="GrantStmt"]; + GrantRoleStmt grant_role_stmt = 65 [json_name="GrantRoleStmt"]; + AlterDefaultPrivilegesStmt alter_default_privileges_stmt = 66 [json_name="AlterDefaultPrivilegesStmt"]; + ClosePortalStmt close_portal_stmt = 67 [json_name="ClosePortalStmt"]; + ClusterStmt cluster_stmt = 68 [json_name="ClusterStmt"]; + CopyStmt copy_stmt = 69 [json_name="CopyStmt"]; + CreateStmt create_stmt = 70 [json_name="CreateStmt"]; + DefineStmt define_stmt = 71 [json_name="DefineStmt"]; + DropStmt drop_stmt = 72 [json_name="DropStmt"]; + TruncateStmt truncate_stmt = 73 [json_name="TruncateStmt"]; + CommentStmt comment_stmt = 74 [json_name="CommentStmt"]; + FetchStmt fetch_stmt = 75 [json_name="FetchStmt"]; + IndexStmt index_stmt = 76 [json_name="IndexStmt"]; + CreateFunctionStmt create_function_stmt = 77 [json_name="CreateFunctionStmt"]; + AlterFunctionStmt alter_function_stmt = 78 [json_name="AlterFunctionStmt"]; + DoStmt do_stmt = 79 [json_name="DoStmt"]; + RenameStmt rename_stmt = 80 [json_name="RenameStmt"]; + RuleStmt rule_stmt = 81 [json_name="RuleStmt"]; + NotifyStmt notify_stmt = 82 [json_name="NotifyStmt"]; + ListenStmt listen_stmt = 83 [json_name="ListenStmt"]; + UnlistenStmt unlisten_stmt = 84 [json_name="UnlistenStmt"]; + TransactionStmt transaction_stmt = 85 [json_name="TransactionStmt"]; + ViewStmt view_stmt = 86 [json_name="ViewStmt"]; + LoadStmt load_stmt = 87 [json_name="LoadStmt"]; + CreateDomainStmt create_domain_stmt = 88 [json_name="CreateDomainStmt"]; + CreatedbStmt createdb_stmt = 89 [json_name="CreatedbStmt"]; + DropdbStmt dropdb_stmt = 90 [json_name="DropdbStmt"]; + VacuumStmt vacuum_stmt = 91 [json_name="VacuumStmt"]; + ExplainStmt explain_stmt = 92 [json_name="ExplainStmt"]; + CreateTableAsStmt create_table_as_stmt = 93 [json_name="CreateTableAsStmt"]; + CreateSeqStmt create_seq_stmt = 94 [json_name="CreateSeqStmt"]; + AlterSeqStmt alter_seq_stmt = 95 [json_name="AlterSeqStmt"]; + VariableSetStmt variable_set_stmt = 96 [json_name="VariableSetStmt"]; + VariableShowStmt variable_show_stmt = 97 [json_name="VariableShowStmt"]; + DiscardStmt discard_stmt = 98 [json_name="DiscardStmt"]; + CreateTrigStmt create_trig_stmt = 99 [json_name="CreateTrigStmt"]; + CreatePLangStmt create_plang_stmt = 100 [json_name="CreatePLangStmt"]; + CreateRoleStmt create_role_stmt = 101 [json_name="CreateRoleStmt"]; + AlterRoleStmt alter_role_stmt = 102 [json_name="AlterRoleStmt"]; + DropRoleStmt drop_role_stmt = 103 [json_name="DropRoleStmt"]; + LockStmt lock_stmt = 104 [json_name="LockStmt"]; + ConstraintsSetStmt constraints_set_stmt = 105 [json_name="ConstraintsSetStmt"]; + ReindexStmt reindex_stmt = 106 [json_name="ReindexStmt"]; + CheckPointStmt check_point_stmt = 107 [json_name="CheckPointStmt"]; + CreateSchemaStmt create_schema_stmt = 108 [json_name="CreateSchemaStmt"]; + AlterDatabaseStmt alter_database_stmt = 109 [json_name="AlterDatabaseStmt"]; + AlterDatabaseSetStmt alter_database_set_stmt = 110 [json_name="AlterDatabaseSetStmt"]; + AlterRoleSetStmt alter_role_set_stmt = 111 [json_name="AlterRoleSetStmt"]; + CreateConversionStmt create_conversion_stmt = 112 [json_name="CreateConversionStmt"]; + CreateCastStmt create_cast_stmt = 113 [json_name="CreateCastStmt"]; + CreateOpClassStmt create_op_class_stmt = 114 [json_name="CreateOpClassStmt"]; + CreateOpFamilyStmt create_op_family_stmt = 115 [json_name="CreateOpFamilyStmt"]; + AlterOpFamilyStmt alter_op_family_stmt = 116 [json_name="AlterOpFamilyStmt"]; + PrepareStmt prepare_stmt = 117 [json_name="PrepareStmt"]; + ExecuteStmt execute_stmt = 118 [json_name="ExecuteStmt"]; + DeallocateStmt deallocate_stmt = 119 [json_name="DeallocateStmt"]; + DeclareCursorStmt declare_cursor_stmt = 120 [json_name="DeclareCursorStmt"]; + CreateTableSpaceStmt create_table_space_stmt = 121 [json_name="CreateTableSpaceStmt"]; + DropTableSpaceStmt drop_table_space_stmt = 122 [json_name="DropTableSpaceStmt"]; + AlterObjectDependsStmt alter_object_depends_stmt = 123 [json_name="AlterObjectDependsStmt"]; + AlterObjectSchemaStmt alter_object_schema_stmt = 124 [json_name="AlterObjectSchemaStmt"]; + AlterOwnerStmt alter_owner_stmt = 125 [json_name="AlterOwnerStmt"]; + AlterOperatorStmt alter_operator_stmt = 126 [json_name="AlterOperatorStmt"]; + AlterTypeStmt alter_type_stmt = 127 [json_name="AlterTypeStmt"]; + DropOwnedStmt drop_owned_stmt = 128 [json_name="DropOwnedStmt"]; + ReassignOwnedStmt reassign_owned_stmt = 129 [json_name="ReassignOwnedStmt"]; + CompositeTypeStmt composite_type_stmt = 130 [json_name="CompositeTypeStmt"]; + CreateEnumStmt create_enum_stmt = 131 [json_name="CreateEnumStmt"]; + CreateRangeStmt create_range_stmt = 132 [json_name="CreateRangeStmt"]; + AlterEnumStmt alter_enum_stmt = 133 [json_name="AlterEnumStmt"]; + AlterTSDictionaryStmt alter_tsdictionary_stmt = 134 [json_name="AlterTSDictionaryStmt"]; + AlterTSConfigurationStmt alter_tsconfiguration_stmt = 135 [json_name="AlterTSConfigurationStmt"]; + CreateFdwStmt create_fdw_stmt = 136 [json_name="CreateFdwStmt"]; + AlterFdwStmt alter_fdw_stmt = 137 [json_name="AlterFdwStmt"]; + CreateForeignServerStmt create_foreign_server_stmt = 138 [json_name="CreateForeignServerStmt"]; + AlterForeignServerStmt alter_foreign_server_stmt = 139 [json_name="AlterForeignServerStmt"]; + CreateUserMappingStmt create_user_mapping_stmt = 140 [json_name="CreateUserMappingStmt"]; + AlterUserMappingStmt alter_user_mapping_stmt = 141 [json_name="AlterUserMappingStmt"]; + DropUserMappingStmt drop_user_mapping_stmt = 142 [json_name="DropUserMappingStmt"]; + AlterTableSpaceOptionsStmt alter_table_space_options_stmt = 143 [json_name="AlterTableSpaceOptionsStmt"]; + AlterTableMoveAllStmt alter_table_move_all_stmt = 144 [json_name="AlterTableMoveAllStmt"]; + SecLabelStmt sec_label_stmt = 145 [json_name="SecLabelStmt"]; + CreateForeignTableStmt create_foreign_table_stmt = 146 [json_name="CreateForeignTableStmt"]; + ImportForeignSchemaStmt import_foreign_schema_stmt = 147 [json_name="ImportForeignSchemaStmt"]; + CreateExtensionStmt create_extension_stmt = 148 [json_name="CreateExtensionStmt"]; + AlterExtensionStmt alter_extension_stmt = 149 [json_name="AlterExtensionStmt"]; + AlterExtensionContentsStmt alter_extension_contents_stmt = 150 [json_name="AlterExtensionContentsStmt"]; + CreateEventTrigStmt create_event_trig_stmt = 151 [json_name="CreateEventTrigStmt"]; + AlterEventTrigStmt alter_event_trig_stmt = 152 [json_name="AlterEventTrigStmt"]; + RefreshMatViewStmt refresh_mat_view_stmt = 153 [json_name="RefreshMatViewStmt"]; + ReplicaIdentityStmt replica_identity_stmt = 154 [json_name="ReplicaIdentityStmt"]; + AlterSystemStmt alter_system_stmt = 155 [json_name="AlterSystemStmt"]; + CreatePolicyStmt create_policy_stmt = 156 [json_name="CreatePolicyStmt"]; + AlterPolicyStmt alter_policy_stmt = 157 [json_name="AlterPolicyStmt"]; + CreateTransformStmt create_transform_stmt = 158 [json_name="CreateTransformStmt"]; + CreateAmStmt create_am_stmt = 159 [json_name="CreateAmStmt"]; + CreatePublicationStmt create_publication_stmt = 160 [json_name="CreatePublicationStmt"]; + AlterPublicationStmt alter_publication_stmt = 161 [json_name="AlterPublicationStmt"]; + CreateSubscriptionStmt create_subscription_stmt = 162 [json_name="CreateSubscriptionStmt"]; + AlterSubscriptionStmt alter_subscription_stmt = 163 [json_name="AlterSubscriptionStmt"]; + DropSubscriptionStmt drop_subscription_stmt = 164 [json_name="DropSubscriptionStmt"]; + CreateStatsStmt create_stats_stmt = 165 [json_name="CreateStatsStmt"]; + AlterCollationStmt alter_collation_stmt = 166 [json_name="AlterCollationStmt"]; + CallStmt call_stmt = 167 [json_name="CallStmt"]; + AlterStatsStmt alter_stats_stmt = 168 [json_name="AlterStatsStmt"]; + A_Expr a_expr = 169 [json_name="A_Expr"]; + ColumnRef column_ref = 170 [json_name="ColumnRef"]; + ParamRef param_ref = 171 [json_name="ParamRef"]; + A_Const a_const = 172 [json_name="A_Const"]; + FuncCall func_call = 173 [json_name="FuncCall"]; + A_Star a_star = 174 [json_name="A_Star"]; + A_Indices a_indices = 175 [json_name="A_Indices"]; + A_Indirection a_indirection = 176 [json_name="A_Indirection"]; + A_ArrayExpr a_array_expr = 177 [json_name="A_ArrayExpr"]; + ResTarget res_target = 178 [json_name="ResTarget"]; + MultiAssignRef multi_assign_ref = 179 [json_name="MultiAssignRef"]; + TypeCast type_cast = 180 [json_name="TypeCast"]; + CollateClause collate_clause = 181 [json_name="CollateClause"]; + SortBy sort_by = 182 [json_name="SortBy"]; + WindowDef window_def = 183 [json_name="WindowDef"]; + RangeSubselect range_subselect = 184 [json_name="RangeSubselect"]; + RangeFunction range_function = 185 [json_name="RangeFunction"]; + RangeTableSample range_table_sample = 186 [json_name="RangeTableSample"]; + RangeTableFunc range_table_func = 187 [json_name="RangeTableFunc"]; + RangeTableFuncCol range_table_func_col = 188 [json_name="RangeTableFuncCol"]; + TypeName type_name = 189 [json_name="TypeName"]; + ColumnDef column_def = 190 [json_name="ColumnDef"]; + IndexElem index_elem = 191 [json_name="IndexElem"]; + StatsElem stats_elem = 192 [json_name="StatsElem"]; + Constraint constraint = 193 [json_name="Constraint"]; + DefElem def_elem = 194 [json_name="DefElem"]; + RangeTblEntry range_tbl_entry = 195 [json_name="RangeTblEntry"]; + RangeTblFunction range_tbl_function = 196 [json_name="RangeTblFunction"]; + TableSampleClause table_sample_clause = 197 [json_name="TableSampleClause"]; + WithCheckOption with_check_option = 198 [json_name="WithCheckOption"]; + SortGroupClause sort_group_clause = 199 [json_name="SortGroupClause"]; + GroupingSet grouping_set = 200 [json_name="GroupingSet"]; + WindowClause window_clause = 201 [json_name="WindowClause"]; + ObjectWithArgs object_with_args = 202 [json_name="ObjectWithArgs"]; + AccessPriv access_priv = 203 [json_name="AccessPriv"]; + CreateOpClassItem create_op_class_item = 204 [json_name="CreateOpClassItem"]; + TableLikeClause table_like_clause = 205 [json_name="TableLikeClause"]; + FunctionParameter function_parameter = 206 [json_name="FunctionParameter"]; + LockingClause locking_clause = 207 [json_name="LockingClause"]; + RowMarkClause row_mark_clause = 208 [json_name="RowMarkClause"]; + XmlSerialize xml_serialize = 209 [json_name="XmlSerialize"]; + WithClause with_clause = 210 [json_name="WithClause"]; + InferClause infer_clause = 211 [json_name="InferClause"]; + OnConflictClause on_conflict_clause = 212 [json_name="OnConflictClause"]; + CTESearchClause ctesearch_clause = 213 [json_name="CTESearchClause"]; + CTECycleClause ctecycle_clause = 214 [json_name="CTECycleClause"]; + CommonTableExpr common_table_expr = 215 [json_name="CommonTableExpr"]; + RoleSpec role_spec = 216 [json_name="RoleSpec"]; + TriggerTransition trigger_transition = 217 [json_name="TriggerTransition"]; + PartitionElem partition_elem = 218 [json_name="PartitionElem"]; + PartitionSpec partition_spec = 219 [json_name="PartitionSpec"]; + PartitionBoundSpec partition_bound_spec = 220 [json_name="PartitionBoundSpec"]; + PartitionRangeDatum partition_range_datum = 221 [json_name="PartitionRangeDatum"]; + PartitionCmd partition_cmd = 222 [json_name="PartitionCmd"]; + VacuumRelation vacuum_relation = 223 [json_name="VacuumRelation"]; + InlineCodeBlock inline_code_block = 224 [json_name="InlineCodeBlock"]; + CallContext call_context = 225 [json_name="CallContext"]; + Integer integer = 226 [json_name="Integer"]; + Float float = 227 [json_name="Float"]; + String string = 228 [json_name="String"]; + BitString bit_string = 229 [json_name="BitString"]; + Null null = 230 [json_name="Null"]; + List list = 231 [json_name="List"]; + IntList int_list = 232 [json_name="IntList"]; + OidList oid_list = 233 [json_name="OidList"]; + } +} + +message Integer +{ + int32 ival = 1; /* machine integer */ +} + +message Float +{ + string str = 1; /* string */ +} + +message String +{ + string str = 1; /* string */ +} + +message BitString +{ + string str = 1; /* string */ +} + +message Null +{ + // intentionally empty +} + +message List +{ + repeated Node items = 1; +} + +message OidList +{ + repeated Node items = 1; +} + +message IntList +{ + repeated Node items = 1; +} + +message Alias +{ + string aliasname = 1 [json_name="aliasname"]; + repeated Node colnames = 2 [json_name="colnames"]; +} + +message RangeVar +{ + string catalogname = 1 [json_name="catalogname"]; + string schemaname = 2 [json_name="schemaname"]; + string relname = 3 [json_name="relname"]; + bool inh = 4 [json_name="inh"]; + string relpersistence = 5 [json_name="relpersistence"]; + Alias alias = 6 [json_name="alias"]; + int32 location = 7 [json_name="location"]; +} + +message TableFunc +{ + repeated Node ns_uris = 1 [json_name="ns_uris"]; + repeated Node ns_names = 2 [json_name="ns_names"]; + Node docexpr = 3 [json_name="docexpr"]; + Node rowexpr = 4 [json_name="rowexpr"]; + repeated Node colnames = 5 [json_name="colnames"]; + repeated Node coltypes = 6 [json_name="coltypes"]; + repeated Node coltypmods = 7 [json_name="coltypmods"]; + repeated Node colcollations = 8 [json_name="colcollations"]; + repeated Node colexprs = 9 [json_name="colexprs"]; + repeated Node coldefexprs = 10 [json_name="coldefexprs"]; + repeated uint64 notnulls = 11 [json_name="notnulls"]; + int32 ordinalitycol = 12 [json_name="ordinalitycol"]; + int32 location = 13 [json_name="location"]; +} + +message Expr +{ +} + +message Var +{ + Node xpr = 1 [json_name="xpr"]; + uint32 varno = 2 [json_name="varno"]; + int32 varattno = 3 [json_name="varattno"]; + uint32 vartype = 4 [json_name="vartype"]; + int32 vartypmod = 5 [json_name="vartypmod"]; + uint32 varcollid = 6 [json_name="varcollid"]; + uint32 varlevelsup = 7 [json_name="varlevelsup"]; + uint32 varnosyn = 8 [json_name="varnosyn"]; + int32 varattnosyn = 9 [json_name="varattnosyn"]; + int32 location = 10 [json_name="location"]; +} + +message Param +{ + Node xpr = 1 [json_name="xpr"]; + ParamKind paramkind = 2 [json_name="paramkind"]; + int32 paramid = 3 [json_name="paramid"]; + uint32 paramtype = 4 [json_name="paramtype"]; + int32 paramtypmod = 5 [json_name="paramtypmod"]; + uint32 paramcollid = 6 [json_name="paramcollid"]; + int32 location = 7 [json_name="location"]; +} + +message Aggref +{ + Node xpr = 1 [json_name="xpr"]; + uint32 aggfnoid = 2 [json_name="aggfnoid"]; + uint32 aggtype = 3 [json_name="aggtype"]; + uint32 aggcollid = 4 [json_name="aggcollid"]; + uint32 inputcollid = 5 [json_name="inputcollid"]; + uint32 aggtranstype = 6 [json_name="aggtranstype"]; + repeated Node aggargtypes = 7 [json_name="aggargtypes"]; + repeated Node aggdirectargs = 8 [json_name="aggdirectargs"]; + repeated Node args = 9 [json_name="args"]; + repeated Node aggorder = 10 [json_name="aggorder"]; + repeated Node aggdistinct = 11 [json_name="aggdistinct"]; + Node aggfilter = 12 [json_name="aggfilter"]; + bool aggstar = 13 [json_name="aggstar"]; + bool aggvariadic = 14 [json_name="aggvariadic"]; + string aggkind = 15 [json_name="aggkind"]; + uint32 agglevelsup = 16 [json_name="agglevelsup"]; + AggSplit aggsplit = 17 [json_name="aggsplit"]; + int32 aggno = 18 [json_name="aggno"]; + int32 aggtransno = 19 [json_name="aggtransno"]; + int32 location = 20 [json_name="location"]; +} + +message GroupingFunc +{ + Node xpr = 1 [json_name="xpr"]; + repeated Node args = 2 [json_name="args"]; + repeated Node refs = 3 [json_name="refs"]; + repeated Node cols = 4 [json_name="cols"]; + uint32 agglevelsup = 5 [json_name="agglevelsup"]; + int32 location = 6 [json_name="location"]; +} + +message WindowFunc +{ + Node xpr = 1 [json_name="xpr"]; + uint32 winfnoid = 2 [json_name="winfnoid"]; + uint32 wintype = 3 [json_name="wintype"]; + uint32 wincollid = 4 [json_name="wincollid"]; + uint32 inputcollid = 5 [json_name="inputcollid"]; + repeated Node args = 6 [json_name="args"]; + Node aggfilter = 7 [json_name="aggfilter"]; + uint32 winref = 8 [json_name="winref"]; + bool winstar = 9 [json_name="winstar"]; + bool winagg = 10 [json_name="winagg"]; + int32 location = 11 [json_name="location"]; +} + +message SubscriptingRef +{ + Node xpr = 1 [json_name="xpr"]; + uint32 refcontainertype = 2 [json_name="refcontainertype"]; + uint32 refelemtype = 3 [json_name="refelemtype"]; + uint32 refrestype = 4 [json_name="refrestype"]; + int32 reftypmod = 5 [json_name="reftypmod"]; + uint32 refcollid = 6 [json_name="refcollid"]; + repeated Node refupperindexpr = 7 [json_name="refupperindexpr"]; + repeated Node reflowerindexpr = 8 [json_name="reflowerindexpr"]; + Node refexpr = 9 [json_name="refexpr"]; + Node refassgnexpr = 10 [json_name="refassgnexpr"]; +} + +message FuncExpr +{ + Node xpr = 1 [json_name="xpr"]; + uint32 funcid = 2 [json_name="funcid"]; + uint32 funcresulttype = 3 [json_name="funcresulttype"]; + bool funcretset = 4 [json_name="funcretset"]; + bool funcvariadic = 5 [json_name="funcvariadic"]; + CoercionForm funcformat = 6 [json_name="funcformat"]; + uint32 funccollid = 7 [json_name="funccollid"]; + uint32 inputcollid = 8 [json_name="inputcollid"]; + repeated Node args = 9 [json_name="args"]; + int32 location = 10 [json_name="location"]; +} + +message NamedArgExpr +{ + Node xpr = 1 [json_name="xpr"]; + Node arg = 2 [json_name="arg"]; + string name = 3 [json_name="name"]; + int32 argnumber = 4 [json_name="argnumber"]; + int32 location = 5 [json_name="location"]; +} + +message OpExpr +{ + Node xpr = 1 [json_name="xpr"]; + uint32 opno = 2 [json_name="opno"]; + uint32 opfuncid = 3 [json_name="opfuncid"]; + uint32 opresulttype = 4 [json_name="opresulttype"]; + bool opretset = 5 [json_name="opretset"]; + uint32 opcollid = 6 [json_name="opcollid"]; + uint32 inputcollid = 7 [json_name="inputcollid"]; + repeated Node args = 8 [json_name="args"]; + int32 location = 9 [json_name="location"]; +} + +message DistinctExpr +{ + Node xpr = 1 [json_name="xpr"]; + uint32 opno = 2 [json_name="opno"]; + uint32 opfuncid = 3 [json_name="opfuncid"]; + uint32 opresulttype = 4 [json_name="opresulttype"]; + bool opretset = 5 [json_name="opretset"]; + uint32 opcollid = 6 [json_name="opcollid"]; + uint32 inputcollid = 7 [json_name="inputcollid"]; + repeated Node args = 8 [json_name="args"]; + int32 location = 9 [json_name="location"]; +} + +message NullIfExpr +{ + Node xpr = 1 [json_name="xpr"]; + uint32 opno = 2 [json_name="opno"]; + uint32 opfuncid = 3 [json_name="opfuncid"]; + uint32 opresulttype = 4 [json_name="opresulttype"]; + bool opretset = 5 [json_name="opretset"]; + uint32 opcollid = 6 [json_name="opcollid"]; + uint32 inputcollid = 7 [json_name="inputcollid"]; + repeated Node args = 8 [json_name="args"]; + int32 location = 9 [json_name="location"]; +} + +message ScalarArrayOpExpr +{ + Node xpr = 1 [json_name="xpr"]; + uint32 opno = 2 [json_name="opno"]; + uint32 opfuncid = 3 [json_name="opfuncid"]; + uint32 hashfuncid = 4 [json_name="hashfuncid"]; + bool use_or = 5 [json_name="useOr"]; + uint32 inputcollid = 6 [json_name="inputcollid"]; + repeated Node args = 7 [json_name="args"]; + int32 location = 8 [json_name="location"]; +} + +message BoolExpr +{ + Node xpr = 1 [json_name="xpr"]; + BoolExprType boolop = 2 [json_name="boolop"]; + repeated Node args = 3 [json_name="args"]; + int32 location = 4 [json_name="location"]; +} + +message SubLink +{ + Node xpr = 1 [json_name="xpr"]; + SubLinkType sub_link_type = 2 [json_name="subLinkType"]; + int32 sub_link_id = 3 [json_name="subLinkId"]; + Node testexpr = 4 [json_name="testexpr"]; + repeated Node oper_name = 5 [json_name="operName"]; + Node subselect = 6 [json_name="subselect"]; + int32 location = 7 [json_name="location"]; +} + +message SubPlan +{ + Node xpr = 1 [json_name="xpr"]; + SubLinkType sub_link_type = 2 [json_name="subLinkType"]; + Node testexpr = 3 [json_name="testexpr"]; + repeated Node param_ids = 4 [json_name="paramIds"]; + int32 plan_id = 5 [json_name="plan_id"]; + string plan_name = 6 [json_name="plan_name"]; + uint32 first_col_type = 7 [json_name="firstColType"]; + int32 first_col_typmod = 8 [json_name="firstColTypmod"]; + uint32 first_col_collation = 9 [json_name="firstColCollation"]; + bool use_hash_table = 10 [json_name="useHashTable"]; + bool unknown_eq_false = 11 [json_name="unknownEqFalse"]; + bool parallel_safe = 12 [json_name="parallel_safe"]; + repeated Node set_param = 13 [json_name="setParam"]; + repeated Node par_param = 14 [json_name="parParam"]; + repeated Node args = 15 [json_name="args"]; + double startup_cost = 16 [json_name="startup_cost"]; + double per_call_cost = 17 [json_name="per_call_cost"]; +} + +message AlternativeSubPlan +{ + Node xpr = 1 [json_name="xpr"]; + repeated Node subplans = 2 [json_name="subplans"]; +} + +message FieldSelect +{ + Node xpr = 1 [json_name="xpr"]; + Node arg = 2 [json_name="arg"]; + int32 fieldnum = 3 [json_name="fieldnum"]; + uint32 resulttype = 4 [json_name="resulttype"]; + int32 resulttypmod = 5 [json_name="resulttypmod"]; + uint32 resultcollid = 6 [json_name="resultcollid"]; +} + +message FieldStore +{ + Node xpr = 1 [json_name="xpr"]; + Node arg = 2 [json_name="arg"]; + repeated Node newvals = 3 [json_name="newvals"]; + repeated Node fieldnums = 4 [json_name="fieldnums"]; + uint32 resulttype = 5 [json_name="resulttype"]; +} + +message RelabelType +{ + Node xpr = 1 [json_name="xpr"]; + Node arg = 2 [json_name="arg"]; + uint32 resulttype = 3 [json_name="resulttype"]; + int32 resulttypmod = 4 [json_name="resulttypmod"]; + uint32 resultcollid = 5 [json_name="resultcollid"]; + CoercionForm relabelformat = 6 [json_name="relabelformat"]; + int32 location = 7 [json_name="location"]; +} + +message CoerceViaIO +{ + Node xpr = 1 [json_name="xpr"]; + Node arg = 2 [json_name="arg"]; + uint32 resulttype = 3 [json_name="resulttype"]; + uint32 resultcollid = 4 [json_name="resultcollid"]; + CoercionForm coerceformat = 5 [json_name="coerceformat"]; + int32 location = 6 [json_name="location"]; +} + +message ArrayCoerceExpr +{ + Node xpr = 1 [json_name="xpr"]; + Node arg = 2 [json_name="arg"]; + Node elemexpr = 3 [json_name="elemexpr"]; + uint32 resulttype = 4 [json_name="resulttype"]; + int32 resulttypmod = 5 [json_name="resulttypmod"]; + uint32 resultcollid = 6 [json_name="resultcollid"]; + CoercionForm coerceformat = 7 [json_name="coerceformat"]; + int32 location = 8 [json_name="location"]; +} + +message ConvertRowtypeExpr +{ + Node xpr = 1 [json_name="xpr"]; + Node arg = 2 [json_name="arg"]; + uint32 resulttype = 3 [json_name="resulttype"]; + CoercionForm convertformat = 4 [json_name="convertformat"]; + int32 location = 5 [json_name="location"]; +} + +message CollateExpr +{ + Node xpr = 1 [json_name="xpr"]; + Node arg = 2 [json_name="arg"]; + uint32 coll_oid = 3 [json_name="collOid"]; + int32 location = 4 [json_name="location"]; +} + +message CaseExpr +{ + Node xpr = 1 [json_name="xpr"]; + uint32 casetype = 2 [json_name="casetype"]; + uint32 casecollid = 3 [json_name="casecollid"]; + Node arg = 4 [json_name="arg"]; + repeated Node args = 5 [json_name="args"]; + Node defresult = 6 [json_name="defresult"]; + int32 location = 7 [json_name="location"]; +} + +message CaseWhen +{ + Node xpr = 1 [json_name="xpr"]; + Node expr = 2 [json_name="expr"]; + Node result = 3 [json_name="result"]; + int32 location = 4 [json_name="location"]; +} + +message CaseTestExpr +{ + Node xpr = 1 [json_name="xpr"]; + uint32 type_id = 2 [json_name="typeId"]; + int32 type_mod = 3 [json_name="typeMod"]; + uint32 collation = 4 [json_name="collation"]; +} + +message ArrayExpr +{ + Node xpr = 1 [json_name="xpr"]; + uint32 array_typeid = 2 [json_name="array_typeid"]; + uint32 array_collid = 3 [json_name="array_collid"]; + uint32 element_typeid = 4 [json_name="element_typeid"]; + repeated Node elements = 5 [json_name="elements"]; + bool multidims = 6 [json_name="multidims"]; + int32 location = 7 [json_name="location"]; +} + +message RowExpr +{ + Node xpr = 1 [json_name="xpr"]; + repeated Node args = 2 [json_name="args"]; + uint32 row_typeid = 3 [json_name="row_typeid"]; + CoercionForm row_format = 4 [json_name="row_format"]; + repeated Node colnames = 5 [json_name="colnames"]; + int32 location = 6 [json_name="location"]; +} + +message RowCompareExpr +{ + Node xpr = 1 [json_name="xpr"]; + RowCompareType rctype = 2 [json_name="rctype"]; + repeated Node opnos = 3 [json_name="opnos"]; + repeated Node opfamilies = 4 [json_name="opfamilies"]; + repeated Node inputcollids = 5 [json_name="inputcollids"]; + repeated Node largs = 6 [json_name="largs"]; + repeated Node rargs = 7 [json_name="rargs"]; +} + +message CoalesceExpr +{ + Node xpr = 1 [json_name="xpr"]; + uint32 coalescetype = 2 [json_name="coalescetype"]; + uint32 coalescecollid = 3 [json_name="coalescecollid"]; + repeated Node args = 4 [json_name="args"]; + int32 location = 5 [json_name="location"]; +} + +message MinMaxExpr +{ + Node xpr = 1 [json_name="xpr"]; + uint32 minmaxtype = 2 [json_name="minmaxtype"]; + uint32 minmaxcollid = 3 [json_name="minmaxcollid"]; + uint32 inputcollid = 4 [json_name="inputcollid"]; + MinMaxOp op = 5 [json_name="op"]; + repeated Node args = 6 [json_name="args"]; + int32 location = 7 [json_name="location"]; +} + +message SQLValueFunction +{ + Node xpr = 1 [json_name="xpr"]; + SQLValueFunctionOp op = 2 [json_name="op"]; + uint32 type = 3 [json_name="type"]; + int32 typmod = 4 [json_name="typmod"]; + int32 location = 5 [json_name="location"]; +} + +message XmlExpr +{ + Node xpr = 1 [json_name="xpr"]; + XmlExprOp op = 2 [json_name="op"]; + string name = 3 [json_name="name"]; + repeated Node named_args = 4 [json_name="named_args"]; + repeated Node arg_names = 5 [json_name="arg_names"]; + repeated Node args = 6 [json_name="args"]; + XmlOptionType xmloption = 7 [json_name="xmloption"]; + uint32 type = 8 [json_name="type"]; + int32 typmod = 9 [json_name="typmod"]; + int32 location = 10 [json_name="location"]; +} + +message NullTest +{ + Node xpr = 1 [json_name="xpr"]; + Node arg = 2 [json_name="arg"]; + NullTestType nulltesttype = 3 [json_name="nulltesttype"]; + bool argisrow = 4 [json_name="argisrow"]; + int32 location = 5 [json_name="location"]; +} + +message BooleanTest +{ + Node xpr = 1 [json_name="xpr"]; + Node arg = 2 [json_name="arg"]; + BoolTestType booltesttype = 3 [json_name="booltesttype"]; + int32 location = 4 [json_name="location"]; +} + +message CoerceToDomain +{ + Node xpr = 1 [json_name="xpr"]; + Node arg = 2 [json_name="arg"]; + uint32 resulttype = 3 [json_name="resulttype"]; + int32 resulttypmod = 4 [json_name="resulttypmod"]; + uint32 resultcollid = 5 [json_name="resultcollid"]; + CoercionForm coercionformat = 6 [json_name="coercionformat"]; + int32 location = 7 [json_name="location"]; +} + +message CoerceToDomainValue +{ + Node xpr = 1 [json_name="xpr"]; + uint32 type_id = 2 [json_name="typeId"]; + int32 type_mod = 3 [json_name="typeMod"]; + uint32 collation = 4 [json_name="collation"]; + int32 location = 5 [json_name="location"]; +} + +message SetToDefault +{ + Node xpr = 1 [json_name="xpr"]; + uint32 type_id = 2 [json_name="typeId"]; + int32 type_mod = 3 [json_name="typeMod"]; + uint32 collation = 4 [json_name="collation"]; + int32 location = 5 [json_name="location"]; +} + +message CurrentOfExpr +{ + Node xpr = 1 [json_name="xpr"]; + uint32 cvarno = 2 [json_name="cvarno"]; + string cursor_name = 3 [json_name="cursor_name"]; + int32 cursor_param = 4 [json_name="cursor_param"]; +} + +message NextValueExpr +{ + Node xpr = 1 [json_name="xpr"]; + uint32 seqid = 2 [json_name="seqid"]; + uint32 type_id = 3 [json_name="typeId"]; +} + +message InferenceElem +{ + Node xpr = 1 [json_name="xpr"]; + Node expr = 2 [json_name="expr"]; + uint32 infercollid = 3 [json_name="infercollid"]; + uint32 inferopclass = 4 [json_name="inferopclass"]; +} + +message TargetEntry +{ + Node xpr = 1 [json_name="xpr"]; + Node expr = 2 [json_name="expr"]; + int32 resno = 3 [json_name="resno"]; + string resname = 4 [json_name="resname"]; + uint32 ressortgroupref = 5 [json_name="ressortgroupref"]; + uint32 resorigtbl = 6 [json_name="resorigtbl"]; + int32 resorigcol = 7 [json_name="resorigcol"]; + bool resjunk = 8 [json_name="resjunk"]; +} + +message RangeTblRef +{ + int32 rtindex = 1 [json_name="rtindex"]; +} + +message JoinExpr +{ + JoinType jointype = 1 [json_name="jointype"]; + bool is_natural = 2 [json_name="isNatural"]; + Node larg = 3 [json_name="larg"]; + Node rarg = 4 [json_name="rarg"]; + repeated Node using_clause = 5 [json_name="usingClause"]; + Alias join_using_alias = 6 [json_name="join_using_alias"]; + Node quals = 7 [json_name="quals"]; + Alias alias = 8 [json_name="alias"]; + int32 rtindex = 9 [json_name="rtindex"]; +} + +message FromExpr +{ + repeated Node fromlist = 1 [json_name="fromlist"]; + Node quals = 2 [json_name="quals"]; +} + +message OnConflictExpr +{ + OnConflictAction action = 1 [json_name="action"]; + repeated Node arbiter_elems = 2 [json_name="arbiterElems"]; + Node arbiter_where = 3 [json_name="arbiterWhere"]; + uint32 constraint = 4 [json_name="constraint"]; + repeated Node on_conflict_set = 5 [json_name="onConflictSet"]; + Node on_conflict_where = 6 [json_name="onConflictWhere"]; + int32 excl_rel_index = 7 [json_name="exclRelIndex"]; + repeated Node excl_rel_tlist = 8 [json_name="exclRelTlist"]; +} + +message IntoClause +{ + RangeVar rel = 1 [json_name="rel"]; + repeated Node col_names = 2 [json_name="colNames"]; + string access_method = 3 [json_name="accessMethod"]; + repeated Node options = 4 [json_name="options"]; + OnCommitAction on_commit = 5 [json_name="onCommit"]; + string table_space_name = 6 [json_name="tableSpaceName"]; + Node view_query = 7 [json_name="viewQuery"]; + bool skip_data = 8 [json_name="skipData"]; +} + +message RawStmt +{ + Node stmt = 1 [json_name="stmt"]; + int32 stmt_location = 2 [json_name="stmt_location"]; + int32 stmt_len = 3 [json_name="stmt_len"]; +} + +message Query +{ + CmdType command_type = 1 [json_name="commandType"]; + QuerySource query_source = 2 [json_name="querySource"]; + bool can_set_tag = 3 [json_name="canSetTag"]; + Node utility_stmt = 4 [json_name="utilityStmt"]; + int32 result_relation = 5 [json_name="resultRelation"]; + bool has_aggs = 6 [json_name="hasAggs"]; + bool has_window_funcs = 7 [json_name="hasWindowFuncs"]; + bool has_target_srfs = 8 [json_name="hasTargetSRFs"]; + bool has_sub_links = 9 [json_name="hasSubLinks"]; + bool has_distinct_on = 10 [json_name="hasDistinctOn"]; + bool has_recursive = 11 [json_name="hasRecursive"]; + bool has_modifying_cte = 12 [json_name="hasModifyingCTE"]; + bool has_for_update = 13 [json_name="hasForUpdate"]; + bool has_row_security = 14 [json_name="hasRowSecurity"]; + bool is_return = 15 [json_name="isReturn"]; + repeated Node cte_list = 16 [json_name="cteList"]; + repeated Node rtable = 17 [json_name="rtable"]; + FromExpr jointree = 18 [json_name="jointree"]; + repeated Node target_list = 19 [json_name="targetList"]; + OverridingKind override = 20 [json_name="override"]; + OnConflictExpr on_conflict = 21 [json_name="onConflict"]; + repeated Node returning_list = 22 [json_name="returningList"]; + repeated Node group_clause = 23 [json_name="groupClause"]; + bool group_distinct = 24 [json_name="groupDistinct"]; + repeated Node grouping_sets = 25 [json_name="groupingSets"]; + Node having_qual = 26 [json_name="havingQual"]; + repeated Node window_clause = 27 [json_name="windowClause"]; + repeated Node distinct_clause = 28 [json_name="distinctClause"]; + repeated Node sort_clause = 29 [json_name="sortClause"]; + Node limit_offset = 30 [json_name="limitOffset"]; + Node limit_count = 31 [json_name="limitCount"]; + LimitOption limit_option = 32 [json_name="limitOption"]; + repeated Node row_marks = 33 [json_name="rowMarks"]; + Node set_operations = 34 [json_name="setOperations"]; + repeated Node constraint_deps = 35 [json_name="constraintDeps"]; + repeated Node with_check_options = 36 [json_name="withCheckOptions"]; + int32 stmt_location = 37 [json_name="stmt_location"]; + int32 stmt_len = 38 [json_name="stmt_len"]; +} + +message InsertStmt +{ + RangeVar relation = 1 [json_name="relation"]; + repeated Node cols = 2 [json_name="cols"]; + Node select_stmt = 3 [json_name="selectStmt"]; + OnConflictClause on_conflict_clause = 4 [json_name="onConflictClause"]; + repeated Node returning_list = 5 [json_name="returningList"]; + WithClause with_clause = 6 [json_name="withClause"]; + OverridingKind override = 7 [json_name="override"]; +} + +message DeleteStmt +{ + RangeVar relation = 1 [json_name="relation"]; + repeated Node using_clause = 2 [json_name="usingClause"]; + Node where_clause = 3 [json_name="whereClause"]; + repeated Node returning_list = 4 [json_name="returningList"]; + WithClause with_clause = 5 [json_name="withClause"]; +} + +message UpdateStmt +{ + RangeVar relation = 1 [json_name="relation"]; + repeated Node target_list = 2 [json_name="targetList"]; + Node where_clause = 3 [json_name="whereClause"]; + repeated Node from_clause = 4 [json_name="fromClause"]; + repeated Node returning_list = 5 [json_name="returningList"]; + WithClause with_clause = 6 [json_name="withClause"]; +} + +message SelectStmt +{ + repeated Node distinct_clause = 1 [json_name="distinctClause"]; + IntoClause into_clause = 2 [json_name="intoClause"]; + repeated Node target_list = 3 [json_name="targetList"]; + repeated Node from_clause = 4 [json_name="fromClause"]; + Node where_clause = 5 [json_name="whereClause"]; + repeated Node group_clause = 6 [json_name="groupClause"]; + bool group_distinct = 7 [json_name="groupDistinct"]; + Node having_clause = 8 [json_name="havingClause"]; + repeated Node window_clause = 9 [json_name="windowClause"]; + repeated Node values_lists = 10 [json_name="valuesLists"]; + repeated Node sort_clause = 11 [json_name="sortClause"]; + Node limit_offset = 12 [json_name="limitOffset"]; + Node limit_count = 13 [json_name="limitCount"]; + LimitOption limit_option = 14 [json_name="limitOption"]; + repeated Node locking_clause = 15 [json_name="lockingClause"]; + WithClause with_clause = 16 [json_name="withClause"]; + SetOperation op = 17 [json_name="op"]; + bool all = 18 [json_name="all"]; + SelectStmt larg = 19 [json_name="larg"]; + SelectStmt rarg = 20 [json_name="rarg"]; +} + +message ReturnStmt +{ + Node returnval = 1 [json_name="returnval"]; +} + +message PLAssignStmt +{ + string name = 1 [json_name="name"]; + repeated Node indirection = 2 [json_name="indirection"]; + int32 nnames = 3 [json_name="nnames"]; + SelectStmt val = 4 [json_name="val"]; + int32 location = 5 [json_name="location"]; +} + +message AlterTableStmt +{ + RangeVar relation = 1 [json_name="relation"]; + repeated Node cmds = 2 [json_name="cmds"]; + ObjectType objtype = 3 [json_name="objtype"]; + bool missing_ok = 4 [json_name="missing_ok"]; +} + +message AlterTableCmd +{ + AlterTableType subtype = 1 [json_name="subtype"]; + string name = 2 [json_name="name"]; + int32 num = 3 [json_name="num"]; + RoleSpec newowner = 4 [json_name="newowner"]; + Node def = 5 [json_name="def"]; + DropBehavior behavior = 6 [json_name="behavior"]; + bool missing_ok = 7 [json_name="missing_ok"]; + bool recurse = 8 [json_name="recurse"]; +} + +message AlterDomainStmt +{ + string subtype = 1 [json_name="subtype"]; + repeated Node type_name = 2 [json_name="typeName"]; + string name = 3 [json_name="name"]; + Node def = 4 [json_name="def"]; + DropBehavior behavior = 5 [json_name="behavior"]; + bool missing_ok = 6 [json_name="missing_ok"]; +} + +message SetOperationStmt +{ + SetOperation op = 1 [json_name="op"]; + bool all = 2 [json_name="all"]; + Node larg = 3 [json_name="larg"]; + Node rarg = 4 [json_name="rarg"]; + repeated Node col_types = 5 [json_name="colTypes"]; + repeated Node col_typmods = 6 [json_name="colTypmods"]; + repeated Node col_collations = 7 [json_name="colCollations"]; + repeated Node group_clauses = 8 [json_name="groupClauses"]; +} + +message GrantStmt +{ + bool is_grant = 1 [json_name="is_grant"]; + GrantTargetType targtype = 2 [json_name="targtype"]; + ObjectType objtype = 3 [json_name="objtype"]; + repeated Node objects = 4 [json_name="objects"]; + repeated Node privileges = 5 [json_name="privileges"]; + repeated Node grantees = 6 [json_name="grantees"]; + bool grant_option = 7 [json_name="grant_option"]; + RoleSpec grantor = 8 [json_name="grantor"]; + DropBehavior behavior = 9 [json_name="behavior"]; +} + +message GrantRoleStmt +{ + repeated Node granted_roles = 1 [json_name="granted_roles"]; + repeated Node grantee_roles = 2 [json_name="grantee_roles"]; + bool is_grant = 3 [json_name="is_grant"]; + bool admin_opt = 4 [json_name="admin_opt"]; + RoleSpec grantor = 5 [json_name="grantor"]; + DropBehavior behavior = 6 [json_name="behavior"]; +} + +message AlterDefaultPrivilegesStmt +{ + repeated Node options = 1 [json_name="options"]; + GrantStmt action = 2 [json_name="action"]; +} + +message ClosePortalStmt +{ + string portalname = 1 [json_name="portalname"]; +} + +message ClusterStmt +{ + RangeVar relation = 1 [json_name="relation"]; + string indexname = 2 [json_name="indexname"]; + repeated Node params = 3 [json_name="params"]; +} + +message CopyStmt +{ + RangeVar relation = 1 [json_name="relation"]; + Node query = 2 [json_name="query"]; + repeated Node attlist = 3 [json_name="attlist"]; + bool is_from = 4 [json_name="is_from"]; + bool is_program = 5 [json_name="is_program"]; + string filename = 6 [json_name="filename"]; + repeated Node options = 7 [json_name="options"]; + Node where_clause = 8 [json_name="whereClause"]; +} + +message CreateStmt +{ + RangeVar relation = 1 [json_name="relation"]; + repeated Node table_elts = 2 [json_name="tableElts"]; + repeated Node inh_relations = 3 [json_name="inhRelations"]; + PartitionBoundSpec partbound = 4 [json_name="partbound"]; + PartitionSpec partspec = 5 [json_name="partspec"]; + TypeName of_typename = 6 [json_name="ofTypename"]; + repeated Node constraints = 7 [json_name="constraints"]; + repeated Node options = 8 [json_name="options"]; + OnCommitAction oncommit = 9 [json_name="oncommit"]; + string tablespacename = 10 [json_name="tablespacename"]; + string access_method = 11 [json_name="accessMethod"]; + bool if_not_exists = 12 [json_name="if_not_exists"]; +} + +message DefineStmt +{ + ObjectType kind = 1 [json_name="kind"]; + bool oldstyle = 2 [json_name="oldstyle"]; + repeated Node defnames = 3 [json_name="defnames"]; + repeated Node args = 4 [json_name="args"]; + repeated Node definition = 5 [json_name="definition"]; + bool if_not_exists = 6 [json_name="if_not_exists"]; + bool replace = 7 [json_name="replace"]; +} + +message DropStmt +{ + repeated Node objects = 1 [json_name="objects"]; + ObjectType remove_type = 2 [json_name="removeType"]; + DropBehavior behavior = 3 [json_name="behavior"]; + bool missing_ok = 4 [json_name="missing_ok"]; + bool concurrent = 5 [json_name="concurrent"]; +} + +message TruncateStmt +{ + repeated Node relations = 1 [json_name="relations"]; + bool restart_seqs = 2 [json_name="restart_seqs"]; + DropBehavior behavior = 3 [json_name="behavior"]; +} + +message CommentStmt +{ + ObjectType objtype = 1 [json_name="objtype"]; + Node object = 2 [json_name="object"]; + string comment = 3 [json_name="comment"]; +} + +message FetchStmt +{ + FetchDirection direction = 1 [json_name="direction"]; + int64 how_many = 2 [json_name="howMany"]; + string portalname = 3 [json_name="portalname"]; + bool ismove = 4 [json_name="ismove"]; +} + +message IndexStmt +{ + string idxname = 1 [json_name="idxname"]; + RangeVar relation = 2 [json_name="relation"]; + string access_method = 3 [json_name="accessMethod"]; + string table_space = 4 [json_name="tableSpace"]; + repeated Node index_params = 5 [json_name="indexParams"]; + repeated Node index_including_params = 6 [json_name="indexIncludingParams"]; + repeated Node options = 7 [json_name="options"]; + Node where_clause = 8 [json_name="whereClause"]; + repeated Node exclude_op_names = 9 [json_name="excludeOpNames"]; + string idxcomment = 10 [json_name="idxcomment"]; + uint32 index_oid = 11 [json_name="indexOid"]; + uint32 old_node = 12 [json_name="oldNode"]; + uint32 old_create_subid = 13 [json_name="oldCreateSubid"]; + uint32 old_first_relfilenode_subid = 14 [json_name="oldFirstRelfilenodeSubid"]; + bool unique = 15 [json_name="unique"]; + bool primary = 16 [json_name="primary"]; + bool isconstraint = 17 [json_name="isconstraint"]; + bool deferrable = 18 [json_name="deferrable"]; + bool initdeferred = 19 [json_name="initdeferred"]; + bool transformed = 20 [json_name="transformed"]; + bool concurrent = 21 [json_name="concurrent"]; + bool if_not_exists = 22 [json_name="if_not_exists"]; + bool reset_default_tblspc = 23 [json_name="reset_default_tblspc"]; +} + +message CreateFunctionStmt +{ + bool is_procedure = 1 [json_name="is_procedure"]; + bool replace = 2 [json_name="replace"]; + repeated Node funcname = 3 [json_name="funcname"]; + repeated Node parameters = 4 [json_name="parameters"]; + TypeName return_type = 5 [json_name="returnType"]; + repeated Node options = 6 [json_name="options"]; + Node sql_body = 7 [json_name="sql_body"]; +} + +message AlterFunctionStmt +{ + ObjectType objtype = 1 [json_name="objtype"]; + ObjectWithArgs func = 2 [json_name="func"]; + repeated Node actions = 3 [json_name="actions"]; +} + +message DoStmt +{ + repeated Node args = 1 [json_name="args"]; +} + +message RenameStmt +{ + ObjectType rename_type = 1 [json_name="renameType"]; + ObjectType relation_type = 2 [json_name="relationType"]; + RangeVar relation = 3 [json_name="relation"]; + Node object = 4 [json_name="object"]; + string subname = 5 [json_name="subname"]; + string newname = 6 [json_name="newname"]; + DropBehavior behavior = 7 [json_name="behavior"]; + bool missing_ok = 8 [json_name="missing_ok"]; +} + +message RuleStmt +{ + RangeVar relation = 1 [json_name="relation"]; + string rulename = 2 [json_name="rulename"]; + Node where_clause = 3 [json_name="whereClause"]; + CmdType event = 4 [json_name="event"]; + bool instead = 5 [json_name="instead"]; + repeated Node actions = 6 [json_name="actions"]; + bool replace = 7 [json_name="replace"]; +} + +message NotifyStmt +{ + string conditionname = 1 [json_name="conditionname"]; + string payload = 2 [json_name="payload"]; +} + +message ListenStmt +{ + string conditionname = 1 [json_name="conditionname"]; +} + +message UnlistenStmt +{ + string conditionname = 1 [json_name="conditionname"]; +} + +message TransactionStmt +{ + TransactionStmtKind kind = 1 [json_name="kind"]; + repeated Node options = 2 [json_name="options"]; + string savepoint_name = 3 [json_name="savepoint_name"]; + string gid = 4 [json_name="gid"]; + bool chain = 5 [json_name="chain"]; +} + +message ViewStmt +{ + RangeVar view = 1 [json_name="view"]; + repeated Node aliases = 2 [json_name="aliases"]; + Node query = 3 [json_name="query"]; + bool replace = 4 [json_name="replace"]; + repeated Node options = 5 [json_name="options"]; + ViewCheckOption with_check_option = 6 [json_name="withCheckOption"]; +} + +message LoadStmt +{ + string filename = 1 [json_name="filename"]; +} + +message CreateDomainStmt +{ + repeated Node domainname = 1 [json_name="domainname"]; + TypeName type_name = 2 [json_name="typeName"]; + CollateClause coll_clause = 3 [json_name="collClause"]; + repeated Node constraints = 4 [json_name="constraints"]; +} + +message CreatedbStmt +{ + string dbname = 1 [json_name="dbname"]; + repeated Node options = 2 [json_name="options"]; +} + +message DropdbStmt +{ + string dbname = 1 [json_name="dbname"]; + bool missing_ok = 2 [json_name="missing_ok"]; + repeated Node options = 3 [json_name="options"]; +} + +message VacuumStmt +{ + repeated Node options = 1 [json_name="options"]; + repeated Node rels = 2 [json_name="rels"]; + bool is_vacuumcmd = 3 [json_name="is_vacuumcmd"]; +} + +message ExplainStmt +{ + Node query = 1 [json_name="query"]; + repeated Node options = 2 [json_name="options"]; +} + +message CreateTableAsStmt +{ + Node query = 1 [json_name="query"]; + IntoClause into = 2 [json_name="into"]; + ObjectType objtype = 3 [json_name="objtype"]; + bool is_select_into = 4 [json_name="is_select_into"]; + bool if_not_exists = 5 [json_name="if_not_exists"]; +} + +message CreateSeqStmt +{ + RangeVar sequence = 1 [json_name="sequence"]; + repeated Node options = 2 [json_name="options"]; + uint32 owner_id = 3 [json_name="ownerId"]; + bool for_identity = 4 [json_name="for_identity"]; + bool if_not_exists = 5 [json_name="if_not_exists"]; +} + +message AlterSeqStmt +{ + RangeVar sequence = 1 [json_name="sequence"]; + repeated Node options = 2 [json_name="options"]; + bool for_identity = 3 [json_name="for_identity"]; + bool missing_ok = 4 [json_name="missing_ok"]; +} + +message VariableSetStmt +{ + VariableSetKind kind = 1 [json_name="kind"]; + string name = 2 [json_name="name"]; + repeated Node args = 3 [json_name="args"]; + bool is_local = 4 [json_name="is_local"]; +} + +message VariableShowStmt +{ + string name = 1 [json_name="name"]; +} + +message DiscardStmt +{ + DiscardMode target = 1 [json_name="target"]; +} + +message CreateTrigStmt +{ + bool replace = 1 [json_name="replace"]; + bool isconstraint = 2 [json_name="isconstraint"]; + string trigname = 3 [json_name="trigname"]; + RangeVar relation = 4 [json_name="relation"]; + repeated Node funcname = 5 [json_name="funcname"]; + repeated Node args = 6 [json_name="args"]; + bool row = 7 [json_name="row"]; + int32 timing = 8 [json_name="timing"]; + int32 events = 9 [json_name="events"]; + repeated Node columns = 10 [json_name="columns"]; + Node when_clause = 11 [json_name="whenClause"]; + repeated Node transition_rels = 12 [json_name="transitionRels"]; + bool deferrable = 13 [json_name="deferrable"]; + bool initdeferred = 14 [json_name="initdeferred"]; + RangeVar constrrel = 15 [json_name="constrrel"]; +} + +message CreatePLangStmt +{ + bool replace = 1 [json_name="replace"]; + string plname = 2 [json_name="plname"]; + repeated Node plhandler = 3 [json_name="plhandler"]; + repeated Node plinline = 4 [json_name="plinline"]; + repeated Node plvalidator = 5 [json_name="plvalidator"]; + bool pltrusted = 6 [json_name="pltrusted"]; +} + +message CreateRoleStmt +{ + RoleStmtType stmt_type = 1 [json_name="stmt_type"]; + string role = 2 [json_name="role"]; + repeated Node options = 3 [json_name="options"]; +} + +message AlterRoleStmt +{ + RoleSpec role = 1 [json_name="role"]; + repeated Node options = 2 [json_name="options"]; + int32 action = 3 [json_name="action"]; +} + +message DropRoleStmt +{ + repeated Node roles = 1 [json_name="roles"]; + bool missing_ok = 2 [json_name="missing_ok"]; +} + +message LockStmt +{ + repeated Node relations = 1 [json_name="relations"]; + int32 mode = 2 [json_name="mode"]; + bool nowait = 3 [json_name="nowait"]; +} + +message ConstraintsSetStmt +{ + repeated Node constraints = 1 [json_name="constraints"]; + bool deferred = 2 [json_name="deferred"]; +} + +message ReindexStmt +{ + ReindexObjectType kind = 1 [json_name="kind"]; + RangeVar relation = 2 [json_name="relation"]; + string name = 3 [json_name="name"]; + repeated Node params = 4 [json_name="params"]; +} + +message CheckPointStmt +{ +} + +message CreateSchemaStmt +{ + string schemaname = 1 [json_name="schemaname"]; + RoleSpec authrole = 2 [json_name="authrole"]; + repeated Node schema_elts = 3 [json_name="schemaElts"]; + bool if_not_exists = 4 [json_name="if_not_exists"]; +} + +message AlterDatabaseStmt +{ + string dbname = 1 [json_name="dbname"]; + repeated Node options = 2 [json_name="options"]; +} + +message AlterDatabaseSetStmt +{ + string dbname = 1 [json_name="dbname"]; + VariableSetStmt setstmt = 2 [json_name="setstmt"]; +} + +message AlterRoleSetStmt +{ + RoleSpec role = 1 [json_name="role"]; + string database = 2 [json_name="database"]; + VariableSetStmt setstmt = 3 [json_name="setstmt"]; +} + +message CreateConversionStmt +{ + repeated Node conversion_name = 1 [json_name="conversion_name"]; + string for_encoding_name = 2 [json_name="for_encoding_name"]; + string to_encoding_name = 3 [json_name="to_encoding_name"]; + repeated Node func_name = 4 [json_name="func_name"]; + bool def = 5 [json_name="def"]; +} + +message CreateCastStmt +{ + TypeName sourcetype = 1 [json_name="sourcetype"]; + TypeName targettype = 2 [json_name="targettype"]; + ObjectWithArgs func = 3 [json_name="func"]; + CoercionContext context = 4 [json_name="context"]; + bool inout = 5 [json_name="inout"]; +} + +message CreateOpClassStmt +{ + repeated Node opclassname = 1 [json_name="opclassname"]; + repeated Node opfamilyname = 2 [json_name="opfamilyname"]; + string amname = 3 [json_name="amname"]; + TypeName datatype = 4 [json_name="datatype"]; + repeated Node items = 5 [json_name="items"]; + bool is_default = 6 [json_name="isDefault"]; +} + +message CreateOpFamilyStmt +{ + repeated Node opfamilyname = 1 [json_name="opfamilyname"]; + string amname = 2 [json_name="amname"]; +} + +message AlterOpFamilyStmt +{ + repeated Node opfamilyname = 1 [json_name="opfamilyname"]; + string amname = 2 [json_name="amname"]; + bool is_drop = 3 [json_name="isDrop"]; + repeated Node items = 4 [json_name="items"]; +} + +message PrepareStmt +{ + string name = 1 [json_name="name"]; + repeated Node argtypes = 2 [json_name="argtypes"]; + Node query = 3 [json_name="query"]; +} + +message ExecuteStmt +{ + string name = 1 [json_name="name"]; + repeated Node params = 2 [json_name="params"]; +} + +message DeallocateStmt +{ + string name = 1 [json_name="name"]; +} + +message DeclareCursorStmt +{ + string portalname = 1 [json_name="portalname"]; + int32 options = 2 [json_name="options"]; + Node query = 3 [json_name="query"]; +} + +message CreateTableSpaceStmt +{ + string tablespacename = 1 [json_name="tablespacename"]; + RoleSpec owner = 2 [json_name="owner"]; + string location = 3 [json_name="location"]; + repeated Node options = 4 [json_name="options"]; +} + +message DropTableSpaceStmt +{ + string tablespacename = 1 [json_name="tablespacename"]; + bool missing_ok = 2 [json_name="missing_ok"]; +} + +message AlterObjectDependsStmt +{ + ObjectType object_type = 1 [json_name="objectType"]; + RangeVar relation = 2 [json_name="relation"]; + Node object = 3 [json_name="object"]; + Node extname = 4 [json_name="extname"]; + bool remove = 5 [json_name="remove"]; +} + +message AlterObjectSchemaStmt +{ + ObjectType object_type = 1 [json_name="objectType"]; + RangeVar relation = 2 [json_name="relation"]; + Node object = 3 [json_name="object"]; + string newschema = 4 [json_name="newschema"]; + bool missing_ok = 5 [json_name="missing_ok"]; +} + +message AlterOwnerStmt +{ + ObjectType object_type = 1 [json_name="objectType"]; + RangeVar relation = 2 [json_name="relation"]; + Node object = 3 [json_name="object"]; + RoleSpec newowner = 4 [json_name="newowner"]; +} + +message AlterOperatorStmt +{ + ObjectWithArgs opername = 1 [json_name="opername"]; + repeated Node options = 2 [json_name="options"]; +} + +message AlterTypeStmt +{ + repeated Node type_name = 1 [json_name="typeName"]; + repeated Node options = 2 [json_name="options"]; +} + +message DropOwnedStmt +{ + repeated Node roles = 1 [json_name="roles"]; + DropBehavior behavior = 2 [json_name="behavior"]; +} + +message ReassignOwnedStmt +{ + repeated Node roles = 1 [json_name="roles"]; + RoleSpec newrole = 2 [json_name="newrole"]; +} + +message CompositeTypeStmt +{ + RangeVar typevar = 1 [json_name="typevar"]; + repeated Node coldeflist = 2 [json_name="coldeflist"]; +} + +message CreateEnumStmt +{ + repeated Node type_name = 1 [json_name="typeName"]; + repeated Node vals = 2 [json_name="vals"]; +} + +message CreateRangeStmt +{ + repeated Node type_name = 1 [json_name="typeName"]; + repeated Node params = 2 [json_name="params"]; +} + +message AlterEnumStmt +{ + repeated Node type_name = 1 [json_name="typeName"]; + string old_val = 2 [json_name="oldVal"]; + string new_val = 3 [json_name="newVal"]; + string new_val_neighbor = 4 [json_name="newValNeighbor"]; + bool new_val_is_after = 5 [json_name="newValIsAfter"]; + bool skip_if_new_val_exists = 6 [json_name="skipIfNewValExists"]; +} + +message AlterTSDictionaryStmt +{ + repeated Node dictname = 1 [json_name="dictname"]; + repeated Node options = 2 [json_name="options"]; +} + +message AlterTSConfigurationStmt +{ + AlterTSConfigType kind = 1 [json_name="kind"]; + repeated Node cfgname = 2 [json_name="cfgname"]; + repeated Node tokentype = 3 [json_name="tokentype"]; + repeated Node dicts = 4 [json_name="dicts"]; + bool override = 5 [json_name="override"]; + bool replace = 6 [json_name="replace"]; + bool missing_ok = 7 [json_name="missing_ok"]; +} + +message CreateFdwStmt +{ + string fdwname = 1 [json_name="fdwname"]; + repeated Node func_options = 2 [json_name="func_options"]; + repeated Node options = 3 [json_name="options"]; +} + +message AlterFdwStmt +{ + string fdwname = 1 [json_name="fdwname"]; + repeated Node func_options = 2 [json_name="func_options"]; + repeated Node options = 3 [json_name="options"]; +} + +message CreateForeignServerStmt +{ + string servername = 1 [json_name="servername"]; + string servertype = 2 [json_name="servertype"]; + string version = 3 [json_name="version"]; + string fdwname = 4 [json_name="fdwname"]; + bool if_not_exists = 5 [json_name="if_not_exists"]; + repeated Node options = 6 [json_name="options"]; +} + +message AlterForeignServerStmt +{ + string servername = 1 [json_name="servername"]; + string version = 2 [json_name="version"]; + repeated Node options = 3 [json_name="options"]; + bool has_version = 4 [json_name="has_version"]; +} + +message CreateUserMappingStmt +{ + RoleSpec user = 1 [json_name="user"]; + string servername = 2 [json_name="servername"]; + bool if_not_exists = 3 [json_name="if_not_exists"]; + repeated Node options = 4 [json_name="options"]; +} + +message AlterUserMappingStmt +{ + RoleSpec user = 1 [json_name="user"]; + string servername = 2 [json_name="servername"]; + repeated Node options = 3 [json_name="options"]; +} + +message DropUserMappingStmt +{ + RoleSpec user = 1 [json_name="user"]; + string servername = 2 [json_name="servername"]; + bool missing_ok = 3 [json_name="missing_ok"]; +} + +message AlterTableSpaceOptionsStmt +{ + string tablespacename = 1 [json_name="tablespacename"]; + repeated Node options = 2 [json_name="options"]; + bool is_reset = 3 [json_name="isReset"]; +} + +message AlterTableMoveAllStmt +{ + string orig_tablespacename = 1 [json_name="orig_tablespacename"]; + ObjectType objtype = 2 [json_name="objtype"]; + repeated Node roles = 3 [json_name="roles"]; + string new_tablespacename = 4 [json_name="new_tablespacename"]; + bool nowait = 5 [json_name="nowait"]; +} + +message SecLabelStmt +{ + ObjectType objtype = 1 [json_name="objtype"]; + Node object = 2 [json_name="object"]; + string provider = 3 [json_name="provider"]; + string label = 4 [json_name="label"]; +} + +message CreateForeignTableStmt +{ + CreateStmt base_stmt = 1 [json_name="base"]; + string servername = 2 [json_name="servername"]; + repeated Node options = 3 [json_name="options"]; +} + +message ImportForeignSchemaStmt +{ + string server_name = 1 [json_name="server_name"]; + string remote_schema = 2 [json_name="remote_schema"]; + string local_schema = 3 [json_name="local_schema"]; + ImportForeignSchemaType list_type = 4 [json_name="list_type"]; + repeated Node table_list = 5 [json_name="table_list"]; + repeated Node options = 6 [json_name="options"]; +} + +message CreateExtensionStmt +{ + string extname = 1 [json_name="extname"]; + bool if_not_exists = 2 [json_name="if_not_exists"]; + repeated Node options = 3 [json_name="options"]; +} + +message AlterExtensionStmt +{ + string extname = 1 [json_name="extname"]; + repeated Node options = 2 [json_name="options"]; +} + +message AlterExtensionContentsStmt +{ + string extname = 1 [json_name="extname"]; + int32 action = 2 [json_name="action"]; + ObjectType objtype = 3 [json_name="objtype"]; + Node object = 4 [json_name="object"]; +} + +message CreateEventTrigStmt +{ + string trigname = 1 [json_name="trigname"]; + string eventname = 2 [json_name="eventname"]; + repeated Node whenclause = 3 [json_name="whenclause"]; + repeated Node funcname = 4 [json_name="funcname"]; +} + +message AlterEventTrigStmt +{ + string trigname = 1 [json_name="trigname"]; + string tgenabled = 2 [json_name="tgenabled"]; +} + +message RefreshMatViewStmt +{ + bool concurrent = 1 [json_name="concurrent"]; + bool skip_data = 2 [json_name="skipData"]; + RangeVar relation = 3 [json_name="relation"]; +} + +message ReplicaIdentityStmt +{ + string identity_type = 1 [json_name="identity_type"]; + string name = 2 [json_name="name"]; +} + +message AlterSystemStmt +{ + VariableSetStmt setstmt = 1 [json_name="setstmt"]; +} + +message CreatePolicyStmt +{ + string policy_name = 1 [json_name="policy_name"]; + RangeVar table = 2 [json_name="table"]; + string cmd_name = 3 [json_name="cmd_name"]; + bool permissive = 4 [json_name="permissive"]; + repeated Node roles = 5 [json_name="roles"]; + Node qual = 6 [json_name="qual"]; + Node with_check = 7 [json_name="with_check"]; +} + +message AlterPolicyStmt +{ + string policy_name = 1 [json_name="policy_name"]; + RangeVar table = 2 [json_name="table"]; + repeated Node roles = 3 [json_name="roles"]; + Node qual = 4 [json_name="qual"]; + Node with_check = 5 [json_name="with_check"]; +} + +message CreateTransformStmt +{ + bool replace = 1 [json_name="replace"]; + TypeName type_name = 2 [json_name="type_name"]; + string lang = 3 [json_name="lang"]; + ObjectWithArgs fromsql = 4 [json_name="fromsql"]; + ObjectWithArgs tosql = 5 [json_name="tosql"]; +} + +message CreateAmStmt +{ + string amname = 1 [json_name="amname"]; + repeated Node handler_name = 2 [json_name="handler_name"]; + string amtype = 3 [json_name="amtype"]; +} + +message CreatePublicationStmt +{ + string pubname = 1 [json_name="pubname"]; + repeated Node options = 2 [json_name="options"]; + repeated Node tables = 3 [json_name="tables"]; + bool for_all_tables = 4 [json_name="for_all_tables"]; +} + +message AlterPublicationStmt +{ + string pubname = 1 [json_name="pubname"]; + repeated Node options = 2 [json_name="options"]; + repeated Node tables = 3 [json_name="tables"]; + bool for_all_tables = 4 [json_name="for_all_tables"]; + DefElemAction table_action = 5 [json_name="tableAction"]; +} + +message CreateSubscriptionStmt +{ + string subname = 1 [json_name="subname"]; + string conninfo = 2 [json_name="conninfo"]; + repeated Node publication = 3 [json_name="publication"]; + repeated Node options = 4 [json_name="options"]; +} + +message AlterSubscriptionStmt +{ + AlterSubscriptionType kind = 1 [json_name="kind"]; + string subname = 2 [json_name="subname"]; + string conninfo = 3 [json_name="conninfo"]; + repeated Node publication = 4 [json_name="publication"]; + repeated Node options = 5 [json_name="options"]; +} + +message DropSubscriptionStmt +{ + string subname = 1 [json_name="subname"]; + bool missing_ok = 2 [json_name="missing_ok"]; + DropBehavior behavior = 3 [json_name="behavior"]; +} + +message CreateStatsStmt +{ + repeated Node defnames = 1 [json_name="defnames"]; + repeated Node stat_types = 2 [json_name="stat_types"]; + repeated Node exprs = 3 [json_name="exprs"]; + repeated Node relations = 4 [json_name="relations"]; + string stxcomment = 5 [json_name="stxcomment"]; + bool transformed = 6 [json_name="transformed"]; + bool if_not_exists = 7 [json_name="if_not_exists"]; +} + +message AlterCollationStmt +{ + repeated Node collname = 1 [json_name="collname"]; +} + +message CallStmt +{ + FuncCall funccall = 1 [json_name="funccall"]; + FuncExpr funcexpr = 2 [json_name="funcexpr"]; + repeated Node outargs = 3 [json_name="outargs"]; +} + +message AlterStatsStmt +{ + repeated Node defnames = 1 [json_name="defnames"]; + int32 stxstattarget = 2 [json_name="stxstattarget"]; + bool missing_ok = 3 [json_name="missing_ok"]; +} + +message A_Expr +{ + A_Expr_Kind kind = 1 [json_name="kind"]; + repeated Node name = 2 [json_name="name"]; + Node lexpr = 3 [json_name="lexpr"]; + Node rexpr = 4 [json_name="rexpr"]; + int32 location = 5 [json_name="location"]; +} + +message ColumnRef +{ + repeated Node fields = 1 [json_name="fields"]; + int32 location = 2 [json_name="location"]; +} + +message ParamRef +{ + int32 number = 1 [json_name="number"]; + int32 location = 2 [json_name="location"]; +} + +message A_Const +{ + Node val = 1 [json_name="val"]; + int32 location = 2 [json_name="location"]; +} + +message FuncCall +{ + repeated Node funcname = 1 [json_name="funcname"]; + repeated Node args = 2 [json_name="args"]; + repeated Node agg_order = 3 [json_name="agg_order"]; + Node agg_filter = 4 [json_name="agg_filter"]; + WindowDef over = 5 [json_name="over"]; + bool agg_within_group = 6 [json_name="agg_within_group"]; + bool agg_star = 7 [json_name="agg_star"]; + bool agg_distinct = 8 [json_name="agg_distinct"]; + bool func_variadic = 9 [json_name="func_variadic"]; + CoercionForm funcformat = 10 [json_name="funcformat"]; + int32 location = 11 [json_name="location"]; +} + +message A_Star +{ +} + +message A_Indices +{ + bool is_slice = 1 [json_name="is_slice"]; + Node lidx = 2 [json_name="lidx"]; + Node uidx = 3 [json_name="uidx"]; +} + +message A_Indirection +{ + Node arg = 1 [json_name="arg"]; + repeated Node indirection = 2 [json_name="indirection"]; +} + +message A_ArrayExpr +{ + repeated Node elements = 1 [json_name="elements"]; + int32 location = 2 [json_name="location"]; +} + +message ResTarget +{ + string name = 1 [json_name="name"]; + repeated Node indirection = 2 [json_name="indirection"]; + Node val = 3 [json_name="val"]; + int32 location = 4 [json_name="location"]; +} + +message MultiAssignRef +{ + Node source = 1 [json_name="source"]; + int32 colno = 2 [json_name="colno"]; + int32 ncolumns = 3 [json_name="ncolumns"]; +} + +message TypeCast +{ + Node arg = 1 [json_name="arg"]; + TypeName type_name = 2 [json_name="typeName"]; + int32 location = 3 [json_name="location"]; +} + +message CollateClause +{ + Node arg = 1 [json_name="arg"]; + repeated Node collname = 2 [json_name="collname"]; + int32 location = 3 [json_name="location"]; +} + +message SortBy +{ + Node node = 1 [json_name="node"]; + SortByDir sortby_dir = 2 [json_name="sortby_dir"]; + SortByNulls sortby_nulls = 3 [json_name="sortby_nulls"]; + repeated Node use_op = 4 [json_name="useOp"]; + int32 location = 5 [json_name="location"]; +} + +message WindowDef +{ + string name = 1 [json_name="name"]; + string refname = 2 [json_name="refname"]; + repeated Node partition_clause = 3 [json_name="partitionClause"]; + repeated Node order_clause = 4 [json_name="orderClause"]; + int32 frame_options = 5 [json_name="frameOptions"]; + Node start_offset = 6 [json_name="startOffset"]; + Node end_offset = 7 [json_name="endOffset"]; + int32 location = 8 [json_name="location"]; +} + +message RangeSubselect +{ + bool lateral = 1 [json_name="lateral"]; + Node subquery = 2 [json_name="subquery"]; + Alias alias = 3 [json_name="alias"]; +} + +message RangeFunction +{ + bool lateral = 1 [json_name="lateral"]; + bool ordinality = 2 [json_name="ordinality"]; + bool is_rowsfrom = 3 [json_name="is_rowsfrom"]; + repeated Node functions = 4 [json_name="functions"]; + Alias alias = 5 [json_name="alias"]; + repeated Node coldeflist = 6 [json_name="coldeflist"]; +} + +message RangeTableSample +{ + Node relation = 1 [json_name="relation"]; + repeated Node method = 2 [json_name="method"]; + repeated Node args = 3 [json_name="args"]; + Node repeatable = 4 [json_name="repeatable"]; + int32 location = 5 [json_name="location"]; +} + +message RangeTableFunc +{ + bool lateral = 1 [json_name="lateral"]; + Node docexpr = 2 [json_name="docexpr"]; + Node rowexpr = 3 [json_name="rowexpr"]; + repeated Node namespaces = 4 [json_name="namespaces"]; + repeated Node columns = 5 [json_name="columns"]; + Alias alias = 6 [json_name="alias"]; + int32 location = 7 [json_name="location"]; +} + +message RangeTableFuncCol +{ + string colname = 1 [json_name="colname"]; + TypeName type_name = 2 [json_name="typeName"]; + bool for_ordinality = 3 [json_name="for_ordinality"]; + bool is_not_null = 4 [json_name="is_not_null"]; + Node colexpr = 5 [json_name="colexpr"]; + Node coldefexpr = 6 [json_name="coldefexpr"]; + int32 location = 7 [json_name="location"]; +} + +message TypeName +{ + repeated Node names = 1 [json_name="names"]; + uint32 type_oid = 2 [json_name="typeOid"]; + bool setof = 3 [json_name="setof"]; + bool pct_type = 4 [json_name="pct_type"]; + repeated Node typmods = 5 [json_name="typmods"]; + int32 typemod = 6 [json_name="typemod"]; + repeated Node array_bounds = 7 [json_name="arrayBounds"]; + int32 location = 8 [json_name="location"]; +} + +message ColumnDef +{ + string colname = 1 [json_name="colname"]; + TypeName type_name = 2 [json_name="typeName"]; + string compression = 3 [json_name="compression"]; + int32 inhcount = 4 [json_name="inhcount"]; + bool is_local = 5 [json_name="is_local"]; + bool is_not_null = 6 [json_name="is_not_null"]; + bool is_from_type = 7 [json_name="is_from_type"]; + string storage = 8 [json_name="storage"]; + Node raw_default = 9 [json_name="raw_default"]; + Node cooked_default = 10 [json_name="cooked_default"]; + string identity = 11 [json_name="identity"]; + RangeVar identity_sequence = 12 [json_name="identitySequence"]; + string generated = 13 [json_name="generated"]; + CollateClause coll_clause = 14 [json_name="collClause"]; + uint32 coll_oid = 15 [json_name="collOid"]; + repeated Node constraints = 16 [json_name="constraints"]; + repeated Node fdwoptions = 17 [json_name="fdwoptions"]; + int32 location = 18 [json_name="location"]; +} + +message IndexElem +{ + string name = 1 [json_name="name"]; + Node expr = 2 [json_name="expr"]; + string indexcolname = 3 [json_name="indexcolname"]; + repeated Node collation = 4 [json_name="collation"]; + repeated Node opclass = 5 [json_name="opclass"]; + repeated Node opclassopts = 6 [json_name="opclassopts"]; + SortByDir ordering = 7 [json_name="ordering"]; + SortByNulls nulls_ordering = 8 [json_name="nulls_ordering"]; +} + +message StatsElem +{ + string name = 1 [json_name="name"]; + Node expr = 2 [json_name="expr"]; +} + +message Constraint +{ + ConstrType contype = 1 [json_name="contype"]; + string conname = 2 [json_name="conname"]; + bool deferrable = 3 [json_name="deferrable"]; + bool initdeferred = 4 [json_name="initdeferred"]; + int32 location = 5 [json_name="location"]; + bool is_no_inherit = 6 [json_name="is_no_inherit"]; + Node raw_expr = 7 [json_name="raw_expr"]; + string cooked_expr = 8 [json_name="cooked_expr"]; + string generated_when = 9 [json_name="generated_when"]; + repeated Node keys = 10 [json_name="keys"]; + repeated Node including = 11 [json_name="including"]; + repeated Node exclusions = 12 [json_name="exclusions"]; + repeated Node options = 13 [json_name="options"]; + string indexname = 14 [json_name="indexname"]; + string indexspace = 15 [json_name="indexspace"]; + bool reset_default_tblspc = 16 [json_name="reset_default_tblspc"]; + string access_method = 17 [json_name="access_method"]; + Node where_clause = 18 [json_name="where_clause"]; + RangeVar pktable = 19 [json_name="pktable"]; + repeated Node fk_attrs = 20 [json_name="fk_attrs"]; + repeated Node pk_attrs = 21 [json_name="pk_attrs"]; + string fk_matchtype = 22 [json_name="fk_matchtype"]; + string fk_upd_action = 23 [json_name="fk_upd_action"]; + string fk_del_action = 24 [json_name="fk_del_action"]; + repeated Node old_conpfeqop = 25 [json_name="old_conpfeqop"]; + uint32 old_pktable_oid = 26 [json_name="old_pktable_oid"]; + bool skip_validation = 27 [json_name="skip_validation"]; + bool initially_valid = 28 [json_name="initially_valid"]; +} + +message DefElem +{ + string defnamespace = 1 [json_name="defnamespace"]; + string defname = 2 [json_name="defname"]; + Node arg = 3 [json_name="arg"]; + DefElemAction defaction = 4 [json_name="defaction"]; + int32 location = 5 [json_name="location"]; +} + +message RangeTblEntry +{ + RTEKind rtekind = 1 [json_name="rtekind"]; + uint32 relid = 2 [json_name="relid"]; + string relkind = 3 [json_name="relkind"]; + int32 rellockmode = 4 [json_name="rellockmode"]; + TableSampleClause tablesample = 5 [json_name="tablesample"]; + Query subquery = 6 [json_name="subquery"]; + bool security_barrier = 7 [json_name="security_barrier"]; + JoinType jointype = 8 [json_name="jointype"]; + int32 joinmergedcols = 9 [json_name="joinmergedcols"]; + repeated Node joinaliasvars = 10 [json_name="joinaliasvars"]; + repeated Node joinleftcols = 11 [json_name="joinleftcols"]; + repeated Node joinrightcols = 12 [json_name="joinrightcols"]; + Alias join_using_alias = 13 [json_name="join_using_alias"]; + repeated Node functions = 14 [json_name="functions"]; + bool funcordinality = 15 [json_name="funcordinality"]; + TableFunc tablefunc = 16 [json_name="tablefunc"]; + repeated Node values_lists = 17 [json_name="values_lists"]; + string ctename = 18 [json_name="ctename"]; + uint32 ctelevelsup = 19 [json_name="ctelevelsup"]; + bool self_reference = 20 [json_name="self_reference"]; + repeated Node coltypes = 21 [json_name="coltypes"]; + repeated Node coltypmods = 22 [json_name="coltypmods"]; + repeated Node colcollations = 23 [json_name="colcollations"]; + string enrname = 24 [json_name="enrname"]; + double enrtuples = 25 [json_name="enrtuples"]; + Alias alias = 26 [json_name="alias"]; + Alias eref = 27 [json_name="eref"]; + bool lateral = 28 [json_name="lateral"]; + bool inh = 29 [json_name="inh"]; + bool in_from_cl = 30 [json_name="inFromCl"]; + uint32 required_perms = 31 [json_name="requiredPerms"]; + uint32 check_as_user = 32 [json_name="checkAsUser"]; + repeated uint64 selected_cols = 33 [json_name="selectedCols"]; + repeated uint64 inserted_cols = 34 [json_name="insertedCols"]; + repeated uint64 updated_cols = 35 [json_name="updatedCols"]; + repeated uint64 extra_updated_cols = 36 [json_name="extraUpdatedCols"]; + repeated Node security_quals = 37 [json_name="securityQuals"]; +} + +message RangeTblFunction +{ + Node funcexpr = 1 [json_name="funcexpr"]; + int32 funccolcount = 2 [json_name="funccolcount"]; + repeated Node funccolnames = 3 [json_name="funccolnames"]; + repeated Node funccoltypes = 4 [json_name="funccoltypes"]; + repeated Node funccoltypmods = 5 [json_name="funccoltypmods"]; + repeated Node funccolcollations = 6 [json_name="funccolcollations"]; + repeated uint64 funcparams = 7 [json_name="funcparams"]; +} + +message TableSampleClause +{ + uint32 tsmhandler = 1 [json_name="tsmhandler"]; + repeated Node args = 2 [json_name="args"]; + Node repeatable = 3 [json_name="repeatable"]; +} + +message WithCheckOption +{ + WCOKind kind = 1 [json_name="kind"]; + string relname = 2 [json_name="relname"]; + string polname = 3 [json_name="polname"]; + Node qual = 4 [json_name="qual"]; + bool cascaded = 5 [json_name="cascaded"]; +} + +message SortGroupClause +{ + uint32 tle_sort_group_ref = 1 [json_name="tleSortGroupRef"]; + uint32 eqop = 2 [json_name="eqop"]; + uint32 sortop = 3 [json_name="sortop"]; + bool nulls_first = 4 [json_name="nulls_first"]; + bool hashable = 5 [json_name="hashable"]; +} + +message GroupingSet +{ + GroupingSetKind kind = 1 [json_name="kind"]; + repeated Node content = 2 [json_name="content"]; + int32 location = 3 [json_name="location"]; +} + +message WindowClause +{ + string name = 1 [json_name="name"]; + string refname = 2 [json_name="refname"]; + repeated Node partition_clause = 3 [json_name="partitionClause"]; + repeated Node order_clause = 4 [json_name="orderClause"]; + int32 frame_options = 5 [json_name="frameOptions"]; + Node start_offset = 6 [json_name="startOffset"]; + Node end_offset = 7 [json_name="endOffset"]; + uint32 start_in_range_func = 8 [json_name="startInRangeFunc"]; + uint32 end_in_range_func = 9 [json_name="endInRangeFunc"]; + uint32 in_range_coll = 10 [json_name="inRangeColl"]; + bool in_range_asc = 11 [json_name="inRangeAsc"]; + bool in_range_nulls_first = 12 [json_name="inRangeNullsFirst"]; + uint32 winref = 13 [json_name="winref"]; + bool copied_order = 14 [json_name="copiedOrder"]; +} + +message ObjectWithArgs +{ + repeated Node objname = 1 [json_name="objname"]; + repeated Node objargs = 2 [json_name="objargs"]; + repeated Node objfuncargs = 3 [json_name="objfuncargs"]; + bool args_unspecified = 4 [json_name="args_unspecified"]; +} + +message AccessPriv +{ + string priv_name = 1 [json_name="priv_name"]; + repeated Node cols = 2 [json_name="cols"]; +} + +message CreateOpClassItem +{ + int32 itemtype = 1 [json_name="itemtype"]; + ObjectWithArgs name = 2 [json_name="name"]; + int32 number = 3 [json_name="number"]; + repeated Node order_family = 4 [json_name="order_family"]; + repeated Node class_args = 5 [json_name="class_args"]; + TypeName storedtype = 6 [json_name="storedtype"]; +} + +message TableLikeClause +{ + RangeVar relation = 1 [json_name="relation"]; + uint32 options = 2 [json_name="options"]; + uint32 relation_oid = 3 [json_name="relationOid"]; +} + +message FunctionParameter +{ + string name = 1 [json_name="name"]; + TypeName arg_type = 2 [json_name="argType"]; + FunctionParameterMode mode = 3 [json_name="mode"]; + Node defexpr = 4 [json_name="defexpr"]; +} + +message LockingClause +{ + repeated Node locked_rels = 1 [json_name="lockedRels"]; + LockClauseStrength strength = 2 [json_name="strength"]; + LockWaitPolicy wait_policy = 3 [json_name="waitPolicy"]; +} + +message RowMarkClause +{ + uint32 rti = 1 [json_name="rti"]; + LockClauseStrength strength = 2 [json_name="strength"]; + LockWaitPolicy wait_policy = 3 [json_name="waitPolicy"]; + bool pushed_down = 4 [json_name="pushedDown"]; +} + +message XmlSerialize +{ + XmlOptionType xmloption = 1 [json_name="xmloption"]; + Node expr = 2 [json_name="expr"]; + TypeName type_name = 3 [json_name="typeName"]; + int32 location = 4 [json_name="location"]; +} + +message WithClause +{ + repeated Node ctes = 1 [json_name="ctes"]; + bool recursive = 2 [json_name="recursive"]; + int32 location = 3 [json_name="location"]; +} + +message InferClause +{ + repeated Node index_elems = 1 [json_name="indexElems"]; + Node where_clause = 2 [json_name="whereClause"]; + string conname = 3 [json_name="conname"]; + int32 location = 4 [json_name="location"]; +} + +message OnConflictClause +{ + OnConflictAction action = 1 [json_name="action"]; + InferClause infer = 2 [json_name="infer"]; + repeated Node target_list = 3 [json_name="targetList"]; + Node where_clause = 4 [json_name="whereClause"]; + int32 location = 5 [json_name="location"]; +} + +message CTESearchClause +{ + repeated Node search_col_list = 1 [json_name="search_col_list"]; + bool search_breadth_first = 2 [json_name="search_breadth_first"]; + string search_seq_column = 3 [json_name="search_seq_column"]; + int32 location = 4 [json_name="location"]; +} + +message CTECycleClause +{ + repeated Node cycle_col_list = 1 [json_name="cycle_col_list"]; + string cycle_mark_column = 2 [json_name="cycle_mark_column"]; + Node cycle_mark_value = 3 [json_name="cycle_mark_value"]; + Node cycle_mark_default = 4 [json_name="cycle_mark_default"]; + string cycle_path_column = 5 [json_name="cycle_path_column"]; + int32 location = 6 [json_name="location"]; + uint32 cycle_mark_type = 7 [json_name="cycle_mark_type"]; + int32 cycle_mark_typmod = 8 [json_name="cycle_mark_typmod"]; + uint32 cycle_mark_collation = 9 [json_name="cycle_mark_collation"]; + uint32 cycle_mark_neop = 10 [json_name="cycle_mark_neop"]; +} + +message CommonTableExpr +{ + string ctename = 1 [json_name="ctename"]; + repeated Node aliascolnames = 2 [json_name="aliascolnames"]; + CTEMaterialize ctematerialized = 3 [json_name="ctematerialized"]; + Node ctequery = 4 [json_name="ctequery"]; + CTESearchClause search_clause = 5 [json_name="search_clause"]; + CTECycleClause cycle_clause = 6 [json_name="cycle_clause"]; + int32 location = 7 [json_name="location"]; + bool cterecursive = 8 [json_name="cterecursive"]; + int32 cterefcount = 9 [json_name="cterefcount"]; + repeated Node ctecolnames = 10 [json_name="ctecolnames"]; + repeated Node ctecoltypes = 11 [json_name="ctecoltypes"]; + repeated Node ctecoltypmods = 12 [json_name="ctecoltypmods"]; + repeated Node ctecolcollations = 13 [json_name="ctecolcollations"]; +} + +message RoleSpec +{ + RoleSpecType roletype = 1 [json_name="roletype"]; + string rolename = 2 [json_name="rolename"]; + int32 location = 3 [json_name="location"]; +} + +message TriggerTransition +{ + string name = 1 [json_name="name"]; + bool is_new = 2 [json_name="isNew"]; + bool is_table = 3 [json_name="isTable"]; +} + +message PartitionElem +{ + string name = 1 [json_name="name"]; + Node expr = 2 [json_name="expr"]; + repeated Node collation = 3 [json_name="collation"]; + repeated Node opclass = 4 [json_name="opclass"]; + int32 location = 5 [json_name="location"]; +} + +message PartitionSpec +{ + string strategy = 1 [json_name="strategy"]; + repeated Node part_params = 2 [json_name="partParams"]; + int32 location = 3 [json_name="location"]; +} + +message PartitionBoundSpec +{ + string strategy = 1 [json_name="strategy"]; + bool is_default = 2 [json_name="is_default"]; + int32 modulus = 3 [json_name="modulus"]; + int32 remainder = 4 [json_name="remainder"]; + repeated Node listdatums = 5 [json_name="listdatums"]; + repeated Node lowerdatums = 6 [json_name="lowerdatums"]; + repeated Node upperdatums = 7 [json_name="upperdatums"]; + int32 location = 8 [json_name="location"]; +} + +message PartitionRangeDatum +{ + PartitionRangeDatumKind kind = 1 [json_name="kind"]; + Node value = 2 [json_name="value"]; + int32 location = 3 [json_name="location"]; +} + +message PartitionCmd +{ + RangeVar name = 1 [json_name="name"]; + PartitionBoundSpec bound = 2 [json_name="bound"]; + bool concurrent = 3 [json_name="concurrent"]; +} + +message VacuumRelation +{ + RangeVar relation = 1 [json_name="relation"]; + uint32 oid = 2 [json_name="oid"]; + repeated Node va_cols = 3 [json_name="va_cols"]; +} + +message InlineCodeBlock +{ + string source_text = 1 [json_name="source_text"]; + uint32 lang_oid = 2 [json_name="langOid"]; + bool lang_is_trusted = 3 [json_name="langIsTrusted"]; + bool atomic = 4 [json_name="atomic"]; +} + +message CallContext +{ + bool atomic = 1 [json_name="atomic"]; +} + +enum OverridingKind +{ + OVERRIDING_KIND_UNDEFINED = 0; + OVERRIDING_NOT_SET = 1; + OVERRIDING_USER_VALUE = 2; + OVERRIDING_SYSTEM_VALUE = 3; +} + +enum QuerySource +{ + QUERY_SOURCE_UNDEFINED = 0; + QSRC_ORIGINAL = 1; + QSRC_PARSER = 2; + QSRC_INSTEAD_RULE = 3; + QSRC_QUAL_INSTEAD_RULE = 4; + QSRC_NON_INSTEAD_RULE = 5; +} + +enum SortByDir +{ + SORT_BY_DIR_UNDEFINED = 0; + SORTBY_DEFAULT = 1; + SORTBY_ASC = 2; + SORTBY_DESC = 3; + SORTBY_USING = 4; +} + +enum SortByNulls +{ + SORT_BY_NULLS_UNDEFINED = 0; + SORTBY_NULLS_DEFAULT = 1; + SORTBY_NULLS_FIRST = 2; + SORTBY_NULLS_LAST = 3; +} + +enum SetQuantifier +{ + SET_QUANTIFIER_UNDEFINED = 0; + SET_QUANTIFIER_DEFAULT = 1; + SET_QUANTIFIER_ALL = 2; + SET_QUANTIFIER_DISTINCT = 3; +} + +enum A_Expr_Kind +{ + A_EXPR_KIND_UNDEFINED = 0; + AEXPR_OP = 1; + AEXPR_OP_ANY = 2; + AEXPR_OP_ALL = 3; + AEXPR_DISTINCT = 4; + AEXPR_NOT_DISTINCT = 5; + AEXPR_NULLIF = 6; + AEXPR_IN = 7; + AEXPR_LIKE = 8; + AEXPR_ILIKE = 9; + AEXPR_SIMILAR = 10; + AEXPR_BETWEEN = 11; + AEXPR_NOT_BETWEEN = 12; + AEXPR_BETWEEN_SYM = 13; + AEXPR_NOT_BETWEEN_SYM = 14; +} + +enum RoleSpecType +{ + ROLE_SPEC_TYPE_UNDEFINED = 0; + ROLESPEC_CSTRING = 1; + ROLESPEC_CURRENT_ROLE = 2; + ROLESPEC_CURRENT_USER = 3; + ROLESPEC_SESSION_USER = 4; + ROLESPEC_PUBLIC = 5; +} + +enum TableLikeOption +{ + TABLE_LIKE_OPTION_UNDEFINED = 0; + CREATE_TABLE_LIKE_COMMENTS = 1; + CREATE_TABLE_LIKE_COMPRESSION = 2; + CREATE_TABLE_LIKE_CONSTRAINTS = 3; + CREATE_TABLE_LIKE_DEFAULTS = 4; + CREATE_TABLE_LIKE_GENERATED = 5; + CREATE_TABLE_LIKE_IDENTITY = 6; + CREATE_TABLE_LIKE_INDEXES = 7; + CREATE_TABLE_LIKE_STATISTICS = 8; + CREATE_TABLE_LIKE_STORAGE = 9; + CREATE_TABLE_LIKE_ALL = 10; +} + +enum DefElemAction +{ + DEF_ELEM_ACTION_UNDEFINED = 0; + DEFELEM_UNSPEC = 1; + DEFELEM_SET = 2; + DEFELEM_ADD = 3; + DEFELEM_DROP = 4; +} + +enum PartitionRangeDatumKind +{ + PARTITION_RANGE_DATUM_KIND_UNDEFINED = 0; + PARTITION_RANGE_DATUM_MINVALUE = 1; + PARTITION_RANGE_DATUM_VALUE = 2; + PARTITION_RANGE_DATUM_MAXVALUE = 3; +} + +enum RTEKind +{ + RTEKIND_UNDEFINED = 0; + RTE_RELATION = 1; + RTE_SUBQUERY = 2; + RTE_JOIN = 3; + RTE_FUNCTION = 4; + RTE_TABLEFUNC = 5; + RTE_VALUES = 6; + RTE_CTE = 7; + RTE_NAMEDTUPLESTORE = 8; + RTE_RESULT = 9; +} + +enum WCOKind +{ + WCOKIND_UNDEFINED = 0; + WCO_VIEW_CHECK = 1; + WCO_RLS_INSERT_CHECK = 2; + WCO_RLS_UPDATE_CHECK = 3; + WCO_RLS_CONFLICT_CHECK = 4; +} + +enum GroupingSetKind +{ + GROUPING_SET_KIND_UNDEFINED = 0; + GROUPING_SET_EMPTY = 1; + GROUPING_SET_SIMPLE = 2; + GROUPING_SET_ROLLUP = 3; + GROUPING_SET_CUBE = 4; + GROUPING_SET_SETS = 5; +} + +enum CTEMaterialize +{ + CTEMATERIALIZE_UNDEFINED = 0; + CTEMaterializeDefault = 1; + CTEMaterializeAlways = 2; + CTEMaterializeNever = 3; +} + +enum SetOperation +{ + SET_OPERATION_UNDEFINED = 0; + SETOP_NONE = 1; + SETOP_UNION = 2; + SETOP_INTERSECT = 3; + SETOP_EXCEPT = 4; +} + +enum ObjectType +{ + OBJECT_TYPE_UNDEFINED = 0; + OBJECT_ACCESS_METHOD = 1; + OBJECT_AGGREGATE = 2; + OBJECT_AMOP = 3; + OBJECT_AMPROC = 4; + OBJECT_ATTRIBUTE = 5; + OBJECT_CAST = 6; + OBJECT_COLUMN = 7; + OBJECT_COLLATION = 8; + OBJECT_CONVERSION = 9; + OBJECT_DATABASE = 10; + OBJECT_DEFAULT = 11; + OBJECT_DEFACL = 12; + OBJECT_DOMAIN = 13; + OBJECT_DOMCONSTRAINT = 14; + OBJECT_EVENT_TRIGGER = 15; + OBJECT_EXTENSION = 16; + OBJECT_FDW = 17; + OBJECT_FOREIGN_SERVER = 18; + OBJECT_FOREIGN_TABLE = 19; + OBJECT_FUNCTION = 20; + OBJECT_INDEX = 21; + OBJECT_LANGUAGE = 22; + OBJECT_LARGEOBJECT = 23; + OBJECT_MATVIEW = 24; + OBJECT_OPCLASS = 25; + OBJECT_OPERATOR = 26; + OBJECT_OPFAMILY = 27; + OBJECT_POLICY = 28; + OBJECT_PROCEDURE = 29; + OBJECT_PUBLICATION = 30; + OBJECT_PUBLICATION_REL = 31; + OBJECT_ROLE = 32; + OBJECT_ROUTINE = 33; + OBJECT_RULE = 34; + OBJECT_SCHEMA = 35; + OBJECT_SEQUENCE = 36; + OBJECT_SUBSCRIPTION = 37; + OBJECT_STATISTIC_EXT = 38; + OBJECT_TABCONSTRAINT = 39; + OBJECT_TABLE = 40; + OBJECT_TABLESPACE = 41; + OBJECT_TRANSFORM = 42; + OBJECT_TRIGGER = 43; + OBJECT_TSCONFIGURATION = 44; + OBJECT_TSDICTIONARY = 45; + OBJECT_TSPARSER = 46; + OBJECT_TSTEMPLATE = 47; + OBJECT_TYPE = 48; + OBJECT_USER_MAPPING = 49; + OBJECT_VIEW = 50; +} + +enum DropBehavior +{ + DROP_BEHAVIOR_UNDEFINED = 0; + DROP_RESTRICT = 1; + DROP_CASCADE = 2; +} + +enum AlterTableType +{ + ALTER_TABLE_TYPE_UNDEFINED = 0; + AT_AddColumn = 1; + AT_AddColumnRecurse = 2; + AT_AddColumnToView = 3; + AT_ColumnDefault = 4; + AT_CookedColumnDefault = 5; + AT_DropNotNull = 6; + AT_SetNotNull = 7; + AT_DropExpression = 8; + AT_CheckNotNull = 9; + AT_SetStatistics = 10; + AT_SetOptions = 11; + AT_ResetOptions = 12; + AT_SetStorage = 13; + AT_SetCompression = 14; + AT_DropColumn = 15; + AT_DropColumnRecurse = 16; + AT_AddIndex = 17; + AT_ReAddIndex = 18; + AT_AddConstraint = 19; + AT_AddConstraintRecurse = 20; + AT_ReAddConstraint = 21; + AT_ReAddDomainConstraint = 22; + AT_AlterConstraint = 23; + AT_ValidateConstraint = 24; + AT_ValidateConstraintRecurse = 25; + AT_AddIndexConstraint = 26; + AT_DropConstraint = 27; + AT_DropConstraintRecurse = 28; + AT_ReAddComment = 29; + AT_AlterColumnType = 30; + AT_AlterColumnGenericOptions = 31; + AT_ChangeOwner = 32; + AT_ClusterOn = 33; + AT_DropCluster = 34; + AT_SetLogged = 35; + AT_SetUnLogged = 36; + AT_DropOids = 37; + AT_SetTableSpace = 38; + AT_SetRelOptions = 39; + AT_ResetRelOptions = 40; + AT_ReplaceRelOptions = 41; + AT_EnableTrig = 42; + AT_EnableAlwaysTrig = 43; + AT_EnableReplicaTrig = 44; + AT_DisableTrig = 45; + AT_EnableTrigAll = 46; + AT_DisableTrigAll = 47; + AT_EnableTrigUser = 48; + AT_DisableTrigUser = 49; + AT_EnableRule = 50; + AT_EnableAlwaysRule = 51; + AT_EnableReplicaRule = 52; + AT_DisableRule = 53; + AT_AddInherit = 54; + AT_DropInherit = 55; + AT_AddOf = 56; + AT_DropOf = 57; + AT_ReplicaIdentity = 58; + AT_EnableRowSecurity = 59; + AT_DisableRowSecurity = 60; + AT_ForceRowSecurity = 61; + AT_NoForceRowSecurity = 62; + AT_GenericOptions = 63; + AT_AttachPartition = 64; + AT_DetachPartition = 65; + AT_DetachPartitionFinalize = 66; + AT_AddIdentity = 67; + AT_SetIdentity = 68; + AT_DropIdentity = 69; + AT_ReAddStatistics = 70; +} + +enum GrantTargetType +{ + GRANT_TARGET_TYPE_UNDEFINED = 0; + ACL_TARGET_OBJECT = 1; + ACL_TARGET_ALL_IN_SCHEMA = 2; + ACL_TARGET_DEFAULTS = 3; +} + +enum VariableSetKind +{ + VARIABLE_SET_KIND_UNDEFINED = 0; + VAR_SET_VALUE = 1; + VAR_SET_DEFAULT = 2; + VAR_SET_CURRENT = 3; + VAR_SET_MULTI = 4; + VAR_RESET = 5; + VAR_RESET_ALL = 6; +} + +enum ConstrType +{ + CONSTR_TYPE_UNDEFINED = 0; + CONSTR_NULL = 1; + CONSTR_NOTNULL = 2; + CONSTR_DEFAULT = 3; + CONSTR_IDENTITY = 4; + CONSTR_GENERATED = 5; + CONSTR_CHECK = 6; + CONSTR_PRIMARY = 7; + CONSTR_UNIQUE = 8; + CONSTR_EXCLUSION = 9; + CONSTR_FOREIGN = 10; + CONSTR_ATTR_DEFERRABLE = 11; + CONSTR_ATTR_NOT_DEFERRABLE = 12; + CONSTR_ATTR_DEFERRED = 13; + CONSTR_ATTR_IMMEDIATE = 14; +} + +enum ImportForeignSchemaType +{ + IMPORT_FOREIGN_SCHEMA_TYPE_UNDEFINED = 0; + FDW_IMPORT_SCHEMA_ALL = 1; + FDW_IMPORT_SCHEMA_LIMIT_TO = 2; + FDW_IMPORT_SCHEMA_EXCEPT = 3; +} + +enum RoleStmtType +{ + ROLE_STMT_TYPE_UNDEFINED = 0; + ROLESTMT_ROLE = 1; + ROLESTMT_USER = 2; + ROLESTMT_GROUP = 3; +} + +enum FetchDirection +{ + FETCH_DIRECTION_UNDEFINED = 0; + FETCH_FORWARD = 1; + FETCH_BACKWARD = 2; + FETCH_ABSOLUTE = 3; + FETCH_RELATIVE = 4; +} + +enum FunctionParameterMode +{ + FUNCTION_PARAMETER_MODE_UNDEFINED = 0; + FUNC_PARAM_IN = 1; + FUNC_PARAM_OUT = 2; + FUNC_PARAM_INOUT = 3; + FUNC_PARAM_VARIADIC = 4; + FUNC_PARAM_TABLE = 5; + FUNC_PARAM_DEFAULT = 6; +} + +enum TransactionStmtKind +{ + TRANSACTION_STMT_KIND_UNDEFINED = 0; + TRANS_STMT_BEGIN = 1; + TRANS_STMT_START = 2; + TRANS_STMT_COMMIT = 3; + TRANS_STMT_ROLLBACK = 4; + TRANS_STMT_SAVEPOINT = 5; + TRANS_STMT_RELEASE = 6; + TRANS_STMT_ROLLBACK_TO = 7; + TRANS_STMT_PREPARE = 8; + TRANS_STMT_COMMIT_PREPARED = 9; + TRANS_STMT_ROLLBACK_PREPARED = 10; +} + +enum ViewCheckOption +{ + VIEW_CHECK_OPTION_UNDEFINED = 0; + NO_CHECK_OPTION = 1; + LOCAL_CHECK_OPTION = 2; + CASCADED_CHECK_OPTION = 3; +} + +enum DiscardMode +{ + DISCARD_MODE_UNDEFINED = 0; + DISCARD_ALL = 1; + DISCARD_PLANS = 2; + DISCARD_SEQUENCES = 3; + DISCARD_TEMP = 4; +} + +enum ReindexObjectType +{ + REINDEX_OBJECT_TYPE_UNDEFINED = 0; + REINDEX_OBJECT_INDEX = 1; + REINDEX_OBJECT_TABLE = 2; + REINDEX_OBJECT_SCHEMA = 3; + REINDEX_OBJECT_SYSTEM = 4; + REINDEX_OBJECT_DATABASE = 5; +} + +enum AlterTSConfigType +{ + ALTER_TSCONFIG_TYPE_UNDEFINED = 0; + ALTER_TSCONFIG_ADD_MAPPING = 1; + ALTER_TSCONFIG_ALTER_MAPPING_FOR_TOKEN = 2; + ALTER_TSCONFIG_REPLACE_DICT = 3; + ALTER_TSCONFIG_REPLACE_DICT_FOR_TOKEN = 4; + ALTER_TSCONFIG_DROP_MAPPING = 5; +} + +enum AlterSubscriptionType +{ + ALTER_SUBSCRIPTION_TYPE_UNDEFINED = 0; + ALTER_SUBSCRIPTION_OPTIONS = 1; + ALTER_SUBSCRIPTION_CONNECTION = 2; + ALTER_SUBSCRIPTION_SET_PUBLICATION = 3; + ALTER_SUBSCRIPTION_ADD_PUBLICATION = 4; + ALTER_SUBSCRIPTION_DROP_PUBLICATION = 5; + ALTER_SUBSCRIPTION_REFRESH = 6; + ALTER_SUBSCRIPTION_ENABLED = 7; +} + +enum OnCommitAction +{ + ON_COMMIT_ACTION_UNDEFINED = 0; + ONCOMMIT_NOOP = 1; + ONCOMMIT_PRESERVE_ROWS = 2; + ONCOMMIT_DELETE_ROWS = 3; + ONCOMMIT_DROP = 4; +} + +enum ParamKind +{ + PARAM_KIND_UNDEFINED = 0; + PARAM_EXTERN = 1; + PARAM_EXEC = 2; + PARAM_SUBLINK = 3; + PARAM_MULTIEXPR = 4; +} + +enum CoercionContext +{ + COERCION_CONTEXT_UNDEFINED = 0; + COERCION_IMPLICIT = 1; + COERCION_ASSIGNMENT = 2; + COERCION_PLPGSQL = 3; + COERCION_EXPLICIT = 4; +} + +enum CoercionForm +{ + COERCION_FORM_UNDEFINED = 0; + COERCE_EXPLICIT_CALL = 1; + COERCE_EXPLICIT_CAST = 2; + COERCE_IMPLICIT_CAST = 3; + COERCE_SQL_SYNTAX = 4; +} + +enum BoolExprType +{ + BOOL_EXPR_TYPE_UNDEFINED = 0; + AND_EXPR = 1; + OR_EXPR = 2; + NOT_EXPR = 3; +} + +enum SubLinkType +{ + SUB_LINK_TYPE_UNDEFINED = 0; + EXISTS_SUBLINK = 1; + ALL_SUBLINK = 2; + ANY_SUBLINK = 3; + ROWCOMPARE_SUBLINK = 4; + EXPR_SUBLINK = 5; + MULTIEXPR_SUBLINK = 6; + ARRAY_SUBLINK = 7; + CTE_SUBLINK = 8; +} + +enum RowCompareType +{ + ROW_COMPARE_TYPE_UNDEFINED = 0; + ROWCOMPARE_LT = 1; + ROWCOMPARE_LE = 2; + ROWCOMPARE_EQ = 3; + ROWCOMPARE_GE = 4; + ROWCOMPARE_GT = 5; + ROWCOMPARE_NE = 6; +} + +enum MinMaxOp +{ + MIN_MAX_OP_UNDEFINED = 0; + IS_GREATEST = 1; + IS_LEAST = 2; +} + +enum SQLValueFunctionOp +{ + SQLVALUE_FUNCTION_OP_UNDEFINED = 0; + SVFOP_CURRENT_DATE = 1; + SVFOP_CURRENT_TIME = 2; + SVFOP_CURRENT_TIME_N = 3; + SVFOP_CURRENT_TIMESTAMP = 4; + SVFOP_CURRENT_TIMESTAMP_N = 5; + SVFOP_LOCALTIME = 6; + SVFOP_LOCALTIME_N = 7; + SVFOP_LOCALTIMESTAMP = 8; + SVFOP_LOCALTIMESTAMP_N = 9; + SVFOP_CURRENT_ROLE = 10; + SVFOP_CURRENT_USER = 11; + SVFOP_USER = 12; + SVFOP_SESSION_USER = 13; + SVFOP_CURRENT_CATALOG = 14; + SVFOP_CURRENT_SCHEMA = 15; +} + +enum XmlExprOp +{ + XML_EXPR_OP_UNDEFINED = 0; + IS_XMLCONCAT = 1; + IS_XMLELEMENT = 2; + IS_XMLFOREST = 3; + IS_XMLPARSE = 4; + IS_XMLPI = 5; + IS_XMLROOT = 6; + IS_XMLSERIALIZE = 7; + IS_DOCUMENT = 8; +} + +enum XmlOptionType +{ + XML_OPTION_TYPE_UNDEFINED = 0; + XMLOPTION_DOCUMENT = 1; + XMLOPTION_CONTENT = 2; +} + +enum NullTestType +{ + NULL_TEST_TYPE_UNDEFINED = 0; + IS_NULL = 1; + IS_NOT_NULL = 2; +} + +enum BoolTestType +{ + BOOL_TEST_TYPE_UNDEFINED = 0; + IS_TRUE = 1; + IS_NOT_TRUE = 2; + IS_FALSE = 3; + IS_NOT_FALSE = 4; + IS_UNKNOWN = 5; + IS_NOT_UNKNOWN = 6; +} + +enum CmdType +{ + CMD_TYPE_UNDEFINED = 0; + CMD_UNKNOWN = 1; + CMD_SELECT = 2; + CMD_UPDATE = 3; + CMD_INSERT = 4; + CMD_DELETE = 5; + CMD_UTILITY = 6; + CMD_NOTHING = 7; +} + +enum JoinType +{ + JOIN_TYPE_UNDEFINED = 0; + JOIN_INNER = 1; + JOIN_LEFT = 2; + JOIN_FULL = 3; + JOIN_RIGHT = 4; + JOIN_SEMI = 5; + JOIN_ANTI = 6; + JOIN_UNIQUE_OUTER = 7; + JOIN_UNIQUE_INNER = 8; +} + +enum AggStrategy +{ + AGG_STRATEGY_UNDEFINED = 0; + AGG_PLAIN = 1; + AGG_SORTED = 2; + AGG_HASHED = 3; + AGG_MIXED = 4; +} + +enum AggSplit +{ + AGG_SPLIT_UNDEFINED = 0; + AGGSPLIT_SIMPLE = 1; + AGGSPLIT_INITIAL_SERIAL = 2; + AGGSPLIT_FINAL_DESERIAL = 3; +} + +enum SetOpCmd +{ + SET_OP_CMD_UNDEFINED = 0; + SETOPCMD_INTERSECT = 1; + SETOPCMD_INTERSECT_ALL = 2; + SETOPCMD_EXCEPT = 3; + SETOPCMD_EXCEPT_ALL = 4; +} + +enum SetOpStrategy +{ + SET_OP_STRATEGY_UNDEFINED = 0; + SETOP_SORTED = 1; + SETOP_HASHED = 2; +} + +enum OnConflictAction +{ + ON_CONFLICT_ACTION_UNDEFINED = 0; + ONCONFLICT_NONE = 1; + ONCONFLICT_NOTHING = 2; + ONCONFLICT_UPDATE = 3; +} + +enum LimitOption +{ + LIMIT_OPTION_UNDEFINED = 0; + LIMIT_OPTION_DEFAULT = 1; + LIMIT_OPTION_COUNT = 2; + LIMIT_OPTION_WITH_TIES = 3; +} + +enum LockClauseStrength +{ + LOCK_CLAUSE_STRENGTH_UNDEFINED = 0; + LCS_NONE = 1; + LCS_FORKEYSHARE = 2; + LCS_FORSHARE = 3; + LCS_FORNOKEYUPDATE = 4; + LCS_FORUPDATE = 5; +} + +enum LockWaitPolicy +{ + LOCK_WAIT_POLICY_UNDEFINED = 0; + LockWaitBlock = 1; + LockWaitSkip = 2; + LockWaitError = 3; +} + +enum LockTupleMode +{ + LOCK_TUPLE_MODE_UNDEFINED = 0; + LockTupleKeyShare = 1; + LockTupleShare = 2; + LockTupleNoKeyExclusive = 3; + LockTupleExclusive = 4; +} + +message ScanToken { + int32 start = 1; + int32 end = 2; + Token token = 4; + KeywordKind keyword_kind = 5; +} + +enum KeywordKind { + NO_KEYWORD = 0; + UNRESERVED_KEYWORD = 1; + COL_NAME_KEYWORD = 2; + TYPE_FUNC_NAME_KEYWORD = 3; + RESERVED_KEYWORD = 4; +} + +enum Token { + NUL = 0; + // Single-character tokens that are returned 1:1 (identical with "self" list in scan.l) + // Either supporting syntax, or single-character operators (some can be both) + // Also see https://www.postgresql.org/docs/12/sql-syntax-lexical.html#SQL-SYNTAX-SPECIAL-CHARS + ASCII_37 = 37; // "%" + ASCII_40 = 40; // "(" + ASCII_41 = 41; // ")" + ASCII_42 = 42; // "*" + ASCII_43 = 43; // "+" + ASCII_44 = 44; // "," + ASCII_45 = 45; // "-" + ASCII_46 = 46; // "." + ASCII_47 = 47; // "/" + ASCII_58 = 58; // ":" + ASCII_59 = 59; // ";" + ASCII_60 = 60; // "<" + ASCII_61 = 61; // "=" + ASCII_62 = 62; // ">" + ASCII_63 = 63; // "?" + ASCII_91 = 91; // "[" + ASCII_92 = 92; // "\" + ASCII_93 = 93; // "]" + ASCII_94 = 94; // "^" + // Named tokens in scan.l + IDENT = 258; + UIDENT = 259; + FCONST = 260; + SCONST = 261; + USCONST = 262; + BCONST = 263; + XCONST = 264; + Op = 265; + ICONST = 266; + PARAM = 267; + TYPECAST = 268; + DOT_DOT = 269; + COLON_EQUALS = 270; + EQUALS_GREATER = 271; + LESS_EQUALS = 272; + GREATER_EQUALS = 273; + NOT_EQUALS = 274; + SQL_COMMENT = 275; + C_COMMENT = 276; + ABORT_P = 277; + ABSOLUTE_P = 278; + ACCESS = 279; + ACTION = 280; + ADD_P = 281; + ADMIN = 282; + AFTER = 283; + AGGREGATE = 284; + ALL = 285; + ALSO = 286; + ALTER = 287; + ALWAYS = 288; + ANALYSE = 289; + ANALYZE = 290; + AND = 291; + ANY = 292; + ARRAY = 293; + AS = 294; + ASC = 295; + ASENSITIVE = 296; + ASSERTION = 297; + ASSIGNMENT = 298; + ASYMMETRIC = 299; + ATOMIC = 300; + AT = 301; + ATTACH = 302; + ATTRIBUTE = 303; + AUTHORIZATION = 304; + BACKWARD = 305; + BEFORE = 306; + BEGIN_P = 307; + BETWEEN = 308; + BIGINT = 309; + BINARY = 310; + BIT = 311; + BOOLEAN_P = 312; + BOTH = 313; + BREADTH = 314; + BY = 315; + CACHE = 316; + CALL = 317; + CALLED = 318; + CASCADE = 319; + CASCADED = 320; + CASE = 321; + CAST = 322; + CATALOG_P = 323; + CHAIN = 324; + CHAR_P = 325; + CHARACTER = 326; + CHARACTERISTICS = 327; + CHECK = 328; + CHECKPOINT = 329; + CLASS = 330; + CLOSE = 331; + CLUSTER = 332; + COALESCE = 333; + COLLATE = 334; + COLLATION = 335; + COLUMN = 336; + COLUMNS = 337; + COMMENT = 338; + COMMENTS = 339; + COMMIT = 340; + COMMITTED = 341; + COMPRESSION = 342; + CONCURRENTLY = 343; + CONFIGURATION = 344; + CONFLICT = 345; + CONNECTION = 346; + CONSTRAINT = 347; + CONSTRAINTS = 348; + CONTENT_P = 349; + CONTINUE_P = 350; + CONVERSION_P = 351; + COPY = 352; + COST = 353; + CREATE = 354; + CROSS = 355; + CSV = 356; + CUBE = 357; + CURRENT_P = 358; + CURRENT_CATALOG = 359; + CURRENT_DATE = 360; + CURRENT_ROLE = 361; + CURRENT_SCHEMA = 362; + CURRENT_TIME = 363; + CURRENT_TIMESTAMP = 364; + CURRENT_USER = 365; + CURSOR = 366; + CYCLE = 367; + DATA_P = 368; + DATABASE = 369; + DAY_P = 370; + DEALLOCATE = 371; + DEC = 372; + DECIMAL_P = 373; + DECLARE = 374; + DEFAULT = 375; + DEFAULTS = 376; + DEFERRABLE = 377; + DEFERRED = 378; + DEFINER = 379; + DELETE_P = 380; + DELIMITER = 381; + DELIMITERS = 382; + DEPENDS = 383; + DEPTH = 384; + DESC = 385; + DETACH = 386; + DICTIONARY = 387; + DISABLE_P = 388; + DISCARD = 389; + DISTINCT = 390; + DO = 391; + DOCUMENT_P = 392; + DOMAIN_P = 393; + DOUBLE_P = 394; + DROP = 395; + EACH = 396; + ELSE = 397; + ENABLE_P = 398; + ENCODING = 399; + ENCRYPTED = 400; + END_P = 401; + ENUM_P = 402; + ESCAPE = 403; + EVENT = 404; + EXCEPT = 405; + EXCLUDE = 406; + EXCLUDING = 407; + EXCLUSIVE = 408; + EXECUTE = 409; + EXISTS = 410; + EXPLAIN = 411; + EXPRESSION = 412; + EXTENSION = 413; + EXTERNAL = 414; + EXTRACT = 415; + FALSE_P = 416; + FAMILY = 417; + FETCH = 418; + FILTER = 419; + FINALIZE = 420; + FIRST_P = 421; + FLOAT_P = 422; + FOLLOWING = 423; + FOR = 424; + FORCE = 425; + FOREIGN = 426; + FORWARD = 427; + FREEZE = 428; + FROM = 429; + FULL = 430; + FUNCTION = 431; + FUNCTIONS = 432; + GENERATED = 433; + GLOBAL = 434; + GRANT = 435; + GRANTED = 436; + GREATEST = 437; + GROUP_P = 438; + GROUPING = 439; + GROUPS = 440; + HANDLER = 441; + HAVING = 442; + HEADER_P = 443; + HOLD = 444; + HOUR_P = 445; + IDENTITY_P = 446; + IF_P = 447; + ILIKE = 448; + IMMEDIATE = 449; + IMMUTABLE = 450; + IMPLICIT_P = 451; + IMPORT_P = 452; + IN_P = 453; + INCLUDE = 454; + INCLUDING = 455; + INCREMENT = 456; + INDEX = 457; + INDEXES = 458; + INHERIT = 459; + INHERITS = 460; + INITIALLY = 461; + INLINE_P = 462; + INNER_P = 463; + INOUT = 464; + INPUT_P = 465; + INSENSITIVE = 466; + INSERT = 467; + INSTEAD = 468; + INT_P = 469; + INTEGER = 470; + INTERSECT = 471; + INTERVAL = 472; + INTO = 473; + INVOKER = 474; + IS = 475; + ISNULL = 476; + ISOLATION = 477; + JOIN = 478; + KEY = 479; + LABEL = 480; + LANGUAGE = 481; + LARGE_P = 482; + LAST_P = 483; + LATERAL_P = 484; + LEADING = 485; + LEAKPROOF = 486; + LEAST = 487; + LEFT = 488; + LEVEL = 489; + LIKE = 490; + LIMIT = 491; + LISTEN = 492; + LOAD = 493; + LOCAL = 494; + LOCALTIME = 495; + LOCALTIMESTAMP = 496; + LOCATION = 497; + LOCK_P = 498; + LOCKED = 499; + LOGGED = 500; + MAPPING = 501; + MATCH = 502; + MATERIALIZED = 503; + MAXVALUE = 504; + METHOD = 505; + MINUTE_P = 506; + MINVALUE = 507; + MODE = 508; + MONTH_P = 509; + MOVE = 510; + NAME_P = 511; + NAMES = 512; + NATIONAL = 513; + NATURAL = 514; + NCHAR = 515; + NEW = 516; + NEXT = 517; + NFC = 518; + NFD = 519; + NFKC = 520; + NFKD = 521; + NO = 522; + NONE = 523; + NORMALIZE = 524; + NORMALIZED = 525; + NOT = 526; + NOTHING = 527; + NOTIFY = 528; + NOTNULL = 529; + NOWAIT = 530; + NULL_P = 531; + NULLIF = 532; + NULLS_P = 533; + NUMERIC = 534; + OBJECT_P = 535; + OF = 536; + OFF = 537; + OFFSET = 538; + OIDS = 539; + OLD = 540; + ON = 541; + ONLY = 542; + OPERATOR = 543; + OPTION = 544; + OPTIONS = 545; + OR = 546; + ORDER = 547; + ORDINALITY = 548; + OTHERS = 549; + OUT_P = 550; + OUTER_P = 551; + OVER = 552; + OVERLAPS = 553; + OVERLAY = 554; + OVERRIDING = 555; + OWNED = 556; + OWNER = 557; + PARALLEL = 558; + PARSER = 559; + PARTIAL = 560; + PARTITION = 561; + PASSING = 562; + PASSWORD = 563; + PLACING = 564; + PLANS = 565; + POLICY = 566; + POSITION = 567; + PRECEDING = 568; + PRECISION = 569; + PRESERVE = 570; + PREPARE = 571; + PREPARED = 572; + PRIMARY = 573; + PRIOR = 574; + PRIVILEGES = 575; + PROCEDURAL = 576; + PROCEDURE = 577; + PROCEDURES = 578; + PROGRAM = 579; + PUBLICATION = 580; + QUOTE = 581; + RANGE = 582; + READ = 583; + REAL = 584; + REASSIGN = 585; + RECHECK = 586; + RECURSIVE = 587; + REF_P = 588; + REFERENCES = 589; + REFERENCING = 590; + REFRESH = 591; + REINDEX = 592; + RELATIVE_P = 593; + RELEASE = 594; + RENAME = 595; + REPEATABLE = 596; + REPLACE = 597; + REPLICA = 598; + RESET = 599; + RESTART = 600; + RESTRICT = 601; + RETURN = 602; + RETURNING = 603; + RETURNS = 604; + REVOKE = 605; + RIGHT = 606; + ROLE = 607; + ROLLBACK = 608; + ROLLUP = 609; + ROUTINE = 610; + ROUTINES = 611; + ROW = 612; + ROWS = 613; + RULE = 614; + SAVEPOINT = 615; + SCHEMA = 616; + SCHEMAS = 617; + SCROLL = 618; + SEARCH = 619; + SECOND_P = 620; + SECURITY = 621; + SELECT = 622; + SEQUENCE = 623; + SEQUENCES = 624; + SERIALIZABLE = 625; + SERVER = 626; + SESSION = 627; + SESSION_USER = 628; + SET = 629; + SETS = 630; + SETOF = 631; + SHARE = 632; + SHOW = 633; + SIMILAR = 634; + SIMPLE = 635; + SKIP = 636; + SMALLINT = 637; + SNAPSHOT = 638; + SOME = 639; + SQL_P = 640; + STABLE = 641; + STANDALONE_P = 642; + START = 643; + STATEMENT = 644; + STATISTICS = 645; + STDIN = 646; + STDOUT = 647; + STORAGE = 648; + STORED = 649; + STRICT_P = 650; + STRIP_P = 651; + SUBSCRIPTION = 652; + SUBSTRING = 653; + SUPPORT = 654; + SYMMETRIC = 655; + SYSID = 656; + SYSTEM_P = 657; + TABLE = 658; + TABLES = 659; + TABLESAMPLE = 660; + TABLESPACE = 661; + TEMP = 662; + TEMPLATE = 663; + TEMPORARY = 664; + TEXT_P = 665; + THEN = 666; + TIES = 667; + TIME = 668; + TIMESTAMP = 669; + TO = 670; + TRAILING = 671; + TRANSACTION = 672; + TRANSFORM = 673; + TREAT = 674; + TRIGGER = 675; + TRIM = 676; + TRUE_P = 677; + TRUNCATE = 678; + TRUSTED = 679; + TYPE_P = 680; + TYPES_P = 681; + UESCAPE = 682; + UNBOUNDED = 683; + UNCOMMITTED = 684; + UNENCRYPTED = 685; + UNION = 686; + UNIQUE = 687; + UNKNOWN = 688; + UNLISTEN = 689; + UNLOGGED = 690; + UNTIL = 691; + UPDATE = 692; + USER = 693; + USING = 694; + VACUUM = 695; + VALID = 696; + VALIDATE = 697; + VALIDATOR = 698; + VALUE_P = 699; + VALUES = 700; + VARCHAR = 701; + VARIADIC = 702; + VARYING = 703; + VERBOSE = 704; + VERSION_P = 705; + VIEW = 706; + VIEWS = 707; + VOLATILE = 708; + WHEN = 709; + WHERE = 710; + WHITESPACE_P = 711; + WINDOW = 712; + WITH = 713; + WITHIN = 714; + WITHOUT = 715; + WORK = 716; + WRAPPER = 717; + WRITE = 718; + XML_P = 719; + XMLATTRIBUTES = 720; + XMLCONCAT = 721; + XMLELEMENT = 722; + XMLEXISTS = 723; + XMLFOREST = 724; + XMLNAMESPACES = 725; + XMLPARSE = 726; + XMLPI = 727; + XMLROOT = 728; + XMLSERIALIZE = 729; + XMLTABLE = 730; + YEAR_P = 731; + YES_P = 732; + ZONE = 733; + NOT_LA = 734; + NULLS_LA = 735; + WITH_LA = 736; + MODE_TYPE_NAME = 737; + MODE_PLPGSQL_EXPR = 738; + MODE_PLPGSQL_ASSIGN1 = 739; + MODE_PLPGSQL_ASSIGN2 = 740; + MODE_PLPGSQL_ASSIGN3 = 741; + UMINUS = 742; +} diff --git a/__fixtures__/proto/17-latest.proto b/__fixtures__/proto/17-latest.proto new file mode 100644 index 0000000..24a8f14 --- /dev/null +++ b/__fixtures__/proto/17-latest.proto @@ -0,0 +1,4110 @@ +// This file is autogenerated by ./scripts/generate_protobuf_and_funcs.rb + +syntax = "proto3"; + +package pg_query; + +message ParseResult { + int32 version = 1; + repeated RawStmt stmts = 2; +} + +message ScanResult { + int32 version = 1; + repeated ScanToken tokens = 2; +} + +message Node { + oneof node { + Alias alias = 1 [json_name="Alias"]; + RangeVar range_var = 2 [json_name="RangeVar"]; + TableFunc table_func = 3 [json_name="TableFunc"]; + IntoClause into_clause = 4 [json_name="IntoClause"]; + Var var = 5 [json_name="Var"]; + Param param = 6 [json_name="Param"]; + Aggref aggref = 7 [json_name="Aggref"]; + GroupingFunc grouping_func = 8 [json_name="GroupingFunc"]; + WindowFunc window_func = 9 [json_name="WindowFunc"]; + WindowFuncRunCondition window_func_run_condition = 10 [json_name="WindowFuncRunCondition"]; + MergeSupportFunc merge_support_func = 11 [json_name="MergeSupportFunc"]; + SubscriptingRef subscripting_ref = 12 [json_name="SubscriptingRef"]; + FuncExpr func_expr = 13 [json_name="FuncExpr"]; + NamedArgExpr named_arg_expr = 14 [json_name="NamedArgExpr"]; + OpExpr op_expr = 15 [json_name="OpExpr"]; + DistinctExpr distinct_expr = 16 [json_name="DistinctExpr"]; + NullIfExpr null_if_expr = 17 [json_name="NullIfExpr"]; + ScalarArrayOpExpr scalar_array_op_expr = 18 [json_name="ScalarArrayOpExpr"]; + BoolExpr bool_expr = 19 [json_name="BoolExpr"]; + SubLink sub_link = 20 [json_name="SubLink"]; + SubPlan sub_plan = 21 [json_name="SubPlan"]; + AlternativeSubPlan alternative_sub_plan = 22 [json_name="AlternativeSubPlan"]; + FieldSelect field_select = 23 [json_name="FieldSelect"]; + FieldStore field_store = 24 [json_name="FieldStore"]; + RelabelType relabel_type = 25 [json_name="RelabelType"]; + CoerceViaIO coerce_via_io = 26 [json_name="CoerceViaIO"]; + ArrayCoerceExpr array_coerce_expr = 27 [json_name="ArrayCoerceExpr"]; + ConvertRowtypeExpr convert_rowtype_expr = 28 [json_name="ConvertRowtypeExpr"]; + CollateExpr collate_expr = 29 [json_name="CollateExpr"]; + CaseExpr case_expr = 30 [json_name="CaseExpr"]; + CaseWhen case_when = 31 [json_name="CaseWhen"]; + CaseTestExpr case_test_expr = 32 [json_name="CaseTestExpr"]; + ArrayExpr array_expr = 33 [json_name="ArrayExpr"]; + RowExpr row_expr = 34 [json_name="RowExpr"]; + RowCompareExpr row_compare_expr = 35 [json_name="RowCompareExpr"]; + CoalesceExpr coalesce_expr = 36 [json_name="CoalesceExpr"]; + MinMaxExpr min_max_expr = 37 [json_name="MinMaxExpr"]; + SQLValueFunction sqlvalue_function = 38 [json_name="SQLValueFunction"]; + XmlExpr xml_expr = 39 [json_name="XmlExpr"]; + JsonFormat json_format = 40 [json_name="JsonFormat"]; + JsonReturning json_returning = 41 [json_name="JsonReturning"]; + JsonValueExpr json_value_expr = 42 [json_name="JsonValueExpr"]; + JsonConstructorExpr json_constructor_expr = 43 [json_name="JsonConstructorExpr"]; + JsonIsPredicate json_is_predicate = 44 [json_name="JsonIsPredicate"]; + JsonBehavior json_behavior = 45 [json_name="JsonBehavior"]; + JsonExpr json_expr = 46 [json_name="JsonExpr"]; + JsonTablePath json_table_path = 47 [json_name="JsonTablePath"]; + JsonTablePathScan json_table_path_scan = 48 [json_name="JsonTablePathScan"]; + JsonTableSiblingJoin json_table_sibling_join = 49 [json_name="JsonTableSiblingJoin"]; + NullTest null_test = 50 [json_name="NullTest"]; + BooleanTest boolean_test = 51 [json_name="BooleanTest"]; + MergeAction merge_action = 52 [json_name="MergeAction"]; + CoerceToDomain coerce_to_domain = 53 [json_name="CoerceToDomain"]; + CoerceToDomainValue coerce_to_domain_value = 54 [json_name="CoerceToDomainValue"]; + SetToDefault set_to_default = 55 [json_name="SetToDefault"]; + CurrentOfExpr current_of_expr = 56 [json_name="CurrentOfExpr"]; + NextValueExpr next_value_expr = 57 [json_name="NextValueExpr"]; + InferenceElem inference_elem = 58 [json_name="InferenceElem"]; + TargetEntry target_entry = 59 [json_name="TargetEntry"]; + RangeTblRef range_tbl_ref = 60 [json_name="RangeTblRef"]; + JoinExpr join_expr = 61 [json_name="JoinExpr"]; + FromExpr from_expr = 62 [json_name="FromExpr"]; + OnConflictExpr on_conflict_expr = 63 [json_name="OnConflictExpr"]; + Query query = 64 [json_name="Query"]; + TypeName type_name = 65 [json_name="TypeName"]; + ColumnRef column_ref = 66 [json_name="ColumnRef"]; + ParamRef param_ref = 67 [json_name="ParamRef"]; + A_Expr a_expr = 68 [json_name="A_Expr"]; + TypeCast type_cast = 69 [json_name="TypeCast"]; + CollateClause collate_clause = 70 [json_name="CollateClause"]; + RoleSpec role_spec = 71 [json_name="RoleSpec"]; + FuncCall func_call = 72 [json_name="FuncCall"]; + A_Star a_star = 73 [json_name="A_Star"]; + A_Indices a_indices = 74 [json_name="A_Indices"]; + A_Indirection a_indirection = 75 [json_name="A_Indirection"]; + A_ArrayExpr a_array_expr = 76 [json_name="A_ArrayExpr"]; + ResTarget res_target = 77 [json_name="ResTarget"]; + MultiAssignRef multi_assign_ref = 78 [json_name="MultiAssignRef"]; + SortBy sort_by = 79 [json_name="SortBy"]; + WindowDef window_def = 80 [json_name="WindowDef"]; + RangeSubselect range_subselect = 81 [json_name="RangeSubselect"]; + RangeFunction range_function = 82 [json_name="RangeFunction"]; + RangeTableFunc range_table_func = 83 [json_name="RangeTableFunc"]; + RangeTableFuncCol range_table_func_col = 84 [json_name="RangeTableFuncCol"]; + RangeTableSample range_table_sample = 85 [json_name="RangeTableSample"]; + ColumnDef column_def = 86 [json_name="ColumnDef"]; + TableLikeClause table_like_clause = 87 [json_name="TableLikeClause"]; + IndexElem index_elem = 88 [json_name="IndexElem"]; + DefElem def_elem = 89 [json_name="DefElem"]; + LockingClause locking_clause = 90 [json_name="LockingClause"]; + XmlSerialize xml_serialize = 91 [json_name="XmlSerialize"]; + PartitionElem partition_elem = 92 [json_name="PartitionElem"]; + PartitionSpec partition_spec = 93 [json_name="PartitionSpec"]; + PartitionBoundSpec partition_bound_spec = 94 [json_name="PartitionBoundSpec"]; + PartitionRangeDatum partition_range_datum = 95 [json_name="PartitionRangeDatum"]; + SinglePartitionSpec single_partition_spec = 96 [json_name="SinglePartitionSpec"]; + PartitionCmd partition_cmd = 97 [json_name="PartitionCmd"]; + RangeTblEntry range_tbl_entry = 98 [json_name="RangeTblEntry"]; + RTEPermissionInfo rtepermission_info = 99 [json_name="RTEPermissionInfo"]; + RangeTblFunction range_tbl_function = 100 [json_name="RangeTblFunction"]; + TableSampleClause table_sample_clause = 101 [json_name="TableSampleClause"]; + WithCheckOption with_check_option = 102 [json_name="WithCheckOption"]; + SortGroupClause sort_group_clause = 103 [json_name="SortGroupClause"]; + GroupingSet grouping_set = 104 [json_name="GroupingSet"]; + WindowClause window_clause = 105 [json_name="WindowClause"]; + RowMarkClause row_mark_clause = 106 [json_name="RowMarkClause"]; + WithClause with_clause = 107 [json_name="WithClause"]; + InferClause infer_clause = 108 [json_name="InferClause"]; + OnConflictClause on_conflict_clause = 109 [json_name="OnConflictClause"]; + CTESearchClause ctesearch_clause = 110 [json_name="CTESearchClause"]; + CTECycleClause ctecycle_clause = 111 [json_name="CTECycleClause"]; + CommonTableExpr common_table_expr = 112 [json_name="CommonTableExpr"]; + MergeWhenClause merge_when_clause = 113 [json_name="MergeWhenClause"]; + TriggerTransition trigger_transition = 114 [json_name="TriggerTransition"]; + JsonOutput json_output = 115 [json_name="JsonOutput"]; + JsonArgument json_argument = 116 [json_name="JsonArgument"]; + JsonFuncExpr json_func_expr = 117 [json_name="JsonFuncExpr"]; + JsonTablePathSpec json_table_path_spec = 118 [json_name="JsonTablePathSpec"]; + JsonTable json_table = 119 [json_name="JsonTable"]; + JsonTableColumn json_table_column = 120 [json_name="JsonTableColumn"]; + JsonKeyValue json_key_value = 121 [json_name="JsonKeyValue"]; + JsonParseExpr json_parse_expr = 122 [json_name="JsonParseExpr"]; + JsonScalarExpr json_scalar_expr = 123 [json_name="JsonScalarExpr"]; + JsonSerializeExpr json_serialize_expr = 124 [json_name="JsonSerializeExpr"]; + JsonObjectConstructor json_object_constructor = 125 [json_name="JsonObjectConstructor"]; + JsonArrayConstructor json_array_constructor = 126 [json_name="JsonArrayConstructor"]; + JsonArrayQueryConstructor json_array_query_constructor = 127 [json_name="JsonArrayQueryConstructor"]; + JsonAggConstructor json_agg_constructor = 128 [json_name="JsonAggConstructor"]; + JsonObjectAgg json_object_agg = 129 [json_name="JsonObjectAgg"]; + JsonArrayAgg json_array_agg = 130 [json_name="JsonArrayAgg"]; + RawStmt raw_stmt = 131 [json_name="RawStmt"]; + InsertStmt insert_stmt = 132 [json_name="InsertStmt"]; + DeleteStmt delete_stmt = 133 [json_name="DeleteStmt"]; + UpdateStmt update_stmt = 134 [json_name="UpdateStmt"]; + MergeStmt merge_stmt = 135 [json_name="MergeStmt"]; + SelectStmt select_stmt = 136 [json_name="SelectStmt"]; + SetOperationStmt set_operation_stmt = 137 [json_name="SetOperationStmt"]; + ReturnStmt return_stmt = 138 [json_name="ReturnStmt"]; + PLAssignStmt plassign_stmt = 139 [json_name="PLAssignStmt"]; + CreateSchemaStmt create_schema_stmt = 140 [json_name="CreateSchemaStmt"]; + AlterTableStmt alter_table_stmt = 141 [json_name="AlterTableStmt"]; + ReplicaIdentityStmt replica_identity_stmt = 142 [json_name="ReplicaIdentityStmt"]; + AlterTableCmd alter_table_cmd = 143 [json_name="AlterTableCmd"]; + AlterCollationStmt alter_collation_stmt = 144 [json_name="AlterCollationStmt"]; + AlterDomainStmt alter_domain_stmt = 145 [json_name="AlterDomainStmt"]; + GrantStmt grant_stmt = 146 [json_name="GrantStmt"]; + ObjectWithArgs object_with_args = 147 [json_name="ObjectWithArgs"]; + AccessPriv access_priv = 148 [json_name="AccessPriv"]; + GrantRoleStmt grant_role_stmt = 149 [json_name="GrantRoleStmt"]; + AlterDefaultPrivilegesStmt alter_default_privileges_stmt = 150 [json_name="AlterDefaultPrivilegesStmt"]; + CopyStmt copy_stmt = 151 [json_name="CopyStmt"]; + VariableSetStmt variable_set_stmt = 152 [json_name="VariableSetStmt"]; + VariableShowStmt variable_show_stmt = 153 [json_name="VariableShowStmt"]; + CreateStmt create_stmt = 154 [json_name="CreateStmt"]; + Constraint constraint = 155 [json_name="Constraint"]; + CreateTableSpaceStmt create_table_space_stmt = 156 [json_name="CreateTableSpaceStmt"]; + DropTableSpaceStmt drop_table_space_stmt = 157 [json_name="DropTableSpaceStmt"]; + AlterTableSpaceOptionsStmt alter_table_space_options_stmt = 158 [json_name="AlterTableSpaceOptionsStmt"]; + AlterTableMoveAllStmt alter_table_move_all_stmt = 159 [json_name="AlterTableMoveAllStmt"]; + CreateExtensionStmt create_extension_stmt = 160 [json_name="CreateExtensionStmt"]; + AlterExtensionStmt alter_extension_stmt = 161 [json_name="AlterExtensionStmt"]; + AlterExtensionContentsStmt alter_extension_contents_stmt = 162 [json_name="AlterExtensionContentsStmt"]; + CreateFdwStmt create_fdw_stmt = 163 [json_name="CreateFdwStmt"]; + AlterFdwStmt alter_fdw_stmt = 164 [json_name="AlterFdwStmt"]; + CreateForeignServerStmt create_foreign_server_stmt = 165 [json_name="CreateForeignServerStmt"]; + AlterForeignServerStmt alter_foreign_server_stmt = 166 [json_name="AlterForeignServerStmt"]; + CreateForeignTableStmt create_foreign_table_stmt = 167 [json_name="CreateForeignTableStmt"]; + CreateUserMappingStmt create_user_mapping_stmt = 168 [json_name="CreateUserMappingStmt"]; + AlterUserMappingStmt alter_user_mapping_stmt = 169 [json_name="AlterUserMappingStmt"]; + DropUserMappingStmt drop_user_mapping_stmt = 170 [json_name="DropUserMappingStmt"]; + ImportForeignSchemaStmt import_foreign_schema_stmt = 171 [json_name="ImportForeignSchemaStmt"]; + CreatePolicyStmt create_policy_stmt = 172 [json_name="CreatePolicyStmt"]; + AlterPolicyStmt alter_policy_stmt = 173 [json_name="AlterPolicyStmt"]; + CreateAmStmt create_am_stmt = 174 [json_name="CreateAmStmt"]; + CreateTrigStmt create_trig_stmt = 175 [json_name="CreateTrigStmt"]; + CreateEventTrigStmt create_event_trig_stmt = 176 [json_name="CreateEventTrigStmt"]; + AlterEventTrigStmt alter_event_trig_stmt = 177 [json_name="AlterEventTrigStmt"]; + CreatePLangStmt create_plang_stmt = 178 [json_name="CreatePLangStmt"]; + CreateRoleStmt create_role_stmt = 179 [json_name="CreateRoleStmt"]; + AlterRoleStmt alter_role_stmt = 180 [json_name="AlterRoleStmt"]; + AlterRoleSetStmt alter_role_set_stmt = 181 [json_name="AlterRoleSetStmt"]; + DropRoleStmt drop_role_stmt = 182 [json_name="DropRoleStmt"]; + CreateSeqStmt create_seq_stmt = 183 [json_name="CreateSeqStmt"]; + AlterSeqStmt alter_seq_stmt = 184 [json_name="AlterSeqStmt"]; + DefineStmt define_stmt = 185 [json_name="DefineStmt"]; + CreateDomainStmt create_domain_stmt = 186 [json_name="CreateDomainStmt"]; + CreateOpClassStmt create_op_class_stmt = 187 [json_name="CreateOpClassStmt"]; + CreateOpClassItem create_op_class_item = 188 [json_name="CreateOpClassItem"]; + CreateOpFamilyStmt create_op_family_stmt = 189 [json_name="CreateOpFamilyStmt"]; + AlterOpFamilyStmt alter_op_family_stmt = 190 [json_name="AlterOpFamilyStmt"]; + DropStmt drop_stmt = 191 [json_name="DropStmt"]; + TruncateStmt truncate_stmt = 192 [json_name="TruncateStmt"]; + CommentStmt comment_stmt = 193 [json_name="CommentStmt"]; + SecLabelStmt sec_label_stmt = 194 [json_name="SecLabelStmt"]; + DeclareCursorStmt declare_cursor_stmt = 195 [json_name="DeclareCursorStmt"]; + ClosePortalStmt close_portal_stmt = 196 [json_name="ClosePortalStmt"]; + FetchStmt fetch_stmt = 197 [json_name="FetchStmt"]; + IndexStmt index_stmt = 198 [json_name="IndexStmt"]; + CreateStatsStmt create_stats_stmt = 199 [json_name="CreateStatsStmt"]; + StatsElem stats_elem = 200 [json_name="StatsElem"]; + AlterStatsStmt alter_stats_stmt = 201 [json_name="AlterStatsStmt"]; + CreateFunctionStmt create_function_stmt = 202 [json_name="CreateFunctionStmt"]; + FunctionParameter function_parameter = 203 [json_name="FunctionParameter"]; + AlterFunctionStmt alter_function_stmt = 204 [json_name="AlterFunctionStmt"]; + DoStmt do_stmt = 205 [json_name="DoStmt"]; + InlineCodeBlock inline_code_block = 206 [json_name="InlineCodeBlock"]; + CallStmt call_stmt = 207 [json_name="CallStmt"]; + CallContext call_context = 208 [json_name="CallContext"]; + RenameStmt rename_stmt = 209 [json_name="RenameStmt"]; + AlterObjectDependsStmt alter_object_depends_stmt = 210 [json_name="AlterObjectDependsStmt"]; + AlterObjectSchemaStmt alter_object_schema_stmt = 211 [json_name="AlterObjectSchemaStmt"]; + AlterOwnerStmt alter_owner_stmt = 212 [json_name="AlterOwnerStmt"]; + AlterOperatorStmt alter_operator_stmt = 213 [json_name="AlterOperatorStmt"]; + AlterTypeStmt alter_type_stmt = 214 [json_name="AlterTypeStmt"]; + RuleStmt rule_stmt = 215 [json_name="RuleStmt"]; + NotifyStmt notify_stmt = 216 [json_name="NotifyStmt"]; + ListenStmt listen_stmt = 217 [json_name="ListenStmt"]; + UnlistenStmt unlisten_stmt = 218 [json_name="UnlistenStmt"]; + TransactionStmt transaction_stmt = 219 [json_name="TransactionStmt"]; + CompositeTypeStmt composite_type_stmt = 220 [json_name="CompositeTypeStmt"]; + CreateEnumStmt create_enum_stmt = 221 [json_name="CreateEnumStmt"]; + CreateRangeStmt create_range_stmt = 222 [json_name="CreateRangeStmt"]; + AlterEnumStmt alter_enum_stmt = 223 [json_name="AlterEnumStmt"]; + ViewStmt view_stmt = 224 [json_name="ViewStmt"]; + LoadStmt load_stmt = 225 [json_name="LoadStmt"]; + CreatedbStmt createdb_stmt = 226 [json_name="CreatedbStmt"]; + AlterDatabaseStmt alter_database_stmt = 227 [json_name="AlterDatabaseStmt"]; + AlterDatabaseRefreshCollStmt alter_database_refresh_coll_stmt = 228 [json_name="AlterDatabaseRefreshCollStmt"]; + AlterDatabaseSetStmt alter_database_set_stmt = 229 [json_name="AlterDatabaseSetStmt"]; + DropdbStmt dropdb_stmt = 230 [json_name="DropdbStmt"]; + AlterSystemStmt alter_system_stmt = 231 [json_name="AlterSystemStmt"]; + ClusterStmt cluster_stmt = 232 [json_name="ClusterStmt"]; + VacuumStmt vacuum_stmt = 233 [json_name="VacuumStmt"]; + VacuumRelation vacuum_relation = 234 [json_name="VacuumRelation"]; + ExplainStmt explain_stmt = 235 [json_name="ExplainStmt"]; + CreateTableAsStmt create_table_as_stmt = 236 [json_name="CreateTableAsStmt"]; + RefreshMatViewStmt refresh_mat_view_stmt = 237 [json_name="RefreshMatViewStmt"]; + CheckPointStmt check_point_stmt = 238 [json_name="CheckPointStmt"]; + DiscardStmt discard_stmt = 239 [json_name="DiscardStmt"]; + LockStmt lock_stmt = 240 [json_name="LockStmt"]; + ConstraintsSetStmt constraints_set_stmt = 241 [json_name="ConstraintsSetStmt"]; + ReindexStmt reindex_stmt = 242 [json_name="ReindexStmt"]; + CreateConversionStmt create_conversion_stmt = 243 [json_name="CreateConversionStmt"]; + CreateCastStmt create_cast_stmt = 244 [json_name="CreateCastStmt"]; + CreateTransformStmt create_transform_stmt = 245 [json_name="CreateTransformStmt"]; + PrepareStmt prepare_stmt = 246 [json_name="PrepareStmt"]; + ExecuteStmt execute_stmt = 247 [json_name="ExecuteStmt"]; + DeallocateStmt deallocate_stmt = 248 [json_name="DeallocateStmt"]; + DropOwnedStmt drop_owned_stmt = 249 [json_name="DropOwnedStmt"]; + ReassignOwnedStmt reassign_owned_stmt = 250 [json_name="ReassignOwnedStmt"]; + AlterTSDictionaryStmt alter_tsdictionary_stmt = 251 [json_name="AlterTSDictionaryStmt"]; + AlterTSConfigurationStmt alter_tsconfiguration_stmt = 252 [json_name="AlterTSConfigurationStmt"]; + PublicationTable publication_table = 253 [json_name="PublicationTable"]; + PublicationObjSpec publication_obj_spec = 254 [json_name="PublicationObjSpec"]; + CreatePublicationStmt create_publication_stmt = 255 [json_name="CreatePublicationStmt"]; + AlterPublicationStmt alter_publication_stmt = 256 [json_name="AlterPublicationStmt"]; + CreateSubscriptionStmt create_subscription_stmt = 257 [json_name="CreateSubscriptionStmt"]; + AlterSubscriptionStmt alter_subscription_stmt = 258 [json_name="AlterSubscriptionStmt"]; + DropSubscriptionStmt drop_subscription_stmt = 259 [json_name="DropSubscriptionStmt"]; + Integer integer = 260 [json_name="Integer"]; + Float float = 261 [json_name="Float"]; + Boolean boolean = 262 [json_name="Boolean"]; + String string = 263 [json_name="String"]; + BitString bit_string = 264 [json_name="BitString"]; + List list = 265 [json_name="List"]; + IntList int_list = 266 [json_name="IntList"]; + OidList oid_list = 267 [json_name="OidList"]; + A_Const a_const = 268 [json_name="A_Const"]; + } +} + +message Integer +{ + int32 ival = 1; /* machine integer */ +} + +message Float +{ + string fval = 1; /* string */ +} + +message Boolean +{ + bool boolval = 1; +} + +message String +{ + string sval = 1; /* string */ +} + +message BitString +{ + string bsval = 1; /* string */ +} + +message List +{ + repeated Node items = 1; +} + +message OidList +{ + repeated Node items = 1; +} + +message IntList +{ + repeated Node items = 1; +} + +message A_Const +{ + oneof val { + Integer ival = 1; + Float fval = 2; + Boolean boolval = 3; + String sval = 4; + BitString bsval = 5; + } + bool isnull = 10; + int32 location = 11; +} + +message Alias +{ + string aliasname = 1 [json_name="aliasname"]; + repeated Node colnames = 2 [json_name="colnames"]; +} + +message RangeVar +{ + string catalogname = 1 [json_name="catalogname"]; + string schemaname = 2 [json_name="schemaname"]; + string relname = 3 [json_name="relname"]; + bool inh = 4 [json_name="inh"]; + string relpersistence = 5 [json_name="relpersistence"]; + Alias alias = 6 [json_name="alias"]; + int32 location = 7 [json_name="location"]; +} + +message TableFunc +{ + TableFuncType functype = 1 [json_name="functype"]; + repeated Node ns_uris = 2 [json_name="ns_uris"]; + repeated Node ns_names = 3 [json_name="ns_names"]; + Node docexpr = 4 [json_name="docexpr"]; + Node rowexpr = 5 [json_name="rowexpr"]; + repeated Node colnames = 6 [json_name="colnames"]; + repeated Node coltypes = 7 [json_name="coltypes"]; + repeated Node coltypmods = 8 [json_name="coltypmods"]; + repeated Node colcollations = 9 [json_name="colcollations"]; + repeated Node colexprs = 10 [json_name="colexprs"]; + repeated Node coldefexprs = 11 [json_name="coldefexprs"]; + repeated Node colvalexprs = 12 [json_name="colvalexprs"]; + repeated Node passingvalexprs = 13 [json_name="passingvalexprs"]; + repeated uint64 notnulls = 14 [json_name="notnulls"]; + Node plan = 15 [json_name="plan"]; + int32 ordinalitycol = 16 [json_name="ordinalitycol"]; + int32 location = 17 [json_name="location"]; +} + +message IntoClause +{ + RangeVar rel = 1 [json_name="rel"]; + repeated Node col_names = 2 [json_name="colNames"]; + string access_method = 3 [json_name="accessMethod"]; + repeated Node options = 4 [json_name="options"]; + OnCommitAction on_commit = 5 [json_name="onCommit"]; + string table_space_name = 6 [json_name="tableSpaceName"]; + Node view_query = 7 [json_name="viewQuery"]; + bool skip_data = 8 [json_name="skipData"]; +} + +message Var +{ + Node xpr = 1 [json_name="xpr"]; + int32 varno = 2 [json_name="varno"]; + int32 varattno = 3 [json_name="varattno"]; + uint32 vartype = 4 [json_name="vartype"]; + int32 vartypmod = 5 [json_name="vartypmod"]; + uint32 varcollid = 6 [json_name="varcollid"]; + repeated uint64 varnullingrels = 7 [json_name="varnullingrels"]; + uint32 varlevelsup = 8 [json_name="varlevelsup"]; + int32 location = 9 [json_name="location"]; +} + +message Param +{ + Node xpr = 1 [json_name="xpr"]; + ParamKind paramkind = 2 [json_name="paramkind"]; + int32 paramid = 3 [json_name="paramid"]; + uint32 paramtype = 4 [json_name="paramtype"]; + int32 paramtypmod = 5 [json_name="paramtypmod"]; + uint32 paramcollid = 6 [json_name="paramcollid"]; + int32 location = 7 [json_name="location"]; +} + +message Aggref +{ + Node xpr = 1 [json_name="xpr"]; + uint32 aggfnoid = 2 [json_name="aggfnoid"]; + uint32 aggtype = 3 [json_name="aggtype"]; + uint32 aggcollid = 4 [json_name="aggcollid"]; + uint32 inputcollid = 5 [json_name="inputcollid"]; + repeated Node aggargtypes = 6 [json_name="aggargtypes"]; + repeated Node aggdirectargs = 7 [json_name="aggdirectargs"]; + repeated Node args = 8 [json_name="args"]; + repeated Node aggorder = 9 [json_name="aggorder"]; + repeated Node aggdistinct = 10 [json_name="aggdistinct"]; + Node aggfilter = 11 [json_name="aggfilter"]; + bool aggstar = 12 [json_name="aggstar"]; + bool aggvariadic = 13 [json_name="aggvariadic"]; + string aggkind = 14 [json_name="aggkind"]; + uint32 agglevelsup = 15 [json_name="agglevelsup"]; + AggSplit aggsplit = 16 [json_name="aggsplit"]; + int32 aggno = 17 [json_name="aggno"]; + int32 aggtransno = 18 [json_name="aggtransno"]; + int32 location = 19 [json_name="location"]; +} + +message GroupingFunc +{ + Node xpr = 1 [json_name="xpr"]; + repeated Node args = 2 [json_name="args"]; + repeated Node refs = 3 [json_name="refs"]; + uint32 agglevelsup = 4 [json_name="agglevelsup"]; + int32 location = 5 [json_name="location"]; +} + +message WindowFunc +{ + Node xpr = 1 [json_name="xpr"]; + uint32 winfnoid = 2 [json_name="winfnoid"]; + uint32 wintype = 3 [json_name="wintype"]; + uint32 wincollid = 4 [json_name="wincollid"]; + uint32 inputcollid = 5 [json_name="inputcollid"]; + repeated Node args = 6 [json_name="args"]; + Node aggfilter = 7 [json_name="aggfilter"]; + repeated Node run_condition = 8 [json_name="runCondition"]; + uint32 winref = 9 [json_name="winref"]; + bool winstar = 10 [json_name="winstar"]; + bool winagg = 11 [json_name="winagg"]; + int32 location = 12 [json_name="location"]; +} + +message WindowFuncRunCondition +{ + Node xpr = 1 [json_name="xpr"]; + uint32 opno = 2 [json_name="opno"]; + uint32 inputcollid = 3 [json_name="inputcollid"]; + bool wfunc_left = 4 [json_name="wfunc_left"]; + Node arg = 5 [json_name="arg"]; +} + +message MergeSupportFunc +{ + Node xpr = 1 [json_name="xpr"]; + uint32 msftype = 2 [json_name="msftype"]; + uint32 msfcollid = 3 [json_name="msfcollid"]; + int32 location = 4 [json_name="location"]; +} + +message SubscriptingRef +{ + Node xpr = 1 [json_name="xpr"]; + uint32 refcontainertype = 2 [json_name="refcontainertype"]; + uint32 refelemtype = 3 [json_name="refelemtype"]; + uint32 refrestype = 4 [json_name="refrestype"]; + int32 reftypmod = 5 [json_name="reftypmod"]; + uint32 refcollid = 6 [json_name="refcollid"]; + repeated Node refupperindexpr = 7 [json_name="refupperindexpr"]; + repeated Node reflowerindexpr = 8 [json_name="reflowerindexpr"]; + Node refexpr = 9 [json_name="refexpr"]; + Node refassgnexpr = 10 [json_name="refassgnexpr"]; +} + +message FuncExpr +{ + Node xpr = 1 [json_name="xpr"]; + uint32 funcid = 2 [json_name="funcid"]; + uint32 funcresulttype = 3 [json_name="funcresulttype"]; + bool funcretset = 4 [json_name="funcretset"]; + bool funcvariadic = 5 [json_name="funcvariadic"]; + CoercionForm funcformat = 6 [json_name="funcformat"]; + uint32 funccollid = 7 [json_name="funccollid"]; + uint32 inputcollid = 8 [json_name="inputcollid"]; + repeated Node args = 9 [json_name="args"]; + int32 location = 10 [json_name="location"]; +} + +message NamedArgExpr +{ + Node xpr = 1 [json_name="xpr"]; + Node arg = 2 [json_name="arg"]; + string name = 3 [json_name="name"]; + int32 argnumber = 4 [json_name="argnumber"]; + int32 location = 5 [json_name="location"]; +} + +message OpExpr +{ + Node xpr = 1 [json_name="xpr"]; + uint32 opno = 2 [json_name="opno"]; + uint32 opresulttype = 3 [json_name="opresulttype"]; + bool opretset = 4 [json_name="opretset"]; + uint32 opcollid = 5 [json_name="opcollid"]; + uint32 inputcollid = 6 [json_name="inputcollid"]; + repeated Node args = 7 [json_name="args"]; + int32 location = 8 [json_name="location"]; +} + +message DistinctExpr +{ + Node xpr = 1 [json_name="xpr"]; + uint32 opno = 2 [json_name="opno"]; + uint32 opresulttype = 3 [json_name="opresulttype"]; + bool opretset = 4 [json_name="opretset"]; + uint32 opcollid = 5 [json_name="opcollid"]; + uint32 inputcollid = 6 [json_name="inputcollid"]; + repeated Node args = 7 [json_name="args"]; + int32 location = 8 [json_name="location"]; +} + +message NullIfExpr +{ + Node xpr = 1 [json_name="xpr"]; + uint32 opno = 2 [json_name="opno"]; + uint32 opresulttype = 3 [json_name="opresulttype"]; + bool opretset = 4 [json_name="opretset"]; + uint32 opcollid = 5 [json_name="opcollid"]; + uint32 inputcollid = 6 [json_name="inputcollid"]; + repeated Node args = 7 [json_name="args"]; + int32 location = 8 [json_name="location"]; +} + +message ScalarArrayOpExpr +{ + Node xpr = 1 [json_name="xpr"]; + uint32 opno = 2 [json_name="opno"]; + bool use_or = 3 [json_name="useOr"]; + uint32 inputcollid = 4 [json_name="inputcollid"]; + repeated Node args = 5 [json_name="args"]; + int32 location = 6 [json_name="location"]; +} + +message BoolExpr +{ + Node xpr = 1 [json_name="xpr"]; + BoolExprType boolop = 2 [json_name="boolop"]; + repeated Node args = 3 [json_name="args"]; + int32 location = 4 [json_name="location"]; +} + +message SubLink +{ + Node xpr = 1 [json_name="xpr"]; + SubLinkType sub_link_type = 2 [json_name="subLinkType"]; + int32 sub_link_id = 3 [json_name="subLinkId"]; + Node testexpr = 4 [json_name="testexpr"]; + repeated Node oper_name = 5 [json_name="operName"]; + Node subselect = 6 [json_name="subselect"]; + int32 location = 7 [json_name="location"]; +} + +message SubPlan +{ + Node xpr = 1 [json_name="xpr"]; + SubLinkType sub_link_type = 2 [json_name="subLinkType"]; + Node testexpr = 3 [json_name="testexpr"]; + repeated Node param_ids = 4 [json_name="paramIds"]; + int32 plan_id = 5 [json_name="plan_id"]; + string plan_name = 6 [json_name="plan_name"]; + uint32 first_col_type = 7 [json_name="firstColType"]; + int32 first_col_typmod = 8 [json_name="firstColTypmod"]; + uint32 first_col_collation = 9 [json_name="firstColCollation"]; + bool use_hash_table = 10 [json_name="useHashTable"]; + bool unknown_eq_false = 11 [json_name="unknownEqFalse"]; + bool parallel_safe = 12 [json_name="parallel_safe"]; + repeated Node set_param = 13 [json_name="setParam"]; + repeated Node par_param = 14 [json_name="parParam"]; + repeated Node args = 15 [json_name="args"]; + double startup_cost = 16 [json_name="startup_cost"]; + double per_call_cost = 17 [json_name="per_call_cost"]; +} + +message AlternativeSubPlan +{ + Node xpr = 1 [json_name="xpr"]; + repeated Node subplans = 2 [json_name="subplans"]; +} + +message FieldSelect +{ + Node xpr = 1 [json_name="xpr"]; + Node arg = 2 [json_name="arg"]; + int32 fieldnum = 3 [json_name="fieldnum"]; + uint32 resulttype = 4 [json_name="resulttype"]; + int32 resulttypmod = 5 [json_name="resulttypmod"]; + uint32 resultcollid = 6 [json_name="resultcollid"]; +} + +message FieldStore +{ + Node xpr = 1 [json_name="xpr"]; + Node arg = 2 [json_name="arg"]; + repeated Node newvals = 3 [json_name="newvals"]; + repeated Node fieldnums = 4 [json_name="fieldnums"]; + uint32 resulttype = 5 [json_name="resulttype"]; +} + +message RelabelType +{ + Node xpr = 1 [json_name="xpr"]; + Node arg = 2 [json_name="arg"]; + uint32 resulttype = 3 [json_name="resulttype"]; + int32 resulttypmod = 4 [json_name="resulttypmod"]; + uint32 resultcollid = 5 [json_name="resultcollid"]; + CoercionForm relabelformat = 6 [json_name="relabelformat"]; + int32 location = 7 [json_name="location"]; +} + +message CoerceViaIO +{ + Node xpr = 1 [json_name="xpr"]; + Node arg = 2 [json_name="arg"]; + uint32 resulttype = 3 [json_name="resulttype"]; + uint32 resultcollid = 4 [json_name="resultcollid"]; + CoercionForm coerceformat = 5 [json_name="coerceformat"]; + int32 location = 6 [json_name="location"]; +} + +message ArrayCoerceExpr +{ + Node xpr = 1 [json_name="xpr"]; + Node arg = 2 [json_name="arg"]; + Node elemexpr = 3 [json_name="elemexpr"]; + uint32 resulttype = 4 [json_name="resulttype"]; + int32 resulttypmod = 5 [json_name="resulttypmod"]; + uint32 resultcollid = 6 [json_name="resultcollid"]; + CoercionForm coerceformat = 7 [json_name="coerceformat"]; + int32 location = 8 [json_name="location"]; +} + +message ConvertRowtypeExpr +{ + Node xpr = 1 [json_name="xpr"]; + Node arg = 2 [json_name="arg"]; + uint32 resulttype = 3 [json_name="resulttype"]; + CoercionForm convertformat = 4 [json_name="convertformat"]; + int32 location = 5 [json_name="location"]; +} + +message CollateExpr +{ + Node xpr = 1 [json_name="xpr"]; + Node arg = 2 [json_name="arg"]; + uint32 coll_oid = 3 [json_name="collOid"]; + int32 location = 4 [json_name="location"]; +} + +message CaseExpr +{ + Node xpr = 1 [json_name="xpr"]; + uint32 casetype = 2 [json_name="casetype"]; + uint32 casecollid = 3 [json_name="casecollid"]; + Node arg = 4 [json_name="arg"]; + repeated Node args = 5 [json_name="args"]; + Node defresult = 6 [json_name="defresult"]; + int32 location = 7 [json_name="location"]; +} + +message CaseWhen +{ + Node xpr = 1 [json_name="xpr"]; + Node expr = 2 [json_name="expr"]; + Node result = 3 [json_name="result"]; + int32 location = 4 [json_name="location"]; +} + +message CaseTestExpr +{ + Node xpr = 1 [json_name="xpr"]; + uint32 type_id = 2 [json_name="typeId"]; + int32 type_mod = 3 [json_name="typeMod"]; + uint32 collation = 4 [json_name="collation"]; +} + +message ArrayExpr +{ + Node xpr = 1 [json_name="xpr"]; + uint32 array_typeid = 2 [json_name="array_typeid"]; + uint32 array_collid = 3 [json_name="array_collid"]; + uint32 element_typeid = 4 [json_name="element_typeid"]; + repeated Node elements = 5 [json_name="elements"]; + bool multidims = 6 [json_name="multidims"]; + int32 location = 7 [json_name="location"]; +} + +message RowExpr +{ + Node xpr = 1 [json_name="xpr"]; + repeated Node args = 2 [json_name="args"]; + uint32 row_typeid = 3 [json_name="row_typeid"]; + CoercionForm row_format = 4 [json_name="row_format"]; + repeated Node colnames = 5 [json_name="colnames"]; + int32 location = 6 [json_name="location"]; +} + +message RowCompareExpr +{ + Node xpr = 1 [json_name="xpr"]; + RowCompareType rctype = 2 [json_name="rctype"]; + repeated Node opnos = 3 [json_name="opnos"]; + repeated Node opfamilies = 4 [json_name="opfamilies"]; + repeated Node inputcollids = 5 [json_name="inputcollids"]; + repeated Node largs = 6 [json_name="largs"]; + repeated Node rargs = 7 [json_name="rargs"]; +} + +message CoalesceExpr +{ + Node xpr = 1 [json_name="xpr"]; + uint32 coalescetype = 2 [json_name="coalescetype"]; + uint32 coalescecollid = 3 [json_name="coalescecollid"]; + repeated Node args = 4 [json_name="args"]; + int32 location = 5 [json_name="location"]; +} + +message MinMaxExpr +{ + Node xpr = 1 [json_name="xpr"]; + uint32 minmaxtype = 2 [json_name="minmaxtype"]; + uint32 minmaxcollid = 3 [json_name="minmaxcollid"]; + uint32 inputcollid = 4 [json_name="inputcollid"]; + MinMaxOp op = 5 [json_name="op"]; + repeated Node args = 6 [json_name="args"]; + int32 location = 7 [json_name="location"]; +} + +message SQLValueFunction +{ + Node xpr = 1 [json_name="xpr"]; + SQLValueFunctionOp op = 2 [json_name="op"]; + uint32 type = 3 [json_name="type"]; + int32 typmod = 4 [json_name="typmod"]; + int32 location = 5 [json_name="location"]; +} + +message XmlExpr +{ + Node xpr = 1 [json_name="xpr"]; + XmlExprOp op = 2 [json_name="op"]; + string name = 3 [json_name="name"]; + repeated Node named_args = 4 [json_name="named_args"]; + repeated Node arg_names = 5 [json_name="arg_names"]; + repeated Node args = 6 [json_name="args"]; + XmlOptionType xmloption = 7 [json_name="xmloption"]; + bool indent = 8 [json_name="indent"]; + uint32 type = 9 [json_name="type"]; + int32 typmod = 10 [json_name="typmod"]; + int32 location = 11 [json_name="location"]; +} + +message JsonFormat +{ + JsonFormatType format_type = 1 [json_name="format_type"]; + JsonEncoding encoding = 2 [json_name="encoding"]; + int32 location = 3 [json_name="location"]; +} + +message JsonReturning +{ + JsonFormat format = 1 [json_name="format"]; + uint32 typid = 2 [json_name="typid"]; + int32 typmod = 3 [json_name="typmod"]; +} + +message JsonValueExpr +{ + Node raw_expr = 1 [json_name="raw_expr"]; + Node formatted_expr = 2 [json_name="formatted_expr"]; + JsonFormat format = 3 [json_name="format"]; +} + +message JsonConstructorExpr +{ + Node xpr = 1 [json_name="xpr"]; + JsonConstructorType type = 2 [json_name="type"]; + repeated Node args = 3 [json_name="args"]; + Node func = 4 [json_name="func"]; + Node coercion = 5 [json_name="coercion"]; + JsonReturning returning = 6 [json_name="returning"]; + bool absent_on_null = 7 [json_name="absent_on_null"]; + bool unique = 8 [json_name="unique"]; + int32 location = 9 [json_name="location"]; +} + +message JsonIsPredicate +{ + Node expr = 1 [json_name="expr"]; + JsonFormat format = 2 [json_name="format"]; + JsonValueType item_type = 3 [json_name="item_type"]; + bool unique_keys = 4 [json_name="unique_keys"]; + int32 location = 5 [json_name="location"]; +} + +message JsonBehavior +{ + JsonBehaviorType btype = 1 [json_name="btype"]; + Node expr = 2 [json_name="expr"]; + bool coerce = 3 [json_name="coerce"]; + int32 location = 4 [json_name="location"]; +} + +message JsonExpr +{ + Node xpr = 1 [json_name="xpr"]; + JsonExprOp op = 2 [json_name="op"]; + string column_name = 3 [json_name="column_name"]; + Node formatted_expr = 4 [json_name="formatted_expr"]; + JsonFormat format = 5 [json_name="format"]; + Node path_spec = 6 [json_name="path_spec"]; + JsonReturning returning = 7 [json_name="returning"]; + repeated Node passing_names = 8 [json_name="passing_names"]; + repeated Node passing_values = 9 [json_name="passing_values"]; + JsonBehavior on_empty = 10 [json_name="on_empty"]; + JsonBehavior on_error = 11 [json_name="on_error"]; + bool use_io_coercion = 12 [json_name="use_io_coercion"]; + bool use_json_coercion = 13 [json_name="use_json_coercion"]; + JsonWrapper wrapper = 14 [json_name="wrapper"]; + bool omit_quotes = 15 [json_name="omit_quotes"]; + uint32 collation = 16 [json_name="collation"]; + int32 location = 17 [json_name="location"]; +} + +message JsonTablePath +{ + string name = 1 [json_name="name"]; +} + +message JsonTablePathScan +{ + Node plan = 1 [json_name="plan"]; + JsonTablePath path = 2 [json_name="path"]; + bool error_on_error = 3 [json_name="errorOnError"]; + Node child = 4 [json_name="child"]; + int32 col_min = 5 [json_name="colMin"]; + int32 col_max = 6 [json_name="colMax"]; +} + +message JsonTableSiblingJoin +{ + Node plan = 1 [json_name="plan"]; + Node lplan = 2 [json_name="lplan"]; + Node rplan = 3 [json_name="rplan"]; +} + +message NullTest +{ + Node xpr = 1 [json_name="xpr"]; + Node arg = 2 [json_name="arg"]; + NullTestType nulltesttype = 3 [json_name="nulltesttype"]; + bool argisrow = 4 [json_name="argisrow"]; + int32 location = 5 [json_name="location"]; +} + +message BooleanTest +{ + Node xpr = 1 [json_name="xpr"]; + Node arg = 2 [json_name="arg"]; + BoolTestType booltesttype = 3 [json_name="booltesttype"]; + int32 location = 4 [json_name="location"]; +} + +message MergeAction +{ + MergeMatchKind match_kind = 1 [json_name="matchKind"]; + CmdType command_type = 2 [json_name="commandType"]; + OverridingKind override = 3 [json_name="override"]; + Node qual = 4 [json_name="qual"]; + repeated Node target_list = 5 [json_name="targetList"]; + repeated Node update_colnos = 6 [json_name="updateColnos"]; +} + +message CoerceToDomain +{ + Node xpr = 1 [json_name="xpr"]; + Node arg = 2 [json_name="arg"]; + uint32 resulttype = 3 [json_name="resulttype"]; + int32 resulttypmod = 4 [json_name="resulttypmod"]; + uint32 resultcollid = 5 [json_name="resultcollid"]; + CoercionForm coercionformat = 6 [json_name="coercionformat"]; + int32 location = 7 [json_name="location"]; +} + +message CoerceToDomainValue +{ + Node xpr = 1 [json_name="xpr"]; + uint32 type_id = 2 [json_name="typeId"]; + int32 type_mod = 3 [json_name="typeMod"]; + uint32 collation = 4 [json_name="collation"]; + int32 location = 5 [json_name="location"]; +} + +message SetToDefault +{ + Node xpr = 1 [json_name="xpr"]; + uint32 type_id = 2 [json_name="typeId"]; + int32 type_mod = 3 [json_name="typeMod"]; + uint32 collation = 4 [json_name="collation"]; + int32 location = 5 [json_name="location"]; +} + +message CurrentOfExpr +{ + Node xpr = 1 [json_name="xpr"]; + uint32 cvarno = 2 [json_name="cvarno"]; + string cursor_name = 3 [json_name="cursor_name"]; + int32 cursor_param = 4 [json_name="cursor_param"]; +} + +message NextValueExpr +{ + Node xpr = 1 [json_name="xpr"]; + uint32 seqid = 2 [json_name="seqid"]; + uint32 type_id = 3 [json_name="typeId"]; +} + +message InferenceElem +{ + Node xpr = 1 [json_name="xpr"]; + Node expr = 2 [json_name="expr"]; + uint32 infercollid = 3 [json_name="infercollid"]; + uint32 inferopclass = 4 [json_name="inferopclass"]; +} + +message TargetEntry +{ + Node xpr = 1 [json_name="xpr"]; + Node expr = 2 [json_name="expr"]; + int32 resno = 3 [json_name="resno"]; + string resname = 4 [json_name="resname"]; + uint32 ressortgroupref = 5 [json_name="ressortgroupref"]; + uint32 resorigtbl = 6 [json_name="resorigtbl"]; + int32 resorigcol = 7 [json_name="resorigcol"]; + bool resjunk = 8 [json_name="resjunk"]; +} + +message RangeTblRef +{ + int32 rtindex = 1 [json_name="rtindex"]; +} + +message JoinExpr +{ + JoinType jointype = 1 [json_name="jointype"]; + bool is_natural = 2 [json_name="isNatural"]; + Node larg = 3 [json_name="larg"]; + Node rarg = 4 [json_name="rarg"]; + repeated Node using_clause = 5 [json_name="usingClause"]; + Alias join_using_alias = 6 [json_name="join_using_alias"]; + Node quals = 7 [json_name="quals"]; + Alias alias = 8 [json_name="alias"]; + int32 rtindex = 9 [json_name="rtindex"]; +} + +message FromExpr +{ + repeated Node fromlist = 1 [json_name="fromlist"]; + Node quals = 2 [json_name="quals"]; +} + +message OnConflictExpr +{ + OnConflictAction action = 1 [json_name="action"]; + repeated Node arbiter_elems = 2 [json_name="arbiterElems"]; + Node arbiter_where = 3 [json_name="arbiterWhere"]; + uint32 constraint = 4 [json_name="constraint"]; + repeated Node on_conflict_set = 5 [json_name="onConflictSet"]; + Node on_conflict_where = 6 [json_name="onConflictWhere"]; + int32 excl_rel_index = 7 [json_name="exclRelIndex"]; + repeated Node excl_rel_tlist = 8 [json_name="exclRelTlist"]; +} + +message Query +{ + CmdType command_type = 1 [json_name="commandType"]; + QuerySource query_source = 2 [json_name="querySource"]; + bool can_set_tag = 3 [json_name="canSetTag"]; + Node utility_stmt = 4 [json_name="utilityStmt"]; + int32 result_relation = 5 [json_name="resultRelation"]; + bool has_aggs = 6 [json_name="hasAggs"]; + bool has_window_funcs = 7 [json_name="hasWindowFuncs"]; + bool has_target_srfs = 8 [json_name="hasTargetSRFs"]; + bool has_sub_links = 9 [json_name="hasSubLinks"]; + bool has_distinct_on = 10 [json_name="hasDistinctOn"]; + bool has_recursive = 11 [json_name="hasRecursive"]; + bool has_modifying_cte = 12 [json_name="hasModifyingCTE"]; + bool has_for_update = 13 [json_name="hasForUpdate"]; + bool has_row_security = 14 [json_name="hasRowSecurity"]; + bool is_return = 15 [json_name="isReturn"]; + repeated Node cte_list = 16 [json_name="cteList"]; + repeated Node rtable = 17 [json_name="rtable"]; + repeated Node rteperminfos = 18 [json_name="rteperminfos"]; + FromExpr jointree = 19 [json_name="jointree"]; + repeated Node merge_action_list = 20 [json_name="mergeActionList"]; + int32 merge_target_relation = 21 [json_name="mergeTargetRelation"]; + Node merge_join_condition = 22 [json_name="mergeJoinCondition"]; + repeated Node target_list = 23 [json_name="targetList"]; + OverridingKind override = 24 [json_name="override"]; + OnConflictExpr on_conflict = 25 [json_name="onConflict"]; + repeated Node returning_list = 26 [json_name="returningList"]; + repeated Node group_clause = 27 [json_name="groupClause"]; + bool group_distinct = 28 [json_name="groupDistinct"]; + repeated Node grouping_sets = 29 [json_name="groupingSets"]; + Node having_qual = 30 [json_name="havingQual"]; + repeated Node window_clause = 31 [json_name="windowClause"]; + repeated Node distinct_clause = 32 [json_name="distinctClause"]; + repeated Node sort_clause = 33 [json_name="sortClause"]; + Node limit_offset = 34 [json_name="limitOffset"]; + Node limit_count = 35 [json_name="limitCount"]; + LimitOption limit_option = 36 [json_name="limitOption"]; + repeated Node row_marks = 37 [json_name="rowMarks"]; + Node set_operations = 38 [json_name="setOperations"]; + repeated Node constraint_deps = 39 [json_name="constraintDeps"]; + repeated Node with_check_options = 40 [json_name="withCheckOptions"]; + int32 stmt_location = 41 [json_name="stmt_location"]; + int32 stmt_len = 42 [json_name="stmt_len"]; +} + +message TypeName +{ + repeated Node names = 1 [json_name="names"]; + uint32 type_oid = 2 [json_name="typeOid"]; + bool setof = 3 [json_name="setof"]; + bool pct_type = 4 [json_name="pct_type"]; + repeated Node typmods = 5 [json_name="typmods"]; + int32 typemod = 6 [json_name="typemod"]; + repeated Node array_bounds = 7 [json_name="arrayBounds"]; + int32 location = 8 [json_name="location"]; +} + +message ColumnRef +{ + repeated Node fields = 1 [json_name="fields"]; + int32 location = 2 [json_name="location"]; +} + +message ParamRef +{ + int32 number = 1 [json_name="number"]; + int32 location = 2 [json_name="location"]; +} + +message A_Expr +{ + A_Expr_Kind kind = 1 [json_name="kind"]; + repeated Node name = 2 [json_name="name"]; + Node lexpr = 3 [json_name="lexpr"]; + Node rexpr = 4 [json_name="rexpr"]; + int32 location = 5 [json_name="location"]; +} + +message TypeCast +{ + Node arg = 1 [json_name="arg"]; + TypeName type_name = 2 [json_name="typeName"]; + int32 location = 3 [json_name="location"]; +} + +message CollateClause +{ + Node arg = 1 [json_name="arg"]; + repeated Node collname = 2 [json_name="collname"]; + int32 location = 3 [json_name="location"]; +} + +message RoleSpec +{ + RoleSpecType roletype = 1 [json_name="roletype"]; + string rolename = 2 [json_name="rolename"]; + int32 location = 3 [json_name="location"]; +} + +message FuncCall +{ + repeated Node funcname = 1 [json_name="funcname"]; + repeated Node args = 2 [json_name="args"]; + repeated Node agg_order = 3 [json_name="agg_order"]; + Node agg_filter = 4 [json_name="agg_filter"]; + WindowDef over = 5 [json_name="over"]; + bool agg_within_group = 6 [json_name="agg_within_group"]; + bool agg_star = 7 [json_name="agg_star"]; + bool agg_distinct = 8 [json_name="agg_distinct"]; + bool func_variadic = 9 [json_name="func_variadic"]; + CoercionForm funcformat = 10 [json_name="funcformat"]; + int32 location = 11 [json_name="location"]; +} + +message A_Star +{ +} + +message A_Indices +{ + bool is_slice = 1 [json_name="is_slice"]; + Node lidx = 2 [json_name="lidx"]; + Node uidx = 3 [json_name="uidx"]; +} + +message A_Indirection +{ + Node arg = 1 [json_name="arg"]; + repeated Node indirection = 2 [json_name="indirection"]; +} + +message A_ArrayExpr +{ + repeated Node elements = 1 [json_name="elements"]; + int32 location = 2 [json_name="location"]; +} + +message ResTarget +{ + string name = 1 [json_name="name"]; + repeated Node indirection = 2 [json_name="indirection"]; + Node val = 3 [json_name="val"]; + int32 location = 4 [json_name="location"]; +} + +message MultiAssignRef +{ + Node source = 1 [json_name="source"]; + int32 colno = 2 [json_name="colno"]; + int32 ncolumns = 3 [json_name="ncolumns"]; +} + +message SortBy +{ + Node node = 1 [json_name="node"]; + SortByDir sortby_dir = 2 [json_name="sortby_dir"]; + SortByNulls sortby_nulls = 3 [json_name="sortby_nulls"]; + repeated Node use_op = 4 [json_name="useOp"]; + int32 location = 5 [json_name="location"]; +} + +message WindowDef +{ + string name = 1 [json_name="name"]; + string refname = 2 [json_name="refname"]; + repeated Node partition_clause = 3 [json_name="partitionClause"]; + repeated Node order_clause = 4 [json_name="orderClause"]; + int32 frame_options = 5 [json_name="frameOptions"]; + Node start_offset = 6 [json_name="startOffset"]; + Node end_offset = 7 [json_name="endOffset"]; + int32 location = 8 [json_name="location"]; +} + +message RangeSubselect +{ + bool lateral = 1 [json_name="lateral"]; + Node subquery = 2 [json_name="subquery"]; + Alias alias = 3 [json_name="alias"]; +} + +message RangeFunction +{ + bool lateral = 1 [json_name="lateral"]; + bool ordinality = 2 [json_name="ordinality"]; + bool is_rowsfrom = 3 [json_name="is_rowsfrom"]; + repeated Node functions = 4 [json_name="functions"]; + Alias alias = 5 [json_name="alias"]; + repeated Node coldeflist = 6 [json_name="coldeflist"]; +} + +message RangeTableFunc +{ + bool lateral = 1 [json_name="lateral"]; + Node docexpr = 2 [json_name="docexpr"]; + Node rowexpr = 3 [json_name="rowexpr"]; + repeated Node namespaces = 4 [json_name="namespaces"]; + repeated Node columns = 5 [json_name="columns"]; + Alias alias = 6 [json_name="alias"]; + int32 location = 7 [json_name="location"]; +} + +message RangeTableFuncCol +{ + string colname = 1 [json_name="colname"]; + TypeName type_name = 2 [json_name="typeName"]; + bool for_ordinality = 3 [json_name="for_ordinality"]; + bool is_not_null = 4 [json_name="is_not_null"]; + Node colexpr = 5 [json_name="colexpr"]; + Node coldefexpr = 6 [json_name="coldefexpr"]; + int32 location = 7 [json_name="location"]; +} + +message RangeTableSample +{ + Node relation = 1 [json_name="relation"]; + repeated Node method = 2 [json_name="method"]; + repeated Node args = 3 [json_name="args"]; + Node repeatable = 4 [json_name="repeatable"]; + int32 location = 5 [json_name="location"]; +} + +message ColumnDef +{ + string colname = 1 [json_name="colname"]; + TypeName type_name = 2 [json_name="typeName"]; + string compression = 3 [json_name="compression"]; + int32 inhcount = 4 [json_name="inhcount"]; + bool is_local = 5 [json_name="is_local"]; + bool is_not_null = 6 [json_name="is_not_null"]; + bool is_from_type = 7 [json_name="is_from_type"]; + string storage = 8 [json_name="storage"]; + string storage_name = 9 [json_name="storage_name"]; + Node raw_default = 10 [json_name="raw_default"]; + Node cooked_default = 11 [json_name="cooked_default"]; + string identity = 12 [json_name="identity"]; + RangeVar identity_sequence = 13 [json_name="identitySequence"]; + string generated = 14 [json_name="generated"]; + CollateClause coll_clause = 15 [json_name="collClause"]; + uint32 coll_oid = 16 [json_name="collOid"]; + repeated Node constraints = 17 [json_name="constraints"]; + repeated Node fdwoptions = 18 [json_name="fdwoptions"]; + int32 location = 19 [json_name="location"]; +} + +message TableLikeClause +{ + RangeVar relation = 1 [json_name="relation"]; + uint32 options = 2 [json_name="options"]; + uint32 relation_oid = 3 [json_name="relationOid"]; +} + +message IndexElem +{ + string name = 1 [json_name="name"]; + Node expr = 2 [json_name="expr"]; + string indexcolname = 3 [json_name="indexcolname"]; + repeated Node collation = 4 [json_name="collation"]; + repeated Node opclass = 5 [json_name="opclass"]; + repeated Node opclassopts = 6 [json_name="opclassopts"]; + SortByDir ordering = 7 [json_name="ordering"]; + SortByNulls nulls_ordering = 8 [json_name="nulls_ordering"]; +} + +message DefElem +{ + string defnamespace = 1 [json_name="defnamespace"]; + string defname = 2 [json_name="defname"]; + Node arg = 3 [json_name="arg"]; + DefElemAction defaction = 4 [json_name="defaction"]; + int32 location = 5 [json_name="location"]; +} + +message LockingClause +{ + repeated Node locked_rels = 1 [json_name="lockedRels"]; + LockClauseStrength strength = 2 [json_name="strength"]; + LockWaitPolicy wait_policy = 3 [json_name="waitPolicy"]; +} + +message XmlSerialize +{ + XmlOptionType xmloption = 1 [json_name="xmloption"]; + Node expr = 2 [json_name="expr"]; + TypeName type_name = 3 [json_name="typeName"]; + bool indent = 4 [json_name="indent"]; + int32 location = 5 [json_name="location"]; +} + +message PartitionElem +{ + string name = 1 [json_name="name"]; + Node expr = 2 [json_name="expr"]; + repeated Node collation = 3 [json_name="collation"]; + repeated Node opclass = 4 [json_name="opclass"]; + int32 location = 5 [json_name="location"]; +} + +message PartitionSpec +{ + PartitionStrategy strategy = 1 [json_name="strategy"]; + repeated Node part_params = 2 [json_name="partParams"]; + int32 location = 3 [json_name="location"]; +} + +message PartitionBoundSpec +{ + string strategy = 1 [json_name="strategy"]; + bool is_default = 2 [json_name="is_default"]; + int32 modulus = 3 [json_name="modulus"]; + int32 remainder = 4 [json_name="remainder"]; + repeated Node listdatums = 5 [json_name="listdatums"]; + repeated Node lowerdatums = 6 [json_name="lowerdatums"]; + repeated Node upperdatums = 7 [json_name="upperdatums"]; + int32 location = 8 [json_name="location"]; +} + +message PartitionRangeDatum +{ + PartitionRangeDatumKind kind = 1 [json_name="kind"]; + Node value = 2 [json_name="value"]; + int32 location = 3 [json_name="location"]; +} + +message SinglePartitionSpec +{ +} + +message PartitionCmd +{ + RangeVar name = 1 [json_name="name"]; + PartitionBoundSpec bound = 2 [json_name="bound"]; + bool concurrent = 3 [json_name="concurrent"]; +} + +message RangeTblEntry +{ + Alias alias = 1 [json_name="alias"]; + Alias eref = 2 [json_name="eref"]; + RTEKind rtekind = 3 [json_name="rtekind"]; + uint32 relid = 4 [json_name="relid"]; + bool inh = 5 [json_name="inh"]; + string relkind = 6 [json_name="relkind"]; + int32 rellockmode = 7 [json_name="rellockmode"]; + uint32 perminfoindex = 8 [json_name="perminfoindex"]; + TableSampleClause tablesample = 9 [json_name="tablesample"]; + Query subquery = 10 [json_name="subquery"]; + bool security_barrier = 11 [json_name="security_barrier"]; + JoinType jointype = 12 [json_name="jointype"]; + int32 joinmergedcols = 13 [json_name="joinmergedcols"]; + repeated Node joinaliasvars = 14 [json_name="joinaliasvars"]; + repeated Node joinleftcols = 15 [json_name="joinleftcols"]; + repeated Node joinrightcols = 16 [json_name="joinrightcols"]; + Alias join_using_alias = 17 [json_name="join_using_alias"]; + repeated Node functions = 18 [json_name="functions"]; + bool funcordinality = 19 [json_name="funcordinality"]; + TableFunc tablefunc = 20 [json_name="tablefunc"]; + repeated Node values_lists = 21 [json_name="values_lists"]; + string ctename = 22 [json_name="ctename"]; + uint32 ctelevelsup = 23 [json_name="ctelevelsup"]; + bool self_reference = 24 [json_name="self_reference"]; + repeated Node coltypes = 25 [json_name="coltypes"]; + repeated Node coltypmods = 26 [json_name="coltypmods"]; + repeated Node colcollations = 27 [json_name="colcollations"]; + string enrname = 28 [json_name="enrname"]; + double enrtuples = 29 [json_name="enrtuples"]; + bool lateral = 30 [json_name="lateral"]; + bool in_from_cl = 31 [json_name="inFromCl"]; + repeated Node security_quals = 32 [json_name="securityQuals"]; +} + +message RTEPermissionInfo +{ + uint32 relid = 1 [json_name="relid"]; + bool inh = 2 [json_name="inh"]; + uint64 required_perms = 3 [json_name="requiredPerms"]; + uint32 check_as_user = 4 [json_name="checkAsUser"]; + repeated uint64 selected_cols = 5 [json_name="selectedCols"]; + repeated uint64 inserted_cols = 6 [json_name="insertedCols"]; + repeated uint64 updated_cols = 7 [json_name="updatedCols"]; +} + +message RangeTblFunction +{ + Node funcexpr = 1 [json_name="funcexpr"]; + int32 funccolcount = 2 [json_name="funccolcount"]; + repeated Node funccolnames = 3 [json_name="funccolnames"]; + repeated Node funccoltypes = 4 [json_name="funccoltypes"]; + repeated Node funccoltypmods = 5 [json_name="funccoltypmods"]; + repeated Node funccolcollations = 6 [json_name="funccolcollations"]; + repeated uint64 funcparams = 7 [json_name="funcparams"]; +} + +message TableSampleClause +{ + uint32 tsmhandler = 1 [json_name="tsmhandler"]; + repeated Node args = 2 [json_name="args"]; + Node repeatable = 3 [json_name="repeatable"]; +} + +message WithCheckOption +{ + WCOKind kind = 1 [json_name="kind"]; + string relname = 2 [json_name="relname"]; + string polname = 3 [json_name="polname"]; + Node qual = 4 [json_name="qual"]; + bool cascaded = 5 [json_name="cascaded"]; +} + +message SortGroupClause +{ + uint32 tle_sort_group_ref = 1 [json_name="tleSortGroupRef"]; + uint32 eqop = 2 [json_name="eqop"]; + uint32 sortop = 3 [json_name="sortop"]; + bool nulls_first = 4 [json_name="nulls_first"]; + bool hashable = 5 [json_name="hashable"]; +} + +message GroupingSet +{ + GroupingSetKind kind = 1 [json_name="kind"]; + repeated Node content = 2 [json_name="content"]; + int32 location = 3 [json_name="location"]; +} + +message WindowClause +{ + string name = 1 [json_name="name"]; + string refname = 2 [json_name="refname"]; + repeated Node partition_clause = 3 [json_name="partitionClause"]; + repeated Node order_clause = 4 [json_name="orderClause"]; + int32 frame_options = 5 [json_name="frameOptions"]; + Node start_offset = 6 [json_name="startOffset"]; + Node end_offset = 7 [json_name="endOffset"]; + uint32 start_in_range_func = 8 [json_name="startInRangeFunc"]; + uint32 end_in_range_func = 9 [json_name="endInRangeFunc"]; + uint32 in_range_coll = 10 [json_name="inRangeColl"]; + bool in_range_asc = 11 [json_name="inRangeAsc"]; + bool in_range_nulls_first = 12 [json_name="inRangeNullsFirst"]; + uint32 winref = 13 [json_name="winref"]; + bool copied_order = 14 [json_name="copiedOrder"]; +} + +message RowMarkClause +{ + uint32 rti = 1 [json_name="rti"]; + LockClauseStrength strength = 2 [json_name="strength"]; + LockWaitPolicy wait_policy = 3 [json_name="waitPolicy"]; + bool pushed_down = 4 [json_name="pushedDown"]; +} + +message WithClause +{ + repeated Node ctes = 1 [json_name="ctes"]; + bool recursive = 2 [json_name="recursive"]; + int32 location = 3 [json_name="location"]; +} + +message InferClause +{ + repeated Node index_elems = 1 [json_name="indexElems"]; + Node where_clause = 2 [json_name="whereClause"]; + string conname = 3 [json_name="conname"]; + int32 location = 4 [json_name="location"]; +} + +message OnConflictClause +{ + OnConflictAction action = 1 [json_name="action"]; + InferClause infer = 2 [json_name="infer"]; + repeated Node target_list = 3 [json_name="targetList"]; + Node where_clause = 4 [json_name="whereClause"]; + int32 location = 5 [json_name="location"]; +} + +message CTESearchClause +{ + repeated Node search_col_list = 1 [json_name="search_col_list"]; + bool search_breadth_first = 2 [json_name="search_breadth_first"]; + string search_seq_column = 3 [json_name="search_seq_column"]; + int32 location = 4 [json_name="location"]; +} + +message CTECycleClause +{ + repeated Node cycle_col_list = 1 [json_name="cycle_col_list"]; + string cycle_mark_column = 2 [json_name="cycle_mark_column"]; + Node cycle_mark_value = 3 [json_name="cycle_mark_value"]; + Node cycle_mark_default = 4 [json_name="cycle_mark_default"]; + string cycle_path_column = 5 [json_name="cycle_path_column"]; + int32 location = 6 [json_name="location"]; + uint32 cycle_mark_type = 7 [json_name="cycle_mark_type"]; + int32 cycle_mark_typmod = 8 [json_name="cycle_mark_typmod"]; + uint32 cycle_mark_collation = 9 [json_name="cycle_mark_collation"]; + uint32 cycle_mark_neop = 10 [json_name="cycle_mark_neop"]; +} + +message CommonTableExpr +{ + string ctename = 1 [json_name="ctename"]; + repeated Node aliascolnames = 2 [json_name="aliascolnames"]; + CTEMaterialize ctematerialized = 3 [json_name="ctematerialized"]; + Node ctequery = 4 [json_name="ctequery"]; + CTESearchClause search_clause = 5 [json_name="search_clause"]; + CTECycleClause cycle_clause = 6 [json_name="cycle_clause"]; + int32 location = 7 [json_name="location"]; + bool cterecursive = 8 [json_name="cterecursive"]; + int32 cterefcount = 9 [json_name="cterefcount"]; + repeated Node ctecolnames = 10 [json_name="ctecolnames"]; + repeated Node ctecoltypes = 11 [json_name="ctecoltypes"]; + repeated Node ctecoltypmods = 12 [json_name="ctecoltypmods"]; + repeated Node ctecolcollations = 13 [json_name="ctecolcollations"]; +} + +message MergeWhenClause +{ + MergeMatchKind match_kind = 1 [json_name="matchKind"]; + CmdType command_type = 2 [json_name="commandType"]; + OverridingKind override = 3 [json_name="override"]; + Node condition = 4 [json_name="condition"]; + repeated Node target_list = 5 [json_name="targetList"]; + repeated Node values = 6 [json_name="values"]; +} + +message TriggerTransition +{ + string name = 1 [json_name="name"]; + bool is_new = 2 [json_name="isNew"]; + bool is_table = 3 [json_name="isTable"]; +} + +message JsonOutput +{ + TypeName type_name = 1 [json_name="typeName"]; + JsonReturning returning = 2 [json_name="returning"]; +} + +message JsonArgument +{ + JsonValueExpr val = 1 [json_name="val"]; + string name = 2 [json_name="name"]; +} + +message JsonFuncExpr +{ + JsonExprOp op = 1 [json_name="op"]; + string column_name = 2 [json_name="column_name"]; + JsonValueExpr context_item = 3 [json_name="context_item"]; + Node pathspec = 4 [json_name="pathspec"]; + repeated Node passing = 5 [json_name="passing"]; + JsonOutput output = 6 [json_name="output"]; + JsonBehavior on_empty = 7 [json_name="on_empty"]; + JsonBehavior on_error = 8 [json_name="on_error"]; + JsonWrapper wrapper = 9 [json_name="wrapper"]; + JsonQuotes quotes = 10 [json_name="quotes"]; + int32 location = 11 [json_name="location"]; +} + +message JsonTablePathSpec +{ + Node string = 1 [json_name="string"]; + string name = 2 [json_name="name"]; + int32 name_location = 3 [json_name="name_location"]; + int32 location = 4 [json_name="location"]; +} + +message JsonTable +{ + JsonValueExpr context_item = 1 [json_name="context_item"]; + JsonTablePathSpec pathspec = 2 [json_name="pathspec"]; + repeated Node passing = 3 [json_name="passing"]; + repeated Node columns = 4 [json_name="columns"]; + JsonBehavior on_error = 5 [json_name="on_error"]; + Alias alias = 6 [json_name="alias"]; + bool lateral = 7 [json_name="lateral"]; + int32 location = 8 [json_name="location"]; +} + +message JsonTableColumn +{ + JsonTableColumnType coltype = 1 [json_name="coltype"]; + string name = 2 [json_name="name"]; + TypeName type_name = 3 [json_name="typeName"]; + JsonTablePathSpec pathspec = 4 [json_name="pathspec"]; + JsonFormat format = 5 [json_name="format"]; + JsonWrapper wrapper = 6 [json_name="wrapper"]; + JsonQuotes quotes = 7 [json_name="quotes"]; + repeated Node columns = 8 [json_name="columns"]; + JsonBehavior on_empty = 9 [json_name="on_empty"]; + JsonBehavior on_error = 10 [json_name="on_error"]; + int32 location = 11 [json_name="location"]; +} + +message JsonKeyValue +{ + Node key = 1 [json_name="key"]; + JsonValueExpr value = 2 [json_name="value"]; +} + +message JsonParseExpr +{ + JsonValueExpr expr = 1 [json_name="expr"]; + JsonOutput output = 2 [json_name="output"]; + bool unique_keys = 3 [json_name="unique_keys"]; + int32 location = 4 [json_name="location"]; +} + +message JsonScalarExpr +{ + Node expr = 1 [json_name="expr"]; + JsonOutput output = 2 [json_name="output"]; + int32 location = 3 [json_name="location"]; +} + +message JsonSerializeExpr +{ + JsonValueExpr expr = 1 [json_name="expr"]; + JsonOutput output = 2 [json_name="output"]; + int32 location = 3 [json_name="location"]; +} + +message JsonObjectConstructor +{ + repeated Node exprs = 1 [json_name="exprs"]; + JsonOutput output = 2 [json_name="output"]; + bool absent_on_null = 3 [json_name="absent_on_null"]; + bool unique = 4 [json_name="unique"]; + int32 location = 5 [json_name="location"]; +} + +message JsonArrayConstructor +{ + repeated Node exprs = 1 [json_name="exprs"]; + JsonOutput output = 2 [json_name="output"]; + bool absent_on_null = 3 [json_name="absent_on_null"]; + int32 location = 4 [json_name="location"]; +} + +message JsonArrayQueryConstructor +{ + Node query = 1 [json_name="query"]; + JsonOutput output = 2 [json_name="output"]; + JsonFormat format = 3 [json_name="format"]; + bool absent_on_null = 4 [json_name="absent_on_null"]; + int32 location = 5 [json_name="location"]; +} + +message JsonAggConstructor +{ + JsonOutput output = 1 [json_name="output"]; + Node agg_filter = 2 [json_name="agg_filter"]; + repeated Node agg_order = 3 [json_name="agg_order"]; + WindowDef over = 4 [json_name="over"]; + int32 location = 5 [json_name="location"]; +} + +message JsonObjectAgg +{ + JsonAggConstructor constructor = 1 [json_name="constructor"]; + JsonKeyValue arg = 2 [json_name="arg"]; + bool absent_on_null = 3 [json_name="absent_on_null"]; + bool unique = 4 [json_name="unique"]; +} + +message JsonArrayAgg +{ + JsonAggConstructor constructor = 1 [json_name="constructor"]; + JsonValueExpr arg = 2 [json_name="arg"]; + bool absent_on_null = 3 [json_name="absent_on_null"]; +} + +message RawStmt +{ + Node stmt = 1 [json_name="stmt"]; + int32 stmt_location = 2 [json_name="stmt_location"]; + int32 stmt_len = 3 [json_name="stmt_len"]; +} + +message InsertStmt +{ + RangeVar relation = 1 [json_name="relation"]; + repeated Node cols = 2 [json_name="cols"]; + Node select_stmt = 3 [json_name="selectStmt"]; + OnConflictClause on_conflict_clause = 4 [json_name="onConflictClause"]; + repeated Node returning_list = 5 [json_name="returningList"]; + WithClause with_clause = 6 [json_name="withClause"]; + OverridingKind override = 7 [json_name="override"]; +} + +message DeleteStmt +{ + RangeVar relation = 1 [json_name="relation"]; + repeated Node using_clause = 2 [json_name="usingClause"]; + Node where_clause = 3 [json_name="whereClause"]; + repeated Node returning_list = 4 [json_name="returningList"]; + WithClause with_clause = 5 [json_name="withClause"]; +} + +message UpdateStmt +{ + RangeVar relation = 1 [json_name="relation"]; + repeated Node target_list = 2 [json_name="targetList"]; + Node where_clause = 3 [json_name="whereClause"]; + repeated Node from_clause = 4 [json_name="fromClause"]; + repeated Node returning_list = 5 [json_name="returningList"]; + WithClause with_clause = 6 [json_name="withClause"]; +} + +message MergeStmt +{ + RangeVar relation = 1 [json_name="relation"]; + Node source_relation = 2 [json_name="sourceRelation"]; + Node join_condition = 3 [json_name="joinCondition"]; + repeated Node merge_when_clauses = 4 [json_name="mergeWhenClauses"]; + repeated Node returning_list = 5 [json_name="returningList"]; + WithClause with_clause = 6 [json_name="withClause"]; +} + +message SelectStmt +{ + repeated Node distinct_clause = 1 [json_name="distinctClause"]; + IntoClause into_clause = 2 [json_name="intoClause"]; + repeated Node target_list = 3 [json_name="targetList"]; + repeated Node from_clause = 4 [json_name="fromClause"]; + Node where_clause = 5 [json_name="whereClause"]; + repeated Node group_clause = 6 [json_name="groupClause"]; + bool group_distinct = 7 [json_name="groupDistinct"]; + Node having_clause = 8 [json_name="havingClause"]; + repeated Node window_clause = 9 [json_name="windowClause"]; + repeated Node values_lists = 10 [json_name="valuesLists"]; + repeated Node sort_clause = 11 [json_name="sortClause"]; + Node limit_offset = 12 [json_name="limitOffset"]; + Node limit_count = 13 [json_name="limitCount"]; + LimitOption limit_option = 14 [json_name="limitOption"]; + repeated Node locking_clause = 15 [json_name="lockingClause"]; + WithClause with_clause = 16 [json_name="withClause"]; + SetOperation op = 17 [json_name="op"]; + bool all = 18 [json_name="all"]; + SelectStmt larg = 19 [json_name="larg"]; + SelectStmt rarg = 20 [json_name="rarg"]; +} + +message SetOperationStmt +{ + SetOperation op = 1 [json_name="op"]; + bool all = 2 [json_name="all"]; + Node larg = 3 [json_name="larg"]; + Node rarg = 4 [json_name="rarg"]; + repeated Node col_types = 5 [json_name="colTypes"]; + repeated Node col_typmods = 6 [json_name="colTypmods"]; + repeated Node col_collations = 7 [json_name="colCollations"]; + repeated Node group_clauses = 8 [json_name="groupClauses"]; +} + +message ReturnStmt +{ + Node returnval = 1 [json_name="returnval"]; +} + +message PLAssignStmt +{ + string name = 1 [json_name="name"]; + repeated Node indirection = 2 [json_name="indirection"]; + int32 nnames = 3 [json_name="nnames"]; + SelectStmt val = 4 [json_name="val"]; + int32 location = 5 [json_name="location"]; +} + +message CreateSchemaStmt +{ + string schemaname = 1 [json_name="schemaname"]; + RoleSpec authrole = 2 [json_name="authrole"]; + repeated Node schema_elts = 3 [json_name="schemaElts"]; + bool if_not_exists = 4 [json_name="if_not_exists"]; +} + +message AlterTableStmt +{ + RangeVar relation = 1 [json_name="relation"]; + repeated Node cmds = 2 [json_name="cmds"]; + ObjectType objtype = 3 [json_name="objtype"]; + bool missing_ok = 4 [json_name="missing_ok"]; +} + +message ReplicaIdentityStmt +{ + string identity_type = 1 [json_name="identity_type"]; + string name = 2 [json_name="name"]; +} + +message AlterTableCmd +{ + AlterTableType subtype = 1 [json_name="subtype"]; + string name = 2 [json_name="name"]; + int32 num = 3 [json_name="num"]; + RoleSpec newowner = 4 [json_name="newowner"]; + Node def = 5 [json_name="def"]; + DropBehavior behavior = 6 [json_name="behavior"]; + bool missing_ok = 7 [json_name="missing_ok"]; + bool recurse = 8 [json_name="recurse"]; +} + +message AlterCollationStmt +{ + repeated Node collname = 1 [json_name="collname"]; +} + +message AlterDomainStmt +{ + string subtype = 1 [json_name="subtype"]; + repeated Node type_name = 2 [json_name="typeName"]; + string name = 3 [json_name="name"]; + Node def = 4 [json_name="def"]; + DropBehavior behavior = 5 [json_name="behavior"]; + bool missing_ok = 6 [json_name="missing_ok"]; +} + +message GrantStmt +{ + bool is_grant = 1 [json_name="is_grant"]; + GrantTargetType targtype = 2 [json_name="targtype"]; + ObjectType objtype = 3 [json_name="objtype"]; + repeated Node objects = 4 [json_name="objects"]; + repeated Node privileges = 5 [json_name="privileges"]; + repeated Node grantees = 6 [json_name="grantees"]; + bool grant_option = 7 [json_name="grant_option"]; + RoleSpec grantor = 8 [json_name="grantor"]; + DropBehavior behavior = 9 [json_name="behavior"]; +} + +message ObjectWithArgs +{ + repeated Node objname = 1 [json_name="objname"]; + repeated Node objargs = 2 [json_name="objargs"]; + repeated Node objfuncargs = 3 [json_name="objfuncargs"]; + bool args_unspecified = 4 [json_name="args_unspecified"]; +} + +message AccessPriv +{ + string priv_name = 1 [json_name="priv_name"]; + repeated Node cols = 2 [json_name="cols"]; +} + +message GrantRoleStmt +{ + repeated Node granted_roles = 1 [json_name="granted_roles"]; + repeated Node grantee_roles = 2 [json_name="grantee_roles"]; + bool is_grant = 3 [json_name="is_grant"]; + repeated Node opt = 4 [json_name="opt"]; + RoleSpec grantor = 5 [json_name="grantor"]; + DropBehavior behavior = 6 [json_name="behavior"]; +} + +message AlterDefaultPrivilegesStmt +{ + repeated Node options = 1 [json_name="options"]; + GrantStmt action = 2 [json_name="action"]; +} + +message CopyStmt +{ + RangeVar relation = 1 [json_name="relation"]; + Node query = 2 [json_name="query"]; + repeated Node attlist = 3 [json_name="attlist"]; + bool is_from = 4 [json_name="is_from"]; + bool is_program = 5 [json_name="is_program"]; + string filename = 6 [json_name="filename"]; + repeated Node options = 7 [json_name="options"]; + Node where_clause = 8 [json_name="whereClause"]; +} + +message VariableSetStmt +{ + VariableSetKind kind = 1 [json_name="kind"]; + string name = 2 [json_name="name"]; + repeated Node args = 3 [json_name="args"]; + bool is_local = 4 [json_name="is_local"]; +} + +message VariableShowStmt +{ + string name = 1 [json_name="name"]; +} + +message CreateStmt +{ + RangeVar relation = 1 [json_name="relation"]; + repeated Node table_elts = 2 [json_name="tableElts"]; + repeated Node inh_relations = 3 [json_name="inhRelations"]; + PartitionBoundSpec partbound = 4 [json_name="partbound"]; + PartitionSpec partspec = 5 [json_name="partspec"]; + TypeName of_typename = 6 [json_name="ofTypename"]; + repeated Node constraints = 7 [json_name="constraints"]; + repeated Node options = 8 [json_name="options"]; + OnCommitAction oncommit = 9 [json_name="oncommit"]; + string tablespacename = 10 [json_name="tablespacename"]; + string access_method = 11 [json_name="accessMethod"]; + bool if_not_exists = 12 [json_name="if_not_exists"]; +} + +message Constraint +{ + ConstrType contype = 1 [json_name="contype"]; + string conname = 2 [json_name="conname"]; + bool deferrable = 3 [json_name="deferrable"]; + bool initdeferred = 4 [json_name="initdeferred"]; + bool skip_validation = 5 [json_name="skip_validation"]; + bool initially_valid = 6 [json_name="initially_valid"]; + bool is_no_inherit = 7 [json_name="is_no_inherit"]; + Node raw_expr = 8 [json_name="raw_expr"]; + string cooked_expr = 9 [json_name="cooked_expr"]; + string generated_when = 10 [json_name="generated_when"]; + int32 inhcount = 11 [json_name="inhcount"]; + bool nulls_not_distinct = 12 [json_name="nulls_not_distinct"]; + repeated Node keys = 13 [json_name="keys"]; + repeated Node including = 14 [json_name="including"]; + repeated Node exclusions = 15 [json_name="exclusions"]; + repeated Node options = 16 [json_name="options"]; + string indexname = 17 [json_name="indexname"]; + string indexspace = 18 [json_name="indexspace"]; + bool reset_default_tblspc = 19 [json_name="reset_default_tblspc"]; + string access_method = 20 [json_name="access_method"]; + Node where_clause = 21 [json_name="where_clause"]; + RangeVar pktable = 22 [json_name="pktable"]; + repeated Node fk_attrs = 23 [json_name="fk_attrs"]; + repeated Node pk_attrs = 24 [json_name="pk_attrs"]; + string fk_matchtype = 25 [json_name="fk_matchtype"]; + string fk_upd_action = 26 [json_name="fk_upd_action"]; + string fk_del_action = 27 [json_name="fk_del_action"]; + repeated Node fk_del_set_cols = 28 [json_name="fk_del_set_cols"]; + repeated Node old_conpfeqop = 29 [json_name="old_conpfeqop"]; + uint32 old_pktable_oid = 30 [json_name="old_pktable_oid"]; + int32 location = 31 [json_name="location"]; +} + +message CreateTableSpaceStmt +{ + string tablespacename = 1 [json_name="tablespacename"]; + RoleSpec owner = 2 [json_name="owner"]; + string location = 3 [json_name="location"]; + repeated Node options = 4 [json_name="options"]; +} + +message DropTableSpaceStmt +{ + string tablespacename = 1 [json_name="tablespacename"]; + bool missing_ok = 2 [json_name="missing_ok"]; +} + +message AlterTableSpaceOptionsStmt +{ + string tablespacename = 1 [json_name="tablespacename"]; + repeated Node options = 2 [json_name="options"]; + bool is_reset = 3 [json_name="isReset"]; +} + +message AlterTableMoveAllStmt +{ + string orig_tablespacename = 1 [json_name="orig_tablespacename"]; + ObjectType objtype = 2 [json_name="objtype"]; + repeated Node roles = 3 [json_name="roles"]; + string new_tablespacename = 4 [json_name="new_tablespacename"]; + bool nowait = 5 [json_name="nowait"]; +} + +message CreateExtensionStmt +{ + string extname = 1 [json_name="extname"]; + bool if_not_exists = 2 [json_name="if_not_exists"]; + repeated Node options = 3 [json_name="options"]; +} + +message AlterExtensionStmt +{ + string extname = 1 [json_name="extname"]; + repeated Node options = 2 [json_name="options"]; +} + +message AlterExtensionContentsStmt +{ + string extname = 1 [json_name="extname"]; + int32 action = 2 [json_name="action"]; + ObjectType objtype = 3 [json_name="objtype"]; + Node object = 4 [json_name="object"]; +} + +message CreateFdwStmt +{ + string fdwname = 1 [json_name="fdwname"]; + repeated Node func_options = 2 [json_name="func_options"]; + repeated Node options = 3 [json_name="options"]; +} + +message AlterFdwStmt +{ + string fdwname = 1 [json_name="fdwname"]; + repeated Node func_options = 2 [json_name="func_options"]; + repeated Node options = 3 [json_name="options"]; +} + +message CreateForeignServerStmt +{ + string servername = 1 [json_name="servername"]; + string servertype = 2 [json_name="servertype"]; + string version = 3 [json_name="version"]; + string fdwname = 4 [json_name="fdwname"]; + bool if_not_exists = 5 [json_name="if_not_exists"]; + repeated Node options = 6 [json_name="options"]; +} + +message AlterForeignServerStmt +{ + string servername = 1 [json_name="servername"]; + string version = 2 [json_name="version"]; + repeated Node options = 3 [json_name="options"]; + bool has_version = 4 [json_name="has_version"]; +} + +message CreateForeignTableStmt +{ + CreateStmt base_stmt = 1 [json_name="base"]; + string servername = 2 [json_name="servername"]; + repeated Node options = 3 [json_name="options"]; +} + +message CreateUserMappingStmt +{ + RoleSpec user = 1 [json_name="user"]; + string servername = 2 [json_name="servername"]; + bool if_not_exists = 3 [json_name="if_not_exists"]; + repeated Node options = 4 [json_name="options"]; +} + +message AlterUserMappingStmt +{ + RoleSpec user = 1 [json_name="user"]; + string servername = 2 [json_name="servername"]; + repeated Node options = 3 [json_name="options"]; +} + +message DropUserMappingStmt +{ + RoleSpec user = 1 [json_name="user"]; + string servername = 2 [json_name="servername"]; + bool missing_ok = 3 [json_name="missing_ok"]; +} + +message ImportForeignSchemaStmt +{ + string server_name = 1 [json_name="server_name"]; + string remote_schema = 2 [json_name="remote_schema"]; + string local_schema = 3 [json_name="local_schema"]; + ImportForeignSchemaType list_type = 4 [json_name="list_type"]; + repeated Node table_list = 5 [json_name="table_list"]; + repeated Node options = 6 [json_name="options"]; +} + +message CreatePolicyStmt +{ + string policy_name = 1 [json_name="policy_name"]; + RangeVar table = 2 [json_name="table"]; + string cmd_name = 3 [json_name="cmd_name"]; + bool permissive = 4 [json_name="permissive"]; + repeated Node roles = 5 [json_name="roles"]; + Node qual = 6 [json_name="qual"]; + Node with_check = 7 [json_name="with_check"]; +} + +message AlterPolicyStmt +{ + string policy_name = 1 [json_name="policy_name"]; + RangeVar table = 2 [json_name="table"]; + repeated Node roles = 3 [json_name="roles"]; + Node qual = 4 [json_name="qual"]; + Node with_check = 5 [json_name="with_check"]; +} + +message CreateAmStmt +{ + string amname = 1 [json_name="amname"]; + repeated Node handler_name = 2 [json_name="handler_name"]; + string amtype = 3 [json_name="amtype"]; +} + +message CreateTrigStmt +{ + bool replace = 1 [json_name="replace"]; + bool isconstraint = 2 [json_name="isconstraint"]; + string trigname = 3 [json_name="trigname"]; + RangeVar relation = 4 [json_name="relation"]; + repeated Node funcname = 5 [json_name="funcname"]; + repeated Node args = 6 [json_name="args"]; + bool row = 7 [json_name="row"]; + int32 timing = 8 [json_name="timing"]; + int32 events = 9 [json_name="events"]; + repeated Node columns = 10 [json_name="columns"]; + Node when_clause = 11 [json_name="whenClause"]; + repeated Node transition_rels = 12 [json_name="transitionRels"]; + bool deferrable = 13 [json_name="deferrable"]; + bool initdeferred = 14 [json_name="initdeferred"]; + RangeVar constrrel = 15 [json_name="constrrel"]; +} + +message CreateEventTrigStmt +{ + string trigname = 1 [json_name="trigname"]; + string eventname = 2 [json_name="eventname"]; + repeated Node whenclause = 3 [json_name="whenclause"]; + repeated Node funcname = 4 [json_name="funcname"]; +} + +message AlterEventTrigStmt +{ + string trigname = 1 [json_name="trigname"]; + string tgenabled = 2 [json_name="tgenabled"]; +} + +message CreatePLangStmt +{ + bool replace = 1 [json_name="replace"]; + string plname = 2 [json_name="plname"]; + repeated Node plhandler = 3 [json_name="plhandler"]; + repeated Node plinline = 4 [json_name="plinline"]; + repeated Node plvalidator = 5 [json_name="plvalidator"]; + bool pltrusted = 6 [json_name="pltrusted"]; +} + +message CreateRoleStmt +{ + RoleStmtType stmt_type = 1 [json_name="stmt_type"]; + string role = 2 [json_name="role"]; + repeated Node options = 3 [json_name="options"]; +} + +message AlterRoleStmt +{ + RoleSpec role = 1 [json_name="role"]; + repeated Node options = 2 [json_name="options"]; + int32 action = 3 [json_name="action"]; +} + +message AlterRoleSetStmt +{ + RoleSpec role = 1 [json_name="role"]; + string database = 2 [json_name="database"]; + VariableSetStmt setstmt = 3 [json_name="setstmt"]; +} + +message DropRoleStmt +{ + repeated Node roles = 1 [json_name="roles"]; + bool missing_ok = 2 [json_name="missing_ok"]; +} + +message CreateSeqStmt +{ + RangeVar sequence = 1 [json_name="sequence"]; + repeated Node options = 2 [json_name="options"]; + uint32 owner_id = 3 [json_name="ownerId"]; + bool for_identity = 4 [json_name="for_identity"]; + bool if_not_exists = 5 [json_name="if_not_exists"]; +} + +message AlterSeqStmt +{ + RangeVar sequence = 1 [json_name="sequence"]; + repeated Node options = 2 [json_name="options"]; + bool for_identity = 3 [json_name="for_identity"]; + bool missing_ok = 4 [json_name="missing_ok"]; +} + +message DefineStmt +{ + ObjectType kind = 1 [json_name="kind"]; + bool oldstyle = 2 [json_name="oldstyle"]; + repeated Node defnames = 3 [json_name="defnames"]; + repeated Node args = 4 [json_name="args"]; + repeated Node definition = 5 [json_name="definition"]; + bool if_not_exists = 6 [json_name="if_not_exists"]; + bool replace = 7 [json_name="replace"]; +} + +message CreateDomainStmt +{ + repeated Node domainname = 1 [json_name="domainname"]; + TypeName type_name = 2 [json_name="typeName"]; + CollateClause coll_clause = 3 [json_name="collClause"]; + repeated Node constraints = 4 [json_name="constraints"]; +} + +message CreateOpClassStmt +{ + repeated Node opclassname = 1 [json_name="opclassname"]; + repeated Node opfamilyname = 2 [json_name="opfamilyname"]; + string amname = 3 [json_name="amname"]; + TypeName datatype = 4 [json_name="datatype"]; + repeated Node items = 5 [json_name="items"]; + bool is_default = 6 [json_name="isDefault"]; +} + +message CreateOpClassItem +{ + int32 itemtype = 1 [json_name="itemtype"]; + ObjectWithArgs name = 2 [json_name="name"]; + int32 number = 3 [json_name="number"]; + repeated Node order_family = 4 [json_name="order_family"]; + repeated Node class_args = 5 [json_name="class_args"]; + TypeName storedtype = 6 [json_name="storedtype"]; +} + +message CreateOpFamilyStmt +{ + repeated Node opfamilyname = 1 [json_name="opfamilyname"]; + string amname = 2 [json_name="amname"]; +} + +message AlterOpFamilyStmt +{ + repeated Node opfamilyname = 1 [json_name="opfamilyname"]; + string amname = 2 [json_name="amname"]; + bool is_drop = 3 [json_name="isDrop"]; + repeated Node items = 4 [json_name="items"]; +} + +message DropStmt +{ + repeated Node objects = 1 [json_name="objects"]; + ObjectType remove_type = 2 [json_name="removeType"]; + DropBehavior behavior = 3 [json_name="behavior"]; + bool missing_ok = 4 [json_name="missing_ok"]; + bool concurrent = 5 [json_name="concurrent"]; +} + +message TruncateStmt +{ + repeated Node relations = 1 [json_name="relations"]; + bool restart_seqs = 2 [json_name="restart_seqs"]; + DropBehavior behavior = 3 [json_name="behavior"]; +} + +message CommentStmt +{ + ObjectType objtype = 1 [json_name="objtype"]; + Node object = 2 [json_name="object"]; + string comment = 3 [json_name="comment"]; +} + +message SecLabelStmt +{ + ObjectType objtype = 1 [json_name="objtype"]; + Node object = 2 [json_name="object"]; + string provider = 3 [json_name="provider"]; + string label = 4 [json_name="label"]; +} + +message DeclareCursorStmt +{ + string portalname = 1 [json_name="portalname"]; + int32 options = 2 [json_name="options"]; + Node query = 3 [json_name="query"]; +} + +message ClosePortalStmt +{ + string portalname = 1 [json_name="portalname"]; +} + +message FetchStmt +{ + FetchDirection direction = 1 [json_name="direction"]; + int64 how_many = 2 [json_name="howMany"]; + string portalname = 3 [json_name="portalname"]; + bool ismove = 4 [json_name="ismove"]; +} + +message IndexStmt +{ + string idxname = 1 [json_name="idxname"]; + RangeVar relation = 2 [json_name="relation"]; + string access_method = 3 [json_name="accessMethod"]; + string table_space = 4 [json_name="tableSpace"]; + repeated Node index_params = 5 [json_name="indexParams"]; + repeated Node index_including_params = 6 [json_name="indexIncludingParams"]; + repeated Node options = 7 [json_name="options"]; + Node where_clause = 8 [json_name="whereClause"]; + repeated Node exclude_op_names = 9 [json_name="excludeOpNames"]; + string idxcomment = 10 [json_name="idxcomment"]; + uint32 index_oid = 11 [json_name="indexOid"]; + uint32 old_number = 12 [json_name="oldNumber"]; + uint32 old_create_subid = 13 [json_name="oldCreateSubid"]; + uint32 old_first_relfilelocator_subid = 14 [json_name="oldFirstRelfilelocatorSubid"]; + bool unique = 15 [json_name="unique"]; + bool nulls_not_distinct = 16 [json_name="nulls_not_distinct"]; + bool primary = 17 [json_name="primary"]; + bool isconstraint = 18 [json_name="isconstraint"]; + bool deferrable = 19 [json_name="deferrable"]; + bool initdeferred = 20 [json_name="initdeferred"]; + bool transformed = 21 [json_name="transformed"]; + bool concurrent = 22 [json_name="concurrent"]; + bool if_not_exists = 23 [json_name="if_not_exists"]; + bool reset_default_tblspc = 24 [json_name="reset_default_tblspc"]; +} + +message CreateStatsStmt +{ + repeated Node defnames = 1 [json_name="defnames"]; + repeated Node stat_types = 2 [json_name="stat_types"]; + repeated Node exprs = 3 [json_name="exprs"]; + repeated Node relations = 4 [json_name="relations"]; + string stxcomment = 5 [json_name="stxcomment"]; + bool transformed = 6 [json_name="transformed"]; + bool if_not_exists = 7 [json_name="if_not_exists"]; +} + +message StatsElem +{ + string name = 1 [json_name="name"]; + Node expr = 2 [json_name="expr"]; +} + +message AlterStatsStmt +{ + repeated Node defnames = 1 [json_name="defnames"]; + Node stxstattarget = 2 [json_name="stxstattarget"]; + bool missing_ok = 3 [json_name="missing_ok"]; +} + +message CreateFunctionStmt +{ + bool is_procedure = 1 [json_name="is_procedure"]; + bool replace = 2 [json_name="replace"]; + repeated Node funcname = 3 [json_name="funcname"]; + repeated Node parameters = 4 [json_name="parameters"]; + TypeName return_type = 5 [json_name="returnType"]; + repeated Node options = 6 [json_name="options"]; + Node sql_body = 7 [json_name="sql_body"]; +} + +message FunctionParameter +{ + string name = 1 [json_name="name"]; + TypeName arg_type = 2 [json_name="argType"]; + FunctionParameterMode mode = 3 [json_name="mode"]; + Node defexpr = 4 [json_name="defexpr"]; +} + +message AlterFunctionStmt +{ + ObjectType objtype = 1 [json_name="objtype"]; + ObjectWithArgs func = 2 [json_name="func"]; + repeated Node actions = 3 [json_name="actions"]; +} + +message DoStmt +{ + repeated Node args = 1 [json_name="args"]; +} + +message InlineCodeBlock +{ + string source_text = 1 [json_name="source_text"]; + uint32 lang_oid = 2 [json_name="langOid"]; + bool lang_is_trusted = 3 [json_name="langIsTrusted"]; + bool atomic = 4 [json_name="atomic"]; +} + +message CallStmt +{ + FuncCall funccall = 1 [json_name="funccall"]; + FuncExpr funcexpr = 2 [json_name="funcexpr"]; + repeated Node outargs = 3 [json_name="outargs"]; +} + +message CallContext +{ + bool atomic = 1 [json_name="atomic"]; +} + +message RenameStmt +{ + ObjectType rename_type = 1 [json_name="renameType"]; + ObjectType relation_type = 2 [json_name="relationType"]; + RangeVar relation = 3 [json_name="relation"]; + Node object = 4 [json_name="object"]; + string subname = 5 [json_name="subname"]; + string newname = 6 [json_name="newname"]; + DropBehavior behavior = 7 [json_name="behavior"]; + bool missing_ok = 8 [json_name="missing_ok"]; +} + +message AlterObjectDependsStmt +{ + ObjectType object_type = 1 [json_name="objectType"]; + RangeVar relation = 2 [json_name="relation"]; + Node object = 3 [json_name="object"]; + String extname = 4 [json_name="extname"]; + bool remove = 5 [json_name="remove"]; +} + +message AlterObjectSchemaStmt +{ + ObjectType object_type = 1 [json_name="objectType"]; + RangeVar relation = 2 [json_name="relation"]; + Node object = 3 [json_name="object"]; + string newschema = 4 [json_name="newschema"]; + bool missing_ok = 5 [json_name="missing_ok"]; +} + +message AlterOwnerStmt +{ + ObjectType object_type = 1 [json_name="objectType"]; + RangeVar relation = 2 [json_name="relation"]; + Node object = 3 [json_name="object"]; + RoleSpec newowner = 4 [json_name="newowner"]; +} + +message AlterOperatorStmt +{ + ObjectWithArgs opername = 1 [json_name="opername"]; + repeated Node options = 2 [json_name="options"]; +} + +message AlterTypeStmt +{ + repeated Node type_name = 1 [json_name="typeName"]; + repeated Node options = 2 [json_name="options"]; +} + +message RuleStmt +{ + RangeVar relation = 1 [json_name="relation"]; + string rulename = 2 [json_name="rulename"]; + Node where_clause = 3 [json_name="whereClause"]; + CmdType event = 4 [json_name="event"]; + bool instead = 5 [json_name="instead"]; + repeated Node actions = 6 [json_name="actions"]; + bool replace = 7 [json_name="replace"]; +} + +message NotifyStmt +{ + string conditionname = 1 [json_name="conditionname"]; + string payload = 2 [json_name="payload"]; +} + +message ListenStmt +{ + string conditionname = 1 [json_name="conditionname"]; +} + +message UnlistenStmt +{ + string conditionname = 1 [json_name="conditionname"]; +} + +message TransactionStmt +{ + TransactionStmtKind kind = 1 [json_name="kind"]; + repeated Node options = 2 [json_name="options"]; + string savepoint_name = 3 [json_name="savepoint_name"]; + string gid = 4 [json_name="gid"]; + bool chain = 5 [json_name="chain"]; + int32 location = 6 [json_name="location"]; +} + +message CompositeTypeStmt +{ + RangeVar typevar = 1 [json_name="typevar"]; + repeated Node coldeflist = 2 [json_name="coldeflist"]; +} + +message CreateEnumStmt +{ + repeated Node type_name = 1 [json_name="typeName"]; + repeated Node vals = 2 [json_name="vals"]; +} + +message CreateRangeStmt +{ + repeated Node type_name = 1 [json_name="typeName"]; + repeated Node params = 2 [json_name="params"]; +} + +message AlterEnumStmt +{ + repeated Node type_name = 1 [json_name="typeName"]; + string old_val = 2 [json_name="oldVal"]; + string new_val = 3 [json_name="newVal"]; + string new_val_neighbor = 4 [json_name="newValNeighbor"]; + bool new_val_is_after = 5 [json_name="newValIsAfter"]; + bool skip_if_new_val_exists = 6 [json_name="skipIfNewValExists"]; +} + +message ViewStmt +{ + RangeVar view = 1 [json_name="view"]; + repeated Node aliases = 2 [json_name="aliases"]; + Node query = 3 [json_name="query"]; + bool replace = 4 [json_name="replace"]; + repeated Node options = 5 [json_name="options"]; + ViewCheckOption with_check_option = 6 [json_name="withCheckOption"]; +} + +message LoadStmt +{ + string filename = 1 [json_name="filename"]; +} + +message CreatedbStmt +{ + string dbname = 1 [json_name="dbname"]; + repeated Node options = 2 [json_name="options"]; +} + +message AlterDatabaseStmt +{ + string dbname = 1 [json_name="dbname"]; + repeated Node options = 2 [json_name="options"]; +} + +message AlterDatabaseRefreshCollStmt +{ + string dbname = 1 [json_name="dbname"]; +} + +message AlterDatabaseSetStmt +{ + string dbname = 1 [json_name="dbname"]; + VariableSetStmt setstmt = 2 [json_name="setstmt"]; +} + +message DropdbStmt +{ + string dbname = 1 [json_name="dbname"]; + bool missing_ok = 2 [json_name="missing_ok"]; + repeated Node options = 3 [json_name="options"]; +} + +message AlterSystemStmt +{ + VariableSetStmt setstmt = 1 [json_name="setstmt"]; +} + +message ClusterStmt +{ + RangeVar relation = 1 [json_name="relation"]; + string indexname = 2 [json_name="indexname"]; + repeated Node params = 3 [json_name="params"]; +} + +message VacuumStmt +{ + repeated Node options = 1 [json_name="options"]; + repeated Node rels = 2 [json_name="rels"]; + bool is_vacuumcmd = 3 [json_name="is_vacuumcmd"]; +} + +message VacuumRelation +{ + RangeVar relation = 1 [json_name="relation"]; + uint32 oid = 2 [json_name="oid"]; + repeated Node va_cols = 3 [json_name="va_cols"]; +} + +message ExplainStmt +{ + Node query = 1 [json_name="query"]; + repeated Node options = 2 [json_name="options"]; +} + +message CreateTableAsStmt +{ + Node query = 1 [json_name="query"]; + IntoClause into = 2 [json_name="into"]; + ObjectType objtype = 3 [json_name="objtype"]; + bool is_select_into = 4 [json_name="is_select_into"]; + bool if_not_exists = 5 [json_name="if_not_exists"]; +} + +message RefreshMatViewStmt +{ + bool concurrent = 1 [json_name="concurrent"]; + bool skip_data = 2 [json_name="skipData"]; + RangeVar relation = 3 [json_name="relation"]; +} + +message CheckPointStmt +{ +} + +message DiscardStmt +{ + DiscardMode target = 1 [json_name="target"]; +} + +message LockStmt +{ + repeated Node relations = 1 [json_name="relations"]; + int32 mode = 2 [json_name="mode"]; + bool nowait = 3 [json_name="nowait"]; +} + +message ConstraintsSetStmt +{ + repeated Node constraints = 1 [json_name="constraints"]; + bool deferred = 2 [json_name="deferred"]; +} + +message ReindexStmt +{ + ReindexObjectType kind = 1 [json_name="kind"]; + RangeVar relation = 2 [json_name="relation"]; + string name = 3 [json_name="name"]; + repeated Node params = 4 [json_name="params"]; +} + +message CreateConversionStmt +{ + repeated Node conversion_name = 1 [json_name="conversion_name"]; + string for_encoding_name = 2 [json_name="for_encoding_name"]; + string to_encoding_name = 3 [json_name="to_encoding_name"]; + repeated Node func_name = 4 [json_name="func_name"]; + bool def = 5 [json_name="def"]; +} + +message CreateCastStmt +{ + TypeName sourcetype = 1 [json_name="sourcetype"]; + TypeName targettype = 2 [json_name="targettype"]; + ObjectWithArgs func = 3 [json_name="func"]; + CoercionContext context = 4 [json_name="context"]; + bool inout = 5 [json_name="inout"]; +} + +message CreateTransformStmt +{ + bool replace = 1 [json_name="replace"]; + TypeName type_name = 2 [json_name="type_name"]; + string lang = 3 [json_name="lang"]; + ObjectWithArgs fromsql = 4 [json_name="fromsql"]; + ObjectWithArgs tosql = 5 [json_name="tosql"]; +} + +message PrepareStmt +{ + string name = 1 [json_name="name"]; + repeated Node argtypes = 2 [json_name="argtypes"]; + Node query = 3 [json_name="query"]; +} + +message ExecuteStmt +{ + string name = 1 [json_name="name"]; + repeated Node params = 2 [json_name="params"]; +} + +message DeallocateStmt +{ + string name = 1 [json_name="name"]; + bool isall = 2 [json_name="isall"]; + int32 location = 3 [json_name="location"]; +} + +message DropOwnedStmt +{ + repeated Node roles = 1 [json_name="roles"]; + DropBehavior behavior = 2 [json_name="behavior"]; +} + +message ReassignOwnedStmt +{ + repeated Node roles = 1 [json_name="roles"]; + RoleSpec newrole = 2 [json_name="newrole"]; +} + +message AlterTSDictionaryStmt +{ + repeated Node dictname = 1 [json_name="dictname"]; + repeated Node options = 2 [json_name="options"]; +} + +message AlterTSConfigurationStmt +{ + AlterTSConfigType kind = 1 [json_name="kind"]; + repeated Node cfgname = 2 [json_name="cfgname"]; + repeated Node tokentype = 3 [json_name="tokentype"]; + repeated Node dicts = 4 [json_name="dicts"]; + bool override = 5 [json_name="override"]; + bool replace = 6 [json_name="replace"]; + bool missing_ok = 7 [json_name="missing_ok"]; +} + +message PublicationTable +{ + RangeVar relation = 1 [json_name="relation"]; + Node where_clause = 2 [json_name="whereClause"]; + repeated Node columns = 3 [json_name="columns"]; +} + +message PublicationObjSpec +{ + PublicationObjSpecType pubobjtype = 1 [json_name="pubobjtype"]; + string name = 2 [json_name="name"]; + PublicationTable pubtable = 3 [json_name="pubtable"]; + int32 location = 4 [json_name="location"]; +} + +message CreatePublicationStmt +{ + string pubname = 1 [json_name="pubname"]; + repeated Node options = 2 [json_name="options"]; + repeated Node pubobjects = 3 [json_name="pubobjects"]; + bool for_all_tables = 4 [json_name="for_all_tables"]; +} + +message AlterPublicationStmt +{ + string pubname = 1 [json_name="pubname"]; + repeated Node options = 2 [json_name="options"]; + repeated Node pubobjects = 3 [json_name="pubobjects"]; + bool for_all_tables = 4 [json_name="for_all_tables"]; + AlterPublicationAction action = 5 [json_name="action"]; +} + +message CreateSubscriptionStmt +{ + string subname = 1 [json_name="subname"]; + string conninfo = 2 [json_name="conninfo"]; + repeated Node publication = 3 [json_name="publication"]; + repeated Node options = 4 [json_name="options"]; +} + +message AlterSubscriptionStmt +{ + AlterSubscriptionType kind = 1 [json_name="kind"]; + string subname = 2 [json_name="subname"]; + string conninfo = 3 [json_name="conninfo"]; + repeated Node publication = 4 [json_name="publication"]; + repeated Node options = 5 [json_name="options"]; +} + +message DropSubscriptionStmt +{ + string subname = 1 [json_name="subname"]; + bool missing_ok = 2 [json_name="missing_ok"]; + DropBehavior behavior = 3 [json_name="behavior"]; +} + +enum QuerySource +{ + QUERY_SOURCE_UNDEFINED = 0; + QSRC_ORIGINAL = 1; + QSRC_PARSER = 2; + QSRC_INSTEAD_RULE = 3; + QSRC_QUAL_INSTEAD_RULE = 4; + QSRC_NON_INSTEAD_RULE = 5; +} + +enum SortByDir +{ + SORT_BY_DIR_UNDEFINED = 0; + SORTBY_DEFAULT = 1; + SORTBY_ASC = 2; + SORTBY_DESC = 3; + SORTBY_USING = 4; +} + +enum SortByNulls +{ + SORT_BY_NULLS_UNDEFINED = 0; + SORTBY_NULLS_DEFAULT = 1; + SORTBY_NULLS_FIRST = 2; + SORTBY_NULLS_LAST = 3; +} + +enum SetQuantifier +{ + SET_QUANTIFIER_UNDEFINED = 0; + SET_QUANTIFIER_DEFAULT = 1; + SET_QUANTIFIER_ALL = 2; + SET_QUANTIFIER_DISTINCT = 3; +} + +enum A_Expr_Kind +{ + A_EXPR_KIND_UNDEFINED = 0; + AEXPR_OP = 1; + AEXPR_OP_ANY = 2; + AEXPR_OP_ALL = 3; + AEXPR_DISTINCT = 4; + AEXPR_NOT_DISTINCT = 5; + AEXPR_NULLIF = 6; + AEXPR_IN = 7; + AEXPR_LIKE = 8; + AEXPR_ILIKE = 9; + AEXPR_SIMILAR = 10; + AEXPR_BETWEEN = 11; + AEXPR_NOT_BETWEEN = 12; + AEXPR_BETWEEN_SYM = 13; + AEXPR_NOT_BETWEEN_SYM = 14; +} + +enum RoleSpecType +{ + ROLE_SPEC_TYPE_UNDEFINED = 0; + ROLESPEC_CSTRING = 1; + ROLESPEC_CURRENT_ROLE = 2; + ROLESPEC_CURRENT_USER = 3; + ROLESPEC_SESSION_USER = 4; + ROLESPEC_PUBLIC = 5; +} + +enum TableLikeOption +{ + TABLE_LIKE_OPTION_UNDEFINED = 0; + CREATE_TABLE_LIKE_COMMENTS = 1; + CREATE_TABLE_LIKE_COMPRESSION = 2; + CREATE_TABLE_LIKE_CONSTRAINTS = 3; + CREATE_TABLE_LIKE_DEFAULTS = 4; + CREATE_TABLE_LIKE_GENERATED = 5; + CREATE_TABLE_LIKE_IDENTITY = 6; + CREATE_TABLE_LIKE_INDEXES = 7; + CREATE_TABLE_LIKE_STATISTICS = 8; + CREATE_TABLE_LIKE_STORAGE = 9; + CREATE_TABLE_LIKE_ALL = 10; +} + +enum DefElemAction +{ + DEF_ELEM_ACTION_UNDEFINED = 0; + DEFELEM_UNSPEC = 1; + DEFELEM_SET = 2; + DEFELEM_ADD = 3; + DEFELEM_DROP = 4; +} + +enum PartitionStrategy +{ + PARTITION_STRATEGY_UNDEFINED = 0; + PARTITION_STRATEGY_LIST = 1; + PARTITION_STRATEGY_RANGE = 2; + PARTITION_STRATEGY_HASH = 3; +} + +enum PartitionRangeDatumKind +{ + PARTITION_RANGE_DATUM_KIND_UNDEFINED = 0; + PARTITION_RANGE_DATUM_MINVALUE = 1; + PARTITION_RANGE_DATUM_VALUE = 2; + PARTITION_RANGE_DATUM_MAXVALUE = 3; +} + +enum RTEKind +{ + RTEKIND_UNDEFINED = 0; + RTE_RELATION = 1; + RTE_SUBQUERY = 2; + RTE_JOIN = 3; + RTE_FUNCTION = 4; + RTE_TABLEFUNC = 5; + RTE_VALUES = 6; + RTE_CTE = 7; + RTE_NAMEDTUPLESTORE = 8; + RTE_RESULT = 9; +} + +enum WCOKind +{ + WCOKIND_UNDEFINED = 0; + WCO_VIEW_CHECK = 1; + WCO_RLS_INSERT_CHECK = 2; + WCO_RLS_UPDATE_CHECK = 3; + WCO_RLS_CONFLICT_CHECK = 4; + WCO_RLS_MERGE_UPDATE_CHECK = 5; + WCO_RLS_MERGE_DELETE_CHECK = 6; +} + +enum GroupingSetKind +{ + GROUPING_SET_KIND_UNDEFINED = 0; + GROUPING_SET_EMPTY = 1; + GROUPING_SET_SIMPLE = 2; + GROUPING_SET_ROLLUP = 3; + GROUPING_SET_CUBE = 4; + GROUPING_SET_SETS = 5; +} + +enum CTEMaterialize +{ + CTEMATERIALIZE_UNDEFINED = 0; + CTEMaterializeDefault = 1; + CTEMaterializeAlways = 2; + CTEMaterializeNever = 3; +} + +enum JsonQuotes +{ + JSON_QUOTES_UNDEFINED = 0; + JS_QUOTES_UNSPEC = 1; + JS_QUOTES_KEEP = 2; + JS_QUOTES_OMIT = 3; +} + +enum JsonTableColumnType +{ + JSON_TABLE_COLUMN_TYPE_UNDEFINED = 0; + JTC_FOR_ORDINALITY = 1; + JTC_REGULAR = 2; + JTC_EXISTS = 3; + JTC_FORMATTED = 4; + JTC_NESTED = 5; +} + +enum SetOperation +{ + SET_OPERATION_UNDEFINED = 0; + SETOP_NONE = 1; + SETOP_UNION = 2; + SETOP_INTERSECT = 3; + SETOP_EXCEPT = 4; +} + +enum ObjectType +{ + OBJECT_TYPE_UNDEFINED = 0; + OBJECT_ACCESS_METHOD = 1; + OBJECT_AGGREGATE = 2; + OBJECT_AMOP = 3; + OBJECT_AMPROC = 4; + OBJECT_ATTRIBUTE = 5; + OBJECT_CAST = 6; + OBJECT_COLUMN = 7; + OBJECT_COLLATION = 8; + OBJECT_CONVERSION = 9; + OBJECT_DATABASE = 10; + OBJECT_DEFAULT = 11; + OBJECT_DEFACL = 12; + OBJECT_DOMAIN = 13; + OBJECT_DOMCONSTRAINT = 14; + OBJECT_EVENT_TRIGGER = 15; + OBJECT_EXTENSION = 16; + OBJECT_FDW = 17; + OBJECT_FOREIGN_SERVER = 18; + OBJECT_FOREIGN_TABLE = 19; + OBJECT_FUNCTION = 20; + OBJECT_INDEX = 21; + OBJECT_LANGUAGE = 22; + OBJECT_LARGEOBJECT = 23; + OBJECT_MATVIEW = 24; + OBJECT_OPCLASS = 25; + OBJECT_OPERATOR = 26; + OBJECT_OPFAMILY = 27; + OBJECT_PARAMETER_ACL = 28; + OBJECT_POLICY = 29; + OBJECT_PROCEDURE = 30; + OBJECT_PUBLICATION = 31; + OBJECT_PUBLICATION_NAMESPACE = 32; + OBJECT_PUBLICATION_REL = 33; + OBJECT_ROLE = 34; + OBJECT_ROUTINE = 35; + OBJECT_RULE = 36; + OBJECT_SCHEMA = 37; + OBJECT_SEQUENCE = 38; + OBJECT_SUBSCRIPTION = 39; + OBJECT_STATISTIC_EXT = 40; + OBJECT_TABCONSTRAINT = 41; + OBJECT_TABLE = 42; + OBJECT_TABLESPACE = 43; + OBJECT_TRANSFORM = 44; + OBJECT_TRIGGER = 45; + OBJECT_TSCONFIGURATION = 46; + OBJECT_TSDICTIONARY = 47; + OBJECT_TSPARSER = 48; + OBJECT_TSTEMPLATE = 49; + OBJECT_TYPE = 50; + OBJECT_USER_MAPPING = 51; + OBJECT_VIEW = 52; +} + +enum DropBehavior +{ + DROP_BEHAVIOR_UNDEFINED = 0; + DROP_RESTRICT = 1; + DROP_CASCADE = 2; +} + +enum AlterTableType +{ + ALTER_TABLE_TYPE_UNDEFINED = 0; + AT_AddColumn = 1; + AT_AddColumnToView = 2; + AT_ColumnDefault = 3; + AT_CookedColumnDefault = 4; + AT_DropNotNull = 5; + AT_SetNotNull = 6; + AT_SetExpression = 7; + AT_DropExpression = 8; + AT_CheckNotNull = 9; + AT_SetStatistics = 10; + AT_SetOptions = 11; + AT_ResetOptions = 12; + AT_SetStorage = 13; + AT_SetCompression = 14; + AT_DropColumn = 15; + AT_AddIndex = 16; + AT_ReAddIndex = 17; + AT_AddConstraint = 18; + AT_ReAddConstraint = 19; + AT_ReAddDomainConstraint = 20; + AT_AlterConstraint = 21; + AT_ValidateConstraint = 22; + AT_AddIndexConstraint = 23; + AT_DropConstraint = 24; + AT_ReAddComment = 25; + AT_AlterColumnType = 26; + AT_AlterColumnGenericOptions = 27; + AT_ChangeOwner = 28; + AT_ClusterOn = 29; + AT_DropCluster = 30; + AT_SetLogged = 31; + AT_SetUnLogged = 32; + AT_DropOids = 33; + AT_SetAccessMethod = 34; + AT_SetTableSpace = 35; + AT_SetRelOptions = 36; + AT_ResetRelOptions = 37; + AT_ReplaceRelOptions = 38; + AT_EnableTrig = 39; + AT_EnableAlwaysTrig = 40; + AT_EnableReplicaTrig = 41; + AT_DisableTrig = 42; + AT_EnableTrigAll = 43; + AT_DisableTrigAll = 44; + AT_EnableTrigUser = 45; + AT_DisableTrigUser = 46; + AT_EnableRule = 47; + AT_EnableAlwaysRule = 48; + AT_EnableReplicaRule = 49; + AT_DisableRule = 50; + AT_AddInherit = 51; + AT_DropInherit = 52; + AT_AddOf = 53; + AT_DropOf = 54; + AT_ReplicaIdentity = 55; + AT_EnableRowSecurity = 56; + AT_DisableRowSecurity = 57; + AT_ForceRowSecurity = 58; + AT_NoForceRowSecurity = 59; + AT_GenericOptions = 60; + AT_AttachPartition = 61; + AT_DetachPartition = 62; + AT_DetachPartitionFinalize = 63; + AT_AddIdentity = 64; + AT_SetIdentity = 65; + AT_DropIdentity = 66; + AT_ReAddStatistics = 67; +} + +enum GrantTargetType +{ + GRANT_TARGET_TYPE_UNDEFINED = 0; + ACL_TARGET_OBJECT = 1; + ACL_TARGET_ALL_IN_SCHEMA = 2; + ACL_TARGET_DEFAULTS = 3; +} + +enum VariableSetKind +{ + VARIABLE_SET_KIND_UNDEFINED = 0; + VAR_SET_VALUE = 1; + VAR_SET_DEFAULT = 2; + VAR_SET_CURRENT = 3; + VAR_SET_MULTI = 4; + VAR_RESET = 5; + VAR_RESET_ALL = 6; +} + +enum ConstrType +{ + CONSTR_TYPE_UNDEFINED = 0; + CONSTR_NULL = 1; + CONSTR_NOTNULL = 2; + CONSTR_DEFAULT = 3; + CONSTR_IDENTITY = 4; + CONSTR_GENERATED = 5; + CONSTR_CHECK = 6; + CONSTR_PRIMARY = 7; + CONSTR_UNIQUE = 8; + CONSTR_EXCLUSION = 9; + CONSTR_FOREIGN = 10; + CONSTR_ATTR_DEFERRABLE = 11; + CONSTR_ATTR_NOT_DEFERRABLE = 12; + CONSTR_ATTR_DEFERRED = 13; + CONSTR_ATTR_IMMEDIATE = 14; +} + +enum ImportForeignSchemaType +{ + IMPORT_FOREIGN_SCHEMA_TYPE_UNDEFINED = 0; + FDW_IMPORT_SCHEMA_ALL = 1; + FDW_IMPORT_SCHEMA_LIMIT_TO = 2; + FDW_IMPORT_SCHEMA_EXCEPT = 3; +} + +enum RoleStmtType +{ + ROLE_STMT_TYPE_UNDEFINED = 0; + ROLESTMT_ROLE = 1; + ROLESTMT_USER = 2; + ROLESTMT_GROUP = 3; +} + +enum FetchDirection +{ + FETCH_DIRECTION_UNDEFINED = 0; + FETCH_FORWARD = 1; + FETCH_BACKWARD = 2; + FETCH_ABSOLUTE = 3; + FETCH_RELATIVE = 4; +} + +enum FunctionParameterMode +{ + FUNCTION_PARAMETER_MODE_UNDEFINED = 0; + FUNC_PARAM_IN = 1; + FUNC_PARAM_OUT = 2; + FUNC_PARAM_INOUT = 3; + FUNC_PARAM_VARIADIC = 4; + FUNC_PARAM_TABLE = 5; + FUNC_PARAM_DEFAULT = 6; +} + +enum TransactionStmtKind +{ + TRANSACTION_STMT_KIND_UNDEFINED = 0; + TRANS_STMT_BEGIN = 1; + TRANS_STMT_START = 2; + TRANS_STMT_COMMIT = 3; + TRANS_STMT_ROLLBACK = 4; + TRANS_STMT_SAVEPOINT = 5; + TRANS_STMT_RELEASE = 6; + TRANS_STMT_ROLLBACK_TO = 7; + TRANS_STMT_PREPARE = 8; + TRANS_STMT_COMMIT_PREPARED = 9; + TRANS_STMT_ROLLBACK_PREPARED = 10; +} + +enum ViewCheckOption +{ + VIEW_CHECK_OPTION_UNDEFINED = 0; + NO_CHECK_OPTION = 1; + LOCAL_CHECK_OPTION = 2; + CASCADED_CHECK_OPTION = 3; +} + +enum DiscardMode +{ + DISCARD_MODE_UNDEFINED = 0; + DISCARD_ALL = 1; + DISCARD_PLANS = 2; + DISCARD_SEQUENCES = 3; + DISCARD_TEMP = 4; +} + +enum ReindexObjectType +{ + REINDEX_OBJECT_TYPE_UNDEFINED = 0; + REINDEX_OBJECT_INDEX = 1; + REINDEX_OBJECT_TABLE = 2; + REINDEX_OBJECT_SCHEMA = 3; + REINDEX_OBJECT_SYSTEM = 4; + REINDEX_OBJECT_DATABASE = 5; +} + +enum AlterTSConfigType +{ + ALTER_TSCONFIG_TYPE_UNDEFINED = 0; + ALTER_TSCONFIG_ADD_MAPPING = 1; + ALTER_TSCONFIG_ALTER_MAPPING_FOR_TOKEN = 2; + ALTER_TSCONFIG_REPLACE_DICT = 3; + ALTER_TSCONFIG_REPLACE_DICT_FOR_TOKEN = 4; + ALTER_TSCONFIG_DROP_MAPPING = 5; +} + +enum PublicationObjSpecType +{ + PUBLICATION_OBJ_SPEC_TYPE_UNDEFINED = 0; + PUBLICATIONOBJ_TABLE = 1; + PUBLICATIONOBJ_TABLES_IN_SCHEMA = 2; + PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA = 3; + PUBLICATIONOBJ_CONTINUATION = 4; +} + +enum AlterPublicationAction +{ + ALTER_PUBLICATION_ACTION_UNDEFINED = 0; + AP_AddObjects = 1; + AP_DropObjects = 2; + AP_SetObjects = 3; +} + +enum AlterSubscriptionType +{ + ALTER_SUBSCRIPTION_TYPE_UNDEFINED = 0; + ALTER_SUBSCRIPTION_OPTIONS = 1; + ALTER_SUBSCRIPTION_CONNECTION = 2; + ALTER_SUBSCRIPTION_SET_PUBLICATION = 3; + ALTER_SUBSCRIPTION_ADD_PUBLICATION = 4; + ALTER_SUBSCRIPTION_DROP_PUBLICATION = 5; + ALTER_SUBSCRIPTION_REFRESH = 6; + ALTER_SUBSCRIPTION_ENABLED = 7; + ALTER_SUBSCRIPTION_SKIP = 8; +} + +enum OverridingKind +{ + OVERRIDING_KIND_UNDEFINED = 0; + OVERRIDING_NOT_SET = 1; + OVERRIDING_USER_VALUE = 2; + OVERRIDING_SYSTEM_VALUE = 3; +} + +enum OnCommitAction +{ + ON_COMMIT_ACTION_UNDEFINED = 0; + ONCOMMIT_NOOP = 1; + ONCOMMIT_PRESERVE_ROWS = 2; + ONCOMMIT_DELETE_ROWS = 3; + ONCOMMIT_DROP = 4; +} + +enum TableFuncType +{ + TABLE_FUNC_TYPE_UNDEFINED = 0; + TFT_XMLTABLE = 1; + TFT_JSON_TABLE = 2; +} + +enum ParamKind +{ + PARAM_KIND_UNDEFINED = 0; + PARAM_EXTERN = 1; + PARAM_EXEC = 2; + PARAM_SUBLINK = 3; + PARAM_MULTIEXPR = 4; +} + +enum CoercionContext +{ + COERCION_CONTEXT_UNDEFINED = 0; + COERCION_IMPLICIT = 1; + COERCION_ASSIGNMENT = 2; + COERCION_PLPGSQL = 3; + COERCION_EXPLICIT = 4; +} + +enum CoercionForm +{ + COERCION_FORM_UNDEFINED = 0; + COERCE_EXPLICIT_CALL = 1; + COERCE_EXPLICIT_CAST = 2; + COERCE_IMPLICIT_CAST = 3; + COERCE_SQL_SYNTAX = 4; +} + +enum BoolExprType +{ + BOOL_EXPR_TYPE_UNDEFINED = 0; + AND_EXPR = 1; + OR_EXPR = 2; + NOT_EXPR = 3; +} + +enum SubLinkType +{ + SUB_LINK_TYPE_UNDEFINED = 0; + EXISTS_SUBLINK = 1; + ALL_SUBLINK = 2; + ANY_SUBLINK = 3; + ROWCOMPARE_SUBLINK = 4; + EXPR_SUBLINK = 5; + MULTIEXPR_SUBLINK = 6; + ARRAY_SUBLINK = 7; + CTE_SUBLINK = 8; +} + +enum RowCompareType +{ + ROW_COMPARE_TYPE_UNDEFINED = 0; + ROWCOMPARE_LT = 1; + ROWCOMPARE_LE = 2; + ROWCOMPARE_EQ = 3; + ROWCOMPARE_GE = 4; + ROWCOMPARE_GT = 5; + ROWCOMPARE_NE = 6; +} + +enum MinMaxOp +{ + MIN_MAX_OP_UNDEFINED = 0; + IS_GREATEST = 1; + IS_LEAST = 2; +} + +enum SQLValueFunctionOp +{ + SQLVALUE_FUNCTION_OP_UNDEFINED = 0; + SVFOP_CURRENT_DATE = 1; + SVFOP_CURRENT_TIME = 2; + SVFOP_CURRENT_TIME_N = 3; + SVFOP_CURRENT_TIMESTAMP = 4; + SVFOP_CURRENT_TIMESTAMP_N = 5; + SVFOP_LOCALTIME = 6; + SVFOP_LOCALTIME_N = 7; + SVFOP_LOCALTIMESTAMP = 8; + SVFOP_LOCALTIMESTAMP_N = 9; + SVFOP_CURRENT_ROLE = 10; + SVFOP_CURRENT_USER = 11; + SVFOP_USER = 12; + SVFOP_SESSION_USER = 13; + SVFOP_CURRENT_CATALOG = 14; + SVFOP_CURRENT_SCHEMA = 15; +} + +enum XmlExprOp +{ + XML_EXPR_OP_UNDEFINED = 0; + IS_XMLCONCAT = 1; + IS_XMLELEMENT = 2; + IS_XMLFOREST = 3; + IS_XMLPARSE = 4; + IS_XMLPI = 5; + IS_XMLROOT = 6; + IS_XMLSERIALIZE = 7; + IS_DOCUMENT = 8; +} + +enum XmlOptionType +{ + XML_OPTION_TYPE_UNDEFINED = 0; + XMLOPTION_DOCUMENT = 1; + XMLOPTION_CONTENT = 2; +} + +enum JsonEncoding +{ + JSON_ENCODING_UNDEFINED = 0; + JS_ENC_DEFAULT = 1; + JS_ENC_UTF8 = 2; + JS_ENC_UTF16 = 3; + JS_ENC_UTF32 = 4; +} + +enum JsonFormatType +{ + JSON_FORMAT_TYPE_UNDEFINED = 0; + JS_FORMAT_DEFAULT = 1; + JS_FORMAT_JSON = 2; + JS_FORMAT_JSONB = 3; +} + +enum JsonConstructorType +{ + JSON_CONSTRUCTOR_TYPE_UNDEFINED = 0; + JSCTOR_JSON_OBJECT = 1; + JSCTOR_JSON_ARRAY = 2; + JSCTOR_JSON_OBJECTAGG = 3; + JSCTOR_JSON_ARRAYAGG = 4; + JSCTOR_JSON_PARSE = 5; + JSCTOR_JSON_SCALAR = 6; + JSCTOR_JSON_SERIALIZE = 7; +} + +enum JsonValueType +{ + JSON_VALUE_TYPE_UNDEFINED = 0; + JS_TYPE_ANY = 1; + JS_TYPE_OBJECT = 2; + JS_TYPE_ARRAY = 3; + JS_TYPE_SCALAR = 4; +} + +enum JsonWrapper +{ + JSON_WRAPPER_UNDEFINED = 0; + JSW_UNSPEC = 1; + JSW_NONE = 2; + JSW_CONDITIONAL = 3; + JSW_UNCONDITIONAL = 4; +} + +enum JsonBehaviorType +{ + JSON_BEHAVIOR_TYPE_UNDEFINED = 0; + JSON_BEHAVIOR_NULL = 1; + JSON_BEHAVIOR_ERROR = 2; + JSON_BEHAVIOR_EMPTY = 3; + JSON_BEHAVIOR_TRUE = 4; + JSON_BEHAVIOR_FALSE = 5; + JSON_BEHAVIOR_UNKNOWN = 6; + JSON_BEHAVIOR_EMPTY_ARRAY = 7; + JSON_BEHAVIOR_EMPTY_OBJECT = 8; + JSON_BEHAVIOR_DEFAULT = 9; +} + +enum JsonExprOp +{ + JSON_EXPR_OP_UNDEFINED = 0; + JSON_EXISTS_OP = 1; + JSON_QUERY_OP = 2; + JSON_VALUE_OP = 3; + JSON_TABLE_OP = 4; +} + +enum NullTestType +{ + NULL_TEST_TYPE_UNDEFINED = 0; + IS_NULL = 1; + IS_NOT_NULL = 2; +} + +enum BoolTestType +{ + BOOL_TEST_TYPE_UNDEFINED = 0; + IS_TRUE = 1; + IS_NOT_TRUE = 2; + IS_FALSE = 3; + IS_NOT_FALSE = 4; + IS_UNKNOWN = 5; + IS_NOT_UNKNOWN = 6; +} + +enum MergeMatchKind +{ + MERGE_MATCH_KIND_UNDEFINED = 0; + MERGE_WHEN_MATCHED = 1; + MERGE_WHEN_NOT_MATCHED_BY_SOURCE = 2; + MERGE_WHEN_NOT_MATCHED_BY_TARGET = 3; +} + +enum CmdType +{ + CMD_TYPE_UNDEFINED = 0; + CMD_UNKNOWN = 1; + CMD_SELECT = 2; + CMD_UPDATE = 3; + CMD_INSERT = 4; + CMD_DELETE = 5; + CMD_MERGE = 6; + CMD_UTILITY = 7; + CMD_NOTHING = 8; +} + +enum JoinType +{ + JOIN_TYPE_UNDEFINED = 0; + JOIN_INNER = 1; + JOIN_LEFT = 2; + JOIN_FULL = 3; + JOIN_RIGHT = 4; + JOIN_SEMI = 5; + JOIN_ANTI = 6; + JOIN_RIGHT_ANTI = 7; + JOIN_UNIQUE_OUTER = 8; + JOIN_UNIQUE_INNER = 9; +} + +enum AggStrategy +{ + AGG_STRATEGY_UNDEFINED = 0; + AGG_PLAIN = 1; + AGG_SORTED = 2; + AGG_HASHED = 3; + AGG_MIXED = 4; +} + +enum AggSplit +{ + AGG_SPLIT_UNDEFINED = 0; + AGGSPLIT_SIMPLE = 1; + AGGSPLIT_INITIAL_SERIAL = 2; + AGGSPLIT_FINAL_DESERIAL = 3; +} + +enum SetOpCmd +{ + SET_OP_CMD_UNDEFINED = 0; + SETOPCMD_INTERSECT = 1; + SETOPCMD_INTERSECT_ALL = 2; + SETOPCMD_EXCEPT = 3; + SETOPCMD_EXCEPT_ALL = 4; +} + +enum SetOpStrategy +{ + SET_OP_STRATEGY_UNDEFINED = 0; + SETOP_SORTED = 1; + SETOP_HASHED = 2; +} + +enum OnConflictAction +{ + ON_CONFLICT_ACTION_UNDEFINED = 0; + ONCONFLICT_NONE = 1; + ONCONFLICT_NOTHING = 2; + ONCONFLICT_UPDATE = 3; +} + +enum LimitOption +{ + LIMIT_OPTION_UNDEFINED = 0; + LIMIT_OPTION_DEFAULT = 1; + LIMIT_OPTION_COUNT = 2; + LIMIT_OPTION_WITH_TIES = 3; +} + +enum LockClauseStrength +{ + LOCK_CLAUSE_STRENGTH_UNDEFINED = 0; + LCS_NONE = 1; + LCS_FORKEYSHARE = 2; + LCS_FORSHARE = 3; + LCS_FORNOKEYUPDATE = 4; + LCS_FORUPDATE = 5; +} + +enum LockWaitPolicy +{ + LOCK_WAIT_POLICY_UNDEFINED = 0; + LockWaitBlock = 1; + LockWaitSkip = 2; + LockWaitError = 3; +} + +enum LockTupleMode +{ + LOCK_TUPLE_MODE_UNDEFINED = 0; + LockTupleKeyShare = 1; + LockTupleShare = 2; + LockTupleNoKeyExclusive = 3; + LockTupleExclusive = 4; +} + +message ScanToken { + int32 start = 1; + int32 end = 2; + Token token = 4; + KeywordKind keyword_kind = 5; +} + +enum KeywordKind { + NO_KEYWORD = 0; + UNRESERVED_KEYWORD = 1; + COL_NAME_KEYWORD = 2; + TYPE_FUNC_NAME_KEYWORD = 3; + RESERVED_KEYWORD = 4; +} + +enum Token { + NUL = 0; + // Single-character tokens that are returned 1:1 (identical with "self" list in scan.l) + // Either supporting syntax, or single-character operators (some can be both) + // Also see https://www.postgresql.org/docs/12/sql-syntax-lexical.html#SQL-SYNTAX-SPECIAL-CHARS + ASCII_36 = 36; // "$" + ASCII_37 = 37; // "%" + ASCII_40 = 40; // "(" + ASCII_41 = 41; // ")" + ASCII_42 = 42; // "*" + ASCII_43 = 43; // "+" + ASCII_44 = 44; // "," + ASCII_45 = 45; // "-" + ASCII_46 = 46; // "." + ASCII_47 = 47; // "/" + ASCII_58 = 58; // ":" + ASCII_59 = 59; // ";" + ASCII_60 = 60; // "<" + ASCII_61 = 61; // "=" + ASCII_62 = 62; // ">" + ASCII_63 = 63; // "?" + ASCII_91 = 91; // "[" + ASCII_92 = 92; // "\" + ASCII_93 = 93; // "]" + ASCII_94 = 94; // "^" + // Named tokens in scan.l + IDENT = 258; + UIDENT = 259; + FCONST = 260; + SCONST = 261; + USCONST = 262; + BCONST = 263; + XCONST = 264; + Op = 265; + ICONST = 266; + PARAM = 267; + TYPECAST = 268; + DOT_DOT = 269; + COLON_EQUALS = 270; + EQUALS_GREATER = 271; + LESS_EQUALS = 272; + GREATER_EQUALS = 273; + NOT_EQUALS = 274; + SQL_COMMENT = 275; + C_COMMENT = 276; + ABORT_P = 277; + ABSENT = 278; + ABSOLUTE_P = 279; + ACCESS = 280; + ACTION = 281; + ADD_P = 282; + ADMIN = 283; + AFTER = 284; + AGGREGATE = 285; + ALL = 286; + ALSO = 287; + ALTER = 288; + ALWAYS = 289; + ANALYSE = 290; + ANALYZE = 291; + AND = 292; + ANY = 293; + ARRAY = 294; + AS = 295; + ASC = 296; + ASENSITIVE = 297; + ASSERTION = 298; + ASSIGNMENT = 299; + ASYMMETRIC = 300; + ATOMIC = 301; + AT = 302; + ATTACH = 303; + ATTRIBUTE = 304; + AUTHORIZATION = 305; + BACKWARD = 306; + BEFORE = 307; + BEGIN_P = 308; + BETWEEN = 309; + BIGINT = 310; + BINARY = 311; + BIT = 312; + BOOLEAN_P = 313; + BOTH = 314; + BREADTH = 315; + BY = 316; + CACHE = 317; + CALL = 318; + CALLED = 319; + CASCADE = 320; + CASCADED = 321; + CASE = 322; + CAST = 323; + CATALOG_P = 324; + CHAIN = 325; + CHAR_P = 326; + CHARACTER = 327; + CHARACTERISTICS = 328; + CHECK = 329; + CHECKPOINT = 330; + CLASS = 331; + CLOSE = 332; + CLUSTER = 333; + COALESCE = 334; + COLLATE = 335; + COLLATION = 336; + COLUMN = 337; + COLUMNS = 338; + COMMENT = 339; + COMMENTS = 340; + COMMIT = 341; + COMMITTED = 342; + COMPRESSION = 343; + CONCURRENTLY = 344; + CONDITIONAL = 345; + CONFIGURATION = 346; + CONFLICT = 347; + CONNECTION = 348; + CONSTRAINT = 349; + CONSTRAINTS = 350; + CONTENT_P = 351; + CONTINUE_P = 352; + CONVERSION_P = 353; + COPY = 354; + COST = 355; + CREATE = 356; + CROSS = 357; + CSV = 358; + CUBE = 359; + CURRENT_P = 360; + CURRENT_CATALOG = 361; + CURRENT_DATE = 362; + CURRENT_ROLE = 363; + CURRENT_SCHEMA = 364; + CURRENT_TIME = 365; + CURRENT_TIMESTAMP = 366; + CURRENT_USER = 367; + CURSOR = 368; + CYCLE = 369; + DATA_P = 370; + DATABASE = 371; + DAY_P = 372; + DEALLOCATE = 373; + DEC = 374; + DECIMAL_P = 375; + DECLARE = 376; + DEFAULT = 377; + DEFAULTS = 378; + DEFERRABLE = 379; + DEFERRED = 380; + DEFINER = 381; + DELETE_P = 382; + DELIMITER = 383; + DELIMITERS = 384; + DEPENDS = 385; + DEPTH = 386; + DESC = 387; + DETACH = 388; + DICTIONARY = 389; + DISABLE_P = 390; + DISCARD = 391; + DISTINCT = 392; + DO = 393; + DOCUMENT_P = 394; + DOMAIN_P = 395; + DOUBLE_P = 396; + DROP = 397; + EACH = 398; + ELSE = 399; + EMPTY_P = 400; + ENABLE_P = 401; + ENCODING = 402; + ENCRYPTED = 403; + END_P = 404; + ENUM_P = 405; + ERROR_P = 406; + ESCAPE = 407; + EVENT = 408; + EXCEPT = 409; + EXCLUDE = 410; + EXCLUDING = 411; + EXCLUSIVE = 412; + EXECUTE = 413; + EXISTS = 414; + EXPLAIN = 415; + EXPRESSION = 416; + EXTENSION = 417; + EXTERNAL = 418; + EXTRACT = 419; + FALSE_P = 420; + FAMILY = 421; + FETCH = 422; + FILTER = 423; + FINALIZE = 424; + FIRST_P = 425; + FLOAT_P = 426; + FOLLOWING = 427; + FOR = 428; + FORCE = 429; + FOREIGN = 430; + FORMAT = 431; + FORWARD = 432; + FREEZE = 433; + FROM = 434; + FULL = 435; + FUNCTION = 436; + FUNCTIONS = 437; + GENERATED = 438; + GLOBAL = 439; + GRANT = 440; + GRANTED = 441; + GREATEST = 442; + GROUP_P = 443; + GROUPING = 444; + GROUPS = 445; + HANDLER = 446; + HAVING = 447; + HEADER_P = 448; + HOLD = 449; + HOUR_P = 450; + IDENTITY_P = 451; + IF_P = 452; + ILIKE = 453; + IMMEDIATE = 454; + IMMUTABLE = 455; + IMPLICIT_P = 456; + IMPORT_P = 457; + IN_P = 458; + INCLUDE = 459; + INCLUDING = 460; + INCREMENT = 461; + INDENT = 462; + INDEX = 463; + INDEXES = 464; + INHERIT = 465; + INHERITS = 466; + INITIALLY = 467; + INLINE_P = 468; + INNER_P = 469; + INOUT = 470; + INPUT_P = 471; + INSENSITIVE = 472; + INSERT = 473; + INSTEAD = 474; + INT_P = 475; + INTEGER = 476; + INTERSECT = 477; + INTERVAL = 478; + INTO = 479; + INVOKER = 480; + IS = 481; + ISNULL = 482; + ISOLATION = 483; + JOIN = 484; + JSON = 485; + JSON_ARRAY = 486; + JSON_ARRAYAGG = 487; + JSON_EXISTS = 488; + JSON_OBJECT = 489; + JSON_OBJECTAGG = 490; + JSON_QUERY = 491; + JSON_SCALAR = 492; + JSON_SERIALIZE = 493; + JSON_TABLE = 494; + JSON_VALUE = 495; + KEEP = 496; + KEY = 497; + KEYS = 498; + LABEL = 499; + LANGUAGE = 500; + LARGE_P = 501; + LAST_P = 502; + LATERAL_P = 503; + LEADING = 504; + LEAKPROOF = 505; + LEAST = 506; + LEFT = 507; + LEVEL = 508; + LIKE = 509; + LIMIT = 510; + LISTEN = 511; + LOAD = 512; + LOCAL = 513; + LOCALTIME = 514; + LOCALTIMESTAMP = 515; + LOCATION = 516; + LOCK_P = 517; + LOCKED = 518; + LOGGED = 519; + MAPPING = 520; + MATCH = 521; + MATCHED = 522; + MATERIALIZED = 523; + MAXVALUE = 524; + MERGE = 525; + MERGE_ACTION = 526; + METHOD = 527; + MINUTE_P = 528; + MINVALUE = 529; + MODE = 530; + MONTH_P = 531; + MOVE = 532; + NAME_P = 533; + NAMES = 534; + NATIONAL = 535; + NATURAL = 536; + NCHAR = 537; + NESTED = 538; + NEW = 539; + NEXT = 540; + NFC = 541; + NFD = 542; + NFKC = 543; + NFKD = 544; + NO = 545; + NONE = 546; + NORMALIZE = 547; + NORMALIZED = 548; + NOT = 549; + NOTHING = 550; + NOTIFY = 551; + NOTNULL = 552; + NOWAIT = 553; + NULL_P = 554; + NULLIF = 555; + NULLS_P = 556; + NUMERIC = 557; + OBJECT_P = 558; + OF = 559; + OFF = 560; + OFFSET = 561; + OIDS = 562; + OLD = 563; + OMIT = 564; + ON = 565; + ONLY = 566; + OPERATOR = 567; + OPTION = 568; + OPTIONS = 569; + OR = 570; + ORDER = 571; + ORDINALITY = 572; + OTHERS = 573; + OUT_P = 574; + OUTER_P = 575; + OVER = 576; + OVERLAPS = 577; + OVERLAY = 578; + OVERRIDING = 579; + OWNED = 580; + OWNER = 581; + PARALLEL = 582; + PARAMETER = 583; + PARSER = 584; + PARTIAL = 585; + PARTITION = 586; + PASSING = 587; + PASSWORD = 588; + PATH = 589; + PLACING = 590; + PLAN = 591; + PLANS = 592; + POLICY = 593; + POSITION = 594; + PRECEDING = 595; + PRECISION = 596; + PRESERVE = 597; + PREPARE = 598; + PREPARED = 599; + PRIMARY = 600; + PRIOR = 601; + PRIVILEGES = 602; + PROCEDURAL = 603; + PROCEDURE = 604; + PROCEDURES = 605; + PROGRAM = 606; + PUBLICATION = 607; + QUOTE = 608; + QUOTES = 609; + RANGE = 610; + READ = 611; + REAL = 612; + REASSIGN = 613; + RECHECK = 614; + RECURSIVE = 615; + REF_P = 616; + REFERENCES = 617; + REFERENCING = 618; + REFRESH = 619; + REINDEX = 620; + RELATIVE_P = 621; + RELEASE = 622; + RENAME = 623; + REPEATABLE = 624; + REPLACE = 625; + REPLICA = 626; + RESET = 627; + RESTART = 628; + RESTRICT = 629; + RETURN = 630; + RETURNING = 631; + RETURNS = 632; + REVOKE = 633; + RIGHT = 634; + ROLE = 635; + ROLLBACK = 636; + ROLLUP = 637; + ROUTINE = 638; + ROUTINES = 639; + ROW = 640; + ROWS = 641; + RULE = 642; + SAVEPOINT = 643; + SCALAR = 644; + SCHEMA = 645; + SCHEMAS = 646; + SCROLL = 647; + SEARCH = 648; + SECOND_P = 649; + SECURITY = 650; + SELECT = 651; + SEQUENCE = 652; + SEQUENCES = 653; + SERIALIZABLE = 654; + SERVER = 655; + SESSION = 656; + SESSION_USER = 657; + SET = 658; + SETS = 659; + SETOF = 660; + SHARE = 661; + SHOW = 662; + SIMILAR = 663; + SIMPLE = 664; + SKIP = 665; + SMALLINT = 666; + SNAPSHOT = 667; + SOME = 668; + SOURCE = 669; + SQL_P = 670; + STABLE = 671; + STANDALONE_P = 672; + START = 673; + STATEMENT = 674; + STATISTICS = 675; + STDIN = 676; + STDOUT = 677; + STORAGE = 678; + STORED = 679; + STRICT_P = 680; + STRING_P = 681; + STRIP_P = 682; + SUBSCRIPTION = 683; + SUBSTRING = 684; + SUPPORT = 685; + SYMMETRIC = 686; + SYSID = 687; + SYSTEM_P = 688; + SYSTEM_USER = 689; + TABLE = 690; + TABLES = 691; + TABLESAMPLE = 692; + TABLESPACE = 693; + TARGET = 694; + TEMP = 695; + TEMPLATE = 696; + TEMPORARY = 697; + TEXT_P = 698; + THEN = 699; + TIES = 700; + TIME = 701; + TIMESTAMP = 702; + TO = 703; + TRAILING = 704; + TRANSACTION = 705; + TRANSFORM = 706; + TREAT = 707; + TRIGGER = 708; + TRIM = 709; + TRUE_P = 710; + TRUNCATE = 711; + TRUSTED = 712; + TYPE_P = 713; + TYPES_P = 714; + UESCAPE = 715; + UNBOUNDED = 716; + UNCONDITIONAL = 717; + UNCOMMITTED = 718; + UNENCRYPTED = 719; + UNION = 720; + UNIQUE = 721; + UNKNOWN = 722; + UNLISTEN = 723; + UNLOGGED = 724; + UNTIL = 725; + UPDATE = 726; + USER = 727; + USING = 728; + VACUUM = 729; + VALID = 730; + VALIDATE = 731; + VALIDATOR = 732; + VALUE_P = 733; + VALUES = 734; + VARCHAR = 735; + VARIADIC = 736; + VARYING = 737; + VERBOSE = 738; + VERSION_P = 739; + VIEW = 740; + VIEWS = 741; + VOLATILE = 742; + WHEN = 743; + WHERE = 744; + WHITESPACE_P = 745; + WINDOW = 746; + WITH = 747; + WITHIN = 748; + WITHOUT = 749; + WORK = 750; + WRAPPER = 751; + WRITE = 752; + XML_P = 753; + XMLATTRIBUTES = 754; + XMLCONCAT = 755; + XMLELEMENT = 756; + XMLEXISTS = 757; + XMLFOREST = 758; + XMLNAMESPACES = 759; + XMLPARSE = 760; + XMLPI = 761; + XMLROOT = 762; + XMLSERIALIZE = 763; + XMLTABLE = 764; + YEAR_P = 765; + YES_P = 766; + ZONE = 767; + FORMAT_LA = 768; + NOT_LA = 769; + NULLS_LA = 770; + WITH_LA = 771; + WITHOUT_LA = 772; + MODE_TYPE_NAME = 773; + MODE_PLPGSQL_EXPR = 774; + MODE_PLPGSQL_ASSIGN1 = 775; + MODE_PLPGSQL_ASSIGN2 = 776; + MODE_PLPGSQL_ASSIGN3 = 777; + UMINUS = 778; +} diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..d02a1eb --- /dev/null +++ b/package-lock.json @@ -0,0 +1,16618 @@ +{ + "name": "pg-proto-parser", + "version": "0.0.1", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "pg-proto-parser", + "version": "0.0.1", + "workspaces": [ + "packages/*" + ], + "dependencies": { + "@jest/transform": "29.5.0" + }, + "devDependencies": { + "eslint": "8.38.0", + "eslint-config-prettier": "^8.8.0", + "eslint-plugin-prettier": "^4.0.0", + "esprima": "4.0.1", + "jest": "29.5.0", + "lerna": "7.0.2", + "prettier": "2.8.7" + } + }, + "node_modules/@aashutoshrathi/word-wrap": { + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", + "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@ampproject/remapping": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz", + "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==", + "license": "Apache-2.0", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.24.2", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.2.tgz", + "integrity": "sha512-y5+tLQyV8pg3fsiln67BVLD1P13Eg4lh5RW9mF0zUuvLrv9uIQ4MCL+CRT+FTsBlBjcIan6PGsLcBN0m3ClUyQ==", + "license": "MIT", + "dependencies": { + "@babel/highlight": "^7.24.2", + "picocolors": "^1.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.24.1", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.1.tgz", + "integrity": "sha512-Pc65opHDliVpRHuKfzI+gSA4zcgr65O4cl64fFJIWEEh8JoHIHh0Oez1Eo8Arz8zq/JhgKodQaxEwUPRtZylVA==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.24.3", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.24.3.tgz", + "integrity": "sha512-5FcvN1JHw2sHJChotgx8Ek0lyuh4kCKelgMTTqhYJJtloNvUfpAFMeNQUtdlIaktwrSV9LtCdqwk48wL2wBacQ==", + "license": "MIT", + "dependencies": { + "@ampproject/remapping": "^2.2.0", + "@babel/code-frame": "^7.24.2", + "@babel/generator": "^7.24.1", + "@babel/helper-compilation-targets": "^7.23.6", + "@babel/helper-module-transforms": "^7.23.3", + "@babel/helpers": "^7.24.1", + "@babel/parser": "^7.24.1", + "@babel/template": "^7.24.0", + "@babel/traverse": "^7.24.1", + "@babel/types": "^7.24.0", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/generator": { + "version": "7.24.1", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.24.1.tgz", + "integrity": "sha512-DfCRfZsBcrPEHUfuBMgbJ1Ut01Y/itOs+hY2nFLgqsqXd52/iSiVq5TITtUasIUgm+IIKdY2/1I7auiQOEeC9A==", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.24.0", + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.25", + "jsesc": "^2.5.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.23.6", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz", + "integrity": "sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ==", + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.23.5", + "@babel/helper-validator-option": "^7.23.5", + "browserslist": "^4.22.2", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-environment-visitor": { + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz", + "integrity": "sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-function-name": { + "version": "7.23.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz", + "integrity": "sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==", + "license": "MIT", + "dependencies": { + "@babel/template": "^7.22.15", + "@babel/types": "^7.23.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-hoist-variables": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz", + "integrity": "sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.24.3", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.3.tgz", + "integrity": "sha512-viKb0F9f2s0BCS22QSF308z/+1YWKV/76mwt61NBzS5izMzDPwdq1pTrzf+Li3npBWX9KdQbkeCt1jSAM7lZqg==", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.24.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.23.3", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz", + "integrity": "sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==", + "license": "MIT", + "dependencies": { + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-module-imports": "^7.22.15", + "@babel/helper-simple-access": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/helper-validator-identifier": "^7.22.20" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-plugin-utils": { + "version": "7.24.0", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.0.tgz", + "integrity": "sha512-9cUznXMG0+FxRuJfvL82QlTqIzhVW9sL0KjMPHhAOOvpQGL8QtdxnBKILjBqxlHyliz0yCa1G903ZXI/FuHy2w==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-simple-access": { + "version": "7.22.5", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz", + "integrity": "sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-split-export-declaration": { + "version": "7.22.6", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz", + "integrity": "sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==", + "license": "MIT", + "dependencies": { + "@babel/types": "^7.22.5" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "7.24.1", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.1.tgz", + "integrity": "sha512-2ofRCjnnA9y+wk8b9IAREroeUP02KHp431N2mhKniy2yKIDKpbrHv9eXwm8cBeWQYcJmzv5qKCu65P47eCF7CQ==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.22.20", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz", + "integrity": "sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.23.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz", + "integrity": "sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.24.1", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.1.tgz", + "integrity": "sha512-BpU09QqEe6ZCHuIHFphEFgvNSrubve1FtyMton26ekZ85gRGi6LrTF7zArARp2YvyFxloeiRmtSCq5sjh1WqIg==", + "license": "MIT", + "dependencies": { + "@babel/template": "^7.24.0", + "@babel/traverse": "^7.24.1", + "@babel/types": "^7.24.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/highlight": { + "version": "7.24.2", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.2.tgz", + "integrity": "sha512-Yac1ao4flkTxTteCDZLEvdxg2fZfz1v8M4QpaGypq/WPDqg3ijHYbDfs+LG5hvzSoqaSZ9/Z9lKSP3CjZjv+pA==", + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^7.22.20", + "chalk": "^2.4.2", + "js-tokens": "^4.0.0", + "picocolors": "^1.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.24.1", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.24.1.tgz", + "integrity": "sha512-Zo9c7N3xdOIQrNip7Lc9wvRPzlRtovHVE4lkz8WEDr7uYh/GMQhSiIgFxGIArRHYdJE5kxtZjAf8rT0xhdLCzg==", + "license": "MIT", + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/plugin-syntax-async-generators": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", + "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-bigint": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz", + "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-class-properties": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", + "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.12.13" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-import-meta": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", + "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-json-strings": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", + "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-jsx": { + "version": "7.24.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.24.1.tgz", + "integrity": "sha512-2eCtxZXf+kbkMIsXS4poTvT4Yu5rXiRa+9xGVT56raghjmBTKMpFNc9R4IDiB4emao9eO22Ox7CxuJG7BgExqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.24.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-logical-assignment-operators": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", + "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", + "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-numeric-separator": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", + "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-object-rest-spread": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", + "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-optional-catch-binding": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", + "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-optional-chaining": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", + "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-top-level-await": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", + "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-typescript": { + "version": "7.24.1", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.24.1.tgz", + "integrity": "sha512-Yhnmvy5HZEnHUty6i++gcfH1/l68AHnItFHnaCv6hn9dNh0hQvvQJsxpi4BMBFN5DLeHBuucT/0DgzXif/OyRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.24.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/template": { + "version": "7.24.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.24.0.tgz", + "integrity": "sha512-Bkf2q8lMB0AFpX0NFEqSbx1OkTHf0f+0j82mkw+ZpzBnkk7e9Ql0891vlfgi+kHwOk8tQjiQHpqh4LaSa0fKEA==", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.23.5", + "@babel/parser": "^7.24.0", + "@babel/types": "^7.24.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.24.1", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.1.tgz", + "integrity": "sha512-xuU6o9m68KeqZbQuDt2TcKSxUw/mrsvavlEqQ1leZ/B+C9tk6E4sRWy97WaXgvq5E+nU3cXMxv3WKOCanVMCmQ==", + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.24.1", + "@babel/generator": "^7.24.1", + "@babel/helper-environment-visitor": "^7.22.20", + "@babel/helper-function-name": "^7.23.0", + "@babel/helper-hoist-variables": "^7.22.5", + "@babel/helper-split-export-declaration": "^7.22.6", + "@babel/parser": "^7.24.1", + "@babel/types": "^7.24.0", + "debug": "^4.3.1", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/types": { + "version": "7.24.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.24.0.tgz", + "integrity": "sha512-+j7a5c253RfKh8iABBhywc8NSfP5LURe7Uh4qpsh6jc+aLJguvmIUBdjSdEMQv2bENrCR5MfRdjGo7vzS/ob7w==", + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.23.4", + "@babel/helper-validator-identifier": "^7.22.20", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@bcoe/v8-coverage": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", + "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@cspotcode/source-map-support": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", + "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/trace-mapping": "0.3.9" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", + "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", + "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "dev": true, + "license": "MIT", + "dependencies": { + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.10.0", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.0.tgz", + "integrity": "sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz", + "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.6.0", + "globals": "^13.19.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint/eslintrc/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, + "license": "Python-2.0" + }, + "node_modules/@eslint/eslintrc/node_modules/globals": { + "version": "13.24.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", + "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@eslint/eslintrc/node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/@eslint/eslintrc/node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@eslint/js": { + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.38.0.tgz", + "integrity": "sha512-IoD2MfUnOV58ghIHCiil01PcohxjbYR/qCxsoC+xNgUwh1EY8jOOrYmu3d3a71+tJJ23uscEV4X2HJWMsPJu4g==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/@gar/promisify": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", + "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@humanwhocodes/config-array": { + "version": "0.11.14", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz", + "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==", + "deprecated": "Use @eslint/config-array instead", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@humanwhocodes/object-schema": "^2.0.2", + "debug": "^4.3.1", + "minimatch": "^3.0.5" + }, + "engines": { + "node": ">=10.10.0" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/object-schema": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz", + "integrity": "sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==", + "deprecated": "Use @eslint/object-schema instead", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/@hutson/parse-repository-url": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz", + "integrity": "sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", + "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-styles": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", + "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@isaacs/cliui/node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@isaacs/cliui/node_modules/strip-ansi": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", + "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/@istanbuljs/load-nyc-config": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", + "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", + "license": "ISC", + "dependencies": { + "camelcase": "^5.3.1", + "find-up": "^4.1.0", + "get-package-type": "^0.1.0", + "js-yaml": "^3.13.1", + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/schema": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", + "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/@jest/console": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-29.7.0.tgz", + "integrity": "sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.3", + "@types/node": "*", + "chalk": "^4.0.0", + "jest-message-util": "^29.7.0", + "jest-util": "^29.7.0", + "slash": "^3.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/console/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@jest/console/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/@jest/console/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/@jest/console/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@jest/console/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/@jest/console/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@jest/core": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/core/-/core-29.7.0.tgz", + "integrity": "sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/console": "^29.7.0", + "@jest/reporters": "^29.7.0", + "@jest/test-result": "^29.7.0", + "@jest/transform": "^29.7.0", + "@jest/types": "^29.6.3", + "@types/node": "*", + "ansi-escapes": "^4.2.1", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "exit": "^0.1.2", + "graceful-fs": "^4.2.9", + "jest-changed-files": "^29.7.0", + "jest-config": "^29.7.0", + "jest-haste-map": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-regex-util": "^29.6.3", + "jest-resolve": "^29.7.0", + "jest-resolve-dependencies": "^29.7.0", + "jest-runner": "^29.7.0", + "jest-runtime": "^29.7.0", + "jest-snapshot": "^29.7.0", + "jest-util": "^29.7.0", + "jest-validate": "^29.7.0", + "jest-watcher": "^29.7.0", + "micromatch": "^4.0.4", + "pretty-format": "^29.7.0", + "slash": "^3.0.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "node_modules/@jest/core/node_modules/@jest/transform": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.7.0.tgz", + "integrity": "sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.11.6", + "@jest/types": "^29.6.3", + "@jridgewell/trace-mapping": "^0.3.18", + "babel-plugin-istanbul": "^6.1.1", + "chalk": "^4.0.0", + "convert-source-map": "^2.0.0", + "fast-json-stable-stringify": "^2.1.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.7.0", + "jest-regex-util": "^29.6.3", + "jest-util": "^29.7.0", + "micromatch": "^4.0.4", + "pirates": "^4.0.4", + "slash": "^3.0.0", + "write-file-atomic": "^4.0.2" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/core/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@jest/core/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/@jest/core/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/@jest/core/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@jest/core/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/@jest/core/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@jest/environment": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-29.7.0.tgz", + "integrity": "sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/fake-timers": "^29.7.0", + "@jest/types": "^29.6.3", + "@types/node": "*", + "jest-mock": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/expect": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-29.7.0.tgz", + "integrity": "sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "expect": "^29.7.0", + "jest-snapshot": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/expect-utils": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.7.0.tgz", + "integrity": "sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==", + "dev": true, + "license": "MIT", + "dependencies": { + "jest-get-type": "^29.6.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/fake-timers": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.7.0.tgz", + "integrity": "sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.3", + "@sinonjs/fake-timers": "^10.0.2", + "@types/node": "*", + "jest-message-util": "^29.7.0", + "jest-mock": "^29.7.0", + "jest-util": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/globals": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-29.7.0.tgz", + "integrity": "sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/environment": "^29.7.0", + "@jest/expect": "^29.7.0", + "@jest/types": "^29.6.3", + "jest-mock": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/reporters": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-29.7.0.tgz", + "integrity": "sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@bcoe/v8-coverage": "^0.2.3", + "@jest/console": "^29.7.0", + "@jest/test-result": "^29.7.0", + "@jest/transform": "^29.7.0", + "@jest/types": "^29.6.3", + "@jridgewell/trace-mapping": "^0.3.18", + "@types/node": "*", + "chalk": "^4.0.0", + "collect-v8-coverage": "^1.0.0", + "exit": "^0.1.2", + "glob": "^7.1.3", + "graceful-fs": "^4.2.9", + "istanbul-lib-coverage": "^3.0.0", + "istanbul-lib-instrument": "^6.0.0", + "istanbul-lib-report": "^3.0.0", + "istanbul-lib-source-maps": "^4.0.0", + "istanbul-reports": "^3.1.3", + "jest-message-util": "^29.7.0", + "jest-util": "^29.7.0", + "jest-worker": "^29.7.0", + "slash": "^3.0.0", + "string-length": "^4.0.1", + "strip-ansi": "^6.0.0", + "v8-to-istanbul": "^9.0.1" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "node_modules/@jest/reporters/node_modules/@jest/transform": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.7.0.tgz", + "integrity": "sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.11.6", + "@jest/types": "^29.6.3", + "@jridgewell/trace-mapping": "^0.3.18", + "babel-plugin-istanbul": "^6.1.1", + "chalk": "^4.0.0", + "convert-source-map": "^2.0.0", + "fast-json-stable-stringify": "^2.1.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.7.0", + "jest-regex-util": "^29.6.3", + "jest-util": "^29.7.0", + "micromatch": "^4.0.4", + "pirates": "^4.0.4", + "slash": "^3.0.0", + "write-file-atomic": "^4.0.2" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/reporters/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@jest/reporters/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/@jest/reporters/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/@jest/reporters/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@jest/reporters/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@jest/reporters/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/@jest/reporters/node_modules/istanbul-lib-instrument": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.2.tgz", + "integrity": "sha512-1WUsZ9R1lA0HtBSohTkm39WTPlNKSJ5iFk7UwqXkBLoHQT+hfqPsfsTDVuZdKGaBwn7din9bS7SsnoAr943hvw==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@babel/core": "^7.23.9", + "@babel/parser": "^7.23.9", + "@istanbuljs/schema": "^0.1.3", + "istanbul-lib-coverage": "^3.2.0", + "semver": "^7.5.4" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@jest/reporters/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@jest/reporters/node_modules/semver": { + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@jest/reporters/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@jest/reporters/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true, + "license": "ISC" + }, + "node_modules/@jest/schemas": { + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz", + "integrity": "sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==", + "license": "MIT", + "dependencies": { + "@sinclair/typebox": "^0.27.8" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/source-map": { + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-29.6.3.tgz", + "integrity": "sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.18", + "callsites": "^3.0.0", + "graceful-fs": "^4.2.9" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/test-result": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-29.7.0.tgz", + "integrity": "sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/console": "^29.7.0", + "@jest/types": "^29.6.3", + "@types/istanbul-lib-coverage": "^2.0.0", + "collect-v8-coverage": "^1.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/test-sequencer": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-29.7.0.tgz", + "integrity": "sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/test-result": "^29.7.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.7.0", + "slash": "^3.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/transform": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.5.0.tgz", + "integrity": "sha512-8vbeZWqLJOvHaDfeMuoHITGKSz5qWc9u04lnWrQE3VyuSw604PzQM824ZeX9XSjUCeDiE3GuxZe5UKa8J61NQw==", + "license": "MIT", + "dependencies": { + "@babel/core": "^7.11.6", + "@jest/types": "^29.5.0", + "@jridgewell/trace-mapping": "^0.3.15", + "babel-plugin-istanbul": "^6.1.1", + "chalk": "^4.0.0", + "convert-source-map": "^2.0.0", + "fast-json-stable-stringify": "^2.1.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.5.0", + "jest-regex-util": "^29.4.3", + "jest-util": "^29.5.0", + "micromatch": "^4.0.4", + "pirates": "^4.0.4", + "slash": "^3.0.0", + "write-file-atomic": "^4.0.2" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/transform/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@jest/transform/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/@jest/transform/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/@jest/transform/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "license": "MIT" + }, + "node_modules/@jest/transform/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/@jest/transform/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@jest/types": { + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.6.3.tgz", + "integrity": "sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==", + "license": "MIT", + "dependencies": { + "@jest/schemas": "^29.6.3", + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^3.0.0", + "@types/node": "*", + "@types/yargs": "^17.0.8", + "chalk": "^4.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/@jest/types/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@jest/types/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/@jest/types/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/@jest/types/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "license": "MIT" + }, + "node_modules/@jest/types/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/@jest/types/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", + "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", + "license": "MIT", + "dependencies": { + "@jridgewell/set-array": "^1.2.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.24" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/set-array": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", + "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.15", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz", + "integrity": "sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==", + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.25", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", + "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@jsdoc/salty": { + "version": "0.2.9", + "resolved": "https://registry.npmjs.org/@jsdoc/salty/-/salty-0.2.9.tgz", + "integrity": "sha512-yYxMVH7Dqw6nO0d5NIV8OQWnitU8k6vXH8NtgqAfIa/IUqRMxRv/NUJJ08VEKbAakwxlgBl5PJdrU0dMPStsnw==", + "license": "Apache-2.0", + "dependencies": { + "lodash": "^4.17.21" + }, + "engines": { + "node": ">=v12.0.0" + } + }, + "node_modules/@launchql/proto-cli": { + "resolved": "packages/cli", + "link": true + }, + "node_modules/@launchql/protobufjs": { + "version": "7.2.6", + "resolved": "https://registry.npmjs.org/@launchql/protobufjs/-/protobufjs-7.2.6.tgz", + "integrity": "sha512-vwi1nG2/heVFsIMHQU1KxTjUp5c757CTtRAZn/jutApCkFlle1iv8tzM/DHlSZJKDldxaYqnNYTg0pTyp8Bbtg==", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.4", + "@protobufjs/eventemitter": "^1.1.0", + "@protobufjs/fetch": "^1.1.0", + "@protobufjs/float": "^1.0.2", + "@protobufjs/inquire": "^1.1.0", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.0", + "@types/node": ">=13.7.0", + "long": "^5.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/@launchql/protobufjs-cli": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/@launchql/protobufjs-cli/-/protobufjs-cli-1.1.5.tgz", + "integrity": "sha512-k9Zr2Ny0CKlBGV5w+1ZBgsN2sQMKdbCwYSM1Ogo/het+S3YgYFbddyIz8us/z/2EDuuexGNCVaXsU8+wRTCDng==", + "license": "BSD-3-Clause", + "dependencies": { + "chalk": "^4.0.0", + "escodegen": "^1.13.0", + "espree": "^9.0.0", + "estraverse": "^5.1.0", + "glob": "^8.0.0", + "jsdoc": "^4.0.0", + "minimist": "^1.2.0", + "semver": "^7.1.2", + "tmp": "^0.2.1", + "uglify-js": "^3.7.7" + }, + "bin": { + "pbjs": "bin/pbjs", + "pbts": "bin/pbts" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "@launchql/protobufjs": "^7.0.0" + } + }, + "node_modules/@launchql/protobufjs-cli/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@launchql/protobufjs-cli/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/@launchql/protobufjs-cli/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/@launchql/protobufjs-cli/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "license": "MIT" + }, + "node_modules/@launchql/protobufjs-cli/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/@launchql/protobufjs-cli/node_modules/semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@launchql/protobufjs-cli/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@lerna/child-process": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@lerna/child-process/-/child-process-7.0.2.tgz", + "integrity": "sha512-15lMrNBL/pvREMJPSfIPieaBtyyapDco/TNjALLEL53JGzO9g8rj5PipfE9h5ILx8aq/GaP17XCh209aVCun/w==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.1.0", + "execa": "^5.0.0", + "strong-log-transformer": "^2.1.0" + }, + "engines": { + "node": "^14.17.0 || >=16.0.0" + } + }, + "node_modules/@lerna/child-process/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@lerna/child-process/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/@lerna/child-process/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/@lerna/child-process/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@lerna/child-process/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/@lerna/child-process/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@lerna/create": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@lerna/create/-/create-7.0.2.tgz", + "integrity": "sha512-1arGpEpWbWmci1MyaGKvP2SqCAPFWpLqZp0swckianX1kx1mso9B16BWFvcHhU57zCD0Co/z+jX+02UEzZGP7Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@lerna/child-process": "7.0.2", + "dedent": "0.7.0", + "fs-extra": "^11.1.1", + "init-package-json": "5.0.0", + "npm-package-arg": "8.1.1", + "p-reduce": "^2.1.0", + "pacote": "^15.2.0", + "pify": "5.0.0", + "semver": "^7.3.4", + "slash": "^3.0.0", + "validate-npm-package-license": "^3.0.4", + "validate-npm-package-name": "5.0.0", + "yargs-parser": "20.2.4" + }, + "engines": { + "node": "^14.17.0 || >=16.0.0" + } + }, + "node_modules/@lerna/create/node_modules/dedent": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", + "integrity": "sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@lerna/create/node_modules/semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@npmcli/fs": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-2.1.2.tgz", + "integrity": "sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "@gar/promisify": "^1.1.3", + "semver": "^7.3.5" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/@npmcli/fs/node_modules/semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@npmcli/git": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-4.1.0.tgz", + "integrity": "sha512-9hwoB3gStVfa0N31ymBmrX+GuDGdVA/QWShZVqE0HK2Af+7QGGrCTbZia/SW0ImUTjTne7SP91qxDmtXvDHRPQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/promise-spawn": "^6.0.0", + "lru-cache": "^7.4.4", + "npm-pick-manifest": "^8.0.0", + "proc-log": "^3.0.0", + "promise-inflight": "^1.0.1", + "promise-retry": "^2.0.1", + "semver": "^7.3.5", + "which": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/git/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/@npmcli/git/node_modules/semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@npmcli/git/node_modules/which": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/which/-/which-3.0.1.tgz", + "integrity": "sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/which.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/installed-package-contents": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-2.1.0.tgz", + "integrity": "sha512-c8UuGLeZpm69BryRykLuKRyKFZYJsZSCT4aVY5ds4omyZqJ172ApzgfKJ5eV/r3HgLdUYgFVe54KSFVjKoe27w==", + "dev": true, + "license": "ISC", + "dependencies": { + "npm-bundled": "^3.0.0", + "npm-normalize-package-bin": "^3.0.0" + }, + "bin": { + "installed-package-contents": "bin/index.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/installed-package-contents/node_modules/npm-bundled": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-3.0.1.tgz", + "integrity": "sha512-+AvaheE/ww1JEwRHOrn4WHNzOxGtVp+adrg2AeZS/7KuxGUYFuBta98wYpfHBbJp6Tg6j1NKSEVHNcfZzJHQwQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "npm-normalize-package-bin": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/installed-package-contents/node_modules/npm-normalize-package-bin": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-3.0.1.tgz", + "integrity": "sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/move-file": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-2.0.1.tgz", + "integrity": "sha512-mJd2Z5TjYWq/ttPLLGqArdtnC74J6bOzg4rMDnN+p1xTacZ2yPRCk2y0oSWQtygLR9YVQXgOcONrwtnk3JupxQ==", + "deprecated": "This functionality has been moved to @npmcli/fs", + "dev": true, + "license": "MIT", + "dependencies": { + "mkdirp": "^1.0.4", + "rimraf": "^3.0.2" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/@npmcli/move-file/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@npmcli/move-file/node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true, + "license": "MIT", + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@npmcli/move-file/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@npmcli/node-gyp": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-3.0.0.tgz", + "integrity": "sha512-gp8pRXC2oOxu0DUE1/M3bYtb1b3/DbJ5aM113+XJBgfXdussRAsX0YOrOhdd8WvnAR6auDBvJomGAkLKA5ydxA==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/promise-spawn": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-6.0.2.tgz", + "integrity": "sha512-gGq0NJkIGSwdbUt4yhdF8ZrmkGKVz9vAdVzpOfnom+V8PLSmSOVhZwbNvZZS1EYcJN5hzzKBxmmVVAInM6HQLg==", + "dev": true, + "license": "ISC", + "dependencies": { + "which": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/promise-spawn/node_modules/which": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/which/-/which-3.0.1.tgz", + "integrity": "sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/which.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/run-script": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-6.0.2.tgz", + "integrity": "sha512-NCcr1uQo1k5U+SYlnIrbAh3cxy+OQT1VtqiAbxdymSlptbzBb62AjH2xXgjNCoP073hoa1CfCAcwoZ8k96C4nA==", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/node-gyp": "^3.0.0", + "@npmcli/promise-spawn": "^6.0.0", + "node-gyp": "^9.0.0", + "read-package-json-fast": "^3.0.0", + "which": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@npmcli/run-script/node_modules/which": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/which/-/which-3.0.1.tgz", + "integrity": "sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/which.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@nrwl/devkit": { + "version": "16.10.0", + "resolved": "https://registry.npmjs.org/@nrwl/devkit/-/devkit-16.10.0.tgz", + "integrity": "sha512-fRloARtsDQoQgQ7HKEy0RJiusg/HSygnmg4gX/0n/Z+SUS+4KoZzvHjXc6T5ZdEiSjvLypJ+HBM8dQzIcVACPQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nx/devkit": "16.10.0" + } + }, + "node_modules/@nrwl/tao": { + "version": "16.10.0", + "resolved": "https://registry.npmjs.org/@nrwl/tao/-/tao-16.10.0.tgz", + "integrity": "sha512-QNAanpINbr+Pod6e1xNgFbzK1x5wmZl+jMocgiEFXZ67KHvmbD6MAQQr0MMz+GPhIu7EE4QCTLTyCEMlAG+K5Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "nx": "16.10.0", + "tslib": "^2.3.0" + }, + "bin": { + "tao": "index.js" + } + }, + "node_modules/@nx/devkit": { + "version": "16.10.0", + "resolved": "https://registry.npmjs.org/@nx/devkit/-/devkit-16.10.0.tgz", + "integrity": "sha512-IvKQqRJFDDiaj33SPfGd3ckNHhHi6ceEoqCbAP4UuMXOPPVOX6H0KVk+9tknkPb48B7jWIw6/AgOeWkBxPRO5w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nrwl/devkit": "16.10.0", + "ejs": "^3.1.7", + "enquirer": "~2.3.6", + "ignore": "^5.0.4", + "semver": "7.5.3", + "tmp": "~0.2.1", + "tslib": "^2.3.0" + }, + "peerDependencies": { + "nx": ">= 15 <= 17" + } + }, + "node_modules/@nx/devkit/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@nx/devkit/node_modules/semver": { + "version": "7.5.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", + "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@nx/devkit/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true, + "license": "ISC" + }, + "node_modules/@nx/nx-darwin-arm64": { + "version": "16.10.0", + "resolved": "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-16.10.0.tgz", + "integrity": "sha512-YF+MIpeuwFkyvM5OwgY/rTNRpgVAI/YiR0yTYCZR+X3AAvP775IVlusNgQ3oedTBRUzyRnI4Tknj1WniENFsvQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nx/nx-darwin-x64": { + "version": "16.10.0", + "resolved": "https://registry.npmjs.org/@nx/nx-darwin-x64/-/nx-darwin-x64-16.10.0.tgz", + "integrity": "sha512-ypi6YxwXgb0kg2ixKXE3pwf5myVNUgWf1CsV5OzVccCM8NzheMO51KDXTDmEpXdzUsfT0AkO1sk5GZeCjhVONg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nx/nx-freebsd-x64": { + "version": "16.10.0", + "resolved": "https://registry.npmjs.org/@nx/nx-freebsd-x64/-/nx-freebsd-x64-16.10.0.tgz", + "integrity": "sha512-UeEYFDmdbbDkTQamqvtU8ibgu5jQLgFF1ruNb/U4Ywvwutw2d4ruOMl2e0u9hiNja9NFFAnDbvzrDcMo7jYqYw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nx/nx-linux-arm-gnueabihf": { + "version": "16.10.0", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-16.10.0.tgz", + "integrity": "sha512-WV3XUC2DB6/+bz1sx+d1Ai9q2Cdr+kTZRN50SOkfmZUQyEBaF6DRYpx/a4ahhxH3ktpNfyY8Maa9OEYxGCBkQA==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nx/nx-linux-arm64-gnu": { + "version": "16.10.0", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-16.10.0.tgz", + "integrity": "sha512-aWIkOUw995V3ItfpAi5FuxQ+1e9EWLS1cjWM1jmeuo+5WtaKToJn5itgQOkvSlPz+HSLgM3VfXMvOFALNk125g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nx/nx-linux-arm64-musl": { + "version": "16.10.0", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-16.10.0.tgz", + "integrity": "sha512-uO6Gg+irqpVcCKMcEPIQcTFZ+tDI02AZkqkP7koQAjniLEappd8DnUBSQdcn53T086pHpdc264X/ZEpXFfrKWQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nx/nx-linux-x64-gnu": { + "version": "16.10.0", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-16.10.0.tgz", + "integrity": "sha512-134PW/u/arNFAQKpqMJniC7irbChMPz+W+qtyKPAUXE0XFKPa7c1GtlI/wK2dvP9qJDZ6bKf0KtA0U/m2HMUOA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nx/nx-linux-x64-musl": { + "version": "16.10.0", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-16.10.0.tgz", + "integrity": "sha512-q8sINYLdIJxK/iUx9vRk5jWAWb/2O0PAbOJFwv4qkxBv4rLoN7y+otgCZ5v0xfx/zztFgk/oNY4lg5xYjIso2Q==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nx/nx-win32-arm64-msvc": { + "version": "16.10.0", + "resolved": "https://registry.npmjs.org/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-16.10.0.tgz", + "integrity": "sha512-moJkL9kcqxUdJSRpG7dET3UeLIciwrfP08mzBQ12ewo8K8FzxU8ZUsTIVVdNrwt01CXOdXoweGfdQLjJ4qTURA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@nx/nx-win32-x64-msvc": { + "version": "16.10.0", + "resolved": "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-16.10.0.tgz", + "integrity": "sha512-5iV2NKZnzxJwZZ4DM5JVbRG/nkhAbzEskKaLBB82PmYGKzaDHuMHP1lcPoD/rtYMlowZgNA/RQndfKvPBPwmXA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10" + } + }, + "node_modules/@octokit/auth-token": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-3.0.4.tgz", + "integrity": "sha512-TWFX7cZF2LXoCvdmJWY7XVPi74aSY0+FfBZNSXEXFkMpjcqsQwDSYVv5FhRFaI0V1ECnwbz4j59T/G+rXNWaIQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 14" + } + }, + "node_modules/@octokit/core": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/@octokit/core/-/core-4.2.4.tgz", + "integrity": "sha512-rYKilwgzQ7/imScn3M9/pFfUf4I1AZEH3KhyJmtPdE2zfaXAn2mFfUy4FbKewzc2We5y/LlKLj36fWJLKC2SIQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/auth-token": "^3.0.0", + "@octokit/graphql": "^5.0.0", + "@octokit/request": "^6.0.0", + "@octokit/request-error": "^3.0.0", + "@octokit/types": "^9.0.0", + "before-after-hook": "^2.2.0", + "universal-user-agent": "^6.0.0" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/@octokit/endpoint": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-7.0.6.tgz", + "integrity": "sha512-5L4fseVRUsDFGR00tMWD/Trdeeihn999rTMGRMC1G/Ldi1uWlWJzI98H4Iak5DB/RVvQuyMYKqSK/R6mbSOQyg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/types": "^9.0.0", + "is-plain-object": "^5.0.0", + "universal-user-agent": "^6.0.0" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/@octokit/graphql": { + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-5.0.6.tgz", + "integrity": "sha512-Fxyxdy/JH0MnIB5h+UQ3yCoh1FG4kWXfFKkpWqjZHw/p+Kc8Y44Hu/kCgNBT6nU1shNumEchmW/sUO1JuQnPcw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/request": "^6.0.0", + "@octokit/types": "^9.0.0", + "universal-user-agent": "^6.0.0" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/@octokit/openapi-types": { + "version": "18.1.1", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-18.1.1.tgz", + "integrity": "sha512-VRaeH8nCDtF5aXWnjPuEMIYf1itK/s3JYyJcWFJT8X9pSNnBtriDf7wlEWsGuhPLl4QIH4xM8fqTXDwJ3Mu6sw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@octokit/plugin-enterprise-rest": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-6.0.1.tgz", + "integrity": "sha512-93uGjlhUD+iNg1iWhUENAtJata6w5nE+V4urXOAlIXdco6xNZtUSfYY8dzp3Udy74aqO/B5UZL80x/YMa5PKRw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@octokit/plugin-paginate-rest": { + "version": "6.1.2", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-6.1.2.tgz", + "integrity": "sha512-qhrmtQeHU/IivxucOV1bbI/xZyC/iOBhclokv7Sut5vnejAIAEXVcGQeRpQlU39E0WwK9lNvJHphHri/DB6lbQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/tsconfig": "^1.0.2", + "@octokit/types": "^9.2.3" + }, + "engines": { + "node": ">= 14" + }, + "peerDependencies": { + "@octokit/core": ">=4" + } + }, + "node_modules/@octokit/plugin-request-log": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-1.0.4.tgz", + "integrity": "sha512-mLUsMkgP7K/cnFEw07kWqXGF5LKrOkD+lhCrKvPHXWDywAwuDUeDwWBpc69XK3pNX0uKiVt8g5z96PJ6z9xCFA==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "@octokit/core": ">=3" + } + }, + "node_modules/@octokit/plugin-rest-endpoint-methods": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-7.2.3.tgz", + "integrity": "sha512-I5Gml6kTAkzVlN7KCtjOM+Ruwe/rQppp0QU372K1GP7kNOYEKe8Xn5BW4sE62JAHdwpq95OQK/qGNyKQMUzVgA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/types": "^10.0.0" + }, + "engines": { + "node": ">= 14" + }, + "peerDependencies": { + "@octokit/core": ">=3" + } + }, + "node_modules/@octokit/plugin-rest-endpoint-methods/node_modules/@octokit/types": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-10.0.0.tgz", + "integrity": "sha512-Vm8IddVmhCgU1fxC1eyinpwqzXPEYu0NrYzD3YZjlGjyftdLBTeqNblRC0jmJmgxbJIsQlyogVeGnrNaaMVzIg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/openapi-types": "^18.0.0" + } + }, + "node_modules/@octokit/request": { + "version": "6.2.8", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-6.2.8.tgz", + "integrity": "sha512-ow4+pkVQ+6XVVsekSYBzJC0VTVvh/FCTUUgTsboGq+DTeWdyIFV8WSCdo0RIxk6wSkBTHqIK1mYuY7nOBXOchw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/endpoint": "^7.0.0", + "@octokit/request-error": "^3.0.0", + "@octokit/types": "^9.0.0", + "is-plain-object": "^5.0.0", + "node-fetch": "^2.6.7", + "universal-user-agent": "^6.0.0" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/@octokit/request-error": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-3.0.3.tgz", + "integrity": "sha512-crqw3V5Iy2uOU5Np+8M/YexTlT8zxCfI+qu+LxUB7SZpje4Qmx3mub5DfEKSO8Ylyk0aogi6TYdf6kxzh2BguQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/types": "^9.0.0", + "deprecation": "^2.0.0", + "once": "^1.4.0" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/@octokit/rest": { + "version": "19.0.11", + "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-19.0.11.tgz", + "integrity": "sha512-m2a9VhaP5/tUw8FwfnW2ICXlXpLPIqxtg3XcAiGMLj/Xhw3RSBfZ8le/466ktO1Gcjr8oXudGnHhxV1TXJgFxw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/core": "^4.2.1", + "@octokit/plugin-paginate-rest": "^6.1.2", + "@octokit/plugin-request-log": "^1.0.4", + "@octokit/plugin-rest-endpoint-methods": "^7.1.2" + }, + "engines": { + "node": ">= 14" + } + }, + "node_modules/@octokit/tsconfig": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@octokit/tsconfig/-/tsconfig-1.0.2.tgz", + "integrity": "sha512-I0vDR0rdtP8p2lGMzvsJzbhdOWy405HcGovrspJ8RRibHnyRgggUSNO5AIox5LmqiwmatHKYsvj6VGFHkqS7lA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@octokit/types": { + "version": "9.3.2", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-9.3.2.tgz", + "integrity": "sha512-D4iHGTdAnEEVsB8fl95m1hiz7D5YiRdQ9b/OEb3BYRVwbLsGHcRVPz+u+BgRLNk0Q0/4iZCBqDN96j2XNxfXrA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@octokit/openapi-types": "^18.0.0" + } + }, + "node_modules/@parcel/watcher": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.0.4.tgz", + "integrity": "sha512-cTDi+FUDBIUOBKEtj+nhiJ71AZVlkAsQFuGQTun5tV9mwQBQgZvhCzG+URPQc8myeN32yRVZEfVAPCs1RW+Jvg==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "node-addon-api": "^3.2.1", + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/codegen": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", + "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/eventemitter": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", + "integrity": "sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/fetch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", + "integrity": "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==", + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1", + "@protobufjs/inquire": "^1.1.0" + } + }, + "node_modules/@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/inquire": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", + "integrity": "sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/utf8": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", + "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==", + "license": "BSD-3-Clause" + }, + "node_modules/@sigstore/bundle": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@sigstore/bundle/-/bundle-1.1.0.tgz", + "integrity": "sha512-PFutXEy0SmQxYI4texPw3dd2KewuNqv7OuK1ZFtY2fM754yhvG2KdgwIhRnoEE2uHdtdGNQ8s0lb94dW9sELog==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/protobuf-specs": "^0.2.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@sigstore/protobuf-specs": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/@sigstore/protobuf-specs/-/protobuf-specs-0.2.1.tgz", + "integrity": "sha512-XTWVxnWJu+c1oCshMLwnKvz8ZQJJDVOlciMfgpJBQbThVjKTCG8dwyhgLngBD2KN0ap9F/gOV8rFDEx8uh7R2A==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@sigstore/sign": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@sigstore/sign/-/sign-1.0.0.tgz", + "integrity": "sha512-INxFVNQteLtcfGmcoldzV6Je0sbbfh9I16DM4yJPw3j5+TFP8X6uIiA18mvpEa9yyeycAKgPmOA3X9hVdVTPUA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/bundle": "^1.1.0", + "@sigstore/protobuf-specs": "^0.2.0", + "make-fetch-happen": "^11.0.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@sigstore/sign/node_modules/@npmcli/fs": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-3.1.1.tgz", + "integrity": "sha512-q9CRWjpHCMIh5sVyefoD1cA7PkvILqCZsnSOEUUivORLjxCO/Irmue2DprETiNgEqktDBZaM1Bi+jrarx1XdCg==", + "dev": true, + "license": "ISC", + "dependencies": { + "semver": "^7.3.5" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@sigstore/sign/node_modules/brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@sigstore/sign/node_modules/cacache": { + "version": "17.1.4", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-17.1.4.tgz", + "integrity": "sha512-/aJwG2l3ZMJ1xNAnqbMpA40of9dj/pIH3QfiuQSqjfPJF747VR0J/bHn+/KdNnHKc6XQcWt/AfRSBft82W1d2A==", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/fs": "^3.1.0", + "fs-minipass": "^3.0.0", + "glob": "^10.2.2", + "lru-cache": "^7.7.1", + "minipass": "^7.0.3", + "minipass-collect": "^1.0.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "p-map": "^4.0.0", + "ssri": "^10.0.0", + "tar": "^6.1.11", + "unique-filename": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@sigstore/sign/node_modules/cacache/node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/@sigstore/sign/node_modules/fs-minipass": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.3.tgz", + "integrity": "sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@sigstore/sign/node_modules/fs-minipass/node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/@sigstore/sign/node_modules/glob": { + "version": "10.4.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", + "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@sigstore/sign/node_modules/glob/node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/@sigstore/sign/node_modules/jackspeak": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", + "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, + "node_modules/@sigstore/sign/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/@sigstore/sign/node_modules/make-fetch-happen": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz", + "integrity": "sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==", + "dev": true, + "license": "ISC", + "dependencies": { + "agentkeepalive": "^4.2.1", + "cacache": "^17.0.0", + "http-cache-semantics": "^4.1.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^10.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@sigstore/sign/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@sigstore/sign/node_modules/minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "node_modules/@sigstore/sign/node_modules/minipass-fetch": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.5.tgz", + "integrity": "sha512-2N8elDQAtSnFV0Dk7gt15KHsS0Fyz6CbYZ360h0WTYV1Ty46li3rAXVOQj1THMNLdmrD9Vt5pBPtWtVkpwGBqg==", + "dev": true, + "license": "MIT", + "dependencies": { + "minipass": "^7.0.3", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + }, + "optionalDependencies": { + "encoding": "^0.1.13" + } + }, + "node_modules/@sigstore/sign/node_modules/minipass-fetch/node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/@sigstore/sign/node_modules/semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@sigstore/sign/node_modules/ssri": { + "version": "10.0.6", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.6.tgz", + "integrity": "sha512-MGrFH9Z4NP9Iyhqn16sDtBpRRNJ0Y2hNa6D65h736fVSaPCHr4DM4sWUNvVaSuC+0OBGhwsrydQwmgfg5LncqQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@sigstore/sign/node_modules/ssri/node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/@sigstore/sign/node_modules/unique-filename": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-3.0.0.tgz", + "integrity": "sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g==", + "dev": true, + "license": "ISC", + "dependencies": { + "unique-slug": "^4.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@sigstore/sign/node_modules/unique-slug": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-4.0.0.tgz", + "integrity": "sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@sigstore/tuf": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@sigstore/tuf/-/tuf-1.0.3.tgz", + "integrity": "sha512-2bRovzs0nJZFlCN3rXirE4gwxCn97JNjMmwpecqlbgV9WcxX7WRuIrgzx/X7Ib7MYRbyUTpBYE0s2x6AmZXnlg==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/protobuf-specs": "^0.2.0", + "tuf-js": "^1.1.7" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@sinclair/typebox": { + "version": "0.27.8", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", + "integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==", + "license": "MIT" + }, + "node_modules/@sinonjs/commons": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz", + "integrity": "sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "type-detect": "4.0.8" + } + }, + "node_modules/@sinonjs/fake-timers": { + "version": "10.3.0", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz", + "integrity": "sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/commons": "^3.0.0" + } + }, + "node_modules/@tootallnate/once": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", + "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10" + } + }, + "node_modules/@tsconfig/node10": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz", + "integrity": "sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@tsconfig/node12": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", + "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", + "dev": true, + "license": "MIT" + }, + "node_modules/@tsconfig/node14": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", + "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", + "dev": true, + "license": "MIT" + }, + "node_modules/@tsconfig/node16": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz", + "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@tufjs/canonical-json": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@tufjs/canonical-json/-/canonical-json-1.0.0.tgz", + "integrity": "sha512-QTnf++uxunWvG2z3UFNzAoQPHxnSXOwtaI3iJ+AohhV+5vONuArPjJE7aPXPVXfXJsqrVbZBu9b81AJoSd09IQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@tufjs/models": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@tufjs/models/-/models-1.0.4.tgz", + "integrity": "sha512-qaGV9ltJP0EO25YfFUPhxRVK0evXFIAGicsVXuRim4Ed9cjPxYhNnNJ49SFmbeLgtxpslIkX317IgpfcHPVj/A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@tufjs/canonical-json": "1.0.0", + "minimatch": "^9.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/@tufjs/models/node_modules/brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@tufjs/models/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@types/babel__core": { + "version": "7.20.5", + "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", + "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.20.7", + "@babel/types": "^7.20.7", + "@types/babel__generator": "*", + "@types/babel__template": "*", + "@types/babel__traverse": "*" + } + }, + "node_modules/@types/babel__generator": { + "version": "7.6.8", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.8.tgz", + "integrity": "sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__template": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz", + "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__traverse": { + "version": "7.20.5", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.5.tgz", + "integrity": "sha512-WXCyOcRtH37HAUkpXhUduaxdm82b4GSlyTqajXviN4EfiuPgNYR109xMCKvpl6zPIpua0DGlMEDCq+g8EdoheQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.20.7" + } + }, + "node_modules/@types/graceful-fs": { + "version": "4.1.9", + "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz", + "integrity": "sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==", + "license": "MIT", + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/istanbul-lib-coverage": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz", + "integrity": "sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==", + "license": "MIT" + }, + "node_modules/@types/istanbul-lib-report": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz", + "integrity": "sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==", + "license": "MIT", + "dependencies": { + "@types/istanbul-lib-coverage": "*" + } + }, + "node_modules/@types/istanbul-reports": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz", + "integrity": "sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==", + "license": "MIT", + "dependencies": { + "@types/istanbul-lib-report": "*" + } + }, + "node_modules/@types/jest": { + "version": "29.5.12", + "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.12.tgz", + "integrity": "sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw==", + "dev": true, + "license": "MIT", + "dependencies": { + "expect": "^29.0.0", + "pretty-format": "^29.0.0" + } + }, + "node_modules/@types/linkify-it": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/@types/linkify-it/-/linkify-it-5.0.0.tgz", + "integrity": "sha512-sVDA58zAw4eWAffKOaQH5/5j3XeayukzDk+ewSsnv3p4yJEZHCCzMDiZM8e0OUrRvmpGZ85jf4yDHkHsgBNr9Q==", + "license": "MIT" + }, + "node_modules/@types/markdown-it": { + "version": "14.1.2", + "resolved": "https://registry.npmjs.org/@types/markdown-it/-/markdown-it-14.1.2.tgz", + "integrity": "sha512-promo4eFwuiW+TfGxhi+0x3czqTYJkG8qB17ZUJiVF10Xm7NLVRSLUsfRTU/6h1e24VvRnXCx+hG7li58lkzog==", + "license": "MIT", + "dependencies": { + "@types/linkify-it": "^5", + "@types/mdurl": "^2" + } + }, + "node_modules/@types/mdurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@types/mdurl/-/mdurl-2.0.0.tgz", + "integrity": "sha512-RGdgjQUZba5p6QEFAVx2OGb8rQDL/cPRG7GiedRzMcJ1tYnUANBncjbSB1NRGwbvjcPeikRABz2nshyPk1bhWg==", + "license": "MIT" + }, + "node_modules/@types/minimatch": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz", + "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/node": { + "version": "20.11.30", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.30.tgz", + "integrity": "sha512-dHM6ZxwlmuZaRmUPfv1p+KrdD1Dci04FbdEm/9wEMouFqxYoFl5aMkt0VMAUtYRQDyYvD41WJLukhq/ha3YuTw==", + "license": "MIT", + "dependencies": { + "undici-types": "~5.26.4" + } + }, + "node_modules/@types/normalize-package-data": { + "version": "2.4.4", + "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz", + "integrity": "sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/stack-utils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz", + "integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/yargs": { + "version": "17.0.32", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.32.tgz", + "integrity": "sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==", + "license": "MIT", + "dependencies": { + "@types/yargs-parser": "*" + } + }, + "node_modules/@types/yargs-parser": { + "version": "21.0.3", + "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz", + "integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==", + "license": "MIT" + }, + "node_modules/@yarnpkg/lockfile": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz", + "integrity": "sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==", + "dev": true, + "license": "BSD-2-Clause" + }, + "node_modules/@yarnpkg/parsers": { + "version": "3.0.0-rc.46", + "resolved": "https://registry.npmjs.org/@yarnpkg/parsers/-/parsers-3.0.0-rc.46.tgz", + "integrity": "sha512-aiATs7pSutzda/rq8fnuPwTglyVwjM22bNnK2ZgjrpAjQHSSl3lztd2f9evst1W/qnC58DRz7T7QndUDumAR4Q==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "js-yaml": "^3.10.0", + "tslib": "^2.4.0" + }, + "engines": { + "node": ">=14.15.0" + } + }, + "node_modules/@zkochan/js-yaml": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/@zkochan/js-yaml/-/js-yaml-0.0.6.tgz", + "integrity": "sha512-nzvgl3VfhcELQ8LyVrYOru+UtAy1nrygk2+AGbTm8a5YcO6o8lSjAT+pfg3vJWxIoZKOUhrK6UU7xW/+00kQrg==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/@zkochan/js-yaml/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, + "license": "Python-2.0" + }, + "node_modules/abbrev": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", + "dev": true, + "license": "ISC" + }, + "node_modules/acorn": { + "version": "8.11.3", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz", + "integrity": "sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==", + "license": "MIT", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "license": "MIT", + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/acorn-walk": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.2.tgz", + "integrity": "sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/add-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/add-stream/-/add-stream-1.0.0.tgz", + "integrity": "sha512-qQLMr+8o0WC4FZGQTcJiKBVC59JylcPSrTtk6usvmIDFUOCKegapy1VHQwRbFMOFyb/inzUVqHs+eMYKDM1YeQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/agent-base": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", + "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "debug": "4" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/agentkeepalive": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.6.0.tgz", + "integrity": "sha512-kja8j7PjmncONqaTsB8fQ+wE2mSU2DJ9D4XKoJ5PFWIdRMa6SLSN1ff4mOr4jCbfRSsxR4keIiySJU0N9T5hIQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "humanize-ms": "^1.2.1" + }, + "engines": { + "node": ">= 8.0.0" + } + }, + "node_modules/aggregate-error": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", + "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", + "dev": true, + "license": "MIT", + "dependencies": { + "clean-stack": "^2.0.0", + "indent-string": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ansi-colors": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", + "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/ansi-escapes": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", + "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "type-fest": "^0.21.3" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "license": "MIT", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "license": "ISC", + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/aproba": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz", + "integrity": "sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/are-we-there-yet": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", + "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", + "deprecated": "This package is no longer supported.", + "dev": true, + "license": "ISC", + "dependencies": { + "delegates": "^1.0.0", + "readable-stream": "^3.6.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/arg": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", + "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", + "dev": true, + "license": "MIT" + }, + "node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "license": "MIT", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/array-differ": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/array-differ/-/array-differ-3.0.0.tgz", + "integrity": "sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/array-ify": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz", + "integrity": "sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng==", + "dev": true, + "license": "MIT" + }, + "node_modules/array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/arrify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", + "integrity": "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ast-types": { + "version": "0.16.1", + "resolved": "https://registry.npmjs.org/ast-types/-/ast-types-0.16.1.tgz", + "integrity": "sha512-6t10qk83GOG8p0vKmaCr8eiilZwO171AvbROMtvvNiwrTly62t+7XkA8RdIIVbpMhCASAsxgAzdRSwh6nw/5Dg==", + "license": "MIT", + "dependencies": { + "tslib": "^2.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/async": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", + "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", + "dev": true, + "license": "MIT" + }, + "node_modules/asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/axios": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.10.0.tgz", + "integrity": "sha512-/1xYAC4MP/HEG+3duIhFr4ZQXR4sQXOIe+o6sdqzeykGLx6Upp/1p8MHqhINOvGeP7xyNHe7tsiJByc4SSVUxw==", + "dev": true, + "license": "MIT", + "dependencies": { + "follow-redirects": "^1.15.6", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "node_modules/babel-jest": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz", + "integrity": "sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/transform": "^29.7.0", + "@types/babel__core": "^7.1.14", + "babel-plugin-istanbul": "^6.1.1", + "babel-preset-jest": "^29.6.3", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "slash": "^3.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.8.0" + } + }, + "node_modules/babel-jest/node_modules/@jest/transform": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.7.0.tgz", + "integrity": "sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.11.6", + "@jest/types": "^29.6.3", + "@jridgewell/trace-mapping": "^0.3.18", + "babel-plugin-istanbul": "^6.1.1", + "chalk": "^4.0.0", + "convert-source-map": "^2.0.0", + "fast-json-stable-stringify": "^2.1.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.7.0", + "jest-regex-util": "^29.6.3", + "jest-util": "^29.7.0", + "micromatch": "^4.0.4", + "pirates": "^4.0.4", + "slash": "^3.0.0", + "write-file-atomic": "^4.0.2" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/babel-jest/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/babel-jest/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/babel-jest/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/babel-jest/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/babel-jest/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/babel-jest/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/babel-plugin-istanbul": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz", + "integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==", + "license": "BSD-3-Clause", + "dependencies": { + "@babel/helper-plugin-utils": "^7.0.0", + "@istanbuljs/load-nyc-config": "^1.0.0", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-instrument": "^5.0.4", + "test-exclude": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/babel-plugin-jest-hoist": { + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz", + "integrity": "sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/template": "^7.3.3", + "@babel/types": "^7.3.3", + "@types/babel__core": "^7.1.14", + "@types/babel__traverse": "^7.0.6" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/babel-preset-current-node-syntax": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz", + "integrity": "sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/plugin-syntax-bigint": "^7.8.3", + "@babel/plugin-syntax-class-properties": "^7.8.3", + "@babel/plugin-syntax-import-meta": "^7.8.3", + "@babel/plugin-syntax-json-strings": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.8.3", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.8.3", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-syntax-top-level-await": "^7.8.3" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/babel-preset-jest": { + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz", + "integrity": "sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-plugin-jest-hoist": "^29.6.3", + "babel-preset-current-node-syntax": "^1.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "license": "MIT" + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/before-after-hook": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.3.tgz", + "integrity": "sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/bl": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", + "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, + "node_modules/bluebird": { + "version": "3.7.2", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", + "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", + "license": "MIT" + }, + "node_modules/boolbase": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", + "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==", + "license": "ISC" + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "license": "MIT", + "dependencies": { + "fill-range": "^7.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browserslist": { + "version": "4.23.0", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.0.tgz", + "integrity": "sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "caniuse-lite": "^1.0.30001587", + "electron-to-chromium": "^1.4.668", + "node-releases": "^2.0.14", + "update-browserslist-db": "^1.0.13" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/bs-logger": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/bs-logger/-/bs-logger-0.2.6.tgz", + "integrity": "sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-json-stable-stringify": "2.x" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/bser": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz", + "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==", + "license": "Apache-2.0", + "dependencies": { + "node-int64": "^0.4.0" + } + }, + "node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/builtins": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.1.0.tgz", + "integrity": "sha512-SW9lzGTLvWTP1AY8xeAMZimqDrIaSdLQUcVr9DMef51niJ022Ri87SwRRKYm4A6iHfkPaiVUu/Duw2Wc4J7kKg==", + "dev": true, + "license": "MIT", + "dependencies": { + "semver": "^7.0.0" + } + }, + "node_modules/builtins/node_modules/semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/byte-size": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/byte-size/-/byte-size-8.1.1.tgz", + "integrity": "sha512-tUkzZWK0M/qdoLEqikxBWe4kumyuwjl3HO6zHTr4yEI23EojPtLYXdG1+AQY7MN0cGyNDvEaJ8wiYQm6P2bPxg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.17" + } + }, + "node_modules/cacache": { + "version": "16.1.3", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-16.1.3.tgz", + "integrity": "sha512-/+Emcj9DAXxX4cwlLmRI9c166RuL3w30zp4R7Joiv2cQTtTtA+jeuCAjH3ZlGnYS3tKENSrKhAzVVP9GVyzeYQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/fs": "^2.1.0", + "@npmcli/move-file": "^2.0.0", + "chownr": "^2.0.0", + "fs-minipass": "^2.1.0", + "glob": "^8.0.1", + "infer-owner": "^1.0.4", + "lru-cache": "^7.7.1", + "minipass": "^3.1.6", + "minipass-collect": "^1.0.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "mkdirp": "^1.0.4", + "p-map": "^4.0.0", + "promise-inflight": "^1.0.1", + "rimraf": "^3.0.2", + "ssri": "^9.0.0", + "tar": "^6.1.11", + "unique-filename": "^2.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/cacache/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/cacache/node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true, + "license": "MIT", + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/cacache/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/cacache/node_modules/rimraf/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.2.tgz", + "integrity": "sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/camelcase-keys": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", + "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", + "dev": true, + "license": "MIT", + "dependencies": { + "camelcase": "^5.3.1", + "map-obj": "^4.0.0", + "quick-lru": "^4.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001599", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001599.tgz", + "integrity": "sha512-LRAQHZ4yT1+f9LemSMeqdMpMxZcc4RMWdj4tiFe3G8tNkWK+E58g+/tzotb5cU6TbcVJLr4fySiAW7XmxQvZQA==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "CC-BY-4.0" + }, + "node_modules/case": { + "version": "1.6.3", + "resolved": "https://registry.npmjs.org/case/-/case-1.6.3.tgz", + "integrity": "sha512-mzDSXIPaFwVDvZAHqZ9VlbyF4yyXRuX6IvB06WvPYkqJVO24kX1PPhv9bfpKNFZyxYFmmgo03HUiD8iklmJYRQ==", + "license": "(MIT OR GPL-3.0-or-later)", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/catharsis": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/catharsis/-/catharsis-0.9.0.tgz", + "integrity": "sha512-prMTQVpcns/tzFgFVkVp6ak6RykZyWb3gu8ckUpd6YkTlacOd3DXGJjIpD4Q6zJirizvaiAjSSHlOsA+6sNh2A==", + "license": "MIT", + "dependencies": { + "lodash": "^4.17.15" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/char-regex": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz", + "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/chardet": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", + "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", + "dev": true, + "license": "MIT" + }, + "node_modules/chownr": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", + "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/ci-info": { + "version": "3.9.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz", + "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/sibiraj-s" + } + ], + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/cjs-module-lexer": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.2.3.tgz", + "integrity": "sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/clean-stack": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", + "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/cli-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", + "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", + "dev": true, + "license": "MIT", + "dependencies": { + "restore-cursor": "^3.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cli-spinners": { + "version": "2.6.1", + "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.6.1.tgz", + "integrity": "sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cli-width": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", + "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">= 10" + } + }, + "node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/cliui/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/cliui/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/cliui/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/cliui/node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/clone": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", + "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8" + } + }, + "node_modules/clone-deep": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", + "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-plain-object": "^2.0.4", + "kind-of": "^6.0.2", + "shallow-clone": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/clone-deep/node_modules/is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dev": true, + "license": "MIT", + "dependencies": { + "isobject": "^3.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/cmd-shim": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-6.0.1.tgz", + "integrity": "sha512-S9iI9y0nKR4hwEQsVWpyxld/6kRfGepGfzff83FcaiEBpmvlbA2nnGe7Cylgrx2f/p1P5S5wpRm9oL8z1PbS3Q==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==", + "dev": true, + "license": "MIT", + "engines": { + "iojs": ">= 1.0.0", + "node": ">= 0.12.0" + } + }, + "node_modules/collect-v8-coverage": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz", + "integrity": "sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "license": "MIT", + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "license": "MIT" + }, + "node_modules/color-support": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", + "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==", + "dev": true, + "license": "ISC", + "bin": { + "color-support": "bin.js" + } + }, + "node_modules/columnify": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/columnify/-/columnify-1.6.0.tgz", + "integrity": "sha512-lomjuFZKfM6MSAnV9aCZC9sc0qGbmZdfygNv+nCpqVkSKdCxCklLtd16O0EILGkImHw9ZpHkAnHaB+8Zxq5W6Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "strip-ansi": "^6.0.1", + "wcwidth": "^1.0.0" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, + "license": "MIT", + "dependencies": { + "delayed-stream": "~1.0.0" + }, + "engines": { + "node": ">= 0.8" + } + }, + "node_modules/compare-func": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", + "integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "array-ify": "^1.0.0", + "dot-prop": "^5.1.0" + } + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", + "license": "MIT" + }, + "node_modules/concat-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz", + "integrity": "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==", + "dev": true, + "engines": [ + "node >= 6.0" + ], + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.0.2", + "typedarray": "^0.0.6" + } + }, + "node_modules/console-control-strings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/conventional-changelog-angular": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-6.0.0.tgz", + "integrity": "sha512-6qLgrBF4gueoC7AFVHu51nHL9pF9FRjXrH+ceVf7WmAfH3gs+gEYOkvxhjMPjZu57I4AGUGoNTY8V7Hrgf1uqg==", + "dev": true, + "license": "ISC", + "dependencies": { + "compare-func": "^2.0.0" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/conventional-changelog-core": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-5.0.1.tgz", + "integrity": "sha512-Rvi5pH+LvgsqGwZPZ3Cq/tz4ty7mjijhr3qR4m9IBXNbxGGYgTVVO+duXzz9aArmHxFtwZ+LRkrNIMDQzgoY4A==", + "dev": true, + "license": "MIT", + "dependencies": { + "add-stream": "^1.0.0", + "conventional-changelog-writer": "^6.0.0", + "conventional-commits-parser": "^4.0.0", + "dateformat": "^3.0.3", + "get-pkg-repo": "^4.2.1", + "git-raw-commits": "^3.0.0", + "git-remote-origin-url": "^2.0.0", + "git-semver-tags": "^5.0.0", + "normalize-package-data": "^3.0.3", + "read-pkg": "^3.0.0", + "read-pkg-up": "^3.0.0" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/conventional-changelog-preset-loader": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-3.0.0.tgz", + "integrity": "sha512-qy9XbdSLmVnwnvzEisjxdDiLA4OmV3o8db+Zdg4WiFw14fP3B6XNz98X0swPPpkTd/pc1K7+adKgEDM1JCUMiA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=14" + } + }, + "node_modules/conventional-changelog-writer": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-6.0.1.tgz", + "integrity": "sha512-359t9aHorPw+U+nHzUXHS5ZnPBOizRxfQsWT5ZDHBfvfxQOAik+yfuhKXG66CN5LEWPpMNnIMHUTCKeYNprvHQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "conventional-commits-filter": "^3.0.0", + "dateformat": "^3.0.3", + "handlebars": "^4.7.7", + "json-stringify-safe": "^5.0.1", + "meow": "^8.1.2", + "semver": "^7.0.0", + "split": "^1.0.1" + }, + "bin": { + "conventional-changelog-writer": "cli.js" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/conventional-changelog-writer/node_modules/semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/conventional-commits-filter": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-3.0.0.tgz", + "integrity": "sha512-1ymej8b5LouPx9Ox0Dw/qAO2dVdfpRFq28e5Y0jJEU8ZrLdy0vOSkkIInwmxErFGhg6SALro60ZrwYFVTUDo4Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "lodash.ismatch": "^4.4.0", + "modify-values": "^1.0.1" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/conventional-commits-parser": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-4.0.0.tgz", + "integrity": "sha512-WRv5j1FsVM5FISJkoYMR6tPk07fkKT0UodruX4je86V4owk451yjXAKzKAPOs9l7y59E2viHUS9eQ+dfUA9NSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-text-path": "^1.0.1", + "JSONStream": "^1.3.5", + "meow": "^8.1.2", + "split2": "^3.2.2" + }, + "bin": { + "conventional-commits-parser": "cli.js" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/conventional-recommended-bump": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/conventional-recommended-bump/-/conventional-recommended-bump-7.0.1.tgz", + "integrity": "sha512-Ft79FF4SlOFvX4PkwFDRnaNiIVX7YbmqGU0RwccUaiGvgp3S0a8ipR2/Qxk31vclDNM+GSdJOVs2KrsUCjblVA==", + "dev": true, + "license": "MIT", + "dependencies": { + "concat-stream": "^2.0.0", + "conventional-changelog-preset-loader": "^3.0.0", + "conventional-commits-filter": "^3.0.0", + "conventional-commits-parser": "^4.0.0", + "git-raw-commits": "^3.0.0", + "git-semver-tags": "^5.0.0", + "meow": "^8.1.2" + }, + "bin": { + "conventional-recommended-bump": "cli.js" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "license": "MIT" + }, + "node_modules/core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/cosmiconfig": { + "version": "8.3.6", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.3.6.tgz", + "integrity": "sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA==", + "dev": true, + "license": "MIT", + "dependencies": { + "import-fresh": "^3.3.0", + "js-yaml": "^4.1.0", + "parse-json": "^5.2.0", + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/d-fischer" + }, + "peerDependencies": { + "typescript": ">=4.9.5" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/cosmiconfig/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, + "license": "Python-2.0" + }, + "node_modules/cosmiconfig/node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/create-jest": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/create-jest/-/create-jest-29.7.0.tgz", + "integrity": "sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.3", + "chalk": "^4.0.0", + "exit": "^0.1.2", + "graceful-fs": "^4.2.9", + "jest-config": "^29.7.0", + "jest-util": "^29.7.0", + "prompts": "^2.0.1" + }, + "bin": { + "create-jest": "bin/create-jest.js" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/create-jest/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/create-jest/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/create-jest/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/create-jest/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/create-jest/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/create-jest/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/create-require": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", + "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/css-select": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-5.1.0.tgz", + "integrity": "sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==", + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^1.0.0", + "css-what": "^6.1.0", + "domhandler": "^5.0.2", + "domutils": "^3.0.1", + "nth-check": "^2.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/css-what": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz", + "integrity": "sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==", + "license": "BSD-2-Clause", + "engines": { + "node": ">= 6" + }, + "funding": { + "url": "https://github.com/sponsors/fb55" + } + }, + "node_modules/dargs": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/dargs/-/dargs-7.0.0.tgz", + "integrity": "sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/dateformat": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz", + "integrity": "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": "*" + } + }, + "node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "license": "MIT", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/decamelize-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.1.tgz", + "integrity": "sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==", + "dev": true, + "license": "MIT", + "dependencies": { + "decamelize": "^1.1.0", + "map-obj": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/decamelize-keys/node_modules/map-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", + "integrity": "sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/dedent": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.5.1.tgz", + "integrity": "sha512-+LxW+KLWxu3HW3M2w2ympwtqPrqYRzU8fqi6Fhd18fBALe15blJPI/I4+UHveMVG6lJqB4JNd4UG0S5cnVHwIg==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "babel-plugin-macros": "^3.1.0" + }, + "peerDependenciesMeta": { + "babel-plugin-macros": { + "optional": true + } + } + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "license": "MIT" + }, + "node_modules/deepmerge": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", + "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/defaults": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz", + "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==", + "dev": true, + "license": "MIT", + "dependencies": { + "clone": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/define-lazy-prop": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", + "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/delegates": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/deprecation": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", + "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/detect-indent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz", + "integrity": "sha512-rlpvsxUtM0PQvy9iZe640/IWwWYyBsTApREbA1pHOpmOUIl9MkP/U4z7vTtg4Oaojvqhxt7sdufnT0EzGaR31g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/detect-newline": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", + "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/diff": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", + "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/diff-sequences": { + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz", + "integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/dir-glob": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", + "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/dom-serializer": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz", + "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==", + "license": "MIT", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "entities": "^4.2.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "node_modules/domelementtype": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", + "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "license": "BSD-2-Clause" + }, + "node_modules/domhandler": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz", + "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==", + "license": "BSD-2-Clause", + "dependencies": { + "domelementtype": "^2.3.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, + "node_modules/domutils": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.1.0.tgz", + "integrity": "sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==", + "license": "BSD-2-Clause", + "dependencies": { + "dom-serializer": "^2.0.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, + "node_modules/dot-prop": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", + "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-obj": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/dotenv": { + "version": "16.3.2", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.3.2.tgz", + "integrity": "sha512-HTlk5nmhkm8F6JcdXvHIzaorzCoziNQT9mGxLPVXW8wJF1TiGSL60ZGB4gHWabHOaMmWmhvk2/lPHfnBiT78AQ==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/motdotla/dotenv?sponsor=1" + } + }, + "node_modules/dotenv-expand": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-10.0.0.tgz", + "integrity": "sha512-GopVGCpVS1UKH75VKHGuQFqS1Gusej0z4FyQkPdwjil2gNIv+LNsqBlboOzpJFZKVT95GkCyWJbBSdFEFUWI2A==", + "dev": true, + "license": "BSD-2-Clause", + "engines": { + "node": ">=12" + } + }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/duplexer": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz", + "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==", + "dev": true, + "license": "MIT" + }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true, + "license": "MIT" + }, + "node_modules/ejs": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.10.tgz", + "integrity": "sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "jake": "^10.8.5" + }, + "bin": { + "ejs": "bin/cli.js" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/electron-to-chromium": { + "version": "1.4.714", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.714.tgz", + "integrity": "sha512-OfnVHt+nMRH9Ua5koH/2gKlCAXbG+u1yXwLKyBVqNboBV34ZTwb846RUe8K5mtE1uhz0BXoMarZ13JCQr+sBtQ==", + "license": "ISC" + }, + "node_modules/emittery": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz", + "integrity": "sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sindresorhus/emittery?sponsor=1" + } + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, + "license": "MIT" + }, + "node_modules/encoding": { + "version": "0.1.13", + "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", + "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "iconv-lite": "^0.6.2" + } + }, + "node_modules/encoding/node_modules/iconv-lite": { + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "once": "^1.4.0" + } + }, + "node_modules/enquirer": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", + "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-colors": "^4.1.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/entities": { + "version": "4.5.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", + "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.12" + }, + "funding": { + "url": "https://github.com/fb55/entities?sponsor=1" + } + }, + "node_modules/env-paths": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", + "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/envinfo": { + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.8.1.tgz", + "integrity": "sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw==", + "dev": true, + "license": "MIT", + "bin": { + "envinfo": "dist/cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/err-code": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz", + "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==", + "dev": true, + "license": "MIT" + }, + "node_modules/error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-arrayish": "^0.2.1" + } + }, + "node_modules/es-define-property": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-object-atoms": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/es-object-atoms/-/es-object-atoms-1.1.1.tgz", + "integrity": "sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-set-tostringtag": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.1.0.tgz", + "integrity": "sha512-j6vWzfrGVfyXxge+O0x5sh6cvxAog0a/4Rdd2K36zCMV5eJ+/+tOAngRO8cODMNWbVRdVlmGZQL2YS3yR8bIUA==", + "dev": true, + "license": "MIT", + "dependencies": { + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/escalade": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz", + "integrity": "sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "license": "MIT", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/escodegen": { + "version": "1.14.3", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.14.3.tgz", + "integrity": "sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==", + "license": "BSD-2-Clause", + "dependencies": { + "esprima": "^4.0.1", + "estraverse": "^4.2.0", + "esutils": "^2.0.2", + "optionator": "^0.8.1" + }, + "bin": { + "escodegen": "bin/escodegen.js", + "esgenerate": "bin/esgenerate.js" + }, + "engines": { + "node": ">=4.0" + }, + "optionalDependencies": { + "source-map": "~0.6.1" + } + }, + "node_modules/escodegen/node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/eslint": { + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.38.0.tgz", + "integrity": "sha512-pIdsD2jwlUGf/U38Jv97t8lq6HpaU/G9NKbYmpWpZGw3LdTNhZLbJePqxOXGB5+JEKfOPU/XLxYxFh03nr1KTg==", + "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.4.0", + "@eslint/eslintrc": "^2.0.2", + "@eslint/js": "8.38.0", + "@humanwhocodes/config-array": "^0.11.8", + "@humanwhocodes/module-importer": "^1.0.1", + "@nodelib/fs.walk": "^1.2.8", + "ajv": "^6.10.0", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "doctrine": "^3.0.0", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^7.1.1", + "eslint-visitor-keys": "^3.4.0", + "espree": "^9.5.1", + "esquery": "^1.4.2", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "globals": "^13.19.0", + "grapheme-splitter": "^1.0.4", + "ignore": "^5.2.0", + "import-fresh": "^3.0.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", + "js-sdsl": "^4.1.4", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.1", + "strip-ansi": "^6.0.1", + "strip-json-comments": "^3.1.0", + "text-table": "^0.2.0" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-config-prettier": { + "version": "8.10.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.10.0.tgz", + "integrity": "sha512-SM8AMJdeQqRYT9O9zguiruQZaN7+z+E4eAP9oiLNGKMtomwaB1E9dcgUD6ZAn/eQAb52USbvezbiljfZUhbJcg==", + "dev": true, + "license": "MIT", + "bin": { + "eslint-config-prettier": "bin/cli.js" + }, + "peerDependencies": { + "eslint": ">=7.0.0" + } + }, + "node_modules/eslint-plugin-prettier": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz", + "integrity": "sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "prettier-linter-helpers": "^1.0.0" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "eslint": ">=7.28.0", + "prettier": ">=2.0.0" + }, + "peerDependenciesMeta": { + "eslint-config-prettier": { + "optional": true + } + } + }, + "node_modules/eslint-scope": { + "version": "7.2.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz", + "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "license": "Apache-2.0", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/eslint/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, + "license": "Python-2.0" + }, + "node_modules/eslint/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/eslint/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/eslint/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/eslint/node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/globals": { + "version": "13.24.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz", + "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/eslint/node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/eslint/node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/optionator": { + "version": "0.9.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz", + "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@aashutoshrathi/word-wrap": "^1.2.3", + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/eslint/node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/eslint/node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/espree": { + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", + "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", + "license": "BSD-2-Clause", + "dependencies": { + "acorn": "^8.9.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.4.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "license": "BSD-2-Clause", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/esquery": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz", + "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "license": "BSD-2-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eventemitter3": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", + "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", + "dev": true, + "license": "MIT" + }, + "node_modules/execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dev": true, + "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/exit": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", + "integrity": "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/expect": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/expect/-/expect-29.7.0.tgz", + "integrity": "sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/expect-utils": "^29.7.0", + "jest-get-type": "^29.6.3", + "jest-matcher-utils": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-util": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/exponential-backoff": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.2.tgz", + "integrity": "sha512-8QxYTVXUkuy7fIIoitQkPwGonB8F3Zj8eEO8Sqg9Zv/bkI7RJAzowee4gr81Hak/dUTpA2Z7VfQgoijjPNlUZA==", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/external-editor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", + "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", + "dev": true, + "license": "MIT", + "dependencies": { + "chardet": "^0.7.0", + "iconv-lite": "^0.4.24", + "tmp": "^0.0.33" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/external-editor/node_modules/tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "dev": true, + "license": "MIT", + "dependencies": { + "os-tmpdir": "~1.0.2" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/fast-diff": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.3.0.tgz", + "integrity": "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==", + "dev": true, + "license": "Apache-2.0" + }, + "node_modules/fast-glob": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.3.tgz", + "integrity": "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.8" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fast-glob/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "license": "MIT" + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "license": "MIT" + }, + "node_modules/fastq": { + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", + "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", + "dev": true, + "license": "ISC", + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/fb-watchman": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz", + "integrity": "sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==", + "license": "Apache-2.0", + "dependencies": { + "bser": "2.1.1" + } + }, + "node_modules/figures": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", + "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", + "dev": true, + "license": "MIT", + "dependencies": { + "escape-string-regexp": "^1.0.5" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/file-entry-cache": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", + "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "dev": true, + "license": "MIT", + "dependencies": { + "flat-cache": "^3.0.4" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/filelist": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz", + "integrity": "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "minimatch": "^5.0.1" + } + }, + "node_modules/filelist/node_modules/brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/filelist/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/fill-range": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", + "license": "MIT", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "license": "MIT", + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/flat": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", + "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", + "dev": true, + "license": "BSD-3-Clause", + "bin": { + "flat": "cli.js" + } + }, + "node_modules/flat-cache": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz", + "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==", + "dev": true, + "license": "MIT", + "dependencies": { + "flatted": "^3.2.9", + "keyv": "^4.5.3", + "rimraf": "^3.0.2" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/flat-cache/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/flat-cache/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/flatted": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", + "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==", + "dev": true, + "license": "ISC" + }, + "node_modules/follow-redirects": { + "version": "1.15.9", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.9.tgz", + "integrity": "sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "license": "MIT", + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, + "node_modules/foreground-child": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz", + "integrity": "sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==", + "dev": true, + "license": "ISC", + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/foreground-child/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/form-data": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.3.tgz", + "integrity": "sha512-qsITQPfmvMOSAdeyZ+12I1c+CKSstAFAwu+97zrnWAbIr5u8wfsExUzCesVLC8NgHuRUqNN4Zy6UPWUTRGslcA==", + "dev": true, + "license": "MIT", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "es-set-tostringtag": "^2.1.0", + "hasown": "^2.0.2", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fs-constants": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", + "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", + "dev": true, + "license": "MIT" + }, + "node_modules/fs-extra": { + "version": "11.3.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.3.0.tgz", + "integrity": "sha512-Z4XaCL6dUDHfP/jT25jJKMmtxvuwbkrD1vNSMFlo9lNLY2c5FHYSQgHPRZUjAB26TpDEoW9HCOgplrdbaPV/ew==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, + "node_modules/fs-minipass": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", + "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", + "license": "ISC" + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/gauge": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", + "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", + "deprecated": "This package is no longer supported.", + "dev": true, + "license": "ISC", + "dependencies": { + "aproba": "^1.0.3 || ^2.0.0", + "color-support": "^1.1.3", + "console-control-strings": "^1.1.0", + "has-unicode": "^2.0.1", + "signal-exit": "^3.0.7", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "wide-align": "^1.1.5" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true, + "license": "ISC", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-intrinsic": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.3.0.tgz", + "integrity": "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "call-bind-apply-helpers": "^1.0.2", + "es-define-property": "^1.0.1", + "es-errors": "^1.3.0", + "es-object-atoms": "^1.1.1", + "function-bind": "^1.1.2", + "get-proto": "^1.0.1", + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.1.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-package-type": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", + "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", + "license": "MIT", + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/get-pkg-repo": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-4.2.1.tgz", + "integrity": "sha512-2+QbHjFRfGB74v/pYWjd5OhU3TDIC2Gv/YKUTk/tCvAz0pkn/Mz6P3uByuBimLOcPvN2jYdScl3xGFSrx0jEcA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@hutson/parse-repository-url": "^3.0.0", + "hosted-git-info": "^4.0.0", + "through2": "^2.0.0", + "yargs": "^16.2.0" + }, + "bin": { + "get-pkg-repo": "src/cli.js" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/get-pkg-repo/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/get-pkg-repo/node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/get-pkg-repo/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/get-pkg-repo/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/get-pkg-repo/node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/get-pkg-repo/node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/get-port": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/get-port/-/get-port-5.1.1.tgz", + "integrity": "sha512-g/Q1aTSDOxFpchXC4i8ZWvxA1lnPqx/JHqcpIw0/LX9T8x/GBbi6YnlN5nhaKIFkT8oFsscUKgDJYxfwfS6QsQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/get-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/get-proto/-/get-proto-1.0.1.tgz", + "integrity": "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==", + "dev": true, + "license": "MIT", + "dependencies": { + "dunder-proto": "^1.0.1", + "es-object-atoms": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/git-raw-commits": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-3.0.0.tgz", + "integrity": "sha512-b5OHmZ3vAgGrDn/X0kS+9qCfNKWe4K/jFnhwzVWWg0/k5eLa3060tZShrRg8Dja5kPc+YjS0Gc6y7cRr44Lpjw==", + "dev": true, + "license": "MIT", + "dependencies": { + "dargs": "^7.0.0", + "meow": "^8.1.2", + "split2": "^3.2.2" + }, + "bin": { + "git-raw-commits": "cli.js" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/git-remote-origin-url": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz", + "integrity": "sha512-eU+GGrZgccNJcsDH5LkXR3PB9M958hxc7sbA8DFJjrv9j4L2P/eZfKhM+QD6wyzpiv+b1BpK0XrYCxkovtjSLw==", + "dev": true, + "license": "MIT", + "dependencies": { + "gitconfiglocal": "^1.0.0", + "pify": "^2.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/git-remote-origin-url/node_modules/pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/git-semver-tags": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-5.0.1.tgz", + "integrity": "sha512-hIvOeZwRbQ+7YEUmCkHqo8FOLQZCEn18yevLHADlFPZY02KJGsu5FZt9YW/lybfK2uhWFI7Qg/07LekJiTv7iA==", + "dev": true, + "license": "MIT", + "dependencies": { + "meow": "^8.1.2", + "semver": "^7.0.0" + }, + "bin": { + "git-semver-tags": "cli.js" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/git-semver-tags/node_modules/semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/git-up": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/git-up/-/git-up-7.0.0.tgz", + "integrity": "sha512-ONdIrbBCFusq1Oy0sC71F5azx8bVkvtZtMJAsv+a6lz5YAmbNnLD6HAB4gptHZVLPR8S2/kVN6Gab7lryq5+lQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-ssh": "^1.4.0", + "parse-url": "^8.1.0" + } + }, + "node_modules/git-url-parse": { + "version": "13.1.0", + "resolved": "https://registry.npmjs.org/git-url-parse/-/git-url-parse-13.1.0.tgz", + "integrity": "sha512-5FvPJP/70WkIprlUZ33bm4UAaFdjcLkJLpWft1BeZKqwR0uhhNGoKwlUaPtVb4LxCSQ++erHapRak9kWGj+FCA==", + "dev": true, + "license": "MIT", + "dependencies": { + "git-up": "^7.0.0" + } + }, + "node_modules/gitconfiglocal": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz", + "integrity": "sha512-spLUXeTAVHxDtKsJc8FkFVgFtMdEN9qPGpL23VfSHx4fP4+Ds097IXLvymbnDH8FnmxX5Nr9bPw3A+AQ6mWEaQ==", + "dev": true, + "license": "BSD", + "dependencies": { + "ini": "^1.3.2" + } + }, + "node_modules/glob": { + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz", + "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/glob/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/glob/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/globby": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", + "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", + "dev": true, + "license": "MIT", + "dependencies": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.9", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/gopd": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "license": "ISC" + }, + "node_modules/grapheme-splitter": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", + "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/handlebars": { + "version": "4.7.8", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.8.tgz", + "integrity": "sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "minimist": "^1.2.5", + "neo-async": "^2.6.2", + "source-map": "^0.6.1", + "wordwrap": "^1.0.0" + }, + "bin": { + "handlebars": "bin/handlebars" + }, + "engines": { + "node": ">=0.4.7" + }, + "optionalDependencies": { + "uglify-js": "^3.1.4" + } + }, + "node_modules/hard-rejection": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", + "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/has-symbols": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.2.tgz", + "integrity": "sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-symbols": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-unicode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/hasown": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", + "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/he": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "license": "MIT", + "bin": { + "he": "bin/he" + } + }, + "node_modules/hosted-git-info": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", + "integrity": "sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/hosted-git-info/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/hosted-git-info/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true, + "license": "ISC" + }, + "node_modules/html-escaper": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", + "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", + "dev": true, + "license": "MIT" + }, + "node_modules/http-cache-semantics": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.2.0.tgz", + "integrity": "sha512-dTxcvPXqPvXBQpq5dUr6mEMJX4oIEFv6bwom3FDwKRDsuIjjJGANqhBuoAn9c1RQJIdAKav33ED65E2ys+87QQ==", + "dev": true, + "license": "BSD-2-Clause" + }, + "node_modules/http-proxy-agent": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", + "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@tootallnate/once": "2", + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/https-proxy-agent": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz", + "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "6", + "debug": "4" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=10.17.0" + } + }, + "node_modules/humanize-ms": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz", + "integrity": "sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.0.0" + } + }, + "node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "license": "MIT", + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "BSD-3-Clause" + }, + "node_modules/ignore": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz", + "integrity": "sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/ignore-walk": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-5.0.1.tgz", + "integrity": "sha512-yemi4pMf51WKT7khInJqAvsIGzoqYXblnsz0ql8tM+yi1EKYTY1evX4NAbJrLL/Aanr2HyZeluqU+Oi7MGHokw==", + "dev": true, + "license": "ISC", + "dependencies": { + "minimatch": "^5.0.1" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/ignore-walk/node_modules/brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/ignore-walk/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, + "license": "MIT", + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/import-fresh/node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/import-local": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz", + "integrity": "sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==", + "dev": true, + "license": "MIT", + "dependencies": { + "pkg-dir": "^4.2.0", + "resolve-cwd": "^3.0.0" + }, + "bin": { + "import-local-fixture": "fixtures/cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "license": "MIT", + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/indent-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/infer-owner": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz", + "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==", + "dev": true, + "license": "ISC" + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", + "license": "ISC", + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "license": "ISC" + }, + "node_modules/ini": { + "version": "1.3.8", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", + "dev": true, + "license": "ISC" + }, + "node_modules/init-package-json": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/init-package-json/-/init-package-json-5.0.0.tgz", + "integrity": "sha512-kBhlSheBfYmq3e0L1ii+VKe3zBTLL5lDCDWR+f9dLmEGSB3MqLlMlsolubSsyI88Bg6EA+BIMlomAnQ1SwgQBw==", + "dev": true, + "license": "ISC", + "dependencies": { + "npm-package-arg": "^10.0.0", + "promzard": "^1.0.0", + "read": "^2.0.0", + "read-package-json": "^6.0.0", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4", + "validate-npm-package-name": "^5.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/init-package-json/node_modules/hosted-git-info": { + "version": "6.1.3", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-6.1.3.tgz", + "integrity": "sha512-HVJyzUrLIL1c0QmviVh5E8VGyUS7xCFPS6yydaVd1UegW+ibV/CohqTH9MkOLDp5o+rb82DMo77PTuc9F/8GKw==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^7.5.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/init-package-json/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/init-package-json/node_modules/npm-package-arg": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-10.1.0.tgz", + "integrity": "sha512-uFyyCEmgBfZTtrKk/5xDfHp6+MdrqGotX/VoOyEEl3mBwiEE5FlBaePanazJSVMPT7vKepcjYBY2ztg9A3yPIA==", + "dev": true, + "license": "ISC", + "dependencies": { + "hosted-git-info": "^6.0.0", + "proc-log": "^3.0.0", + "semver": "^7.3.5", + "validate-npm-package-name": "^5.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/init-package-json/node_modules/semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/inquirer": { + "version": "8.2.6", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.6.tgz", + "integrity": "sha512-M1WuAmb7pn9zdFRtQYk26ZBoY043Sse0wVDdk4Bppr+JOXyQYybdtvK+l9wUibhtjdjvtoiNy8tk+EgsYIUqKg==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-escapes": "^4.2.1", + "chalk": "^4.1.1", + "cli-cursor": "^3.1.0", + "cli-width": "^3.0.0", + "external-editor": "^3.0.3", + "figures": "^3.0.0", + "lodash": "^4.17.21", + "mute-stream": "0.0.8", + "ora": "^5.4.1", + "run-async": "^2.4.0", + "rxjs": "^7.5.5", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0", + "through": "^2.3.6", + "wrap-ansi": "^6.0.1" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/inquirer/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/inquirer/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/inquirer/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/inquirer/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/inquirer/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/inquirer/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/inquirerer": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/inquirerer/-/inquirerer-1.9.0.tgz", + "integrity": "sha512-/LAn/F70YvRQZWz9r1q1seoO2oRMiSCSK8xKHGlkNebSibx5FppUKZLEjXgkCy1tgccas933q/Y7qNccFxrYkw==", + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "chalk": "^4.1.0", + "deepmerge": "^4.3.1", + "js-yaml": "^4.1.0", + "minimist": "^1.2.8" + } + }, + "node_modules/inquirerer/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/inquirerer/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "license": "Python-2.0" + }, + "node_modules/inquirerer/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/inquirerer/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/inquirerer/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "license": "MIT" + }, + "node_modules/inquirerer/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/inquirerer/node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/inquirerer/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/ip-address": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz", + "integrity": "sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g==", + "dev": true, + "license": "MIT", + "dependencies": { + "jsbn": "1.1.0", + "sprintf-js": "^1.1.3" + }, + "engines": { + "node": ">= 12" + } + }, + "node_modules/ip-address/node_modules/sprintf-js": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz", + "integrity": "sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", + "dev": true, + "license": "MIT" + }, + "node_modules/is-ci": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-3.0.1.tgz", + "integrity": "sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ci-info": "^3.2.0" + }, + "bin": { + "is-ci": "bin.js" + } + }, + "node_modules/is-core-module": { + "version": "2.13.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz", + "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==", + "dev": true, + "license": "MIT", + "dependencies": { + "hasown": "^2.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", + "dev": true, + "license": "MIT", + "bin": { + "is-docker": "cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-generator-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz", + "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-interactive": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", + "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-lambda": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz", + "integrity": "sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-obj": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", + "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-plain-obj": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", + "integrity": "sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-plain-object": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", + "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-ssh": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/is-ssh/-/is-ssh-1.4.1.tgz", + "integrity": "sha512-JNeu1wQsHjyHgn9NcWTaXq6zWSR6hqE0++zhfZlkFBbScNkyvxCdeV8sRkSBaeLKxmbpR21brail63ACNxJ0Tg==", + "dev": true, + "license": "MIT", + "dependencies": { + "protocols": "^2.0.1" + } + }, + "node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-text-path": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz", + "integrity": "sha512-xFuJpne9oFz5qDaodwmmG08e3CawH/2ZV8Qqza1Ko7Sk8POWbkRdwIoAWVhqvq0XeUzANEhKo2n0IXUGBm7A/w==", + "dev": true, + "license": "MIT", + "dependencies": { + "text-extensions": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-wsl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-docker": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true, + "license": "ISC" + }, + "node_modules/isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/istanbul-lib-coverage": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", + "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-instrument": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz", + "integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==", + "license": "BSD-3-Clause", + "dependencies": { + "@babel/core": "^7.12.3", + "@babel/parser": "^7.14.7", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-coverage": "^3.2.0", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-report": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz", + "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "istanbul-lib-coverage": "^3.0.0", + "make-dir": "^4.0.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/istanbul-lib-report/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-report/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-source-maps": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", + "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "debug": "^4.1.1", + "istanbul-lib-coverage": "^3.0.0", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/istanbul-reports": { + "version": "3.1.7", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.7.tgz", + "integrity": "sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "html-escaper": "^2.0.0", + "istanbul-lib-report": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jackspeak": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz", + "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, + "node_modules/jake": { + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/jake/-/jake-10.9.2.tgz", + "integrity": "sha512-2P4SQ0HrLQ+fw6llpLnOaGAvN2Zu6778SJMrCUwns4fOoG9ayrTiZk3VV8sCPkVZF8ab0zksVpS8FDY5pRCNBA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "async": "^3.2.3", + "chalk": "^4.0.2", + "filelist": "^1.0.4", + "minimatch": "^3.1.2" + }, + "bin": { + "jake": "bin/cli.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/jake/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jake/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jake/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jake/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/jake/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/jake/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest": { + "version": "29.5.0", + "resolved": "https://registry.npmjs.org/jest/-/jest-29.5.0.tgz", + "integrity": "sha512-juMg3he2uru1QoXX078zTa7pO85QyB9xajZc6bU+d9yEGwrKX6+vGmJQ3UdVZsvTEUARIdObzH68QItim6OSSQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/core": "^29.5.0", + "@jest/types": "^29.5.0", + "import-local": "^3.0.2", + "jest-cli": "^29.5.0" + }, + "bin": { + "jest": "bin/jest.js" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "node_modules/jest-changed-files": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-29.7.0.tgz", + "integrity": "sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==", + "dev": true, + "license": "MIT", + "dependencies": { + "execa": "^5.0.0", + "jest-util": "^29.7.0", + "p-limit": "^3.1.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-circus": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-29.7.0.tgz", + "integrity": "sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/environment": "^29.7.0", + "@jest/expect": "^29.7.0", + "@jest/test-result": "^29.7.0", + "@jest/types": "^29.6.3", + "@types/node": "*", + "chalk": "^4.0.0", + "co": "^4.6.0", + "dedent": "^1.0.0", + "is-generator-fn": "^2.0.0", + "jest-each": "^29.7.0", + "jest-matcher-utils": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-runtime": "^29.7.0", + "jest-snapshot": "^29.7.0", + "jest-util": "^29.7.0", + "p-limit": "^3.1.0", + "pretty-format": "^29.7.0", + "pure-rand": "^6.0.0", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-circus/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-circus/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-circus/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-circus/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/jest-circus/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-circus/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-cli": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-29.7.0.tgz", + "integrity": "sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/core": "^29.7.0", + "@jest/test-result": "^29.7.0", + "@jest/types": "^29.6.3", + "chalk": "^4.0.0", + "create-jest": "^29.7.0", + "exit": "^0.1.2", + "import-local": "^3.0.2", + "jest-config": "^29.7.0", + "jest-util": "^29.7.0", + "jest-validate": "^29.7.0", + "yargs": "^17.3.1" + }, + "bin": { + "jest": "bin/jest.js" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "node_modules/jest-cli/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-cli/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-cli/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-cli/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/jest-cli/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-cli/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-config": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-29.7.0.tgz", + "integrity": "sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.11.6", + "@jest/test-sequencer": "^29.7.0", + "@jest/types": "^29.6.3", + "babel-jest": "^29.7.0", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "deepmerge": "^4.2.2", + "glob": "^7.1.3", + "graceful-fs": "^4.2.9", + "jest-circus": "^29.7.0", + "jest-environment-node": "^29.7.0", + "jest-get-type": "^29.6.3", + "jest-regex-util": "^29.6.3", + "jest-resolve": "^29.7.0", + "jest-runner": "^29.7.0", + "jest-util": "^29.7.0", + "jest-validate": "^29.7.0", + "micromatch": "^4.0.4", + "parse-json": "^5.2.0", + "pretty-format": "^29.7.0", + "slash": "^3.0.0", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "peerDependencies": { + "@types/node": "*", + "ts-node": ">=9.0.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "ts-node": { + "optional": true + } + } + }, + "node_modules/jest-config/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-config/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-config/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-config/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/jest-config/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/jest-config/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-config/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-diff": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz", + "integrity": "sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.0.0", + "diff-sequences": "^29.6.3", + "jest-get-type": "^29.6.3", + "pretty-format": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-diff/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-diff/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-diff/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-diff/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/jest-diff/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-diff/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-docblock": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.7.0.tgz", + "integrity": "sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==", + "dev": true, + "license": "MIT", + "dependencies": { + "detect-newline": "^3.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-each": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-29.7.0.tgz", + "integrity": "sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.3", + "chalk": "^4.0.0", + "jest-get-type": "^29.6.3", + "jest-util": "^29.7.0", + "pretty-format": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-each/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-each/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-each/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-each/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/jest-each/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-each/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-environment-node": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.7.0.tgz", + "integrity": "sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/environment": "^29.7.0", + "@jest/fake-timers": "^29.7.0", + "@jest/types": "^29.6.3", + "@types/node": "*", + "jest-mock": "^29.7.0", + "jest-util": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-get-type": { + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.6.3.tgz", + "integrity": "sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-haste-map": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.7.0.tgz", + "integrity": "sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==", + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.3", + "@types/graceful-fs": "^4.1.3", + "@types/node": "*", + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "graceful-fs": "^4.2.9", + "jest-regex-util": "^29.6.3", + "jest-util": "^29.7.0", + "jest-worker": "^29.7.0", + "micromatch": "^4.0.4", + "walker": "^1.0.8" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + }, + "optionalDependencies": { + "fsevents": "^2.3.2" + } + }, + "node_modules/jest-in-case": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/jest-in-case/-/jest-in-case-1.0.2.tgz", + "integrity": "sha512-2DE6Gdwnh5jkCYTePWoQinF+zne3lCADibXoYJEt8PS84JaRug0CyAOrEgzMxbzln3YcSY2PBeru7ct4tbflYA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/jest-leak-detector": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz", + "integrity": "sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==", + "dev": true, + "license": "MIT", + "dependencies": { + "jest-get-type": "^29.6.3", + "pretty-format": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-matcher-utils": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz", + "integrity": "sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.0.0", + "jest-diff": "^29.7.0", + "jest-get-type": "^29.6.3", + "pretty-format": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-matcher-utils/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-matcher-utils/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-matcher-utils/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-matcher-utils/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/jest-matcher-utils/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-matcher-utils/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-message-util": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.7.0.tgz", + "integrity": "sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.12.13", + "@jest/types": "^29.6.3", + "@types/stack-utils": "^2.0.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "micromatch": "^4.0.4", + "pretty-format": "^29.7.0", + "slash": "^3.0.0", + "stack-utils": "^2.0.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-message-util/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-message-util/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-message-util/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-message-util/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/jest-message-util/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-message-util/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-mock": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.7.0.tgz", + "integrity": "sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.3", + "@types/node": "*", + "jest-util": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-pnp-resolver": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz", + "integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + }, + "peerDependencies": { + "jest-resolve": "*" + }, + "peerDependenciesMeta": { + "jest-resolve": { + "optional": true + } + } + }, + "node_modules/jest-regex-util": { + "version": "29.6.3", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.6.3.tgz", + "integrity": "sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==", + "license": "MIT", + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-resolve": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.7.0.tgz", + "integrity": "sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.0.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.7.0", + "jest-pnp-resolver": "^1.2.2", + "jest-util": "^29.7.0", + "jest-validate": "^29.7.0", + "resolve": "^1.20.0", + "resolve.exports": "^2.0.0", + "slash": "^3.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-resolve-dependencies": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-29.7.0.tgz", + "integrity": "sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==", + "dev": true, + "license": "MIT", + "dependencies": { + "jest-regex-util": "^29.6.3", + "jest-snapshot": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-resolve/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-resolve/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-resolve/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-resolve/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/jest-resolve/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-resolve/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-runner": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-29.7.0.tgz", + "integrity": "sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/console": "^29.7.0", + "@jest/environment": "^29.7.0", + "@jest/test-result": "^29.7.0", + "@jest/transform": "^29.7.0", + "@jest/types": "^29.6.3", + "@types/node": "*", + "chalk": "^4.0.0", + "emittery": "^0.13.1", + "graceful-fs": "^4.2.9", + "jest-docblock": "^29.7.0", + "jest-environment-node": "^29.7.0", + "jest-haste-map": "^29.7.0", + "jest-leak-detector": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-resolve": "^29.7.0", + "jest-runtime": "^29.7.0", + "jest-util": "^29.7.0", + "jest-watcher": "^29.7.0", + "jest-worker": "^29.7.0", + "p-limit": "^3.1.0", + "source-map-support": "0.5.13" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-runner/node_modules/@jest/transform": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.7.0.tgz", + "integrity": "sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.11.6", + "@jest/types": "^29.6.3", + "@jridgewell/trace-mapping": "^0.3.18", + "babel-plugin-istanbul": "^6.1.1", + "chalk": "^4.0.0", + "convert-source-map": "^2.0.0", + "fast-json-stable-stringify": "^2.1.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.7.0", + "jest-regex-util": "^29.6.3", + "jest-util": "^29.7.0", + "micromatch": "^4.0.4", + "pirates": "^4.0.4", + "slash": "^3.0.0", + "write-file-atomic": "^4.0.2" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-runner/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-runner/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-runner/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-runner/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/jest-runner/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-runner/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-runtime": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-29.7.0.tgz", + "integrity": "sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/environment": "^29.7.0", + "@jest/fake-timers": "^29.7.0", + "@jest/globals": "^29.7.0", + "@jest/source-map": "^29.6.3", + "@jest/test-result": "^29.7.0", + "@jest/transform": "^29.7.0", + "@jest/types": "^29.6.3", + "@types/node": "*", + "chalk": "^4.0.0", + "cjs-module-lexer": "^1.0.0", + "collect-v8-coverage": "^1.0.0", + "glob": "^7.1.3", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-mock": "^29.7.0", + "jest-regex-util": "^29.6.3", + "jest-resolve": "^29.7.0", + "jest-snapshot": "^29.7.0", + "jest-util": "^29.7.0", + "slash": "^3.0.0", + "strip-bom": "^4.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-runtime/node_modules/@jest/transform": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.7.0.tgz", + "integrity": "sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.11.6", + "@jest/types": "^29.6.3", + "@jridgewell/trace-mapping": "^0.3.18", + "babel-plugin-istanbul": "^6.1.1", + "chalk": "^4.0.0", + "convert-source-map": "^2.0.0", + "fast-json-stable-stringify": "^2.1.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.7.0", + "jest-regex-util": "^29.6.3", + "jest-util": "^29.7.0", + "micromatch": "^4.0.4", + "pirates": "^4.0.4", + "slash": "^3.0.0", + "write-file-atomic": "^4.0.2" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-runtime/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-runtime/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-runtime/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-runtime/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/jest-runtime/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/jest-runtime/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-runtime/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-snapshot": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.7.0.tgz", + "integrity": "sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.11.6", + "@babel/generator": "^7.7.2", + "@babel/plugin-syntax-jsx": "^7.7.2", + "@babel/plugin-syntax-typescript": "^7.7.2", + "@babel/types": "^7.3.3", + "@jest/expect-utils": "^29.7.0", + "@jest/transform": "^29.7.0", + "@jest/types": "^29.6.3", + "babel-preset-current-node-syntax": "^1.0.0", + "chalk": "^4.0.0", + "expect": "^29.7.0", + "graceful-fs": "^4.2.9", + "jest-diff": "^29.7.0", + "jest-get-type": "^29.6.3", + "jest-matcher-utils": "^29.7.0", + "jest-message-util": "^29.7.0", + "jest-util": "^29.7.0", + "natural-compare": "^1.4.0", + "pretty-format": "^29.7.0", + "semver": "^7.5.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-snapshot/node_modules/@jest/transform": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.7.0.tgz", + "integrity": "sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.11.6", + "@jest/types": "^29.6.3", + "@jridgewell/trace-mapping": "^0.3.18", + "babel-plugin-istanbul": "^6.1.1", + "chalk": "^4.0.0", + "convert-source-map": "^2.0.0", + "fast-json-stable-stringify": "^2.1.0", + "graceful-fs": "^4.2.9", + "jest-haste-map": "^29.7.0", + "jest-regex-util": "^29.6.3", + "jest-util": "^29.7.0", + "micromatch": "^4.0.4", + "pirates": "^4.0.4", + "slash": "^3.0.0", + "write-file-atomic": "^4.0.2" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-snapshot/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-snapshot/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-snapshot/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-snapshot/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/jest-snapshot/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-snapshot/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/jest-snapshot/node_modules/semver": { + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/jest-snapshot/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-snapshot/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true, + "license": "ISC" + }, + "node_modules/jest-util": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.7.0.tgz", + "integrity": "sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==", + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.3", + "@types/node": "*", + "chalk": "^4.0.0", + "ci-info": "^3.2.0", + "graceful-fs": "^4.2.9", + "picomatch": "^2.2.3" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-util/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-util/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-util/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-util/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "license": "MIT" + }, + "node_modules/jest-util/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-util/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-validate": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.7.0.tgz", + "integrity": "sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "^29.6.3", + "camelcase": "^6.2.0", + "chalk": "^4.0.0", + "jest-get-type": "^29.6.3", + "leven": "^3.1.0", + "pretty-format": "^29.7.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-validate/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-validate/node_modules/camelcase": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/jest-validate/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-validate/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-validate/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/jest-validate/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-validate/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-watcher": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.7.0.tgz", + "integrity": "sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/test-result": "^29.7.0", + "@jest/types": "^29.6.3", + "@types/node": "*", + "ansi-escapes": "^4.2.1", + "chalk": "^4.0.0", + "emittery": "^0.13.1", + "jest-util": "^29.7.0", + "string-length": "^4.0.1" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-watcher/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/jest-watcher/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/jest-watcher/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/jest-watcher/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/jest-watcher/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-watcher/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-worker": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.7.0.tgz", + "integrity": "sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==", + "license": "MIT", + "dependencies": { + "@types/node": "*", + "jest-util": "^29.7.0", + "merge-stream": "^2.0.0", + "supports-color": "^8.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/jest-worker/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-worker/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/js-sdsl": { + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/js-sdsl/-/js-sdsl-4.4.2.tgz", + "integrity": "sha512-dwXFwByc/ajSV6m5bcKAPwe4yDDF6D614pxmIi5odytzxRlwqF6nwoiCek80Ixc7Cvma5awClxrzFtxCQvcM8w==", + "dev": true, + "license": "MIT", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/js-sdsl" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "license": "MIT" + }, + "node_modules/js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "license": "MIT", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/js2xmlparser": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/js2xmlparser/-/js2xmlparser-4.0.2.tgz", + "integrity": "sha512-6n4D8gLlLf1n5mNLQPRfViYzu9RATblzPEtm1SthMX1Pjao0r9YI9nw7ZIfRxQMERS87mcswrg+r/OYrPRX6jA==", + "license": "Apache-2.0", + "dependencies": { + "xmlcreate": "^2.0.4" + } + }, + "node_modules/jsbn": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz", + "integrity": "sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A==", + "dev": true, + "license": "MIT" + }, + "node_modules/jsdoc": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/jsdoc/-/jsdoc-4.0.4.tgz", + "integrity": "sha512-zeFezwyXeG4syyYHbvh1A967IAqq/67yXtXvuL5wnqCkFZe8I0vKfm+EO+YEvLguo6w9CDUbrAXVtJSHh2E8rw==", + "license": "Apache-2.0", + "dependencies": { + "@babel/parser": "^7.20.15", + "@jsdoc/salty": "^0.2.1", + "@types/markdown-it": "^14.1.1", + "bluebird": "^3.7.2", + "catharsis": "^0.9.0", + "escape-string-regexp": "^2.0.0", + "js2xmlparser": "^4.0.2", + "klaw": "^3.0.0", + "markdown-it": "^14.1.0", + "markdown-it-anchor": "^8.6.7", + "marked": "^4.0.10", + "mkdirp": "^1.0.4", + "requizzle": "^0.2.3", + "strip-json-comments": "^3.1.0", + "underscore": "~1.13.2" + }, + "bin": { + "jsdoc": "jsdoc.js" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/jsdoc/node_modules/escape-string-regexp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", + "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/jsdoc/node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "license": "MIT", + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "license": "MIT", + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/json-buffer": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", + "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-parse-better-errors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==", + "dev": true, + "license": "ISC" + }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "license": "MIT", + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/jsonc-parser": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", + "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", + "dev": true, + "license": "MIT" + }, + "node_modules/jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/jsonparse": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", + "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==", + "dev": true, + "engines": [ + "node >= 0.2.0" + ], + "license": "MIT" + }, + "node_modules/JSONStream": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", + "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", + "dev": true, + "license": "(MIT OR Apache-2.0)", + "dependencies": { + "jsonparse": "^1.2.0", + "through": ">=2.2.7 <3" + }, + "bin": { + "JSONStream": "bin.js" + }, + "engines": { + "node": "*" + } + }, + "node_modules/keyv": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", + "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "dev": true, + "license": "MIT", + "dependencies": { + "json-buffer": "3.0.1" + } + }, + "node_modules/kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/klaw": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/klaw/-/klaw-3.0.0.tgz", + "integrity": "sha512-0Fo5oir+O9jnXu5EefYbVK+mHMBeEVEy2cmctR1O1NECcCkPRreJKrS6Qt/j3KC2C148Dfo9i3pCmCMsdqGr0g==", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.9" + } + }, + "node_modules/kleur": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", + "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/lerna": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/lerna/-/lerna-7.0.2.tgz", + "integrity": "sha512-omFpf1pTiaObC2YOC7K+euaDwhQA9CyKN1kXxmlSwaSkh8b8QTs4SC8jp3oNeXfcHpVS1ttuuz98AvQvJD46wA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@lerna/child-process": "7.0.2", + "@lerna/create": "7.0.2", + "@npmcli/run-script": "6.0.2", + "@nx/devkit": ">=16.1.3 < 17", + "@octokit/plugin-enterprise-rest": "6.0.1", + "@octokit/rest": "19.0.11", + "byte-size": "8.1.1", + "chalk": "4.1.0", + "clone-deep": "4.0.1", + "cmd-shim": "6.0.1", + "columnify": "1.6.0", + "conventional-changelog-angular": "6.0.0", + "conventional-changelog-core": "5.0.1", + "conventional-recommended-bump": "7.0.1", + "cosmiconfig": "^8.2.0", + "dedent": "0.7.0", + "envinfo": "7.8.1", + "execa": "5.0.0", + "fs-extra": "^11.1.1", + "get-port": "5.1.1", + "get-stream": "6.0.0", + "git-url-parse": "13.1.0", + "glob-parent": "5.1.2", + "globby": "11.1.0", + "graceful-fs": "4.2.11", + "has-unicode": "2.0.1", + "import-local": "3.1.0", + "ini": "^1.3.8", + "init-package-json": "5.0.0", + "inquirer": "^8.2.4", + "is-ci": "3.0.1", + "is-stream": "2.0.0", + "jest-diff": ">=29.4.3 < 30", + "js-yaml": "4.1.0", + "libnpmaccess": "7.0.2", + "libnpmpublish": "7.3.0", + "load-json-file": "6.2.0", + "make-dir": "3.1.0", + "minimatch": "3.0.5", + "multimatch": "5.0.0", + "node-fetch": "2.6.7", + "npm-package-arg": "8.1.1", + "npm-packlist": "5.1.1", + "npm-registry-fetch": "^14.0.5", + "npmlog": "^6.0.2", + "nx": ">=16.1.3 < 17", + "p-map": "4.0.0", + "p-map-series": "2.1.0", + "p-pipe": "3.1.0", + "p-queue": "6.6.2", + "p-reduce": "2.1.0", + "p-waterfall": "2.1.1", + "pacote": "^15.2.0", + "pify": "5.0.0", + "read-cmd-shim": "4.0.0", + "read-package-json": "6.0.4", + "resolve-from": "5.0.0", + "rimraf": "^4.4.1", + "semver": "^7.3.8", + "signal-exit": "3.0.7", + "slash": "3.0.0", + "ssri": "^9.0.1", + "strong-log-transformer": "2.1.0", + "tar": "6.1.11", + "temp-dir": "1.0.0", + "typescript": ">=3 < 6", + "upath": "2.0.1", + "uuid": "^9.0.0", + "validate-npm-package-license": "3.0.4", + "validate-npm-package-name": "5.0.0", + "write-file-atomic": "5.0.1", + "write-pkg": "4.0.0", + "yargs": "16.2.0", + "yargs-parser": "20.2.4" + }, + "bin": { + "lerna": "dist/cli.js" + }, + "engines": { + "node": "^14.17.0 || >=16.0.0" + } + }, + "node_modules/lerna/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/lerna/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, + "license": "Python-2.0" + }, + "node_modules/lerna/node_modules/chalk": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", + "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/lerna/node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/lerna/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/lerna/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/lerna/node_modules/dedent": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", + "integrity": "sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==", + "dev": true, + "license": "MIT" + }, + "node_modules/lerna/node_modules/execa": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.0.0.tgz", + "integrity": "sha512-ov6w/2LCiuyO4RLYGdpFGjkcs0wMTgGE8PrkTHikeUy5iJekXyPIKUjifk5CsE0pt7sMCrMZ3YNqoCj6idQOnQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/lerna/node_modules/get-stream": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.0.tgz", + "integrity": "sha512-A1B3Bh1UmL0bidM/YX2NsCOTnGJePL9rO/M+Mw3m9f2gUpfokS0hi5Eah0WSUEWZdZhIZtMjkIYS7mDfOqNHbg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lerna/node_modules/glob": { + "version": "9.3.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-9.3.5.tgz", + "integrity": "sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q==", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "minimatch": "^8.0.2", + "minipass": "^4.2.4", + "path-scurry": "^1.6.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/lerna/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "license": "ISC", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/lerna/node_modules/glob/node_modules/brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/lerna/node_modules/glob/node_modules/minimatch": { + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-8.0.4.tgz", + "integrity": "sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/lerna/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/lerna/node_modules/is-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", + "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/lerna/node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/lerna/node_modules/make-dir": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", + "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "dev": true, + "license": "MIT", + "dependencies": { + "semver": "^6.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lerna/node_modules/make-dir/node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/lerna/node_modules/minimatch": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.5.tgz", + "integrity": "sha512-tUpxzX0VAzJHjLu0xUfFv1gwVp9ba3IOuRAVH2EGuRW8a5emA2FlACLqiT/lDVtS1W+TGNwqz3sWaNyLgDJWuw==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/lerna/node_modules/minipass": { + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-4.2.8.tgz", + "integrity": "sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "node_modules/lerna/node_modules/rimraf": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-4.4.1.tgz", + "integrity": "sha512-Gk8NlF062+T9CqNGn6h4tls3k6T1+/nXdOcSZVikNVtlRdYpA7wRJJMoXmuvOnLW844rPjdQ7JgXCYM6PPC/og==", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^9.2.0" + }, + "bin": { + "rimraf": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/lerna/node_modules/semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/lerna/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/lerna/node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/lerna/node_modules/write-file-atomic": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz", + "integrity": "sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==", + "dev": true, + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/lerna/node_modules/write-file-atomic/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/lerna/node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/leven": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", + "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/libnpmaccess": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/libnpmaccess/-/libnpmaccess-7.0.2.tgz", + "integrity": "sha512-vHBVMw1JFMTgEk15zRsJuSAg7QtGGHpUSEfnbcRL1/gTBag9iEfJbyjpDmdJmwMhvpoLoNBtdAUCdGnaP32hhw==", + "dev": true, + "license": "ISC", + "dependencies": { + "npm-package-arg": "^10.1.0", + "npm-registry-fetch": "^14.0.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/libnpmaccess/node_modules/hosted-git-info": { + "version": "6.1.3", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-6.1.3.tgz", + "integrity": "sha512-HVJyzUrLIL1c0QmviVh5E8VGyUS7xCFPS6yydaVd1UegW+ibV/CohqTH9MkOLDp5o+rb82DMo77PTuc9F/8GKw==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^7.5.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/libnpmaccess/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/libnpmaccess/node_modules/npm-package-arg": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-10.1.0.tgz", + "integrity": "sha512-uFyyCEmgBfZTtrKk/5xDfHp6+MdrqGotX/VoOyEEl3mBwiEE5FlBaePanazJSVMPT7vKepcjYBY2ztg9A3yPIA==", + "dev": true, + "license": "ISC", + "dependencies": { + "hosted-git-info": "^6.0.0", + "proc-log": "^3.0.0", + "semver": "^7.3.5", + "validate-npm-package-name": "^5.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/libnpmaccess/node_modules/semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/libnpmpublish": { + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/libnpmpublish/-/libnpmpublish-7.3.0.tgz", + "integrity": "sha512-fHUxw5VJhZCNSls0KLNEG0mCD2PN1i14gH5elGOgiVnU3VgTcRahagYP2LKI1m0tFCJ+XrAm0zVYyF5RCbXzcg==", + "dev": true, + "license": "ISC", + "dependencies": { + "ci-info": "^3.6.1", + "normalize-package-data": "^5.0.0", + "npm-package-arg": "^10.1.0", + "npm-registry-fetch": "^14.0.3", + "proc-log": "^3.0.0", + "semver": "^7.3.7", + "sigstore": "^1.4.0", + "ssri": "^10.0.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/libnpmpublish/node_modules/hosted-git-info": { + "version": "6.1.3", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-6.1.3.tgz", + "integrity": "sha512-HVJyzUrLIL1c0QmviVh5E8VGyUS7xCFPS6yydaVd1UegW+ibV/CohqTH9MkOLDp5o+rb82DMo77PTuc9F/8GKw==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^7.5.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/libnpmpublish/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/libnpmpublish/node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/libnpmpublish/node_modules/normalize-package-data": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-5.0.0.tgz", + "integrity": "sha512-h9iPVIfrVZ9wVYQnxFgtw1ugSvGEMOlyPWWtm8BMJhnwyEL/FLbYbTY3V3PpjI/BUK67n9PEWDu6eHzu1fB15Q==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^6.0.0", + "is-core-module": "^2.8.1", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/libnpmpublish/node_modules/npm-package-arg": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-10.1.0.tgz", + "integrity": "sha512-uFyyCEmgBfZTtrKk/5xDfHp6+MdrqGotX/VoOyEEl3mBwiEE5FlBaePanazJSVMPT7vKepcjYBY2ztg9A3yPIA==", + "dev": true, + "license": "ISC", + "dependencies": { + "hosted-git-info": "^6.0.0", + "proc-log": "^3.0.0", + "semver": "^7.3.5", + "validate-npm-package-name": "^5.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/libnpmpublish/node_modules/semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/libnpmpublish/node_modules/ssri": { + "version": "10.0.6", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.6.tgz", + "integrity": "sha512-MGrFH9Z4NP9Iyhqn16sDtBpRRNJ0Y2hNa6D65h736fVSaPCHr4DM4sWUNvVaSuC+0OBGhwsrydQwmgfg5LncqQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/lines-and-columns": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-2.0.4.tgz", + "integrity": "sha512-wM1+Z03eypVAVUCE7QdSqpVIvelbOakn1M0bPDoA4SGWPx3sNDVUiMo3L6To6WWGClB7VyXnhQ4Sn7gxiJbE6A==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + } + }, + "node_modules/linkify-it": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-5.0.0.tgz", + "integrity": "sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==", + "license": "MIT", + "dependencies": { + "uc.micro": "^2.0.0" + } + }, + "node_modules/load-json-file": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-6.2.0.tgz", + "integrity": "sha512-gUD/epcRms75Cw8RT1pUdHugZYM5ce64ucs2GEISABwkRsOQr0q2wm/MV2TKThycIe5e0ytRweW2RZxclogCdQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.15", + "parse-json": "^5.0.0", + "strip-bom": "^4.0.0", + "type-fest": "^0.6.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/load-json-file/node_modules/type-fest": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", + "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=8" + } + }, + "node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "license": "MIT", + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "license": "MIT" + }, + "node_modules/lodash.ismatch": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz", + "integrity": "sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.memoize": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", + "integrity": "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==", + "dev": true, + "license": "MIT" + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/log-symbols/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/log-symbols/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/log-symbols/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/log-symbols/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/log-symbols/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/log-symbols/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/long": { + "version": "5.2.3", + "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", + "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==", + "license": "Apache-2.0" + }, + "node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/make-dir": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz", + "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==", + "dev": true, + "license": "MIT", + "dependencies": { + "semver": "^7.5.3" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/make-dir/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/make-dir/node_modules/semver": { + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/make-dir/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true, + "license": "ISC" + }, + "node_modules/make-error": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", + "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", + "dev": true, + "license": "ISC" + }, + "node_modules/make-fetch-happen": { + "version": "10.2.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-10.2.1.tgz", + "integrity": "sha512-NgOPbRiaQM10DYXvN3/hhGVI2M5MtITFryzBGxHM5p4wnFxsVCbxkrBrDsk+EZ5OB4jEOT7AjDxtdF+KVEFT7w==", + "dev": true, + "license": "ISC", + "dependencies": { + "agentkeepalive": "^4.2.1", + "cacache": "^16.1.0", + "http-cache-semantics": "^4.1.0", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^3.1.6", + "minipass-collect": "^1.0.2", + "minipass-fetch": "^2.0.3", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^9.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/make-fetch-happen/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/makeerror": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz", + "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==", + "license": "BSD-3-Clause", + "dependencies": { + "tmpl": "1.0.5" + } + }, + "node_modules/map-obj": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz", + "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/markdown-it": { + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-14.1.0.tgz", + "integrity": "sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==", + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1", + "entities": "^4.4.0", + "linkify-it": "^5.0.0", + "mdurl": "^2.0.0", + "punycode.js": "^2.3.1", + "uc.micro": "^2.1.0" + }, + "bin": { + "markdown-it": "bin/markdown-it.mjs" + } + }, + "node_modules/markdown-it-anchor": { + "version": "8.6.7", + "resolved": "https://registry.npmjs.org/markdown-it-anchor/-/markdown-it-anchor-8.6.7.tgz", + "integrity": "sha512-FlCHFwNnutLgVTflOYHPW2pPcl2AACqVzExlkGQNsi4CJgqOHN7YTgDd4LuhgN1BFO3TS0vLAruV1Td6dwWPJA==", + "license": "Unlicense", + "peerDependencies": { + "@types/markdown-it": "*", + "markdown-it": "*" + } + }, + "node_modules/markdown-it/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "license": "Python-2.0" + }, + "node_modules/marked": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz", + "integrity": "sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==", + "license": "MIT", + "bin": { + "marked": "bin/marked.js" + }, + "engines": { + "node": ">= 12" + } + }, + "node_modules/math-intrinsics": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", + "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/mdurl": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-2.0.0.tgz", + "integrity": "sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==", + "license": "MIT" + }, + "node_modules/meow": { + "version": "8.1.2", + "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz", + "integrity": "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/minimist": "^1.2.0", + "camelcase-keys": "^6.2.2", + "decamelize-keys": "^1.1.0", + "hard-rejection": "^2.1.0", + "minimist-options": "4.1.0", + "normalize-package-data": "^3.0.0", + "read-pkg-up": "^7.0.1", + "redent": "^3.0.0", + "trim-newlines": "^3.0.0", + "type-fest": "^0.18.0", + "yargs-parser": "^20.2.3" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/meow/node_modules/hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true, + "license": "ISC" + }, + "node_modules/meow/node_modules/read-pkg": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", + "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^5.0.0", + "type-fest": "^0.6.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/meow/node_modules/read-pkg-up": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", + "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^4.1.0", + "read-pkg": "^5.2.0", + "type-fest": "^0.8.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/meow/node_modules/read-pkg-up/node_modules/type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=8" + } + }, + "node_modules/meow/node_modules/read-pkg/node_modules/normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "node_modules/meow/node_modules/read-pkg/node_modules/type-fest": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", + "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=8" + } + }, + "node_modules/meow/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/meow/node_modules/type-fest": { + "version": "0.18.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz", + "integrity": "sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "license": "MIT" + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 8" + } + }, + "node_modules/micromatch": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", + "license": "MIT", + "dependencies": { + "braces": "^3.0.3", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dev": true, + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/min-indent": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", + "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/minimist-options": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", + "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", + "dev": true, + "license": "MIT", + "dependencies": { + "arrify": "^1.0.1", + "is-plain-obj": "^1.1.0", + "kind-of": "^6.0.3" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/minipass": { + "version": "3.3.6", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", + "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/minipass-collect": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz", + "integrity": "sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/minipass-fetch": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-2.1.2.tgz", + "integrity": "sha512-LT49Zi2/WMROHYoqGgdlQIZh8mLPZmOrN2NdJjMXxYe4nkN6FUyuPuOAOedNJDrx0IRGg9+4guZewtp8hE6TxA==", + "dev": true, + "license": "MIT", + "dependencies": { + "minipass": "^3.1.6", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + }, + "optionalDependencies": { + "encoding": "^0.1.13" + } + }, + "node_modules/minipass-flush": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz", + "integrity": "sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/minipass-json-stream": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/minipass-json-stream/-/minipass-json-stream-1.0.2.tgz", + "integrity": "sha512-myxeeTm57lYs8pH2nxPzmEEg8DGIgW+9mv6D4JZD2pa81I/OBjeU7PtICXV6c9eRGTA5JMDsuIPUZRCyBMYNhg==", + "dev": true, + "license": "MIT", + "dependencies": { + "jsonparse": "^1.3.1", + "minipass": "^3.0.0" + } + }, + "node_modules/minipass-pipeline": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz", + "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/minipass-sized": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz", + "integrity": "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/minipass/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true, + "license": "ISC" + }, + "node_modules/minizlib": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", + "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", + "dev": true, + "license": "MIT", + "dependencies": { + "minipass": "^3.0.0", + "yallist": "^4.0.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/minizlib/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true, + "license": "ISC" + }, + "node_modules/mkdirp": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.1.tgz", + "integrity": "sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==", + "license": "MIT", + "bin": { + "mkdirp": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/modify-values": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz", + "integrity": "sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "license": "MIT" + }, + "node_modules/multimatch": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/multimatch/-/multimatch-5.0.0.tgz", + "integrity": "sha512-ypMKuglUrZUD99Tk2bUQ+xNQj43lPEfAeX2o9cTteAmShXy2VHDJpuwu1o0xqoKCt9jLVAvwyFKdLTPXKAfJyA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/minimatch": "^3.0.3", + "array-differ": "^3.0.0", + "array-union": "^2.1.0", + "arrify": "^2.0.1", + "minimatch": "^3.0.4" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/multimatch/node_modules/arrify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", + "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/mute-stream": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", + "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", + "dev": true, + "license": "ISC" + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true, + "license": "MIT" + }, + "node_modules/negotiator": { + "version": "0.6.4", + "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.4.tgz", + "integrity": "sha512-myRT3DiWPHqho5PrJaIRyaMv2kgYf0mUVgBNOYMuCH5Ki1yEiQaf/ZJuQ62nvpc44wL5WDbTX7yGJi1Neevw8w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/neo-async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "dev": true, + "license": "MIT" + }, + "node_modules/nested-obj": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/nested-obj/-/nested-obj-0.0.1.tgz", + "integrity": "sha512-kB1WKTng+IePQhZVs1UXtFaHBx4QEM5a0XKGAzYfCKvdx5DhNjCytNDWMUGpNNpHLotln+tiwcA52kWCIgGq1Q==", + "license": "SEE LICENSE IN LICENSE" + }, + "node_modules/node-addon-api": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz", + "integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==", + "dev": true, + "license": "MIT" + }, + "node_modules/node-fetch": { + "version": "2.6.7", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz", + "integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "whatwg-url": "^5.0.0" + }, + "engines": { + "node": "4.x || >=6.0.0" + }, + "peerDependencies": { + "encoding": "^0.1.0" + }, + "peerDependenciesMeta": { + "encoding": { + "optional": true + } + } + }, + "node_modules/node-gyp": { + "version": "9.4.1", + "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-9.4.1.tgz", + "integrity": "sha512-OQkWKbjQKbGkMf/xqI1jjy3oCTgMKJac58G2+bjZb3fza6gW2YrCSdMQYaoTb70crvE//Gngr4f0AgVHmqHvBQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "env-paths": "^2.2.0", + "exponential-backoff": "^3.1.1", + "glob": "^7.1.4", + "graceful-fs": "^4.2.6", + "make-fetch-happen": "^10.0.3", + "nopt": "^6.0.0", + "npmlog": "^6.0.0", + "rimraf": "^3.0.2", + "semver": "^7.3.5", + "tar": "^6.1.2", + "which": "^2.0.2" + }, + "bin": { + "node-gyp": "bin/node-gyp.js" + }, + "engines": { + "node": "^12.13 || ^14.13 || >=16" + } + }, + "node_modules/node-gyp-build": { + "version": "4.8.4", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.4.tgz", + "integrity": "sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==", + "dev": true, + "license": "MIT", + "bin": { + "node-gyp-build": "bin.js", + "node-gyp-build-optional": "optional.js", + "node-gyp-build-test": "build-test.js" + } + }, + "node_modules/node-gyp/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/node-gyp/node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "deprecated": "Rimraf versions prior to v4 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/node-gyp/node_modules/semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/node-html-parser": { + "version": "6.1.12", + "resolved": "https://registry.npmjs.org/node-html-parser/-/node-html-parser-6.1.12.tgz", + "integrity": "sha512-/bT/Ncmv+fbMGX96XG9g05vFt43m/+SYKIs9oAemQVYyVcZmDAI2Xq/SbNcpOA35eF0Zk2av3Ksf+Xk8Vt8abA==", + "license": "MIT", + "dependencies": { + "css-select": "^5.1.0", + "he": "1.2.0" + } + }, + "node_modules/node-int64": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", + "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==", + "license": "MIT" + }, + "node_modules/node-machine-id": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/node-machine-id/-/node-machine-id-1.1.12.tgz", + "integrity": "sha512-QNABxbrPa3qEIfrE6GOJ7BYIuignnJw7iQ2YPbc3Nla1HzRJjXzZOiikfF8m7eAMfichLt3M4VgLOetqgDmgGQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/node-releases": { + "version": "2.0.14", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz", + "integrity": "sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==", + "license": "MIT" + }, + "node_modules/nopt": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-6.0.0.tgz", + "integrity": "sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g==", + "dev": true, + "license": "ISC", + "dependencies": { + "abbrev": "^1.0.0" + }, + "bin": { + "nopt": "bin/nopt.js" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/normalize-package-data": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", + "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^4.0.1", + "is-core-module": "^2.5.0", + "semver": "^7.3.4", + "validate-npm-package-license": "^3.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/normalize-package-data/node_modules/semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/npm-bundled": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.2.tgz", + "integrity": "sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "npm-normalize-package-bin": "^1.0.1" + } + }, + "node_modules/npm-install-checks": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.3.0.tgz", + "integrity": "sha512-W29RiK/xtpCGqn6f3ixfRYGk+zRyr+Ew9F2E20BfXxT5/euLdA/Nm7fO7OeTGuAmTs30cpgInyJ0cYe708YTZw==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "semver": "^7.1.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-install-checks/node_modules/semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm-normalize-package-bin": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz", + "integrity": "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==", + "dev": true, + "license": "ISC" + }, + "node_modules/npm-package-arg": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.1.tgz", + "integrity": "sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==", + "dev": true, + "license": "ISC", + "dependencies": { + "hosted-git-info": "^3.0.6", + "semver": "^7.0.0", + "validate-npm-package-name": "^3.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm-package-arg/node_modules/builtins": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz", + "integrity": "sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/npm-package-arg/node_modules/hosted-git-info": { + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", + "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm-package-arg/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm-package-arg/node_modules/semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm-package-arg/node_modules/validate-npm-package-name": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz", + "integrity": "sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw==", + "dev": true, + "license": "ISC", + "dependencies": { + "builtins": "^1.0.3" + } + }, + "node_modules/npm-package-arg/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true, + "license": "ISC" + }, + "node_modules/npm-packlist": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-5.1.1.tgz", + "integrity": "sha512-UfpSvQ5YKwctmodvPPkK6Fwk603aoVsf8AEbmVKAEECrfvL8SSe1A2YIwrJ6xmTHAITKPwwZsWo7WwEbNk0kxw==", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^8.0.1", + "ignore-walk": "^5.0.1", + "npm-bundled": "^1.1.2", + "npm-normalize-package-bin": "^1.0.1" + }, + "bin": { + "npm-packlist": "bin/index.js" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/npm-pick-manifest": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-8.0.2.tgz", + "integrity": "sha512-1dKY+86/AIiq1tkKVD3l0WI+Gd3vkknVGAggsFeBkTvbhMQ1OND/LKkYv4JtXPKUJ8bOTCyLiqEg2P6QNdK+Gg==", + "dev": true, + "license": "ISC", + "dependencies": { + "npm-install-checks": "^6.0.0", + "npm-normalize-package-bin": "^3.0.0", + "npm-package-arg": "^10.0.0", + "semver": "^7.3.5" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-pick-manifest/node_modules/hosted-git-info": { + "version": "6.1.3", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-6.1.3.tgz", + "integrity": "sha512-HVJyzUrLIL1c0QmviVh5E8VGyUS7xCFPS6yydaVd1UegW+ibV/CohqTH9MkOLDp5o+rb82DMo77PTuc9F/8GKw==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^7.5.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-pick-manifest/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/npm-pick-manifest/node_modules/npm-normalize-package-bin": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-3.0.1.tgz", + "integrity": "sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-pick-manifest/node_modules/npm-package-arg": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-10.1.0.tgz", + "integrity": "sha512-uFyyCEmgBfZTtrKk/5xDfHp6+MdrqGotX/VoOyEEl3mBwiEE5FlBaePanazJSVMPT7vKepcjYBY2ztg9A3yPIA==", + "dev": true, + "license": "ISC", + "dependencies": { + "hosted-git-info": "^6.0.0", + "proc-log": "^3.0.0", + "semver": "^7.3.5", + "validate-npm-package-name": "^5.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-pick-manifest/node_modules/semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm-registry-fetch": { + "version": "14.0.5", + "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-14.0.5.tgz", + "integrity": "sha512-kIDMIo4aBm6xg7jOttupWZamsZRkAqMqwqqbVXnUqstY5+tapvv6bkH/qMR76jdgV+YljEUCyWx3hRYMrJiAgA==", + "dev": true, + "license": "ISC", + "dependencies": { + "make-fetch-happen": "^11.0.0", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-json-stream": "^1.0.1", + "minizlib": "^2.1.2", + "npm-package-arg": "^10.0.0", + "proc-log": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-registry-fetch/node_modules/@npmcli/fs": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-3.1.1.tgz", + "integrity": "sha512-q9CRWjpHCMIh5sVyefoD1cA7PkvILqCZsnSOEUUivORLjxCO/Irmue2DprETiNgEqktDBZaM1Bi+jrarx1XdCg==", + "dev": true, + "license": "ISC", + "dependencies": { + "semver": "^7.3.5" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-registry-fetch/node_modules/brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/npm-registry-fetch/node_modules/cacache": { + "version": "17.1.4", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-17.1.4.tgz", + "integrity": "sha512-/aJwG2l3ZMJ1xNAnqbMpA40of9dj/pIH3QfiuQSqjfPJF747VR0J/bHn+/KdNnHKc6XQcWt/AfRSBft82W1d2A==", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/fs": "^3.1.0", + "fs-minipass": "^3.0.0", + "glob": "^10.2.2", + "lru-cache": "^7.7.1", + "minipass": "^7.0.3", + "minipass-collect": "^1.0.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "p-map": "^4.0.0", + "ssri": "^10.0.0", + "tar": "^6.1.11", + "unique-filename": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-registry-fetch/node_modules/cacache/node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/npm-registry-fetch/node_modules/fs-minipass": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.3.tgz", + "integrity": "sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-registry-fetch/node_modules/fs-minipass/node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/npm-registry-fetch/node_modules/glob": { + "version": "10.4.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", + "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm-registry-fetch/node_modules/glob/node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/npm-registry-fetch/node_modules/hosted-git-info": { + "version": "6.1.3", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-6.1.3.tgz", + "integrity": "sha512-HVJyzUrLIL1c0QmviVh5E8VGyUS7xCFPS6yydaVd1UegW+ibV/CohqTH9MkOLDp5o+rb82DMo77PTuc9F/8GKw==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^7.5.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-registry-fetch/node_modules/jackspeak": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", + "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, + "node_modules/npm-registry-fetch/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/npm-registry-fetch/node_modules/make-fetch-happen": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz", + "integrity": "sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==", + "dev": true, + "license": "ISC", + "dependencies": { + "agentkeepalive": "^4.2.1", + "cacache": "^17.0.0", + "http-cache-semantics": "^4.1.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^10.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-registry-fetch/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/npm-registry-fetch/node_modules/minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "node_modules/npm-registry-fetch/node_modules/minipass-fetch": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.5.tgz", + "integrity": "sha512-2N8elDQAtSnFV0Dk7gt15KHsS0Fyz6CbYZ360h0WTYV1Ty46li3rAXVOQj1THMNLdmrD9Vt5pBPtWtVkpwGBqg==", + "dev": true, + "license": "MIT", + "dependencies": { + "minipass": "^7.0.3", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + }, + "optionalDependencies": { + "encoding": "^0.1.13" + } + }, + "node_modules/npm-registry-fetch/node_modules/minipass-fetch/node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/npm-registry-fetch/node_modules/npm-package-arg": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-10.1.0.tgz", + "integrity": "sha512-uFyyCEmgBfZTtrKk/5xDfHp6+MdrqGotX/VoOyEEl3mBwiEE5FlBaePanazJSVMPT7vKepcjYBY2ztg9A3yPIA==", + "dev": true, + "license": "ISC", + "dependencies": { + "hosted-git-info": "^6.0.0", + "proc-log": "^3.0.0", + "semver": "^7.3.5", + "validate-npm-package-name": "^5.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-registry-fetch/node_modules/semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/npm-registry-fetch/node_modules/ssri": { + "version": "10.0.6", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.6.tgz", + "integrity": "sha512-MGrFH9Z4NP9Iyhqn16sDtBpRRNJ0Y2hNa6D65h736fVSaPCHr4DM4sWUNvVaSuC+0OBGhwsrydQwmgfg5LncqQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-registry-fetch/node_modules/ssri/node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/npm-registry-fetch/node_modules/unique-filename": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-3.0.0.tgz", + "integrity": "sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g==", + "dev": true, + "license": "ISC", + "dependencies": { + "unique-slug": "^4.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-registry-fetch/node_modules/unique-slug": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-4.0.0.tgz", + "integrity": "sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/npmlog": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", + "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", + "deprecated": "This package is no longer supported.", + "dev": true, + "license": "ISC", + "dependencies": { + "are-we-there-yet": "^3.0.0", + "console-control-strings": "^1.1.0", + "gauge": "^4.0.3", + "set-blocking": "^2.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/nth-check": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", + "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", + "license": "BSD-2-Clause", + "dependencies": { + "boolbase": "^1.0.0" + }, + "funding": { + "url": "https://github.com/fb55/nth-check?sponsor=1" + } + }, + "node_modules/nx": { + "version": "16.10.0", + "resolved": "https://registry.npmjs.org/nx/-/nx-16.10.0.tgz", + "integrity": "sha512-gZl4iCC0Hx0Qe1VWmO4Bkeul2nttuXdPpfnlcDKSACGu3ZIo+uySqwOF8yBAxSTIf8xe2JRhgzJN1aFkuezEBg==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "@nrwl/tao": "16.10.0", + "@parcel/watcher": "2.0.4", + "@yarnpkg/lockfile": "^1.1.0", + "@yarnpkg/parsers": "3.0.0-rc.46", + "@zkochan/js-yaml": "0.0.6", + "axios": "^1.0.0", + "chalk": "^4.1.0", + "cli-cursor": "3.1.0", + "cli-spinners": "2.6.1", + "cliui": "^8.0.1", + "dotenv": "~16.3.1", + "dotenv-expand": "~10.0.0", + "enquirer": "~2.3.6", + "figures": "3.2.0", + "flat": "^5.0.2", + "fs-extra": "^11.1.0", + "glob": "7.1.4", + "ignore": "^5.0.4", + "jest-diff": "^29.4.1", + "js-yaml": "4.1.0", + "jsonc-parser": "3.2.0", + "lines-and-columns": "~2.0.3", + "minimatch": "3.0.5", + "node-machine-id": "1.1.12", + "npm-run-path": "^4.0.1", + "open": "^8.4.0", + "semver": "7.5.3", + "string-width": "^4.2.3", + "strong-log-transformer": "^2.1.0", + "tar-stream": "~2.2.0", + "tmp": "~0.2.1", + "tsconfig-paths": "^4.1.2", + "tslib": "^2.3.0", + "v8-compile-cache": "2.3.0", + "yargs": "^17.6.2", + "yargs-parser": "21.1.1" + }, + "bin": { + "nx": "bin/nx.js" + }, + "optionalDependencies": { + "@nx/nx-darwin-arm64": "16.10.0", + "@nx/nx-darwin-x64": "16.10.0", + "@nx/nx-freebsd-x64": "16.10.0", + "@nx/nx-linux-arm-gnueabihf": "16.10.0", + "@nx/nx-linux-arm64-gnu": "16.10.0", + "@nx/nx-linux-arm64-musl": "16.10.0", + "@nx/nx-linux-x64-gnu": "16.10.0", + "@nx/nx-linux-x64-musl": "16.10.0", + "@nx/nx-win32-arm64-msvc": "16.10.0", + "@nx/nx-win32-x64-msvc": "16.10.0" + }, + "peerDependencies": { + "@swc-node/register": "^1.6.7", + "@swc/core": "^1.3.85" + }, + "peerDependenciesMeta": { + "@swc-node/register": { + "optional": true + }, + "@swc/core": { + "optional": true + } + } + }, + "node_modules/nx/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/nx/node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true, + "license": "Python-2.0" + }, + "node_modules/nx/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/nx/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/nx/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/nx/node_modules/glob": { + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz", + "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "dev": true, + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + } + }, + "node_modules/nx/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/nx/node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/nx/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/nx/node_modules/minimatch": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.5.tgz", + "integrity": "sha512-tUpxzX0VAzJHjLu0xUfFv1gwVp9ba3IOuRAVH2EGuRW8a5emA2FlACLqiT/lDVtS1W+TGNwqz3sWaNyLgDJWuw==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/nx/node_modules/semver": { + "version": "7.5.3", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz", + "integrity": "sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/nx/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/nx/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true, + "license": "ISC" + }, + "node_modules/nx/node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "license": "ISC", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/open": { + "version": "8.4.2", + "resolved": "https://registry.npmjs.org/open/-/open-8.4.2.tgz", + "integrity": "sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "define-lazy-prop": "^2.0.0", + "is-docker": "^2.1.1", + "is-wsl": "^2.2.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/optionator": { + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", + "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", + "license": "MIT", + "dependencies": { + "deep-is": "~0.1.3", + "fast-levenshtein": "~2.0.6", + "levn": "~0.3.0", + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2", + "word-wrap": "~1.2.3" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/optionator/node_modules/levn": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", + "integrity": "sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==", + "license": "MIT", + "dependencies": { + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/optionator/node_modules/prelude-ls": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", + "integrity": "sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/optionator/node_modules/type-check": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", + "integrity": "sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==", + "license": "MIT", + "dependencies": { + "prelude-ls": "~1.1.2" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/ora": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", + "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "bl": "^4.1.0", + "chalk": "^4.1.0", + "cli-cursor": "^3.1.0", + "cli-spinners": "^2.5.0", + "is-interactive": "^1.0.0", + "is-unicode-supported": "^0.1.0", + "log-symbols": "^4.1.0", + "strip-ansi": "^6.0.0", + "wcwidth": "^1.0.1" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ora/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/ora/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/ora/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/ora/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/ora/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/ora/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/p-finally": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", + "integrity": "sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "license": "MIT", + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/p-locate/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "license": "MIT", + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-map": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", + "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "aggregate-error": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-map-series": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/p-map-series/-/p-map-series-2.1.0.tgz", + "integrity": "sha512-RpYIIK1zXSNEOdwxcfe7FdvGcs7+y5n8rifMhMNWvaxRNMPINJHF5GDeuVxWqnfrcHPSCnp7Oo5yNXHId9Av2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/p-pipe": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-pipe/-/p-pipe-3.1.0.tgz", + "integrity": "sha512-08pj8ATpzMR0Y80x50yJHn37NF6vjrqHutASaX5LiH5npS9XPvrUmscd9MF5R4fuYRHOxQR1FfMIlF7AzwoPqw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-queue": { + "version": "6.6.2", + "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-6.6.2.tgz", + "integrity": "sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "eventemitter3": "^4.0.4", + "p-timeout": "^3.2.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-reduce": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/p-reduce/-/p-reduce-2.1.0.tgz", + "integrity": "sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/p-timeout": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz", + "integrity": "sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-finally": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/p-waterfall": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/p-waterfall/-/p-waterfall-2.1.1.tgz", + "integrity": "sha512-RRTnDb2TBG/epPRI2yYXsimO0v3BXC8Yd3ogr1545IaqKK17VGhbWVeGGN+XfCm/08OK8635nH31c8bATkHuSw==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-reduce": "^2.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/package-json-from-dist": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", + "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", + "dev": true, + "license": "BlueOak-1.0.0" + }, + "node_modules/pacote": { + "version": "15.2.0", + "resolved": "https://registry.npmjs.org/pacote/-/pacote-15.2.0.tgz", + "integrity": "sha512-rJVZeIwHTUta23sIZgEIM62WYwbmGbThdbnkt81ravBplQv+HjyroqnLRNH2+sLJHcGZmLRmhPwACqhfTcOmnA==", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/git": "^4.0.0", + "@npmcli/installed-package-contents": "^2.0.1", + "@npmcli/promise-spawn": "^6.0.1", + "@npmcli/run-script": "^6.0.0", + "cacache": "^17.0.0", + "fs-minipass": "^3.0.0", + "minipass": "^5.0.0", + "npm-package-arg": "^10.0.0", + "npm-packlist": "^7.0.0", + "npm-pick-manifest": "^8.0.0", + "npm-registry-fetch": "^14.0.0", + "proc-log": "^3.0.0", + "promise-retry": "^2.0.1", + "read-package-json": "^6.0.0", + "read-package-json-fast": "^3.0.0", + "sigstore": "^1.3.0", + "ssri": "^10.0.0", + "tar": "^6.1.11" + }, + "bin": { + "pacote": "lib/bin.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/pacote/node_modules/@npmcli/fs": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-3.1.1.tgz", + "integrity": "sha512-q9CRWjpHCMIh5sVyefoD1cA7PkvILqCZsnSOEUUivORLjxCO/Irmue2DprETiNgEqktDBZaM1Bi+jrarx1XdCg==", + "dev": true, + "license": "ISC", + "dependencies": { + "semver": "^7.3.5" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/pacote/node_modules/brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/pacote/node_modules/cacache": { + "version": "17.1.4", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-17.1.4.tgz", + "integrity": "sha512-/aJwG2l3ZMJ1xNAnqbMpA40of9dj/pIH3QfiuQSqjfPJF747VR0J/bHn+/KdNnHKc6XQcWt/AfRSBft82W1d2A==", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/fs": "^3.1.0", + "fs-minipass": "^3.0.0", + "glob": "^10.2.2", + "lru-cache": "^7.7.1", + "minipass": "^7.0.3", + "minipass-collect": "^1.0.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "p-map": "^4.0.0", + "ssri": "^10.0.0", + "tar": "^6.1.11", + "unique-filename": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/pacote/node_modules/cacache/node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/pacote/node_modules/fs-minipass": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.3.tgz", + "integrity": "sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/pacote/node_modules/fs-minipass/node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/pacote/node_modules/glob": { + "version": "10.4.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", + "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/pacote/node_modules/glob/node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/pacote/node_modules/hosted-git-info": { + "version": "6.1.3", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-6.1.3.tgz", + "integrity": "sha512-HVJyzUrLIL1c0QmviVh5E8VGyUS7xCFPS6yydaVd1UegW+ibV/CohqTH9MkOLDp5o+rb82DMo77PTuc9F/8GKw==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^7.5.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/pacote/node_modules/ignore-walk": { + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-6.0.5.tgz", + "integrity": "sha512-VuuG0wCnjhnylG1ABXT3dAuIpTNDs/G8jlpmwXY03fXoXy/8ZK8/T+hMzt8L4WnrLCJgdybqgPagnF/f97cg3A==", + "dev": true, + "license": "ISC", + "dependencies": { + "minimatch": "^9.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/pacote/node_modules/jackspeak": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", + "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, + "node_modules/pacote/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/pacote/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/pacote/node_modules/minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "node_modules/pacote/node_modules/npm-package-arg": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-10.1.0.tgz", + "integrity": "sha512-uFyyCEmgBfZTtrKk/5xDfHp6+MdrqGotX/VoOyEEl3mBwiEE5FlBaePanazJSVMPT7vKepcjYBY2ztg9A3yPIA==", + "dev": true, + "license": "ISC", + "dependencies": { + "hosted-git-info": "^6.0.0", + "proc-log": "^3.0.0", + "semver": "^7.3.5", + "validate-npm-package-name": "^5.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/pacote/node_modules/npm-packlist": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-7.0.4.tgz", + "integrity": "sha512-d6RGEuRrNS5/N84iglPivjaJPxhDbZmlbTwTDX2IbcRHG5bZCdtysYMhwiPvcF4GisXHGn7xsxv+GQ7T/02M5Q==", + "dev": true, + "license": "ISC", + "dependencies": { + "ignore-walk": "^6.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/pacote/node_modules/semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/pacote/node_modules/ssri": { + "version": "10.0.6", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.6.tgz", + "integrity": "sha512-MGrFH9Z4NP9Iyhqn16sDtBpRRNJ0Y2hNa6D65h736fVSaPCHr4DM4sWUNvVaSuC+0OBGhwsrydQwmgfg5LncqQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/pacote/node_modules/ssri/node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/pacote/node_modules/unique-filename": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-3.0.0.tgz", + "integrity": "sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g==", + "dev": true, + "license": "ISC", + "dependencies": { + "unique-slug": "^4.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/pacote/node_modules/unique-slug": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-4.0.0.tgz", + "integrity": "sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "license": "MIT", + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parse-json/node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true, + "license": "MIT" + }, + "node_modules/parse-path": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/parse-path/-/parse-path-7.1.0.tgz", + "integrity": "sha512-EuCycjZtfPcjWk7KTksnJ5xPMvWGA/6i4zrLYhRG0hGvC3GPU/jGUj3Cy+ZR0v30duV3e23R95T1lE2+lsndSw==", + "dev": true, + "license": "MIT", + "dependencies": { + "protocols": "^2.0.0" + } + }, + "node_modules/parse-url": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/parse-url/-/parse-url-8.1.0.tgz", + "integrity": "sha512-xDvOoLU5XRrcOZvnI6b8zA6n9O9ejNk/GExuz1yBuWUGn9KA97GI6HTs6u02wKara1CeVmZhH+0TZFdWScR89w==", + "dev": true, + "license": "MIT", + "dependencies": { + "parse-path": "^7.0.0" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true, + "license": "MIT" + }, + "node_modules/path-scurry": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/path-scurry/node_modules/lru-cache": { + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.0.tgz", + "integrity": "sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==", + "dev": true, + "license": "ISC", + "engines": { + "node": "14 || >=16.14" + } + }, + "node_modules/path-scurry/node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/pg-proto-parser": { + "resolved": "packages/parser", + "link": true + }, + "node_modules/picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pify": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-5.0.0.tgz", + "integrity": "sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/pirates": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", + "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/prettier": { + "version": "2.8.7", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.7.tgz", + "integrity": "sha512-yPngTo3aXUUmyuTjeTUT75txrf+aMh9FiD7q9ZE/i6r0bPb22g4FsE6Y338PQX1bmfy08i9QQCB7/rcUAVntfw==", + "dev": true, + "license": "MIT", + "bin": { + "prettier": "bin-prettier.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "node_modules/prettier-linter-helpers": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", + "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-diff": "^1.1.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/pretty-format": { + "version": "29.7.0", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz", + "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/schemas": "^29.6.3", + "ansi-styles": "^5.0.0", + "react-is": "^18.0.0" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + } + }, + "node_modules/pretty-format/node_modules/ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/proc-log": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-3.0.0.tgz", + "integrity": "sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", + "dev": true, + "license": "MIT" + }, + "node_modules/promise-inflight": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", + "integrity": "sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==", + "dev": true, + "license": "ISC" + }, + "node_modules/promise-retry": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz", + "integrity": "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==", + "dev": true, + "license": "MIT", + "dependencies": { + "err-code": "^2.0.2", + "retry": "^0.12.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/prompts": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", + "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "kleur": "^3.0.3", + "sisteransi": "^1.0.5" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/promzard": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/promzard/-/promzard-1.0.2.tgz", + "integrity": "sha512-2FPputGL+mP3jJ3UZg/Dl9YOkovB7DX0oOr+ck5QbZ5MtORtds8k/BZdn+02peDLI8/YWbmzx34k5fA+fHvCVQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "read": "^3.0.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/promzard/node_modules/mute-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-1.0.0.tgz", + "integrity": "sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/promzard/node_modules/read": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/read/-/read-3.0.1.tgz", + "integrity": "sha512-SLBrDU/Srs/9EoWhU5GdbAoxG1GzpQHo/6qiGItaoLJ1thmYpcNIM1qISEUvyHBzfGlWIyd6p2DNi1oV1VmAuw==", + "dev": true, + "license": "ISC", + "dependencies": { + "mute-stream": "^1.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/protocols": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/protocols/-/protocols-2.0.2.tgz", + "integrity": "sha512-hHVTzba3wboROl0/aWRRG9dMytgH6ow//STBZh43l/wQgmMhYhOFi0EHWAPtoCz9IAUymsyP0TSBHkhgMEGNnQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", + "dev": true, + "license": "MIT" + }, + "node_modules/punycode": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/punycode.js": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode.js/-/punycode.js-2.3.1.tgz", + "integrity": "sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==", + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/pure-rand": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.1.0.tgz", + "integrity": "sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/dubzzz" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fast-check" + } + ], + "license": "MIT" + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/quick-lru": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", + "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/react-is": { + "version": "18.2.0", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", + "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==", + "dev": true, + "license": "MIT" + }, + "node_modules/read": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/read/-/read-2.1.0.tgz", + "integrity": "sha512-bvxi1QLJHcaywCAEsAk4DG3nVoqiY2Csps3qzWalhj5hFqRn1d/OixkFXtLO1PrgHUcAP0FNaSY/5GYNfENFFQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "mute-stream": "~1.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/read-cmd-shim": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-4.0.0.tgz", + "integrity": "sha512-yILWifhaSEEytfXI76kB9xEEiG1AiozaCJZ83A87ytjRiN+jVibXjedjCRNjoZviinhG+4UkalO3mWTd8u5O0Q==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/read-package-json": { + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-6.0.4.tgz", + "integrity": "sha512-AEtWXYfopBj2z5N5PbkAOeNHRPUg5q+Nen7QLxV8M2zJq1ym6/lCz3fYNTCXe19puu2d06jfHhrP7v/S2PtMMw==", + "deprecated": "This package is no longer supported. Please use @npmcli/package-json instead.", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^10.2.2", + "json-parse-even-better-errors": "^3.0.0", + "normalize-package-data": "^5.0.0", + "npm-normalize-package-bin": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/read-package-json-fast": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/read-package-json-fast/-/read-package-json-fast-3.0.2.tgz", + "integrity": "sha512-0J+Msgym3vrLOUB3hzQCuZHII0xkNGCtz/HJH9xZshwv9DbDwkw1KaE3gx/e2J5rpEY5rtOy6cyhKOPrkP7FZw==", + "dev": true, + "license": "ISC", + "dependencies": { + "json-parse-even-better-errors": "^3.0.0", + "npm-normalize-package-bin": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/read-package-json-fast/node_modules/json-parse-even-better-errors": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.2.tgz", + "integrity": "sha512-fi0NG4bPjCHunUJffmLd0gxssIgkNmArMvis4iNah6Owg1MCJjWhEcDLmsK6iGkJq3tHwbDkTlce70/tmXN4cQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/read-package-json-fast/node_modules/npm-normalize-package-bin": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-3.0.1.tgz", + "integrity": "sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/read-package-json/node_modules/brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/read-package-json/node_modules/glob": { + "version": "10.4.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", + "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/read-package-json/node_modules/hosted-git-info": { + "version": "6.1.3", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-6.1.3.tgz", + "integrity": "sha512-HVJyzUrLIL1c0QmviVh5E8VGyUS7xCFPS6yydaVd1UegW+ibV/CohqTH9MkOLDp5o+rb82DMo77PTuc9F/8GKw==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^7.5.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/read-package-json/node_modules/jackspeak": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", + "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, + "node_modules/read-package-json/node_modules/json-parse-even-better-errors": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.2.tgz", + "integrity": "sha512-fi0NG4bPjCHunUJffmLd0gxssIgkNmArMvis4iNah6Owg1MCJjWhEcDLmsK6iGkJq3tHwbDkTlce70/tmXN4cQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/read-package-json/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/read-package-json/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/read-package-json/node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/read-package-json/node_modules/normalize-package-data": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-5.0.0.tgz", + "integrity": "sha512-h9iPVIfrVZ9wVYQnxFgtw1ugSvGEMOlyPWWtm8BMJhnwyEL/FLbYbTY3V3PpjI/BUK67n9PEWDu6eHzu1fB15Q==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^6.0.0", + "is-core-module": "^2.8.1", + "semver": "^7.3.5", + "validate-npm-package-license": "^3.0.4" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/read-package-json/node_modules/npm-normalize-package-bin": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-3.0.1.tgz", + "integrity": "sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/read-package-json/node_modules/semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/read-pkg": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", + "integrity": "sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA==", + "dev": true, + "license": "MIT", + "dependencies": { + "load-json-file": "^4.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz", + "integrity": "sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw==", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^2.0.0", + "read-pkg": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg-up/node_modules/find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg-up/node_modules/locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg-up/node_modules/p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-try": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg-up/node_modules/p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg-up/node_modules/p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg-up/node_modules/path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg/node_modules/hosted-git-info": { + "version": "2.8.9", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", + "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", + "dev": true, + "license": "ISC" + }, + "node_modules/read-pkg/node_modules/load-json-file": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", + "integrity": "sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw==", + "dev": true, + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.1.2", + "parse-json": "^4.0.0", + "pify": "^3.0.0", + "strip-bom": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg/node_modules/normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "node_modules/read-pkg/node_modules/parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==", + "dev": true, + "license": "MIT", + "dependencies": { + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg/node_modules/path-type": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", + "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", + "dev": true, + "license": "MIT", + "dependencies": { + "pify": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg/node_modules/pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/read-pkg/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/read-pkg/node_modules/strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/read/node_modules/mute-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-1.0.0.tgz", + "integrity": "sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA==", + "dev": true, + "license": "ISC", + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, + "license": "MIT", + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/recast": { + "version": "0.23.6", + "resolved": "https://registry.npmjs.org/recast/-/recast-0.23.6.tgz", + "integrity": "sha512-9FHoNjX1yjuesMwuthAmPKabxYQdOgihFYmT5ebXfYGBcnqXZf3WOVz+5foEZ8Y83P4ZY6yQD5GMmtV+pgCCAQ==", + "license": "MIT", + "dependencies": { + "ast-types": "^0.16.1", + "esprima": "~4.0.0", + "source-map": "~0.6.1", + "tiny-invariant": "^1.3.3", + "tslib": "^2.0.1" + }, + "engines": { + "node": ">= 4" + } + }, + "node_modules/redent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", + "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", + "dev": true, + "license": "MIT", + "dependencies": { + "indent-string": "^4.0.0", + "strip-indent": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/requizzle": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/requizzle/-/requizzle-0.2.4.tgz", + "integrity": "sha512-JRrFk1D4OQ4SqovXOgdav+K8EAhSB/LJZqCz8tbX0KObcdeM15Ss59ozWMBWmmINMagCwmqn4ZNryUGpBsl6Jw==", + "license": "MIT", + "dependencies": { + "lodash": "^4.17.21" + } + }, + "node_modules/resolve": { + "version": "1.22.8", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", + "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-core-module": "^2.13.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-cwd": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", + "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/resolve.exports": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.2.tgz", + "integrity": "sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/restore-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", + "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", + "dev": true, + "license": "MIT", + "dependencies": { + "onetime": "^5.1.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/retry": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", + "integrity": "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" + } + }, + "node_modules/reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "dev": true, + "license": "MIT", + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/rimraf": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.0.tgz", + "integrity": "sha512-Jf9llaP+RvaEVS5nPShYFhtXIrb3LRKP281ib3So0KkeZKo2wIKyq0Re7TOSwanasA423PSr6CCIL4bP6T040g==", + "dev": true, + "license": "ISC", + "dependencies": { + "glob": "^10.0.0" + }, + "bin": { + "rimraf": "dist/cjs/src/bin.js" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rimraf/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/rimraf/node_modules/glob": { + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^2.3.5", + "minimatch": "^9.0.1", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", + "path-scurry": "^1.10.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rimraf/node_modules/minimatch": { + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz", + "integrity": "sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rimraf/node_modules/minipass": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz", + "integrity": "sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/run-async": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", + "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/rxjs": { + "version": "7.8.2", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.2.tgz", + "integrity": "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true, + "license": "MIT" + }, + "node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==", + "dev": true, + "license": "ISC" + }, + "node_modules/shallow-clone": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", + "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", + "dev": true, + "license": "MIT", + "dependencies": { + "kind-of": "^6.0.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "license": "ISC" + }, + "node_modules/sigstore": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/sigstore/-/sigstore-1.9.0.tgz", + "integrity": "sha512-0Zjz0oe37d08VeOtBIuB6cRriqXse2e8w+7yIy2XSXjshRKxbc2KkhXjL229jXSxEm7UbcjS76wcJDGQddVI9A==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "@sigstore/bundle": "^1.1.0", + "@sigstore/protobuf-specs": "^0.2.0", + "@sigstore/sign": "^1.0.0", + "@sigstore/tuf": "^1.0.3", + "make-fetch-happen": "^11.0.1" + }, + "bin": { + "sigstore": "bin/sigstore.js" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/sigstore/node_modules/@npmcli/fs": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-3.1.1.tgz", + "integrity": "sha512-q9CRWjpHCMIh5sVyefoD1cA7PkvILqCZsnSOEUUivORLjxCO/Irmue2DprETiNgEqktDBZaM1Bi+jrarx1XdCg==", + "dev": true, + "license": "ISC", + "dependencies": { + "semver": "^7.3.5" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/sigstore/node_modules/brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/sigstore/node_modules/cacache": { + "version": "17.1.4", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-17.1.4.tgz", + "integrity": "sha512-/aJwG2l3ZMJ1xNAnqbMpA40of9dj/pIH3QfiuQSqjfPJF747VR0J/bHn+/KdNnHKc6XQcWt/AfRSBft82W1d2A==", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/fs": "^3.1.0", + "fs-minipass": "^3.0.0", + "glob": "^10.2.2", + "lru-cache": "^7.7.1", + "minipass": "^7.0.3", + "minipass-collect": "^1.0.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "p-map": "^4.0.0", + "ssri": "^10.0.0", + "tar": "^6.1.11", + "unique-filename": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/sigstore/node_modules/cacache/node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/sigstore/node_modules/fs-minipass": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.3.tgz", + "integrity": "sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/sigstore/node_modules/fs-minipass/node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/sigstore/node_modules/glob": { + "version": "10.4.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", + "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/sigstore/node_modules/glob/node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/sigstore/node_modules/jackspeak": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", + "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, + "node_modules/sigstore/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/sigstore/node_modules/make-fetch-happen": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz", + "integrity": "sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==", + "dev": true, + "license": "ISC", + "dependencies": { + "agentkeepalive": "^4.2.1", + "cacache": "^17.0.0", + "http-cache-semantics": "^4.1.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^10.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/sigstore/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/sigstore/node_modules/minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "node_modules/sigstore/node_modules/minipass-fetch": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.5.tgz", + "integrity": "sha512-2N8elDQAtSnFV0Dk7gt15KHsS0Fyz6CbYZ360h0WTYV1Ty46li3rAXVOQj1THMNLdmrD9Vt5pBPtWtVkpwGBqg==", + "dev": true, + "license": "MIT", + "dependencies": { + "minipass": "^7.0.3", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + }, + "optionalDependencies": { + "encoding": "^0.1.13" + } + }, + "node_modules/sigstore/node_modules/minipass-fetch/node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/sigstore/node_modules/semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/sigstore/node_modules/ssri": { + "version": "10.0.6", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.6.tgz", + "integrity": "sha512-MGrFH9Z4NP9Iyhqn16sDtBpRRNJ0Y2hNa6D65h736fVSaPCHr4DM4sWUNvVaSuC+0OBGhwsrydQwmgfg5LncqQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/sigstore/node_modules/ssri/node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/sigstore/node_modules/unique-filename": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-3.0.0.tgz", + "integrity": "sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g==", + "dev": true, + "license": "ISC", + "dependencies": { + "unique-slug": "^4.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/sigstore/node_modules/unique-slug": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-4.0.0.tgz", + "integrity": "sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/sisteransi": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", + "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", + "dev": true, + "license": "MIT" + }, + "node_modules/slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/smart-buffer": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", + "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6.0.0", + "npm": ">= 3.0.0" + } + }, + "node_modules/socks": { + "version": "2.8.5", + "resolved": "https://registry.npmjs.org/socks/-/socks-2.8.5.tgz", + "integrity": "sha512-iF+tNDQla22geJdTyJB1wM/qrX9DMRwWrciEPwWLPRWAUEM8sQiyxgckLxWT1f7+9VabJS0jTGGr4QgBuvi6Ww==", + "dev": true, + "license": "MIT", + "dependencies": { + "ip-address": "^9.0.5", + "smart-buffer": "^4.2.0" + }, + "engines": { + "node": ">= 10.0.0", + "npm": ">= 3.0.0" + } + }, + "node_modules/socks-proxy-agent": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-7.0.0.tgz", + "integrity": "sha512-Fgl0YPZ902wEsAyiQ+idGd1A7rSFx/ayC1CQVMw5P+EQx2V0SgpGtf6OKFhVjPflPUl9YMmEOnmfjCdMUsygww==", + "dev": true, + "license": "MIT", + "dependencies": { + "agent-base": "^6.0.2", + "debug": "^4.3.3", + "socks": "^2.6.2" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/sort-keys": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-2.0.0.tgz", + "integrity": "sha512-/dPCrG1s3ePpWm6yBbxZq5Be1dXGLyLn9Z791chDC3NFrpkVbWGzkBwPN1knaciexFXgRJ7hzdnwZ4stHSDmjg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-plain-obj": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-support": { + "version": "0.5.13", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz", + "integrity": "sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==", + "dev": true, + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/spdx-correct": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", + "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-exceptions": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz", + "integrity": "sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w==", + "dev": true, + "license": "CC-BY-3.0" + }, + "node_modules/spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-license-ids": { + "version": "3.0.21", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.21.tgz", + "integrity": "sha512-Bvg/8F5XephndSK3JffaRqdT+gyhfqIPwDHpX80tJrF8QQRYMo8sNMeaZ2Dp5+jhwKnUmIOyFFQfHRkjJm5nXg==", + "dev": true, + "license": "CC0-1.0" + }, + "node_modules/split": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz", + "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==", + "dev": true, + "license": "MIT", + "dependencies": { + "through": "2" + }, + "engines": { + "node": "*" + } + }, + "node_modules/split2": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz", + "integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==", + "dev": true, + "license": "ISC", + "dependencies": { + "readable-stream": "^3.0.0" + } + }, + "node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", + "license": "BSD-3-Clause" + }, + "node_modules/ssri": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-9.0.1.tgz", + "integrity": "sha512-o57Wcn66jMQvfHG1FlYbWeZWW/dHZhJXjpIcTfXldXEk5nz5lStPo3mK0OJQfGR3RbZUlbISexbljkJzuEj/8Q==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^3.1.1" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/stack-utils": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz", + "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "escape-string-regexp": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/stack-utils/node_modules/escape-string-regexp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", + "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/strfy-js": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strfy-js/-/strfy-js-3.0.1.tgz", + "integrity": "sha512-GVN7Kz2mZ8ZSXyo5neALGObmah+JVw/nr8zNapzNtrObO+tcW0wOmlOBfRdux+XfIaA/87qe5MWXtscE7VeY+g==", + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "minimatch": "^9.0.4" + } + }, + "node_modules/strfy-js/node_modules/brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/strfy-js/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, + "node_modules/string-length": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", + "integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "char-regex": "^1.0.2", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-bom": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", + "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/strip-indent": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", + "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "min-indent": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/strong-log-transformer": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/strong-log-transformer/-/strong-log-transformer-2.1.0.tgz", + "integrity": "sha512-B3Hgul+z0L9a236FAUC9iZsL+nVHgoCJnqCbN588DjYxvGXaXaaFbfmQ/JhvKjZwsOukuR72XbHv71Qkug0HxA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "duplexer": "^0.1.1", + "minimist": "^1.2.0", + "through": "^2.3.4" + }, + "bin": { + "sl-log-transformer": "bin/sl-log-transformer.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "license": "MIT", + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/tar": { + "version": "6.1.11", + "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz", + "integrity": "sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA==", + "dev": true, + "license": "ISC", + "dependencies": { + "chownr": "^2.0.0", + "fs-minipass": "^2.0.0", + "minipass": "^3.0.0", + "minizlib": "^2.1.1", + "mkdirp": "^1.0.3", + "yallist": "^4.0.0" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/tar-stream": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", + "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "bl": "^4.0.3", + "end-of-stream": "^1.4.1", + "fs-constants": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.1.1" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/tar/node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true, + "license": "MIT", + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/tar/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true, + "license": "ISC" + }, + "node_modules/temp-dir": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-1.0.0.tgz", + "integrity": "sha512-xZFXEGbG7SNC3itwBzI3RYjq/cEhBkx2hJuKGIUOcEULmkQExXiHat2z/qkISYsuR+IKumhEfKKbV5qXmhICFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/test-exclude": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", + "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", + "license": "ISC", + "dependencies": { + "@istanbuljs/schema": "^0.1.2", + "glob": "^7.1.4", + "minimatch": "^3.0.4" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/test-exclude/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "deprecated": "Glob versions prior to v9 are no longer supported", + "license": "ISC", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/text-extensions": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz", + "integrity": "sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10" + } + }, + "node_modules/text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", + "dev": true, + "license": "MIT" + }, + "node_modules/through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==", + "dev": true, + "license": "MIT" + }, + "node_modules/through2": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", + "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "readable-stream": "~2.3.6", + "xtend": "~4.0.1" + } + }, + "node_modules/through2/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dev": true, + "license": "MIT", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/through2/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true, + "license": "MIT" + }, + "node_modules/through2/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "license": "MIT", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/tiny-invariant": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.3.tgz", + "integrity": "sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==", + "license": "MIT" + }, + "node_modules/tmp": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.3.tgz", + "integrity": "sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w==", + "license": "MIT", + "engines": { + "node": ">=14.14" + } + }, + "node_modules/tmpl": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", + "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==", + "license": "BSD-3-Clause" + }, + "node_modules/to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "license": "MIT", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/tr46": { + "version": "0.0.3", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", + "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", + "dev": true, + "license": "MIT" + }, + "node_modules/trim-newlines": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", + "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/ts-jest": { + "version": "29.1.2", + "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.1.2.tgz", + "integrity": "sha512-br6GJoH/WUX4pu7FbZXuWGKGNDuU7b8Uj77g/Sp7puZV6EXzuByl6JrECvm0MzVzSTkSHWTihsXt+5XYER5b+g==", + "dev": true, + "license": "MIT", + "dependencies": { + "bs-logger": "0.x", + "fast-json-stable-stringify": "2.x", + "jest-util": "^29.0.0", + "json5": "^2.2.3", + "lodash.memoize": "4.x", + "make-error": "1.x", + "semver": "^7.5.3", + "yargs-parser": "^21.0.1" + }, + "bin": { + "ts-jest": "cli.js" + }, + "engines": { + "node": "^16.10.0 || ^18.0.0 || >=20.0.0" + }, + "peerDependencies": { + "@babel/core": ">=7.0.0-beta.0 <8", + "@jest/types": "^29.0.0", + "babel-jest": "^29.0.0", + "jest": "^29.0.0", + "typescript": ">=4.3 <6" + }, + "peerDependenciesMeta": { + "@babel/core": { + "optional": true + }, + "@jest/types": { + "optional": true + }, + "babel-jest": { + "optional": true + }, + "esbuild": { + "optional": true + } + } + }, + "node_modules/ts-jest/node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/ts-jest/node_modules/semver": { + "version": "7.6.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz", + "integrity": "sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==", + "dev": true, + "license": "ISC", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/ts-jest/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true, + "license": "ISC" + }, + "node_modules/ts-jest/node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/ts-node": { + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz", + "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@cspotcode/source-map-support": "^0.8.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "v8-compile-cache-lib": "^3.0.1", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-cwd": "dist/bin-cwd.js", + "ts-node-esm": "dist/bin-esm.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, + "peerDependencies": { + "@swc/core": ">=1.2.50", + "@swc/wasm": ">=1.2.50", + "@types/node": "*", + "typescript": ">=2.7" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "@swc/wasm": { + "optional": true + } + } + }, + "node_modules/tsconfig-paths": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.2.0.tgz", + "integrity": "sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==", + "dev": true, + "license": "MIT", + "dependencies": { + "json5": "^2.2.2", + "minimist": "^1.2.6", + "strip-bom": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/tsconfig-paths/node_modules/strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/tslib": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz", + "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", + "license": "0BSD" + }, + "node_modules/tuf-js": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/tuf-js/-/tuf-js-1.1.7.tgz", + "integrity": "sha512-i3P9Kgw3ytjELUfpuKVDNBJvk4u5bXL6gskv572mcevPbSKCV3zt3djhmlEQ65yERjIbOSncy7U4cQJaB1CBCg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@tufjs/models": "1.0.4", + "debug": "^4.3.4", + "make-fetch-happen": "^11.1.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/tuf-js/node_modules/@npmcli/fs": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-3.1.1.tgz", + "integrity": "sha512-q9CRWjpHCMIh5sVyefoD1cA7PkvILqCZsnSOEUUivORLjxCO/Irmue2DprETiNgEqktDBZaM1Bi+jrarx1XdCg==", + "dev": true, + "license": "ISC", + "dependencies": { + "semver": "^7.3.5" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/tuf-js/node_modules/brace-expansion": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/tuf-js/node_modules/cacache": { + "version": "17.1.4", + "resolved": "https://registry.npmjs.org/cacache/-/cacache-17.1.4.tgz", + "integrity": "sha512-/aJwG2l3ZMJ1xNAnqbMpA40of9dj/pIH3QfiuQSqjfPJF747VR0J/bHn+/KdNnHKc6XQcWt/AfRSBft82W1d2A==", + "dev": true, + "license": "ISC", + "dependencies": { + "@npmcli/fs": "^3.1.0", + "fs-minipass": "^3.0.0", + "glob": "^10.2.2", + "lru-cache": "^7.7.1", + "minipass": "^7.0.3", + "minipass-collect": "^1.0.2", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "p-map": "^4.0.0", + "ssri": "^10.0.0", + "tar": "^6.1.11", + "unique-filename": "^3.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/tuf-js/node_modules/cacache/node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/tuf-js/node_modules/fs-minipass": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.3.tgz", + "integrity": "sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/tuf-js/node_modules/fs-minipass/node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/tuf-js/node_modules/glob": { + "version": "10.4.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", + "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/tuf-js/node_modules/glob/node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/tuf-js/node_modules/jackspeak": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", + "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, + "node_modules/tuf-js/node_modules/lru-cache": { + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz", + "integrity": "sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/tuf-js/node_modules/make-fetch-happen": { + "version": "11.1.1", + "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz", + "integrity": "sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w==", + "dev": true, + "license": "ISC", + "dependencies": { + "agentkeepalive": "^4.2.1", + "cacache": "^17.0.0", + "http-cache-semantics": "^4.1.1", + "http-proxy-agent": "^5.0.0", + "https-proxy-agent": "^5.0.0", + "is-lambda": "^1.0.1", + "lru-cache": "^7.7.1", + "minipass": "^5.0.0", + "minipass-fetch": "^3.0.0", + "minipass-flush": "^1.0.5", + "minipass-pipeline": "^1.2.4", + "negotiator": "^0.6.3", + "promise-retry": "^2.0.1", + "socks-proxy-agent": "^7.0.0", + "ssri": "^10.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/tuf-js/node_modules/minimatch": { + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/tuf-js/node_modules/minipass": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", + "integrity": "sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=8" + } + }, + "node_modules/tuf-js/node_modules/minipass-fetch": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.5.tgz", + "integrity": "sha512-2N8elDQAtSnFV0Dk7gt15KHsS0Fyz6CbYZ360h0WTYV1Ty46li3rAXVOQj1THMNLdmrD9Vt5pBPtWtVkpwGBqg==", + "dev": true, + "license": "MIT", + "dependencies": { + "minipass": "^7.0.3", + "minipass-sized": "^1.0.3", + "minizlib": "^2.1.2" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + }, + "optionalDependencies": { + "encoding": "^0.1.13" + } + }, + "node_modules/tuf-js/node_modules/minipass-fetch/node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/tuf-js/node_modules/semver": { + "version": "7.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.2.tgz", + "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/tuf-js/node_modules/ssri": { + "version": "10.0.6", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-10.0.6.tgz", + "integrity": "sha512-MGrFH9Z4NP9Iyhqn16sDtBpRRNJ0Y2hNa6D65h736fVSaPCHr4DM4sWUNvVaSuC+0OBGhwsrydQwmgfg5LncqQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "minipass": "^7.0.3" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/tuf-js/node_modules/ssri/node_modules/minipass": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", + "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/tuf-js/node_modules/unique-filename": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-3.0.0.tgz", + "integrity": "sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g==", + "dev": true, + "license": "ISC", + "dependencies": { + "unique-slug": "^4.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/tuf-js/node_modules/unique-slug": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-4.0.0.tgz", + "integrity": "sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "license": "MIT", + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/type-fest": { + "version": "0.21.3", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", + "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/typescript": { + "version": "5.4.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.4.3.tgz", + "integrity": "sha512-KrPd3PKaCLr78MalgiwJnA25Nm8HAmdwN3mYUYZgG/wizIo9EainNVQI9/yDavtVFRN2h3k8uf3GLHuhDMgEHg==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/uc.micro": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-2.1.0.tgz", + "integrity": "sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==", + "license": "MIT" + }, + "node_modules/uglify-js": { + "version": "3.19.3", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.19.3.tgz", + "integrity": "sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==", + "license": "BSD-2-Clause", + "bin": { + "uglifyjs": "bin/uglifyjs" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/underscore": { + "version": "1.13.7", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.7.tgz", + "integrity": "sha512-GMXzWtsc57XAtguZgaQViUOzs0KTkk8ojr3/xAxXLITqf/3EMwxC0inyETfDFjH/Krbhuep0HNbbjI9i/q3F3g==", + "license": "MIT" + }, + "node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==", + "license": "MIT" + }, + "node_modules/unique-filename": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-2.0.1.tgz", + "integrity": "sha512-ODWHtkkdx3IAR+veKxFV+VBkUMcN+FaqzUUd7IZzt+0zhDZFPFxhlqwPF3YQvMHx1TD0tdgYl+kuPnJ8E6ql7A==", + "dev": true, + "license": "ISC", + "dependencies": { + "unique-slug": "^3.0.0" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/unique-slug": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-3.0.0.tgz", + "integrity": "sha512-8EyMynh679x/0gqE9fT9oilG+qEt+ibFyqjuVTsZn1+CMxH+XLlpvr2UZx4nVcCwTpx81nICr2JQFkM+HPLq4w==", + "dev": true, + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/universal-user-agent": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.1.tgz", + "integrity": "sha512-yCzhz6FN2wU1NiiQRogkTQszlQSlpWaw8SvVegAc+bDxbzHgh1vX8uIe8OYyMH6DwH+sdTJsgMl36+mSMdRJIQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/universalify": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz", + "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/upath": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/upath/-/upath-2.0.1.tgz", + "integrity": "sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4", + "yarn": "*" + } + }, + "node_modules/update-browserslist-db": { + "version": "1.0.13", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz", + "integrity": "sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==", + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "escalade": "^3.1.1", + "picocolors": "^1.0.0" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "dev": true, + "license": "MIT" + }, + "node_modules/uuid": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", + "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", + "dev": true, + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "license": "MIT", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/v8-compile-cache": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", + "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==", + "dev": true, + "license": "MIT" + }, + "node_modules/v8-compile-cache-lib": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", + "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", + "dev": true, + "license": "MIT" + }, + "node_modules/v8-to-istanbul": { + "version": "9.2.0", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.2.0.tgz", + "integrity": "sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==", + "dev": true, + "license": "ISC", + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.12", + "@types/istanbul-lib-coverage": "^2.0.1", + "convert-source-map": "^2.0.0" + }, + "engines": { + "node": ">=10.12.0" + } + }, + "node_modules/validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "node_modules/validate-npm-package-name": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-5.0.0.tgz", + "integrity": "sha512-YuKoXDAhBYxY7SfOKxHBDoSyENFeW5VvIIQp2TGQuit8gpK6MnWaQelBKxso72DoxTZfZdcP3W90LqpSkgPzLQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "builtins": "^5.0.0" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/walker": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz", + "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==", + "license": "Apache-2.0", + "dependencies": { + "makeerror": "1.0.12" + } + }, + "node_modules/wcwidth": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", + "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", + "dev": true, + "license": "MIT", + "dependencies": { + "defaults": "^1.0.3" + } + }, + "node_modules/webidl-conversions": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", + "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", + "dev": true, + "license": "BSD-2-Clause" + }, + "node_modules/whatwg-url": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", + "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", + "dev": true, + "license": "MIT", + "dependencies": { + "tr46": "~0.0.3", + "webidl-conversions": "^3.0.0" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/wide-align": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz", + "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^1.0.2 || 2 || 3 || 4" + } + }, + "node_modules/word-wrap": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", + "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/wrap-ansi-cjs/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/wrap-ansi/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", + "license": "ISC" + }, + "node_modules/write-file-atomic": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz", + "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==", + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.7" + }, + "engines": { + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + } + }, + "node_modules/write-json-file": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/write-json-file/-/write-json-file-3.2.0.tgz", + "integrity": "sha512-3xZqT7Byc2uORAatYiP3DHUUAVEkNOswEWNs9H5KXiicRTvzYzYqKjYc4G7p+8pltvAw641lVByKVtMpf+4sYQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "detect-indent": "^5.0.0", + "graceful-fs": "^4.1.15", + "make-dir": "^2.1.0", + "pify": "^4.0.1", + "sort-keys": "^2.0.0", + "write-file-atomic": "^2.4.2" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/write-json-file/node_modules/make-dir": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", + "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", + "dev": true, + "license": "MIT", + "dependencies": { + "pify": "^4.0.1", + "semver": "^5.6.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/write-json-file/node_modules/pify": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", + "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/write-json-file/node_modules/semver": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", + "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver" + } + }, + "node_modules/write-json-file/node_modules/write-file-atomic": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.3.tgz", + "integrity": "sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "graceful-fs": "^4.1.11", + "imurmurhash": "^0.1.4", + "signal-exit": "^3.0.2" + } + }, + "node_modules/write-pkg": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/write-pkg/-/write-pkg-4.0.0.tgz", + "integrity": "sha512-v2UQ+50TNf2rNHJ8NyWttfm/EJUBWMJcx6ZTYZr6Qp52uuegWw/lBkCtCbnYZEmPRNL61m+u67dAmGxo+HTULA==", + "dev": true, + "license": "MIT", + "dependencies": { + "sort-keys": "^2.0.0", + "type-fest": "^0.4.1", + "write-json-file": "^3.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/write-pkg/node_modules/type-fest": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.4.1.tgz", + "integrity": "sha512-IwzA/LSfD2vC1/YDYMv/zHP4rDF1usCwllsDpbolT3D4fUepIO7f9K70jjmUewU/LmGUKJcwcVtDCpnKk4BPMw==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=6" + } + }, + "node_modules/xmlcreate": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/xmlcreate/-/xmlcreate-2.0.4.tgz", + "integrity": "sha512-nquOebG4sngPmGPICTS5EnxqhKbCmz5Ox5hsszI2T6U5qdrJizBc+0ilYSEjTSzU0yZcmvppztXe/5Al5fUwdg==", + "license": "Apache-2.0" + }, + "node_modules/xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.4" + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "license": "ISC" + }, + "node_modules/yargs": { + "version": "17.7.2", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", + "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs-parser": { + "version": "20.2.4", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", + "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs/node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/yn": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", + "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "packages/cli": { + "name": "@launchql/proto-cli", + "version": "1.26.0", + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "@launchql/protobufjs": "7.2.6", + "@launchql/protobufjs-cli": "1.1.5", + "chalk": "^4.1.0", + "glob": "8.0.3", + "inquirerer": "1.9.0", + "minimist": "1.2.8", + "mkdirp": "3.0.1", + "nested-obj": "^0.0.1", + "pg-proto-parser": "^1.24.0" + }, + "bin": { + "pg-proto-parser": "main/index.js" + }, + "devDependencies": { + "@types/jest": "^29.5.0", + "eslint": "8.38.0", + "eslint-config-prettier": "^8.8.0", + "eslint-plugin-prettier": "^4.0.0", + "esprima": "4.0.1", + "jest": "^29.5.0", + "jest-in-case": "1.0.2", + "prettier": "^2.8.7", + "rimraf": "5.0.0", + "ts-jest": "^29.1.0", + "ts-node": "10.9.2", + "typescript": "^5.0.4" + } + }, + "packages/cli/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "packages/cli/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "packages/cli/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "packages/cli/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "license": "MIT" + }, + "packages/cli/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "packages/cli/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "packages/parser": { + "name": "pg-proto-parser", + "version": "1.24.0", + "license": "SEE LICENSE IN LICENSE", + "dependencies": { + "@babel/generator": "^7.23.6", + "@babel/parser": "^7.23.6", + "@babel/traverse": "7.24.1", + "@babel/types": "7.24.0", + "@launchql/protobufjs": "7.2.6", + "case": "1.6.3", + "deepmerge": "4.3.1", + "nested-obj": "^0.0.1", + "node-html-parser": "6.1.12", + "recast": "0.23.6", + "strfy-js": "^3.0.1" + }, + "devDependencies": { + "@types/jest": "^29.5.0", + "eslint": "8.38.0", + "eslint-config-prettier": "^8.8.0", + "eslint-plugin-prettier": "^4.0.0", + "esprima": "4.0.1", + "glob": "8.0.3", + "jest": "^29.5.0", + "jest-in-case": "1.0.2", + "mkdirp": "3.0.1", + "prettier": "^2.8.7", + "rimraf": "5.0.0", + "ts-jest": "^29.1.0", + "ts-node": "10.9.2", + "typescript": "^5.0.4" + } + } + } +} diff --git a/packages/cli/README.md b/packages/cli/README.md index fb8e3f5..b250a1f 100644 --- a/packages/cli/README.md +++ b/packages/cli/README.md @@ -100,6 +100,26 @@ pg-proto-parser protogen --protoUrl \ | `--help`, `-h` | Show this help message. | | | `--version`, `-v` | Show the version number. | | +### runtime-schema + +Generate runtime schema for PostgreSQL AST nodes: + +```bash +pg-proto-parser runtime-schema --inFile --outDir \ + [--format ] [--filename ] +``` + +#### Options for runtime-schema + +| Option | Description | Default Value | +|---------------------|-------------------------------------------------------------------------------------|---------------| +| `--inFile` | Path to the `.proto` file to be parsed. | *Required* | +| `--outDir` | Directory to save the generated runtime schema files. | *Required* | +| `--format` | Output format for runtime schema ('json' or 'typescript'). | `json` | +| `--filename` | Filename for the runtime schema file (without extension). | `runtime-schema` | +| `--help`, `-h` | Show this help message and exit. | | +| `--version`, `-v` | Show the version number and exit. | | + ## Related diff --git a/packages/cli/src/commands/index.ts b/packages/cli/src/commands/index.ts index 1c44db5..47bdfa5 100644 --- a/packages/cli/src/commands/index.ts +++ b/packages/cli/src/commands/index.ts @@ -3,9 +3,11 @@ import { ParsedArgs } from 'minimist'; import { commands as codegen } from './codegen'; import { commands as protogen } from './protogen'; +import { commands as runtimeSchema } from './runtime-schema'; import { help as codegenHelp } from './codegen/cli'; import { help as protogenHelp } from './protogen/cli'; +import { help as runtimeSchemaHelp } from './runtime-schema/cli'; export const commands = async (argv: Partial, prompter: Inquirerer, _options: CLIOptions) => { let command; @@ -21,6 +23,7 @@ export const commands = async (argv: Partial, prompter: Inquirerer, if (argv.help || argv.h) { codegenHelp(); protogenHelp(); + runtimeSchemaHelp(); process.exit(0); } @@ -32,7 +35,8 @@ export const commands = async (argv: Partial, prompter: Inquirerer, message: 'choose a command', options: [ 'protogen', - 'codegen' + 'codegen', + 'runtime-schema' ] } ]; @@ -54,6 +58,10 @@ export const commands = async (argv: Partial, prompter: Inquirerer, argv = await codegen(argv, prompter, _options); break; + case 'runtime-schema': + argv = await runtimeSchema(argv, prompter, _options); + break; + default: console.log(`No recognized command provided or no command given: ${command}`); break; @@ -61,4 +69,4 @@ export const commands = async (argv: Partial, prompter: Inquirerer, return argv; -}; \ No newline at end of file +}; diff --git a/packages/cli/src/commands/runtime-schema/cli.ts b/packages/cli/src/commands/runtime-schema/cli.ts new file mode 100644 index 0000000..f4596e1 --- /dev/null +++ b/packages/cli/src/commands/runtime-schema/cli.ts @@ -0,0 +1,62 @@ +import { readAndParsePackageJson } from '../../package'; +import { PgProtoParser, PgProtoParserOptions, getOptionsWithDefaults } from 'pg-proto-parser'; +import o from 'nested-obj'; + +export const help = (): void => { + console.log(` + Usage: + + pg-proto-parser runtime-schema --inFile --outDir + [--format ] [--filename ] + + Options: + + --help, -h Show this help message and exit. + --inFile Path to the .proto file to be parsed. + --outDir Directory to save the generated runtime schema files. + --format Output format for runtime schema ('json' or 'typescript'). + --filename Filename for the runtime schema file (without extension). + --version, -v Show the version number and exit. + `); +} + +export default async (argv) => { + + if (argv.help || argv.h) { + help(); + process.exit(0); + } + + if (argv.version || argv.v) { + console.log(`Version: ${readAndParsePackageJson().version}`); + process.exit(0); + } + + if (!argv.inFile || !argv.outDir) { + console.log('Input Error: inFile and outDir are required!'); + help(); + process.exit(1); + } + + const options: PgProtoParserOptions = getOptionsWithDefaults({ + outDir: argv.outDir + }); + + o.set(options, 'runtimeSchema.enabled', true); + o.set(options, 'runtimeSchema.format', argv.format || 'json'); + o.set(options, 'runtimeSchema.filename', argv.filename || 'runtime-schema'); + + o.set(options, 'types.enabled', false); + o.set(options, 'enums.enabled', false); + o.set(options, 'utils.astHelpers.enabled', false); + o.set(options, 'utils.enums.enabled', false); + + console.log(`Generating runtime schema from ${argv.inFile}...`); + const parser = new PgProtoParser(argv.inFile, options); + await parser.write(); + + const extension = argv.format === 'typescript' ? 'ts' : 'json'; + console.log(`Runtime schema generated successfully in ${argv.outDir}/${argv.filename || 'runtime-schema'}.${extension}`); + + return argv; +}; diff --git a/packages/cli/src/commands/runtime-schema/index.ts b/packages/cli/src/commands/runtime-schema/index.ts new file mode 100644 index 0000000..0641cb5 --- /dev/null +++ b/packages/cli/src/commands/runtime-schema/index.ts @@ -0,0 +1,43 @@ +import { CLIOptions, Inquirerer } from 'inquirerer' +import { ParsedArgs } from 'minimist'; +import cli, { help } from './cli'; + +export const commands = async (argv: Partial, prompter: Inquirerer, _options: CLIOptions) => { + + if (argv.help || argv.h) { + help(); + process.exit(0); + } + + argv = await prompter.prompt(argv, [ + { + type: 'text', + name: 'inFile', + message: 'provide inFile (./path/to/proto.proto):' + }, + { + type: 'text', + name: 'outDir', + message: 'provide outDir (./outputDir):' + }, + { + type: 'autocomplete', + name: 'format', + message: 'Choose output format:', + options: ['json', 'typescript'], + default: 'json', + useDefault: true + }, + { + type: 'text', + name: 'filename', + message: 'Filename for runtime schema (without extension):', + default: 'runtime-schema', + useDefault: true + } + ]); + + argv = await cli(argv); + + return argv; +}; diff --git a/packages/parser/README.md b/packages/parser/README.md index 6a30faf..848d046 100644 --- a/packages/parser/README.md +++ b/packages/parser/README.md @@ -82,6 +82,9 @@ This table describes the options available for `PgProtoParserOptions`, their fun | `enums.json.toIntOutFile` | Output file name for the JSON mapping of enum names to integer values. | `'enums2int.json'` | | `enums.json.toStrOutFile` | Output file name for the JSON mapping of integer values to enum names. | `'enums2str.json'` | | `enums.removeUndefinedAt0` | Removes the initial `UNDEFINED` enum entry and adjusts the subsequent values by decrementing them. | `true` | +| `runtimeSchema.enabled` | Whether to generate runtime schema for AST nodes with metadata about node types and field specifications. | `false` | +| `runtimeSchema.filename` | Filename for the generated runtime schema file. | `'runtime-schema'` | +| `runtimeSchema.format` | Output format for runtime schema generation ('json' or 'typescript'). | `'json'` | | `includeHeader` | Includes a header at the top of generated TypeScript files to avoid manual manipulation which could cause issues in CI/CD pipelines. | `true` | @@ -165,4 +168,4 @@ ast.selectStmt({ AS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED “AS IS”, AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND. -No developer or entity involved in creating Software will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the Software code or Software CLI, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value. \ No newline at end of file +No developer or entity involved in creating Software will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the Software code or Software CLI, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value. diff --git a/packages/parser/__tests__/__snapshots__/runtime-schema.test.ts.snap b/packages/parser/__tests__/__snapshots__/runtime-schema.test.ts.snap new file mode 100644 index 0000000..e7fabad --- /dev/null +++ b/packages/parser/__tests__/__snapshots__/runtime-schema.test.ts.snap @@ -0,0 +1,89271 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`runtime-schema custom filename json 1`] = ` +[ + { + "code": "[ + { + "name": "A_ArrayExpr", + "wrapped": true, + "fields": [ + { + "name": "elements", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Const", + "wrapped": true, + "fields": [ + { + "name": "boolval", + "type": "Boolean", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "bsval", + "type": "BitString", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fval", + "type": "Float", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isnull", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ival", + "type": "Integer", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sval", + "type": "String", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Expr", + "wrapped": true, + "fields": [ + { + "name": "kind", + "type": "A_Expr_Kind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Indices", + "wrapped": true, + "fields": [ + { + "name": "is_slice", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lidx", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "uidx", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Indirection", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "indirection", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "A_Star", + "wrapped": true, + "fields": [] + }, + { + "name": "AccessPriv", + "wrapped": true, + "fields": [ + { + "name": "cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "priv_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Aggref", + "wrapped": true, + "fields": [ + { + "name": "aggargtypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggdirectargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggdistinct", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggfilter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "aggfnoid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggkind", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "agglevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggorder", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggsplit", + "type": "AggSplit", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggstar", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggtransno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggvariadic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Alias", + "wrapped": true, + "fields": [ + { + "name": "aliasname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterCollationStmt", + "wrapped": true, + "fields": [ + { + "name": "collname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterDatabaseRefreshCollStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterDatabaseSetStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "setstmt", + "type": "VariableSetStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterDatabaseStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterDefaultPrivilegesStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "GrantStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterDomainStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "def", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subtype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterEnumStmt", + "wrapped": true, + "fields": [ + { + "name": "newVal", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newValIsAfter", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newValNeighbor", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldVal", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "skipIfNewValExists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterEventTrigStmt", + "wrapped": true, + "fields": [ + { + "name": "tgenabled", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "trigname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterExtensionContentsStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "extname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterExtensionStmt", + "wrapped": true, + "fields": [ + { + "name": "extname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterFdwStmt", + "wrapped": true, + "fields": [ + { + "name": "fdwname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func_options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterForeignServerStmt", + "wrapped": true, + "fields": [ + { + "name": "has_version", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "version", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterFunctionStmt", + "wrapped": true, + "fields": [ + { + "name": "actions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "func", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlternativeSubPlan", + "wrapped": true, + "fields": [ + { + "name": "subplans", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterObjectDependsStmt", + "wrapped": true, + "fields": [ + { + "name": "extname", + "type": "String", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objectType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "remove", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterObjectSchemaStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newschema", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objectType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterOperatorStmt", + "wrapped": true, + "fields": [ + { + "name": "opername", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterOpFamilyStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isDrop", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opfamilyname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterOwnerStmt", + "wrapped": true, + "fields": [ + { + "name": "newowner", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objectType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterPolicyStmt", + "wrapped": true, + "fields": [ + { + "name": "policy_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "table", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "with_check", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterPublicationStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "AlterPublicationAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "for_all_tables", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pubname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubobjects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterRoleSetStmt", + "wrapped": true, + "fields": [ + { + "name": "database", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "role", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "setstmt", + "type": "VariableSetStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "role", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterSeqStmt", + "wrapped": true, + "fields": [ + { + "name": "for_identity", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "sequence", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterStatsStmt", + "wrapped": true, + "fields": [ + { + "name": "defnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stxstattarget", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterSubscriptionStmt", + "wrapped": true, + "fields": [ + { + "name": "conninfo", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "AlterSubscriptionType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "publication", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterSystemStmt", + "wrapped": true, + "fields": [ + { + "name": "setstmt", + "type": "VariableSetStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTableCmd", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "def", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newowner", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "num", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "recurse", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subtype", + "type": "AlterTableType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTableMoveAllStmt", + "wrapped": true, + "fields": [ + { + "name": "new_tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nowait", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "orig_tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterTableSpaceOptionsStmt", + "wrapped": true, + "fields": [ + { + "name": "isReset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTableStmt", + "wrapped": true, + "fields": [ + { + "name": "cmds", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTSConfigurationStmt", + "wrapped": true, + "fields": [ + { + "name": "cfgname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "dicts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "kind", + "type": "AlterTSConfigType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tokentype", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterTSDictionaryStmt", + "wrapped": true, + "fields": [ + { + "name": "dictname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterTypeStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterUserMappingStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "user", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ArrayCoerceExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coerceformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "elemexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ArrayExpr", + "wrapped": true, + "fields": [ + { + "name": "array_collid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "array_typeid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "element_typeid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "elements", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "multidims", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "BitString", + "wrapped": true, + "fields": [ + { + "name": "bsval", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Boolean", + "wrapped": true, + "fields": [ + { + "name": "boolval", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "BooleanTest", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "booltesttype", + "type": "BoolTestType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "BoolExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "boolop", + "type": "BoolExprType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CallContext", + "wrapped": true, + "fields": [ + { + "name": "atomic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CallStmt", + "wrapped": true, + "fields": [ + { + "name": "funccall", + "type": "FuncCall", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "funcexpr", + "type": "FuncExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "outargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CaseExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "casecollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "casetype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "defresult", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CaseTestExpr", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeMod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CaseWhen", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "result", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CheckPointStmt", + "wrapped": true, + "fields": [] + }, + { + "name": "ClosePortalStmt", + "wrapped": true, + "fields": [ + { + "name": "portalname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ClusterStmt", + "wrapped": true, + "fields": [ + { + "name": "indexname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoalesceExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coalescecollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "coalescetype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoerceToDomain", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coercionformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoerceToDomainValue", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeMod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoerceViaIO", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coerceformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CollateClause", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "collname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CollateExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "collOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ColumnDef", + "wrapped": true, + "fields": [ + { + "name": "collClause", + "type": "CollateClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "collOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "compression", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "cooked_default", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fdwoptions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "generated", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "identity", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "identitySequence", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "inhcount", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_from_type", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_local", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_not_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "raw_default", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "storage", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "storage_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ColumnRef", + "wrapped": true, + "fields": [ + { + "name": "fields", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CommentStmt", + "wrapped": true, + "fields": [ + { + "name": "comment", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CommonTableExpr", + "wrapped": true, + "fields": [ + { + "name": "aliascolnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecolcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecolnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecoltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecoltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctematerialized", + "type": "CTEMaterialize", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ctename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ctequery", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "cterecursive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cterefcount", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_clause", + "type": "CTECycleClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "search_clause", + "type": "CTESearchClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CompositeTypeStmt", + "wrapped": true, + "fields": [ + { + "name": "coldeflist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typevar", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Constraint", + "wrapped": true, + "fields": [ + { + "name": "access_method", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "conname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "contype", + "type": "ConstrType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cooked_expr", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "deferrable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exclusions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fk_attrs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fk_del_action", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "fk_del_set_cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fk_matchtype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "fk_upd_action", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "generated_when", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "including", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "indexname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexspace", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "initdeferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "initially_valid", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_no_inherit", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "keys", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_not_distinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "old_conpfeqop", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "old_pktable_oid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pk_attrs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pktable", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "raw_expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "reset_default_tblspc", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "skip_validation", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "where_clause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ConstraintsSetStmt", + "wrapped": true, + "fields": [ + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "deferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ConvertRowtypeExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "convertformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CopyStmt", + "wrapped": true, + "fields": [ + { + "name": "attlist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "filename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_from", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_program", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateAmStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "amtype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "handler_name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateCastStmt", + "wrapped": true, + "fields": [ + { + "name": "context", + "type": "CoercionContext", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "inout", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sourcetype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "targettype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateConversionStmt", + "wrapped": true, + "fields": [ + { + "name": "conversion_name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "def", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "for_encoding_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func_name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "to_encoding_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreatedbStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateDomainStmt", + "wrapped": true, + "fields": [ + { + "name": "collClause", + "type": "CollateClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "domainname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateEnumStmt", + "wrapped": true, + "fields": [ + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "vals", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateEventTrigStmt", + "wrapped": true, + "fields": [ + { + "name": "eventname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "trigname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whenclause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateExtensionStmt", + "wrapped": true, + "fields": [ + { + "name": "extname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateFdwStmt", + "wrapped": true, + "fields": [ + { + "name": "fdwname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func_options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateForeignServerStmt", + "wrapped": true, + "fields": [ + { + "name": "fdwname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "servertype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "version", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateForeignTableStmt", + "wrapped": true, + "fields": [ + { + "name": "base", + "type": "CreateStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateFunctionStmt", + "wrapped": true, + "fields": [ + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "is_procedure", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "parameters", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "returnType", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sql_body", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateOpClassItem", + "wrapped": true, + "fields": [ + { + "name": "class_args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "itemtype", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "number", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "order_family", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "storedtype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateOpClassStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "datatype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isDefault", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opclassname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opfamilyname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateOpFamilyStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opfamilyname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreatePLangStmt", + "wrapped": true, + "fields": [ + { + "name": "plhandler", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "plinline", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "plname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pltrusted", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "plvalidator", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreatePolicyStmt", + "wrapped": true, + "fields": [ + { + "name": "cmd_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "permissive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "policy_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "table", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "with_check", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreatePublicationStmt", + "wrapped": true, + "fields": [ + { + "name": "for_all_tables", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pubname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubobjects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateRangeStmt", + "wrapped": true, + "fields": [ + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "role", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stmt_type", + "type": "RoleStmtType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateSchemaStmt", + "wrapped": true, + "fields": [ + { + "name": "authrole", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "schemaElts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "schemaname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateSeqStmt", + "wrapped": true, + "fields": [ + { + "name": "for_identity", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ownerId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sequence", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateStatsStmt", + "wrapped": true, + "fields": [ + { + "name": "defnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "exprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "stat_types", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "stxcomment", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "transformed", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateStmt", + "wrapped": true, + "fields": [ + { + "name": "accessMethod", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inhRelations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ofTypename", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "oncommit", + "type": "OnCommitAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "partbound", + "type": "PartitionBoundSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "partspec", + "type": "PartitionSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tableElts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateSubscriptionStmt", + "wrapped": true, + "fields": [ + { + "name": "conninfo", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "publication", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTableAsStmt", + "wrapped": true, + "fields": [ + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "into", + "type": "IntoClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "is_select_into", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTableSpaceStmt", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "owner", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTransformStmt", + "wrapped": true, + "fields": [ + { + "name": "fromsql", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "lang", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tosql", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "type_name", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTrigStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "columns", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "constrrel", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "deferrable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "events", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "initdeferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isconstraint", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "row", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "timing", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "transitionRels", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "trigname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whenClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateUserMappingStmt", + "wrapped": true, + "fields": [ + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "user", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CTECycleClause", + "wrapped": true, + "fields": [ + { + "name": "cycle_col_list", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "cycle_mark_collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_column", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_default", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_neop", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_type", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_value", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "cycle_path_column", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CTESearchClause", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "search_breadth_first", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "search_col_list", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "search_seq_column", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CurrentOfExpr", + "wrapped": true, + "fields": [ + { + "name": "cursor_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cursor_param", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cvarno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DeallocateStmt", + "wrapped": true, + "fields": [ + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DeclareCursorStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "portalname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DefElem", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "defaction", + "type": "DefElemAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "defname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "defnamespace", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DefineStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "definition", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "defnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldstyle", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DeleteStmt", + "wrapped": true, + "fields": [ + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "usingClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DiscardStmt", + "wrapped": true, + "fields": [ + { + "name": "target", + "type": "DiscardMode", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DistinctExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DoStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropdbStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropOwnedStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "removeType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DropSubscriptionStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DropTableSpaceStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DropUserMappingStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "user", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ExecuteStmt", + "wrapped": true, + "fields": [ + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "ExplainStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FetchStmt", + "wrapped": true, + "fields": [ + { + "name": "direction", + "type": "FetchDirection", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "howMany", + "type": "int64", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ismove", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "portalname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FieldSelect", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fieldnum", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FieldStore", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fieldnums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "newvals", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Float", + "wrapped": true, + "fields": [ + { + "name": "fval", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FromExpr", + "wrapped": true, + "fields": [ + { + "name": "fromlist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "quals", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FuncCall", + "wrapped": true, + "fields": [ + { + "name": "agg_distinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "agg_filter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "agg_order", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "agg_star", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "agg_within_group", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "func_variadic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "over", + "type": "WindowDef", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FuncExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcvariadic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FunctionParameter", + "wrapped": true, + "fields": [ + { + "name": "argType", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "defexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "mode", + "type": "FunctionParameterMode", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "GrantRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "granted_roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "grantee_roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "grantor", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "is_grant", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opt", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "GrantStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "grant_option", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "grantees", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "grantor", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "is_grant", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "privileges", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "targtype", + "type": "GrantTargetType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "GroupingFunc", + "wrapped": true, + "fields": [ + { + "name": "agglevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "GroupingSet", + "wrapped": true, + "fields": [ + { + "name": "content", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "kind", + "type": "GroupingSetKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ImportForeignSchemaStmt", + "wrapped": true, + "fields": [ + { + "name": "list_type", + "type": "ImportForeignSchemaType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "local_schema", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "remote_schema", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "server_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "table_list", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "IndexElem", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "indexcolname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_ordering", + "type": "SortByNulls", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opclass", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opclassopts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ordering", + "type": "SortByDir", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "IndexStmt", + "wrapped": true, + "fields": [ + { + "name": "accessMethod", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "deferrable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "excludeOpNames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "idxcomment", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "idxname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexIncludingParams", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "indexOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexParams", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "initdeferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isconstraint", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_not_distinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldCreateSubid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldFirstRelfilelocatorSubid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldNumber", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "primary", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "reset_default_tblspc", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tableSpace", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "transformed", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InferClause", + "wrapped": true, + "fields": [ + { + "name": "conname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexElems", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InferenceElem", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "infercollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inferopclass", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InlineCodeBlock", + "wrapped": true, + "fields": [ + { + "name": "atomic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "langIsTrusted", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "langOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "source_text", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InsertStmt", + "wrapped": true, + "fields": [ + { + "name": "cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onConflictClause", + "type": "OnConflictClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "selectStmt", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Integer", + "wrapped": true, + "fields": [ + { + "name": "ival", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "IntList", + "wrapped": true, + "fields": [ + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "IntoClause", + "wrapped": true, + "fields": [ + { + "name": "accessMethod", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colNames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onCommit", + "type": "OnCommitAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rel", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "skipData", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tableSpaceName", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "viewQuery", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JoinExpr", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isNatural", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "join_using_alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "jointype", + "type": "JoinType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "larg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "quals", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "rarg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "rtindex", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "usingClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "JsonAggConstructor", + "wrapped": true, + "fields": [ + { + "name": "agg_filter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "agg_order", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "over", + "type": "WindowDef", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonArrayAgg", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "arg", + "type": "JsonValueExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constructor", + "type": "JsonAggConstructor", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonArrayConstructor", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonArrayQueryConstructor", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonConstructorExpr", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coercion", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "func", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "returning", + "type": "JsonReturning", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "type", + "type": "JsonConstructorType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonFormat", + "wrapped": true, + "fields": [ + { + "name": "encoding", + "type": "JsonEncoding", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "format_type", + "type": "JsonFormatType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonIsPredicate", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "item_type", + "type": "JsonValueType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "unique_keys", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonKeyValue", + "wrapped": true, + "fields": [ + { + "name": "key", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "value", + "type": "JsonValueExpr", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonObjectAgg", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "arg", + "type": "JsonKeyValue", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constructor", + "type": "JsonAggConstructor", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonObjectConstructor", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonOutput", + "wrapped": true, + "fields": [ + { + "name": "returning", + "type": "JsonReturning", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonReturning", + "wrapped": true, + "fields": [ + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "typid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonValueExpr", + "wrapped": true, + "fields": [ + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "formatted_expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "raw_expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "List", + "wrapped": true, + "fields": [ + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "ListenStmt", + "wrapped": true, + "fields": [ + { + "name": "conditionname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "LoadStmt", + "wrapped": true, + "fields": [ + { + "name": "filename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "LockingClause", + "wrapped": true, + "fields": [ + { + "name": "lockedRels", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "strength", + "type": "LockClauseStrength", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "waitPolicy", + "type": "LockWaitPolicy", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "LockStmt", + "wrapped": true, + "fields": [ + { + "name": "mode", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nowait", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "MergeAction", + "wrapped": true, + "fields": [ + { + "name": "commandType", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "matched", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "updateColnos", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "MergeStmt", + "wrapped": true, + "fields": [ + { + "name": "joinCondition", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "mergeWhenClauses", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sourceRelation", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "MergeWhenClause", + "wrapped": true, + "fields": [ + { + "name": "commandType", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "condition", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "matched", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "values", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "MinMaxExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "minmaxcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "minmaxtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "op", + "type": "MinMaxOp", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "MultiAssignRef", + "wrapped": true, + "fields": [ + { + "name": "colno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ncolumns", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "source", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NamedArgExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "argnumber", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NextValueExpr", + "wrapped": true, + "fields": [ + { + "name": "seqid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NotifyStmt", + "wrapped": true, + "fields": [ + { + "name": "conditionname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "payload", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NullIfExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NullTest", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "argisrow", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulltesttype", + "type": "NullTestType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ObjectWithArgs", + "wrapped": true, + "fields": [ + { + "name": "args_unspecified", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "objfuncargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "objname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "OidList", + "wrapped": true, + "fields": [ + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "OnConflictClause", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "OnConflictAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "infer", + "type": "InferClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "OnConflictExpr", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "OnConflictAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "arbiterElems", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "arbiterWhere", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constraint", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exclRelIndex", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exclRelTlist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onConflictSet", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onConflictWhere", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "OpExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Param", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramid", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramkind", + "type": "ParamKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramtypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ParamRef", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "number", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ParseResult", + "wrapped": false, + "fields": [ + { + "name": "stmts", + "type": "RawStmt", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "version", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PartitionBoundSpec", + "wrapped": true, + "fields": [ + { + "name": "is_default", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "listdatums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lowerdatums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "modulus", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "remainder", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "strategy", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "upperdatums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "PartitionCmd", + "wrapped": true, + "fields": [ + { + "name": "bound", + "type": "PartitionBoundSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PartitionElem", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opclass", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "PartitionRangeDatum", + "wrapped": true, + "fields": [ + { + "name": "kind", + "type": "PartitionRangeDatumKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "value", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PartitionSpec", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "partParams", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "strategy", + "type": "PartitionStrategy", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PLAssignStmt", + "wrapped": true, + "fields": [ + { + "name": "indirection", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nnames", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "val", + "type": "SelectStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PrepareStmt", + "wrapped": true, + "fields": [ + { + "name": "argtypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PublicationObjSpec", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubobjtype", + "type": "PublicationObjSpecType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubtable", + "type": "PublicationTable", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PublicationTable", + "wrapped": true, + "fields": [ + { + "name": "columns", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Query", + "wrapped": true, + "fields": [ + { + "name": "canSetTag", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "commandType", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "constraintDeps", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "cteList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "distinctClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupDistinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "groupingSets", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "hasAggs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasDistinctOn", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasForUpdate", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasModifyingCTE", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasRecursive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasRowSecurity", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasSubLinks", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasTargetSRFs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasWindowFuncs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "havingQual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isReturn", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "jointree", + "type": "FromExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitCount", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOption", + "type": "LimitOption", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "mergeActionList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "mergeUseOuterJoin", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "onConflict", + "type": "OnConflictExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "querySource", + "type": "QuerySource", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultRelation", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rowMarks", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rtable", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rteperminfos", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "setOperations", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sortClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "stmt_len", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stmt_location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "utilityStmt", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "windowClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "withCheckOptions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RangeFunction", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coldeflist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "functions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "is_rowsfrom", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ordinality", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeSubselect", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subquery", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTableFunc", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "columns", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "docexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "namespaces", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rowexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTableFuncCol", + "wrapped": true, + "fields": [ + { + "name": "coldefexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "colexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "colname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "for_ordinality", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_not_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTableSample", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "method", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "repeatable", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTblEntry", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "colcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctelevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ctename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "enrname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "enrtuples", + "type": "double", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "eref", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "funcordinality", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "functions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inFromCl", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inh", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "join_using_alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "joinaliasvars", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "joinleftcols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "joinmergedcols", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "joinrightcols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "jointype", + "type": "JoinType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "perminfoindex", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relkind", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rellockmode", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rtekind", + "type": "RTEKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "security_barrier", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "securityQuals", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "self_reference", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subquery", + "type": "Query", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tablefunc", + "type": "TableFunc", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tablesample", + "type": "TableSampleClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "values_lists", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RangeTblFunction", + "wrapped": true, + "fields": [ + { + "name": "funccolcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccolcount", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funccolnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccoltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccoltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funcexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "funcparams", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RangeTblRef", + "wrapped": true, + "fields": [ + { + "name": "rtindex", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeVar", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "catalogname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inh", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relpersistence", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "schemaname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RawStmt", + "wrapped": true, + "fields": [ + { + "name": "stmt", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "stmt_len", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stmt_location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReassignOwnedStmt", + "wrapped": true, + "fields": [ + { + "name": "newrole", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RefreshMatViewStmt", + "wrapped": true, + "fields": [ + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "skipData", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReindexStmt", + "wrapped": true, + "fields": [ + { + "name": "kind", + "type": "ReindexObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RelabelType", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relabelformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RenameStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relationType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "renameType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReplicaIdentityStmt", + "wrapped": true, + "fields": [ + { + "name": "identity_type", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ResTarget", + "wrapped": true, + "fields": [ + { + "name": "indirection", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "val", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReturnStmt", + "wrapped": true, + "fields": [ + { + "name": "returnval", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RoleSpec", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rolename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roletype", + "type": "RoleSpecType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RowCompareExpr", + "wrapped": true, + "fields": [ + { + "name": "inputcollids", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "largs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opfamilies", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opnos", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rctype", + "type": "RowCompareType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RowExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "row_format", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "row_typeid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RowMarkClause", + "wrapped": true, + "fields": [ + { + "name": "pushedDown", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rti", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "strength", + "type": "LockClauseStrength", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "waitPolicy", + "type": "LockWaitPolicy", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RTEPermissionInfo", + "wrapped": true, + "fields": [ + { + "name": "checkAsUser", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inh", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "insertedCols", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "relid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "requiredPerms", + "type": "uint64", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "selectedCols", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "updatedCols", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RuleStmt", + "wrapped": true, + "fields": [ + { + "name": "actions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "event", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "instead", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rulename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ScalarArrayOpExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "useOr", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ScanResult", + "wrapped": false, + "fields": [ + { + "name": "tokens", + "type": "ScanToken", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "version", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ScanToken", + "wrapped": false, + "fields": [ + { + "name": "end", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "keywordKind", + "type": "KeywordKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "start", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "token", + "type": "Token", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SecLabelStmt", + "wrapped": true, + "fields": [ + { + "name": "label", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "provider", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SelectStmt", + "wrapped": true, + "fields": [ + { + "name": "all", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "distinctClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fromClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupDistinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "havingClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "intoClause", + "type": "IntoClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "larg", + "type": "SelectStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitCount", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOption", + "type": "LimitOption", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lockingClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "op", + "type": "SetOperation", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rarg", + "type": "SelectStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sortClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "valuesLists", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "windowClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SetOperationStmt", + "wrapped": true, + "fields": [ + { + "name": "all", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colCollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colTypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colTypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupClauses", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "larg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "op", + "type": "SetOperation", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rarg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SetToDefault", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeMod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SortBy", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "node", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sortby_dir", + "type": "SortByDir", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sortby_nulls", + "type": "SortByNulls", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "useOp", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "SortGroupClause", + "wrapped": true, + "fields": [ + { + "name": "eqop", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hashable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_first", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sortop", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tleSortGroupRef", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SQLValueFunction", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "op", + "type": "SQLValueFunctionOp", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "type", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "StatsElem", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "String", + "wrapped": true, + "fields": [ + { + "name": "sval", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SubLink", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "operName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "subLinkId", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subLinkType", + "type": "SubLinkType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subselect", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "testexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SubPlan", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "firstColCollation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "firstColType", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "firstColTypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "parallel_safe", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramIds", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "parParam", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "per_call_cost", + "type": "double", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "plan_id", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "plan_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "setParam", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "startup_cost", + "type": "double", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subLinkType", + "type": "SubLinkType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "testexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "unknownEqFalse", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "useHashTable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SubscriptingRef", + "wrapped": true, + "fields": [ + { + "name": "refassgnexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "refcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refcontainertype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refelemtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "reflowerindexpr", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "refrestype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "reftypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refupperindexpr", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TableFunc", + "wrapped": true, + "fields": [ + { + "name": "colcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coldefexprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colexprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "docexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "notnulls", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "ns_names", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ns_uris", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ordinalitycol", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rowexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TableLikeClause", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relationOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TableSampleClause", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "repeatable", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tsmhandler", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TargetEntry", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "resjunk", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resorigcol", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resorigtbl", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ressortgroupref", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TransactionStmt", + "wrapped": true, + "fields": [ + { + "name": "chain", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "gid", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "TransactionStmtKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "savepoint_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TriggerTransition", + "wrapped": true, + "fields": [ + { + "name": "isNew", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isTable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TruncateStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "restart_seqs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TypeCast", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TypeName", + "wrapped": true, + "fields": [ + { + "name": "arrayBounds", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "names", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pct_type", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "setof", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typemod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "UnlistenStmt", + "wrapped": true, + "fields": [ + { + "name": "conditionname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "UpdateStmt", + "wrapped": true, + "fields": [ + { + "name": "fromClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "VacuumRelation", + "wrapped": true, + "fields": [ + { + "name": "oid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "va_cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "VacuumStmt", + "wrapped": true, + "fields": [ + { + "name": "is_vacuumcmd", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rels", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "Var", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varattno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varlevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varnullingrels", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "vartype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "vartypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "VariableSetStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "is_local", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "VariableSetKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "VariableShowStmt", + "wrapped": true, + "fields": [ + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ViewStmt", + "wrapped": true, + "fields": [ + { + "name": "aliases", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "view", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withCheckOption", + "type": "ViewCheckOption", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WindowClause", + "wrapped": true, + "fields": [ + { + "name": "copiedOrder", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "endInRangeFunc", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "endOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "frameOptions", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inRangeAsc", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inRangeColl", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inRangeNullsFirst", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "orderClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "partitionClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "refname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "runCondition", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "startInRangeFunc", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "startOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "winref", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WindowDef", + "wrapped": true, + "fields": [ + { + "name": "endOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "frameOptions", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "orderClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "partitionClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "refname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "startOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WindowFunc", + "wrapped": true, + "fields": [ + { + "name": "aggfilter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winagg", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "wincollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winfnoid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winref", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winstar", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "wintype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WithCheckOption", + "wrapped": true, + "fields": [ + { + "name": "cascaded", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "WCOKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "polname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WithClause", + "wrapped": true, + "fields": [ + { + "name": "ctes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "recursive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "XmlExpr", + "wrapped": true, + "fields": [ + { + "name": "arg_names", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "indent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "named_args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "op", + "type": "XmlExprOp", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "type", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xmloption", + "type": "XmlOptionType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "XmlSerialize", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "indent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "xmloption", + "type": "XmlOptionType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + } +]", + "file": "custom-node-specs.json", + }, +] +`; + +exports[`runtime-schema custom filename typescript 1`] = ` +[ + { + "code": "/** +* This file was automatically generated by pg-proto-parser@latest. +* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, +* and run the pg-proto-parser generate command to regenerate this file. +*/ +// Generated by pg-proto-parser +export interface FieldSpec { + name: string; + type: string; + isNode: boolean; + isArray: boolean; + optional: boolean; +} +export interface NodeSpec { + name: string; + wrapped: boolean; + fields: FieldSpec[]; +} +export const runtimeSchema: NodeSpec[] = [ + { + name: 'A_ArrayExpr', + wrapped: true, + fields: [ + { + name: 'elements', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'A_Const', + wrapped: true, + fields: [ + { + name: 'boolval', + type: 'Boolean', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'bsval', + type: 'BitString', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'fval', + type: 'Float', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'isnull', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ival', + type: 'Integer', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sval', + type: 'String', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'A_Expr', + wrapped: true, + fields: [ + { + name: 'kind', + type: 'A_Expr_Kind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'A_Indices', + wrapped: true, + fields: [ + { + name: 'is_slice', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lidx', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'uidx', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'A_Indirection', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'indirection', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'A_Star', + wrapped: true, + fields: [ + + ] + }, + { + name: 'AccessPriv', + wrapped: true, + fields: [ + { + name: 'cols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'priv_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'Aggref', + wrapped: true, + fields: [ + { + name: 'aggargtypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'aggcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggdirectargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'aggdistinct', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'aggfilter', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'aggfnoid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggkind', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'agglevelsup', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggorder', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'aggsplit', + type: 'AggSplit', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggstar', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggtransno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggtype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggvariadic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Alias', + wrapped: true, + fields: [ + { + name: 'aliasname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'colnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterCollationStmt', + wrapped: true, + fields: [ + { + name: 'collname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterDatabaseRefreshCollStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterDatabaseSetStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'setstmt', + type: 'VariableSetStmt', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterDatabaseStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterDefaultPrivilegesStmt', + wrapped: true, + fields: [ + { + name: 'action', + type: 'GrantStmt', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterDomainStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'def', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subtype', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterEnumStmt', + wrapped: true, + fields: [ + { + name: 'newVal', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newValIsAfter', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newValNeighbor', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldVal', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'skipIfNewValExists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterEventTrigStmt', + wrapped: true, + fields: [ + { + name: 'tgenabled', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'trigname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterExtensionContentsStmt', + wrapped: true, + fields: [ + { + name: 'action', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'extname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterExtensionStmt', + wrapped: true, + fields: [ + { + name: 'extname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterFdwStmt', + wrapped: true, + fields: [ + { + name: 'fdwname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'func_options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterForeignServerStmt', + wrapped: true, + fields: [ + { + name: 'has_version', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'version', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterFunctionStmt', + wrapped: true, + fields: [ + { + name: 'actions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'func', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlternativeSubPlan', + wrapped: true, + fields: [ + { + name: 'subplans', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterObjectDependsStmt', + wrapped: true, + fields: [ + { + name: 'extname', + type: 'String', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objectType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'remove', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterObjectSchemaStmt', + wrapped: true, + fields: [ + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newschema', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objectType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterOperatorStmt', + wrapped: true, + fields: [ + { + name: 'opername', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterOpFamilyStmt', + wrapped: true, + fields: [ + { + name: 'amname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'isDrop', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opfamilyname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterOwnerStmt', + wrapped: true, + fields: [ + { + name: 'newowner', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objectType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterPolicyStmt', + wrapped: true, + fields: [ + { + name: 'policy_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'qual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'table', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'with_check', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterPublicationStmt', + wrapped: true, + fields: [ + { + name: 'action', + type: 'AlterPublicationAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'for_all_tables', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pubname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pubobjects', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterRoleSetStmt', + wrapped: true, + fields: [ + { + name: 'database', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'role', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'setstmt', + type: 'VariableSetStmt', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterRoleStmt', + wrapped: true, + fields: [ + { + name: 'action', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'role', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterSeqStmt', + wrapped: true, + fields: [ + { + name: 'for_identity', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'sequence', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterStatsStmt', + wrapped: true, + fields: [ + { + name: 'defnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'stxstattarget', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterSubscriptionStmt', + wrapped: true, + fields: [ + { + name: 'conninfo', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'AlterSubscriptionType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'publication', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'subname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterSystemStmt', + wrapped: true, + fields: [ + { + name: 'setstmt', + type: 'VariableSetStmt', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterTableCmd', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'def', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newowner', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'num', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'recurse', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subtype', + type: 'AlterTableType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterTableMoveAllStmt', + wrapped: true, + fields: [ + { + name: 'new_tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nowait', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'orig_tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterTableSpaceOptionsStmt', + wrapped: true, + fields: [ + { + name: 'isReset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterTableStmt', + wrapped: true, + fields: [ + { + name: 'cmds', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterTSConfigurationStmt', + wrapped: true, + fields: [ + { + name: 'cfgname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'dicts', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'kind', + type: 'AlterTSConfigType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tokentype', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterTSDictionaryStmt', + wrapped: true, + fields: [ + { + name: 'dictname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterTypeStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterUserMappingStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'user', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ArrayCoerceExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'coerceformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'elemexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ArrayExpr', + wrapped: true, + fields: [ + { + name: 'array_collid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'array_typeid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'element_typeid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'elements', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'multidims', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'BitString', + wrapped: true, + fields: [ + { + name: 'bsval', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'Boolean', + wrapped: true, + fields: [ + { + name: 'boolval', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'BooleanTest', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'booltesttype', + type: 'BoolTestType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'BoolExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'boolop', + type: 'BoolExprType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CallContext', + wrapped: true, + fields: [ + { + name: 'atomic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CallStmt', + wrapped: true, + fields: [ + { + name: 'funccall', + type: 'FuncCall', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'funcexpr', + type: 'FuncExpr', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'outargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CaseExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'casecollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'casetype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'defresult', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CaseTestExpr', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeMod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CaseWhen', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'result', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CheckPointStmt', + wrapped: true, + fields: [ + + ] + }, + { + name: 'ClosePortalStmt', + wrapped: true, + fields: [ + { + name: 'portalname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ClusterStmt', + wrapped: true, + fields: [ + { + name: 'indexname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'params', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CoalesceExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coalescecollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'coalescetype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CoerceToDomain', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'coercionformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CoerceToDomainValue', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeMod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CoerceViaIO', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'coerceformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CollateClause', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'collname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CollateExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'collOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ColumnDef', + wrapped: true, + fields: [ + { + name: 'collClause', + type: 'CollateClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'collOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'colname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'compression', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'constraints', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'cooked_default', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'fdwoptions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'generated', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'identity', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'identitySequence', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'inhcount', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_from_type', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_local', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_not_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'raw_default', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'storage', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'storage_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ColumnRef', + wrapped: true, + fields: [ + { + name: 'fields', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CommentStmt', + wrapped: true, + fields: [ + { + name: 'comment', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CommonTableExpr', + wrapped: true, + fields: [ + { + name: 'aliascolnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctecolcollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctecolnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctecoltypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctecoltypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctematerialized', + type: 'CTEMaterialize', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ctename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ctequery', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'cterecursive', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cterefcount', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_clause', + type: 'CTECycleClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'search_clause', + type: 'CTESearchClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CompositeTypeStmt', + wrapped: true, + fields: [ + { + name: 'coldeflist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'typevar', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Constraint', + wrapped: true, + fields: [ + { + name: 'access_method', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'conname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'contype', + type: 'ConstrType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cooked_expr', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'deferrable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exclusions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'fk_attrs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'fk_del_action', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'fk_del_set_cols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'fk_matchtype', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'fk_upd_action', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'generated_when', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'including', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'indexname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'indexspace', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'initdeferred', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'initially_valid', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_no_inherit', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'keys', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulls_not_distinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'old_conpfeqop', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'old_pktable_oid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pk_attrs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pktable', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'raw_expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'reset_default_tblspc', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'skip_validation', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'where_clause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ConstraintsSetStmt', + wrapped: true, + fields: [ + { + name: 'constraints', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'deferred', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ConvertRowtypeExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'convertformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CopyStmt', + wrapped: true, + fields: [ + { + name: 'attlist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'filename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_from', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_program', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateAmStmt', + wrapped: true, + fields: [ + { + name: 'amname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'amtype', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'handler_name', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateCastStmt', + wrapped: true, + fields: [ + { + name: 'context', + type: 'CoercionContext', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'func', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'inout', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sourcetype', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'targettype', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateConversionStmt', + wrapped: true, + fields: [ + { + name: 'conversion_name', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'def', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'for_encoding_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'func_name', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'to_encoding_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreatedbStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateDomainStmt', + wrapped: true, + fields: [ + { + name: 'collClause', + type: 'CollateClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'constraints', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'domainname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateEnumStmt', + wrapped: true, + fields: [ + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'vals', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateEventTrigStmt', + wrapped: true, + fields: [ + { + name: 'eventname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'trigname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whenclause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateExtensionStmt', + wrapped: true, + fields: [ + { + name: 'extname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateFdwStmt', + wrapped: true, + fields: [ + { + name: 'fdwname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'func_options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateForeignServerStmt', + wrapped: true, + fields: [ + { + name: 'fdwname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'servertype', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'version', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateForeignTableStmt', + wrapped: true, + fields: [ + { + name: 'base', + type: 'CreateStmt', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateFunctionStmt', + wrapped: true, + fields: [ + { + name: 'funcname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'is_procedure', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'parameters', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'returnType', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sql_body', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateOpClassItem', + wrapped: true, + fields: [ + { + name: 'class_args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'itemtype', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'number', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'order_family', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'storedtype', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateOpClassStmt', + wrapped: true, + fields: [ + { + name: 'amname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'datatype', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'isDefault', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opclassname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opfamilyname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateOpFamilyStmt', + wrapped: true, + fields: [ + { + name: 'amname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opfamilyname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreatePLangStmt', + wrapped: true, + fields: [ + { + name: 'plhandler', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'plinline', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'plname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pltrusted', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'plvalidator', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreatePolicyStmt', + wrapped: true, + fields: [ + { + name: 'cmd_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'permissive', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'policy_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'qual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'table', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'with_check', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreatePublicationStmt', + wrapped: true, + fields: [ + { + name: 'for_all_tables', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pubname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pubobjects', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateRangeStmt', + wrapped: true, + fields: [ + { + name: 'params', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateRoleStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'role', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'stmt_type', + type: 'RoleStmtType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateSchemaStmt', + wrapped: true, + fields: [ + { + name: 'authrole', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'schemaElts', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'schemaname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateSeqStmt', + wrapped: true, + fields: [ + { + name: 'for_identity', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ownerId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sequence', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateStatsStmt', + wrapped: true, + fields: [ + { + name: 'defnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'exprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'stat_types', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'stxcomment', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'transformed', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateStmt', + wrapped: true, + fields: [ + { + name: 'accessMethod', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'constraints', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inhRelations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ofTypename', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'oncommit', + type: 'OnCommitAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'partbound', + type: 'PartitionBoundSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'partspec', + type: 'PartitionSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tableElts', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateSubscriptionStmt', + wrapped: true, + fields: [ + { + name: 'conninfo', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'publication', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'subname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateTableAsStmt', + wrapped: true, + fields: [ + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'into', + type: 'IntoClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'is_select_into', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateTableSpaceStmt', + wrapped: true, + fields: [ + { + name: 'location', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'owner', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateTransformStmt', + wrapped: true, + fields: [ + { + name: 'fromsql', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'lang', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tosql', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'type_name', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateTrigStmt', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'columns', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'constrrel', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'deferrable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'events', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'initdeferred', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'isconstraint', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'row', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'timing', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'transitionRels', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'trigname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whenClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateUserMappingStmt', + wrapped: true, + fields: [ + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'user', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CTECycleClause', + wrapped: true, + fields: [ + { + name: 'cycle_col_list', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'cycle_mark_collation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_column', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_default', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_neop', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_type', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_typmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_value', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'cycle_path_column', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CTESearchClause', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'search_breadth_first', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'search_col_list', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'search_seq_column', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CurrentOfExpr', + wrapped: true, + fields: [ + { + name: 'cursor_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cursor_param', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cvarno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'DeallocateStmt', + wrapped: true, + fields: [ + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DeclareCursorStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'portalname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'DefElem', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'defaction', + type: 'DefElemAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'defname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'defnamespace', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DefineStmt', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'definition', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'defnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldstyle', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DeleteStmt', + wrapped: true, + fields: [ + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'returningList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'usingClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'DiscardStmt', + wrapped: true, + fields: [ + { + name: 'target', + type: 'DiscardMode', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DistinctExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opresulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opretset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'DoStmt', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'DropdbStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'DropOwnedStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'DropRoleStmt', + wrapped: true, + fields: [ + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'DropStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'concurrent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objects', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'removeType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DropSubscriptionStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DropTableSpaceStmt', + wrapped: true, + fields: [ + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DropUserMappingStmt', + wrapped: true, + fields: [ + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'user', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ExecuteStmt', + wrapped: true, + fields: [ + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'params', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'ExplainStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FetchStmt', + wrapped: true, + fields: [ + { + name: 'direction', + type: 'FetchDirection', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'howMany', + type: 'int64', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ismove', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'portalname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'FieldSelect', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'fieldnum', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FieldStore', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'fieldnums', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'newvals', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Float', + wrapped: true, + fields: [ + { + name: 'fval', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'FromExpr', + wrapped: true, + fields: [ + { + name: 'fromlist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'quals', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FuncCall', + wrapped: true, + fields: [ + { + name: 'agg_distinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'agg_filter', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'agg_order', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'agg_star', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'agg_within_group', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'func_variadic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'over', + type: 'WindowDef', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FuncExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funccollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcresulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcretset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcvariadic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FunctionParameter', + wrapped: true, + fields: [ + { + name: 'argType', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'defexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'mode', + type: 'FunctionParameterMode', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'GrantRoleStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'granted_roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'grantee_roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'grantor', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'is_grant', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opt', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'GrantStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'grant_option', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'grantees', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'grantor', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'is_grant', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objects', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'privileges', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'targtype', + type: 'GrantTargetType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'GroupingFunc', + wrapped: true, + fields: [ + { + name: 'agglevelsup', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'GroupingSet', + wrapped: true, + fields: [ + { + name: 'content', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'kind', + type: 'GroupingSetKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ImportForeignSchemaStmt', + wrapped: true, + fields: [ + { + name: 'list_type', + type: 'ImportForeignSchemaType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'local_schema', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'remote_schema', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'server_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'table_list', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'IndexElem', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'indexcolname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulls_ordering', + type: 'SortByNulls', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opclass', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opclassopts', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ordering', + type: 'SortByDir', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'IndexStmt', + wrapped: true, + fields: [ + { + name: 'accessMethod', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'concurrent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'deferrable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'excludeOpNames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'idxcomment', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'idxname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'indexIncludingParams', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'indexOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'indexParams', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'initdeferred', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'isconstraint', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulls_not_distinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldCreateSubid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldFirstRelfilelocatorSubid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldNumber', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'primary', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'reset_default_tblspc', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tableSpace', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'transformed', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'unique', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'InferClause', + wrapped: true, + fields: [ + { + name: 'conname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'indexElems', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'InferenceElem', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'infercollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inferopclass', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'InlineCodeBlock', + wrapped: true, + fields: [ + { + name: 'atomic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'langIsTrusted', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'langOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'source_text', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'InsertStmt', + wrapped: true, + fields: [ + { + name: 'cols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'onConflictClause', + type: 'OnConflictClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'OverridingKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'returningList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'selectStmt', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Integer', + wrapped: true, + fields: [ + { + name: 'ival', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'IntList', + wrapped: true, + fields: [ + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'IntoClause', + wrapped: true, + fields: [ + { + name: 'accessMethod', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'colNames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'onCommit', + type: 'OnCommitAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rel', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'skipData', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tableSpaceName', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'viewQuery', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JoinExpr', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'isNatural', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'join_using_alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'jointype', + type: 'JoinType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'larg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'quals', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'rarg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'rtindex', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'usingClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'JsonAggConstructor', + wrapped: true, + fields: [ + { + name: 'agg_filter', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'agg_order', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'output', + type: 'JsonOutput', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'over', + type: 'WindowDef', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonArrayAgg', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'arg', + type: 'JsonValueExpr', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'constructor', + type: 'JsonAggConstructor', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonArrayConstructor', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'output', + type: 'JsonOutput', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonArrayQueryConstructor', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'format', + type: 'JsonFormat', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'output', + type: 'JsonOutput', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonConstructorExpr', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coercion', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'func', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'returning', + type: 'JsonReturning', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'type', + type: 'JsonConstructorType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'unique', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonFormat', + wrapped: true, + fields: [ + { + name: 'encoding', + type: 'JsonEncoding', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'format_type', + type: 'JsonFormatType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonIsPredicate', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'format', + type: 'JsonFormat', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'item_type', + type: 'JsonValueType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'unique_keys', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonKeyValue', + wrapped: true, + fields: [ + { + name: 'key', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'value', + type: 'JsonValueExpr', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonObjectAgg', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'arg', + type: 'JsonKeyValue', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'constructor', + type: 'JsonAggConstructor', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'unique', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonObjectConstructor', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'output', + type: 'JsonOutput', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'unique', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonOutput', + wrapped: true, + fields: [ + { + name: 'returning', + type: 'JsonReturning', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonReturning', + wrapped: true, + fields: [ + { + name: 'format', + type: 'JsonFormat', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'typid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonValueExpr', + wrapped: true, + fields: [ + { + name: 'format', + type: 'JsonFormat', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'formatted_expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'raw_expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'List', + wrapped: true, + fields: [ + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'ListenStmt', + wrapped: true, + fields: [ + { + name: 'conditionname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'LoadStmt', + wrapped: true, + fields: [ + { + name: 'filename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'LockingClause', + wrapped: true, + fields: [ + { + name: 'lockedRels', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'strength', + type: 'LockClauseStrength', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'waitPolicy', + type: 'LockWaitPolicy', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'LockStmt', + wrapped: true, + fields: [ + { + name: 'mode', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nowait', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'MergeAction', + wrapped: true, + fields: [ + { + name: 'commandType', + type: 'CmdType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'matched', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'OverridingKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'qual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'updateColnos', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'MergeStmt', + wrapped: true, + fields: [ + { + name: 'joinCondition', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'mergeWhenClauses', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sourceRelation', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'MergeWhenClause', + wrapped: true, + fields: [ + { + name: 'commandType', + type: 'CmdType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'condition', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'matched', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'OverridingKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'values', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'MinMaxExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'minmaxcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'minmaxtype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'op', + type: 'MinMaxOp', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'MultiAssignRef', + wrapped: true, + fields: [ + { + name: 'colno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ncolumns', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'source', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'NamedArgExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'argnumber', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'NextValueExpr', + wrapped: true, + fields: [ + { + name: 'seqid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'NotifyStmt', + wrapped: true, + fields: [ + { + name: 'conditionname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'payload', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'NullIfExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opresulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opretset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'NullTest', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'argisrow', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulltesttype', + type: 'NullTestType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ObjectWithArgs', + wrapped: true, + fields: [ + { + name: 'args_unspecified', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'objfuncargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'objname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'OidList', + wrapped: true, + fields: [ + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'OnConflictClause', + wrapped: true, + fields: [ + { + name: 'action', + type: 'OnConflictAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'infer', + type: 'InferClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'OnConflictExpr', + wrapped: true, + fields: [ + { + name: 'action', + type: 'OnConflictAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'arbiterElems', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'arbiterWhere', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'constraint', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exclRelIndex', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exclRelTlist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'onConflictSet', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'onConflictWhere', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'OpExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opresulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opretset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Param', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramid', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramkind', + type: 'ParamKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramtype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramtypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ParamRef', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'number', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ParseResult', + wrapped: false, + fields: [ + { + name: 'stmts', + type: 'RawStmt', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'version', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'PartitionBoundSpec', + wrapped: true, + fields: [ + { + name: 'is_default', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'listdatums', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lowerdatums', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'modulus', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'remainder', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'strategy', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'upperdatums', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'PartitionCmd', + wrapped: true, + fields: [ + { + name: 'bound', + type: 'PartitionBoundSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'concurrent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PartitionElem', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opclass', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'PartitionRangeDatum', + wrapped: true, + fields: [ + { + name: 'kind', + type: 'PartitionRangeDatumKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'value', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PartitionSpec', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'partParams', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'strategy', + type: 'PartitionStrategy', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'PLAssignStmt', + wrapped: true, + fields: [ + { + name: 'indirection', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nnames', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'val', + type: 'SelectStmt', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PrepareStmt', + wrapped: true, + fields: [ + { + name: 'argtypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PublicationObjSpec', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pubobjtype', + type: 'PublicationObjSpecType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pubtable', + type: 'PublicationTable', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PublicationTable', + wrapped: true, + fields: [ + { + name: 'columns', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Query', + wrapped: true, + fields: [ + { + name: 'canSetTag', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'commandType', + type: 'CmdType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'constraintDeps', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'cteList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'distinctClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupDistinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'groupingSets', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'hasAggs', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasDistinctOn', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasForUpdate', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasModifyingCTE', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasRecursive', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasRowSecurity', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasSubLinks', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasTargetSRFs', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasWindowFuncs', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'havingQual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'isReturn', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'jointree', + type: 'FromExpr', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitCount', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitOption', + type: 'LimitOption', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'mergeActionList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'mergeUseOuterJoin', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'onConflict', + type: 'OnConflictExpr', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'OverridingKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'querySource', + type: 'QuerySource', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultRelation', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'returningList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rowMarks', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rtable', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rteperminfos', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'setOperations', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sortClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'stmt_len', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'stmt_location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'utilityStmt', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'windowClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'withCheckOptions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'RangeFunction', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'coldeflist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'functions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'is_rowsfrom', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lateral', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ordinality', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeSubselect', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'lateral', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subquery', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeTableFunc', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'columns', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'docexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'lateral', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'namespaces', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rowexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeTableFuncCol', + wrapped: true, + fields: [ + { + name: 'coldefexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'colexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'colname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'for_ordinality', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_not_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeTableSample', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'method', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'repeatable', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeTblEntry', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'colcollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coltypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coltypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctelevelsup', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ctename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'enrname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'enrtuples', + type: 'double', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'eref', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'funcordinality', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'functions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inFromCl', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inh', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'join_using_alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'joinaliasvars', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'joinleftcols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'joinmergedcols', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'joinrightcols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'jointype', + type: 'JoinType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lateral', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'perminfoindex', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relkind', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rellockmode', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rtekind', + type: 'RTEKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'security_barrier', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'securityQuals', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'self_reference', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subquery', + type: 'Query', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tablefunc', + type: 'TableFunc', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tablesample', + type: 'TableSampleClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'values_lists', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'RangeTblFunction', + wrapped: true, + fields: [ + { + name: 'funccolcollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funccolcount', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funccolnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funccoltypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funccoltypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funcexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'funcparams', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + } + ] + }, + { + name: 'RangeTblRef', + wrapped: true, + fields: [ + { + name: 'rtindex', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeVar', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'catalogname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inh', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relpersistence', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'schemaname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RawStmt', + wrapped: true, + fields: [ + { + name: 'stmt', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'stmt_len', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'stmt_location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ReassignOwnedStmt', + wrapped: true, + fields: [ + { + name: 'newrole', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'RefreshMatViewStmt', + wrapped: true, + fields: [ + { + name: 'concurrent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'skipData', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ReindexStmt', + wrapped: true, + fields: [ + { + name: 'kind', + type: 'ReindexObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'params', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RelabelType', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relabelformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RenameStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relationType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'renameType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ReplicaIdentityStmt', + wrapped: true, + fields: [ + { + name: 'identity_type', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ResTarget', + wrapped: true, + fields: [ + { + name: 'indirection', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'val', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ReturnStmt', + wrapped: true, + fields: [ + { + name: 'returnval', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RoleSpec', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rolename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'roletype', + type: 'RoleSpecType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RowCompareExpr', + wrapped: true, + fields: [ + { + name: 'inputcollids', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'largs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opfamilies', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opnos', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rctype', + type: 'RowCompareType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RowExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'row_format', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'row_typeid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RowMarkClause', + wrapped: true, + fields: [ + { + name: 'pushedDown', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rti', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'strength', + type: 'LockClauseStrength', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'waitPolicy', + type: 'LockWaitPolicy', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RTEPermissionInfo', + wrapped: true, + fields: [ + { + name: 'checkAsUser', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inh', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'insertedCols', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'relid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'requiredPerms', + type: 'uint64', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'selectedCols', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'updatedCols', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + } + ] + }, + { + name: 'RuleStmt', + wrapped: true, + fields: [ + { + name: 'actions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'event', + type: 'CmdType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'instead', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rulename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ScalarArrayOpExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'useOr', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ScanResult', + wrapped: false, + fields: [ + { + name: 'tokens', + type: 'ScanToken', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'version', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ScanToken', + wrapped: false, + fields: [ + { + name: 'end', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'keywordKind', + type: 'KeywordKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'start', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'token', + type: 'Token', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'SecLabelStmt', + wrapped: true, + fields: [ + { + name: 'label', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'provider', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'SelectStmt', + wrapped: true, + fields: [ + { + name: 'all', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'distinctClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'fromClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupDistinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'havingClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'intoClause', + type: 'IntoClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'larg', + type: 'SelectStmt', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitCount', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitOption', + type: 'LimitOption', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lockingClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'op', + type: 'SetOperation', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rarg', + type: 'SelectStmt', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sortClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'valuesLists', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'windowClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SetOperationStmt', + wrapped: true, + fields: [ + { + name: 'all', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'colCollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colTypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colTypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupClauses', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'larg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'op', + type: 'SetOperation', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rarg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SetToDefault', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeMod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SortBy', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'node', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sortby_dir', + type: 'SortByDir', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sortby_nulls', + type: 'SortByNulls', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'useOp', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'SortGroupClause', + wrapped: true, + fields: [ + { + name: 'eqop', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hashable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulls_first', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sortop', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tleSortGroupRef', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'SQLValueFunction', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'op', + type: 'SQLValueFunctionOp', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'type', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'StatsElem', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'String', + wrapped: true, + fields: [ + { + name: 'sval', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'SubLink', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'operName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'subLinkId', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subLinkType', + type: 'SubLinkType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subselect', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'testexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SubPlan', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'firstColCollation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'firstColType', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'firstColTypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'parallel_safe', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramIds', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'parParam', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'per_call_cost', + type: 'double', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'plan_id', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'plan_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'setParam', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'startup_cost', + type: 'double', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subLinkType', + type: 'SubLinkType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'testexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'unknownEqFalse', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'useHashTable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SubscriptingRef', + wrapped: true, + fields: [ + { + name: 'refassgnexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'refcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refcontainertype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refelemtype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'reflowerindexpr', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'refrestype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'reftypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refupperindexpr', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'TableFunc', + wrapped: true, + fields: [ + { + name: 'colcollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coldefexprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colexprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coltypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coltypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'docexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'notnulls', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'ns_names', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ns_uris', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ordinalitycol', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rowexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'TableLikeClause', + wrapped: true, + fields: [ + { + name: 'options', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relationOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TableSampleClause', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'repeatable', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tsmhandler', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TargetEntry', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'resjunk', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resorigcol', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resorigtbl', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ressortgroupref', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'TransactionStmt', + wrapped: true, + fields: [ + { + name: 'chain', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'gid', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'TransactionStmtKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'savepoint_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TriggerTransition', + wrapped: true, + fields: [ + { + name: 'isNew', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'isTable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TruncateStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'restart_seqs', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TypeCast', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'TypeName', + wrapped: true, + fields: [ + { + name: 'arrayBounds', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'names', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pct_type', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'setof', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typemod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'UnlistenStmt', + wrapped: true, + fields: [ + { + name: 'conditionname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'UpdateStmt', + wrapped: true, + fields: [ + { + name: 'fromClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'returningList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'VacuumRelation', + wrapped: true, + fields: [ + { + name: 'oid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'va_cols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'VacuumStmt', + wrapped: true, + fields: [ + { + name: 'is_vacuumcmd', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rels', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'Var', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varattno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varlevelsup', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varnullingrels', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'vartype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'vartypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'VariableSetStmt', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'is_local', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'VariableSetKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'VariableShowStmt', + wrapped: true, + fields: [ + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ViewStmt', + wrapped: true, + fields: [ + { + name: 'aliases', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'view', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withCheckOption', + type: 'ViewCheckOption', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'WindowClause', + wrapped: true, + fields: [ + { + name: 'copiedOrder', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'endInRangeFunc', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'endOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'frameOptions', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inRangeAsc', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inRangeColl', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inRangeNullsFirst', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'orderClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'partitionClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'refname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'runCondition', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'startInRangeFunc', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'startOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'winref', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'WindowDef', + wrapped: true, + fields: [ + { + name: 'endOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'frameOptions', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'orderClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'partitionClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'refname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'startOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'WindowFunc', + wrapped: true, + fields: [ + { + name: 'aggfilter', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'winagg', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'wincollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'winfnoid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'winref', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'winstar', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'wintype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'WithCheckOption', + wrapped: true, + fields: [ + { + name: 'cascaded', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'WCOKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'polname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'qual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'WithClause', + wrapped: true, + fields: [ + { + name: 'ctes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'recursive', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'XmlExpr', + wrapped: true, + fields: [ + { + name: 'arg_names', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'indent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'named_args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'op', + type: 'XmlExprOp', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'type', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xmloption', + type: 'XmlOptionType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'XmlSerialize', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'indent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'xmloption', + type: 'XmlOptionType', + isNode: false, + isArray: false, + optional: true + } + ] + } +];", + "file": "custom-node-specs.ts", + }, +] +`; + +exports[`runtime-schema disabled runtime schema 1`] = ` +[ + { + "code": "/** +* This file was automatically generated by pg-proto-parser@latest. +* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, +* and run the pg-proto-parser generate command to regenerate this file. +*/ +import { OverridingKind, QuerySource, SortByDir, SortByNulls, SetQuantifier, A_Expr_Kind, RoleSpecType, TableLikeOption, DefElemAction, PartitionStrategy, PartitionRangeDatumKind, RTEKind, WCOKind, GroupingSetKind, CTEMaterialize, SetOperation, ObjectType, DropBehavior, AlterTableType, GrantTargetType, VariableSetKind, ConstrType, ImportForeignSchemaType, RoleStmtType, FetchDirection, FunctionParameterMode, TransactionStmtKind, ViewCheckOption, DiscardMode, ReindexObjectType, AlterTSConfigType, PublicationObjSpecType, AlterPublicationAction, AlterSubscriptionType, OnCommitAction, ParamKind, CoercionContext, CoercionForm, BoolExprType, SubLinkType, RowCompareType, MinMaxOp, SQLValueFunctionOp, XmlExprOp, XmlOptionType, JsonEncoding, JsonFormatType, JsonConstructorType, JsonValueType, NullTestType, BoolTestType, CmdType, JoinType, AggStrategy, AggSplit, SetOpCmd, SetOpStrategy, OnConflictAction, LimitOption, LockClauseStrength, LockWaitPolicy, LockTupleMode, KeywordKind, Token } from "./enums"; +export type Node = ParseResult | ScanResult | Integer | Float | Boolean | String | BitString | List | OidList | IntList | A_Const | Alias | RangeVar | TableFunc | IntoClause | Var | Param | Aggref | GroupingFunc | WindowFunc | SubscriptingRef | FuncExpr | NamedArgExpr | OpExpr | DistinctExpr | NullIfExpr | ScalarArrayOpExpr | BoolExpr | SubLink | SubPlan | AlternativeSubPlan | FieldSelect | FieldStore | RelabelType | CoerceViaIO | ArrayCoerceExpr | ConvertRowtypeExpr | CollateExpr | CaseExpr | CaseWhen | CaseTestExpr | ArrayExpr | RowExpr | RowCompareExpr | CoalesceExpr | MinMaxExpr | SQLValueFunction | XmlExpr | JsonFormat | JsonReturning | JsonValueExpr | JsonConstructorExpr | JsonIsPredicate | NullTest | BooleanTest | CoerceToDomain | CoerceToDomainValue | SetToDefault | CurrentOfExpr | NextValueExpr | InferenceElem | TargetEntry | RangeTblRef | JoinExpr | FromExpr | OnConflictExpr | Query | TypeName | ColumnRef | ParamRef | A_Expr | TypeCast | CollateClause | RoleSpec | FuncCall | A_Star | A_Indices | A_Indirection | A_ArrayExpr | ResTarget | MultiAssignRef | SortBy | WindowDef | RangeSubselect | RangeFunction | RangeTableFunc | RangeTableFuncCol | RangeTableSample | ColumnDef | TableLikeClause | IndexElem | DefElem | LockingClause | XmlSerialize | PartitionElem | PartitionSpec | PartitionBoundSpec | PartitionRangeDatum | PartitionCmd | RangeTblEntry | RTEPermissionInfo | RangeTblFunction | TableSampleClause | WithCheckOption | SortGroupClause | GroupingSet | WindowClause | RowMarkClause | WithClause | InferClause | OnConflictClause | CTESearchClause | CTECycleClause | CommonTableExpr | MergeWhenClause | MergeAction | TriggerTransition | JsonOutput | JsonKeyValue | JsonObjectConstructor | JsonArrayConstructor | JsonArrayQueryConstructor | JsonAggConstructor | JsonObjectAgg | JsonArrayAgg | RawStmt | InsertStmt | DeleteStmt | UpdateStmt | MergeStmt | SelectStmt | SetOperationStmt | ReturnStmt | PLAssignStmt | CreateSchemaStmt | AlterTableStmt | ReplicaIdentityStmt | AlterTableCmd | AlterCollationStmt | AlterDomainStmt | GrantStmt | ObjectWithArgs | AccessPriv | GrantRoleStmt | AlterDefaultPrivilegesStmt | CopyStmt | VariableSetStmt | VariableShowStmt | CreateStmt | Constraint | CreateTableSpaceStmt | DropTableSpaceStmt | AlterTableSpaceOptionsStmt | AlterTableMoveAllStmt | CreateExtensionStmt | AlterExtensionStmt | AlterExtensionContentsStmt | CreateFdwStmt | AlterFdwStmt | CreateForeignServerStmt | AlterForeignServerStmt | CreateForeignTableStmt | CreateUserMappingStmt | AlterUserMappingStmt | DropUserMappingStmt | ImportForeignSchemaStmt | CreatePolicyStmt | AlterPolicyStmt | CreateAmStmt | CreateTrigStmt | CreateEventTrigStmt | AlterEventTrigStmt | CreatePLangStmt | CreateRoleStmt | AlterRoleStmt | AlterRoleSetStmt | DropRoleStmt | CreateSeqStmt | AlterSeqStmt | DefineStmt | CreateDomainStmt | CreateOpClassStmt | CreateOpClassItem | CreateOpFamilyStmt | AlterOpFamilyStmt | DropStmt | TruncateStmt | CommentStmt | SecLabelStmt | DeclareCursorStmt | ClosePortalStmt | FetchStmt | IndexStmt | CreateStatsStmt | StatsElem | AlterStatsStmt | CreateFunctionStmt | FunctionParameter | AlterFunctionStmt | DoStmt | InlineCodeBlock | CallStmt | CallContext | RenameStmt | AlterObjectDependsStmt | AlterObjectSchemaStmt | AlterOwnerStmt | AlterOperatorStmt | AlterTypeStmt | RuleStmt | NotifyStmt | ListenStmt | UnlistenStmt | TransactionStmt | CompositeTypeStmt | CreateEnumStmt | CreateRangeStmt | AlterEnumStmt | ViewStmt | LoadStmt | CreatedbStmt | AlterDatabaseStmt | AlterDatabaseRefreshCollStmt | AlterDatabaseSetStmt | DropdbStmt | AlterSystemStmt | ClusterStmt | VacuumStmt | VacuumRelation | ExplainStmt | CreateTableAsStmt | RefreshMatViewStmt | CheckPointStmt | DiscardStmt | LockStmt | ConstraintsSetStmt | ReindexStmt | CreateConversionStmt | CreateCastStmt | CreateTransformStmt | PrepareStmt | ExecuteStmt | DeallocateStmt | DropOwnedStmt | ReassignOwnedStmt | AlterTSDictionaryStmt | AlterTSConfigurationStmt | PublicationTable | PublicationObjSpec | CreatePublicationStmt | AlterPublicationStmt | CreateSubscriptionStmt | AlterSubscriptionStmt | DropSubscriptionStmt | ScanToken; +export interface ParseResult { + version?: number; + stmts?: RawStmt[]; +} +export interface ScanResult { + version?: number; + tokens?: ScanToken[]; +} +export interface Integer { + ival?: number; +} +export interface Float { + fval?: string; +} +export interface Boolean { + boolval?: boolean; +} +export interface String { + sval?: string; +} +export interface BitString { + bsval?: string; +} +export interface List { + items?: Node[]; +} +export interface OidList { + items?: Node[]; +} +export interface IntList { + items?: Node[]; +} +export interface A_Const { + ival?: Integer; + fval?: Float; + boolval?: Boolean; + sval?: String; + bsval?: BitString; + isnull?: boolean; + location?: number; +} +export interface Alias { + aliasname?: string; + colnames?: Node[]; +} +export interface RangeVar { + catalogname?: string; + schemaname?: string; + relname?: string; + inh?: boolean; + relpersistence?: string; + alias?: Alias; + location?: number; +} +export interface TableFunc { + ns_uris?: Node[]; + ns_names?: Node[]; + docexpr?: Node; + rowexpr?: Node; + colnames?: Node[]; + coltypes?: Node[]; + coltypmods?: Node[]; + colcollations?: Node[]; + colexprs?: Node[]; + coldefexprs?: Node[]; + notnulls?: bigint[]; + ordinalitycol?: number; + location?: number; +} +export interface IntoClause { + rel?: RangeVar; + colNames?: Node[]; + accessMethod?: string; + options?: Node[]; + onCommit?: OnCommitAction; + tableSpaceName?: string; + viewQuery?: Node; + skipData?: boolean; +} +export interface Var { + xpr?: Node; + varno?: number; + varattno?: number; + vartype?: number; + vartypmod?: number; + varcollid?: number; + varnullingrels?: bigint[]; + varlevelsup?: number; + location?: number; +} +export interface Param { + xpr?: Node; + paramkind?: ParamKind; + paramid?: number; + paramtype?: number; + paramtypmod?: number; + paramcollid?: number; + location?: number; +} +export interface Aggref { + xpr?: Node; + aggfnoid?: number; + aggtype?: number; + aggcollid?: number; + inputcollid?: number; + aggargtypes?: Node[]; + aggdirectargs?: Node[]; + args?: Node[]; + aggorder?: Node[]; + aggdistinct?: Node[]; + aggfilter?: Node; + aggstar?: boolean; + aggvariadic?: boolean; + aggkind?: string; + agglevelsup?: number; + aggsplit?: AggSplit; + aggno?: number; + aggtransno?: number; + location?: number; +} +export interface GroupingFunc { + xpr?: Node; + args?: Node[]; + refs?: Node[]; + agglevelsup?: number; + location?: number; +} +export interface WindowFunc { + xpr?: Node; + winfnoid?: number; + wintype?: number; + wincollid?: number; + inputcollid?: number; + args?: Node[]; + aggfilter?: Node; + winref?: number; + winstar?: boolean; + winagg?: boolean; + location?: number; +} +export interface SubscriptingRef { + xpr?: Node; + refcontainertype?: number; + refelemtype?: number; + refrestype?: number; + reftypmod?: number; + refcollid?: number; + refupperindexpr?: Node[]; + reflowerindexpr?: Node[]; + refexpr?: Node; + refassgnexpr?: Node; +} +export interface FuncExpr { + xpr?: Node; + funcid?: number; + funcresulttype?: number; + funcretset?: boolean; + funcvariadic?: boolean; + funcformat?: CoercionForm; + funccollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface NamedArgExpr { + xpr?: Node; + arg?: Node; + name?: string; + argnumber?: number; + location?: number; +} +export interface OpExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface DistinctExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface NullIfExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface ScalarArrayOpExpr { + xpr?: Node; + opno?: number; + useOr?: boolean; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface BoolExpr { + xpr?: Node; + boolop?: BoolExprType; + args?: Node[]; + location?: number; +} +export interface SubLink { + xpr?: Node; + subLinkType?: SubLinkType; + subLinkId?: number; + testexpr?: Node; + operName?: Node[]; + subselect?: Node; + location?: number; +} +export interface SubPlan { + xpr?: Node; + subLinkType?: SubLinkType; + testexpr?: Node; + paramIds?: Node[]; + plan_id?: number; + plan_name?: string; + firstColType?: number; + firstColTypmod?: number; + firstColCollation?: number; + useHashTable?: boolean; + unknownEqFalse?: boolean; + parallel_safe?: boolean; + setParam?: Node[]; + parParam?: Node[]; + args?: Node[]; + startup_cost?: number; + per_call_cost?: number; +} +export interface AlternativeSubPlan { + xpr?: Node; + subplans?: Node[]; +} +export interface FieldSelect { + xpr?: Node; + arg?: Node; + fieldnum?: number; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; +} +export interface FieldStore { + xpr?: Node; + arg?: Node; + newvals?: Node[]; + fieldnums?: Node[]; + resulttype?: number; +} +export interface RelabelType { + xpr?: Node; + arg?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + relabelformat?: CoercionForm; + location?: number; +} +export interface CoerceViaIO { + xpr?: Node; + arg?: Node; + resulttype?: number; + resultcollid?: number; + coerceformat?: CoercionForm; + location?: number; +} +export interface ArrayCoerceExpr { + xpr?: Node; + arg?: Node; + elemexpr?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + coerceformat?: CoercionForm; + location?: number; +} +export interface ConvertRowtypeExpr { + xpr?: Node; + arg?: Node; + resulttype?: number; + convertformat?: CoercionForm; + location?: number; +} +export interface CollateExpr { + xpr?: Node; + arg?: Node; + collOid?: number; + location?: number; +} +export interface CaseExpr { + xpr?: Node; + casetype?: number; + casecollid?: number; + arg?: Node; + args?: Node[]; + defresult?: Node; + location?: number; +} +export interface CaseWhen { + xpr?: Node; + expr?: Node; + result?: Node; + location?: number; +} +export interface CaseTestExpr { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; +} +export interface ArrayExpr { + xpr?: Node; + array_typeid?: number; + array_collid?: number; + element_typeid?: number; + elements?: Node[]; + multidims?: boolean; + location?: number; +} +export interface RowExpr { + xpr?: Node; + args?: Node[]; + row_typeid?: number; + row_format?: CoercionForm; + colnames?: Node[]; + location?: number; +} +export interface RowCompareExpr { + xpr?: Node; + rctype?: RowCompareType; + opnos?: Node[]; + opfamilies?: Node[]; + inputcollids?: Node[]; + largs?: Node[]; + rargs?: Node[]; +} +export interface CoalesceExpr { + xpr?: Node; + coalescetype?: number; + coalescecollid?: number; + args?: Node[]; + location?: number; +} +export interface MinMaxExpr { + xpr?: Node; + minmaxtype?: number; + minmaxcollid?: number; + inputcollid?: number; + op?: MinMaxOp; + args?: Node[]; + location?: number; +} +export interface SQLValueFunction { + xpr?: Node; + op?: SQLValueFunctionOp; + type?: number; + typmod?: number; + location?: number; +} +export interface XmlExpr { + xpr?: Node; + op?: XmlExprOp; + name?: string; + named_args?: Node[]; + arg_names?: Node[]; + args?: Node[]; + xmloption?: XmlOptionType; + indent?: boolean; + type?: number; + typmod?: number; + location?: number; +} +export interface JsonFormat { + format_type?: JsonFormatType; + encoding?: JsonEncoding; + location?: number; +} +export interface JsonReturning { + format?: JsonFormat; + typid?: number; + typmod?: number; +} +export interface JsonValueExpr { + raw_expr?: Node; + formatted_expr?: Node; + format?: JsonFormat; +} +export interface JsonConstructorExpr { + xpr?: Node; + type?: JsonConstructorType; + args?: Node[]; + func?: Node; + coercion?: Node; + returning?: JsonReturning; + absent_on_null?: boolean; + unique?: boolean; + location?: number; +} +export interface JsonIsPredicate { + expr?: Node; + format?: JsonFormat; + item_type?: JsonValueType; + unique_keys?: boolean; + location?: number; +} +export interface NullTest { + xpr?: Node; + arg?: Node; + nulltesttype?: NullTestType; + argisrow?: boolean; + location?: number; +} +export interface BooleanTest { + xpr?: Node; + arg?: Node; + booltesttype?: BoolTestType; + location?: number; +} +export interface CoerceToDomain { + xpr?: Node; + arg?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + coercionformat?: CoercionForm; + location?: number; +} +export interface CoerceToDomainValue { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; + location?: number; +} +export interface SetToDefault { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; + location?: number; +} +export interface CurrentOfExpr { + xpr?: Node; + cvarno?: number; + cursor_name?: string; + cursor_param?: number; +} +export interface NextValueExpr { + xpr?: Node; + seqid?: number; + typeId?: number; +} +export interface InferenceElem { + xpr?: Node; + expr?: Node; + infercollid?: number; + inferopclass?: number; +} +export interface TargetEntry { + xpr?: Node; + expr?: Node; + resno?: number; + resname?: string; + ressortgroupref?: number; + resorigtbl?: number; + resorigcol?: number; + resjunk?: boolean; +} +export interface RangeTblRef { + rtindex?: number; +} +export interface JoinExpr { + jointype?: JoinType; + isNatural?: boolean; + larg?: Node; + rarg?: Node; + usingClause?: Node[]; + join_using_alias?: Alias; + quals?: Node; + alias?: Alias; + rtindex?: number; +} +export interface FromExpr { + fromlist?: Node[]; + quals?: Node; +} +export interface OnConflictExpr { + action?: OnConflictAction; + arbiterElems?: Node[]; + arbiterWhere?: Node; + constraint?: number; + onConflictSet?: Node[]; + onConflictWhere?: Node; + exclRelIndex?: number; + exclRelTlist?: Node[]; +} +export interface Query { + commandType?: CmdType; + querySource?: QuerySource; + canSetTag?: boolean; + utilityStmt?: Node; + resultRelation?: number; + hasAggs?: boolean; + hasWindowFuncs?: boolean; + hasTargetSRFs?: boolean; + hasSubLinks?: boolean; + hasDistinctOn?: boolean; + hasRecursive?: boolean; + hasModifyingCTE?: boolean; + hasForUpdate?: boolean; + hasRowSecurity?: boolean; + isReturn?: boolean; + cteList?: Node[]; + rtable?: Node[]; + rteperminfos?: Node[]; + jointree?: FromExpr; + mergeActionList?: Node[]; + mergeUseOuterJoin?: boolean; + targetList?: Node[]; + override?: OverridingKind; + onConflict?: OnConflictExpr; + returningList?: Node[]; + groupClause?: Node[]; + groupDistinct?: boolean; + groupingSets?: Node[]; + havingQual?: Node; + windowClause?: Node[]; + distinctClause?: Node[]; + sortClause?: Node[]; + limitOffset?: Node; + limitCount?: Node; + limitOption?: LimitOption; + rowMarks?: Node[]; + setOperations?: Node; + constraintDeps?: Node[]; + withCheckOptions?: Node[]; + stmt_location?: number; + stmt_len?: number; +} +export interface TypeName { + names?: Node[]; + typeOid?: number; + setof?: boolean; + pct_type?: boolean; + typmods?: Node[]; + typemod?: number; + arrayBounds?: Node[]; + location?: number; +} +export interface ColumnRef { + fields?: Node[]; + location?: number; +} +export interface ParamRef { + number?: number; + location?: number; +} +export interface A_Expr { + kind?: A_Expr_Kind; + name?: Node[]; + lexpr?: Node; + rexpr?: Node; + location?: number; +} +export interface TypeCast { + arg?: Node; + typeName?: TypeName; + location?: number; +} +export interface CollateClause { + arg?: Node; + collname?: Node[]; + location?: number; +} +export interface RoleSpec { + roletype?: RoleSpecType; + rolename?: string; + location?: number; +} +export interface FuncCall { + funcname?: Node[]; + args?: Node[]; + agg_order?: Node[]; + agg_filter?: Node; + over?: WindowDef; + agg_within_group?: boolean; + agg_star?: boolean; + agg_distinct?: boolean; + func_variadic?: boolean; + funcformat?: CoercionForm; + location?: number; +} +export interface A_Star {} +export interface A_Indices { + is_slice?: boolean; + lidx?: Node; + uidx?: Node; +} +export interface A_Indirection { + arg?: Node; + indirection?: Node[]; +} +export interface A_ArrayExpr { + elements?: Node[]; + location?: number; +} +export interface ResTarget { + name?: string; + indirection?: Node[]; + val?: Node; + location?: number; +} +export interface MultiAssignRef { + source?: Node; + colno?: number; + ncolumns?: number; +} +export interface SortBy { + node?: Node; + sortby_dir?: SortByDir; + sortby_nulls?: SortByNulls; + useOp?: Node[]; + location?: number; +} +export interface WindowDef { + name?: string; + refname?: string; + partitionClause?: Node[]; + orderClause?: Node[]; + frameOptions?: number; + startOffset?: Node; + endOffset?: Node; + location?: number; +} +export interface RangeSubselect { + lateral?: boolean; + subquery?: Node; + alias?: Alias; +} +export interface RangeFunction { + lateral?: boolean; + ordinality?: boolean; + is_rowsfrom?: boolean; + functions?: Node[]; + alias?: Alias; + coldeflist?: Node[]; +} +export interface RangeTableFunc { + lateral?: boolean; + docexpr?: Node; + rowexpr?: Node; + namespaces?: Node[]; + columns?: Node[]; + alias?: Alias; + location?: number; +} +export interface RangeTableFuncCol { + colname?: string; + typeName?: TypeName; + for_ordinality?: boolean; + is_not_null?: boolean; + colexpr?: Node; + coldefexpr?: Node; + location?: number; +} +export interface RangeTableSample { + relation?: Node; + method?: Node[]; + args?: Node[]; + repeatable?: Node; + location?: number; +} +export interface ColumnDef { + colname?: string; + typeName?: TypeName; + compression?: string; + inhcount?: number; + is_local?: boolean; + is_not_null?: boolean; + is_from_type?: boolean; + storage?: string; + storage_name?: string; + raw_default?: Node; + cooked_default?: Node; + identity?: string; + identitySequence?: RangeVar; + generated?: string; + collClause?: CollateClause; + collOid?: number; + constraints?: Node[]; + fdwoptions?: Node[]; + location?: number; +} +export interface TableLikeClause { + relation?: RangeVar; + options?: number; + relationOid?: number; +} +export interface IndexElem { + name?: string; + expr?: Node; + indexcolname?: string; + collation?: Node[]; + opclass?: Node[]; + opclassopts?: Node[]; + ordering?: SortByDir; + nulls_ordering?: SortByNulls; +} +export interface DefElem { + defnamespace?: string; + defname?: string; + arg?: Node; + defaction?: DefElemAction; + location?: number; +} +export interface LockingClause { + lockedRels?: Node[]; + strength?: LockClauseStrength; + waitPolicy?: LockWaitPolicy; +} +export interface XmlSerialize { + xmloption?: XmlOptionType; + expr?: Node; + typeName?: TypeName; + indent?: boolean; + location?: number; +} +export interface PartitionElem { + name?: string; + expr?: Node; + collation?: Node[]; + opclass?: Node[]; + location?: number; +} +export interface PartitionSpec { + strategy?: PartitionStrategy; + partParams?: Node[]; + location?: number; +} +export interface PartitionBoundSpec { + strategy?: string; + is_default?: boolean; + modulus?: number; + remainder?: number; + listdatums?: Node[]; + lowerdatums?: Node[]; + upperdatums?: Node[]; + location?: number; +} +export interface PartitionRangeDatum { + kind?: PartitionRangeDatumKind; + value?: Node; + location?: number; +} +export interface PartitionCmd { + name?: RangeVar; + bound?: PartitionBoundSpec; + concurrent?: boolean; +} +export interface RangeTblEntry { + rtekind?: RTEKind; + relid?: number; + relkind?: string; + rellockmode?: number; + tablesample?: TableSampleClause; + perminfoindex?: number; + subquery?: Query; + security_barrier?: boolean; + jointype?: JoinType; + joinmergedcols?: number; + joinaliasvars?: Node[]; + joinleftcols?: Node[]; + joinrightcols?: Node[]; + join_using_alias?: Alias; + functions?: Node[]; + funcordinality?: boolean; + tablefunc?: TableFunc; + values_lists?: Node[]; + ctename?: string; + ctelevelsup?: number; + self_reference?: boolean; + coltypes?: Node[]; + coltypmods?: Node[]; + colcollations?: Node[]; + enrname?: string; + enrtuples?: number; + alias?: Alias; + eref?: Alias; + lateral?: boolean; + inh?: boolean; + inFromCl?: boolean; + securityQuals?: Node[]; +} +export interface RTEPermissionInfo { + relid?: number; + inh?: boolean; + requiredPerms?: bigint; + checkAsUser?: number; + selectedCols?: bigint[]; + insertedCols?: bigint[]; + updatedCols?: bigint[]; +} +export interface RangeTblFunction { + funcexpr?: Node; + funccolcount?: number; + funccolnames?: Node[]; + funccoltypes?: Node[]; + funccoltypmods?: Node[]; + funccolcollations?: Node[]; + funcparams?: bigint[]; +} +export interface TableSampleClause { + tsmhandler?: number; + args?: Node[]; + repeatable?: Node; +} +export interface WithCheckOption { + kind?: WCOKind; + relname?: string; + polname?: string; + qual?: Node; + cascaded?: boolean; +} +export interface SortGroupClause { + tleSortGroupRef?: number; + eqop?: number; + sortop?: number; + nulls_first?: boolean; + hashable?: boolean; +} +export interface GroupingSet { + kind?: GroupingSetKind; + content?: Node[]; + location?: number; +} +export interface WindowClause { + name?: string; + refname?: string; + partitionClause?: Node[]; + orderClause?: Node[]; + frameOptions?: number; + startOffset?: Node; + endOffset?: Node; + runCondition?: Node[]; + startInRangeFunc?: number; + endInRangeFunc?: number; + inRangeColl?: number; + inRangeAsc?: boolean; + inRangeNullsFirst?: boolean; + winref?: number; + copiedOrder?: boolean; +} +export interface RowMarkClause { + rti?: number; + strength?: LockClauseStrength; + waitPolicy?: LockWaitPolicy; + pushedDown?: boolean; +} +export interface WithClause { + ctes?: Node[]; + recursive?: boolean; + location?: number; +} +export interface InferClause { + indexElems?: Node[]; + whereClause?: Node; + conname?: string; + location?: number; +} +export interface OnConflictClause { + action?: OnConflictAction; + infer?: InferClause; + targetList?: Node[]; + whereClause?: Node; + location?: number; +} +export interface CTESearchClause { + search_col_list?: Node[]; + search_breadth_first?: boolean; + search_seq_column?: string; + location?: number; +} +export interface CTECycleClause { + cycle_col_list?: Node[]; + cycle_mark_column?: string; + cycle_mark_value?: Node; + cycle_mark_default?: Node; + cycle_path_column?: string; + location?: number; + cycle_mark_type?: number; + cycle_mark_typmod?: number; + cycle_mark_collation?: number; + cycle_mark_neop?: number; +} +export interface CommonTableExpr { + ctename?: string; + aliascolnames?: Node[]; + ctematerialized?: CTEMaterialize; + ctequery?: Node; + search_clause?: CTESearchClause; + cycle_clause?: CTECycleClause; + location?: number; + cterecursive?: boolean; + cterefcount?: number; + ctecolnames?: Node[]; + ctecoltypes?: Node[]; + ctecoltypmods?: Node[]; + ctecolcollations?: Node[]; +} +export interface MergeWhenClause { + matched?: boolean; + commandType?: CmdType; + override?: OverridingKind; + condition?: Node; + targetList?: Node[]; + values?: Node[]; +} +export interface MergeAction { + matched?: boolean; + commandType?: CmdType; + override?: OverridingKind; + qual?: Node; + targetList?: Node[]; + updateColnos?: Node[]; +} +export interface TriggerTransition { + name?: string; + isNew?: boolean; + isTable?: boolean; +} +export interface JsonOutput { + typeName?: TypeName; + returning?: JsonReturning; +} +export interface JsonKeyValue { + key?: Node; + value?: JsonValueExpr; +} +export interface JsonObjectConstructor { + exprs?: Node[]; + output?: JsonOutput; + absent_on_null?: boolean; + unique?: boolean; + location?: number; +} +export interface JsonArrayConstructor { + exprs?: Node[]; + output?: JsonOutput; + absent_on_null?: boolean; + location?: number; +} +export interface JsonArrayQueryConstructor { + query?: Node; + output?: JsonOutput; + format?: JsonFormat; + absent_on_null?: boolean; + location?: number; +} +export interface JsonAggConstructor { + output?: JsonOutput; + agg_filter?: Node; + agg_order?: Node[]; + over?: WindowDef; + location?: number; +} +export interface JsonObjectAgg { + constructor?: JsonAggConstructor; + arg?: JsonKeyValue; + absent_on_null?: boolean; + unique?: boolean; +} +export interface JsonArrayAgg { + constructor?: JsonAggConstructor; + arg?: JsonValueExpr; + absent_on_null?: boolean; +} +export interface RawStmt { + stmt?: Node; + stmt_location?: number; + stmt_len?: number; +} +export interface InsertStmt { + relation?: RangeVar; + cols?: Node[]; + selectStmt?: Node; + onConflictClause?: OnConflictClause; + returningList?: Node[]; + withClause?: WithClause; + override?: OverridingKind; +} +export interface DeleteStmt { + relation?: RangeVar; + usingClause?: Node[]; + whereClause?: Node; + returningList?: Node[]; + withClause?: WithClause; +} +export interface UpdateStmt { + relation?: RangeVar; + targetList?: Node[]; + whereClause?: Node; + fromClause?: Node[]; + returningList?: Node[]; + withClause?: WithClause; +} +export interface MergeStmt { + relation?: RangeVar; + sourceRelation?: Node; + joinCondition?: Node; + mergeWhenClauses?: Node[]; + withClause?: WithClause; +} +export interface SelectStmt { + distinctClause?: Node[]; + intoClause?: IntoClause; + targetList?: Node[]; + fromClause?: Node[]; + whereClause?: Node; + groupClause?: Node[]; + groupDistinct?: boolean; + havingClause?: Node; + windowClause?: Node[]; + valuesLists?: Node[]; + sortClause?: Node[]; + limitOffset?: Node; + limitCount?: Node; + limitOption?: LimitOption; + lockingClause?: Node[]; + withClause?: WithClause; + op?: SetOperation; + all?: boolean; + larg?: SelectStmt; + rarg?: SelectStmt; +} +export interface SetOperationStmt { + op?: SetOperation; + all?: boolean; + larg?: Node; + rarg?: Node; + colTypes?: Node[]; + colTypmods?: Node[]; + colCollations?: Node[]; + groupClauses?: Node[]; +} +export interface ReturnStmt { + returnval?: Node; +} +export interface PLAssignStmt { + name?: string; + indirection?: Node[]; + nnames?: number; + val?: SelectStmt; + location?: number; +} +export interface CreateSchemaStmt { + schemaname?: string; + authrole?: RoleSpec; + schemaElts?: Node[]; + if_not_exists?: boolean; +} +export interface AlterTableStmt { + relation?: RangeVar; + cmds?: Node[]; + objtype?: ObjectType; + missing_ok?: boolean; +} +export interface ReplicaIdentityStmt { + identity_type?: string; + name?: string; +} +export interface AlterTableCmd { + subtype?: AlterTableType; + name?: string; + num?: number; + newowner?: RoleSpec; + def?: Node; + behavior?: DropBehavior; + missing_ok?: boolean; + recurse?: boolean; +} +export interface AlterCollationStmt { + collname?: Node[]; +} +export interface AlterDomainStmt { + subtype?: string; + typeName?: Node[]; + name?: string; + def?: Node; + behavior?: DropBehavior; + missing_ok?: boolean; +} +export interface GrantStmt { + is_grant?: boolean; + targtype?: GrantTargetType; + objtype?: ObjectType; + objects?: Node[]; + privileges?: Node[]; + grantees?: Node[]; + grant_option?: boolean; + grantor?: RoleSpec; + behavior?: DropBehavior; +} +export interface ObjectWithArgs { + objname?: Node[]; + objargs?: Node[]; + objfuncargs?: Node[]; + args_unspecified?: boolean; +} +export interface AccessPriv { + priv_name?: string; + cols?: Node[]; +} +export interface GrantRoleStmt { + granted_roles?: Node[]; + grantee_roles?: Node[]; + is_grant?: boolean; + opt?: Node[]; + grantor?: RoleSpec; + behavior?: DropBehavior; +} +export interface AlterDefaultPrivilegesStmt { + options?: Node[]; + action?: GrantStmt; +} +export interface CopyStmt { + relation?: RangeVar; + query?: Node; + attlist?: Node[]; + is_from?: boolean; + is_program?: boolean; + filename?: string; + options?: Node[]; + whereClause?: Node; +} +export interface VariableSetStmt { + kind?: VariableSetKind; + name?: string; + args?: Node[]; + is_local?: boolean; +} +export interface VariableShowStmt { + name?: string; +} +export interface CreateStmt { + relation?: RangeVar; + tableElts?: Node[]; + inhRelations?: Node[]; + partbound?: PartitionBoundSpec; + partspec?: PartitionSpec; + ofTypename?: TypeName; + constraints?: Node[]; + options?: Node[]; + oncommit?: OnCommitAction; + tablespacename?: string; + accessMethod?: string; + if_not_exists?: boolean; +} +export interface Constraint { + contype?: ConstrType; + conname?: string; + deferrable?: boolean; + initdeferred?: boolean; + location?: number; + is_no_inherit?: boolean; + raw_expr?: Node; + cooked_expr?: string; + generated_when?: string; + nulls_not_distinct?: boolean; + keys?: Node[]; + including?: Node[]; + exclusions?: Node[]; + options?: Node[]; + indexname?: string; + indexspace?: string; + reset_default_tblspc?: boolean; + access_method?: string; + where_clause?: Node; + pktable?: RangeVar; + fk_attrs?: Node[]; + pk_attrs?: Node[]; + fk_matchtype?: string; + fk_upd_action?: string; + fk_del_action?: string; + fk_del_set_cols?: Node[]; + old_conpfeqop?: Node[]; + old_pktable_oid?: number; + skip_validation?: boolean; + initially_valid?: boolean; +} +export interface CreateTableSpaceStmt { + tablespacename?: string; + owner?: RoleSpec; + location?: string; + options?: Node[]; +} +export interface DropTableSpaceStmt { + tablespacename?: string; + missing_ok?: boolean; +} +export interface AlterTableSpaceOptionsStmt { + tablespacename?: string; + options?: Node[]; + isReset?: boolean; +} +export interface AlterTableMoveAllStmt { + orig_tablespacename?: string; + objtype?: ObjectType; + roles?: Node[]; + new_tablespacename?: string; + nowait?: boolean; +} +export interface CreateExtensionStmt { + extname?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterExtensionStmt { + extname?: string; + options?: Node[]; +} +export interface AlterExtensionContentsStmt { + extname?: string; + action?: number; + objtype?: ObjectType; + object?: Node; +} +export interface CreateFdwStmt { + fdwname?: string; + func_options?: Node[]; + options?: Node[]; +} +export interface AlterFdwStmt { + fdwname?: string; + func_options?: Node[]; + options?: Node[]; +} +export interface CreateForeignServerStmt { + servername?: string; + servertype?: string; + version?: string; + fdwname?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterForeignServerStmt { + servername?: string; + version?: string; + options?: Node[]; + has_version?: boolean; +} +export interface CreateForeignTableStmt { + base?: CreateStmt; + servername?: string; + options?: Node[]; +} +export interface CreateUserMappingStmt { + user?: RoleSpec; + servername?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterUserMappingStmt { + user?: RoleSpec; + servername?: string; + options?: Node[]; +} +export interface DropUserMappingStmt { + user?: RoleSpec; + servername?: string; + missing_ok?: boolean; +} +export interface ImportForeignSchemaStmt { + server_name?: string; + remote_schema?: string; + local_schema?: string; + list_type?: ImportForeignSchemaType; + table_list?: Node[]; + options?: Node[]; +} +export interface CreatePolicyStmt { + policy_name?: string; + table?: RangeVar; + cmd_name?: string; + permissive?: boolean; + roles?: Node[]; + qual?: Node; + with_check?: Node; +} +export interface AlterPolicyStmt { + policy_name?: string; + table?: RangeVar; + roles?: Node[]; + qual?: Node; + with_check?: Node; +} +export interface CreateAmStmt { + amname?: string; + handler_name?: Node[]; + amtype?: string; +} +export interface CreateTrigStmt { + replace?: boolean; + isconstraint?: boolean; + trigname?: string; + relation?: RangeVar; + funcname?: Node[]; + args?: Node[]; + row?: boolean; + timing?: number; + events?: number; + columns?: Node[]; + whenClause?: Node; + transitionRels?: Node[]; + deferrable?: boolean; + initdeferred?: boolean; + constrrel?: RangeVar; +} +export interface CreateEventTrigStmt { + trigname?: string; + eventname?: string; + whenclause?: Node[]; + funcname?: Node[]; +} +export interface AlterEventTrigStmt { + trigname?: string; + tgenabled?: string; +} +export interface CreatePLangStmt { + replace?: boolean; + plname?: string; + plhandler?: Node[]; + plinline?: Node[]; + plvalidator?: Node[]; + pltrusted?: boolean; +} +export interface CreateRoleStmt { + stmt_type?: RoleStmtType; + role?: string; + options?: Node[]; +} +export interface AlterRoleStmt { + role?: RoleSpec; + options?: Node[]; + action?: number; +} +export interface AlterRoleSetStmt { + role?: RoleSpec; + database?: string; + setstmt?: VariableSetStmt; +} +export interface DropRoleStmt { + roles?: Node[]; + missing_ok?: boolean; +} +export interface CreateSeqStmt { + sequence?: RangeVar; + options?: Node[]; + ownerId?: number; + for_identity?: boolean; + if_not_exists?: boolean; +} +export interface AlterSeqStmt { + sequence?: RangeVar; + options?: Node[]; + for_identity?: boolean; + missing_ok?: boolean; +} +export interface DefineStmt { + kind?: ObjectType; + oldstyle?: boolean; + defnames?: Node[]; + args?: Node[]; + definition?: Node[]; + if_not_exists?: boolean; + replace?: boolean; +} +export interface CreateDomainStmt { + domainname?: Node[]; + typeName?: TypeName; + collClause?: CollateClause; + constraints?: Node[]; +} +export interface CreateOpClassStmt { + opclassname?: Node[]; + opfamilyname?: Node[]; + amname?: string; + datatype?: TypeName; + items?: Node[]; + isDefault?: boolean; +} +export interface CreateOpClassItem { + itemtype?: number; + name?: ObjectWithArgs; + number?: number; + order_family?: Node[]; + class_args?: Node[]; + storedtype?: TypeName; +} +export interface CreateOpFamilyStmt { + opfamilyname?: Node[]; + amname?: string; +} +export interface AlterOpFamilyStmt { + opfamilyname?: Node[]; + amname?: string; + isDrop?: boolean; + items?: Node[]; +} +export interface DropStmt { + objects?: Node[]; + removeType?: ObjectType; + behavior?: DropBehavior; + missing_ok?: boolean; + concurrent?: boolean; +} +export interface TruncateStmt { + relations?: Node[]; + restart_seqs?: boolean; + behavior?: DropBehavior; +} +export interface CommentStmt { + objtype?: ObjectType; + object?: Node; + comment?: string; +} +export interface SecLabelStmt { + objtype?: ObjectType; + object?: Node; + provider?: string; + label?: string; +} +export interface DeclareCursorStmt { + portalname?: string; + options?: number; + query?: Node; +} +export interface ClosePortalStmt { + portalname?: string; +} +export interface FetchStmt { + direction?: FetchDirection; + howMany?: bigint; + portalname?: string; + ismove?: boolean; +} +export interface IndexStmt { + idxname?: string; + relation?: RangeVar; + accessMethod?: string; + tableSpace?: string; + indexParams?: Node[]; + indexIncludingParams?: Node[]; + options?: Node[]; + whereClause?: Node; + excludeOpNames?: Node[]; + idxcomment?: string; + indexOid?: number; + oldNumber?: number; + oldCreateSubid?: number; + oldFirstRelfilelocatorSubid?: number; + unique?: boolean; + nulls_not_distinct?: boolean; + primary?: boolean; + isconstraint?: boolean; + deferrable?: boolean; + initdeferred?: boolean; + transformed?: boolean; + concurrent?: boolean; + if_not_exists?: boolean; + reset_default_tblspc?: boolean; +} +export interface CreateStatsStmt { + defnames?: Node[]; + stat_types?: Node[]; + exprs?: Node[]; + relations?: Node[]; + stxcomment?: string; + transformed?: boolean; + if_not_exists?: boolean; +} +export interface StatsElem { + name?: string; + expr?: Node; +} +export interface AlterStatsStmt { + defnames?: Node[]; + stxstattarget?: number; + missing_ok?: boolean; +} +export interface CreateFunctionStmt { + is_procedure?: boolean; + replace?: boolean; + funcname?: Node[]; + parameters?: Node[]; + returnType?: TypeName; + options?: Node[]; + sql_body?: Node; +} +export interface FunctionParameter { + name?: string; + argType?: TypeName; + mode?: FunctionParameterMode; + defexpr?: Node; +} +export interface AlterFunctionStmt { + objtype?: ObjectType; + func?: ObjectWithArgs; + actions?: Node[]; +} +export interface DoStmt { + args?: Node[]; +} +export interface InlineCodeBlock { + source_text?: string; + langOid?: number; + langIsTrusted?: boolean; + atomic?: boolean; +} +export interface CallStmt { + funccall?: FuncCall; + funcexpr?: FuncExpr; + outargs?: Node[]; +} +export interface CallContext { + atomic?: boolean; +} +export interface RenameStmt { + renameType?: ObjectType; + relationType?: ObjectType; + relation?: RangeVar; + object?: Node; + subname?: string; + newname?: string; + behavior?: DropBehavior; + missing_ok?: boolean; +} +export interface AlterObjectDependsStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + extname?: String; + remove?: boolean; +} +export interface AlterObjectSchemaStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + newschema?: string; + missing_ok?: boolean; +} +export interface AlterOwnerStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + newowner?: RoleSpec; +} +export interface AlterOperatorStmt { + opername?: ObjectWithArgs; + options?: Node[]; +} +export interface AlterTypeStmt { + typeName?: Node[]; + options?: Node[]; +} +export interface RuleStmt { + relation?: RangeVar; + rulename?: string; + whereClause?: Node; + event?: CmdType; + instead?: boolean; + actions?: Node[]; + replace?: boolean; +} +export interface NotifyStmt { + conditionname?: string; + payload?: string; +} +export interface ListenStmt { + conditionname?: string; +} +export interface UnlistenStmt { + conditionname?: string; +} +export interface TransactionStmt { + kind?: TransactionStmtKind; + options?: Node[]; + savepoint_name?: string; + gid?: string; + chain?: boolean; +} +export interface CompositeTypeStmt { + typevar?: RangeVar; + coldeflist?: Node[]; +} +export interface CreateEnumStmt { + typeName?: Node[]; + vals?: Node[]; +} +export interface CreateRangeStmt { + typeName?: Node[]; + params?: Node[]; +} +export interface AlterEnumStmt { + typeName?: Node[]; + oldVal?: string; + newVal?: string; + newValNeighbor?: string; + newValIsAfter?: boolean; + skipIfNewValExists?: boolean; +} +export interface ViewStmt { + view?: RangeVar; + aliases?: Node[]; + query?: Node; + replace?: boolean; + options?: Node[]; + withCheckOption?: ViewCheckOption; +} +export interface LoadStmt { + filename?: string; +} +export interface CreatedbStmt { + dbname?: string; + options?: Node[]; +} +export interface AlterDatabaseStmt { + dbname?: string; + options?: Node[]; +} +export interface AlterDatabaseRefreshCollStmt { + dbname?: string; +} +export interface AlterDatabaseSetStmt { + dbname?: string; + setstmt?: VariableSetStmt; +} +export interface DropdbStmt { + dbname?: string; + missing_ok?: boolean; + options?: Node[]; +} +export interface AlterSystemStmt { + setstmt?: VariableSetStmt; +} +export interface ClusterStmt { + relation?: RangeVar; + indexname?: string; + params?: Node[]; +} +export interface VacuumStmt { + options?: Node[]; + rels?: Node[]; + is_vacuumcmd?: boolean; +} +export interface VacuumRelation { + relation?: RangeVar; + oid?: number; + va_cols?: Node[]; +} +export interface ExplainStmt { + query?: Node; + options?: Node[]; +} +export interface CreateTableAsStmt { + query?: Node; + into?: IntoClause; + objtype?: ObjectType; + is_select_into?: boolean; + if_not_exists?: boolean; +} +export interface RefreshMatViewStmt { + concurrent?: boolean; + skipData?: boolean; + relation?: RangeVar; +} +export interface CheckPointStmt {} +export interface DiscardStmt { + target?: DiscardMode; +} +export interface LockStmt { + relations?: Node[]; + mode?: number; + nowait?: boolean; +} +export interface ConstraintsSetStmt { + constraints?: Node[]; + deferred?: boolean; +} +export interface ReindexStmt { + kind?: ReindexObjectType; + relation?: RangeVar; + name?: string; + params?: Node[]; +} +export interface CreateConversionStmt { + conversion_name?: Node[]; + for_encoding_name?: string; + to_encoding_name?: string; + func_name?: Node[]; + def?: boolean; +} +export interface CreateCastStmt { + sourcetype?: TypeName; + targettype?: TypeName; + func?: ObjectWithArgs; + context?: CoercionContext; + inout?: boolean; +} +export interface CreateTransformStmt { + replace?: boolean; + type_name?: TypeName; + lang?: string; + fromsql?: ObjectWithArgs; + tosql?: ObjectWithArgs; +} +export interface PrepareStmt { + name?: string; + argtypes?: Node[]; + query?: Node; +} +export interface ExecuteStmt { + name?: string; + params?: Node[]; +} +export interface DeallocateStmt { + name?: string; +} +export interface DropOwnedStmt { + roles?: Node[]; + behavior?: DropBehavior; +} +export interface ReassignOwnedStmt { + roles?: Node[]; + newrole?: RoleSpec; +} +export interface AlterTSDictionaryStmt { + dictname?: Node[]; + options?: Node[]; +} +export interface AlterTSConfigurationStmt { + kind?: AlterTSConfigType; + cfgname?: Node[]; + tokentype?: Node[]; + dicts?: Node[]; + override?: boolean; + replace?: boolean; + missing_ok?: boolean; +} +export interface PublicationTable { + relation?: RangeVar; + whereClause?: Node; + columns?: Node[]; +} +export interface PublicationObjSpec { + pubobjtype?: PublicationObjSpecType; + name?: string; + pubtable?: PublicationTable; + location?: number; +} +export interface CreatePublicationStmt { + pubname?: string; + options?: Node[]; + pubobjects?: Node[]; + for_all_tables?: boolean; +} +export interface AlterPublicationStmt { + pubname?: string; + options?: Node[]; + pubobjects?: Node[]; + for_all_tables?: boolean; + action?: AlterPublicationAction; +} +export interface CreateSubscriptionStmt { + subname?: string; + conninfo?: string; + publication?: Node[]; + options?: Node[]; +} +export interface AlterSubscriptionStmt { + kind?: AlterSubscriptionType; + subname?: string; + conninfo?: string; + publication?: Node[]; + options?: Node[]; +} +export interface DropSubscriptionStmt { + subname?: string; + missing_ok?: boolean; + behavior?: DropBehavior; +} +export interface ScanToken { + start?: number; + end?: number; + token?: Token; + keywordKind?: KeywordKind; +}", + "file": "types.ts", + }, +] +`; + +exports[`runtime-schema json format enabled 1`] = ` +[ + { + "code": "[ + { + "name": "A_ArrayExpr", + "wrapped": true, + "fields": [ + { + "name": "elements", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Const", + "wrapped": true, + "fields": [ + { + "name": "boolval", + "type": "Boolean", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "bsval", + "type": "BitString", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fval", + "type": "Float", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isnull", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ival", + "type": "Integer", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sval", + "type": "String", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Expr", + "wrapped": true, + "fields": [ + { + "name": "kind", + "type": "A_Expr_Kind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Indices", + "wrapped": true, + "fields": [ + { + "name": "is_slice", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lidx", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "uidx", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Indirection", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "indirection", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "A_Star", + "wrapped": true, + "fields": [] + }, + { + "name": "AccessPriv", + "wrapped": true, + "fields": [ + { + "name": "cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "priv_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Aggref", + "wrapped": true, + "fields": [ + { + "name": "aggargtypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggdirectargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggdistinct", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggfilter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "aggfnoid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggkind", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "agglevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggorder", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggsplit", + "type": "AggSplit", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggstar", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggtransno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggvariadic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Alias", + "wrapped": true, + "fields": [ + { + "name": "aliasname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterCollationStmt", + "wrapped": true, + "fields": [ + { + "name": "collname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterDatabaseRefreshCollStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterDatabaseSetStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "setstmt", + "type": "VariableSetStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterDatabaseStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterDefaultPrivilegesStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "GrantStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterDomainStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "def", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subtype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterEnumStmt", + "wrapped": true, + "fields": [ + { + "name": "newVal", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newValIsAfter", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newValNeighbor", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldVal", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "skipIfNewValExists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterEventTrigStmt", + "wrapped": true, + "fields": [ + { + "name": "tgenabled", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "trigname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterExtensionContentsStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "extname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterExtensionStmt", + "wrapped": true, + "fields": [ + { + "name": "extname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterFdwStmt", + "wrapped": true, + "fields": [ + { + "name": "fdwname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func_options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterForeignServerStmt", + "wrapped": true, + "fields": [ + { + "name": "has_version", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "version", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterFunctionStmt", + "wrapped": true, + "fields": [ + { + "name": "actions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "func", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlternativeSubPlan", + "wrapped": true, + "fields": [ + { + "name": "subplans", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterObjectDependsStmt", + "wrapped": true, + "fields": [ + { + "name": "extname", + "type": "String", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objectType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "remove", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterObjectSchemaStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newschema", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objectType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterOperatorStmt", + "wrapped": true, + "fields": [ + { + "name": "opername", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterOpFamilyStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isDrop", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opfamilyname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterOwnerStmt", + "wrapped": true, + "fields": [ + { + "name": "newowner", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objectType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterPolicyStmt", + "wrapped": true, + "fields": [ + { + "name": "policy_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "table", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "with_check", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterPublicationStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "AlterPublicationAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "for_all_tables", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pubname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubobjects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterRoleSetStmt", + "wrapped": true, + "fields": [ + { + "name": "database", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "role", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "setstmt", + "type": "VariableSetStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "role", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterSeqStmt", + "wrapped": true, + "fields": [ + { + "name": "for_identity", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "sequence", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterStatsStmt", + "wrapped": true, + "fields": [ + { + "name": "defnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stxstattarget", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterSubscriptionStmt", + "wrapped": true, + "fields": [ + { + "name": "conninfo", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "AlterSubscriptionType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "publication", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterSystemStmt", + "wrapped": true, + "fields": [ + { + "name": "setstmt", + "type": "VariableSetStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTableCmd", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "def", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newowner", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "num", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "recurse", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subtype", + "type": "AlterTableType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTableMoveAllStmt", + "wrapped": true, + "fields": [ + { + "name": "new_tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nowait", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "orig_tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterTableSpaceOptionsStmt", + "wrapped": true, + "fields": [ + { + "name": "isReset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTableStmt", + "wrapped": true, + "fields": [ + { + "name": "cmds", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTSConfigurationStmt", + "wrapped": true, + "fields": [ + { + "name": "cfgname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "dicts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "kind", + "type": "AlterTSConfigType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tokentype", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterTSDictionaryStmt", + "wrapped": true, + "fields": [ + { + "name": "dictname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterTypeStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterUserMappingStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "user", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ArrayCoerceExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coerceformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "elemexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ArrayExpr", + "wrapped": true, + "fields": [ + { + "name": "array_collid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "array_typeid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "element_typeid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "elements", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "multidims", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "BitString", + "wrapped": true, + "fields": [ + { + "name": "bsval", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Boolean", + "wrapped": true, + "fields": [ + { + "name": "boolval", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "BooleanTest", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "booltesttype", + "type": "BoolTestType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "BoolExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "boolop", + "type": "BoolExprType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CallContext", + "wrapped": true, + "fields": [ + { + "name": "atomic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CallStmt", + "wrapped": true, + "fields": [ + { + "name": "funccall", + "type": "FuncCall", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "funcexpr", + "type": "FuncExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "outargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CaseExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "casecollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "casetype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "defresult", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CaseTestExpr", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeMod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CaseWhen", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "result", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CheckPointStmt", + "wrapped": true, + "fields": [] + }, + { + "name": "ClosePortalStmt", + "wrapped": true, + "fields": [ + { + "name": "portalname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ClusterStmt", + "wrapped": true, + "fields": [ + { + "name": "indexname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoalesceExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coalescecollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "coalescetype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoerceToDomain", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coercionformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoerceToDomainValue", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeMod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoerceViaIO", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coerceformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CollateClause", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "collname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CollateExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "collOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ColumnDef", + "wrapped": true, + "fields": [ + { + "name": "collClause", + "type": "CollateClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "collOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "compression", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "cooked_default", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fdwoptions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "generated", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "identity", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "identitySequence", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "inhcount", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_from_type", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_local", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_not_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "raw_default", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "storage", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "storage_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ColumnRef", + "wrapped": true, + "fields": [ + { + "name": "fields", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CommentStmt", + "wrapped": true, + "fields": [ + { + "name": "comment", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CommonTableExpr", + "wrapped": true, + "fields": [ + { + "name": "aliascolnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecolcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecolnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecoltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecoltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctematerialized", + "type": "CTEMaterialize", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ctename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ctequery", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "cterecursive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cterefcount", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_clause", + "type": "CTECycleClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "search_clause", + "type": "CTESearchClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CompositeTypeStmt", + "wrapped": true, + "fields": [ + { + "name": "coldeflist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typevar", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Constraint", + "wrapped": true, + "fields": [ + { + "name": "access_method", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "conname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "contype", + "type": "ConstrType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cooked_expr", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "deferrable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exclusions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fk_attrs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fk_del_action", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "fk_del_set_cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fk_matchtype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "fk_upd_action", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "generated_when", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "including", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "indexname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexspace", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "initdeferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "initially_valid", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_no_inherit", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "keys", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_not_distinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "old_conpfeqop", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "old_pktable_oid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pk_attrs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pktable", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "raw_expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "reset_default_tblspc", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "skip_validation", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "where_clause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ConstraintsSetStmt", + "wrapped": true, + "fields": [ + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "deferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ConvertRowtypeExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "convertformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CopyStmt", + "wrapped": true, + "fields": [ + { + "name": "attlist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "filename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_from", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_program", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateAmStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "amtype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "handler_name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateCastStmt", + "wrapped": true, + "fields": [ + { + "name": "context", + "type": "CoercionContext", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "inout", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sourcetype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "targettype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateConversionStmt", + "wrapped": true, + "fields": [ + { + "name": "conversion_name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "def", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "for_encoding_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func_name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "to_encoding_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreatedbStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateDomainStmt", + "wrapped": true, + "fields": [ + { + "name": "collClause", + "type": "CollateClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "domainname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateEnumStmt", + "wrapped": true, + "fields": [ + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "vals", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateEventTrigStmt", + "wrapped": true, + "fields": [ + { + "name": "eventname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "trigname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whenclause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateExtensionStmt", + "wrapped": true, + "fields": [ + { + "name": "extname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateFdwStmt", + "wrapped": true, + "fields": [ + { + "name": "fdwname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func_options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateForeignServerStmt", + "wrapped": true, + "fields": [ + { + "name": "fdwname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "servertype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "version", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateForeignTableStmt", + "wrapped": true, + "fields": [ + { + "name": "base", + "type": "CreateStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateFunctionStmt", + "wrapped": true, + "fields": [ + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "is_procedure", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "parameters", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "returnType", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sql_body", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateOpClassItem", + "wrapped": true, + "fields": [ + { + "name": "class_args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "itemtype", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "number", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "order_family", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "storedtype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateOpClassStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "datatype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isDefault", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opclassname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opfamilyname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateOpFamilyStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opfamilyname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreatePLangStmt", + "wrapped": true, + "fields": [ + { + "name": "plhandler", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "plinline", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "plname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pltrusted", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "plvalidator", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreatePolicyStmt", + "wrapped": true, + "fields": [ + { + "name": "cmd_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "permissive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "policy_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "table", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "with_check", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreatePublicationStmt", + "wrapped": true, + "fields": [ + { + "name": "for_all_tables", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pubname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubobjects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateRangeStmt", + "wrapped": true, + "fields": [ + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "role", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stmt_type", + "type": "RoleStmtType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateSchemaStmt", + "wrapped": true, + "fields": [ + { + "name": "authrole", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "schemaElts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "schemaname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateSeqStmt", + "wrapped": true, + "fields": [ + { + "name": "for_identity", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ownerId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sequence", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateStatsStmt", + "wrapped": true, + "fields": [ + { + "name": "defnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "exprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "stat_types", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "stxcomment", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "transformed", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateStmt", + "wrapped": true, + "fields": [ + { + "name": "accessMethod", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inhRelations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ofTypename", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "oncommit", + "type": "OnCommitAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "partbound", + "type": "PartitionBoundSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "partspec", + "type": "PartitionSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tableElts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateSubscriptionStmt", + "wrapped": true, + "fields": [ + { + "name": "conninfo", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "publication", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTableAsStmt", + "wrapped": true, + "fields": [ + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "into", + "type": "IntoClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "is_select_into", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTableSpaceStmt", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "owner", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTransformStmt", + "wrapped": true, + "fields": [ + { + "name": "fromsql", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "lang", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tosql", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "type_name", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTrigStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "columns", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "constrrel", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "deferrable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "events", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "initdeferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isconstraint", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "row", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "timing", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "transitionRels", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "trigname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whenClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateUserMappingStmt", + "wrapped": true, + "fields": [ + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "user", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CTECycleClause", + "wrapped": true, + "fields": [ + { + "name": "cycle_col_list", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "cycle_mark_collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_column", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_default", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_neop", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_type", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_value", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "cycle_path_column", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CTESearchClause", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "search_breadth_first", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "search_col_list", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "search_seq_column", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CurrentOfExpr", + "wrapped": true, + "fields": [ + { + "name": "cursor_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cursor_param", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cvarno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DeallocateStmt", + "wrapped": true, + "fields": [ + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DeclareCursorStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "portalname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DefElem", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "defaction", + "type": "DefElemAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "defname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "defnamespace", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DefineStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "definition", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "defnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldstyle", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DeleteStmt", + "wrapped": true, + "fields": [ + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "usingClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DiscardStmt", + "wrapped": true, + "fields": [ + { + "name": "target", + "type": "DiscardMode", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DistinctExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DoStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropdbStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropOwnedStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "removeType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DropSubscriptionStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DropTableSpaceStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DropUserMappingStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "user", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ExecuteStmt", + "wrapped": true, + "fields": [ + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "ExplainStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FetchStmt", + "wrapped": true, + "fields": [ + { + "name": "direction", + "type": "FetchDirection", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "howMany", + "type": "int64", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ismove", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "portalname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FieldSelect", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fieldnum", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FieldStore", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fieldnums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "newvals", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Float", + "wrapped": true, + "fields": [ + { + "name": "fval", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FromExpr", + "wrapped": true, + "fields": [ + { + "name": "fromlist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "quals", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FuncCall", + "wrapped": true, + "fields": [ + { + "name": "agg_distinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "agg_filter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "agg_order", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "agg_star", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "agg_within_group", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "func_variadic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "over", + "type": "WindowDef", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FuncExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcvariadic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FunctionParameter", + "wrapped": true, + "fields": [ + { + "name": "argType", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "defexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "mode", + "type": "FunctionParameterMode", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "GrantRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "granted_roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "grantee_roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "grantor", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "is_grant", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opt", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "GrantStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "grant_option", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "grantees", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "grantor", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "is_grant", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "privileges", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "targtype", + "type": "GrantTargetType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "GroupingFunc", + "wrapped": true, + "fields": [ + { + "name": "agglevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "GroupingSet", + "wrapped": true, + "fields": [ + { + "name": "content", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "kind", + "type": "GroupingSetKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ImportForeignSchemaStmt", + "wrapped": true, + "fields": [ + { + "name": "list_type", + "type": "ImportForeignSchemaType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "local_schema", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "remote_schema", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "server_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "table_list", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "IndexElem", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "indexcolname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_ordering", + "type": "SortByNulls", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opclass", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opclassopts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ordering", + "type": "SortByDir", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "IndexStmt", + "wrapped": true, + "fields": [ + { + "name": "accessMethod", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "deferrable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "excludeOpNames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "idxcomment", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "idxname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexIncludingParams", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "indexOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexParams", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "initdeferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isconstraint", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_not_distinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldCreateSubid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldFirstRelfilelocatorSubid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldNumber", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "primary", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "reset_default_tblspc", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tableSpace", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "transformed", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InferClause", + "wrapped": true, + "fields": [ + { + "name": "conname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexElems", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InferenceElem", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "infercollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inferopclass", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InlineCodeBlock", + "wrapped": true, + "fields": [ + { + "name": "atomic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "langIsTrusted", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "langOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "source_text", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InsertStmt", + "wrapped": true, + "fields": [ + { + "name": "cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onConflictClause", + "type": "OnConflictClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "selectStmt", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Integer", + "wrapped": true, + "fields": [ + { + "name": "ival", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "IntList", + "wrapped": true, + "fields": [ + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "IntoClause", + "wrapped": true, + "fields": [ + { + "name": "accessMethod", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colNames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onCommit", + "type": "OnCommitAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rel", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "skipData", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tableSpaceName", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "viewQuery", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JoinExpr", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isNatural", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "join_using_alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "jointype", + "type": "JoinType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "larg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "quals", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "rarg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "rtindex", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "usingClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "JsonAggConstructor", + "wrapped": true, + "fields": [ + { + "name": "agg_filter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "agg_order", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "over", + "type": "WindowDef", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonArrayAgg", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "arg", + "type": "JsonValueExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constructor", + "type": "JsonAggConstructor", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonArrayConstructor", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonArrayQueryConstructor", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonConstructorExpr", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coercion", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "func", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "returning", + "type": "JsonReturning", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "type", + "type": "JsonConstructorType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonFormat", + "wrapped": true, + "fields": [ + { + "name": "encoding", + "type": "JsonEncoding", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "format_type", + "type": "JsonFormatType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonIsPredicate", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "item_type", + "type": "JsonValueType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "unique_keys", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonKeyValue", + "wrapped": true, + "fields": [ + { + "name": "key", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "value", + "type": "JsonValueExpr", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonObjectAgg", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "arg", + "type": "JsonKeyValue", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constructor", + "type": "JsonAggConstructor", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonObjectConstructor", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonOutput", + "wrapped": true, + "fields": [ + { + "name": "returning", + "type": "JsonReturning", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonReturning", + "wrapped": true, + "fields": [ + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "typid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonValueExpr", + "wrapped": true, + "fields": [ + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "formatted_expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "raw_expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "List", + "wrapped": true, + "fields": [ + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "ListenStmt", + "wrapped": true, + "fields": [ + { + "name": "conditionname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "LoadStmt", + "wrapped": true, + "fields": [ + { + "name": "filename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "LockingClause", + "wrapped": true, + "fields": [ + { + "name": "lockedRels", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "strength", + "type": "LockClauseStrength", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "waitPolicy", + "type": "LockWaitPolicy", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "LockStmt", + "wrapped": true, + "fields": [ + { + "name": "mode", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nowait", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "MergeAction", + "wrapped": true, + "fields": [ + { + "name": "commandType", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "matched", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "updateColnos", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "MergeStmt", + "wrapped": true, + "fields": [ + { + "name": "joinCondition", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "mergeWhenClauses", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sourceRelation", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "MergeWhenClause", + "wrapped": true, + "fields": [ + { + "name": "commandType", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "condition", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "matched", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "values", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "MinMaxExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "minmaxcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "minmaxtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "op", + "type": "MinMaxOp", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "MultiAssignRef", + "wrapped": true, + "fields": [ + { + "name": "colno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ncolumns", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "source", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NamedArgExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "argnumber", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NextValueExpr", + "wrapped": true, + "fields": [ + { + "name": "seqid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NotifyStmt", + "wrapped": true, + "fields": [ + { + "name": "conditionname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "payload", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NullIfExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NullTest", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "argisrow", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulltesttype", + "type": "NullTestType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ObjectWithArgs", + "wrapped": true, + "fields": [ + { + "name": "args_unspecified", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "objfuncargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "objname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "OidList", + "wrapped": true, + "fields": [ + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "OnConflictClause", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "OnConflictAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "infer", + "type": "InferClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "OnConflictExpr", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "OnConflictAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "arbiterElems", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "arbiterWhere", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constraint", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exclRelIndex", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exclRelTlist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onConflictSet", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onConflictWhere", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "OpExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Param", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramid", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramkind", + "type": "ParamKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramtypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ParamRef", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "number", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ParseResult", + "wrapped": false, + "fields": [ + { + "name": "stmts", + "type": "RawStmt", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "version", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PartitionBoundSpec", + "wrapped": true, + "fields": [ + { + "name": "is_default", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "listdatums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lowerdatums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "modulus", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "remainder", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "strategy", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "upperdatums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "PartitionCmd", + "wrapped": true, + "fields": [ + { + "name": "bound", + "type": "PartitionBoundSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PartitionElem", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opclass", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "PartitionRangeDatum", + "wrapped": true, + "fields": [ + { + "name": "kind", + "type": "PartitionRangeDatumKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "value", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PartitionSpec", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "partParams", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "strategy", + "type": "PartitionStrategy", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PLAssignStmt", + "wrapped": true, + "fields": [ + { + "name": "indirection", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nnames", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "val", + "type": "SelectStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PrepareStmt", + "wrapped": true, + "fields": [ + { + "name": "argtypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PublicationObjSpec", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubobjtype", + "type": "PublicationObjSpecType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubtable", + "type": "PublicationTable", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PublicationTable", + "wrapped": true, + "fields": [ + { + "name": "columns", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Query", + "wrapped": true, + "fields": [ + { + "name": "canSetTag", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "commandType", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "constraintDeps", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "cteList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "distinctClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupDistinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "groupingSets", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "hasAggs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasDistinctOn", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasForUpdate", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasModifyingCTE", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasRecursive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasRowSecurity", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasSubLinks", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasTargetSRFs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasWindowFuncs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "havingQual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isReturn", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "jointree", + "type": "FromExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitCount", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOption", + "type": "LimitOption", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "mergeActionList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "mergeUseOuterJoin", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "onConflict", + "type": "OnConflictExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "querySource", + "type": "QuerySource", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultRelation", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rowMarks", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rtable", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rteperminfos", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "setOperations", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sortClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "stmt_len", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stmt_location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "utilityStmt", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "windowClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "withCheckOptions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RangeFunction", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coldeflist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "functions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "is_rowsfrom", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ordinality", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeSubselect", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subquery", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTableFunc", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "columns", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "docexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "namespaces", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rowexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTableFuncCol", + "wrapped": true, + "fields": [ + { + "name": "coldefexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "colexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "colname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "for_ordinality", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_not_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTableSample", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "method", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "repeatable", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTblEntry", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "colcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctelevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ctename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "enrname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "enrtuples", + "type": "double", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "eref", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "funcordinality", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "functions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inFromCl", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inh", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "join_using_alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "joinaliasvars", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "joinleftcols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "joinmergedcols", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "joinrightcols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "jointype", + "type": "JoinType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "perminfoindex", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relkind", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rellockmode", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rtekind", + "type": "RTEKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "security_barrier", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "securityQuals", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "self_reference", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subquery", + "type": "Query", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tablefunc", + "type": "TableFunc", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tablesample", + "type": "TableSampleClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "values_lists", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RangeTblFunction", + "wrapped": true, + "fields": [ + { + "name": "funccolcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccolcount", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funccolnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccoltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccoltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funcexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "funcparams", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RangeTblRef", + "wrapped": true, + "fields": [ + { + "name": "rtindex", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeVar", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "catalogname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inh", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relpersistence", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "schemaname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RawStmt", + "wrapped": true, + "fields": [ + { + "name": "stmt", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "stmt_len", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stmt_location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReassignOwnedStmt", + "wrapped": true, + "fields": [ + { + "name": "newrole", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RefreshMatViewStmt", + "wrapped": true, + "fields": [ + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "skipData", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReindexStmt", + "wrapped": true, + "fields": [ + { + "name": "kind", + "type": "ReindexObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RelabelType", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relabelformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RenameStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relationType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "renameType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReplicaIdentityStmt", + "wrapped": true, + "fields": [ + { + "name": "identity_type", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ResTarget", + "wrapped": true, + "fields": [ + { + "name": "indirection", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "val", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReturnStmt", + "wrapped": true, + "fields": [ + { + "name": "returnval", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RoleSpec", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rolename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roletype", + "type": "RoleSpecType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RowCompareExpr", + "wrapped": true, + "fields": [ + { + "name": "inputcollids", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "largs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opfamilies", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opnos", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rctype", + "type": "RowCompareType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RowExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "row_format", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "row_typeid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RowMarkClause", + "wrapped": true, + "fields": [ + { + "name": "pushedDown", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rti", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "strength", + "type": "LockClauseStrength", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "waitPolicy", + "type": "LockWaitPolicy", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RTEPermissionInfo", + "wrapped": true, + "fields": [ + { + "name": "checkAsUser", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inh", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "insertedCols", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "relid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "requiredPerms", + "type": "uint64", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "selectedCols", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "updatedCols", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RuleStmt", + "wrapped": true, + "fields": [ + { + "name": "actions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "event", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "instead", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rulename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ScalarArrayOpExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "useOr", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ScanResult", + "wrapped": false, + "fields": [ + { + "name": "tokens", + "type": "ScanToken", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "version", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ScanToken", + "wrapped": false, + "fields": [ + { + "name": "end", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "keywordKind", + "type": "KeywordKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "start", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "token", + "type": "Token", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SecLabelStmt", + "wrapped": true, + "fields": [ + { + "name": "label", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "provider", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SelectStmt", + "wrapped": true, + "fields": [ + { + "name": "all", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "distinctClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fromClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupDistinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "havingClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "intoClause", + "type": "IntoClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "larg", + "type": "SelectStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitCount", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOption", + "type": "LimitOption", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lockingClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "op", + "type": "SetOperation", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rarg", + "type": "SelectStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sortClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "valuesLists", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "windowClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SetOperationStmt", + "wrapped": true, + "fields": [ + { + "name": "all", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colCollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colTypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colTypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupClauses", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "larg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "op", + "type": "SetOperation", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rarg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SetToDefault", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeMod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SortBy", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "node", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sortby_dir", + "type": "SortByDir", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sortby_nulls", + "type": "SortByNulls", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "useOp", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "SortGroupClause", + "wrapped": true, + "fields": [ + { + "name": "eqop", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hashable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_first", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sortop", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tleSortGroupRef", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SQLValueFunction", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "op", + "type": "SQLValueFunctionOp", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "type", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "StatsElem", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "String", + "wrapped": true, + "fields": [ + { + "name": "sval", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SubLink", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "operName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "subLinkId", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subLinkType", + "type": "SubLinkType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subselect", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "testexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SubPlan", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "firstColCollation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "firstColType", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "firstColTypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "parallel_safe", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramIds", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "parParam", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "per_call_cost", + "type": "double", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "plan_id", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "plan_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "setParam", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "startup_cost", + "type": "double", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subLinkType", + "type": "SubLinkType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "testexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "unknownEqFalse", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "useHashTable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SubscriptingRef", + "wrapped": true, + "fields": [ + { + "name": "refassgnexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "refcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refcontainertype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refelemtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "reflowerindexpr", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "refrestype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "reftypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refupperindexpr", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TableFunc", + "wrapped": true, + "fields": [ + { + "name": "colcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coldefexprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colexprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "docexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "notnulls", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "ns_names", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ns_uris", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ordinalitycol", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rowexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TableLikeClause", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relationOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TableSampleClause", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "repeatable", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tsmhandler", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TargetEntry", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "resjunk", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resorigcol", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resorigtbl", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ressortgroupref", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TransactionStmt", + "wrapped": true, + "fields": [ + { + "name": "chain", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "gid", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "TransactionStmtKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "savepoint_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TriggerTransition", + "wrapped": true, + "fields": [ + { + "name": "isNew", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isTable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TruncateStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "restart_seqs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TypeCast", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TypeName", + "wrapped": true, + "fields": [ + { + "name": "arrayBounds", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "names", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pct_type", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "setof", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typemod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "UnlistenStmt", + "wrapped": true, + "fields": [ + { + "name": "conditionname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "UpdateStmt", + "wrapped": true, + "fields": [ + { + "name": "fromClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "VacuumRelation", + "wrapped": true, + "fields": [ + { + "name": "oid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "va_cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "VacuumStmt", + "wrapped": true, + "fields": [ + { + "name": "is_vacuumcmd", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rels", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "Var", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varattno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varlevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varnullingrels", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "vartype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "vartypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "VariableSetStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "is_local", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "VariableSetKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "VariableShowStmt", + "wrapped": true, + "fields": [ + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ViewStmt", + "wrapped": true, + "fields": [ + { + "name": "aliases", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "view", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withCheckOption", + "type": "ViewCheckOption", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WindowClause", + "wrapped": true, + "fields": [ + { + "name": "copiedOrder", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "endInRangeFunc", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "endOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "frameOptions", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inRangeAsc", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inRangeColl", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inRangeNullsFirst", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "orderClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "partitionClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "refname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "runCondition", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "startInRangeFunc", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "startOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "winref", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WindowDef", + "wrapped": true, + "fields": [ + { + "name": "endOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "frameOptions", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "orderClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "partitionClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "refname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "startOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WindowFunc", + "wrapped": true, + "fields": [ + { + "name": "aggfilter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winagg", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "wincollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winfnoid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winref", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winstar", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "wintype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WithCheckOption", + "wrapped": true, + "fields": [ + { + "name": "cascaded", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "WCOKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "polname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WithClause", + "wrapped": true, + "fields": [ + { + "name": "ctes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "recursive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "XmlExpr", + "wrapped": true, + "fields": [ + { + "name": "arg_names", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "indent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "named_args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "op", + "type": "XmlExprOp", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "type", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xmloption", + "type": "XmlOptionType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "XmlSerialize", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "indent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "xmloption", + "type": "XmlOptionType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + } +]", + "file": "runtime-schema.json", + }, +] +`; + +exports[`runtime-schema runtime schema with all features enabled 1`] = ` +[ + { + "code": "/** +* This file was automatically generated by pg-proto-parser@latest. +* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, +* and run the pg-proto-parser generate command to regenerate this file. +*/ +import _o from "nested-obj"; +import { ParseResult, ScanResult, Integer, Float, Boolean, String, BitString, List, OidList, IntList, A_Const, Alias, RangeVar, TableFunc, IntoClause, Var, Param, Aggref, GroupingFunc, WindowFunc, SubscriptingRef, FuncExpr, NamedArgExpr, OpExpr, DistinctExpr, NullIfExpr, ScalarArrayOpExpr, BoolExpr, SubLink, SubPlan, AlternativeSubPlan, FieldSelect, FieldStore, RelabelType, CoerceViaIO, ArrayCoerceExpr, ConvertRowtypeExpr, CollateExpr, CaseExpr, CaseWhen, CaseTestExpr, ArrayExpr, RowExpr, RowCompareExpr, CoalesceExpr, MinMaxExpr, SQLValueFunction, XmlExpr, JsonFormat, JsonReturning, JsonValueExpr, JsonConstructorExpr, JsonIsPredicate, NullTest, BooleanTest, CoerceToDomain, CoerceToDomainValue, SetToDefault, CurrentOfExpr, NextValueExpr, InferenceElem, TargetEntry, RangeTblRef, JoinExpr, FromExpr, OnConflictExpr, Query, TypeName, ColumnRef, ParamRef, A_Expr, TypeCast, CollateClause, RoleSpec, FuncCall, A_Star, A_Indices, A_Indirection, A_ArrayExpr, ResTarget, MultiAssignRef, SortBy, WindowDef, RangeSubselect, RangeFunction, RangeTableFunc, RangeTableFuncCol, RangeTableSample, ColumnDef, TableLikeClause, IndexElem, DefElem, LockingClause, XmlSerialize, PartitionElem, PartitionSpec, PartitionBoundSpec, PartitionRangeDatum, PartitionCmd, RangeTblEntry, RTEPermissionInfo, RangeTblFunction, TableSampleClause, WithCheckOption, SortGroupClause, GroupingSet, WindowClause, RowMarkClause, WithClause, InferClause, OnConflictClause, CTESearchClause, CTECycleClause, CommonTableExpr, MergeWhenClause, MergeAction, TriggerTransition, JsonOutput, JsonKeyValue, JsonObjectConstructor, JsonArrayConstructor, JsonArrayQueryConstructor, JsonAggConstructor, JsonObjectAgg, JsonArrayAgg, RawStmt, InsertStmt, DeleteStmt, UpdateStmt, MergeStmt, SelectStmt, SetOperationStmt, ReturnStmt, PLAssignStmt, CreateSchemaStmt, AlterTableStmt, ReplicaIdentityStmt, AlterTableCmd, AlterCollationStmt, AlterDomainStmt, GrantStmt, ObjectWithArgs, AccessPriv, GrantRoleStmt, AlterDefaultPrivilegesStmt, CopyStmt, VariableSetStmt, VariableShowStmt, CreateStmt, Constraint, CreateTableSpaceStmt, DropTableSpaceStmt, AlterTableSpaceOptionsStmt, AlterTableMoveAllStmt, CreateExtensionStmt, AlterExtensionStmt, AlterExtensionContentsStmt, CreateFdwStmt, AlterFdwStmt, CreateForeignServerStmt, AlterForeignServerStmt, CreateForeignTableStmt, CreateUserMappingStmt, AlterUserMappingStmt, DropUserMappingStmt, ImportForeignSchemaStmt, CreatePolicyStmt, AlterPolicyStmt, CreateAmStmt, CreateTrigStmt, CreateEventTrigStmt, AlterEventTrigStmt, CreatePLangStmt, CreateRoleStmt, AlterRoleStmt, AlterRoleSetStmt, DropRoleStmt, CreateSeqStmt, AlterSeqStmt, DefineStmt, CreateDomainStmt, CreateOpClassStmt, CreateOpClassItem, CreateOpFamilyStmt, AlterOpFamilyStmt, DropStmt, TruncateStmt, CommentStmt, SecLabelStmt, DeclareCursorStmt, ClosePortalStmt, FetchStmt, IndexStmt, CreateStatsStmt, StatsElem, AlterStatsStmt, CreateFunctionStmt, FunctionParameter, AlterFunctionStmt, DoStmt, InlineCodeBlock, CallStmt, CallContext, RenameStmt, AlterObjectDependsStmt, AlterObjectSchemaStmt, AlterOwnerStmt, AlterOperatorStmt, AlterTypeStmt, RuleStmt, NotifyStmt, ListenStmt, UnlistenStmt, TransactionStmt, CompositeTypeStmt, CreateEnumStmt, CreateRangeStmt, AlterEnumStmt, ViewStmt, LoadStmt, CreatedbStmt, AlterDatabaseStmt, AlterDatabaseRefreshCollStmt, AlterDatabaseSetStmt, DropdbStmt, AlterSystemStmt, ClusterStmt, VacuumStmt, VacuumRelation, ExplainStmt, CreateTableAsStmt, RefreshMatViewStmt, CheckPointStmt, DiscardStmt, LockStmt, ConstraintsSetStmt, ReindexStmt, CreateConversionStmt, CreateCastStmt, CreateTransformStmt, PrepareStmt, ExecuteStmt, DeallocateStmt, DropOwnedStmt, ReassignOwnedStmt, AlterTSDictionaryStmt, AlterTSConfigurationStmt, PublicationTable, PublicationObjSpec, CreatePublicationStmt, AlterPublicationStmt, CreateSubscriptionStmt, AlterSubscriptionStmt, DropSubscriptionStmt, ScanToken } from "./wrapped"; +export default { + parseResult(_p?: ParseResult): ParseResult { + const _j = ({} as ParseResult); + _o.set(_j, "version", _p?.version); + _o.set(_j, "stmts", _p?.stmts); + return _j; + }, + scanResult(_p?: ScanResult): ScanResult { + const _j = ({} as ScanResult); + _o.set(_j, "version", _p?.version); + _o.set(_j, "tokens", _p?.tokens); + return _j; + }, + integer(_p?: Integer): Integer { + const _j = ({} as Integer); + _o.set(_j, "ival", _p?.ival); + return _j; + }, + float(_p?: Float): Float { + const _j = ({} as Float); + _o.set(_j, "fval", _p?.fval); + return _j; + }, + boolean(_p?: Boolean): Boolean { + const _j = ({} as Boolean); + _o.set(_j, "boolval", _p?.boolval); + return _j; + }, + string(_p?: String): String { + const _j = ({} as String); + _o.set(_j, "sval", _p?.sval); + return _j; + }, + bitString(_p?: BitString): BitString { + const _j = ({} as BitString); + _o.set(_j, "bsval", _p?.bsval); + return _j; + }, + list(_p?: List): List { + const _j = ({} as List); + _o.set(_j, "items", _p?.items); + return _j; + }, + oidList(_p?: OidList): OidList { + const _j = ({} as OidList); + _o.set(_j, "items", _p?.items); + return _j; + }, + intList(_p?: IntList): IntList { + const _j = ({} as IntList); + _o.set(_j, "items", _p?.items); + return _j; + }, + aConst(_p?: A_Const): A_Const { + const _j = ({} as A_Const); + _o.set(_j, "ival", _p?.ival); + _o.set(_j, "fval", _p?.fval); + _o.set(_j, "boolval", _p?.boolval); + _o.set(_j, "sval", _p?.sval); + _o.set(_j, "bsval", _p?.bsval); + _o.set(_j, "isnull", _p?.isnull); + _o.set(_j, "location", _p?.location); + return _j; + }, + alias(_p?: Alias): Alias { + const _j = ({} as Alias); + _o.set(_j, "aliasname", _p?.aliasname); + _o.set(_j, "colnames", _p?.colnames); + return _j; + }, + rangeVar(_p?: RangeVar): RangeVar { + const _j = ({} as RangeVar); + _o.set(_j, "catalogname", _p?.catalogname); + _o.set(_j, "schemaname", _p?.schemaname); + _o.set(_j, "relname", _p?.relname); + _o.set(_j, "inh", _p?.inh); + _o.set(_j, "relpersistence", _p?.relpersistence); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "location", _p?.location); + return _j; + }, + tableFunc(_p?: TableFunc): TableFunc { + const _j = ({} as TableFunc); + _o.set(_j, "ns_uris", _p?.ns_uris); + _o.set(_j, "ns_names", _p?.ns_names); + _o.set(_j, "docexpr", _p?.docexpr); + _o.set(_j, "rowexpr", _p?.rowexpr); + _o.set(_j, "colnames", _p?.colnames); + _o.set(_j, "coltypes", _p?.coltypes); + _o.set(_j, "coltypmods", _p?.coltypmods); + _o.set(_j, "colcollations", _p?.colcollations); + _o.set(_j, "colexprs", _p?.colexprs); + _o.set(_j, "coldefexprs", _p?.coldefexprs); + _o.set(_j, "notnulls", _p?.notnulls); + _o.set(_j, "ordinalitycol", _p?.ordinalitycol); + _o.set(_j, "location", _p?.location); + return _j; + }, + intoClause(_p?: IntoClause): IntoClause { + const _j = ({} as IntoClause); + _o.set(_j, "rel", _p?.rel); + _o.set(_j, "colNames", _p?.colNames); + _o.set(_j, "accessMethod", _p?.accessMethod); + _o.set(_j, "options", _p?.options); + _o.set(_j, "onCommit", _p?.onCommit); + _o.set(_j, "tableSpaceName", _p?.tableSpaceName); + _o.set(_j, "viewQuery", _p?.viewQuery); + _o.set(_j, "skipData", _p?.skipData); + return _j; + }, + var(_p?: Var): Var { + const _j = ({} as Var); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "varno", _p?.varno); + _o.set(_j, "varattno", _p?.varattno); + _o.set(_j, "vartype", _p?.vartype); + _o.set(_j, "vartypmod", _p?.vartypmod); + _o.set(_j, "varcollid", _p?.varcollid); + _o.set(_j, "varnullingrels", _p?.varnullingrels); + _o.set(_j, "varlevelsup", _p?.varlevelsup); + _o.set(_j, "location", _p?.location); + return _j; + }, + param(_p?: Param): Param { + const _j = ({} as Param); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "paramkind", _p?.paramkind); + _o.set(_j, "paramid", _p?.paramid); + _o.set(_j, "paramtype", _p?.paramtype); + _o.set(_j, "paramtypmod", _p?.paramtypmod); + _o.set(_j, "paramcollid", _p?.paramcollid); + _o.set(_j, "location", _p?.location); + return _j; + }, + aggref(_p?: Aggref): Aggref { + const _j = ({} as Aggref); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "aggfnoid", _p?.aggfnoid); + _o.set(_j, "aggtype", _p?.aggtype); + _o.set(_j, "aggcollid", _p?.aggcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "aggargtypes", _p?.aggargtypes); + _o.set(_j, "aggdirectargs", _p?.aggdirectargs); + _o.set(_j, "args", _p?.args); + _o.set(_j, "aggorder", _p?.aggorder); + _o.set(_j, "aggdistinct", _p?.aggdistinct); + _o.set(_j, "aggfilter", _p?.aggfilter); + _o.set(_j, "aggstar", _p?.aggstar); + _o.set(_j, "aggvariadic", _p?.aggvariadic); + _o.set(_j, "aggkind", _p?.aggkind); + _o.set(_j, "agglevelsup", _p?.agglevelsup); + _o.set(_j, "aggsplit", _p?.aggsplit); + _o.set(_j, "aggno", _p?.aggno); + _o.set(_j, "aggtransno", _p?.aggtransno); + _o.set(_j, "location", _p?.location); + return _j; + }, + groupingFunc(_p?: GroupingFunc): GroupingFunc { + const _j = ({} as GroupingFunc); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "args", _p?.args); + _o.set(_j, "refs", _p?.refs); + _o.set(_j, "agglevelsup", _p?.agglevelsup); + _o.set(_j, "location", _p?.location); + return _j; + }, + windowFunc(_p?: WindowFunc): WindowFunc { + const _j = ({} as WindowFunc); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "winfnoid", _p?.winfnoid); + _o.set(_j, "wintype", _p?.wintype); + _o.set(_j, "wincollid", _p?.wincollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "aggfilter", _p?.aggfilter); + _o.set(_j, "winref", _p?.winref); + _o.set(_j, "winstar", _p?.winstar); + _o.set(_j, "winagg", _p?.winagg); + _o.set(_j, "location", _p?.location); + return _j; + }, + subscriptingRef(_p?: SubscriptingRef): SubscriptingRef { + const _j = ({} as SubscriptingRef); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "refcontainertype", _p?.refcontainertype); + _o.set(_j, "refelemtype", _p?.refelemtype); + _o.set(_j, "refrestype", _p?.refrestype); + _o.set(_j, "reftypmod", _p?.reftypmod); + _o.set(_j, "refcollid", _p?.refcollid); + _o.set(_j, "refupperindexpr", _p?.refupperindexpr); + _o.set(_j, "reflowerindexpr", _p?.reflowerindexpr); + _o.set(_j, "refexpr", _p?.refexpr); + _o.set(_j, "refassgnexpr", _p?.refassgnexpr); + return _j; + }, + funcExpr(_p?: FuncExpr): FuncExpr { + const _j = ({} as FuncExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "funcid", _p?.funcid); + _o.set(_j, "funcresulttype", _p?.funcresulttype); + _o.set(_j, "funcretset", _p?.funcretset); + _o.set(_j, "funcvariadic", _p?.funcvariadic); + _o.set(_j, "funcformat", _p?.funcformat); + _o.set(_j, "funccollid", _p?.funccollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + namedArgExpr(_p?: NamedArgExpr): NamedArgExpr { + const _j = ({} as NamedArgExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "name", _p?.name); + _o.set(_j, "argnumber", _p?.argnumber); + _o.set(_j, "location", _p?.location); + return _j; + }, + opExpr(_p?: OpExpr): OpExpr { + const _j = ({} as OpExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "opresulttype", _p?.opresulttype); + _o.set(_j, "opretset", _p?.opretset); + _o.set(_j, "opcollid", _p?.opcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + distinctExpr(_p?: DistinctExpr): DistinctExpr { + const _j = ({} as DistinctExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "opresulttype", _p?.opresulttype); + _o.set(_j, "opretset", _p?.opretset); + _o.set(_j, "opcollid", _p?.opcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + nullIfExpr(_p?: NullIfExpr): NullIfExpr { + const _j = ({} as NullIfExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "opresulttype", _p?.opresulttype); + _o.set(_j, "opretset", _p?.opretset); + _o.set(_j, "opcollid", _p?.opcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + scalarArrayOpExpr(_p?: ScalarArrayOpExpr): ScalarArrayOpExpr { + const _j = ({} as ScalarArrayOpExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "useOr", _p?.useOr); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + boolExpr(_p?: BoolExpr): BoolExpr { + const _j = ({} as BoolExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "boolop", _p?.boolop); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + subLink(_p?: SubLink): SubLink { + const _j = ({} as SubLink); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "subLinkType", _p?.subLinkType); + _o.set(_j, "subLinkId", _p?.subLinkId); + _o.set(_j, "testexpr", _p?.testexpr); + _o.set(_j, "operName", _p?.operName); + _o.set(_j, "subselect", _p?.subselect); + _o.set(_j, "location", _p?.location); + return _j; + }, + subPlan(_p?: SubPlan): SubPlan { + const _j = ({} as SubPlan); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "subLinkType", _p?.subLinkType); + _o.set(_j, "testexpr", _p?.testexpr); + _o.set(_j, "paramIds", _p?.paramIds); + _o.set(_j, "plan_id", _p?.plan_id); + _o.set(_j, "plan_name", _p?.plan_name); + _o.set(_j, "firstColType", _p?.firstColType); + _o.set(_j, "firstColTypmod", _p?.firstColTypmod); + _o.set(_j, "firstColCollation", _p?.firstColCollation); + _o.set(_j, "useHashTable", _p?.useHashTable); + _o.set(_j, "unknownEqFalse", _p?.unknownEqFalse); + _o.set(_j, "parallel_safe", _p?.parallel_safe); + _o.set(_j, "setParam", _p?.setParam); + _o.set(_j, "parParam", _p?.parParam); + _o.set(_j, "args", _p?.args); + _o.set(_j, "startup_cost", _p?.startup_cost); + _o.set(_j, "per_call_cost", _p?.per_call_cost); + return _j; + }, + alternativeSubPlan(_p?: AlternativeSubPlan): AlternativeSubPlan { + const _j = ({} as AlternativeSubPlan); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "subplans", _p?.subplans); + return _j; + }, + fieldSelect(_p?: FieldSelect): FieldSelect { + const _j = ({} as FieldSelect); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "fieldnum", _p?.fieldnum); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + return _j; + }, + fieldStore(_p?: FieldStore): FieldStore { + const _j = ({} as FieldStore); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "newvals", _p?.newvals); + _o.set(_j, "fieldnums", _p?.fieldnums); + _o.set(_j, "resulttype", _p?.resulttype); + return _j; + }, + relabelType(_p?: RelabelType): RelabelType { + const _j = ({} as RelabelType); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "relabelformat", _p?.relabelformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + coerceViaio(_p?: CoerceViaIO): CoerceViaIO { + const _j = ({} as CoerceViaIO); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "coerceformat", _p?.coerceformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + arrayCoerceExpr(_p?: ArrayCoerceExpr): ArrayCoerceExpr { + const _j = ({} as ArrayCoerceExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "elemexpr", _p?.elemexpr); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "coerceformat", _p?.coerceformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + convertRowtypeExpr(_p?: ConvertRowtypeExpr): ConvertRowtypeExpr { + const _j = ({} as ConvertRowtypeExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "convertformat", _p?.convertformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + collateExpr(_p?: CollateExpr): CollateExpr { + const _j = ({} as CollateExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "collOid", _p?.collOid); + _o.set(_j, "location", _p?.location); + return _j; + }, + caseExpr(_p?: CaseExpr): CaseExpr { + const _j = ({} as CaseExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "casetype", _p?.casetype); + _o.set(_j, "casecollid", _p?.casecollid); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "args", _p?.args); + _o.set(_j, "defresult", _p?.defresult); + _o.set(_j, "location", _p?.location); + return _j; + }, + caseWhen(_p?: CaseWhen): CaseWhen { + const _j = ({} as CaseWhen); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "result", _p?.result); + _o.set(_j, "location", _p?.location); + return _j; + }, + caseTestExpr(_p?: CaseTestExpr): CaseTestExpr { + const _j = ({} as CaseTestExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "typeId", _p?.typeId); + _o.set(_j, "typeMod", _p?.typeMod); + _o.set(_j, "collation", _p?.collation); + return _j; + }, + arrayExpr(_p?: ArrayExpr): ArrayExpr { + const _j = ({} as ArrayExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "array_typeid", _p?.array_typeid); + _o.set(_j, "array_collid", _p?.array_collid); + _o.set(_j, "element_typeid", _p?.element_typeid); + _o.set(_j, "elements", _p?.elements); + _o.set(_j, "multidims", _p?.multidims); + _o.set(_j, "location", _p?.location); + return _j; + }, + rowExpr(_p?: RowExpr): RowExpr { + const _j = ({} as RowExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "args", _p?.args); + _o.set(_j, "row_typeid", _p?.row_typeid); + _o.set(_j, "row_format", _p?.row_format); + _o.set(_j, "colnames", _p?.colnames); + _o.set(_j, "location", _p?.location); + return _j; + }, + rowCompareExpr(_p?: RowCompareExpr): RowCompareExpr { + const _j = ({} as RowCompareExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "rctype", _p?.rctype); + _o.set(_j, "opnos", _p?.opnos); + _o.set(_j, "opfamilies", _p?.opfamilies); + _o.set(_j, "inputcollids", _p?.inputcollids); + _o.set(_j, "largs", _p?.largs); + _o.set(_j, "rargs", _p?.rargs); + return _j; + }, + coalesceExpr(_p?: CoalesceExpr): CoalesceExpr { + const _j = ({} as CoalesceExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "coalescetype", _p?.coalescetype); + _o.set(_j, "coalescecollid", _p?.coalescecollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + minMaxExpr(_p?: MinMaxExpr): MinMaxExpr { + const _j = ({} as MinMaxExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "minmaxtype", _p?.minmaxtype); + _o.set(_j, "minmaxcollid", _p?.minmaxcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "op", _p?.op); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + sqlValueFunction(_p?: SQLValueFunction): SQLValueFunction { + const _j = ({} as SQLValueFunction); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "op", _p?.op); + _o.set(_j, "type", _p?.type); + _o.set(_j, "typmod", _p?.typmod); + _o.set(_j, "location", _p?.location); + return _j; + }, + xmlExpr(_p?: XmlExpr): XmlExpr { + const _j = ({} as XmlExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "op", _p?.op); + _o.set(_j, "name", _p?.name); + _o.set(_j, "named_args", _p?.named_args); + _o.set(_j, "arg_names", _p?.arg_names); + _o.set(_j, "args", _p?.args); + _o.set(_j, "xmloption", _p?.xmloption); + _o.set(_j, "indent", _p?.indent); + _o.set(_j, "type", _p?.type); + _o.set(_j, "typmod", _p?.typmod); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonFormat(_p?: JsonFormat): JsonFormat { + const _j = ({} as JsonFormat); + _o.set(_j, "format_type", _p?.format_type); + _o.set(_j, "encoding", _p?.encoding); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonReturning(_p?: JsonReturning): JsonReturning { + const _j = ({} as JsonReturning); + _o.set(_j, "format", _p?.format); + _o.set(_j, "typid", _p?.typid); + _o.set(_j, "typmod", _p?.typmod); + return _j; + }, + jsonValueExpr(_p?: JsonValueExpr): JsonValueExpr { + const _j = ({} as JsonValueExpr); + _o.set(_j, "raw_expr", _p?.raw_expr); + _o.set(_j, "formatted_expr", _p?.formatted_expr); + _o.set(_j, "format", _p?.format); + return _j; + }, + jsonConstructorExpr(_p?: JsonConstructorExpr): JsonConstructorExpr { + const _j = ({} as JsonConstructorExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "type", _p?.type); + _o.set(_j, "args", _p?.args); + _o.set(_j, "func", _p?.func); + _o.set(_j, "coercion", _p?.coercion); + _o.set(_j, "returning", _p?.returning); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "unique", _p?.unique); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonIsPredicate(_p?: JsonIsPredicate): JsonIsPredicate { + const _j = ({} as JsonIsPredicate); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "format", _p?.format); + _o.set(_j, "item_type", _p?.item_type); + _o.set(_j, "unique_keys", _p?.unique_keys); + _o.set(_j, "location", _p?.location); + return _j; + }, + nullTest(_p?: NullTest): NullTest { + const _j = ({} as NullTest); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "nulltesttype", _p?.nulltesttype); + _o.set(_j, "argisrow", _p?.argisrow); + _o.set(_j, "location", _p?.location); + return _j; + }, + booleanTest(_p?: BooleanTest): BooleanTest { + const _j = ({} as BooleanTest); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "booltesttype", _p?.booltesttype); + _o.set(_j, "location", _p?.location); + return _j; + }, + coerceToDomain(_p?: CoerceToDomain): CoerceToDomain { + const _j = ({} as CoerceToDomain); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "coercionformat", _p?.coercionformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + coerceToDomainValue(_p?: CoerceToDomainValue): CoerceToDomainValue { + const _j = ({} as CoerceToDomainValue); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "typeId", _p?.typeId); + _o.set(_j, "typeMod", _p?.typeMod); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "location", _p?.location); + return _j; + }, + setToDefault(_p?: SetToDefault): SetToDefault { + const _j = ({} as SetToDefault); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "typeId", _p?.typeId); + _o.set(_j, "typeMod", _p?.typeMod); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "location", _p?.location); + return _j; + }, + currentOfExpr(_p?: CurrentOfExpr): CurrentOfExpr { + const _j = ({} as CurrentOfExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "cvarno", _p?.cvarno); + _o.set(_j, "cursor_name", _p?.cursor_name); + _o.set(_j, "cursor_param", _p?.cursor_param); + return _j; + }, + nextValueExpr(_p?: NextValueExpr): NextValueExpr { + const _j = ({} as NextValueExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "seqid", _p?.seqid); + _o.set(_j, "typeId", _p?.typeId); + return _j; + }, + inferenceElem(_p?: InferenceElem): InferenceElem { + const _j = ({} as InferenceElem); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "infercollid", _p?.infercollid); + _o.set(_j, "inferopclass", _p?.inferopclass); + return _j; + }, + targetEntry(_p?: TargetEntry): TargetEntry { + const _j = ({} as TargetEntry); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "resno", _p?.resno); + _o.set(_j, "resname", _p?.resname); + _o.set(_j, "ressortgroupref", _p?.ressortgroupref); + _o.set(_j, "resorigtbl", _p?.resorigtbl); + _o.set(_j, "resorigcol", _p?.resorigcol); + _o.set(_j, "resjunk", _p?.resjunk); + return _j; + }, + rangeTblRef(_p?: RangeTblRef): RangeTblRef { + const _j = ({} as RangeTblRef); + _o.set(_j, "rtindex", _p?.rtindex); + return _j; + }, + joinExpr(_p?: JoinExpr): JoinExpr { + const _j = ({} as JoinExpr); + _o.set(_j, "jointype", _p?.jointype); + _o.set(_j, "isNatural", _p?.isNatural); + _o.set(_j, "larg", _p?.larg); + _o.set(_j, "rarg", _p?.rarg); + _o.set(_j, "usingClause", _p?.usingClause); + _o.set(_j, "join_using_alias", _p?.join_using_alias); + _o.set(_j, "quals", _p?.quals); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "rtindex", _p?.rtindex); + return _j; + }, + fromExpr(_p?: FromExpr): FromExpr { + const _j = ({} as FromExpr); + _o.set(_j, "fromlist", _p?.fromlist); + _o.set(_j, "quals", _p?.quals); + return _j; + }, + onConflictExpr(_p?: OnConflictExpr): OnConflictExpr { + const _j = ({} as OnConflictExpr); + _o.set(_j, "action", _p?.action); + _o.set(_j, "arbiterElems", _p?.arbiterElems); + _o.set(_j, "arbiterWhere", _p?.arbiterWhere); + _o.set(_j, "constraint", _p?.constraint); + _o.set(_j, "onConflictSet", _p?.onConflictSet); + _o.set(_j, "onConflictWhere", _p?.onConflictWhere); + _o.set(_j, "exclRelIndex", _p?.exclRelIndex); + _o.set(_j, "exclRelTlist", _p?.exclRelTlist); + return _j; + }, + query(_p?: Query): Query { + const _j = ({} as Query); + _o.set(_j, "commandType", _p?.commandType); + _o.set(_j, "querySource", _p?.querySource); + _o.set(_j, "canSetTag", _p?.canSetTag); + _o.set(_j, "utilityStmt", _p?.utilityStmt); + _o.set(_j, "resultRelation", _p?.resultRelation); + _o.set(_j, "hasAggs", _p?.hasAggs); + _o.set(_j, "hasWindowFuncs", _p?.hasWindowFuncs); + _o.set(_j, "hasTargetSRFs", _p?.hasTargetSRFs); + _o.set(_j, "hasSubLinks", _p?.hasSubLinks); + _o.set(_j, "hasDistinctOn", _p?.hasDistinctOn); + _o.set(_j, "hasRecursive", _p?.hasRecursive); + _o.set(_j, "hasModifyingCTE", _p?.hasModifyingCTE); + _o.set(_j, "hasForUpdate", _p?.hasForUpdate); + _o.set(_j, "hasRowSecurity", _p?.hasRowSecurity); + _o.set(_j, "isReturn", _p?.isReturn); + _o.set(_j, "cteList", _p?.cteList); + _o.set(_j, "rtable", _p?.rtable); + _o.set(_j, "rteperminfos", _p?.rteperminfos); + _o.set(_j, "jointree", _p?.jointree); + _o.set(_j, "mergeActionList", _p?.mergeActionList); + _o.set(_j, "mergeUseOuterJoin", _p?.mergeUseOuterJoin); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "override", _p?.override); + _o.set(_j, "onConflict", _p?.onConflict); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "groupClause", _p?.groupClause); + _o.set(_j, "groupDistinct", _p?.groupDistinct); + _o.set(_j, "groupingSets", _p?.groupingSets); + _o.set(_j, "havingQual", _p?.havingQual); + _o.set(_j, "windowClause", _p?.windowClause); + _o.set(_j, "distinctClause", _p?.distinctClause); + _o.set(_j, "sortClause", _p?.sortClause); + _o.set(_j, "limitOffset", _p?.limitOffset); + _o.set(_j, "limitCount", _p?.limitCount); + _o.set(_j, "limitOption", _p?.limitOption); + _o.set(_j, "rowMarks", _p?.rowMarks); + _o.set(_j, "setOperations", _p?.setOperations); + _o.set(_j, "constraintDeps", _p?.constraintDeps); + _o.set(_j, "withCheckOptions", _p?.withCheckOptions); + _o.set(_j, "stmt_location", _p?.stmt_location); + _o.set(_j, "stmt_len", _p?.stmt_len); + return _j; + }, + typeName(_p?: TypeName): TypeName { + const _j = ({} as TypeName); + _o.set(_j, "names", _p?.names); + _o.set(_j, "typeOid", _p?.typeOid); + _o.set(_j, "setof", _p?.setof); + _o.set(_j, "pct_type", _p?.pct_type); + _o.set(_j, "typmods", _p?.typmods); + _o.set(_j, "typemod", _p?.typemod); + _o.set(_j, "arrayBounds", _p?.arrayBounds); + _o.set(_j, "location", _p?.location); + return _j; + }, + columnRef(_p?: ColumnRef): ColumnRef { + const _j = ({} as ColumnRef); + _o.set(_j, "fields", _p?.fields); + _o.set(_j, "location", _p?.location); + return _j; + }, + paramRef(_p?: ParamRef): ParamRef { + const _j = ({} as ParamRef); + _o.set(_j, "number", _p?.number); + _o.set(_j, "location", _p?.location); + return _j; + }, + aExpr(_p?: A_Expr): A_Expr { + const _j = ({} as A_Expr); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "name", _p?.name); + _o.set(_j, "lexpr", _p?.lexpr); + _o.set(_j, "rexpr", _p?.rexpr); + _o.set(_j, "location", _p?.location); + return _j; + }, + typeCast(_p?: TypeCast): TypeCast { + const _j = ({} as TypeCast); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "location", _p?.location); + return _j; + }, + collateClause(_p?: CollateClause): CollateClause { + const _j = ({} as CollateClause); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "collname", _p?.collname); + _o.set(_j, "location", _p?.location); + return _j; + }, + roleSpec(_p?: RoleSpec): RoleSpec { + const _j = ({} as RoleSpec); + _o.set(_j, "roletype", _p?.roletype); + _o.set(_j, "rolename", _p?.rolename); + _o.set(_j, "location", _p?.location); + return _j; + }, + funcCall(_p?: FuncCall): FuncCall { + const _j = ({} as FuncCall); + _o.set(_j, "funcname", _p?.funcname); + _o.set(_j, "args", _p?.args); + _o.set(_j, "agg_order", _p?.agg_order); + _o.set(_j, "agg_filter", _p?.agg_filter); + _o.set(_j, "over", _p?.over); + _o.set(_j, "agg_within_group", _p?.agg_within_group); + _o.set(_j, "agg_star", _p?.agg_star); + _o.set(_j, "agg_distinct", _p?.agg_distinct); + _o.set(_j, "func_variadic", _p?.func_variadic); + _o.set(_j, "funcformat", _p?.funcformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + aStar(_p?: A_Star): A_Star { + const _j = ({} as A_Star); + return _j; + }, + aIndices(_p?: A_Indices): A_Indices { + const _j = ({} as A_Indices); + _o.set(_j, "is_slice", _p?.is_slice); + _o.set(_j, "lidx", _p?.lidx); + _o.set(_j, "uidx", _p?.uidx); + return _j; + }, + aIndirection(_p?: A_Indirection): A_Indirection { + const _j = ({} as A_Indirection); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "indirection", _p?.indirection); + return _j; + }, + aArrayExpr(_p?: A_ArrayExpr): A_ArrayExpr { + const _j = ({} as A_ArrayExpr); + _o.set(_j, "elements", _p?.elements); + _o.set(_j, "location", _p?.location); + return _j; + }, + resTarget(_p?: ResTarget): ResTarget { + const _j = ({} as ResTarget); + _o.set(_j, "name", _p?.name); + _o.set(_j, "indirection", _p?.indirection); + _o.set(_j, "val", _p?.val); + _o.set(_j, "location", _p?.location); + return _j; + }, + multiAssignRef(_p?: MultiAssignRef): MultiAssignRef { + const _j = ({} as MultiAssignRef); + _o.set(_j, "source", _p?.source); + _o.set(_j, "colno", _p?.colno); + _o.set(_j, "ncolumns", _p?.ncolumns); + return _j; + }, + sortBy(_p?: SortBy): SortBy { + const _j = ({} as SortBy); + _o.set(_j, "node", _p?.node); + _o.set(_j, "sortby_dir", _p?.sortby_dir); + _o.set(_j, "sortby_nulls", _p?.sortby_nulls); + _o.set(_j, "useOp", _p?.useOp); + _o.set(_j, "location", _p?.location); + return _j; + }, + windowDef(_p?: WindowDef): WindowDef { + const _j = ({} as WindowDef); + _o.set(_j, "name", _p?.name); + _o.set(_j, "refname", _p?.refname); + _o.set(_j, "partitionClause", _p?.partitionClause); + _o.set(_j, "orderClause", _p?.orderClause); + _o.set(_j, "frameOptions", _p?.frameOptions); + _o.set(_j, "startOffset", _p?.startOffset); + _o.set(_j, "endOffset", _p?.endOffset); + _o.set(_j, "location", _p?.location); + return _j; + }, + rangeSubselect(_p?: RangeSubselect): RangeSubselect { + const _j = ({} as RangeSubselect); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "subquery", _p?.subquery); + _o.set(_j, "alias", _p?.alias); + return _j; + }, + rangeFunction(_p?: RangeFunction): RangeFunction { + const _j = ({} as RangeFunction); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "ordinality", _p?.ordinality); + _o.set(_j, "is_rowsfrom", _p?.is_rowsfrom); + _o.set(_j, "functions", _p?.functions); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "coldeflist", _p?.coldeflist); + return _j; + }, + rangeTableFunc(_p?: RangeTableFunc): RangeTableFunc { + const _j = ({} as RangeTableFunc); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "docexpr", _p?.docexpr); + _o.set(_j, "rowexpr", _p?.rowexpr); + _o.set(_j, "namespaces", _p?.namespaces); + _o.set(_j, "columns", _p?.columns); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "location", _p?.location); + return _j; + }, + rangeTableFuncCol(_p?: RangeTableFuncCol): RangeTableFuncCol { + const _j = ({} as RangeTableFuncCol); + _o.set(_j, "colname", _p?.colname); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "for_ordinality", _p?.for_ordinality); + _o.set(_j, "is_not_null", _p?.is_not_null); + _o.set(_j, "colexpr", _p?.colexpr); + _o.set(_j, "coldefexpr", _p?.coldefexpr); + _o.set(_j, "location", _p?.location); + return _j; + }, + rangeTableSample(_p?: RangeTableSample): RangeTableSample { + const _j = ({} as RangeTableSample); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "method", _p?.method); + _o.set(_j, "args", _p?.args); + _o.set(_j, "repeatable", _p?.repeatable); + _o.set(_j, "location", _p?.location); + return _j; + }, + columnDef(_p?: ColumnDef): ColumnDef { + const _j = ({} as ColumnDef); + _o.set(_j, "colname", _p?.colname); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "compression", _p?.compression); + _o.set(_j, "inhcount", _p?.inhcount); + _o.set(_j, "is_local", _p?.is_local); + _o.set(_j, "is_not_null", _p?.is_not_null); + _o.set(_j, "is_from_type", _p?.is_from_type); + _o.set(_j, "storage", _p?.storage); + _o.set(_j, "storage_name", _p?.storage_name); + _o.set(_j, "raw_default", _p?.raw_default); + _o.set(_j, "cooked_default", _p?.cooked_default); + _o.set(_j, "identity", _p?.identity); + _o.set(_j, "identitySequence", _p?.identitySequence); + _o.set(_j, "generated", _p?.generated); + _o.set(_j, "collClause", _p?.collClause); + _o.set(_j, "collOid", _p?.collOid); + _o.set(_j, "constraints", _p?.constraints); + _o.set(_j, "fdwoptions", _p?.fdwoptions); + _o.set(_j, "location", _p?.location); + return _j; + }, + tableLikeClause(_p?: TableLikeClause): TableLikeClause { + const _j = ({} as TableLikeClause); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "options", _p?.options); + _o.set(_j, "relationOid", _p?.relationOid); + return _j; + }, + indexElem(_p?: IndexElem): IndexElem { + const _j = ({} as IndexElem); + _o.set(_j, "name", _p?.name); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "indexcolname", _p?.indexcolname); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "opclass", _p?.opclass); + _o.set(_j, "opclassopts", _p?.opclassopts); + _o.set(_j, "ordering", _p?.ordering); + _o.set(_j, "nulls_ordering", _p?.nulls_ordering); + return _j; + }, + defElem(_p?: DefElem): DefElem { + const _j = ({} as DefElem); + _o.set(_j, "defnamespace", _p?.defnamespace); + _o.set(_j, "defname", _p?.defname); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "defaction", _p?.defaction); + _o.set(_j, "location", _p?.location); + return _j; + }, + lockingClause(_p?: LockingClause): LockingClause { + const _j = ({} as LockingClause); + _o.set(_j, "lockedRels", _p?.lockedRels); + _o.set(_j, "strength", _p?.strength); + _o.set(_j, "waitPolicy", _p?.waitPolicy); + return _j; + }, + xmlSerialize(_p?: XmlSerialize): XmlSerialize { + const _j = ({} as XmlSerialize); + _o.set(_j, "xmloption", _p?.xmloption); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "indent", _p?.indent); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionElem(_p?: PartitionElem): PartitionElem { + const _j = ({} as PartitionElem); + _o.set(_j, "name", _p?.name); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "opclass", _p?.opclass); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionSpec(_p?: PartitionSpec): PartitionSpec { + const _j = ({} as PartitionSpec); + _o.set(_j, "strategy", _p?.strategy); + _o.set(_j, "partParams", _p?.partParams); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionBoundSpec(_p?: PartitionBoundSpec): PartitionBoundSpec { + const _j = ({} as PartitionBoundSpec); + _o.set(_j, "strategy", _p?.strategy); + _o.set(_j, "is_default", _p?.is_default); + _o.set(_j, "modulus", _p?.modulus); + _o.set(_j, "remainder", _p?.remainder); + _o.set(_j, "listdatums", _p?.listdatums); + _o.set(_j, "lowerdatums", _p?.lowerdatums); + _o.set(_j, "upperdatums", _p?.upperdatums); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionRangeDatum(_p?: PartitionRangeDatum): PartitionRangeDatum { + const _j = ({} as PartitionRangeDatum); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "value", _p?.value); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionCmd(_p?: PartitionCmd): PartitionCmd { + const _j = ({} as PartitionCmd); + _o.set(_j, "name", _p?.name); + _o.set(_j, "bound", _p?.bound); + _o.set(_j, "concurrent", _p?.concurrent); + return _j; + }, + rangeTblEntry(_p?: RangeTblEntry): RangeTblEntry { + const _j = ({} as RangeTblEntry); + _o.set(_j, "rtekind", _p?.rtekind); + _o.set(_j, "relid", _p?.relid); + _o.set(_j, "relkind", _p?.relkind); + _o.set(_j, "rellockmode", _p?.rellockmode); + _o.set(_j, "tablesample", _p?.tablesample); + _o.set(_j, "perminfoindex", _p?.perminfoindex); + _o.set(_j, "subquery", _p?.subquery); + _o.set(_j, "security_barrier", _p?.security_barrier); + _o.set(_j, "jointype", _p?.jointype); + _o.set(_j, "joinmergedcols", _p?.joinmergedcols); + _o.set(_j, "joinaliasvars", _p?.joinaliasvars); + _o.set(_j, "joinleftcols", _p?.joinleftcols); + _o.set(_j, "joinrightcols", _p?.joinrightcols); + _o.set(_j, "join_using_alias", _p?.join_using_alias); + _o.set(_j, "functions", _p?.functions); + _o.set(_j, "funcordinality", _p?.funcordinality); + _o.set(_j, "tablefunc", _p?.tablefunc); + _o.set(_j, "values_lists", _p?.values_lists); + _o.set(_j, "ctename", _p?.ctename); + _o.set(_j, "ctelevelsup", _p?.ctelevelsup); + _o.set(_j, "self_reference", _p?.self_reference); + _o.set(_j, "coltypes", _p?.coltypes); + _o.set(_j, "coltypmods", _p?.coltypmods); + _o.set(_j, "colcollations", _p?.colcollations); + _o.set(_j, "enrname", _p?.enrname); + _o.set(_j, "enrtuples", _p?.enrtuples); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "eref", _p?.eref); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "inh", _p?.inh); + _o.set(_j, "inFromCl", _p?.inFromCl); + _o.set(_j, "securityQuals", _p?.securityQuals); + return _j; + }, + rtePermissionInfo(_p?: RTEPermissionInfo): RTEPermissionInfo { + const _j = ({} as RTEPermissionInfo); + _o.set(_j, "relid", _p?.relid); + _o.set(_j, "inh", _p?.inh); + _o.set(_j, "requiredPerms", _p?.requiredPerms); + _o.set(_j, "checkAsUser", _p?.checkAsUser); + _o.set(_j, "selectedCols", _p?.selectedCols); + _o.set(_j, "insertedCols", _p?.insertedCols); + _o.set(_j, "updatedCols", _p?.updatedCols); + return _j; + }, + rangeTblFunction(_p?: RangeTblFunction): RangeTblFunction { + const _j = ({} as RangeTblFunction); + _o.set(_j, "funcexpr", _p?.funcexpr); + _o.set(_j, "funccolcount", _p?.funccolcount); + _o.set(_j, "funccolnames", _p?.funccolnames); + _o.set(_j, "funccoltypes", _p?.funccoltypes); + _o.set(_j, "funccoltypmods", _p?.funccoltypmods); + _o.set(_j, "funccolcollations", _p?.funccolcollations); + _o.set(_j, "funcparams", _p?.funcparams); + return _j; + }, + tableSampleClause(_p?: TableSampleClause): TableSampleClause { + const _j = ({} as TableSampleClause); + _o.set(_j, "tsmhandler", _p?.tsmhandler); + _o.set(_j, "args", _p?.args); + _o.set(_j, "repeatable", _p?.repeatable); + return _j; + }, + withCheckOption(_p?: WithCheckOption): WithCheckOption { + const _j = ({} as WithCheckOption); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "relname", _p?.relname); + _o.set(_j, "polname", _p?.polname); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "cascaded", _p?.cascaded); + return _j; + }, + sortGroupClause(_p?: SortGroupClause): SortGroupClause { + const _j = ({} as SortGroupClause); + _o.set(_j, "tleSortGroupRef", _p?.tleSortGroupRef); + _o.set(_j, "eqop", _p?.eqop); + _o.set(_j, "sortop", _p?.sortop); + _o.set(_j, "nulls_first", _p?.nulls_first); + _o.set(_j, "hashable", _p?.hashable); + return _j; + }, + groupingSet(_p?: GroupingSet): GroupingSet { + const _j = ({} as GroupingSet); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "content", _p?.content); + _o.set(_j, "location", _p?.location); + return _j; + }, + windowClause(_p?: WindowClause): WindowClause { + const _j = ({} as WindowClause); + _o.set(_j, "name", _p?.name); + _o.set(_j, "refname", _p?.refname); + _o.set(_j, "partitionClause", _p?.partitionClause); + _o.set(_j, "orderClause", _p?.orderClause); + _o.set(_j, "frameOptions", _p?.frameOptions); + _o.set(_j, "startOffset", _p?.startOffset); + _o.set(_j, "endOffset", _p?.endOffset); + _o.set(_j, "runCondition", _p?.runCondition); + _o.set(_j, "startInRangeFunc", _p?.startInRangeFunc); + _o.set(_j, "endInRangeFunc", _p?.endInRangeFunc); + _o.set(_j, "inRangeColl", _p?.inRangeColl); + _o.set(_j, "inRangeAsc", _p?.inRangeAsc); + _o.set(_j, "inRangeNullsFirst", _p?.inRangeNullsFirst); + _o.set(_j, "winref", _p?.winref); + _o.set(_j, "copiedOrder", _p?.copiedOrder); + return _j; + }, + rowMarkClause(_p?: RowMarkClause): RowMarkClause { + const _j = ({} as RowMarkClause); + _o.set(_j, "rti", _p?.rti); + _o.set(_j, "strength", _p?.strength); + _o.set(_j, "waitPolicy", _p?.waitPolicy); + _o.set(_j, "pushedDown", _p?.pushedDown); + return _j; + }, + withClause(_p?: WithClause): WithClause { + const _j = ({} as WithClause); + _o.set(_j, "ctes", _p?.ctes); + _o.set(_j, "recursive", _p?.recursive); + _o.set(_j, "location", _p?.location); + return _j; + }, + inferClause(_p?: InferClause): InferClause { + const _j = ({} as InferClause); + _o.set(_j, "indexElems", _p?.indexElems); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "conname", _p?.conname); + _o.set(_j, "location", _p?.location); + return _j; + }, + onConflictClause(_p?: OnConflictClause): OnConflictClause { + const _j = ({} as OnConflictClause); + _o.set(_j, "action", _p?.action); + _o.set(_j, "infer", _p?.infer); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "location", _p?.location); + return _j; + }, + cteSearchClause(_p?: CTESearchClause): CTESearchClause { + const _j = ({} as CTESearchClause); + _o.set(_j, "search_col_list", _p?.search_col_list); + _o.set(_j, "search_breadth_first", _p?.search_breadth_first); + _o.set(_j, "search_seq_column", _p?.search_seq_column); + _o.set(_j, "location", _p?.location); + return _j; + }, + cteCycleClause(_p?: CTECycleClause): CTECycleClause { + const _j = ({} as CTECycleClause); + _o.set(_j, "cycle_col_list", _p?.cycle_col_list); + _o.set(_j, "cycle_mark_column", _p?.cycle_mark_column); + _o.set(_j, "cycle_mark_value", _p?.cycle_mark_value); + _o.set(_j, "cycle_mark_default", _p?.cycle_mark_default); + _o.set(_j, "cycle_path_column", _p?.cycle_path_column); + _o.set(_j, "location", _p?.location); + _o.set(_j, "cycle_mark_type", _p?.cycle_mark_type); + _o.set(_j, "cycle_mark_typmod", _p?.cycle_mark_typmod); + _o.set(_j, "cycle_mark_collation", _p?.cycle_mark_collation); + _o.set(_j, "cycle_mark_neop", _p?.cycle_mark_neop); + return _j; + }, + commonTableExpr(_p?: CommonTableExpr): CommonTableExpr { + const _j = ({} as CommonTableExpr); + _o.set(_j, "ctename", _p?.ctename); + _o.set(_j, "aliascolnames", _p?.aliascolnames); + _o.set(_j, "ctematerialized", _p?.ctematerialized); + _o.set(_j, "ctequery", _p?.ctequery); + _o.set(_j, "search_clause", _p?.search_clause); + _o.set(_j, "cycle_clause", _p?.cycle_clause); + _o.set(_j, "location", _p?.location); + _o.set(_j, "cterecursive", _p?.cterecursive); + _o.set(_j, "cterefcount", _p?.cterefcount); + _o.set(_j, "ctecolnames", _p?.ctecolnames); + _o.set(_j, "ctecoltypes", _p?.ctecoltypes); + _o.set(_j, "ctecoltypmods", _p?.ctecoltypmods); + _o.set(_j, "ctecolcollations", _p?.ctecolcollations); + return _j; + }, + mergeWhenClause(_p?: MergeWhenClause): MergeWhenClause { + const _j = ({} as MergeWhenClause); + _o.set(_j, "matched", _p?.matched); + _o.set(_j, "commandType", _p?.commandType); + _o.set(_j, "override", _p?.override); + _o.set(_j, "condition", _p?.condition); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "values", _p?.values); + return _j; + }, + mergeAction(_p?: MergeAction): MergeAction { + const _j = ({} as MergeAction); + _o.set(_j, "matched", _p?.matched); + _o.set(_j, "commandType", _p?.commandType); + _o.set(_j, "override", _p?.override); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "updateColnos", _p?.updateColnos); + return _j; + }, + triggerTransition(_p?: TriggerTransition): TriggerTransition { + const _j = ({} as TriggerTransition); + _o.set(_j, "name", _p?.name); + _o.set(_j, "isNew", _p?.isNew); + _o.set(_j, "isTable", _p?.isTable); + return _j; + }, + jsonOutput(_p?: JsonOutput): JsonOutput { + const _j = ({} as JsonOutput); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "returning", _p?.returning); + return _j; + }, + jsonKeyValue(_p?: JsonKeyValue): JsonKeyValue { + const _j = ({} as JsonKeyValue); + _o.set(_j, "key", _p?.key); + _o.set(_j, "value", _p?.value); + return _j; + }, + jsonObjectConstructor(_p?: JsonObjectConstructor): JsonObjectConstructor { + const _j = ({} as JsonObjectConstructor); + _o.set(_j, "exprs", _p?.exprs); + _o.set(_j, "output", _p?.output); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "unique", _p?.unique); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonArrayConstructor(_p?: JsonArrayConstructor): JsonArrayConstructor { + const _j = ({} as JsonArrayConstructor); + _o.set(_j, "exprs", _p?.exprs); + _o.set(_j, "output", _p?.output); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonArrayQueryConstructor(_p?: JsonArrayQueryConstructor): JsonArrayQueryConstructor { + const _j = ({} as JsonArrayQueryConstructor); + _o.set(_j, "query", _p?.query); + _o.set(_j, "output", _p?.output); + _o.set(_j, "format", _p?.format); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonAggConstructor(_p?: JsonAggConstructor): JsonAggConstructor { + const _j = ({} as JsonAggConstructor); + _o.set(_j, "output", _p?.output); + _o.set(_j, "agg_filter", _p?.agg_filter); + _o.set(_j, "agg_order", _p?.agg_order); + _o.set(_j, "over", _p?.over); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonObjectAgg(_p?: JsonObjectAgg): JsonObjectAgg { + const _j = ({} as JsonObjectAgg); + _o.set(_j, "constructor", _p?.constructor); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "unique", _p?.unique); + return _j; + }, + jsonArrayAgg(_p?: JsonArrayAgg): JsonArrayAgg { + const _j = ({} as JsonArrayAgg); + _o.set(_j, "constructor", _p?.constructor); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + return _j; + }, + rawStmt(_p?: RawStmt): RawStmt { + const _j = ({} as RawStmt); + _o.set(_j, "stmt", _p?.stmt); + _o.set(_j, "stmt_location", _p?.stmt_location); + _o.set(_j, "stmt_len", _p?.stmt_len); + return _j; + }, + insertStmt(_p?: InsertStmt): InsertStmt { + const _j = ({} as InsertStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "cols", _p?.cols); + _o.set(_j, "selectStmt", _p?.selectStmt); + _o.set(_j, "onConflictClause", _p?.onConflictClause); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "withClause", _p?.withClause); + _o.set(_j, "override", _p?.override); + return _j; + }, + deleteStmt(_p?: DeleteStmt): DeleteStmt { + const _j = ({} as DeleteStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "usingClause", _p?.usingClause); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "withClause", _p?.withClause); + return _j; + }, + updateStmt(_p?: UpdateStmt): UpdateStmt { + const _j = ({} as UpdateStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "fromClause", _p?.fromClause); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "withClause", _p?.withClause); + return _j; + }, + mergeStmt(_p?: MergeStmt): MergeStmt { + const _j = ({} as MergeStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "sourceRelation", _p?.sourceRelation); + _o.set(_j, "joinCondition", _p?.joinCondition); + _o.set(_j, "mergeWhenClauses", _p?.mergeWhenClauses); + _o.set(_j, "withClause", _p?.withClause); + return _j; + }, + selectStmt(_p?: SelectStmt): SelectStmt { + const _j = ({} as SelectStmt); + _o.set(_j, "distinctClause", _p?.distinctClause); + _o.set(_j, "intoClause", _p?.intoClause); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "fromClause", _p?.fromClause); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "groupClause", _p?.groupClause); + _o.set(_j, "groupDistinct", _p?.groupDistinct); + _o.set(_j, "havingClause", _p?.havingClause); + _o.set(_j, "windowClause", _p?.windowClause); + _o.set(_j, "valuesLists", _p?.valuesLists); + _o.set(_j, "sortClause", _p?.sortClause); + _o.set(_j, "limitOffset", _p?.limitOffset); + _o.set(_j, "limitCount", _p?.limitCount); + _o.set(_j, "limitOption", _p?.limitOption); + _o.set(_j, "lockingClause", _p?.lockingClause); + _o.set(_j, "withClause", _p?.withClause); + _o.set(_j, "op", _p?.op); + _o.set(_j, "all", _p?.all); + _o.set(_j, "larg", _p?.larg); + _o.set(_j, "rarg", _p?.rarg); + return _j; + }, + setOperationStmt(_p?: SetOperationStmt): SetOperationStmt { + const _j = ({} as SetOperationStmt); + _o.set(_j, "op", _p?.op); + _o.set(_j, "all", _p?.all); + _o.set(_j, "larg", _p?.larg); + _o.set(_j, "rarg", _p?.rarg); + _o.set(_j, "colTypes", _p?.colTypes); + _o.set(_j, "colTypmods", _p?.colTypmods); + _o.set(_j, "colCollations", _p?.colCollations); + _o.set(_j, "groupClauses", _p?.groupClauses); + return _j; + }, + returnStmt(_p?: ReturnStmt): ReturnStmt { + const _j = ({} as ReturnStmt); + _o.set(_j, "returnval", _p?.returnval); + return _j; + }, + plAssignStmt(_p?: PLAssignStmt): PLAssignStmt { + const _j = ({} as PLAssignStmt); + _o.set(_j, "name", _p?.name); + _o.set(_j, "indirection", _p?.indirection); + _o.set(_j, "nnames", _p?.nnames); + _o.set(_j, "val", _p?.val); + _o.set(_j, "location", _p?.location); + return _j; + }, + createSchemaStmt(_p?: CreateSchemaStmt): CreateSchemaStmt { + const _j = ({} as CreateSchemaStmt); + _o.set(_j, "schemaname", _p?.schemaname); + _o.set(_j, "authrole", _p?.authrole); + _o.set(_j, "schemaElts", _p?.schemaElts); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + alterTableStmt(_p?: AlterTableStmt): AlterTableStmt { + const _j = ({} as AlterTableStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "cmds", _p?.cmds); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + replicaIdentityStmt(_p?: ReplicaIdentityStmt): ReplicaIdentityStmt { + const _j = ({} as ReplicaIdentityStmt); + _o.set(_j, "identity_type", _p?.identity_type); + _o.set(_j, "name", _p?.name); + return _j; + }, + alterTableCmd(_p?: AlterTableCmd): AlterTableCmd { + const _j = ({} as AlterTableCmd); + _o.set(_j, "subtype", _p?.subtype); + _o.set(_j, "name", _p?.name); + _o.set(_j, "num", _p?.num); + _o.set(_j, "newowner", _p?.newowner); + _o.set(_j, "def", _p?.def); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "recurse", _p?.recurse); + return _j; + }, + alterCollationStmt(_p?: AlterCollationStmt): AlterCollationStmt { + const _j = ({} as AlterCollationStmt); + _o.set(_j, "collname", _p?.collname); + return _j; + }, + alterDomainStmt(_p?: AlterDomainStmt): AlterDomainStmt { + const _j = ({} as AlterDomainStmt); + _o.set(_j, "subtype", _p?.subtype); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "name", _p?.name); + _o.set(_j, "def", _p?.def); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + grantStmt(_p?: GrantStmt): GrantStmt { + const _j = ({} as GrantStmt); + _o.set(_j, "is_grant", _p?.is_grant); + _o.set(_j, "targtype", _p?.targtype); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "objects", _p?.objects); + _o.set(_j, "privileges", _p?.privileges); + _o.set(_j, "grantees", _p?.grantees); + _o.set(_j, "grant_option", _p?.grant_option); + _o.set(_j, "grantor", _p?.grantor); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + objectWithArgs(_p?: ObjectWithArgs): ObjectWithArgs { + const _j = ({} as ObjectWithArgs); + _o.set(_j, "objname", _p?.objname); + _o.set(_j, "objargs", _p?.objargs); + _o.set(_j, "objfuncargs", _p?.objfuncargs); + _o.set(_j, "args_unspecified", _p?.args_unspecified); + return _j; + }, + accessPriv(_p?: AccessPriv): AccessPriv { + const _j = ({} as AccessPriv); + _o.set(_j, "priv_name", _p?.priv_name); + _o.set(_j, "cols", _p?.cols); + return _j; + }, + grantRoleStmt(_p?: GrantRoleStmt): GrantRoleStmt { + const _j = ({} as GrantRoleStmt); + _o.set(_j, "granted_roles", _p?.granted_roles); + _o.set(_j, "grantee_roles", _p?.grantee_roles); + _o.set(_j, "is_grant", _p?.is_grant); + _o.set(_j, "opt", _p?.opt); + _o.set(_j, "grantor", _p?.grantor); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + alterDefaultPrivilegesStmt(_p?: AlterDefaultPrivilegesStmt): AlterDefaultPrivilegesStmt { + const _j = ({} as AlterDefaultPrivilegesStmt); + _o.set(_j, "options", _p?.options); + _o.set(_j, "action", _p?.action); + return _j; + }, + copyStmt(_p?: CopyStmt): CopyStmt { + const _j = ({} as CopyStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "query", _p?.query); + _o.set(_j, "attlist", _p?.attlist); + _o.set(_j, "is_from", _p?.is_from); + _o.set(_j, "is_program", _p?.is_program); + _o.set(_j, "filename", _p?.filename); + _o.set(_j, "options", _p?.options); + _o.set(_j, "whereClause", _p?.whereClause); + return _j; + }, + variableSetStmt(_p?: VariableSetStmt): VariableSetStmt { + const _j = ({} as VariableSetStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "name", _p?.name); + _o.set(_j, "args", _p?.args); + _o.set(_j, "is_local", _p?.is_local); + return _j; + }, + variableShowStmt(_p?: VariableShowStmt): VariableShowStmt { + const _j = ({} as VariableShowStmt); + _o.set(_j, "name", _p?.name); + return _j; + }, + createStmt(_p?: CreateStmt): CreateStmt { + const _j = ({} as CreateStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "tableElts", _p?.tableElts); + _o.set(_j, "inhRelations", _p?.inhRelations); + _o.set(_j, "partbound", _p?.partbound); + _o.set(_j, "partspec", _p?.partspec); + _o.set(_j, "ofTypename", _p?.ofTypename); + _o.set(_j, "constraints", _p?.constraints); + _o.set(_j, "options", _p?.options); + _o.set(_j, "oncommit", _p?.oncommit); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "accessMethod", _p?.accessMethod); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + constraint(_p?: Constraint): Constraint { + const _j = ({} as Constraint); + _o.set(_j, "contype", _p?.contype); + _o.set(_j, "conname", _p?.conname); + _o.set(_j, "deferrable", _p?.deferrable); + _o.set(_j, "initdeferred", _p?.initdeferred); + _o.set(_j, "location", _p?.location); + _o.set(_j, "is_no_inherit", _p?.is_no_inherit); + _o.set(_j, "raw_expr", _p?.raw_expr); + _o.set(_j, "cooked_expr", _p?.cooked_expr); + _o.set(_j, "generated_when", _p?.generated_when); + _o.set(_j, "nulls_not_distinct", _p?.nulls_not_distinct); + _o.set(_j, "keys", _p?.keys); + _o.set(_j, "including", _p?.including); + _o.set(_j, "exclusions", _p?.exclusions); + _o.set(_j, "options", _p?.options); + _o.set(_j, "indexname", _p?.indexname); + _o.set(_j, "indexspace", _p?.indexspace); + _o.set(_j, "reset_default_tblspc", _p?.reset_default_tblspc); + _o.set(_j, "access_method", _p?.access_method); + _o.set(_j, "where_clause", _p?.where_clause); + _o.set(_j, "pktable", _p?.pktable); + _o.set(_j, "fk_attrs", _p?.fk_attrs); + _o.set(_j, "pk_attrs", _p?.pk_attrs); + _o.set(_j, "fk_matchtype", _p?.fk_matchtype); + _o.set(_j, "fk_upd_action", _p?.fk_upd_action); + _o.set(_j, "fk_del_action", _p?.fk_del_action); + _o.set(_j, "fk_del_set_cols", _p?.fk_del_set_cols); + _o.set(_j, "old_conpfeqop", _p?.old_conpfeqop); + _o.set(_j, "old_pktable_oid", _p?.old_pktable_oid); + _o.set(_j, "skip_validation", _p?.skip_validation); + _o.set(_j, "initially_valid", _p?.initially_valid); + return _j; + }, + createTableSpaceStmt(_p?: CreateTableSpaceStmt): CreateTableSpaceStmt { + const _j = ({} as CreateTableSpaceStmt); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "owner", _p?.owner); + _o.set(_j, "location", _p?.location); + _o.set(_j, "options", _p?.options); + return _j; + }, + dropTableSpaceStmt(_p?: DropTableSpaceStmt): DropTableSpaceStmt { + const _j = ({} as DropTableSpaceStmt); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + alterTableSpaceOptionsStmt(_p?: AlterTableSpaceOptionsStmt): AlterTableSpaceOptionsStmt { + const _j = ({} as AlterTableSpaceOptionsStmt); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "options", _p?.options); + _o.set(_j, "isReset", _p?.isReset); + return _j; + }, + alterTableMoveAllStmt(_p?: AlterTableMoveAllStmt): AlterTableMoveAllStmt { + const _j = ({} as AlterTableMoveAllStmt); + _o.set(_j, "orig_tablespacename", _p?.orig_tablespacename); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "new_tablespacename", _p?.new_tablespacename); + _o.set(_j, "nowait", _p?.nowait); + return _j; + }, + createExtensionStmt(_p?: CreateExtensionStmt): CreateExtensionStmt { + const _j = ({} as CreateExtensionStmt); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterExtensionStmt(_p?: AlterExtensionStmt): AlterExtensionStmt { + const _j = ({} as AlterExtensionStmt); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterExtensionContentsStmt(_p?: AlterExtensionContentsStmt): AlterExtensionContentsStmt { + const _j = ({} as AlterExtensionContentsStmt); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "action", _p?.action); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "object", _p?.object); + return _j; + }, + createFdwStmt(_p?: CreateFdwStmt): CreateFdwStmt { + const _j = ({} as CreateFdwStmt); + _o.set(_j, "fdwname", _p?.fdwname); + _o.set(_j, "func_options", _p?.func_options); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterFdwStmt(_p?: AlterFdwStmt): AlterFdwStmt { + const _j = ({} as AlterFdwStmt); + _o.set(_j, "fdwname", _p?.fdwname); + _o.set(_j, "func_options", _p?.func_options); + _o.set(_j, "options", _p?.options); + return _j; + }, + createForeignServerStmt(_p?: CreateForeignServerStmt): CreateForeignServerStmt { + const _j = ({} as CreateForeignServerStmt); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "servertype", _p?.servertype); + _o.set(_j, "version", _p?.version); + _o.set(_j, "fdwname", _p?.fdwname); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterForeignServerStmt(_p?: AlterForeignServerStmt): AlterForeignServerStmt { + const _j = ({} as AlterForeignServerStmt); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "version", _p?.version); + _o.set(_j, "options", _p?.options); + _o.set(_j, "has_version", _p?.has_version); + return _j; + }, + createForeignTableStmt(_p?: CreateForeignTableStmt): CreateForeignTableStmt { + const _j = ({} as CreateForeignTableStmt); + _o.set(_j, "base", _p?.base); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "options", _p?.options); + return _j; + }, + createUserMappingStmt(_p?: CreateUserMappingStmt): CreateUserMappingStmt { + const _j = ({} as CreateUserMappingStmt); + _o.set(_j, "user", _p?.user); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterUserMappingStmt(_p?: AlterUserMappingStmt): AlterUserMappingStmt { + const _j = ({} as AlterUserMappingStmt); + _o.set(_j, "user", _p?.user); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "options", _p?.options); + return _j; + }, + dropUserMappingStmt(_p?: DropUserMappingStmt): DropUserMappingStmt { + const _j = ({} as DropUserMappingStmt); + _o.set(_j, "user", _p?.user); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + importForeignSchemaStmt(_p?: ImportForeignSchemaStmt): ImportForeignSchemaStmt { + const _j = ({} as ImportForeignSchemaStmt); + _o.set(_j, "server_name", _p?.server_name); + _o.set(_j, "remote_schema", _p?.remote_schema); + _o.set(_j, "local_schema", _p?.local_schema); + _o.set(_j, "list_type", _p?.list_type); + _o.set(_j, "table_list", _p?.table_list); + _o.set(_j, "options", _p?.options); + return _j; + }, + createPolicyStmt(_p?: CreatePolicyStmt): CreatePolicyStmt { + const _j = ({} as CreatePolicyStmt); + _o.set(_j, "policy_name", _p?.policy_name); + _o.set(_j, "table", _p?.table); + _o.set(_j, "cmd_name", _p?.cmd_name); + _o.set(_j, "permissive", _p?.permissive); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "with_check", _p?.with_check); + return _j; + }, + alterPolicyStmt(_p?: AlterPolicyStmt): AlterPolicyStmt { + const _j = ({} as AlterPolicyStmt); + _o.set(_j, "policy_name", _p?.policy_name); + _o.set(_j, "table", _p?.table); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "with_check", _p?.with_check); + return _j; + }, + createAmStmt(_p?: CreateAmStmt): CreateAmStmt { + const _j = ({} as CreateAmStmt); + _o.set(_j, "amname", _p?.amname); + _o.set(_j, "handler_name", _p?.handler_name); + _o.set(_j, "amtype", _p?.amtype); + return _j; + }, + createTrigStmt(_p?: CreateTrigStmt): CreateTrigStmt { + const _j = ({} as CreateTrigStmt); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "isconstraint", _p?.isconstraint); + _o.set(_j, "trigname", _p?.trigname); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "funcname", _p?.funcname); + _o.set(_j, "args", _p?.args); + _o.set(_j, "row", _p?.row); + _o.set(_j, "timing", _p?.timing); + _o.set(_j, "events", _p?.events); + _o.set(_j, "columns", _p?.columns); + _o.set(_j, "whenClause", _p?.whenClause); + _o.set(_j, "transitionRels", _p?.transitionRels); + _o.set(_j, "deferrable", _p?.deferrable); + _o.set(_j, "initdeferred", _p?.initdeferred); + _o.set(_j, "constrrel", _p?.constrrel); + return _j; + }, + createEventTrigStmt(_p?: CreateEventTrigStmt): CreateEventTrigStmt { + const _j = ({} as CreateEventTrigStmt); + _o.set(_j, "trigname", _p?.trigname); + _o.set(_j, "eventname", _p?.eventname); + _o.set(_j, "whenclause", _p?.whenclause); + _o.set(_j, "funcname", _p?.funcname); + return _j; + }, + alterEventTrigStmt(_p?: AlterEventTrigStmt): AlterEventTrigStmt { + const _j = ({} as AlterEventTrigStmt); + _o.set(_j, "trigname", _p?.trigname); + _o.set(_j, "tgenabled", _p?.tgenabled); + return _j; + }, + createpLangStmt(_p?: CreatePLangStmt): CreatePLangStmt { + const _j = ({} as CreatePLangStmt); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "plname", _p?.plname); + _o.set(_j, "plhandler", _p?.plhandler); + _o.set(_j, "plinline", _p?.plinline); + _o.set(_j, "plvalidator", _p?.plvalidator); + _o.set(_j, "pltrusted", _p?.pltrusted); + return _j; + }, + createRoleStmt(_p?: CreateRoleStmt): CreateRoleStmt { + const _j = ({} as CreateRoleStmt); + _o.set(_j, "stmt_type", _p?.stmt_type); + _o.set(_j, "role", _p?.role); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterRoleStmt(_p?: AlterRoleStmt): AlterRoleStmt { + const _j = ({} as AlterRoleStmt); + _o.set(_j, "role", _p?.role); + _o.set(_j, "options", _p?.options); + _o.set(_j, "action", _p?.action); + return _j; + }, + alterRoleSetStmt(_p?: AlterRoleSetStmt): AlterRoleSetStmt { + const _j = ({} as AlterRoleSetStmt); + _o.set(_j, "role", _p?.role); + _o.set(_j, "database", _p?.database); + _o.set(_j, "setstmt", _p?.setstmt); + return _j; + }, + dropRoleStmt(_p?: DropRoleStmt): DropRoleStmt { + const _j = ({} as DropRoleStmt); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + createSeqStmt(_p?: CreateSeqStmt): CreateSeqStmt { + const _j = ({} as CreateSeqStmt); + _o.set(_j, "sequence", _p?.sequence); + _o.set(_j, "options", _p?.options); + _o.set(_j, "ownerId", _p?.ownerId); + _o.set(_j, "for_identity", _p?.for_identity); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + alterSeqStmt(_p?: AlterSeqStmt): AlterSeqStmt { + const _j = ({} as AlterSeqStmt); + _o.set(_j, "sequence", _p?.sequence); + _o.set(_j, "options", _p?.options); + _o.set(_j, "for_identity", _p?.for_identity); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + defineStmt(_p?: DefineStmt): DefineStmt { + const _j = ({} as DefineStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "oldstyle", _p?.oldstyle); + _o.set(_j, "defnames", _p?.defnames); + _o.set(_j, "args", _p?.args); + _o.set(_j, "definition", _p?.definition); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "replace", _p?.replace); + return _j; + }, + createDomainStmt(_p?: CreateDomainStmt): CreateDomainStmt { + const _j = ({} as CreateDomainStmt); + _o.set(_j, "domainname", _p?.domainname); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "collClause", _p?.collClause); + _o.set(_j, "constraints", _p?.constraints); + return _j; + }, + createOpClassStmt(_p?: CreateOpClassStmt): CreateOpClassStmt { + const _j = ({} as CreateOpClassStmt); + _o.set(_j, "opclassname", _p?.opclassname); + _o.set(_j, "opfamilyname", _p?.opfamilyname); + _o.set(_j, "amname", _p?.amname); + _o.set(_j, "datatype", _p?.datatype); + _o.set(_j, "items", _p?.items); + _o.set(_j, "isDefault", _p?.isDefault); + return _j; + }, + createOpClassItem(_p?: CreateOpClassItem): CreateOpClassItem { + const _j = ({} as CreateOpClassItem); + _o.set(_j, "itemtype", _p?.itemtype); + _o.set(_j, "name", _p?.name); + _o.set(_j, "number", _p?.number); + _o.set(_j, "order_family", _p?.order_family); + _o.set(_j, "class_args", _p?.class_args); + _o.set(_j, "storedtype", _p?.storedtype); + return _j; + }, + createOpFamilyStmt(_p?: CreateOpFamilyStmt): CreateOpFamilyStmt { + const _j = ({} as CreateOpFamilyStmt); + _o.set(_j, "opfamilyname", _p?.opfamilyname); + _o.set(_j, "amname", _p?.amname); + return _j; + }, + alterOpFamilyStmt(_p?: AlterOpFamilyStmt): AlterOpFamilyStmt { + const _j = ({} as AlterOpFamilyStmt); + _o.set(_j, "opfamilyname", _p?.opfamilyname); + _o.set(_j, "amname", _p?.amname); + _o.set(_j, "isDrop", _p?.isDrop); + _o.set(_j, "items", _p?.items); + return _j; + }, + dropStmt(_p?: DropStmt): DropStmt { + const _j = ({} as DropStmt); + _o.set(_j, "objects", _p?.objects); + _o.set(_j, "removeType", _p?.removeType); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "concurrent", _p?.concurrent); + return _j; + }, + truncateStmt(_p?: TruncateStmt): TruncateStmt { + const _j = ({} as TruncateStmt); + _o.set(_j, "relations", _p?.relations); + _o.set(_j, "restart_seqs", _p?.restart_seqs); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + commentStmt(_p?: CommentStmt): CommentStmt { + const _j = ({} as CommentStmt); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "object", _p?.object); + _o.set(_j, "comment", _p?.comment); + return _j; + }, + secLabelStmt(_p?: SecLabelStmt): SecLabelStmt { + const _j = ({} as SecLabelStmt); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "object", _p?.object); + _o.set(_j, "provider", _p?.provider); + _o.set(_j, "label", _p?.label); + return _j; + }, + declareCursorStmt(_p?: DeclareCursorStmt): DeclareCursorStmt { + const _j = ({} as DeclareCursorStmt); + _o.set(_j, "portalname", _p?.portalname); + _o.set(_j, "options", _p?.options); + _o.set(_j, "query", _p?.query); + return _j; + }, + closePortalStmt(_p?: ClosePortalStmt): ClosePortalStmt { + const _j = ({} as ClosePortalStmt); + _o.set(_j, "portalname", _p?.portalname); + return _j; + }, + fetchStmt(_p?: FetchStmt): FetchStmt { + const _j = ({} as FetchStmt); + _o.set(_j, "direction", _p?.direction); + _o.set(_j, "howMany", _p?.howMany); + _o.set(_j, "portalname", _p?.portalname); + _o.set(_j, "ismove", _p?.ismove); + return _j; + }, + indexStmt(_p?: IndexStmt): IndexStmt { + const _j = ({} as IndexStmt); + _o.set(_j, "idxname", _p?.idxname); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "accessMethod", _p?.accessMethod); + _o.set(_j, "tableSpace", _p?.tableSpace); + _o.set(_j, "indexParams", _p?.indexParams); + _o.set(_j, "indexIncludingParams", _p?.indexIncludingParams); + _o.set(_j, "options", _p?.options); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "excludeOpNames", _p?.excludeOpNames); + _o.set(_j, "idxcomment", _p?.idxcomment); + _o.set(_j, "indexOid", _p?.indexOid); + _o.set(_j, "oldNumber", _p?.oldNumber); + _o.set(_j, "oldCreateSubid", _p?.oldCreateSubid); + _o.set(_j, "oldFirstRelfilelocatorSubid", _p?.oldFirstRelfilelocatorSubid); + _o.set(_j, "unique", _p?.unique); + _o.set(_j, "nulls_not_distinct", _p?.nulls_not_distinct); + _o.set(_j, "primary", _p?.primary); + _o.set(_j, "isconstraint", _p?.isconstraint); + _o.set(_j, "deferrable", _p?.deferrable); + _o.set(_j, "initdeferred", _p?.initdeferred); + _o.set(_j, "transformed", _p?.transformed); + _o.set(_j, "concurrent", _p?.concurrent); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "reset_default_tblspc", _p?.reset_default_tblspc); + return _j; + }, + createStatsStmt(_p?: CreateStatsStmt): CreateStatsStmt { + const _j = ({} as CreateStatsStmt); + _o.set(_j, "defnames", _p?.defnames); + _o.set(_j, "stat_types", _p?.stat_types); + _o.set(_j, "exprs", _p?.exprs); + _o.set(_j, "relations", _p?.relations); + _o.set(_j, "stxcomment", _p?.stxcomment); + _o.set(_j, "transformed", _p?.transformed); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + statsElem(_p?: StatsElem): StatsElem { + const _j = ({} as StatsElem); + _o.set(_j, "name", _p?.name); + _o.set(_j, "expr", _p?.expr); + return _j; + }, + alterStatsStmt(_p?: AlterStatsStmt): AlterStatsStmt { + const _j = ({} as AlterStatsStmt); + _o.set(_j, "defnames", _p?.defnames); + _o.set(_j, "stxstattarget", _p?.stxstattarget); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + createFunctionStmt(_p?: CreateFunctionStmt): CreateFunctionStmt { + const _j = ({} as CreateFunctionStmt); + _o.set(_j, "is_procedure", _p?.is_procedure); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "funcname", _p?.funcname); + _o.set(_j, "parameters", _p?.parameters); + _o.set(_j, "returnType", _p?.returnType); + _o.set(_j, "options", _p?.options); + _o.set(_j, "sql_body", _p?.sql_body); + return _j; + }, + functionParameter(_p?: FunctionParameter): FunctionParameter { + const _j = ({} as FunctionParameter); + _o.set(_j, "name", _p?.name); + _o.set(_j, "argType", _p?.argType); + _o.set(_j, "mode", _p?.mode); + _o.set(_j, "defexpr", _p?.defexpr); + return _j; + }, + alterFunctionStmt(_p?: AlterFunctionStmt): AlterFunctionStmt { + const _j = ({} as AlterFunctionStmt); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "func", _p?.func); + _o.set(_j, "actions", _p?.actions); + return _j; + }, + doStmt(_p?: DoStmt): DoStmt { + const _j = ({} as DoStmt); + _o.set(_j, "args", _p?.args); + return _j; + }, + inlineCodeBlock(_p?: InlineCodeBlock): InlineCodeBlock { + const _j = ({} as InlineCodeBlock); + _o.set(_j, "source_text", _p?.source_text); + _o.set(_j, "langOid", _p?.langOid); + _o.set(_j, "langIsTrusted", _p?.langIsTrusted); + _o.set(_j, "atomic", _p?.atomic); + return _j; + }, + callStmt(_p?: CallStmt): CallStmt { + const _j = ({} as CallStmt); + _o.set(_j, "funccall", _p?.funccall); + _o.set(_j, "funcexpr", _p?.funcexpr); + _o.set(_j, "outargs", _p?.outargs); + return _j; + }, + callContext(_p?: CallContext): CallContext { + const _j = ({} as CallContext); + _o.set(_j, "atomic", _p?.atomic); + return _j; + }, + renameStmt(_p?: RenameStmt): RenameStmt { + const _j = ({} as RenameStmt); + _o.set(_j, "renameType", _p?.renameType); + _o.set(_j, "relationType", _p?.relationType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "newname", _p?.newname); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + alterObjectDependsStmt(_p?: AlterObjectDependsStmt): AlterObjectDependsStmt { + const _j = ({} as AlterObjectDependsStmt); + _o.set(_j, "objectType", _p?.objectType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "remove", _p?.remove); + return _j; + }, + alterObjectSchemaStmt(_p?: AlterObjectSchemaStmt): AlterObjectSchemaStmt { + const _j = ({} as AlterObjectSchemaStmt); + _o.set(_j, "objectType", _p?.objectType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "newschema", _p?.newschema); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + alterOwnerStmt(_p?: AlterOwnerStmt): AlterOwnerStmt { + const _j = ({} as AlterOwnerStmt); + _o.set(_j, "objectType", _p?.objectType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "newowner", _p?.newowner); + return _j; + }, + alterOperatorStmt(_p?: AlterOperatorStmt): AlterOperatorStmt { + const _j = ({} as AlterOperatorStmt); + _o.set(_j, "opername", _p?.opername); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterTypeStmt(_p?: AlterTypeStmt): AlterTypeStmt { + const _j = ({} as AlterTypeStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "options", _p?.options); + return _j; + }, + ruleStmt(_p?: RuleStmt): RuleStmt { + const _j = ({} as RuleStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "rulename", _p?.rulename); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "event", _p?.event); + _o.set(_j, "instead", _p?.instead); + _o.set(_j, "actions", _p?.actions); + _o.set(_j, "replace", _p?.replace); + return _j; + }, + notifyStmt(_p?: NotifyStmt): NotifyStmt { + const _j = ({} as NotifyStmt); + _o.set(_j, "conditionname", _p?.conditionname); + _o.set(_j, "payload", _p?.payload); + return _j; + }, + listenStmt(_p?: ListenStmt): ListenStmt { + const _j = ({} as ListenStmt); + _o.set(_j, "conditionname", _p?.conditionname); + return _j; + }, + unlistenStmt(_p?: UnlistenStmt): UnlistenStmt { + const _j = ({} as UnlistenStmt); + _o.set(_j, "conditionname", _p?.conditionname); + return _j; + }, + transactionStmt(_p?: TransactionStmt): TransactionStmt { + const _j = ({} as TransactionStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "options", _p?.options); + _o.set(_j, "savepoint_name", _p?.savepoint_name); + _o.set(_j, "gid", _p?.gid); + _o.set(_j, "chain", _p?.chain); + return _j; + }, + compositeTypeStmt(_p?: CompositeTypeStmt): CompositeTypeStmt { + const _j = ({} as CompositeTypeStmt); + _o.set(_j, "typevar", _p?.typevar); + _o.set(_j, "coldeflist", _p?.coldeflist); + return _j; + }, + createEnumStmt(_p?: CreateEnumStmt): CreateEnumStmt { + const _j = ({} as CreateEnumStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "vals", _p?.vals); + return _j; + }, + createRangeStmt(_p?: CreateRangeStmt): CreateRangeStmt { + const _j = ({} as CreateRangeStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "params", _p?.params); + return _j; + }, + alterEnumStmt(_p?: AlterEnumStmt): AlterEnumStmt { + const _j = ({} as AlterEnumStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "oldVal", _p?.oldVal); + _o.set(_j, "newVal", _p?.newVal); + _o.set(_j, "newValNeighbor", _p?.newValNeighbor); + _o.set(_j, "newValIsAfter", _p?.newValIsAfter); + _o.set(_j, "skipIfNewValExists", _p?.skipIfNewValExists); + return _j; + }, + viewStmt(_p?: ViewStmt): ViewStmt { + const _j = ({} as ViewStmt); + _o.set(_j, "view", _p?.view); + _o.set(_j, "aliases", _p?.aliases); + _o.set(_j, "query", _p?.query); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "options", _p?.options); + _o.set(_j, "withCheckOption", _p?.withCheckOption); + return _j; + }, + loadStmt(_p?: LoadStmt): LoadStmt { + const _j = ({} as LoadStmt); + _o.set(_j, "filename", _p?.filename); + return _j; + }, + createdbStmt(_p?: CreatedbStmt): CreatedbStmt { + const _j = ({} as CreatedbStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterDatabaseStmt(_p?: AlterDatabaseStmt): AlterDatabaseStmt { + const _j = ({} as AlterDatabaseStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterDatabaseRefreshCollStmt(_p?: AlterDatabaseRefreshCollStmt): AlterDatabaseRefreshCollStmt { + const _j = ({} as AlterDatabaseRefreshCollStmt); + _o.set(_j, "dbname", _p?.dbname); + return _j; + }, + alterDatabaseSetStmt(_p?: AlterDatabaseSetStmt): AlterDatabaseSetStmt { + const _j = ({} as AlterDatabaseSetStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "setstmt", _p?.setstmt); + return _j; + }, + dropdbStmt(_p?: DropdbStmt): DropdbStmt { + const _j = ({} as DropdbStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterSystemStmt(_p?: AlterSystemStmt): AlterSystemStmt { + const _j = ({} as AlterSystemStmt); + _o.set(_j, "setstmt", _p?.setstmt); + return _j; + }, + clusterStmt(_p?: ClusterStmt): ClusterStmt { + const _j = ({} as ClusterStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "indexname", _p?.indexname); + _o.set(_j, "params", _p?.params); + return _j; + }, + vacuumStmt(_p?: VacuumStmt): VacuumStmt { + const _j = ({} as VacuumStmt); + _o.set(_j, "options", _p?.options); + _o.set(_j, "rels", _p?.rels); + _o.set(_j, "is_vacuumcmd", _p?.is_vacuumcmd); + return _j; + }, + vacuumRelation(_p?: VacuumRelation): VacuumRelation { + const _j = ({} as VacuumRelation); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "oid", _p?.oid); + _o.set(_j, "va_cols", _p?.va_cols); + return _j; + }, + explainStmt(_p?: ExplainStmt): ExplainStmt { + const _j = ({} as ExplainStmt); + _o.set(_j, "query", _p?.query); + _o.set(_j, "options", _p?.options); + return _j; + }, + createTableAsStmt(_p?: CreateTableAsStmt): CreateTableAsStmt { + const _j = ({} as CreateTableAsStmt); + _o.set(_j, "query", _p?.query); + _o.set(_j, "into", _p?.into); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "is_select_into", _p?.is_select_into); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + refreshMatViewStmt(_p?: RefreshMatViewStmt): RefreshMatViewStmt { + const _j = ({} as RefreshMatViewStmt); + _o.set(_j, "concurrent", _p?.concurrent); + _o.set(_j, "skipData", _p?.skipData); + _o.set(_j, "relation", _p?.relation); + return _j; + }, + checkPointStmt(_p?: CheckPointStmt): CheckPointStmt { + const _j = ({} as CheckPointStmt); + return _j; + }, + discardStmt(_p?: DiscardStmt): DiscardStmt { + const _j = ({} as DiscardStmt); + _o.set(_j, "target", _p?.target); + return _j; + }, + lockStmt(_p?: LockStmt): LockStmt { + const _j = ({} as LockStmt); + _o.set(_j, "relations", _p?.relations); + _o.set(_j, "mode", _p?.mode); + _o.set(_j, "nowait", _p?.nowait); + return _j; + }, + constraintsSetStmt(_p?: ConstraintsSetStmt): ConstraintsSetStmt { + const _j = ({} as ConstraintsSetStmt); + _o.set(_j, "constraints", _p?.constraints); + _o.set(_j, "deferred", _p?.deferred); + return _j; + }, + reindexStmt(_p?: ReindexStmt): ReindexStmt { + const _j = ({} as ReindexStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "name", _p?.name); + _o.set(_j, "params", _p?.params); + return _j; + }, + createConversionStmt(_p?: CreateConversionStmt): CreateConversionStmt { + const _j = ({} as CreateConversionStmt); + _o.set(_j, "conversion_name", _p?.conversion_name); + _o.set(_j, "for_encoding_name", _p?.for_encoding_name); + _o.set(_j, "to_encoding_name", _p?.to_encoding_name); + _o.set(_j, "func_name", _p?.func_name); + _o.set(_j, "def", _p?.def); + return _j; + }, + createCastStmt(_p?: CreateCastStmt): CreateCastStmt { + const _j = ({} as CreateCastStmt); + _o.set(_j, "sourcetype", _p?.sourcetype); + _o.set(_j, "targettype", _p?.targettype); + _o.set(_j, "func", _p?.func); + _o.set(_j, "context", _p?.context); + _o.set(_j, "inout", _p?.inout); + return _j; + }, + createTransformStmt(_p?: CreateTransformStmt): CreateTransformStmt { + const _j = ({} as CreateTransformStmt); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "type_name", _p?.type_name); + _o.set(_j, "lang", _p?.lang); + _o.set(_j, "fromsql", _p?.fromsql); + _o.set(_j, "tosql", _p?.tosql); + return _j; + }, + prepareStmt(_p?: PrepareStmt): PrepareStmt { + const _j = ({} as PrepareStmt); + _o.set(_j, "name", _p?.name); + _o.set(_j, "argtypes", _p?.argtypes); + _o.set(_j, "query", _p?.query); + return _j; + }, + executeStmt(_p?: ExecuteStmt): ExecuteStmt { + const _j = ({} as ExecuteStmt); + _o.set(_j, "name", _p?.name); + _o.set(_j, "params", _p?.params); + return _j; + }, + deallocateStmt(_p?: DeallocateStmt): DeallocateStmt { + const _j = ({} as DeallocateStmt); + _o.set(_j, "name", _p?.name); + return _j; + }, + dropOwnedStmt(_p?: DropOwnedStmt): DropOwnedStmt { + const _j = ({} as DropOwnedStmt); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + reassignOwnedStmt(_p?: ReassignOwnedStmt): ReassignOwnedStmt { + const _j = ({} as ReassignOwnedStmt); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "newrole", _p?.newrole); + return _j; + }, + altertsDictionaryStmt(_p?: AlterTSDictionaryStmt): AlterTSDictionaryStmt { + const _j = ({} as AlterTSDictionaryStmt); + _o.set(_j, "dictname", _p?.dictname); + _o.set(_j, "options", _p?.options); + return _j; + }, + altertsConfigurationStmt(_p?: AlterTSConfigurationStmt): AlterTSConfigurationStmt { + const _j = ({} as AlterTSConfigurationStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "cfgname", _p?.cfgname); + _o.set(_j, "tokentype", _p?.tokentype); + _o.set(_j, "dicts", _p?.dicts); + _o.set(_j, "override", _p?.override); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + publicationTable(_p?: PublicationTable): PublicationTable { + const _j = ({} as PublicationTable); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "columns", _p?.columns); + return _j; + }, + publicationObjSpec(_p?: PublicationObjSpec): PublicationObjSpec { + const _j = ({} as PublicationObjSpec); + _o.set(_j, "pubobjtype", _p?.pubobjtype); + _o.set(_j, "name", _p?.name); + _o.set(_j, "pubtable", _p?.pubtable); + _o.set(_j, "location", _p?.location); + return _j; + }, + createPublicationStmt(_p?: CreatePublicationStmt): CreatePublicationStmt { + const _j = ({} as CreatePublicationStmt); + _o.set(_j, "pubname", _p?.pubname); + _o.set(_j, "options", _p?.options); + _o.set(_j, "pubobjects", _p?.pubobjects); + _o.set(_j, "for_all_tables", _p?.for_all_tables); + return _j; + }, + alterPublicationStmt(_p?: AlterPublicationStmt): AlterPublicationStmt { + const _j = ({} as AlterPublicationStmt); + _o.set(_j, "pubname", _p?.pubname); + _o.set(_j, "options", _p?.options); + _o.set(_j, "pubobjects", _p?.pubobjects); + _o.set(_j, "for_all_tables", _p?.for_all_tables); + _o.set(_j, "action", _p?.action); + return _j; + }, + createSubscriptionStmt(_p?: CreateSubscriptionStmt): CreateSubscriptionStmt { + const _j = ({} as CreateSubscriptionStmt); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "conninfo", _p?.conninfo); + _o.set(_j, "publication", _p?.publication); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterSubscriptionStmt(_p?: AlterSubscriptionStmt): AlterSubscriptionStmt { + const _j = ({} as AlterSubscriptionStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "conninfo", _p?.conninfo); + _o.set(_j, "publication", _p?.publication); + _o.set(_j, "options", _p?.options); + return _j; + }, + dropSubscriptionStmt(_p?: DropSubscriptionStmt): DropSubscriptionStmt { + const _j = ({} as DropSubscriptionStmt); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + scanToken(_p?: ScanToken): ScanToken { + const _j = ({} as ScanToken); + _o.set(_j, "start", _p?.start); + _o.set(_j, "end", _p?.end); + _o.set(_j, "token", _p?.token); + _o.set(_j, "keywordKind", _p?.keywordKind); + return _j; + } +};", + "file": "asts.ts", + }, + { + "code": "[ + { + "name": "A_ArrayExpr", + "wrapped": true, + "fields": [ + { + "name": "elements", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Const", + "wrapped": true, + "fields": [ + { + "name": "boolval", + "type": "Boolean", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "bsval", + "type": "BitString", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fval", + "type": "Float", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isnull", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ival", + "type": "Integer", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sval", + "type": "String", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Expr", + "wrapped": true, + "fields": [ + { + "name": "kind", + "type": "A_Expr_Kind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Indices", + "wrapped": true, + "fields": [ + { + "name": "is_slice", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lidx", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "uidx", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Indirection", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "indirection", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "A_Star", + "wrapped": true, + "fields": [] + }, + { + "name": "AccessPriv", + "wrapped": true, + "fields": [ + { + "name": "cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "priv_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Aggref", + "wrapped": true, + "fields": [ + { + "name": "aggargtypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggdirectargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggdistinct", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggfilter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "aggfnoid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggkind", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "agglevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggorder", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggsplit", + "type": "AggSplit", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggstar", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggtransno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggvariadic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Alias", + "wrapped": true, + "fields": [ + { + "name": "aliasname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterCollationStmt", + "wrapped": true, + "fields": [ + { + "name": "collname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterDatabaseRefreshCollStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterDatabaseSetStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "setstmt", + "type": "VariableSetStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterDatabaseStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterDefaultPrivilegesStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "GrantStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterDomainStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "def", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subtype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterEnumStmt", + "wrapped": true, + "fields": [ + { + "name": "newVal", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newValIsAfter", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newValNeighbor", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldVal", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "skipIfNewValExists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterEventTrigStmt", + "wrapped": true, + "fields": [ + { + "name": "tgenabled", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "trigname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterExtensionContentsStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "extname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterExtensionStmt", + "wrapped": true, + "fields": [ + { + "name": "extname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterFdwStmt", + "wrapped": true, + "fields": [ + { + "name": "fdwname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func_options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterForeignServerStmt", + "wrapped": true, + "fields": [ + { + "name": "has_version", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "version", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterFunctionStmt", + "wrapped": true, + "fields": [ + { + "name": "actions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "func", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlternativeSubPlan", + "wrapped": true, + "fields": [ + { + "name": "subplans", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterObjectDependsStmt", + "wrapped": true, + "fields": [ + { + "name": "extname", + "type": "String", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objectType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "remove", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterObjectSchemaStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newschema", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objectType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterOperatorStmt", + "wrapped": true, + "fields": [ + { + "name": "opername", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterOpFamilyStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isDrop", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opfamilyname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterOwnerStmt", + "wrapped": true, + "fields": [ + { + "name": "newowner", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objectType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterPolicyStmt", + "wrapped": true, + "fields": [ + { + "name": "policy_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "table", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "with_check", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterPublicationStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "AlterPublicationAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "for_all_tables", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pubname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubobjects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterRoleSetStmt", + "wrapped": true, + "fields": [ + { + "name": "database", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "role", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "setstmt", + "type": "VariableSetStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "role", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterSeqStmt", + "wrapped": true, + "fields": [ + { + "name": "for_identity", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "sequence", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterStatsStmt", + "wrapped": true, + "fields": [ + { + "name": "defnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stxstattarget", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterSubscriptionStmt", + "wrapped": true, + "fields": [ + { + "name": "conninfo", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "AlterSubscriptionType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "publication", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterSystemStmt", + "wrapped": true, + "fields": [ + { + "name": "setstmt", + "type": "VariableSetStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTableCmd", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "def", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newowner", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "num", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "recurse", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subtype", + "type": "AlterTableType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTableMoveAllStmt", + "wrapped": true, + "fields": [ + { + "name": "new_tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nowait", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "orig_tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterTableSpaceOptionsStmt", + "wrapped": true, + "fields": [ + { + "name": "isReset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTableStmt", + "wrapped": true, + "fields": [ + { + "name": "cmds", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTSConfigurationStmt", + "wrapped": true, + "fields": [ + { + "name": "cfgname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "dicts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "kind", + "type": "AlterTSConfigType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tokentype", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterTSDictionaryStmt", + "wrapped": true, + "fields": [ + { + "name": "dictname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterTypeStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterUserMappingStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "user", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ArrayCoerceExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coerceformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "elemexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ArrayExpr", + "wrapped": true, + "fields": [ + { + "name": "array_collid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "array_typeid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "element_typeid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "elements", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "multidims", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "BitString", + "wrapped": true, + "fields": [ + { + "name": "bsval", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Boolean", + "wrapped": true, + "fields": [ + { + "name": "boolval", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "BooleanTest", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "booltesttype", + "type": "BoolTestType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "BoolExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "boolop", + "type": "BoolExprType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CallContext", + "wrapped": true, + "fields": [ + { + "name": "atomic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CallStmt", + "wrapped": true, + "fields": [ + { + "name": "funccall", + "type": "FuncCall", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "funcexpr", + "type": "FuncExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "outargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CaseExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "casecollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "casetype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "defresult", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CaseTestExpr", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeMod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CaseWhen", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "result", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CheckPointStmt", + "wrapped": true, + "fields": [] + }, + { + "name": "ClosePortalStmt", + "wrapped": true, + "fields": [ + { + "name": "portalname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ClusterStmt", + "wrapped": true, + "fields": [ + { + "name": "indexname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoalesceExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coalescecollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "coalescetype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoerceToDomain", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coercionformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoerceToDomainValue", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeMod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoerceViaIO", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coerceformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CollateClause", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "collname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CollateExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "collOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ColumnDef", + "wrapped": true, + "fields": [ + { + "name": "collClause", + "type": "CollateClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "collOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "compression", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "cooked_default", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fdwoptions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "generated", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "identity", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "identitySequence", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "inhcount", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_from_type", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_local", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_not_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "raw_default", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "storage", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "storage_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ColumnRef", + "wrapped": true, + "fields": [ + { + "name": "fields", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CommentStmt", + "wrapped": true, + "fields": [ + { + "name": "comment", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CommonTableExpr", + "wrapped": true, + "fields": [ + { + "name": "aliascolnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecolcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecolnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecoltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecoltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctematerialized", + "type": "CTEMaterialize", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ctename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ctequery", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "cterecursive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cterefcount", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_clause", + "type": "CTECycleClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "search_clause", + "type": "CTESearchClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CompositeTypeStmt", + "wrapped": true, + "fields": [ + { + "name": "coldeflist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typevar", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Constraint", + "wrapped": true, + "fields": [ + { + "name": "access_method", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "conname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "contype", + "type": "ConstrType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cooked_expr", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "deferrable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exclusions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fk_attrs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fk_del_action", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "fk_del_set_cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fk_matchtype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "fk_upd_action", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "generated_when", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "including", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "indexname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexspace", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "initdeferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "initially_valid", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_no_inherit", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "keys", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_not_distinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "old_conpfeqop", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "old_pktable_oid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pk_attrs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pktable", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "raw_expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "reset_default_tblspc", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "skip_validation", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "where_clause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ConstraintsSetStmt", + "wrapped": true, + "fields": [ + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "deferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ConvertRowtypeExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "convertformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CopyStmt", + "wrapped": true, + "fields": [ + { + "name": "attlist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "filename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_from", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_program", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateAmStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "amtype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "handler_name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateCastStmt", + "wrapped": true, + "fields": [ + { + "name": "context", + "type": "CoercionContext", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "inout", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sourcetype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "targettype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateConversionStmt", + "wrapped": true, + "fields": [ + { + "name": "conversion_name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "def", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "for_encoding_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func_name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "to_encoding_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreatedbStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateDomainStmt", + "wrapped": true, + "fields": [ + { + "name": "collClause", + "type": "CollateClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "domainname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateEnumStmt", + "wrapped": true, + "fields": [ + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "vals", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateEventTrigStmt", + "wrapped": true, + "fields": [ + { + "name": "eventname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "trigname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whenclause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateExtensionStmt", + "wrapped": true, + "fields": [ + { + "name": "extname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateFdwStmt", + "wrapped": true, + "fields": [ + { + "name": "fdwname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func_options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateForeignServerStmt", + "wrapped": true, + "fields": [ + { + "name": "fdwname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "servertype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "version", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateForeignTableStmt", + "wrapped": true, + "fields": [ + { + "name": "base", + "type": "CreateStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateFunctionStmt", + "wrapped": true, + "fields": [ + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "is_procedure", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "parameters", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "returnType", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sql_body", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateOpClassItem", + "wrapped": true, + "fields": [ + { + "name": "class_args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "itemtype", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "number", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "order_family", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "storedtype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateOpClassStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "datatype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isDefault", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opclassname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opfamilyname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateOpFamilyStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opfamilyname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreatePLangStmt", + "wrapped": true, + "fields": [ + { + "name": "plhandler", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "plinline", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "plname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pltrusted", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "plvalidator", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreatePolicyStmt", + "wrapped": true, + "fields": [ + { + "name": "cmd_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "permissive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "policy_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "table", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "with_check", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreatePublicationStmt", + "wrapped": true, + "fields": [ + { + "name": "for_all_tables", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pubname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubobjects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateRangeStmt", + "wrapped": true, + "fields": [ + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "role", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stmt_type", + "type": "RoleStmtType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateSchemaStmt", + "wrapped": true, + "fields": [ + { + "name": "authrole", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "schemaElts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "schemaname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateSeqStmt", + "wrapped": true, + "fields": [ + { + "name": "for_identity", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ownerId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sequence", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateStatsStmt", + "wrapped": true, + "fields": [ + { + "name": "defnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "exprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "stat_types", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "stxcomment", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "transformed", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateStmt", + "wrapped": true, + "fields": [ + { + "name": "accessMethod", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inhRelations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ofTypename", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "oncommit", + "type": "OnCommitAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "partbound", + "type": "PartitionBoundSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "partspec", + "type": "PartitionSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tableElts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateSubscriptionStmt", + "wrapped": true, + "fields": [ + { + "name": "conninfo", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "publication", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTableAsStmt", + "wrapped": true, + "fields": [ + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "into", + "type": "IntoClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "is_select_into", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTableSpaceStmt", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "owner", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTransformStmt", + "wrapped": true, + "fields": [ + { + "name": "fromsql", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "lang", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tosql", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "type_name", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTrigStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "columns", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "constrrel", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "deferrable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "events", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "initdeferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isconstraint", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "row", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "timing", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "transitionRels", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "trigname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whenClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateUserMappingStmt", + "wrapped": true, + "fields": [ + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "user", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CTECycleClause", + "wrapped": true, + "fields": [ + { + "name": "cycle_col_list", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "cycle_mark_collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_column", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_default", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_neop", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_type", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_value", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "cycle_path_column", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CTESearchClause", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "search_breadth_first", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "search_col_list", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "search_seq_column", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CurrentOfExpr", + "wrapped": true, + "fields": [ + { + "name": "cursor_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cursor_param", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cvarno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DeallocateStmt", + "wrapped": true, + "fields": [ + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DeclareCursorStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "portalname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DefElem", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "defaction", + "type": "DefElemAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "defname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "defnamespace", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DefineStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "definition", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "defnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldstyle", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DeleteStmt", + "wrapped": true, + "fields": [ + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "usingClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DiscardStmt", + "wrapped": true, + "fields": [ + { + "name": "target", + "type": "DiscardMode", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DistinctExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DoStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropdbStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropOwnedStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "removeType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DropSubscriptionStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DropTableSpaceStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DropUserMappingStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "user", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ExecuteStmt", + "wrapped": true, + "fields": [ + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "ExplainStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FetchStmt", + "wrapped": true, + "fields": [ + { + "name": "direction", + "type": "FetchDirection", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "howMany", + "type": "int64", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ismove", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "portalname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FieldSelect", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fieldnum", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FieldStore", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fieldnums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "newvals", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Float", + "wrapped": true, + "fields": [ + { + "name": "fval", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FromExpr", + "wrapped": true, + "fields": [ + { + "name": "fromlist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "quals", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FuncCall", + "wrapped": true, + "fields": [ + { + "name": "agg_distinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "agg_filter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "agg_order", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "agg_star", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "agg_within_group", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "func_variadic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "over", + "type": "WindowDef", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FuncExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcvariadic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FunctionParameter", + "wrapped": true, + "fields": [ + { + "name": "argType", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "defexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "mode", + "type": "FunctionParameterMode", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "GrantRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "granted_roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "grantee_roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "grantor", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "is_grant", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opt", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "GrantStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "grant_option", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "grantees", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "grantor", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "is_grant", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "privileges", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "targtype", + "type": "GrantTargetType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "GroupingFunc", + "wrapped": true, + "fields": [ + { + "name": "agglevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "GroupingSet", + "wrapped": true, + "fields": [ + { + "name": "content", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "kind", + "type": "GroupingSetKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ImportForeignSchemaStmt", + "wrapped": true, + "fields": [ + { + "name": "list_type", + "type": "ImportForeignSchemaType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "local_schema", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "remote_schema", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "server_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "table_list", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "IndexElem", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "indexcolname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_ordering", + "type": "SortByNulls", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opclass", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opclassopts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ordering", + "type": "SortByDir", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "IndexStmt", + "wrapped": true, + "fields": [ + { + "name": "accessMethod", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "deferrable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "excludeOpNames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "idxcomment", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "idxname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexIncludingParams", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "indexOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexParams", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "initdeferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isconstraint", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_not_distinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldCreateSubid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldFirstRelfilelocatorSubid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldNumber", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "primary", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "reset_default_tblspc", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tableSpace", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "transformed", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InferClause", + "wrapped": true, + "fields": [ + { + "name": "conname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexElems", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InferenceElem", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "infercollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inferopclass", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InlineCodeBlock", + "wrapped": true, + "fields": [ + { + "name": "atomic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "langIsTrusted", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "langOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "source_text", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InsertStmt", + "wrapped": true, + "fields": [ + { + "name": "cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onConflictClause", + "type": "OnConflictClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "selectStmt", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Integer", + "wrapped": true, + "fields": [ + { + "name": "ival", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "IntList", + "wrapped": true, + "fields": [ + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "IntoClause", + "wrapped": true, + "fields": [ + { + "name": "accessMethod", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colNames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onCommit", + "type": "OnCommitAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rel", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "skipData", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tableSpaceName", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "viewQuery", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JoinExpr", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isNatural", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "join_using_alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "jointype", + "type": "JoinType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "larg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "quals", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "rarg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "rtindex", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "usingClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "JsonAggConstructor", + "wrapped": true, + "fields": [ + { + "name": "agg_filter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "agg_order", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "over", + "type": "WindowDef", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonArrayAgg", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "arg", + "type": "JsonValueExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constructor", + "type": "JsonAggConstructor", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonArrayConstructor", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonArrayQueryConstructor", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonConstructorExpr", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coercion", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "func", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "returning", + "type": "JsonReturning", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "type", + "type": "JsonConstructorType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonFormat", + "wrapped": true, + "fields": [ + { + "name": "encoding", + "type": "JsonEncoding", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "format_type", + "type": "JsonFormatType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonIsPredicate", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "item_type", + "type": "JsonValueType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "unique_keys", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonKeyValue", + "wrapped": true, + "fields": [ + { + "name": "key", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "value", + "type": "JsonValueExpr", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonObjectAgg", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "arg", + "type": "JsonKeyValue", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constructor", + "type": "JsonAggConstructor", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonObjectConstructor", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonOutput", + "wrapped": true, + "fields": [ + { + "name": "returning", + "type": "JsonReturning", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonReturning", + "wrapped": true, + "fields": [ + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "typid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonValueExpr", + "wrapped": true, + "fields": [ + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "formatted_expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "raw_expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "List", + "wrapped": true, + "fields": [ + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "ListenStmt", + "wrapped": true, + "fields": [ + { + "name": "conditionname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "LoadStmt", + "wrapped": true, + "fields": [ + { + "name": "filename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "LockingClause", + "wrapped": true, + "fields": [ + { + "name": "lockedRels", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "strength", + "type": "LockClauseStrength", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "waitPolicy", + "type": "LockWaitPolicy", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "LockStmt", + "wrapped": true, + "fields": [ + { + "name": "mode", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nowait", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "MergeAction", + "wrapped": true, + "fields": [ + { + "name": "commandType", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "matched", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "updateColnos", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "MergeStmt", + "wrapped": true, + "fields": [ + { + "name": "joinCondition", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "mergeWhenClauses", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sourceRelation", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "MergeWhenClause", + "wrapped": true, + "fields": [ + { + "name": "commandType", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "condition", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "matched", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "values", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "MinMaxExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "minmaxcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "minmaxtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "op", + "type": "MinMaxOp", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "MultiAssignRef", + "wrapped": true, + "fields": [ + { + "name": "colno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ncolumns", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "source", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NamedArgExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "argnumber", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NextValueExpr", + "wrapped": true, + "fields": [ + { + "name": "seqid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NotifyStmt", + "wrapped": true, + "fields": [ + { + "name": "conditionname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "payload", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NullIfExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NullTest", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "argisrow", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulltesttype", + "type": "NullTestType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ObjectWithArgs", + "wrapped": true, + "fields": [ + { + "name": "args_unspecified", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "objfuncargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "objname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "OidList", + "wrapped": true, + "fields": [ + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "OnConflictClause", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "OnConflictAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "infer", + "type": "InferClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "OnConflictExpr", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "OnConflictAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "arbiterElems", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "arbiterWhere", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constraint", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exclRelIndex", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exclRelTlist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onConflictSet", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onConflictWhere", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "OpExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Param", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramid", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramkind", + "type": "ParamKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramtypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ParamRef", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "number", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ParseResult", + "wrapped": false, + "fields": [ + { + "name": "stmts", + "type": "RawStmt", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "version", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PartitionBoundSpec", + "wrapped": true, + "fields": [ + { + "name": "is_default", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "listdatums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lowerdatums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "modulus", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "remainder", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "strategy", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "upperdatums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "PartitionCmd", + "wrapped": true, + "fields": [ + { + "name": "bound", + "type": "PartitionBoundSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PartitionElem", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opclass", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "PartitionRangeDatum", + "wrapped": true, + "fields": [ + { + "name": "kind", + "type": "PartitionRangeDatumKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "value", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PartitionSpec", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "partParams", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "strategy", + "type": "PartitionStrategy", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PLAssignStmt", + "wrapped": true, + "fields": [ + { + "name": "indirection", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nnames", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "val", + "type": "SelectStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PrepareStmt", + "wrapped": true, + "fields": [ + { + "name": "argtypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PublicationObjSpec", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubobjtype", + "type": "PublicationObjSpecType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubtable", + "type": "PublicationTable", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PublicationTable", + "wrapped": true, + "fields": [ + { + "name": "columns", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Query", + "wrapped": true, + "fields": [ + { + "name": "canSetTag", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "commandType", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "constraintDeps", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "cteList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "distinctClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupDistinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "groupingSets", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "hasAggs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasDistinctOn", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasForUpdate", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasModifyingCTE", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasRecursive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasRowSecurity", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasSubLinks", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasTargetSRFs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasWindowFuncs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "havingQual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isReturn", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "jointree", + "type": "FromExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitCount", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOption", + "type": "LimitOption", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "mergeActionList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "mergeUseOuterJoin", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "onConflict", + "type": "OnConflictExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "querySource", + "type": "QuerySource", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultRelation", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rowMarks", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rtable", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rteperminfos", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "setOperations", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sortClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "stmt_len", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stmt_location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "utilityStmt", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "windowClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "withCheckOptions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RangeFunction", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coldeflist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "functions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "is_rowsfrom", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ordinality", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeSubselect", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subquery", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTableFunc", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "columns", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "docexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "namespaces", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rowexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTableFuncCol", + "wrapped": true, + "fields": [ + { + "name": "coldefexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "colexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "colname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "for_ordinality", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_not_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTableSample", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "method", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "repeatable", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTblEntry", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "colcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctelevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ctename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "enrname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "enrtuples", + "type": "double", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "eref", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "funcordinality", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "functions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inFromCl", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inh", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "join_using_alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "joinaliasvars", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "joinleftcols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "joinmergedcols", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "joinrightcols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "jointype", + "type": "JoinType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "perminfoindex", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relkind", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rellockmode", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rtekind", + "type": "RTEKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "security_barrier", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "securityQuals", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "self_reference", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subquery", + "type": "Query", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tablefunc", + "type": "TableFunc", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tablesample", + "type": "TableSampleClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "values_lists", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RangeTblFunction", + "wrapped": true, + "fields": [ + { + "name": "funccolcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccolcount", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funccolnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccoltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccoltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funcexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "funcparams", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RangeTblRef", + "wrapped": true, + "fields": [ + { + "name": "rtindex", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeVar", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "catalogname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inh", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relpersistence", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "schemaname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RawStmt", + "wrapped": true, + "fields": [ + { + "name": "stmt", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "stmt_len", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stmt_location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReassignOwnedStmt", + "wrapped": true, + "fields": [ + { + "name": "newrole", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RefreshMatViewStmt", + "wrapped": true, + "fields": [ + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "skipData", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReindexStmt", + "wrapped": true, + "fields": [ + { + "name": "kind", + "type": "ReindexObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RelabelType", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relabelformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RenameStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relationType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "renameType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReplicaIdentityStmt", + "wrapped": true, + "fields": [ + { + "name": "identity_type", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ResTarget", + "wrapped": true, + "fields": [ + { + "name": "indirection", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "val", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReturnStmt", + "wrapped": true, + "fields": [ + { + "name": "returnval", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RoleSpec", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rolename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roletype", + "type": "RoleSpecType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RowCompareExpr", + "wrapped": true, + "fields": [ + { + "name": "inputcollids", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "largs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opfamilies", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opnos", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rctype", + "type": "RowCompareType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RowExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "row_format", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "row_typeid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RowMarkClause", + "wrapped": true, + "fields": [ + { + "name": "pushedDown", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rti", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "strength", + "type": "LockClauseStrength", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "waitPolicy", + "type": "LockWaitPolicy", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RTEPermissionInfo", + "wrapped": true, + "fields": [ + { + "name": "checkAsUser", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inh", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "insertedCols", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "relid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "requiredPerms", + "type": "uint64", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "selectedCols", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "updatedCols", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RuleStmt", + "wrapped": true, + "fields": [ + { + "name": "actions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "event", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "instead", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rulename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ScalarArrayOpExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "useOr", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ScanResult", + "wrapped": false, + "fields": [ + { + "name": "tokens", + "type": "ScanToken", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "version", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ScanToken", + "wrapped": false, + "fields": [ + { + "name": "end", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "keywordKind", + "type": "KeywordKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "start", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "token", + "type": "Token", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SecLabelStmt", + "wrapped": true, + "fields": [ + { + "name": "label", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "provider", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SelectStmt", + "wrapped": true, + "fields": [ + { + "name": "all", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "distinctClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fromClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupDistinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "havingClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "intoClause", + "type": "IntoClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "larg", + "type": "SelectStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitCount", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOption", + "type": "LimitOption", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lockingClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "op", + "type": "SetOperation", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rarg", + "type": "SelectStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sortClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "valuesLists", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "windowClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SetOperationStmt", + "wrapped": true, + "fields": [ + { + "name": "all", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colCollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colTypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colTypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupClauses", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "larg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "op", + "type": "SetOperation", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rarg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SetToDefault", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeMod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SortBy", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "node", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sortby_dir", + "type": "SortByDir", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sortby_nulls", + "type": "SortByNulls", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "useOp", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "SortGroupClause", + "wrapped": true, + "fields": [ + { + "name": "eqop", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hashable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_first", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sortop", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tleSortGroupRef", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SQLValueFunction", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "op", + "type": "SQLValueFunctionOp", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "type", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "StatsElem", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "String", + "wrapped": true, + "fields": [ + { + "name": "sval", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SubLink", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "operName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "subLinkId", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subLinkType", + "type": "SubLinkType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subselect", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "testexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SubPlan", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "firstColCollation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "firstColType", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "firstColTypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "parallel_safe", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramIds", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "parParam", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "per_call_cost", + "type": "double", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "plan_id", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "plan_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "setParam", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "startup_cost", + "type": "double", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subLinkType", + "type": "SubLinkType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "testexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "unknownEqFalse", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "useHashTable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SubscriptingRef", + "wrapped": true, + "fields": [ + { + "name": "refassgnexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "refcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refcontainertype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refelemtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "reflowerindexpr", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "refrestype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "reftypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refupperindexpr", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TableFunc", + "wrapped": true, + "fields": [ + { + "name": "colcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coldefexprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colexprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "docexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "notnulls", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "ns_names", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ns_uris", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ordinalitycol", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rowexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TableLikeClause", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relationOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TableSampleClause", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "repeatable", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tsmhandler", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TargetEntry", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "resjunk", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resorigcol", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resorigtbl", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ressortgroupref", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TransactionStmt", + "wrapped": true, + "fields": [ + { + "name": "chain", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "gid", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "TransactionStmtKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "savepoint_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TriggerTransition", + "wrapped": true, + "fields": [ + { + "name": "isNew", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isTable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TruncateStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "restart_seqs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TypeCast", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TypeName", + "wrapped": true, + "fields": [ + { + "name": "arrayBounds", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "names", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pct_type", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "setof", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typemod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "UnlistenStmt", + "wrapped": true, + "fields": [ + { + "name": "conditionname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "UpdateStmt", + "wrapped": true, + "fields": [ + { + "name": "fromClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "VacuumRelation", + "wrapped": true, + "fields": [ + { + "name": "oid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "va_cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "VacuumStmt", + "wrapped": true, + "fields": [ + { + "name": "is_vacuumcmd", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rels", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "Var", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varattno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varlevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varnullingrels", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "vartype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "vartypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "VariableSetStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "is_local", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "VariableSetKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "VariableShowStmt", + "wrapped": true, + "fields": [ + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ViewStmt", + "wrapped": true, + "fields": [ + { + "name": "aliases", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "view", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withCheckOption", + "type": "ViewCheckOption", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WindowClause", + "wrapped": true, + "fields": [ + { + "name": "copiedOrder", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "endInRangeFunc", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "endOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "frameOptions", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inRangeAsc", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inRangeColl", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inRangeNullsFirst", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "orderClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "partitionClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "refname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "runCondition", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "startInRangeFunc", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "startOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "winref", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WindowDef", + "wrapped": true, + "fields": [ + { + "name": "endOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "frameOptions", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "orderClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "partitionClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "refname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "startOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WindowFunc", + "wrapped": true, + "fields": [ + { + "name": "aggfilter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winagg", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "wincollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winfnoid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winref", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winstar", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "wintype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WithCheckOption", + "wrapped": true, + "fields": [ + { + "name": "cascaded", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "WCOKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "polname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WithClause", + "wrapped": true, + "fields": [ + { + "name": "ctes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "recursive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "XmlExpr", + "wrapped": true, + "fields": [ + { + "name": "arg_names", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "indent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "named_args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "op", + "type": "XmlExprOp", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "type", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xmloption", + "type": "XmlOptionType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "XmlSerialize", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "indent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "xmloption", + "type": "XmlOptionType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + } +]", + "file": "complete-schema.json", + }, + { + "code": "/** +* This file was automatically generated by pg-proto-parser@latest. +* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, +* and run the pg-proto-parser generate command to regenerate this file. +*/ +export type OverridingKind = "OVERRIDING_NOT_SET" | "OVERRIDING_USER_VALUE" | "OVERRIDING_SYSTEM_VALUE"; +export type QuerySource = "QSRC_ORIGINAL" | "QSRC_PARSER" | "QSRC_INSTEAD_RULE" | "QSRC_QUAL_INSTEAD_RULE" | "QSRC_NON_INSTEAD_RULE"; +export type SortByDir = "SORTBY_DEFAULT" | "SORTBY_ASC" | "SORTBY_DESC" | "SORTBY_USING"; +export type SortByNulls = "SORTBY_NULLS_DEFAULT" | "SORTBY_NULLS_FIRST" | "SORTBY_NULLS_LAST"; +export type SetQuantifier = "SET_QUANTIFIER_DEFAULT" | "SET_QUANTIFIER_ALL" | "SET_QUANTIFIER_DISTINCT"; +export type A_Expr_Kind = "AEXPR_OP" | "AEXPR_OP_ANY" | "AEXPR_OP_ALL" | "AEXPR_DISTINCT" | "AEXPR_NOT_DISTINCT" | "AEXPR_NULLIF" | "AEXPR_IN" | "AEXPR_LIKE" | "AEXPR_ILIKE" | "AEXPR_SIMILAR" | "AEXPR_BETWEEN" | "AEXPR_NOT_BETWEEN" | "AEXPR_BETWEEN_SYM" | "AEXPR_NOT_BETWEEN_SYM"; +export type RoleSpecType = "ROLESPEC_CSTRING" | "ROLESPEC_CURRENT_ROLE" | "ROLESPEC_CURRENT_USER" | "ROLESPEC_SESSION_USER" | "ROLESPEC_PUBLIC"; +export type TableLikeOption = "CREATE_TABLE_LIKE_COMMENTS" | "CREATE_TABLE_LIKE_COMPRESSION" | "CREATE_TABLE_LIKE_CONSTRAINTS" | "CREATE_TABLE_LIKE_DEFAULTS" | "CREATE_TABLE_LIKE_GENERATED" | "CREATE_TABLE_LIKE_IDENTITY" | "CREATE_TABLE_LIKE_INDEXES" | "CREATE_TABLE_LIKE_STATISTICS" | "CREATE_TABLE_LIKE_STORAGE" | "CREATE_TABLE_LIKE_ALL"; +export type DefElemAction = "DEFELEM_UNSPEC" | "DEFELEM_SET" | "DEFELEM_ADD" | "DEFELEM_DROP"; +export type PartitionStrategy = "PARTITION_STRATEGY_LIST" | "PARTITION_STRATEGY_RANGE" | "PARTITION_STRATEGY_HASH"; +export type PartitionRangeDatumKind = "PARTITION_RANGE_DATUM_MINVALUE" | "PARTITION_RANGE_DATUM_VALUE" | "PARTITION_RANGE_DATUM_MAXVALUE"; +export type RTEKind = "RTE_RELATION" | "RTE_SUBQUERY" | "RTE_JOIN" | "RTE_FUNCTION" | "RTE_TABLEFUNC" | "RTE_VALUES" | "RTE_CTE" | "RTE_NAMEDTUPLESTORE" | "RTE_RESULT"; +export type WCOKind = "WCO_VIEW_CHECK" | "WCO_RLS_INSERT_CHECK" | "WCO_RLS_UPDATE_CHECK" | "WCO_RLS_CONFLICT_CHECK" | "WCO_RLS_MERGE_UPDATE_CHECK" | "WCO_RLS_MERGE_DELETE_CHECK"; +export type GroupingSetKind = "GROUPING_SET_EMPTY" | "GROUPING_SET_SIMPLE" | "GROUPING_SET_ROLLUP" | "GROUPING_SET_CUBE" | "GROUPING_SET_SETS"; +export type CTEMaterialize = "CTEMaterializeDefault" | "CTEMaterializeAlways" | "CTEMaterializeNever"; +export type SetOperation = "SETOP_NONE" | "SETOP_UNION" | "SETOP_INTERSECT" | "SETOP_EXCEPT"; +export type ObjectType = "OBJECT_ACCESS_METHOD" | "OBJECT_AGGREGATE" | "OBJECT_AMOP" | "OBJECT_AMPROC" | "OBJECT_ATTRIBUTE" | "OBJECT_CAST" | "OBJECT_COLUMN" | "OBJECT_COLLATION" | "OBJECT_CONVERSION" | "OBJECT_DATABASE" | "OBJECT_DEFAULT" | "OBJECT_DEFACL" | "OBJECT_DOMAIN" | "OBJECT_DOMCONSTRAINT" | "OBJECT_EVENT_TRIGGER" | "OBJECT_EXTENSION" | "OBJECT_FDW" | "OBJECT_FOREIGN_SERVER" | "OBJECT_FOREIGN_TABLE" | "OBJECT_FUNCTION" | "OBJECT_INDEX" | "OBJECT_LANGUAGE" | "OBJECT_LARGEOBJECT" | "OBJECT_MATVIEW" | "OBJECT_OPCLASS" | "OBJECT_OPERATOR" | "OBJECT_OPFAMILY" | "OBJECT_PARAMETER_ACL" | "OBJECT_POLICY" | "OBJECT_PROCEDURE" | "OBJECT_PUBLICATION" | "OBJECT_PUBLICATION_NAMESPACE" | "OBJECT_PUBLICATION_REL" | "OBJECT_ROLE" | "OBJECT_ROUTINE" | "OBJECT_RULE" | "OBJECT_SCHEMA" | "OBJECT_SEQUENCE" | "OBJECT_SUBSCRIPTION" | "OBJECT_STATISTIC_EXT" | "OBJECT_TABCONSTRAINT" | "OBJECT_TABLE" | "OBJECT_TABLESPACE" | "OBJECT_TRANSFORM" | "OBJECT_TRIGGER" | "OBJECT_TSCONFIGURATION" | "OBJECT_TSDICTIONARY" | "OBJECT_TSPARSER" | "OBJECT_TSTEMPLATE" | "OBJECT_TYPE" | "OBJECT_USER_MAPPING" | "OBJECT_VIEW"; +export type DropBehavior = "DROP_RESTRICT" | "DROP_CASCADE"; +export type AlterTableType = "AT_AddColumn" | "AT_AddColumnToView" | "AT_ColumnDefault" | "AT_CookedColumnDefault" | "AT_DropNotNull" | "AT_SetNotNull" | "AT_DropExpression" | "AT_CheckNotNull" | "AT_SetStatistics" | "AT_SetOptions" | "AT_ResetOptions" | "AT_SetStorage" | "AT_SetCompression" | "AT_DropColumn" | "AT_AddIndex" | "AT_ReAddIndex" | "AT_AddConstraint" | "AT_ReAddConstraint" | "AT_ReAddDomainConstraint" | "AT_AlterConstraint" | "AT_ValidateConstraint" | "AT_AddIndexConstraint" | "AT_DropConstraint" | "AT_ReAddComment" | "AT_AlterColumnType" | "AT_AlterColumnGenericOptions" | "AT_ChangeOwner" | "AT_ClusterOn" | "AT_DropCluster" | "AT_SetLogged" | "AT_SetUnLogged" | "AT_DropOids" | "AT_SetAccessMethod" | "AT_SetTableSpace" | "AT_SetRelOptions" | "AT_ResetRelOptions" | "AT_ReplaceRelOptions" | "AT_EnableTrig" | "AT_EnableAlwaysTrig" | "AT_EnableReplicaTrig" | "AT_DisableTrig" | "AT_EnableTrigAll" | "AT_DisableTrigAll" | "AT_EnableTrigUser" | "AT_DisableTrigUser" | "AT_EnableRule" | "AT_EnableAlwaysRule" | "AT_EnableReplicaRule" | "AT_DisableRule" | "AT_AddInherit" | "AT_DropInherit" | "AT_AddOf" | "AT_DropOf" | "AT_ReplicaIdentity" | "AT_EnableRowSecurity" | "AT_DisableRowSecurity" | "AT_ForceRowSecurity" | "AT_NoForceRowSecurity" | "AT_GenericOptions" | "AT_AttachPartition" | "AT_DetachPartition" | "AT_DetachPartitionFinalize" | "AT_AddIdentity" | "AT_SetIdentity" | "AT_DropIdentity" | "AT_ReAddStatistics"; +export type GrantTargetType = "ACL_TARGET_OBJECT" | "ACL_TARGET_ALL_IN_SCHEMA" | "ACL_TARGET_DEFAULTS"; +export type VariableSetKind = "VAR_SET_VALUE" | "VAR_SET_DEFAULT" | "VAR_SET_CURRENT" | "VAR_SET_MULTI" | "VAR_RESET" | "VAR_RESET_ALL"; +export type ConstrType = "CONSTR_NULL" | "CONSTR_NOTNULL" | "CONSTR_DEFAULT" | "CONSTR_IDENTITY" | "CONSTR_GENERATED" | "CONSTR_CHECK" | "CONSTR_PRIMARY" | "CONSTR_UNIQUE" | "CONSTR_EXCLUSION" | "CONSTR_FOREIGN" | "CONSTR_ATTR_DEFERRABLE" | "CONSTR_ATTR_NOT_DEFERRABLE" | "CONSTR_ATTR_DEFERRED" | "CONSTR_ATTR_IMMEDIATE"; +export type ImportForeignSchemaType = "FDW_IMPORT_SCHEMA_ALL" | "FDW_IMPORT_SCHEMA_LIMIT_TO" | "FDW_IMPORT_SCHEMA_EXCEPT"; +export type RoleStmtType = "ROLESTMT_ROLE" | "ROLESTMT_USER" | "ROLESTMT_GROUP"; +export type FetchDirection = "FETCH_FORWARD" | "FETCH_BACKWARD" | "FETCH_ABSOLUTE" | "FETCH_RELATIVE"; +export type FunctionParameterMode = "FUNC_PARAM_IN" | "FUNC_PARAM_OUT" | "FUNC_PARAM_INOUT" | "FUNC_PARAM_VARIADIC" | "FUNC_PARAM_TABLE" | "FUNC_PARAM_DEFAULT"; +export type TransactionStmtKind = "TRANS_STMT_BEGIN" | "TRANS_STMT_START" | "TRANS_STMT_COMMIT" | "TRANS_STMT_ROLLBACK" | "TRANS_STMT_SAVEPOINT" | "TRANS_STMT_RELEASE" | "TRANS_STMT_ROLLBACK_TO" | "TRANS_STMT_PREPARE" | "TRANS_STMT_COMMIT_PREPARED" | "TRANS_STMT_ROLLBACK_PREPARED"; +export type ViewCheckOption = "NO_CHECK_OPTION" | "LOCAL_CHECK_OPTION" | "CASCADED_CHECK_OPTION"; +export type DiscardMode = "DISCARD_ALL" | "DISCARD_PLANS" | "DISCARD_SEQUENCES" | "DISCARD_TEMP"; +export type ReindexObjectType = "REINDEX_OBJECT_INDEX" | "REINDEX_OBJECT_TABLE" | "REINDEX_OBJECT_SCHEMA" | "REINDEX_OBJECT_SYSTEM" | "REINDEX_OBJECT_DATABASE"; +export type AlterTSConfigType = "ALTER_TSCONFIG_ADD_MAPPING" | "ALTER_TSCONFIG_ALTER_MAPPING_FOR_TOKEN" | "ALTER_TSCONFIG_REPLACE_DICT" | "ALTER_TSCONFIG_REPLACE_DICT_FOR_TOKEN" | "ALTER_TSCONFIG_DROP_MAPPING"; +export type PublicationObjSpecType = "PUBLICATIONOBJ_TABLE" | "PUBLICATIONOBJ_TABLES_IN_SCHEMA" | "PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA" | "PUBLICATIONOBJ_CONTINUATION"; +export type AlterPublicationAction = "AP_AddObjects" | "AP_DropObjects" | "AP_SetObjects"; +export type AlterSubscriptionType = "ALTER_SUBSCRIPTION_OPTIONS" | "ALTER_SUBSCRIPTION_CONNECTION" | "ALTER_SUBSCRIPTION_SET_PUBLICATION" | "ALTER_SUBSCRIPTION_ADD_PUBLICATION" | "ALTER_SUBSCRIPTION_DROP_PUBLICATION" | "ALTER_SUBSCRIPTION_REFRESH" | "ALTER_SUBSCRIPTION_ENABLED" | "ALTER_SUBSCRIPTION_SKIP"; +export type OnCommitAction = "ONCOMMIT_NOOP" | "ONCOMMIT_PRESERVE_ROWS" | "ONCOMMIT_DELETE_ROWS" | "ONCOMMIT_DROP"; +export type ParamKind = "PARAM_EXTERN" | "PARAM_EXEC" | "PARAM_SUBLINK" | "PARAM_MULTIEXPR"; +export type CoercionContext = "COERCION_IMPLICIT" | "COERCION_ASSIGNMENT" | "COERCION_PLPGSQL" | "COERCION_EXPLICIT"; +export type CoercionForm = "COERCE_EXPLICIT_CALL" | "COERCE_EXPLICIT_CAST" | "COERCE_IMPLICIT_CAST" | "COERCE_SQL_SYNTAX"; +export type BoolExprType = "AND_EXPR" | "OR_EXPR" | "NOT_EXPR"; +export type SubLinkType = "EXISTS_SUBLINK" | "ALL_SUBLINK" | "ANY_SUBLINK" | "ROWCOMPARE_SUBLINK" | "EXPR_SUBLINK" | "MULTIEXPR_SUBLINK" | "ARRAY_SUBLINK" | "CTE_SUBLINK"; +export type RowCompareType = "ROWCOMPARE_LT" | "ROWCOMPARE_LE" | "ROWCOMPARE_EQ" | "ROWCOMPARE_GE" | "ROWCOMPARE_GT" | "ROWCOMPARE_NE"; +export type MinMaxOp = "IS_GREATEST" | "IS_LEAST"; +export type SQLValueFunctionOp = "SVFOP_CURRENT_DATE" | "SVFOP_CURRENT_TIME" | "SVFOP_CURRENT_TIME_N" | "SVFOP_CURRENT_TIMESTAMP" | "SVFOP_CURRENT_TIMESTAMP_N" | "SVFOP_LOCALTIME" | "SVFOP_LOCALTIME_N" | "SVFOP_LOCALTIMESTAMP" | "SVFOP_LOCALTIMESTAMP_N" | "SVFOP_CURRENT_ROLE" | "SVFOP_CURRENT_USER" | "SVFOP_USER" | "SVFOP_SESSION_USER" | "SVFOP_CURRENT_CATALOG" | "SVFOP_CURRENT_SCHEMA"; +export type XmlExprOp = "IS_XMLCONCAT" | "IS_XMLELEMENT" | "IS_XMLFOREST" | "IS_XMLPARSE" | "IS_XMLPI" | "IS_XMLROOT" | "IS_XMLSERIALIZE" | "IS_DOCUMENT"; +export type XmlOptionType = "XMLOPTION_DOCUMENT" | "XMLOPTION_CONTENT"; +export type JsonEncoding = "JS_ENC_DEFAULT" | "JS_ENC_UTF8" | "JS_ENC_UTF16" | "JS_ENC_UTF32"; +export type JsonFormatType = "JS_FORMAT_DEFAULT" | "JS_FORMAT_JSON" | "JS_FORMAT_JSONB"; +export type JsonConstructorType = "JSCTOR_JSON_OBJECT" | "JSCTOR_JSON_ARRAY" | "JSCTOR_JSON_OBJECTAGG" | "JSCTOR_JSON_ARRAYAGG"; +export type JsonValueType = "JS_TYPE_ANY" | "JS_TYPE_OBJECT" | "JS_TYPE_ARRAY" | "JS_TYPE_SCALAR"; +export type NullTestType = "IS_NULL" | "IS_NOT_NULL"; +export type BoolTestType = "IS_TRUE" | "IS_NOT_TRUE" | "IS_FALSE" | "IS_NOT_FALSE" | "IS_UNKNOWN" | "IS_NOT_UNKNOWN"; +export type CmdType = "CMD_UNKNOWN" | "CMD_SELECT" | "CMD_UPDATE" | "CMD_INSERT" | "CMD_DELETE" | "CMD_MERGE" | "CMD_UTILITY" | "CMD_NOTHING"; +export type JoinType = "JOIN_INNER" | "JOIN_LEFT" | "JOIN_FULL" | "JOIN_RIGHT" | "JOIN_SEMI" | "JOIN_ANTI" | "JOIN_RIGHT_ANTI" | "JOIN_UNIQUE_OUTER" | "JOIN_UNIQUE_INNER"; +export type AggStrategy = "AGG_PLAIN" | "AGG_SORTED" | "AGG_HASHED" | "AGG_MIXED"; +export type AggSplit = "AGGSPLIT_SIMPLE" | "AGGSPLIT_INITIAL_SERIAL" | "AGGSPLIT_FINAL_DESERIAL"; +export type SetOpCmd = "SETOPCMD_INTERSECT" | "SETOPCMD_INTERSECT_ALL" | "SETOPCMD_EXCEPT" | "SETOPCMD_EXCEPT_ALL"; +export type SetOpStrategy = "SETOP_SORTED" | "SETOP_HASHED"; +export type OnConflictAction = "ONCONFLICT_NONE" | "ONCONFLICT_NOTHING" | "ONCONFLICT_UPDATE"; +export type LimitOption = "LIMIT_OPTION_DEFAULT" | "LIMIT_OPTION_COUNT" | "LIMIT_OPTION_WITH_TIES"; +export type LockClauseStrength = "LCS_NONE" | "LCS_FORKEYSHARE" | "LCS_FORSHARE" | "LCS_FORNOKEYUPDATE" | "LCS_FORUPDATE"; +export type LockWaitPolicy = "LockWaitBlock" | "LockWaitSkip" | "LockWaitError"; +export type LockTupleMode = "LockTupleKeyShare" | "LockTupleShare" | "LockTupleNoKeyExclusive" | "LockTupleExclusive"; +export type KeywordKind = "NO_KEYWORD" | "UNRESERVED_KEYWORD" | "COL_NAME_KEYWORD" | "TYPE_FUNC_NAME_KEYWORD" | "RESERVED_KEYWORD"; +export type Token = "NUL" | "ASCII_36" | "ASCII_37" | "ASCII_40" | "ASCII_41" | "ASCII_42" | "ASCII_43" | "ASCII_44" | "ASCII_45" | "ASCII_46" | "ASCII_47" | "ASCII_58" | "ASCII_59" | "ASCII_60" | "ASCII_61" | "ASCII_62" | "ASCII_63" | "ASCII_91" | "ASCII_92" | "ASCII_93" | "ASCII_94" | "IDENT" | "UIDENT" | "FCONST" | "SCONST" | "USCONST" | "BCONST" | "XCONST" | "Op" | "ICONST" | "PARAM" | "TYPECAST" | "DOT_DOT" | "COLON_EQUALS" | "EQUALS_GREATER" | "LESS_EQUALS" | "GREATER_EQUALS" | "NOT_EQUALS" | "SQL_COMMENT" | "C_COMMENT" | "ABORT_P" | "ABSENT" | "ABSOLUTE_P" | "ACCESS" | "ACTION" | "ADD_P" | "ADMIN" | "AFTER" | "AGGREGATE" | "ALL" | "ALSO" | "ALTER" | "ALWAYS" | "ANALYSE" | "ANALYZE" | "AND" | "ANY" | "ARRAY" | "AS" | "ASC" | "ASENSITIVE" | "ASSERTION" | "ASSIGNMENT" | "ASYMMETRIC" | "ATOMIC" | "AT" | "ATTACH" | "ATTRIBUTE" | "AUTHORIZATION" | "BACKWARD" | "BEFORE" | "BEGIN_P" | "BETWEEN" | "BIGINT" | "BINARY" | "BIT" | "BOOLEAN_P" | "BOTH" | "BREADTH" | "BY" | "CACHE" | "CALL" | "CALLED" | "CASCADE" | "CASCADED" | "CASE" | "CAST" | "CATALOG_P" | "CHAIN" | "CHAR_P" | "CHARACTER" | "CHARACTERISTICS" | "CHECK" | "CHECKPOINT" | "CLASS" | "CLOSE" | "CLUSTER" | "COALESCE" | "COLLATE" | "COLLATION" | "COLUMN" | "COLUMNS" | "COMMENT" | "COMMENTS" | "COMMIT" | "COMMITTED" | "COMPRESSION" | "CONCURRENTLY" | "CONFIGURATION" | "CONFLICT" | "CONNECTION" | "CONSTRAINT" | "CONSTRAINTS" | "CONTENT_P" | "CONTINUE_P" | "CONVERSION_P" | "COPY" | "COST" | "CREATE" | "CROSS" | "CSV" | "CUBE" | "CURRENT_P" | "CURRENT_CATALOG" | "CURRENT_DATE" | "CURRENT_ROLE" | "CURRENT_SCHEMA" | "CURRENT_TIME" | "CURRENT_TIMESTAMP" | "CURRENT_USER" | "CURSOR" | "CYCLE" | "DATA_P" | "DATABASE" | "DAY_P" | "DEALLOCATE" | "DEC" | "DECIMAL_P" | "DECLARE" | "DEFAULT" | "DEFAULTS" | "DEFERRABLE" | "DEFERRED" | "DEFINER" | "DELETE_P" | "DELIMITER" | "DELIMITERS" | "DEPENDS" | "DEPTH" | "DESC" | "DETACH" | "DICTIONARY" | "DISABLE_P" | "DISCARD" | "DISTINCT" | "DO" | "DOCUMENT_P" | "DOMAIN_P" | "DOUBLE_P" | "DROP" | "EACH" | "ELSE" | "ENABLE_P" | "ENCODING" | "ENCRYPTED" | "END_P" | "ENUM_P" | "ESCAPE" | "EVENT" | "EXCEPT" | "EXCLUDE" | "EXCLUDING" | "EXCLUSIVE" | "EXECUTE" | "EXISTS" | "EXPLAIN" | "EXPRESSION" | "EXTENSION" | "EXTERNAL" | "EXTRACT" | "FALSE_P" | "FAMILY" | "FETCH" | "FILTER" | "FINALIZE" | "FIRST_P" | "FLOAT_P" | "FOLLOWING" | "FOR" | "FORCE" | "FOREIGN" | "FORMAT" | "FORWARD" | "FREEZE" | "FROM" | "FULL" | "FUNCTION" | "FUNCTIONS" | "GENERATED" | "GLOBAL" | "GRANT" | "GRANTED" | "GREATEST" | "GROUP_P" | "GROUPING" | "GROUPS" | "HANDLER" | "HAVING" | "HEADER_P" | "HOLD" | "HOUR_P" | "IDENTITY_P" | "IF_P" | "ILIKE" | "IMMEDIATE" | "IMMUTABLE" | "IMPLICIT_P" | "IMPORT_P" | "IN_P" | "INCLUDE" | "INCLUDING" | "INCREMENT" | "INDENT" | "INDEX" | "INDEXES" | "INHERIT" | "INHERITS" | "INITIALLY" | "INLINE_P" | "INNER_P" | "INOUT" | "INPUT_P" | "INSENSITIVE" | "INSERT" | "INSTEAD" | "INT_P" | "INTEGER" | "INTERSECT" | "INTERVAL" | "INTO" | "INVOKER" | "IS" | "ISNULL" | "ISOLATION" | "JOIN" | "JSON" | "JSON_ARRAY" | "JSON_ARRAYAGG" | "JSON_OBJECT" | "JSON_OBJECTAGG" | "KEY" | "KEYS" | "LABEL" | "LANGUAGE" | "LARGE_P" | "LAST_P" | "LATERAL_P" | "LEADING" | "LEAKPROOF" | "LEAST" | "LEFT" | "LEVEL" | "LIKE" | "LIMIT" | "LISTEN" | "LOAD" | "LOCAL" | "LOCALTIME" | "LOCALTIMESTAMP" | "LOCATION" | "LOCK_P" | "LOCKED" | "LOGGED" | "MAPPING" | "MATCH" | "MATCHED" | "MATERIALIZED" | "MAXVALUE" | "MERGE" | "METHOD" | "MINUTE_P" | "MINVALUE" | "MODE" | "MONTH_P" | "MOVE" | "NAME_P" | "NAMES" | "NATIONAL" | "NATURAL" | "NCHAR" | "NEW" | "NEXT" | "NFC" | "NFD" | "NFKC" | "NFKD" | "NO" | "NONE" | "NORMALIZE" | "NORMALIZED" | "NOT" | "NOTHING" | "NOTIFY" | "NOTNULL" | "NOWAIT" | "NULL_P" | "NULLIF" | "NULLS_P" | "NUMERIC" | "OBJECT_P" | "OF" | "OFF" | "OFFSET" | "OIDS" | "OLD" | "ON" | "ONLY" | "OPERATOR" | "OPTION" | "OPTIONS" | "OR" | "ORDER" | "ORDINALITY" | "OTHERS" | "OUT_P" | "OUTER_P" | "OVER" | "OVERLAPS" | "OVERLAY" | "OVERRIDING" | "OWNED" | "OWNER" | "PARALLEL" | "PARAMETER" | "PARSER" | "PARTIAL" | "PARTITION" | "PASSING" | "PASSWORD" | "PLACING" | "PLANS" | "POLICY" | "POSITION" | "PRECEDING" | "PRECISION" | "PRESERVE" | "PREPARE" | "PREPARED" | "PRIMARY" | "PRIOR" | "PRIVILEGES" | "PROCEDURAL" | "PROCEDURE" | "PROCEDURES" | "PROGRAM" | "PUBLICATION" | "QUOTE" | "RANGE" | "READ" | "REAL" | "REASSIGN" | "RECHECK" | "RECURSIVE" | "REF_P" | "REFERENCES" | "REFERENCING" | "REFRESH" | "REINDEX" | "RELATIVE_P" | "RELEASE" | "RENAME" | "REPEATABLE" | "REPLACE" | "REPLICA" | "RESET" | "RESTART" | "RESTRICT" | "RETURN" | "RETURNING" | "RETURNS" | "REVOKE" | "RIGHT" | "ROLE" | "ROLLBACK" | "ROLLUP" | "ROUTINE" | "ROUTINES" | "ROW" | "ROWS" | "RULE" | "SAVEPOINT" | "SCALAR" | "SCHEMA" | "SCHEMAS" | "SCROLL" | "SEARCH" | "SECOND_P" | "SECURITY" | "SELECT" | "SEQUENCE" | "SEQUENCES" | "SERIALIZABLE" | "SERVER" | "SESSION" | "SESSION_USER" | "SET" | "SETS" | "SETOF" | "SHARE" | "SHOW" | "SIMILAR" | "SIMPLE" | "SKIP" | "SMALLINT" | "SNAPSHOT" | "SOME" | "SQL_P" | "STABLE" | "STANDALONE_P" | "START" | "STATEMENT" | "STATISTICS" | "STDIN" | "STDOUT" | "STORAGE" | "STORED" | "STRICT_P" | "STRIP_P" | "SUBSCRIPTION" | "SUBSTRING" | "SUPPORT" | "SYMMETRIC" | "SYSID" | "SYSTEM_P" | "SYSTEM_USER" | "TABLE" | "TABLES" | "TABLESAMPLE" | "TABLESPACE" | "TEMP" | "TEMPLATE" | "TEMPORARY" | "TEXT_P" | "THEN" | "TIES" | "TIME" | "TIMESTAMP" | "TO" | "TRAILING" | "TRANSACTION" | "TRANSFORM" | "TREAT" | "TRIGGER" | "TRIM" | "TRUE_P" | "TRUNCATE" | "TRUSTED" | "TYPE_P" | "TYPES_P" | "UESCAPE" | "UNBOUNDED" | "UNCOMMITTED" | "UNENCRYPTED" | "UNION" | "UNIQUE" | "UNKNOWN" | "UNLISTEN" | "UNLOGGED" | "UNTIL" | "UPDATE" | "USER" | "USING" | "VACUUM" | "VALID" | "VALIDATE" | "VALIDATOR" | "VALUE_P" | "VALUES" | "VARCHAR" | "VARIADIC" | "VARYING" | "VERBOSE" | "VERSION_P" | "VIEW" | "VIEWS" | "VOLATILE" | "WHEN" | "WHERE" | "WHITESPACE_P" | "WINDOW" | "WITH" | "WITHIN" | "WITHOUT" | "WORK" | "WRAPPER" | "WRITE" | "XML_P" | "XMLATTRIBUTES" | "XMLCONCAT" | "XMLELEMENT" | "XMLEXISTS" | "XMLFOREST" | "XMLNAMESPACES" | "XMLPARSE" | "XMLPI" | "XMLROOT" | "XMLSERIALIZE" | "XMLTABLE" | "YEAR_P" | "YES_P" | "ZONE" | "FORMAT_LA" | "NOT_LA" | "NULLS_LA" | "WITH_LA" | "WITHOUT_LA" | "MODE_TYPE_NAME" | "MODE_PLPGSQL_EXPR" | "MODE_PLPGSQL_ASSIGN1" | "MODE_PLPGSQL_ASSIGN2" | "MODE_PLPGSQL_ASSIGN3" | "UMINUS";", + "file": "enums.ts", + }, + { + "code": "/** +* This file was automatically generated by pg-proto-parser@latest. +* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, +* and run the pg-proto-parser generate command to regenerate this file. +*/ +import { OverridingKind, QuerySource, SortByDir, SortByNulls, SetQuantifier, A_Expr_Kind, RoleSpecType, TableLikeOption, DefElemAction, PartitionStrategy, PartitionRangeDatumKind, RTEKind, WCOKind, GroupingSetKind, CTEMaterialize, SetOperation, ObjectType, DropBehavior, AlterTableType, GrantTargetType, VariableSetKind, ConstrType, ImportForeignSchemaType, RoleStmtType, FetchDirection, FunctionParameterMode, TransactionStmtKind, ViewCheckOption, DiscardMode, ReindexObjectType, AlterTSConfigType, PublicationObjSpecType, AlterPublicationAction, AlterSubscriptionType, OnCommitAction, ParamKind, CoercionContext, CoercionForm, BoolExprType, SubLinkType, RowCompareType, MinMaxOp, SQLValueFunctionOp, XmlExprOp, XmlOptionType, JsonEncoding, JsonFormatType, JsonConstructorType, JsonValueType, NullTestType, BoolTestType, CmdType, JoinType, AggStrategy, AggSplit, SetOpCmd, SetOpStrategy, OnConflictAction, LimitOption, LockClauseStrength, LockWaitPolicy, LockTupleMode, KeywordKind, Token } from "./enums"; +export type Node = ParseResult | ScanResult | Integer | Float | Boolean | String | BitString | List | OidList | IntList | A_Const | Alias | RangeVar | TableFunc | IntoClause | Var | Param | Aggref | GroupingFunc | WindowFunc | SubscriptingRef | FuncExpr | NamedArgExpr | OpExpr | DistinctExpr | NullIfExpr | ScalarArrayOpExpr | BoolExpr | SubLink | SubPlan | AlternativeSubPlan | FieldSelect | FieldStore | RelabelType | CoerceViaIO | ArrayCoerceExpr | ConvertRowtypeExpr | CollateExpr | CaseExpr | CaseWhen | CaseTestExpr | ArrayExpr | RowExpr | RowCompareExpr | CoalesceExpr | MinMaxExpr | SQLValueFunction | XmlExpr | JsonFormat | JsonReturning | JsonValueExpr | JsonConstructorExpr | JsonIsPredicate | NullTest | BooleanTest | CoerceToDomain | CoerceToDomainValue | SetToDefault | CurrentOfExpr | NextValueExpr | InferenceElem | TargetEntry | RangeTblRef | JoinExpr | FromExpr | OnConflictExpr | Query | TypeName | ColumnRef | ParamRef | A_Expr | TypeCast | CollateClause | RoleSpec | FuncCall | A_Star | A_Indices | A_Indirection | A_ArrayExpr | ResTarget | MultiAssignRef | SortBy | WindowDef | RangeSubselect | RangeFunction | RangeTableFunc | RangeTableFuncCol | RangeTableSample | ColumnDef | TableLikeClause | IndexElem | DefElem | LockingClause | XmlSerialize | PartitionElem | PartitionSpec | PartitionBoundSpec | PartitionRangeDatum | PartitionCmd | RangeTblEntry | RTEPermissionInfo | RangeTblFunction | TableSampleClause | WithCheckOption | SortGroupClause | GroupingSet | WindowClause | RowMarkClause | WithClause | InferClause | OnConflictClause | CTESearchClause | CTECycleClause | CommonTableExpr | MergeWhenClause | MergeAction | TriggerTransition | JsonOutput | JsonKeyValue | JsonObjectConstructor | JsonArrayConstructor | JsonArrayQueryConstructor | JsonAggConstructor | JsonObjectAgg | JsonArrayAgg | RawStmt | InsertStmt | DeleteStmt | UpdateStmt | MergeStmt | SelectStmt | SetOperationStmt | ReturnStmt | PLAssignStmt | CreateSchemaStmt | AlterTableStmt | ReplicaIdentityStmt | AlterTableCmd | AlterCollationStmt | AlterDomainStmt | GrantStmt | ObjectWithArgs | AccessPriv | GrantRoleStmt | AlterDefaultPrivilegesStmt | CopyStmt | VariableSetStmt | VariableShowStmt | CreateStmt | Constraint | CreateTableSpaceStmt | DropTableSpaceStmt | AlterTableSpaceOptionsStmt | AlterTableMoveAllStmt | CreateExtensionStmt | AlterExtensionStmt | AlterExtensionContentsStmt | CreateFdwStmt | AlterFdwStmt | CreateForeignServerStmt | AlterForeignServerStmt | CreateForeignTableStmt | CreateUserMappingStmt | AlterUserMappingStmt | DropUserMappingStmt | ImportForeignSchemaStmt | CreatePolicyStmt | AlterPolicyStmt | CreateAmStmt | CreateTrigStmt | CreateEventTrigStmt | AlterEventTrigStmt | CreatePLangStmt | CreateRoleStmt | AlterRoleStmt | AlterRoleSetStmt | DropRoleStmt | CreateSeqStmt | AlterSeqStmt | DefineStmt | CreateDomainStmt | CreateOpClassStmt | CreateOpClassItem | CreateOpFamilyStmt | AlterOpFamilyStmt | DropStmt | TruncateStmt | CommentStmt | SecLabelStmt | DeclareCursorStmt | ClosePortalStmt | FetchStmt | IndexStmt | CreateStatsStmt | StatsElem | AlterStatsStmt | CreateFunctionStmt | FunctionParameter | AlterFunctionStmt | DoStmt | InlineCodeBlock | CallStmt | CallContext | RenameStmt | AlterObjectDependsStmt | AlterObjectSchemaStmt | AlterOwnerStmt | AlterOperatorStmt | AlterTypeStmt | RuleStmt | NotifyStmt | ListenStmt | UnlistenStmt | TransactionStmt | CompositeTypeStmt | CreateEnumStmt | CreateRangeStmt | AlterEnumStmt | ViewStmt | LoadStmt | CreatedbStmt | AlterDatabaseStmt | AlterDatabaseRefreshCollStmt | AlterDatabaseSetStmt | DropdbStmt | AlterSystemStmt | ClusterStmt | VacuumStmt | VacuumRelation | ExplainStmt | CreateTableAsStmt | RefreshMatViewStmt | CheckPointStmt | DiscardStmt | LockStmt | ConstraintsSetStmt | ReindexStmt | CreateConversionStmt | CreateCastStmt | CreateTransformStmt | PrepareStmt | ExecuteStmt | DeallocateStmt | DropOwnedStmt | ReassignOwnedStmt | AlterTSDictionaryStmt | AlterTSConfigurationStmt | PublicationTable | PublicationObjSpec | CreatePublicationStmt | AlterPublicationStmt | CreateSubscriptionStmt | AlterSubscriptionStmt | DropSubscriptionStmt | ScanToken; +export interface ParseResult { + version?: number; + stmts?: RawStmt[]; +} +export interface ScanResult { + version?: number; + tokens?: ScanToken[]; +} +export interface Integer { + ival?: number; +} +export interface Float { + fval?: string; +} +export interface Boolean { + boolval?: boolean; +} +export interface String { + sval?: string; +} +export interface BitString { + bsval?: string; +} +export interface List { + items?: Node[]; +} +export interface OidList { + items?: Node[]; +} +export interface IntList { + items?: Node[]; +} +export interface A_Const { + ival?: Integer; + fval?: Float; + boolval?: Boolean; + sval?: String; + bsval?: BitString; + isnull?: boolean; + location?: number; +} +export interface Alias { + aliasname?: string; + colnames?: Node[]; +} +export interface RangeVar { + catalogname?: string; + schemaname?: string; + relname?: string; + inh?: boolean; + relpersistence?: string; + alias?: Alias; + location?: number; +} +export interface TableFunc { + ns_uris?: Node[]; + ns_names?: Node[]; + docexpr?: Node; + rowexpr?: Node; + colnames?: Node[]; + coltypes?: Node[]; + coltypmods?: Node[]; + colcollations?: Node[]; + colexprs?: Node[]; + coldefexprs?: Node[]; + notnulls?: bigint[]; + ordinalitycol?: number; + location?: number; +} +export interface IntoClause { + rel?: RangeVar; + colNames?: Node[]; + accessMethod?: string; + options?: Node[]; + onCommit?: OnCommitAction; + tableSpaceName?: string; + viewQuery?: Node; + skipData?: boolean; +} +export interface Var { + xpr?: Node; + varno?: number; + varattno?: number; + vartype?: number; + vartypmod?: number; + varcollid?: number; + varnullingrels?: bigint[]; + varlevelsup?: number; + location?: number; +} +export interface Param { + xpr?: Node; + paramkind?: ParamKind; + paramid?: number; + paramtype?: number; + paramtypmod?: number; + paramcollid?: number; + location?: number; +} +export interface Aggref { + xpr?: Node; + aggfnoid?: number; + aggtype?: number; + aggcollid?: number; + inputcollid?: number; + aggargtypes?: Node[]; + aggdirectargs?: Node[]; + args?: Node[]; + aggorder?: Node[]; + aggdistinct?: Node[]; + aggfilter?: Node; + aggstar?: boolean; + aggvariadic?: boolean; + aggkind?: string; + agglevelsup?: number; + aggsplit?: AggSplit; + aggno?: number; + aggtransno?: number; + location?: number; +} +export interface GroupingFunc { + xpr?: Node; + args?: Node[]; + refs?: Node[]; + agglevelsup?: number; + location?: number; +} +export interface WindowFunc { + xpr?: Node; + winfnoid?: number; + wintype?: number; + wincollid?: number; + inputcollid?: number; + args?: Node[]; + aggfilter?: Node; + winref?: number; + winstar?: boolean; + winagg?: boolean; + location?: number; +} +export interface SubscriptingRef { + xpr?: Node; + refcontainertype?: number; + refelemtype?: number; + refrestype?: number; + reftypmod?: number; + refcollid?: number; + refupperindexpr?: Node[]; + reflowerindexpr?: Node[]; + refexpr?: Node; + refassgnexpr?: Node; +} +export interface FuncExpr { + xpr?: Node; + funcid?: number; + funcresulttype?: number; + funcretset?: boolean; + funcvariadic?: boolean; + funcformat?: CoercionForm; + funccollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface NamedArgExpr { + xpr?: Node; + arg?: Node; + name?: string; + argnumber?: number; + location?: number; +} +export interface OpExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface DistinctExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface NullIfExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface ScalarArrayOpExpr { + xpr?: Node; + opno?: number; + useOr?: boolean; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface BoolExpr { + xpr?: Node; + boolop?: BoolExprType; + args?: Node[]; + location?: number; +} +export interface SubLink { + xpr?: Node; + subLinkType?: SubLinkType; + subLinkId?: number; + testexpr?: Node; + operName?: Node[]; + subselect?: Node; + location?: number; +} +export interface SubPlan { + xpr?: Node; + subLinkType?: SubLinkType; + testexpr?: Node; + paramIds?: Node[]; + plan_id?: number; + plan_name?: string; + firstColType?: number; + firstColTypmod?: number; + firstColCollation?: number; + useHashTable?: boolean; + unknownEqFalse?: boolean; + parallel_safe?: boolean; + setParam?: Node[]; + parParam?: Node[]; + args?: Node[]; + startup_cost?: number; + per_call_cost?: number; +} +export interface AlternativeSubPlan { + xpr?: Node; + subplans?: Node[]; +} +export interface FieldSelect { + xpr?: Node; + arg?: Node; + fieldnum?: number; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; +} +export interface FieldStore { + xpr?: Node; + arg?: Node; + newvals?: Node[]; + fieldnums?: Node[]; + resulttype?: number; +} +export interface RelabelType { + xpr?: Node; + arg?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + relabelformat?: CoercionForm; + location?: number; +} +export interface CoerceViaIO { + xpr?: Node; + arg?: Node; + resulttype?: number; + resultcollid?: number; + coerceformat?: CoercionForm; + location?: number; +} +export interface ArrayCoerceExpr { + xpr?: Node; + arg?: Node; + elemexpr?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + coerceformat?: CoercionForm; + location?: number; +} +export interface ConvertRowtypeExpr { + xpr?: Node; + arg?: Node; + resulttype?: number; + convertformat?: CoercionForm; + location?: number; +} +export interface CollateExpr { + xpr?: Node; + arg?: Node; + collOid?: number; + location?: number; +} +export interface CaseExpr { + xpr?: Node; + casetype?: number; + casecollid?: number; + arg?: Node; + args?: Node[]; + defresult?: Node; + location?: number; +} +export interface CaseWhen { + xpr?: Node; + expr?: Node; + result?: Node; + location?: number; +} +export interface CaseTestExpr { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; +} +export interface ArrayExpr { + xpr?: Node; + array_typeid?: number; + array_collid?: number; + element_typeid?: number; + elements?: Node[]; + multidims?: boolean; + location?: number; +} +export interface RowExpr { + xpr?: Node; + args?: Node[]; + row_typeid?: number; + row_format?: CoercionForm; + colnames?: Node[]; + location?: number; +} +export interface RowCompareExpr { + xpr?: Node; + rctype?: RowCompareType; + opnos?: Node[]; + opfamilies?: Node[]; + inputcollids?: Node[]; + largs?: Node[]; + rargs?: Node[]; +} +export interface CoalesceExpr { + xpr?: Node; + coalescetype?: number; + coalescecollid?: number; + args?: Node[]; + location?: number; +} +export interface MinMaxExpr { + xpr?: Node; + minmaxtype?: number; + minmaxcollid?: number; + inputcollid?: number; + op?: MinMaxOp; + args?: Node[]; + location?: number; +} +export interface SQLValueFunction { + xpr?: Node; + op?: SQLValueFunctionOp; + type?: number; + typmod?: number; + location?: number; +} +export interface XmlExpr { + xpr?: Node; + op?: XmlExprOp; + name?: string; + named_args?: Node[]; + arg_names?: Node[]; + args?: Node[]; + xmloption?: XmlOptionType; + indent?: boolean; + type?: number; + typmod?: number; + location?: number; +} +export interface JsonFormat { + format_type?: JsonFormatType; + encoding?: JsonEncoding; + location?: number; +} +export interface JsonReturning { + format?: JsonFormat; + typid?: number; + typmod?: number; +} +export interface JsonValueExpr { + raw_expr?: Node; + formatted_expr?: Node; + format?: JsonFormat; +} +export interface JsonConstructorExpr { + xpr?: Node; + type?: JsonConstructorType; + args?: Node[]; + func?: Node; + coercion?: Node; + returning?: JsonReturning; + absent_on_null?: boolean; + unique?: boolean; + location?: number; +} +export interface JsonIsPredicate { + expr?: Node; + format?: JsonFormat; + item_type?: JsonValueType; + unique_keys?: boolean; + location?: number; +} +export interface NullTest { + xpr?: Node; + arg?: Node; + nulltesttype?: NullTestType; + argisrow?: boolean; + location?: number; +} +export interface BooleanTest { + xpr?: Node; + arg?: Node; + booltesttype?: BoolTestType; + location?: number; +} +export interface CoerceToDomain { + xpr?: Node; + arg?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + coercionformat?: CoercionForm; + location?: number; +} +export interface CoerceToDomainValue { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; + location?: number; +} +export interface SetToDefault { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; + location?: number; +} +export interface CurrentOfExpr { + xpr?: Node; + cvarno?: number; + cursor_name?: string; + cursor_param?: number; +} +export interface NextValueExpr { + xpr?: Node; + seqid?: number; + typeId?: number; +} +export interface InferenceElem { + xpr?: Node; + expr?: Node; + infercollid?: number; + inferopclass?: number; +} +export interface TargetEntry { + xpr?: Node; + expr?: Node; + resno?: number; + resname?: string; + ressortgroupref?: number; + resorigtbl?: number; + resorigcol?: number; + resjunk?: boolean; +} +export interface RangeTblRef { + rtindex?: number; +} +export interface JoinExpr { + jointype?: JoinType; + isNatural?: boolean; + larg?: Node; + rarg?: Node; + usingClause?: Node[]; + join_using_alias?: Alias; + quals?: Node; + alias?: Alias; + rtindex?: number; +} +export interface FromExpr { + fromlist?: Node[]; + quals?: Node; +} +export interface OnConflictExpr { + action?: OnConflictAction; + arbiterElems?: Node[]; + arbiterWhere?: Node; + constraint?: number; + onConflictSet?: Node[]; + onConflictWhere?: Node; + exclRelIndex?: number; + exclRelTlist?: Node[]; +} +export interface Query { + commandType?: CmdType; + querySource?: QuerySource; + canSetTag?: boolean; + utilityStmt?: Node; + resultRelation?: number; + hasAggs?: boolean; + hasWindowFuncs?: boolean; + hasTargetSRFs?: boolean; + hasSubLinks?: boolean; + hasDistinctOn?: boolean; + hasRecursive?: boolean; + hasModifyingCTE?: boolean; + hasForUpdate?: boolean; + hasRowSecurity?: boolean; + isReturn?: boolean; + cteList?: Node[]; + rtable?: Node[]; + rteperminfos?: Node[]; + jointree?: FromExpr; + mergeActionList?: Node[]; + mergeUseOuterJoin?: boolean; + targetList?: Node[]; + override?: OverridingKind; + onConflict?: OnConflictExpr; + returningList?: Node[]; + groupClause?: Node[]; + groupDistinct?: boolean; + groupingSets?: Node[]; + havingQual?: Node; + windowClause?: Node[]; + distinctClause?: Node[]; + sortClause?: Node[]; + limitOffset?: Node; + limitCount?: Node; + limitOption?: LimitOption; + rowMarks?: Node[]; + setOperations?: Node; + constraintDeps?: Node[]; + withCheckOptions?: Node[]; + stmt_location?: number; + stmt_len?: number; +} +export interface TypeName { + names?: Node[]; + typeOid?: number; + setof?: boolean; + pct_type?: boolean; + typmods?: Node[]; + typemod?: number; + arrayBounds?: Node[]; + location?: number; +} +export interface ColumnRef { + fields?: Node[]; + location?: number; +} +export interface ParamRef { + number?: number; + location?: number; +} +export interface A_Expr { + kind?: A_Expr_Kind; + name?: Node[]; + lexpr?: Node; + rexpr?: Node; + location?: number; +} +export interface TypeCast { + arg?: Node; + typeName?: TypeName; + location?: number; +} +export interface CollateClause { + arg?: Node; + collname?: Node[]; + location?: number; +} +export interface RoleSpec { + roletype?: RoleSpecType; + rolename?: string; + location?: number; +} +export interface FuncCall { + funcname?: Node[]; + args?: Node[]; + agg_order?: Node[]; + agg_filter?: Node; + over?: WindowDef; + agg_within_group?: boolean; + agg_star?: boolean; + agg_distinct?: boolean; + func_variadic?: boolean; + funcformat?: CoercionForm; + location?: number; +} +export interface A_Star {} +export interface A_Indices { + is_slice?: boolean; + lidx?: Node; + uidx?: Node; +} +export interface A_Indirection { + arg?: Node; + indirection?: Node[]; +} +export interface A_ArrayExpr { + elements?: Node[]; + location?: number; +} +export interface ResTarget { + name?: string; + indirection?: Node[]; + val?: Node; + location?: number; +} +export interface MultiAssignRef { + source?: Node; + colno?: number; + ncolumns?: number; +} +export interface SortBy { + node?: Node; + sortby_dir?: SortByDir; + sortby_nulls?: SortByNulls; + useOp?: Node[]; + location?: number; +} +export interface WindowDef { + name?: string; + refname?: string; + partitionClause?: Node[]; + orderClause?: Node[]; + frameOptions?: number; + startOffset?: Node; + endOffset?: Node; + location?: number; +} +export interface RangeSubselect { + lateral?: boolean; + subquery?: Node; + alias?: Alias; +} +export interface RangeFunction { + lateral?: boolean; + ordinality?: boolean; + is_rowsfrom?: boolean; + functions?: Node[]; + alias?: Alias; + coldeflist?: Node[]; +} +export interface RangeTableFunc { + lateral?: boolean; + docexpr?: Node; + rowexpr?: Node; + namespaces?: Node[]; + columns?: Node[]; + alias?: Alias; + location?: number; +} +export interface RangeTableFuncCol { + colname?: string; + typeName?: TypeName; + for_ordinality?: boolean; + is_not_null?: boolean; + colexpr?: Node; + coldefexpr?: Node; + location?: number; +} +export interface RangeTableSample { + relation?: Node; + method?: Node[]; + args?: Node[]; + repeatable?: Node; + location?: number; +} +export interface ColumnDef { + colname?: string; + typeName?: TypeName; + compression?: string; + inhcount?: number; + is_local?: boolean; + is_not_null?: boolean; + is_from_type?: boolean; + storage?: string; + storage_name?: string; + raw_default?: Node; + cooked_default?: Node; + identity?: string; + identitySequence?: RangeVar; + generated?: string; + collClause?: CollateClause; + collOid?: number; + constraints?: Node[]; + fdwoptions?: Node[]; + location?: number; +} +export interface TableLikeClause { + relation?: RangeVar; + options?: number; + relationOid?: number; +} +export interface IndexElem { + name?: string; + expr?: Node; + indexcolname?: string; + collation?: Node[]; + opclass?: Node[]; + opclassopts?: Node[]; + ordering?: SortByDir; + nulls_ordering?: SortByNulls; +} +export interface DefElem { + defnamespace?: string; + defname?: string; + arg?: Node; + defaction?: DefElemAction; + location?: number; +} +export interface LockingClause { + lockedRels?: Node[]; + strength?: LockClauseStrength; + waitPolicy?: LockWaitPolicy; +} +export interface XmlSerialize { + xmloption?: XmlOptionType; + expr?: Node; + typeName?: TypeName; + indent?: boolean; + location?: number; +} +export interface PartitionElem { + name?: string; + expr?: Node; + collation?: Node[]; + opclass?: Node[]; + location?: number; +} +export interface PartitionSpec { + strategy?: PartitionStrategy; + partParams?: Node[]; + location?: number; +} +export interface PartitionBoundSpec { + strategy?: string; + is_default?: boolean; + modulus?: number; + remainder?: number; + listdatums?: Node[]; + lowerdatums?: Node[]; + upperdatums?: Node[]; + location?: number; +} +export interface PartitionRangeDatum { + kind?: PartitionRangeDatumKind; + value?: Node; + location?: number; +} +export interface PartitionCmd { + name?: RangeVar; + bound?: PartitionBoundSpec; + concurrent?: boolean; +} +export interface RangeTblEntry { + rtekind?: RTEKind; + relid?: number; + relkind?: string; + rellockmode?: number; + tablesample?: TableSampleClause; + perminfoindex?: number; + subquery?: Query; + security_barrier?: boolean; + jointype?: JoinType; + joinmergedcols?: number; + joinaliasvars?: Node[]; + joinleftcols?: Node[]; + joinrightcols?: Node[]; + join_using_alias?: Alias; + functions?: Node[]; + funcordinality?: boolean; + tablefunc?: TableFunc; + values_lists?: Node[]; + ctename?: string; + ctelevelsup?: number; + self_reference?: boolean; + coltypes?: Node[]; + coltypmods?: Node[]; + colcollations?: Node[]; + enrname?: string; + enrtuples?: number; + alias?: Alias; + eref?: Alias; + lateral?: boolean; + inh?: boolean; + inFromCl?: boolean; + securityQuals?: Node[]; +} +export interface RTEPermissionInfo { + relid?: number; + inh?: boolean; + requiredPerms?: bigint; + checkAsUser?: number; + selectedCols?: bigint[]; + insertedCols?: bigint[]; + updatedCols?: bigint[]; +} +export interface RangeTblFunction { + funcexpr?: Node; + funccolcount?: number; + funccolnames?: Node[]; + funccoltypes?: Node[]; + funccoltypmods?: Node[]; + funccolcollations?: Node[]; + funcparams?: bigint[]; +} +export interface TableSampleClause { + tsmhandler?: number; + args?: Node[]; + repeatable?: Node; +} +export interface WithCheckOption { + kind?: WCOKind; + relname?: string; + polname?: string; + qual?: Node; + cascaded?: boolean; +} +export interface SortGroupClause { + tleSortGroupRef?: number; + eqop?: number; + sortop?: number; + nulls_first?: boolean; + hashable?: boolean; +} +export interface GroupingSet { + kind?: GroupingSetKind; + content?: Node[]; + location?: number; +} +export interface WindowClause { + name?: string; + refname?: string; + partitionClause?: Node[]; + orderClause?: Node[]; + frameOptions?: number; + startOffset?: Node; + endOffset?: Node; + runCondition?: Node[]; + startInRangeFunc?: number; + endInRangeFunc?: number; + inRangeColl?: number; + inRangeAsc?: boolean; + inRangeNullsFirst?: boolean; + winref?: number; + copiedOrder?: boolean; +} +export interface RowMarkClause { + rti?: number; + strength?: LockClauseStrength; + waitPolicy?: LockWaitPolicy; + pushedDown?: boolean; +} +export interface WithClause { + ctes?: Node[]; + recursive?: boolean; + location?: number; +} +export interface InferClause { + indexElems?: Node[]; + whereClause?: Node; + conname?: string; + location?: number; +} +export interface OnConflictClause { + action?: OnConflictAction; + infer?: InferClause; + targetList?: Node[]; + whereClause?: Node; + location?: number; +} +export interface CTESearchClause { + search_col_list?: Node[]; + search_breadth_first?: boolean; + search_seq_column?: string; + location?: number; +} +export interface CTECycleClause { + cycle_col_list?: Node[]; + cycle_mark_column?: string; + cycle_mark_value?: Node; + cycle_mark_default?: Node; + cycle_path_column?: string; + location?: number; + cycle_mark_type?: number; + cycle_mark_typmod?: number; + cycle_mark_collation?: number; + cycle_mark_neop?: number; +} +export interface CommonTableExpr { + ctename?: string; + aliascolnames?: Node[]; + ctematerialized?: CTEMaterialize; + ctequery?: Node; + search_clause?: CTESearchClause; + cycle_clause?: CTECycleClause; + location?: number; + cterecursive?: boolean; + cterefcount?: number; + ctecolnames?: Node[]; + ctecoltypes?: Node[]; + ctecoltypmods?: Node[]; + ctecolcollations?: Node[]; +} +export interface MergeWhenClause { + matched?: boolean; + commandType?: CmdType; + override?: OverridingKind; + condition?: Node; + targetList?: Node[]; + values?: Node[]; +} +export interface MergeAction { + matched?: boolean; + commandType?: CmdType; + override?: OverridingKind; + qual?: Node; + targetList?: Node[]; + updateColnos?: Node[]; +} +export interface TriggerTransition { + name?: string; + isNew?: boolean; + isTable?: boolean; +} +export interface JsonOutput { + typeName?: TypeName; + returning?: JsonReturning; +} +export interface JsonKeyValue { + key?: Node; + value?: JsonValueExpr; +} +export interface JsonObjectConstructor { + exprs?: Node[]; + output?: JsonOutput; + absent_on_null?: boolean; + unique?: boolean; + location?: number; +} +export interface JsonArrayConstructor { + exprs?: Node[]; + output?: JsonOutput; + absent_on_null?: boolean; + location?: number; +} +export interface JsonArrayQueryConstructor { + query?: Node; + output?: JsonOutput; + format?: JsonFormat; + absent_on_null?: boolean; + location?: number; +} +export interface JsonAggConstructor { + output?: JsonOutput; + agg_filter?: Node; + agg_order?: Node[]; + over?: WindowDef; + location?: number; +} +export interface JsonObjectAgg { + constructor?: JsonAggConstructor; + arg?: JsonKeyValue; + absent_on_null?: boolean; + unique?: boolean; +} +export interface JsonArrayAgg { + constructor?: JsonAggConstructor; + arg?: JsonValueExpr; + absent_on_null?: boolean; +} +export interface RawStmt { + stmt?: Node; + stmt_location?: number; + stmt_len?: number; +} +export interface InsertStmt { + relation?: RangeVar; + cols?: Node[]; + selectStmt?: Node; + onConflictClause?: OnConflictClause; + returningList?: Node[]; + withClause?: WithClause; + override?: OverridingKind; +} +export interface DeleteStmt { + relation?: RangeVar; + usingClause?: Node[]; + whereClause?: Node; + returningList?: Node[]; + withClause?: WithClause; +} +export interface UpdateStmt { + relation?: RangeVar; + targetList?: Node[]; + whereClause?: Node; + fromClause?: Node[]; + returningList?: Node[]; + withClause?: WithClause; +} +export interface MergeStmt { + relation?: RangeVar; + sourceRelation?: Node; + joinCondition?: Node; + mergeWhenClauses?: Node[]; + withClause?: WithClause; +} +export interface SelectStmt { + distinctClause?: Node[]; + intoClause?: IntoClause; + targetList?: Node[]; + fromClause?: Node[]; + whereClause?: Node; + groupClause?: Node[]; + groupDistinct?: boolean; + havingClause?: Node; + windowClause?: Node[]; + valuesLists?: Node[]; + sortClause?: Node[]; + limitOffset?: Node; + limitCount?: Node; + limitOption?: LimitOption; + lockingClause?: Node[]; + withClause?: WithClause; + op?: SetOperation; + all?: boolean; + larg?: SelectStmt; + rarg?: SelectStmt; +} +export interface SetOperationStmt { + op?: SetOperation; + all?: boolean; + larg?: Node; + rarg?: Node; + colTypes?: Node[]; + colTypmods?: Node[]; + colCollations?: Node[]; + groupClauses?: Node[]; +} +export interface ReturnStmt { + returnval?: Node; +} +export interface PLAssignStmt { + name?: string; + indirection?: Node[]; + nnames?: number; + val?: SelectStmt; + location?: number; +} +export interface CreateSchemaStmt { + schemaname?: string; + authrole?: RoleSpec; + schemaElts?: Node[]; + if_not_exists?: boolean; +} +export interface AlterTableStmt { + relation?: RangeVar; + cmds?: Node[]; + objtype?: ObjectType; + missing_ok?: boolean; +} +export interface ReplicaIdentityStmt { + identity_type?: string; + name?: string; +} +export interface AlterTableCmd { + subtype?: AlterTableType; + name?: string; + num?: number; + newowner?: RoleSpec; + def?: Node; + behavior?: DropBehavior; + missing_ok?: boolean; + recurse?: boolean; +} +export interface AlterCollationStmt { + collname?: Node[]; +} +export interface AlterDomainStmt { + subtype?: string; + typeName?: Node[]; + name?: string; + def?: Node; + behavior?: DropBehavior; + missing_ok?: boolean; +} +export interface GrantStmt { + is_grant?: boolean; + targtype?: GrantTargetType; + objtype?: ObjectType; + objects?: Node[]; + privileges?: Node[]; + grantees?: Node[]; + grant_option?: boolean; + grantor?: RoleSpec; + behavior?: DropBehavior; +} +export interface ObjectWithArgs { + objname?: Node[]; + objargs?: Node[]; + objfuncargs?: Node[]; + args_unspecified?: boolean; +} +export interface AccessPriv { + priv_name?: string; + cols?: Node[]; +} +export interface GrantRoleStmt { + granted_roles?: Node[]; + grantee_roles?: Node[]; + is_grant?: boolean; + opt?: Node[]; + grantor?: RoleSpec; + behavior?: DropBehavior; +} +export interface AlterDefaultPrivilegesStmt { + options?: Node[]; + action?: GrantStmt; +} +export interface CopyStmt { + relation?: RangeVar; + query?: Node; + attlist?: Node[]; + is_from?: boolean; + is_program?: boolean; + filename?: string; + options?: Node[]; + whereClause?: Node; +} +export interface VariableSetStmt { + kind?: VariableSetKind; + name?: string; + args?: Node[]; + is_local?: boolean; +} +export interface VariableShowStmt { + name?: string; +} +export interface CreateStmt { + relation?: RangeVar; + tableElts?: Node[]; + inhRelations?: Node[]; + partbound?: PartitionBoundSpec; + partspec?: PartitionSpec; + ofTypename?: TypeName; + constraints?: Node[]; + options?: Node[]; + oncommit?: OnCommitAction; + tablespacename?: string; + accessMethod?: string; + if_not_exists?: boolean; +} +export interface Constraint { + contype?: ConstrType; + conname?: string; + deferrable?: boolean; + initdeferred?: boolean; + location?: number; + is_no_inherit?: boolean; + raw_expr?: Node; + cooked_expr?: string; + generated_when?: string; + nulls_not_distinct?: boolean; + keys?: Node[]; + including?: Node[]; + exclusions?: Node[]; + options?: Node[]; + indexname?: string; + indexspace?: string; + reset_default_tblspc?: boolean; + access_method?: string; + where_clause?: Node; + pktable?: RangeVar; + fk_attrs?: Node[]; + pk_attrs?: Node[]; + fk_matchtype?: string; + fk_upd_action?: string; + fk_del_action?: string; + fk_del_set_cols?: Node[]; + old_conpfeqop?: Node[]; + old_pktable_oid?: number; + skip_validation?: boolean; + initially_valid?: boolean; +} +export interface CreateTableSpaceStmt { + tablespacename?: string; + owner?: RoleSpec; + location?: string; + options?: Node[]; +} +export interface DropTableSpaceStmt { + tablespacename?: string; + missing_ok?: boolean; +} +export interface AlterTableSpaceOptionsStmt { + tablespacename?: string; + options?: Node[]; + isReset?: boolean; +} +export interface AlterTableMoveAllStmt { + orig_tablespacename?: string; + objtype?: ObjectType; + roles?: Node[]; + new_tablespacename?: string; + nowait?: boolean; +} +export interface CreateExtensionStmt { + extname?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterExtensionStmt { + extname?: string; + options?: Node[]; +} +export interface AlterExtensionContentsStmt { + extname?: string; + action?: number; + objtype?: ObjectType; + object?: Node; +} +export interface CreateFdwStmt { + fdwname?: string; + func_options?: Node[]; + options?: Node[]; +} +export interface AlterFdwStmt { + fdwname?: string; + func_options?: Node[]; + options?: Node[]; +} +export interface CreateForeignServerStmt { + servername?: string; + servertype?: string; + version?: string; + fdwname?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterForeignServerStmt { + servername?: string; + version?: string; + options?: Node[]; + has_version?: boolean; +} +export interface CreateForeignTableStmt { + base?: CreateStmt; + servername?: string; + options?: Node[]; +} +export interface CreateUserMappingStmt { + user?: RoleSpec; + servername?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterUserMappingStmt { + user?: RoleSpec; + servername?: string; + options?: Node[]; +} +export interface DropUserMappingStmt { + user?: RoleSpec; + servername?: string; + missing_ok?: boolean; +} +export interface ImportForeignSchemaStmt { + server_name?: string; + remote_schema?: string; + local_schema?: string; + list_type?: ImportForeignSchemaType; + table_list?: Node[]; + options?: Node[]; +} +export interface CreatePolicyStmt { + policy_name?: string; + table?: RangeVar; + cmd_name?: string; + permissive?: boolean; + roles?: Node[]; + qual?: Node; + with_check?: Node; +} +export interface AlterPolicyStmt { + policy_name?: string; + table?: RangeVar; + roles?: Node[]; + qual?: Node; + with_check?: Node; +} +export interface CreateAmStmt { + amname?: string; + handler_name?: Node[]; + amtype?: string; +} +export interface CreateTrigStmt { + replace?: boolean; + isconstraint?: boolean; + trigname?: string; + relation?: RangeVar; + funcname?: Node[]; + args?: Node[]; + row?: boolean; + timing?: number; + events?: number; + columns?: Node[]; + whenClause?: Node; + transitionRels?: Node[]; + deferrable?: boolean; + initdeferred?: boolean; + constrrel?: RangeVar; +} +export interface CreateEventTrigStmt { + trigname?: string; + eventname?: string; + whenclause?: Node[]; + funcname?: Node[]; +} +export interface AlterEventTrigStmt { + trigname?: string; + tgenabled?: string; +} +export interface CreatePLangStmt { + replace?: boolean; + plname?: string; + plhandler?: Node[]; + plinline?: Node[]; + plvalidator?: Node[]; + pltrusted?: boolean; +} +export interface CreateRoleStmt { + stmt_type?: RoleStmtType; + role?: string; + options?: Node[]; +} +export interface AlterRoleStmt { + role?: RoleSpec; + options?: Node[]; + action?: number; +} +export interface AlterRoleSetStmt { + role?: RoleSpec; + database?: string; + setstmt?: VariableSetStmt; +} +export interface DropRoleStmt { + roles?: Node[]; + missing_ok?: boolean; +} +export interface CreateSeqStmt { + sequence?: RangeVar; + options?: Node[]; + ownerId?: number; + for_identity?: boolean; + if_not_exists?: boolean; +} +export interface AlterSeqStmt { + sequence?: RangeVar; + options?: Node[]; + for_identity?: boolean; + missing_ok?: boolean; +} +export interface DefineStmt { + kind?: ObjectType; + oldstyle?: boolean; + defnames?: Node[]; + args?: Node[]; + definition?: Node[]; + if_not_exists?: boolean; + replace?: boolean; +} +export interface CreateDomainStmt { + domainname?: Node[]; + typeName?: TypeName; + collClause?: CollateClause; + constraints?: Node[]; +} +export interface CreateOpClassStmt { + opclassname?: Node[]; + opfamilyname?: Node[]; + amname?: string; + datatype?: TypeName; + items?: Node[]; + isDefault?: boolean; +} +export interface CreateOpClassItem { + itemtype?: number; + name?: ObjectWithArgs; + number?: number; + order_family?: Node[]; + class_args?: Node[]; + storedtype?: TypeName; +} +export interface CreateOpFamilyStmt { + opfamilyname?: Node[]; + amname?: string; +} +export interface AlterOpFamilyStmt { + opfamilyname?: Node[]; + amname?: string; + isDrop?: boolean; + items?: Node[]; +} +export interface DropStmt { + objects?: Node[]; + removeType?: ObjectType; + behavior?: DropBehavior; + missing_ok?: boolean; + concurrent?: boolean; +} +export interface TruncateStmt { + relations?: Node[]; + restart_seqs?: boolean; + behavior?: DropBehavior; +} +export interface CommentStmt { + objtype?: ObjectType; + object?: Node; + comment?: string; +} +export interface SecLabelStmt { + objtype?: ObjectType; + object?: Node; + provider?: string; + label?: string; +} +export interface DeclareCursorStmt { + portalname?: string; + options?: number; + query?: Node; +} +export interface ClosePortalStmt { + portalname?: string; +} +export interface FetchStmt { + direction?: FetchDirection; + howMany?: bigint; + portalname?: string; + ismove?: boolean; +} +export interface IndexStmt { + idxname?: string; + relation?: RangeVar; + accessMethod?: string; + tableSpace?: string; + indexParams?: Node[]; + indexIncludingParams?: Node[]; + options?: Node[]; + whereClause?: Node; + excludeOpNames?: Node[]; + idxcomment?: string; + indexOid?: number; + oldNumber?: number; + oldCreateSubid?: number; + oldFirstRelfilelocatorSubid?: number; + unique?: boolean; + nulls_not_distinct?: boolean; + primary?: boolean; + isconstraint?: boolean; + deferrable?: boolean; + initdeferred?: boolean; + transformed?: boolean; + concurrent?: boolean; + if_not_exists?: boolean; + reset_default_tblspc?: boolean; +} +export interface CreateStatsStmt { + defnames?: Node[]; + stat_types?: Node[]; + exprs?: Node[]; + relations?: Node[]; + stxcomment?: string; + transformed?: boolean; + if_not_exists?: boolean; +} +export interface StatsElem { + name?: string; + expr?: Node; +} +export interface AlterStatsStmt { + defnames?: Node[]; + stxstattarget?: number; + missing_ok?: boolean; +} +export interface CreateFunctionStmt { + is_procedure?: boolean; + replace?: boolean; + funcname?: Node[]; + parameters?: Node[]; + returnType?: TypeName; + options?: Node[]; + sql_body?: Node; +} +export interface FunctionParameter { + name?: string; + argType?: TypeName; + mode?: FunctionParameterMode; + defexpr?: Node; +} +export interface AlterFunctionStmt { + objtype?: ObjectType; + func?: ObjectWithArgs; + actions?: Node[]; +} +export interface DoStmt { + args?: Node[]; +} +export interface InlineCodeBlock { + source_text?: string; + langOid?: number; + langIsTrusted?: boolean; + atomic?: boolean; +} +export interface CallStmt { + funccall?: FuncCall; + funcexpr?: FuncExpr; + outargs?: Node[]; +} +export interface CallContext { + atomic?: boolean; +} +export interface RenameStmt { + renameType?: ObjectType; + relationType?: ObjectType; + relation?: RangeVar; + object?: Node; + subname?: string; + newname?: string; + behavior?: DropBehavior; + missing_ok?: boolean; +} +export interface AlterObjectDependsStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + extname?: String; + remove?: boolean; +} +export interface AlterObjectSchemaStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + newschema?: string; + missing_ok?: boolean; +} +export interface AlterOwnerStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + newowner?: RoleSpec; +} +export interface AlterOperatorStmt { + opername?: ObjectWithArgs; + options?: Node[]; +} +export interface AlterTypeStmt { + typeName?: Node[]; + options?: Node[]; +} +export interface RuleStmt { + relation?: RangeVar; + rulename?: string; + whereClause?: Node; + event?: CmdType; + instead?: boolean; + actions?: Node[]; + replace?: boolean; +} +export interface NotifyStmt { + conditionname?: string; + payload?: string; +} +export interface ListenStmt { + conditionname?: string; +} +export interface UnlistenStmt { + conditionname?: string; +} +export interface TransactionStmt { + kind?: TransactionStmtKind; + options?: Node[]; + savepoint_name?: string; + gid?: string; + chain?: boolean; +} +export interface CompositeTypeStmt { + typevar?: RangeVar; + coldeflist?: Node[]; +} +export interface CreateEnumStmt { + typeName?: Node[]; + vals?: Node[]; +} +export interface CreateRangeStmt { + typeName?: Node[]; + params?: Node[]; +} +export interface AlterEnumStmt { + typeName?: Node[]; + oldVal?: string; + newVal?: string; + newValNeighbor?: string; + newValIsAfter?: boolean; + skipIfNewValExists?: boolean; +} +export interface ViewStmt { + view?: RangeVar; + aliases?: Node[]; + query?: Node; + replace?: boolean; + options?: Node[]; + withCheckOption?: ViewCheckOption; +} +export interface LoadStmt { + filename?: string; +} +export interface CreatedbStmt { + dbname?: string; + options?: Node[]; +} +export interface AlterDatabaseStmt { + dbname?: string; + options?: Node[]; +} +export interface AlterDatabaseRefreshCollStmt { + dbname?: string; +} +export interface AlterDatabaseSetStmt { + dbname?: string; + setstmt?: VariableSetStmt; +} +export interface DropdbStmt { + dbname?: string; + missing_ok?: boolean; + options?: Node[]; +} +export interface AlterSystemStmt { + setstmt?: VariableSetStmt; +} +export interface ClusterStmt { + relation?: RangeVar; + indexname?: string; + params?: Node[]; +} +export interface VacuumStmt { + options?: Node[]; + rels?: Node[]; + is_vacuumcmd?: boolean; +} +export interface VacuumRelation { + relation?: RangeVar; + oid?: number; + va_cols?: Node[]; +} +export interface ExplainStmt { + query?: Node; + options?: Node[]; +} +export interface CreateTableAsStmt { + query?: Node; + into?: IntoClause; + objtype?: ObjectType; + is_select_into?: boolean; + if_not_exists?: boolean; +} +export interface RefreshMatViewStmt { + concurrent?: boolean; + skipData?: boolean; + relation?: RangeVar; +} +export interface CheckPointStmt {} +export interface DiscardStmt { + target?: DiscardMode; +} +export interface LockStmt { + relations?: Node[]; + mode?: number; + nowait?: boolean; +} +export interface ConstraintsSetStmt { + constraints?: Node[]; + deferred?: boolean; +} +export interface ReindexStmt { + kind?: ReindexObjectType; + relation?: RangeVar; + name?: string; + params?: Node[]; +} +export interface CreateConversionStmt { + conversion_name?: Node[]; + for_encoding_name?: string; + to_encoding_name?: string; + func_name?: Node[]; + def?: boolean; +} +export interface CreateCastStmt { + sourcetype?: TypeName; + targettype?: TypeName; + func?: ObjectWithArgs; + context?: CoercionContext; + inout?: boolean; +} +export interface CreateTransformStmt { + replace?: boolean; + type_name?: TypeName; + lang?: string; + fromsql?: ObjectWithArgs; + tosql?: ObjectWithArgs; +} +export interface PrepareStmt { + name?: string; + argtypes?: Node[]; + query?: Node; +} +export interface ExecuteStmt { + name?: string; + params?: Node[]; +} +export interface DeallocateStmt { + name?: string; +} +export interface DropOwnedStmt { + roles?: Node[]; + behavior?: DropBehavior; +} +export interface ReassignOwnedStmt { + roles?: Node[]; + newrole?: RoleSpec; +} +export interface AlterTSDictionaryStmt { + dictname?: Node[]; + options?: Node[]; +} +export interface AlterTSConfigurationStmt { + kind?: AlterTSConfigType; + cfgname?: Node[]; + tokentype?: Node[]; + dicts?: Node[]; + override?: boolean; + replace?: boolean; + missing_ok?: boolean; +} +export interface PublicationTable { + relation?: RangeVar; + whereClause?: Node; + columns?: Node[]; +} +export interface PublicationObjSpec { + pubobjtype?: PublicationObjSpecType; + name?: string; + pubtable?: PublicationTable; + location?: number; +} +export interface CreatePublicationStmt { + pubname?: string; + options?: Node[]; + pubobjects?: Node[]; + for_all_tables?: boolean; +} +export interface AlterPublicationStmt { + pubname?: string; + options?: Node[]; + pubobjects?: Node[]; + for_all_tables?: boolean; + action?: AlterPublicationAction; +} +export interface CreateSubscriptionStmt { + subname?: string; + conninfo?: string; + publication?: Node[]; + options?: Node[]; +} +export interface AlterSubscriptionStmt { + kind?: AlterSubscriptionType; + subname?: string; + conninfo?: string; + publication?: Node[]; + options?: Node[]; +} +export interface DropSubscriptionStmt { + subname?: string; + missing_ok?: boolean; + behavior?: DropBehavior; +} +export interface ScanToken { + start?: number; + end?: number; + token?: Token; + keywordKind?: KeywordKind; +}", + "file": "types.ts", + }, + { + "code": "/** +* This file was automatically generated by pg-proto-parser@latest. +* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, +* and run the pg-proto-parser generate command to regenerate this file. +*/ +import { OverridingKind, QuerySource, SortByDir, SortByNulls, SetQuantifier, A_Expr_Kind, RoleSpecType, TableLikeOption, DefElemAction, PartitionStrategy, PartitionRangeDatumKind, RTEKind, WCOKind, GroupingSetKind, CTEMaterialize, SetOperation, ObjectType, DropBehavior, AlterTableType, GrantTargetType, VariableSetKind, ConstrType, ImportForeignSchemaType, RoleStmtType, FetchDirection, FunctionParameterMode, TransactionStmtKind, ViewCheckOption, DiscardMode, ReindexObjectType, AlterTSConfigType, PublicationObjSpecType, AlterPublicationAction, AlterSubscriptionType, OnCommitAction, ParamKind, CoercionContext, CoercionForm, BoolExprType, SubLinkType, RowCompareType, MinMaxOp, SQLValueFunctionOp, XmlExprOp, XmlOptionType, JsonEncoding, JsonFormatType, JsonConstructorType, JsonValueType, NullTestType, BoolTestType, CmdType, JoinType, AggStrategy, AggSplit, SetOpCmd, SetOpStrategy, OnConflictAction, LimitOption, LockClauseStrength, LockWaitPolicy, LockTupleMode, KeywordKind, Token } from "./enums"; +export type Node = ParseResult | ScanResult | Integer | Float | Boolean | String | BitString | List | OidList | IntList | A_Const | Alias | RangeVar | TableFunc | IntoClause | Var | Param | Aggref | GroupingFunc | WindowFunc | SubscriptingRef | FuncExpr | NamedArgExpr | OpExpr | DistinctExpr | NullIfExpr | ScalarArrayOpExpr | BoolExpr | SubLink | SubPlan | AlternativeSubPlan | FieldSelect | FieldStore | RelabelType | CoerceViaIO | ArrayCoerceExpr | ConvertRowtypeExpr | CollateExpr | CaseExpr | CaseWhen | CaseTestExpr | ArrayExpr | RowExpr | RowCompareExpr | CoalesceExpr | MinMaxExpr | SQLValueFunction | XmlExpr | JsonFormat | JsonReturning | JsonValueExpr | JsonConstructorExpr | JsonIsPredicate | NullTest | BooleanTest | CoerceToDomain | CoerceToDomainValue | SetToDefault | CurrentOfExpr | NextValueExpr | InferenceElem | TargetEntry | RangeTblRef | JoinExpr | FromExpr | OnConflictExpr | Query | TypeName | ColumnRef | ParamRef | A_Expr | TypeCast | CollateClause | RoleSpec | FuncCall | A_Star | A_Indices | A_Indirection | A_ArrayExpr | ResTarget | MultiAssignRef | SortBy | WindowDef | RangeSubselect | RangeFunction | RangeTableFunc | RangeTableFuncCol | RangeTableSample | ColumnDef | TableLikeClause | IndexElem | DefElem | LockingClause | XmlSerialize | PartitionElem | PartitionSpec | PartitionBoundSpec | PartitionRangeDatum | PartitionCmd | RangeTblEntry | RTEPermissionInfo | RangeTblFunction | TableSampleClause | WithCheckOption | SortGroupClause | GroupingSet | WindowClause | RowMarkClause | WithClause | InferClause | OnConflictClause | CTESearchClause | CTECycleClause | CommonTableExpr | MergeWhenClause | MergeAction | TriggerTransition | JsonOutput | JsonKeyValue | JsonObjectConstructor | JsonArrayConstructor | JsonArrayQueryConstructor | JsonAggConstructor | JsonObjectAgg | JsonArrayAgg | RawStmt | InsertStmt | DeleteStmt | UpdateStmt | MergeStmt | SelectStmt | SetOperationStmt | ReturnStmt | PLAssignStmt | CreateSchemaStmt | AlterTableStmt | ReplicaIdentityStmt | AlterTableCmd | AlterCollationStmt | AlterDomainStmt | GrantStmt | ObjectWithArgs | AccessPriv | GrantRoleStmt | AlterDefaultPrivilegesStmt | CopyStmt | VariableSetStmt | VariableShowStmt | CreateStmt | Constraint | CreateTableSpaceStmt | DropTableSpaceStmt | AlterTableSpaceOptionsStmt | AlterTableMoveAllStmt | CreateExtensionStmt | AlterExtensionStmt | AlterExtensionContentsStmt | CreateFdwStmt | AlterFdwStmt | CreateForeignServerStmt | AlterForeignServerStmt | CreateForeignTableStmt | CreateUserMappingStmt | AlterUserMappingStmt | DropUserMappingStmt | ImportForeignSchemaStmt | CreatePolicyStmt | AlterPolicyStmt | CreateAmStmt | CreateTrigStmt | CreateEventTrigStmt | AlterEventTrigStmt | CreatePLangStmt | CreateRoleStmt | AlterRoleStmt | AlterRoleSetStmt | DropRoleStmt | CreateSeqStmt | AlterSeqStmt | DefineStmt | CreateDomainStmt | CreateOpClassStmt | CreateOpClassItem | CreateOpFamilyStmt | AlterOpFamilyStmt | DropStmt | TruncateStmt | CommentStmt | SecLabelStmt | DeclareCursorStmt | ClosePortalStmt | FetchStmt | IndexStmt | CreateStatsStmt | StatsElem | AlterStatsStmt | CreateFunctionStmt | FunctionParameter | AlterFunctionStmt | DoStmt | InlineCodeBlock | CallStmt | CallContext | RenameStmt | AlterObjectDependsStmt | AlterObjectSchemaStmt | AlterOwnerStmt | AlterOperatorStmt | AlterTypeStmt | RuleStmt | NotifyStmt | ListenStmt | UnlistenStmt | TransactionStmt | CompositeTypeStmt | CreateEnumStmt | CreateRangeStmt | AlterEnumStmt | ViewStmt | LoadStmt | CreatedbStmt | AlterDatabaseStmt | AlterDatabaseRefreshCollStmt | AlterDatabaseSetStmt | DropdbStmt | AlterSystemStmt | ClusterStmt | VacuumStmt | VacuumRelation | ExplainStmt | CreateTableAsStmt | RefreshMatViewStmt | CheckPointStmt | DiscardStmt | LockStmt | ConstraintsSetStmt | ReindexStmt | CreateConversionStmt | CreateCastStmt | CreateTransformStmt | PrepareStmt | ExecuteStmt | DeallocateStmt | DropOwnedStmt | ReassignOwnedStmt | AlterTSDictionaryStmt | AlterTSConfigurationStmt | PublicationTable | PublicationObjSpec | CreatePublicationStmt | AlterPublicationStmt | CreateSubscriptionStmt | AlterSubscriptionStmt | DropSubscriptionStmt | ScanToken; +export interface ParseResult { + ParseResult: { + version?: number; + stmts?: RawStmt[]; + }; +} +export interface ScanResult { + ScanResult: { + version?: number; + tokens?: ScanToken[]; + }; +} +export interface Integer { + ival?: number; +} +export interface Float { + fval?: string; +} +export interface Boolean { + boolval?: boolean; +} +export interface String { + sval?: string; +} +export interface BitString { + bsval?: string; +} +export interface List { + items?: Node[]; +} +export interface OidList { + items?: Node[]; +} +export interface IntList { + items?: Node[]; +} +export interface A_Const { + ival?: Integer; + fval?: Float; + boolval?: Boolean; + sval?: String; + bsval?: BitString; + isnull?: boolean; + location?: number; +} +export interface Alias { + aliasname?: string; + colnames?: Node[]; +} +export interface RangeVar { + catalogname?: string; + schemaname?: string; + relname?: string; + inh?: boolean; + relpersistence?: string; + alias?: Alias; + location?: number; +} +export interface TableFunc { + ns_uris?: Node[]; + ns_names?: Node[]; + docexpr?: Node; + rowexpr?: Node; + colnames?: Node[]; + coltypes?: Node[]; + coltypmods?: Node[]; + colcollations?: Node[]; + colexprs?: Node[]; + coldefexprs?: Node[]; + notnulls?: bigint[]; + ordinalitycol?: number; + location?: number; +} +export interface IntoClause { + rel?: RangeVar; + colNames?: Node[]; + accessMethod?: string; + options?: Node[]; + onCommit?: OnCommitAction; + tableSpaceName?: string; + viewQuery?: Node; + skipData?: boolean; +} +export interface Var { + xpr?: Node; + varno?: number; + varattno?: number; + vartype?: number; + vartypmod?: number; + varcollid?: number; + varnullingrels?: bigint[]; + varlevelsup?: number; + location?: number; +} +export interface Param { + xpr?: Node; + paramkind?: ParamKind; + paramid?: number; + paramtype?: number; + paramtypmod?: number; + paramcollid?: number; + location?: number; +} +export interface Aggref { + xpr?: Node; + aggfnoid?: number; + aggtype?: number; + aggcollid?: number; + inputcollid?: number; + aggargtypes?: Node[]; + aggdirectargs?: Node[]; + args?: Node[]; + aggorder?: Node[]; + aggdistinct?: Node[]; + aggfilter?: Node; + aggstar?: boolean; + aggvariadic?: boolean; + aggkind?: string; + agglevelsup?: number; + aggsplit?: AggSplit; + aggno?: number; + aggtransno?: number; + location?: number; +} +export interface GroupingFunc { + xpr?: Node; + args?: Node[]; + refs?: Node[]; + agglevelsup?: number; + location?: number; +} +export interface WindowFunc { + xpr?: Node; + winfnoid?: number; + wintype?: number; + wincollid?: number; + inputcollid?: number; + args?: Node[]; + aggfilter?: Node; + winref?: number; + winstar?: boolean; + winagg?: boolean; + location?: number; +} +export interface SubscriptingRef { + xpr?: Node; + refcontainertype?: number; + refelemtype?: number; + refrestype?: number; + reftypmod?: number; + refcollid?: number; + refupperindexpr?: Node[]; + reflowerindexpr?: Node[]; + refexpr?: Node; + refassgnexpr?: Node; +} +export interface FuncExpr { + xpr?: Node; + funcid?: number; + funcresulttype?: number; + funcretset?: boolean; + funcvariadic?: boolean; + funcformat?: CoercionForm; + funccollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface NamedArgExpr { + xpr?: Node; + arg?: Node; + name?: string; + argnumber?: number; + location?: number; +} +export interface OpExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface DistinctExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface NullIfExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface ScalarArrayOpExpr { + xpr?: Node; + opno?: number; + useOr?: boolean; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface BoolExpr { + xpr?: Node; + boolop?: BoolExprType; + args?: Node[]; + location?: number; +} +export interface SubLink { + xpr?: Node; + subLinkType?: SubLinkType; + subLinkId?: number; + testexpr?: Node; + operName?: Node[]; + subselect?: Node; + location?: number; +} +export interface SubPlan { + xpr?: Node; + subLinkType?: SubLinkType; + testexpr?: Node; + paramIds?: Node[]; + plan_id?: number; + plan_name?: string; + firstColType?: number; + firstColTypmod?: number; + firstColCollation?: number; + useHashTable?: boolean; + unknownEqFalse?: boolean; + parallel_safe?: boolean; + setParam?: Node[]; + parParam?: Node[]; + args?: Node[]; + startup_cost?: number; + per_call_cost?: number; +} +export interface AlternativeSubPlan { + xpr?: Node; + subplans?: Node[]; +} +export interface FieldSelect { + xpr?: Node; + arg?: Node; + fieldnum?: number; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; +} +export interface FieldStore { + xpr?: Node; + arg?: Node; + newvals?: Node[]; + fieldnums?: Node[]; + resulttype?: number; +} +export interface RelabelType { + xpr?: Node; + arg?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + relabelformat?: CoercionForm; + location?: number; +} +export interface CoerceViaIO { + xpr?: Node; + arg?: Node; + resulttype?: number; + resultcollid?: number; + coerceformat?: CoercionForm; + location?: number; +} +export interface ArrayCoerceExpr { + xpr?: Node; + arg?: Node; + elemexpr?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + coerceformat?: CoercionForm; + location?: number; +} +export interface ConvertRowtypeExpr { + xpr?: Node; + arg?: Node; + resulttype?: number; + convertformat?: CoercionForm; + location?: number; +} +export interface CollateExpr { + xpr?: Node; + arg?: Node; + collOid?: number; + location?: number; +} +export interface CaseExpr { + xpr?: Node; + casetype?: number; + casecollid?: number; + arg?: Node; + args?: Node[]; + defresult?: Node; + location?: number; +} +export interface CaseWhen { + xpr?: Node; + expr?: Node; + result?: Node; + location?: number; +} +export interface CaseTestExpr { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; +} +export interface ArrayExpr { + xpr?: Node; + array_typeid?: number; + array_collid?: number; + element_typeid?: number; + elements?: Node[]; + multidims?: boolean; + location?: number; +} +export interface RowExpr { + xpr?: Node; + args?: Node[]; + row_typeid?: number; + row_format?: CoercionForm; + colnames?: Node[]; + location?: number; +} +export interface RowCompareExpr { + xpr?: Node; + rctype?: RowCompareType; + opnos?: Node[]; + opfamilies?: Node[]; + inputcollids?: Node[]; + largs?: Node[]; + rargs?: Node[]; +} +export interface CoalesceExpr { + xpr?: Node; + coalescetype?: number; + coalescecollid?: number; + args?: Node[]; + location?: number; +} +export interface MinMaxExpr { + xpr?: Node; + minmaxtype?: number; + minmaxcollid?: number; + inputcollid?: number; + op?: MinMaxOp; + args?: Node[]; + location?: number; +} +export interface SQLValueFunction { + xpr?: Node; + op?: SQLValueFunctionOp; + type?: number; + typmod?: number; + location?: number; +} +export interface XmlExpr { + xpr?: Node; + op?: XmlExprOp; + name?: string; + named_args?: Node[]; + arg_names?: Node[]; + args?: Node[]; + xmloption?: XmlOptionType; + indent?: boolean; + type?: number; + typmod?: number; + location?: number; +} +export interface JsonFormat { + format_type?: JsonFormatType; + encoding?: JsonEncoding; + location?: number; +} +export interface JsonReturning { + format?: JsonFormat; + typid?: number; + typmod?: number; +} +export interface JsonValueExpr { + raw_expr?: Node; + formatted_expr?: Node; + format?: JsonFormat; +} +export interface JsonConstructorExpr { + xpr?: Node; + type?: JsonConstructorType; + args?: Node[]; + func?: Node; + coercion?: Node; + returning?: JsonReturning; + absent_on_null?: boolean; + unique?: boolean; + location?: number; +} +export interface JsonIsPredicate { + expr?: Node; + format?: JsonFormat; + item_type?: JsonValueType; + unique_keys?: boolean; + location?: number; +} +export interface NullTest { + xpr?: Node; + arg?: Node; + nulltesttype?: NullTestType; + argisrow?: boolean; + location?: number; +} +export interface BooleanTest { + xpr?: Node; + arg?: Node; + booltesttype?: BoolTestType; + location?: number; +} +export interface CoerceToDomain { + xpr?: Node; + arg?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + coercionformat?: CoercionForm; + location?: number; +} +export interface CoerceToDomainValue { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; + location?: number; +} +export interface SetToDefault { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; + location?: number; +} +export interface CurrentOfExpr { + xpr?: Node; + cvarno?: number; + cursor_name?: string; + cursor_param?: number; +} +export interface NextValueExpr { + xpr?: Node; + seqid?: number; + typeId?: number; +} +export interface InferenceElem { + xpr?: Node; + expr?: Node; + infercollid?: number; + inferopclass?: number; +} +export interface TargetEntry { + xpr?: Node; + expr?: Node; + resno?: number; + resname?: string; + ressortgroupref?: number; + resorigtbl?: number; + resorigcol?: number; + resjunk?: boolean; +} +export interface RangeTblRef { + rtindex?: number; +} +export interface JoinExpr { + jointype?: JoinType; + isNatural?: boolean; + larg?: Node; + rarg?: Node; + usingClause?: Node[]; + join_using_alias?: Alias; + quals?: Node; + alias?: Alias; + rtindex?: number; +} +export interface FromExpr { + fromlist?: Node[]; + quals?: Node; +} +export interface OnConflictExpr { + action?: OnConflictAction; + arbiterElems?: Node[]; + arbiterWhere?: Node; + constraint?: number; + onConflictSet?: Node[]; + onConflictWhere?: Node; + exclRelIndex?: number; + exclRelTlist?: Node[]; +} +export interface Query { + commandType?: CmdType; + querySource?: QuerySource; + canSetTag?: boolean; + utilityStmt?: Node; + resultRelation?: number; + hasAggs?: boolean; + hasWindowFuncs?: boolean; + hasTargetSRFs?: boolean; + hasSubLinks?: boolean; + hasDistinctOn?: boolean; + hasRecursive?: boolean; + hasModifyingCTE?: boolean; + hasForUpdate?: boolean; + hasRowSecurity?: boolean; + isReturn?: boolean; + cteList?: Node[]; + rtable?: Node[]; + rteperminfos?: Node[]; + jointree?: FromExpr; + mergeActionList?: Node[]; + mergeUseOuterJoin?: boolean; + targetList?: Node[]; + override?: OverridingKind; + onConflict?: OnConflictExpr; + returningList?: Node[]; + groupClause?: Node[]; + groupDistinct?: boolean; + groupingSets?: Node[]; + havingQual?: Node; + windowClause?: Node[]; + distinctClause?: Node[]; + sortClause?: Node[]; + limitOffset?: Node; + limitCount?: Node; + limitOption?: LimitOption; + rowMarks?: Node[]; + setOperations?: Node; + constraintDeps?: Node[]; + withCheckOptions?: Node[]; + stmt_location?: number; + stmt_len?: number; +} +export interface TypeName { + names?: Node[]; + typeOid?: number; + setof?: boolean; + pct_type?: boolean; + typmods?: Node[]; + typemod?: number; + arrayBounds?: Node[]; + location?: number; +} +export interface ColumnRef { + fields?: Node[]; + location?: number; +} +export interface ParamRef { + number?: number; + location?: number; +} +export interface A_Expr { + kind?: A_Expr_Kind; + name?: Node[]; + lexpr?: Node; + rexpr?: Node; + location?: number; +} +export interface TypeCast { + arg?: Node; + typeName?: TypeName; + location?: number; +} +export interface CollateClause { + arg?: Node; + collname?: Node[]; + location?: number; +} +export interface RoleSpec { + roletype?: RoleSpecType; + rolename?: string; + location?: number; +} +export interface FuncCall { + funcname?: Node[]; + args?: Node[]; + agg_order?: Node[]; + agg_filter?: Node; + over?: WindowDef; + agg_within_group?: boolean; + agg_star?: boolean; + agg_distinct?: boolean; + func_variadic?: boolean; + funcformat?: CoercionForm; + location?: number; +} +export interface A_Star {} +export interface A_Indices { + is_slice?: boolean; + lidx?: Node; + uidx?: Node; +} +export interface A_Indirection { + arg?: Node; + indirection?: Node[]; +} +export interface A_ArrayExpr { + elements?: Node[]; + location?: number; +} +export interface ResTarget { + name?: string; + indirection?: Node[]; + val?: Node; + location?: number; +} +export interface MultiAssignRef { + source?: Node; + colno?: number; + ncolumns?: number; +} +export interface SortBy { + node?: Node; + sortby_dir?: SortByDir; + sortby_nulls?: SortByNulls; + useOp?: Node[]; + location?: number; +} +export interface WindowDef { + name?: string; + refname?: string; + partitionClause?: Node[]; + orderClause?: Node[]; + frameOptions?: number; + startOffset?: Node; + endOffset?: Node; + location?: number; +} +export interface RangeSubselect { + lateral?: boolean; + subquery?: Node; + alias?: Alias; +} +export interface RangeFunction { + lateral?: boolean; + ordinality?: boolean; + is_rowsfrom?: boolean; + functions?: Node[]; + alias?: Alias; + coldeflist?: Node[]; +} +export interface RangeTableFunc { + lateral?: boolean; + docexpr?: Node; + rowexpr?: Node; + namespaces?: Node[]; + columns?: Node[]; + alias?: Alias; + location?: number; +} +export interface RangeTableFuncCol { + colname?: string; + typeName?: TypeName; + for_ordinality?: boolean; + is_not_null?: boolean; + colexpr?: Node; + coldefexpr?: Node; + location?: number; +} +export interface RangeTableSample { + relation?: Node; + method?: Node[]; + args?: Node[]; + repeatable?: Node; + location?: number; +} +export interface ColumnDef { + colname?: string; + typeName?: TypeName; + compression?: string; + inhcount?: number; + is_local?: boolean; + is_not_null?: boolean; + is_from_type?: boolean; + storage?: string; + storage_name?: string; + raw_default?: Node; + cooked_default?: Node; + identity?: string; + identitySequence?: RangeVar; + generated?: string; + collClause?: CollateClause; + collOid?: number; + constraints?: Node[]; + fdwoptions?: Node[]; + location?: number; +} +export interface TableLikeClause { + relation?: RangeVar; + options?: number; + relationOid?: number; +} +export interface IndexElem { + name?: string; + expr?: Node; + indexcolname?: string; + collation?: Node[]; + opclass?: Node[]; + opclassopts?: Node[]; + ordering?: SortByDir; + nulls_ordering?: SortByNulls; +} +export interface DefElem { + defnamespace?: string; + defname?: string; + arg?: Node; + defaction?: DefElemAction; + location?: number; +} +export interface LockingClause { + lockedRels?: Node[]; + strength?: LockClauseStrength; + waitPolicy?: LockWaitPolicy; +} +export interface XmlSerialize { + xmloption?: XmlOptionType; + expr?: Node; + typeName?: TypeName; + indent?: boolean; + location?: number; +} +export interface PartitionElem { + name?: string; + expr?: Node; + collation?: Node[]; + opclass?: Node[]; + location?: number; +} +export interface PartitionSpec { + strategy?: PartitionStrategy; + partParams?: Node[]; + location?: number; +} +export interface PartitionBoundSpec { + strategy?: string; + is_default?: boolean; + modulus?: number; + remainder?: number; + listdatums?: Node[]; + lowerdatums?: Node[]; + upperdatums?: Node[]; + location?: number; +} +export interface PartitionRangeDatum { + kind?: PartitionRangeDatumKind; + value?: Node; + location?: number; +} +export interface PartitionCmd { + name?: RangeVar; + bound?: PartitionBoundSpec; + concurrent?: boolean; +} +export interface RangeTblEntry { + rtekind?: RTEKind; + relid?: number; + relkind?: string; + rellockmode?: number; + tablesample?: TableSampleClause; + perminfoindex?: number; + subquery?: Query; + security_barrier?: boolean; + jointype?: JoinType; + joinmergedcols?: number; + joinaliasvars?: Node[]; + joinleftcols?: Node[]; + joinrightcols?: Node[]; + join_using_alias?: Alias; + functions?: Node[]; + funcordinality?: boolean; + tablefunc?: TableFunc; + values_lists?: Node[]; + ctename?: string; + ctelevelsup?: number; + self_reference?: boolean; + coltypes?: Node[]; + coltypmods?: Node[]; + colcollations?: Node[]; + enrname?: string; + enrtuples?: number; + alias?: Alias; + eref?: Alias; + lateral?: boolean; + inh?: boolean; + inFromCl?: boolean; + securityQuals?: Node[]; +} +export interface RTEPermissionInfo { + relid?: number; + inh?: boolean; + requiredPerms?: bigint; + checkAsUser?: number; + selectedCols?: bigint[]; + insertedCols?: bigint[]; + updatedCols?: bigint[]; +} +export interface RangeTblFunction { + funcexpr?: Node; + funccolcount?: number; + funccolnames?: Node[]; + funccoltypes?: Node[]; + funccoltypmods?: Node[]; + funccolcollations?: Node[]; + funcparams?: bigint[]; +} +export interface TableSampleClause { + tsmhandler?: number; + args?: Node[]; + repeatable?: Node; +} +export interface WithCheckOption { + kind?: WCOKind; + relname?: string; + polname?: string; + qual?: Node; + cascaded?: boolean; +} +export interface SortGroupClause { + tleSortGroupRef?: number; + eqop?: number; + sortop?: number; + nulls_first?: boolean; + hashable?: boolean; +} +export interface GroupingSet { + kind?: GroupingSetKind; + content?: Node[]; + location?: number; +} +export interface WindowClause { + name?: string; + refname?: string; + partitionClause?: Node[]; + orderClause?: Node[]; + frameOptions?: number; + startOffset?: Node; + endOffset?: Node; + runCondition?: Node[]; + startInRangeFunc?: number; + endInRangeFunc?: number; + inRangeColl?: number; + inRangeAsc?: boolean; + inRangeNullsFirst?: boolean; + winref?: number; + copiedOrder?: boolean; +} +export interface RowMarkClause { + rti?: number; + strength?: LockClauseStrength; + waitPolicy?: LockWaitPolicy; + pushedDown?: boolean; +} +export interface WithClause { + ctes?: Node[]; + recursive?: boolean; + location?: number; +} +export interface InferClause { + indexElems?: Node[]; + whereClause?: Node; + conname?: string; + location?: number; +} +export interface OnConflictClause { + action?: OnConflictAction; + infer?: InferClause; + targetList?: Node[]; + whereClause?: Node; + location?: number; +} +export interface CTESearchClause { + search_col_list?: Node[]; + search_breadth_first?: boolean; + search_seq_column?: string; + location?: number; +} +export interface CTECycleClause { + cycle_col_list?: Node[]; + cycle_mark_column?: string; + cycle_mark_value?: Node; + cycle_mark_default?: Node; + cycle_path_column?: string; + location?: number; + cycle_mark_type?: number; + cycle_mark_typmod?: number; + cycle_mark_collation?: number; + cycle_mark_neop?: number; +} +export interface CommonTableExpr { + ctename?: string; + aliascolnames?: Node[]; + ctematerialized?: CTEMaterialize; + ctequery?: Node; + search_clause?: CTESearchClause; + cycle_clause?: CTECycleClause; + location?: number; + cterecursive?: boolean; + cterefcount?: number; + ctecolnames?: Node[]; + ctecoltypes?: Node[]; + ctecoltypmods?: Node[]; + ctecolcollations?: Node[]; +} +export interface MergeWhenClause { + matched?: boolean; + commandType?: CmdType; + override?: OverridingKind; + condition?: Node; + targetList?: Node[]; + values?: Node[]; +} +export interface MergeAction { + matched?: boolean; + commandType?: CmdType; + override?: OverridingKind; + qual?: Node; + targetList?: Node[]; + updateColnos?: Node[]; +} +export interface TriggerTransition { + name?: string; + isNew?: boolean; + isTable?: boolean; +} +export interface JsonOutput { + typeName?: TypeName; + returning?: JsonReturning; +} +export interface JsonKeyValue { + key?: Node; + value?: JsonValueExpr; +} +export interface JsonObjectConstructor { + exprs?: Node[]; + output?: JsonOutput; + absent_on_null?: boolean; + unique?: boolean; + location?: number; +} +export interface JsonArrayConstructor { + exprs?: Node[]; + output?: JsonOutput; + absent_on_null?: boolean; + location?: number; +} +export interface JsonArrayQueryConstructor { + query?: Node; + output?: JsonOutput; + format?: JsonFormat; + absent_on_null?: boolean; + location?: number; +} +export interface JsonAggConstructor { + output?: JsonOutput; + agg_filter?: Node; + agg_order?: Node[]; + over?: WindowDef; + location?: number; +} +export interface JsonObjectAgg { + constructor?: JsonAggConstructor; + arg?: JsonKeyValue; + absent_on_null?: boolean; + unique?: boolean; +} +export interface JsonArrayAgg { + constructor?: JsonAggConstructor; + arg?: JsonValueExpr; + absent_on_null?: boolean; +} +export interface RawStmt { + stmt?: Node; + stmt_location?: number; + stmt_len?: number; +} +export interface InsertStmt { + relation?: RangeVar; + cols?: Node[]; + selectStmt?: Node; + onConflictClause?: OnConflictClause; + returningList?: Node[]; + withClause?: WithClause; + override?: OverridingKind; +} +export interface DeleteStmt { + relation?: RangeVar; + usingClause?: Node[]; + whereClause?: Node; + returningList?: Node[]; + withClause?: WithClause; +} +export interface UpdateStmt { + relation?: RangeVar; + targetList?: Node[]; + whereClause?: Node; + fromClause?: Node[]; + returningList?: Node[]; + withClause?: WithClause; +} +export interface MergeStmt { + relation?: RangeVar; + sourceRelation?: Node; + joinCondition?: Node; + mergeWhenClauses?: Node[]; + withClause?: WithClause; +} +export interface SelectStmt { + distinctClause?: Node[]; + intoClause?: IntoClause; + targetList?: Node[]; + fromClause?: Node[]; + whereClause?: Node; + groupClause?: Node[]; + groupDistinct?: boolean; + havingClause?: Node; + windowClause?: Node[]; + valuesLists?: Node[]; + sortClause?: Node[]; + limitOffset?: Node; + limitCount?: Node; + limitOption?: LimitOption; + lockingClause?: Node[]; + withClause?: WithClause; + op?: SetOperation; + all?: boolean; + larg?: SelectStmt; + rarg?: SelectStmt; +} +export interface SetOperationStmt { + op?: SetOperation; + all?: boolean; + larg?: Node; + rarg?: Node; + colTypes?: Node[]; + colTypmods?: Node[]; + colCollations?: Node[]; + groupClauses?: Node[]; +} +export interface ReturnStmt { + returnval?: Node; +} +export interface PLAssignStmt { + name?: string; + indirection?: Node[]; + nnames?: number; + val?: SelectStmt; + location?: number; +} +export interface CreateSchemaStmt { + schemaname?: string; + authrole?: RoleSpec; + schemaElts?: Node[]; + if_not_exists?: boolean; +} +export interface AlterTableStmt { + relation?: RangeVar; + cmds?: Node[]; + objtype?: ObjectType; + missing_ok?: boolean; +} +export interface ReplicaIdentityStmt { + identity_type?: string; + name?: string; +} +export interface AlterTableCmd { + subtype?: AlterTableType; + name?: string; + num?: number; + newowner?: RoleSpec; + def?: Node; + behavior?: DropBehavior; + missing_ok?: boolean; + recurse?: boolean; +} +export interface AlterCollationStmt { + collname?: Node[]; +} +export interface AlterDomainStmt { + subtype?: string; + typeName?: Node[]; + name?: string; + def?: Node; + behavior?: DropBehavior; + missing_ok?: boolean; +} +export interface GrantStmt { + is_grant?: boolean; + targtype?: GrantTargetType; + objtype?: ObjectType; + objects?: Node[]; + privileges?: Node[]; + grantees?: Node[]; + grant_option?: boolean; + grantor?: RoleSpec; + behavior?: DropBehavior; +} +export interface ObjectWithArgs { + objname?: Node[]; + objargs?: Node[]; + objfuncargs?: Node[]; + args_unspecified?: boolean; +} +export interface AccessPriv { + priv_name?: string; + cols?: Node[]; +} +export interface GrantRoleStmt { + granted_roles?: Node[]; + grantee_roles?: Node[]; + is_grant?: boolean; + opt?: Node[]; + grantor?: RoleSpec; + behavior?: DropBehavior; +} +export interface AlterDefaultPrivilegesStmt { + options?: Node[]; + action?: GrantStmt; +} +export interface CopyStmt { + relation?: RangeVar; + query?: Node; + attlist?: Node[]; + is_from?: boolean; + is_program?: boolean; + filename?: string; + options?: Node[]; + whereClause?: Node; +} +export interface VariableSetStmt { + kind?: VariableSetKind; + name?: string; + args?: Node[]; + is_local?: boolean; +} +export interface VariableShowStmt { + name?: string; +} +export interface CreateStmt { + relation?: RangeVar; + tableElts?: Node[]; + inhRelations?: Node[]; + partbound?: PartitionBoundSpec; + partspec?: PartitionSpec; + ofTypename?: TypeName; + constraints?: Node[]; + options?: Node[]; + oncommit?: OnCommitAction; + tablespacename?: string; + accessMethod?: string; + if_not_exists?: boolean; +} +export interface Constraint { + contype?: ConstrType; + conname?: string; + deferrable?: boolean; + initdeferred?: boolean; + location?: number; + is_no_inherit?: boolean; + raw_expr?: Node; + cooked_expr?: string; + generated_when?: string; + nulls_not_distinct?: boolean; + keys?: Node[]; + including?: Node[]; + exclusions?: Node[]; + options?: Node[]; + indexname?: string; + indexspace?: string; + reset_default_tblspc?: boolean; + access_method?: string; + where_clause?: Node; + pktable?: RangeVar; + fk_attrs?: Node[]; + pk_attrs?: Node[]; + fk_matchtype?: string; + fk_upd_action?: string; + fk_del_action?: string; + fk_del_set_cols?: Node[]; + old_conpfeqop?: Node[]; + old_pktable_oid?: number; + skip_validation?: boolean; + initially_valid?: boolean; +} +export interface CreateTableSpaceStmt { + tablespacename?: string; + owner?: RoleSpec; + location?: string; + options?: Node[]; +} +export interface DropTableSpaceStmt { + tablespacename?: string; + missing_ok?: boolean; +} +export interface AlterTableSpaceOptionsStmt { + tablespacename?: string; + options?: Node[]; + isReset?: boolean; +} +export interface AlterTableMoveAllStmt { + orig_tablespacename?: string; + objtype?: ObjectType; + roles?: Node[]; + new_tablespacename?: string; + nowait?: boolean; +} +export interface CreateExtensionStmt { + extname?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterExtensionStmt { + extname?: string; + options?: Node[]; +} +export interface AlterExtensionContentsStmt { + extname?: string; + action?: number; + objtype?: ObjectType; + object?: Node; +} +export interface CreateFdwStmt { + fdwname?: string; + func_options?: Node[]; + options?: Node[]; +} +export interface AlterFdwStmt { + fdwname?: string; + func_options?: Node[]; + options?: Node[]; +} +export interface CreateForeignServerStmt { + servername?: string; + servertype?: string; + version?: string; + fdwname?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterForeignServerStmt { + servername?: string; + version?: string; + options?: Node[]; + has_version?: boolean; +} +export interface CreateForeignTableStmt { + base?: CreateStmt; + servername?: string; + options?: Node[]; +} +export interface CreateUserMappingStmt { + user?: RoleSpec; + servername?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterUserMappingStmt { + user?: RoleSpec; + servername?: string; + options?: Node[]; +} +export interface DropUserMappingStmt { + user?: RoleSpec; + servername?: string; + missing_ok?: boolean; +} +export interface ImportForeignSchemaStmt { + server_name?: string; + remote_schema?: string; + local_schema?: string; + list_type?: ImportForeignSchemaType; + table_list?: Node[]; + options?: Node[]; +} +export interface CreatePolicyStmt { + policy_name?: string; + table?: RangeVar; + cmd_name?: string; + permissive?: boolean; + roles?: Node[]; + qual?: Node; + with_check?: Node; +} +export interface AlterPolicyStmt { + policy_name?: string; + table?: RangeVar; + roles?: Node[]; + qual?: Node; + with_check?: Node; +} +export interface CreateAmStmt { + amname?: string; + handler_name?: Node[]; + amtype?: string; +} +export interface CreateTrigStmt { + replace?: boolean; + isconstraint?: boolean; + trigname?: string; + relation?: RangeVar; + funcname?: Node[]; + args?: Node[]; + row?: boolean; + timing?: number; + events?: number; + columns?: Node[]; + whenClause?: Node; + transitionRels?: Node[]; + deferrable?: boolean; + initdeferred?: boolean; + constrrel?: RangeVar; +} +export interface CreateEventTrigStmt { + trigname?: string; + eventname?: string; + whenclause?: Node[]; + funcname?: Node[]; +} +export interface AlterEventTrigStmt { + trigname?: string; + tgenabled?: string; +} +export interface CreatePLangStmt { + replace?: boolean; + plname?: string; + plhandler?: Node[]; + plinline?: Node[]; + plvalidator?: Node[]; + pltrusted?: boolean; +} +export interface CreateRoleStmt { + stmt_type?: RoleStmtType; + role?: string; + options?: Node[]; +} +export interface AlterRoleStmt { + role?: RoleSpec; + options?: Node[]; + action?: number; +} +export interface AlterRoleSetStmt { + role?: RoleSpec; + database?: string; + setstmt?: VariableSetStmt; +} +export interface DropRoleStmt { + roles?: Node[]; + missing_ok?: boolean; +} +export interface CreateSeqStmt { + sequence?: RangeVar; + options?: Node[]; + ownerId?: number; + for_identity?: boolean; + if_not_exists?: boolean; +} +export interface AlterSeqStmt { + sequence?: RangeVar; + options?: Node[]; + for_identity?: boolean; + missing_ok?: boolean; +} +export interface DefineStmt { + kind?: ObjectType; + oldstyle?: boolean; + defnames?: Node[]; + args?: Node[]; + definition?: Node[]; + if_not_exists?: boolean; + replace?: boolean; +} +export interface CreateDomainStmt { + domainname?: Node[]; + typeName?: TypeName; + collClause?: CollateClause; + constraints?: Node[]; +} +export interface CreateOpClassStmt { + opclassname?: Node[]; + opfamilyname?: Node[]; + amname?: string; + datatype?: TypeName; + items?: Node[]; + isDefault?: boolean; +} +export interface CreateOpClassItem { + itemtype?: number; + name?: ObjectWithArgs; + number?: number; + order_family?: Node[]; + class_args?: Node[]; + storedtype?: TypeName; +} +export interface CreateOpFamilyStmt { + opfamilyname?: Node[]; + amname?: string; +} +export interface AlterOpFamilyStmt { + opfamilyname?: Node[]; + amname?: string; + isDrop?: boolean; + items?: Node[]; +} +export interface DropStmt { + objects?: Node[]; + removeType?: ObjectType; + behavior?: DropBehavior; + missing_ok?: boolean; + concurrent?: boolean; +} +export interface TruncateStmt { + relations?: Node[]; + restart_seqs?: boolean; + behavior?: DropBehavior; +} +export interface CommentStmt { + objtype?: ObjectType; + object?: Node; + comment?: string; +} +export interface SecLabelStmt { + objtype?: ObjectType; + object?: Node; + provider?: string; + label?: string; +} +export interface DeclareCursorStmt { + portalname?: string; + options?: number; + query?: Node; +} +export interface ClosePortalStmt { + portalname?: string; +} +export interface FetchStmt { + direction?: FetchDirection; + howMany?: bigint; + portalname?: string; + ismove?: boolean; +} +export interface IndexStmt { + idxname?: string; + relation?: RangeVar; + accessMethod?: string; + tableSpace?: string; + indexParams?: Node[]; + indexIncludingParams?: Node[]; + options?: Node[]; + whereClause?: Node; + excludeOpNames?: Node[]; + idxcomment?: string; + indexOid?: number; + oldNumber?: number; + oldCreateSubid?: number; + oldFirstRelfilelocatorSubid?: number; + unique?: boolean; + nulls_not_distinct?: boolean; + primary?: boolean; + isconstraint?: boolean; + deferrable?: boolean; + initdeferred?: boolean; + transformed?: boolean; + concurrent?: boolean; + if_not_exists?: boolean; + reset_default_tblspc?: boolean; +} +export interface CreateStatsStmt { + defnames?: Node[]; + stat_types?: Node[]; + exprs?: Node[]; + relations?: Node[]; + stxcomment?: string; + transformed?: boolean; + if_not_exists?: boolean; +} +export interface StatsElem { + name?: string; + expr?: Node; +} +export interface AlterStatsStmt { + defnames?: Node[]; + stxstattarget?: number; + missing_ok?: boolean; +} +export interface CreateFunctionStmt { + is_procedure?: boolean; + replace?: boolean; + funcname?: Node[]; + parameters?: Node[]; + returnType?: TypeName; + options?: Node[]; + sql_body?: Node; +} +export interface FunctionParameter { + name?: string; + argType?: TypeName; + mode?: FunctionParameterMode; + defexpr?: Node; +} +export interface AlterFunctionStmt { + objtype?: ObjectType; + func?: ObjectWithArgs; + actions?: Node[]; +} +export interface DoStmt { + args?: Node[]; +} +export interface InlineCodeBlock { + source_text?: string; + langOid?: number; + langIsTrusted?: boolean; + atomic?: boolean; +} +export interface CallStmt { + funccall?: FuncCall; + funcexpr?: FuncExpr; + outargs?: Node[]; +} +export interface CallContext { + atomic?: boolean; +} +export interface RenameStmt { + renameType?: ObjectType; + relationType?: ObjectType; + relation?: RangeVar; + object?: Node; + subname?: string; + newname?: string; + behavior?: DropBehavior; + missing_ok?: boolean; +} +export interface AlterObjectDependsStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + extname?: String; + remove?: boolean; +} +export interface AlterObjectSchemaStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + newschema?: string; + missing_ok?: boolean; +} +export interface AlterOwnerStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + newowner?: RoleSpec; +} +export interface AlterOperatorStmt { + opername?: ObjectWithArgs; + options?: Node[]; +} +export interface AlterTypeStmt { + typeName?: Node[]; + options?: Node[]; +} +export interface RuleStmt { + relation?: RangeVar; + rulename?: string; + whereClause?: Node; + event?: CmdType; + instead?: boolean; + actions?: Node[]; + replace?: boolean; +} +export interface NotifyStmt { + conditionname?: string; + payload?: string; +} +export interface ListenStmt { + conditionname?: string; +} +export interface UnlistenStmt { + conditionname?: string; +} +export interface TransactionStmt { + kind?: TransactionStmtKind; + options?: Node[]; + savepoint_name?: string; + gid?: string; + chain?: boolean; +} +export interface CompositeTypeStmt { + typevar?: RangeVar; + coldeflist?: Node[]; +} +export interface CreateEnumStmt { + typeName?: Node[]; + vals?: Node[]; +} +export interface CreateRangeStmt { + typeName?: Node[]; + params?: Node[]; +} +export interface AlterEnumStmt { + typeName?: Node[]; + oldVal?: string; + newVal?: string; + newValNeighbor?: string; + newValIsAfter?: boolean; + skipIfNewValExists?: boolean; +} +export interface ViewStmt { + view?: RangeVar; + aliases?: Node[]; + query?: Node; + replace?: boolean; + options?: Node[]; + withCheckOption?: ViewCheckOption; +} +export interface LoadStmt { + filename?: string; +} +export interface CreatedbStmt { + dbname?: string; + options?: Node[]; +} +export interface AlterDatabaseStmt { + dbname?: string; + options?: Node[]; +} +export interface AlterDatabaseRefreshCollStmt { + dbname?: string; +} +export interface AlterDatabaseSetStmt { + dbname?: string; + setstmt?: VariableSetStmt; +} +export interface DropdbStmt { + dbname?: string; + missing_ok?: boolean; + options?: Node[]; +} +export interface AlterSystemStmt { + setstmt?: VariableSetStmt; +} +export interface ClusterStmt { + relation?: RangeVar; + indexname?: string; + params?: Node[]; +} +export interface VacuumStmt { + options?: Node[]; + rels?: Node[]; + is_vacuumcmd?: boolean; +} +export interface VacuumRelation { + relation?: RangeVar; + oid?: number; + va_cols?: Node[]; +} +export interface ExplainStmt { + query?: Node; + options?: Node[]; +} +export interface CreateTableAsStmt { + query?: Node; + into?: IntoClause; + objtype?: ObjectType; + is_select_into?: boolean; + if_not_exists?: boolean; +} +export interface RefreshMatViewStmt { + concurrent?: boolean; + skipData?: boolean; + relation?: RangeVar; +} +export interface CheckPointStmt {} +export interface DiscardStmt { + target?: DiscardMode; +} +export interface LockStmt { + relations?: Node[]; + mode?: number; + nowait?: boolean; +} +export interface ConstraintsSetStmt { + constraints?: Node[]; + deferred?: boolean; +} +export interface ReindexStmt { + kind?: ReindexObjectType; + relation?: RangeVar; + name?: string; + params?: Node[]; +} +export interface CreateConversionStmt { + conversion_name?: Node[]; + for_encoding_name?: string; + to_encoding_name?: string; + func_name?: Node[]; + def?: boolean; +} +export interface CreateCastStmt { + sourcetype?: TypeName; + targettype?: TypeName; + func?: ObjectWithArgs; + context?: CoercionContext; + inout?: boolean; +} +export interface CreateTransformStmt { + replace?: boolean; + type_name?: TypeName; + lang?: string; + fromsql?: ObjectWithArgs; + tosql?: ObjectWithArgs; +} +export interface PrepareStmt { + name?: string; + argtypes?: Node[]; + query?: Node; +} +export interface ExecuteStmt { + name?: string; + params?: Node[]; +} +export interface DeallocateStmt { + name?: string; +} +export interface DropOwnedStmt { + roles?: Node[]; + behavior?: DropBehavior; +} +export interface ReassignOwnedStmt { + roles?: Node[]; + newrole?: RoleSpec; +} +export interface AlterTSDictionaryStmt { + dictname?: Node[]; + options?: Node[]; +} +export interface AlterTSConfigurationStmt { + kind?: AlterTSConfigType; + cfgname?: Node[]; + tokentype?: Node[]; + dicts?: Node[]; + override?: boolean; + replace?: boolean; + missing_ok?: boolean; +} +export interface PublicationTable { + relation?: RangeVar; + whereClause?: Node; + columns?: Node[]; +} +export interface PublicationObjSpec { + pubobjtype?: PublicationObjSpecType; + name?: string; + pubtable?: PublicationTable; + location?: number; +} +export interface CreatePublicationStmt { + pubname?: string; + options?: Node[]; + pubobjects?: Node[]; + for_all_tables?: boolean; +} +export interface AlterPublicationStmt { + pubname?: string; + options?: Node[]; + pubobjects?: Node[]; + for_all_tables?: boolean; + action?: AlterPublicationAction; +} +export interface CreateSubscriptionStmt { + subname?: string; + conninfo?: string; + publication?: Node[]; + options?: Node[]; +} +export interface AlterSubscriptionStmt { + kind?: AlterSubscriptionType; + subname?: string; + conninfo?: string; + publication?: Node[]; + options?: Node[]; +} +export interface DropSubscriptionStmt { + subname?: string; + missing_ok?: boolean; + behavior?: DropBehavior; +} +export interface ScanToken { + ScanToken: { + start?: number; + end?: number; + token?: Token; + keywordKind?: KeywordKind; + }; +}", + "file": "wrapped.ts", + }, +] +`; + +exports[`runtime-schema runtime schema with latest proto 1`] = ` +[ + { + "code": "[ + { + "name": "A_ArrayExpr", + "wrapped": true, + "fields": [ + { + "name": "elements", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Const", + "wrapped": true, + "fields": [ + { + "name": "boolval", + "type": "Boolean", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "bsval", + "type": "BitString", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fval", + "type": "Float", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isnull", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ival", + "type": "Integer", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sval", + "type": "String", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Expr", + "wrapped": true, + "fields": [ + { + "name": "kind", + "type": "A_Expr_Kind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Indices", + "wrapped": true, + "fields": [ + { + "name": "is_slice", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lidx", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "uidx", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "A_Indirection", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "indirection", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "A_Star", + "wrapped": true, + "fields": [] + }, + { + "name": "AccessPriv", + "wrapped": true, + "fields": [ + { + "name": "cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "priv_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Aggref", + "wrapped": true, + "fields": [ + { + "name": "aggargtypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggdirectargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggdistinct", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggfilter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "aggfnoid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggkind", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "agglevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggorder", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "aggsplit", + "type": "AggSplit", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggstar", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggtransno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "aggvariadic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Alias", + "wrapped": true, + "fields": [ + { + "name": "aliasname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterCollationStmt", + "wrapped": true, + "fields": [ + { + "name": "collname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterDatabaseRefreshCollStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterDatabaseSetStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "setstmt", + "type": "VariableSetStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterDatabaseStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterDefaultPrivilegesStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "GrantStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterDomainStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "def", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subtype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterEnumStmt", + "wrapped": true, + "fields": [ + { + "name": "newVal", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newValIsAfter", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newValNeighbor", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldVal", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "skipIfNewValExists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterEventTrigStmt", + "wrapped": true, + "fields": [ + { + "name": "tgenabled", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "trigname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterExtensionContentsStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "extname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterExtensionStmt", + "wrapped": true, + "fields": [ + { + "name": "extname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterFdwStmt", + "wrapped": true, + "fields": [ + { + "name": "fdwname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func_options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterForeignServerStmt", + "wrapped": true, + "fields": [ + { + "name": "has_version", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "version", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterFunctionStmt", + "wrapped": true, + "fields": [ + { + "name": "actions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "func", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlternativeSubPlan", + "wrapped": true, + "fields": [ + { + "name": "subplans", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterObjectDependsStmt", + "wrapped": true, + "fields": [ + { + "name": "extname", + "type": "String", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objectType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "remove", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterObjectSchemaStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newschema", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objectType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterOperatorStmt", + "wrapped": true, + "fields": [ + { + "name": "opername", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterOpFamilyStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isDrop", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opfamilyname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterOwnerStmt", + "wrapped": true, + "fields": [ + { + "name": "newowner", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objectType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterPolicyStmt", + "wrapped": true, + "fields": [ + { + "name": "policy_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "table", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "with_check", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterPublicationStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "AlterPublicationAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "for_all_tables", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pubname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubobjects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterRoleSetStmt", + "wrapped": true, + "fields": [ + { + "name": "database", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "role", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "setstmt", + "type": "VariableSetStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "role", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterSeqStmt", + "wrapped": true, + "fields": [ + { + "name": "for_identity", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "sequence", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterStatsStmt", + "wrapped": true, + "fields": [ + { + "name": "defnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stxstattarget", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterSubscriptionStmt", + "wrapped": true, + "fields": [ + { + "name": "conninfo", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "AlterSubscriptionType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "publication", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterSystemStmt", + "wrapped": true, + "fields": [ + { + "name": "setstmt", + "type": "VariableSetStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTableCmd", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "def", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newowner", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "num", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "recurse", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subtype", + "type": "AlterTableType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTableMoveAllStmt", + "wrapped": true, + "fields": [ + { + "name": "new_tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nowait", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "orig_tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterTableSpaceOptionsStmt", + "wrapped": true, + "fields": [ + { + "name": "isReset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTableStmt", + "wrapped": true, + "fields": [ + { + "name": "cmds", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "AlterTSConfigurationStmt", + "wrapped": true, + "fields": [ + { + "name": "cfgname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "dicts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "kind", + "type": "AlterTSConfigType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tokentype", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterTSDictionaryStmt", + "wrapped": true, + "fields": [ + { + "name": "dictname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterTypeStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "AlterUserMappingStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "user", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ArrayCoerceExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coerceformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "elemexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ArrayExpr", + "wrapped": true, + "fields": [ + { + "name": "array_collid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "array_typeid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "element_typeid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "elements", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "multidims", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "BitString", + "wrapped": true, + "fields": [ + { + "name": "bsval", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Boolean", + "wrapped": true, + "fields": [ + { + "name": "boolval", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "BooleanTest", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "booltesttype", + "type": "BoolTestType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "BoolExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "boolop", + "type": "BoolExprType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CallContext", + "wrapped": true, + "fields": [ + { + "name": "atomic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CallStmt", + "wrapped": true, + "fields": [ + { + "name": "funccall", + "type": "FuncCall", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "funcexpr", + "type": "FuncExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "outargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CaseExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "casecollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "casetype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "defresult", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CaseTestExpr", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeMod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CaseWhen", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "result", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CheckPointStmt", + "wrapped": true, + "fields": [] + }, + { + "name": "ClosePortalStmt", + "wrapped": true, + "fields": [ + { + "name": "portalname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ClusterStmt", + "wrapped": true, + "fields": [ + { + "name": "indexname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoalesceExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coalescecollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "coalescetype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoerceToDomain", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coercionformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoerceToDomainValue", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeMod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CoerceViaIO", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coerceformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CollateClause", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "collname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CollateExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "collOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ColumnDef", + "wrapped": true, + "fields": [ + { + "name": "collClause", + "type": "CollateClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "collOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "compression", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "cooked_default", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fdwoptions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "generated", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "identity", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "identitySequence", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "inhcount", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_from_type", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_local", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_not_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "raw_default", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "storage", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "storage_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ColumnRef", + "wrapped": true, + "fields": [ + { + "name": "fields", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CommentStmt", + "wrapped": true, + "fields": [ + { + "name": "comment", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CommonTableExpr", + "wrapped": true, + "fields": [ + { + "name": "aliascolnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecolcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecolnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecoltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctecoltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctematerialized", + "type": "CTEMaterialize", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ctename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ctequery", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "cterecursive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cterefcount", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_clause", + "type": "CTECycleClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "search_clause", + "type": "CTESearchClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CompositeTypeStmt", + "wrapped": true, + "fields": [ + { + "name": "coldeflist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typevar", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Constraint", + "wrapped": true, + "fields": [ + { + "name": "access_method", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "conname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "contype", + "type": "ConstrType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cooked_expr", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "deferrable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exclusions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fk_attrs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fk_del_action", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "fk_del_set_cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fk_matchtype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "fk_upd_action", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "generated_when", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "including", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "indexname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexspace", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inhcount", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "initdeferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "initially_valid", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_no_inherit", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "keys", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_not_distinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "old_conpfeqop", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "old_pktable_oid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pk_attrs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pktable", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "raw_expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "reset_default_tblspc", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "skip_validation", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "where_clause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ConstraintsSetStmt", + "wrapped": true, + "fields": [ + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "deferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ConvertRowtypeExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "convertformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CopyStmt", + "wrapped": true, + "fields": [ + { + "name": "attlist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "filename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_from", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_program", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateAmStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "amtype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "handler_name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateCastStmt", + "wrapped": true, + "fields": [ + { + "name": "context", + "type": "CoercionContext", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "inout", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sourcetype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "targettype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateConversionStmt", + "wrapped": true, + "fields": [ + { + "name": "conversion_name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "def", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "for_encoding_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func_name", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "to_encoding_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreatedbStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateDomainStmt", + "wrapped": true, + "fields": [ + { + "name": "collClause", + "type": "CollateClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "domainname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateEnumStmt", + "wrapped": true, + "fields": [ + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "vals", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateEventTrigStmt", + "wrapped": true, + "fields": [ + { + "name": "eventname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "trigname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whenclause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateExtensionStmt", + "wrapped": true, + "fields": [ + { + "name": "extname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateFdwStmt", + "wrapped": true, + "fields": [ + { + "name": "fdwname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "func_options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateForeignServerStmt", + "wrapped": true, + "fields": [ + { + "name": "fdwname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "servertype", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "version", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateForeignTableStmt", + "wrapped": true, + "fields": [ + { + "name": "base", + "type": "CreateStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateFunctionStmt", + "wrapped": true, + "fields": [ + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "is_procedure", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "parameters", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "returnType", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sql_body", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateOpClassItem", + "wrapped": true, + "fields": [ + { + "name": "class_args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "itemtype", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "number", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "order_family", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "storedtype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateOpClassStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "datatype", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isDefault", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opclassname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opfamilyname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateOpFamilyStmt", + "wrapped": true, + "fields": [ + { + "name": "amname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opfamilyname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreatePLangStmt", + "wrapped": true, + "fields": [ + { + "name": "plhandler", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "plinline", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "plname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pltrusted", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "plvalidator", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreatePolicyStmt", + "wrapped": true, + "fields": [ + { + "name": "cmd_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "permissive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "policy_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "table", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "with_check", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreatePublicationStmt", + "wrapped": true, + "fields": [ + { + "name": "for_all_tables", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pubname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubobjects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateRangeStmt", + "wrapped": true, + "fields": [ + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "typeName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "CreateRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "role", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stmt_type", + "type": "RoleStmtType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateSchemaStmt", + "wrapped": true, + "fields": [ + { + "name": "authrole", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "schemaElts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "schemaname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateSeqStmt", + "wrapped": true, + "fields": [ + { + "name": "for_identity", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ownerId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sequence", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateStatsStmt", + "wrapped": true, + "fields": [ + { + "name": "defnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "exprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "stat_types", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "stxcomment", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "transformed", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateStmt", + "wrapped": true, + "fields": [ + { + "name": "accessMethod", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "constraints", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inhRelations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ofTypename", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "oncommit", + "type": "OnCommitAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "partbound", + "type": "PartitionBoundSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "partspec", + "type": "PartitionSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tableElts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateSubscriptionStmt", + "wrapped": true, + "fields": [ + { + "name": "conninfo", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "publication", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTableAsStmt", + "wrapped": true, + "fields": [ + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "into", + "type": "IntoClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "is_select_into", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTableSpaceStmt", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "owner", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTransformStmt", + "wrapped": true, + "fields": [ + { + "name": "fromsql", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "lang", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tosql", + "type": "ObjectWithArgs", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "type_name", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateTrigStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "columns", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "constrrel", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "deferrable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "events", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "initdeferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isconstraint", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "row", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "timing", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "transitionRels", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "trigname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whenClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CreateUserMappingStmt", + "wrapped": true, + "fields": [ + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "user", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CTECycleClause", + "wrapped": true, + "fields": [ + { + "name": "cycle_col_list", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "cycle_mark_collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_column", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_default", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_neop", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_type", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cycle_mark_value", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "cycle_path_column", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CTESearchClause", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "search_breadth_first", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "search_col_list", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "search_seq_column", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "CurrentOfExpr", + "wrapped": true, + "fields": [ + { + "name": "cursor_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cursor_param", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "cvarno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DeallocateStmt", + "wrapped": true, + "fields": [ + { + "name": "isall", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DeclareCursorStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "portalname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DefElem", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "defaction", + "type": "DefElemAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "defname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "defnamespace", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DefineStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "definition", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "defnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldstyle", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DeleteStmt", + "wrapped": true, + "fields": [ + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "usingClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DiscardStmt", + "wrapped": true, + "fields": [ + { + "name": "target", + "type": "DiscardMode", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DistinctExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DoStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropdbStmt", + "wrapped": true, + "fields": [ + { + "name": "dbname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropOwnedStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "DropStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "removeType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DropSubscriptionStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DropTableSpaceStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tablespacename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "DropUserMappingStmt", + "wrapped": true, + "fields": [ + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "servername", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "user", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ExecuteStmt", + "wrapped": true, + "fields": [ + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "ExplainStmt", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FetchStmt", + "wrapped": true, + "fields": [ + { + "name": "direction", + "type": "FetchDirection", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "howMany", + "type": "int64", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ismove", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "portalname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FieldSelect", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fieldnum", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FieldStore", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "fieldnums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "newvals", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Float", + "wrapped": true, + "fields": [ + { + "name": "fval", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FromExpr", + "wrapped": true, + "fields": [ + { + "name": "fromlist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "quals", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FuncCall", + "wrapped": true, + "fields": [ + { + "name": "agg_distinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "agg_filter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "agg_order", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "agg_star", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "agg_within_group", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "func_variadic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "over", + "type": "WindowDef", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FuncExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funcvariadic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "FunctionParameter", + "wrapped": true, + "fields": [ + { + "name": "argType", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "defexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "mode", + "type": "FunctionParameterMode", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "GrantRoleStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "granted_roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "grantee_roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "grantor", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "is_grant", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opt", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "GrantStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "grant_option", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "grantees", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "grantor", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "is_grant", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objects", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "privileges", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "targtype", + "type": "GrantTargetType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "GroupingFunc", + "wrapped": true, + "fields": [ + { + "name": "agglevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "GroupingSet", + "wrapped": true, + "fields": [ + { + "name": "content", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "kind", + "type": "GroupingSetKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ImportForeignSchemaStmt", + "wrapped": true, + "fields": [ + { + "name": "list_type", + "type": "ImportForeignSchemaType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "local_schema", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "remote_schema", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "server_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "table_list", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "IndexElem", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "indexcolname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_ordering", + "type": "SortByNulls", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opclass", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opclassopts", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ordering", + "type": "SortByDir", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "IndexStmt", + "wrapped": true, + "fields": [ + { + "name": "accessMethod", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "deferrable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "excludeOpNames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "idxcomment", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "idxname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "if_not_exists", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexIncludingParams", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "indexOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexParams", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "initdeferred", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isconstraint", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_not_distinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldCreateSubid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldFirstRelfilelocatorSubid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "oldNumber", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "primary", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "reset_default_tblspc", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tableSpace", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "transformed", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InferClause", + "wrapped": true, + "fields": [ + { + "name": "conname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "indexElems", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InferenceElem", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "infercollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inferopclass", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InlineCodeBlock", + "wrapped": true, + "fields": [ + { + "name": "atomic", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "langIsTrusted", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "langOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "source_text", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "InsertStmt", + "wrapped": true, + "fields": [ + { + "name": "cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onConflictClause", + "type": "OnConflictClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "selectStmt", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Integer", + "wrapped": true, + "fields": [ + { + "name": "ival", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "IntList", + "wrapped": true, + "fields": [ + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "IntoClause", + "wrapped": true, + "fields": [ + { + "name": "accessMethod", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colNames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onCommit", + "type": "OnCommitAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rel", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "skipData", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tableSpaceName", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "viewQuery", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JoinExpr", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isNatural", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "join_using_alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "jointype", + "type": "JoinType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "larg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "quals", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "rarg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "rtindex", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "usingClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "JsonAggConstructor", + "wrapped": true, + "fields": [ + { + "name": "agg_filter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "agg_order", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "over", + "type": "WindowDef", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonArgument", + "wrapped": true, + "fields": [ + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "val", + "type": "JsonValueExpr", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonArrayAgg", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "arg", + "type": "JsonValueExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constructor", + "type": "JsonAggConstructor", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonArrayConstructor", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonArrayQueryConstructor", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonBehavior", + "wrapped": true, + "fields": [ + { + "name": "btype", + "type": "JsonBehaviorType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "coerce", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonConstructorExpr", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coercion", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "func", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "returning", + "type": "JsonReturning", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "type", + "type": "JsonConstructorType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonExpr", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "column_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "formatted_expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "omit_quotes", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "on_empty", + "type": "JsonBehavior", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "on_error", + "type": "JsonBehavior", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "op", + "type": "JsonExprOp", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "passing_names", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "passing_values", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "path_spec", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "returning", + "type": "JsonReturning", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "use_io_coercion", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "use_json_coercion", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "wrapper", + "type": "JsonWrapper", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonFormat", + "wrapped": true, + "fields": [ + { + "name": "encoding", + "type": "JsonEncoding", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "format_type", + "type": "JsonFormatType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonFuncExpr", + "wrapped": true, + "fields": [ + { + "name": "column_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "context_item", + "type": "JsonValueExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "on_empty", + "type": "JsonBehavior", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "on_error", + "type": "JsonBehavior", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "op", + "type": "JsonExprOp", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "passing", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pathspec", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "quotes", + "type": "JsonQuotes", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "wrapper", + "type": "JsonWrapper", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonIsPredicate", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "item_type", + "type": "JsonValueType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "unique_keys", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonKeyValue", + "wrapped": true, + "fields": [ + { + "name": "key", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "value", + "type": "JsonValueExpr", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonObjectAgg", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "arg", + "type": "JsonKeyValue", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constructor", + "type": "JsonAggConstructor", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonObjectConstructor", + "wrapped": true, + "fields": [ + { + "name": "absent_on_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "unique", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonOutput", + "wrapped": true, + "fields": [ + { + "name": "returning", + "type": "JsonReturning", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonParseExpr", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "JsonValueExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "unique_keys", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonReturning", + "wrapped": true, + "fields": [ + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "typid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonScalarExpr", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonSerializeExpr", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "JsonValueExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "output", + "type": "JsonOutput", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonTable", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "columns", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "context_item", + "type": "JsonValueExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "on_error", + "type": "JsonBehavior", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "passing", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pathspec", + "type": "JsonTablePathSpec", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonTableColumn", + "wrapped": true, + "fields": [ + { + "name": "coltype", + "type": "JsonTableColumnType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "columns", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "on_empty", + "type": "JsonBehavior", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "on_error", + "type": "JsonBehavior", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "pathspec", + "type": "JsonTablePathSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "quotes", + "type": "JsonQuotes", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "wrapper", + "type": "JsonWrapper", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonTablePath", + "wrapped": true, + "fields": [ + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonTablePathScan", + "wrapped": true, + "fields": [ + { + "name": "child", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "colMax", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colMin", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "errorOnError", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "path", + "type": "JsonTablePath", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "plan", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonTablePathSpec", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name_location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "string", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonTableSiblingJoin", + "wrapped": true, + "fields": [ + { + "name": "lplan", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "plan", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "rplan", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "JsonValueExpr", + "wrapped": true, + "fields": [ + { + "name": "format", + "type": "JsonFormat", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "formatted_expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "raw_expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "List", + "wrapped": true, + "fields": [ + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "ListenStmt", + "wrapped": true, + "fields": [ + { + "name": "conditionname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "LoadStmt", + "wrapped": true, + "fields": [ + { + "name": "filename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "LockingClause", + "wrapped": true, + "fields": [ + { + "name": "lockedRels", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "strength", + "type": "LockClauseStrength", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "waitPolicy", + "type": "LockWaitPolicy", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "LockStmt", + "wrapped": true, + "fields": [ + { + "name": "mode", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nowait", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "MergeAction", + "wrapped": true, + "fields": [ + { + "name": "commandType", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "matchKind", + "type": "MergeMatchKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "updateColnos", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "MergeStmt", + "wrapped": true, + "fields": [ + { + "name": "joinCondition", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "mergeWhenClauses", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "sourceRelation", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "MergeSupportFunc", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "msfcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "msftype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "MergeWhenClause", + "wrapped": true, + "fields": [ + { + "name": "commandType", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "condition", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "matchKind", + "type": "MergeMatchKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "values", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "MinMaxExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "minmaxcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "minmaxtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "op", + "type": "MinMaxOp", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "MultiAssignRef", + "wrapped": true, + "fields": [ + { + "name": "colno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ncolumns", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "source", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NamedArgExpr", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "argnumber", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NextValueExpr", + "wrapped": true, + "fields": [ + { + "name": "seqid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NotifyStmt", + "wrapped": true, + "fields": [ + { + "name": "conditionname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "payload", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NullIfExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "NullTest", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "argisrow", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulltesttype", + "type": "NullTestType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ObjectWithArgs", + "wrapped": true, + "fields": [ + { + "name": "args_unspecified", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "objargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "objfuncargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "objname", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "OidList", + "wrapped": true, + "fields": [ + { + "name": "items", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "OnConflictClause", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "OnConflictAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "infer", + "type": "InferClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "OnConflictExpr", + "wrapped": true, + "fields": [ + { + "name": "action", + "type": "OnConflictAction", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "arbiterElems", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "arbiterWhere", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "constraint", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exclRelIndex", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "exclRelTlist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onConflictSet", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "onConflictWhere", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "OpExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opresulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opretset", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Param", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramid", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramkind", + "type": "ParamKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramtypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ParamRef", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "number", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ParseResult", + "wrapped": false, + "fields": [ + { + "name": "stmts", + "type": "RawStmt", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "version", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PartitionBoundSpec", + "wrapped": true, + "fields": [ + { + "name": "is_default", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "listdatums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lowerdatums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "modulus", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "remainder", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "strategy", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "upperdatums", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "PartitionCmd", + "wrapped": true, + "fields": [ + { + "name": "bound", + "type": "PartitionBoundSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PartitionElem", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opclass", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "PartitionRangeDatum", + "wrapped": true, + "fields": [ + { + "name": "kind", + "type": "PartitionRangeDatumKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "value", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PartitionSpec", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "partParams", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "strategy", + "type": "PartitionStrategy", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PLAssignStmt", + "wrapped": true, + "fields": [ + { + "name": "indirection", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nnames", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "val", + "type": "SelectStmt", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PrepareStmt", + "wrapped": true, + "fields": [ + { + "name": "argtypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PublicationObjSpec", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubobjtype", + "type": "PublicationObjSpecType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "pubtable", + "type": "PublicationTable", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "PublicationTable", + "wrapped": true, + "fields": [ + { + "name": "columns", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "Query", + "wrapped": true, + "fields": [ + { + "name": "canSetTag", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "commandType", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "constraintDeps", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "cteList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "distinctClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupDistinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "groupingSets", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "hasAggs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasDistinctOn", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasForUpdate", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasModifyingCTE", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasRecursive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasRowSecurity", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasSubLinks", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasTargetSRFs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hasWindowFuncs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "havingQual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "isReturn", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "jointree", + "type": "FromExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitCount", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOption", + "type": "LimitOption", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "mergeActionList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "mergeJoinCondition", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "mergeTargetRelation", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "onConflict", + "type": "OnConflictExpr", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "override", + "type": "OverridingKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "querySource", + "type": "QuerySource", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultRelation", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rowMarks", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rtable", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rteperminfos", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "setOperations", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sortClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "stmt_len", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stmt_location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "utilityStmt", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "windowClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "withCheckOptions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RangeFunction", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "coldeflist", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "functions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "is_rowsfrom", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ordinality", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeSubselect", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subquery", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTableFunc", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "columns", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "docexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "namespaces", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rowexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTableFuncCol", + "wrapped": true, + "fields": [ + { + "name": "coldefexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "colexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "colname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "for_ordinality", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "is_not_null", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTableSample", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "method", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "repeatable", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeTblEntry", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "colcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ctelevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ctename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "enrname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "enrtuples", + "type": "double", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "eref", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "funcordinality", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "functions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inFromCl", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inh", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "join_using_alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "joinaliasvars", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "joinleftcols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "joinmergedcols", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "joinrightcols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "jointype", + "type": "JoinType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lateral", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "perminfoindex", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relkind", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rellockmode", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rtekind", + "type": "RTEKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "security_barrier", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "securityQuals", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "self_reference", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subquery", + "type": "Query", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tablefunc", + "type": "TableFunc", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tablesample", + "type": "TableSampleClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "values_lists", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RangeTblFunction", + "wrapped": true, + "fields": [ + { + "name": "funccolcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccolcount", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "funccolnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccoltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funccoltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "funcexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "funcparams", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RangeTblRef", + "wrapped": true, + "fields": [ + { + "name": "rtindex", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RangeVar", + "wrapped": true, + "fields": [ + { + "name": "alias", + "type": "Alias", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "catalogname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inh", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relpersistence", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "schemaname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RawStmt", + "wrapped": true, + "fields": [ + { + "name": "stmt", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "stmt_len", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "stmt_location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReassignOwnedStmt", + "wrapped": true, + "fields": [ + { + "name": "newrole", + "type": "RoleSpec", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "roles", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RefreshMatViewStmt", + "wrapped": true, + "fields": [ + { + "name": "concurrent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "skipData", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReindexStmt", + "wrapped": true, + "fields": [ + { + "name": "kind", + "type": "ReindexObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "params", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RelabelType", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relabelformat", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resultcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resulttypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RenameStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "missing_ok", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "newname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relationType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "renameType", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReplicaIdentityStmt", + "wrapped": true, + "fields": [ + { + "name": "identity_type", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ResTarget", + "wrapped": true, + "fields": [ + { + "name": "indirection", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "val", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ReturnStmt", + "wrapped": true, + "fields": [ + { + "name": "returnval", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RoleSpec", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rolename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "roletype", + "type": "RoleSpecType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RowCompareExpr", + "wrapped": true, + "fields": [ + { + "name": "inputcollids", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "largs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opfamilies", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "opnos", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rargs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rctype", + "type": "RowCompareType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RowExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "row_format", + "type": "CoercionForm", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "row_typeid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RowMarkClause", + "wrapped": true, + "fields": [ + { + "name": "pushedDown", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rti", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "strength", + "type": "LockClauseStrength", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "waitPolicy", + "type": "LockWaitPolicy", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "RTEPermissionInfo", + "wrapped": true, + "fields": [ + { + "name": "checkAsUser", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inh", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "insertedCols", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "relid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "requiredPerms", + "type": "uint64", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "selectedCols", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "updatedCols", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "RuleStmt", + "wrapped": true, + "fields": [ + { + "name": "actions", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "event", + "type": "CmdType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "instead", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rulename", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ScalarArrayOpExpr", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "useOr", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ScanResult", + "wrapped": false, + "fields": [ + { + "name": "tokens", + "type": "ScanToken", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "version", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ScanToken", + "wrapped": false, + "fields": [ + { + "name": "end", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "keywordKind", + "type": "KeywordKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "start", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "token", + "type": "Token", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SecLabelStmt", + "wrapped": true, + "fields": [ + { + "name": "label", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "object", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "objtype", + "type": "ObjectType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "provider", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SelectStmt", + "wrapped": true, + "fields": [ + { + "name": "all", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "distinctClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "fromClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupDistinct", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "havingClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "intoClause", + "type": "IntoClause", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "larg", + "type": "SelectStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitCount", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "limitOption", + "type": "LimitOption", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "lockingClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "op", + "type": "SetOperation", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rarg", + "type": "SelectStmt", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sortClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "valuesLists", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "windowClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SetOperationStmt", + "wrapped": true, + "fields": [ + { + "name": "all", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "colCollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colTypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colTypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "groupClauses", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "larg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "op", + "type": "SetOperation", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "rarg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SetToDefault", + "wrapped": true, + "fields": [ + { + "name": "collation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeId", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeMod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SinglePartitionSpec", + "wrapped": true, + "fields": [] + }, + { + "name": "SortBy", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "node", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "sortby_dir", + "type": "SortByDir", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sortby_nulls", + "type": "SortByNulls", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "useOp", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "SortGroupClause", + "wrapped": true, + "fields": [ + { + "name": "eqop", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "hashable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "nulls_first", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "sortop", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "tleSortGroupRef", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SQLValueFunction", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "op", + "type": "SQLValueFunctionOp", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "type", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "StatsElem", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "String", + "wrapped": true, + "fields": [ + { + "name": "sval", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SubLink", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "operName", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "subLinkId", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subLinkType", + "type": "SubLinkType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subselect", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "testexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SubPlan", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "firstColCollation", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "firstColType", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "firstColTypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "parallel_safe", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "paramIds", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "parParam", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "per_call_cost", + "type": "double", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "plan_id", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "plan_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "setParam", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "startup_cost", + "type": "double", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "subLinkType", + "type": "SubLinkType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "testexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "unknownEqFalse", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "useHashTable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "SubscriptingRef", + "wrapped": true, + "fields": [ + { + "name": "refassgnexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "refcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refcontainertype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refelemtype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "reflowerindexpr", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "refrestype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "reftypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "refupperindexpr", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TableFunc", + "wrapped": true, + "fields": [ + { + "name": "colcollations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coldefexprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colexprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colnames", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "coltypmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "colvalexprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "docexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "functype", + "type": "TableFuncType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "notnulls", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "ns_names", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ns_uris", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "ordinalitycol", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "passingvalexprs", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "plan", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "rowexpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TableLikeClause", + "wrapped": true, + "fields": [ + { + "name": "options", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relationOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TableSampleClause", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "repeatable", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "tsmhandler", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TargetEntry", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "resjunk", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resorigcol", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "resorigtbl", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "ressortgroupref", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TransactionStmt", + "wrapped": true, + "fields": [ + { + "name": "chain", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "gid", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "TransactionStmtKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "savepoint_name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TriggerTransition", + "wrapped": true, + "fields": [ + { + "name": "isNew", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "isTable", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TruncateStmt", + "wrapped": true, + "fields": [ + { + "name": "behavior", + "type": "DropBehavior", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relations", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "restart_seqs", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TypeCast", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "TypeName", + "wrapped": true, + "fields": [ + { + "name": "arrayBounds", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "names", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "pct_type", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "setof", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typemod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeOid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmods", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "UnlistenStmt", + "wrapped": true, + "fields": [ + { + "name": "conditionname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "UpdateStmt", + "wrapped": true, + "fields": [ + { + "name": "fromClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "returningList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "targetList", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "whereClause", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withClause", + "type": "WithClause", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "VacuumRelation", + "wrapped": true, + "fields": [ + { + "name": "oid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "relation", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "va_cols", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "VacuumStmt", + "wrapped": true, + "fields": [ + { + "name": "is_vacuumcmd", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "rels", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + } + ] + }, + { + "name": "Var", + "wrapped": true, + "fields": [ + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varattno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varlevelsup", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varno", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "varnullingrels", + "type": "uint64", + "isNode": false, + "isArray": true, + "optional": true + }, + { + "name": "vartype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "vartypmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "VariableSetStmt", + "wrapped": true, + "fields": [ + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "is_local", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "VariableSetKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "VariableShowStmt", + "wrapped": true, + "fields": [ + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "ViewStmt", + "wrapped": true, + "fields": [ + { + "name": "aliases", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "options", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "query", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "replace", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "view", + "type": "RangeVar", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "withCheckOption", + "type": "ViewCheckOption", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WindowClause", + "wrapped": true, + "fields": [ + { + "name": "copiedOrder", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "endInRangeFunc", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "endOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "frameOptions", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inRangeAsc", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inRangeColl", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "inRangeNullsFirst", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "orderClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "partitionClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "refname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "startInRangeFunc", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "startOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "winref", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WindowDef", + "wrapped": true, + "fields": [ + { + "name": "endOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "frameOptions", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "orderClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "partitionClause", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "refname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "startOffset", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WindowFunc", + "wrapped": true, + "fields": [ + { + "name": "aggfilter", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "runCondition", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "winagg", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "wincollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winfnoid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winref", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "winstar", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "wintype", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WindowFuncRunCondition", + "wrapped": true, + "fields": [ + { + "name": "arg", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "inputcollid", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "opno", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "wfunc_left", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WithCheckOption", + "wrapped": true, + "fields": [ + { + "name": "cascaded", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "kind", + "type": "WCOKind", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "polname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "qual", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "relname", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "WithClause", + "wrapped": true, + "fields": [ + { + "name": "ctes", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "recursive", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "XmlExpr", + "wrapped": true, + "fields": [ + { + "name": "arg_names", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "indent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "name", + "type": "string", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "named_args", + "type": "Node", + "isNode": true, + "isArray": true, + "optional": true + }, + { + "name": "op", + "type": "XmlExprOp", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "type", + "type": "uint32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typmod", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xmloption", + "type": "XmlOptionType", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "xpr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + } + ] + }, + { + "name": "XmlSerialize", + "wrapped": true, + "fields": [ + { + "name": "expr", + "type": "Node", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "indent", + "type": "bool", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "location", + "type": "int32", + "isNode": false, + "isArray": false, + "optional": true + }, + { + "name": "typeName", + "type": "TypeName", + "isNode": true, + "isArray": false, + "optional": true + }, + { + "name": "xmloption", + "type": "XmlOptionType", + "isNode": false, + "isArray": false, + "optional": true + } + ] + } +]", + "file": "latest-schema.json", + }, +] +`; + +exports[`runtime-schema runtime schema with typescript and all features 1`] = ` +[ + { + "code": "/** +* This file was automatically generated by pg-proto-parser@latest. +* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, +* and run the pg-proto-parser generate command to regenerate this file. +*/ +import _o from "nested-obj"; +import { ParseResult, ScanResult, Integer, Float, Boolean, String, BitString, List, OidList, IntList, A_Const, Alias, RangeVar, TableFunc, IntoClause, Var, Param, Aggref, GroupingFunc, WindowFunc, SubscriptingRef, FuncExpr, NamedArgExpr, OpExpr, DistinctExpr, NullIfExpr, ScalarArrayOpExpr, BoolExpr, SubLink, SubPlan, AlternativeSubPlan, FieldSelect, FieldStore, RelabelType, CoerceViaIO, ArrayCoerceExpr, ConvertRowtypeExpr, CollateExpr, CaseExpr, CaseWhen, CaseTestExpr, ArrayExpr, RowExpr, RowCompareExpr, CoalesceExpr, MinMaxExpr, SQLValueFunction, XmlExpr, JsonFormat, JsonReturning, JsonValueExpr, JsonConstructorExpr, JsonIsPredicate, NullTest, BooleanTest, CoerceToDomain, CoerceToDomainValue, SetToDefault, CurrentOfExpr, NextValueExpr, InferenceElem, TargetEntry, RangeTblRef, JoinExpr, FromExpr, OnConflictExpr, Query, TypeName, ColumnRef, ParamRef, A_Expr, TypeCast, CollateClause, RoleSpec, FuncCall, A_Star, A_Indices, A_Indirection, A_ArrayExpr, ResTarget, MultiAssignRef, SortBy, WindowDef, RangeSubselect, RangeFunction, RangeTableFunc, RangeTableFuncCol, RangeTableSample, ColumnDef, TableLikeClause, IndexElem, DefElem, LockingClause, XmlSerialize, PartitionElem, PartitionSpec, PartitionBoundSpec, PartitionRangeDatum, PartitionCmd, RangeTblEntry, RTEPermissionInfo, RangeTblFunction, TableSampleClause, WithCheckOption, SortGroupClause, GroupingSet, WindowClause, RowMarkClause, WithClause, InferClause, OnConflictClause, CTESearchClause, CTECycleClause, CommonTableExpr, MergeWhenClause, MergeAction, TriggerTransition, JsonOutput, JsonKeyValue, JsonObjectConstructor, JsonArrayConstructor, JsonArrayQueryConstructor, JsonAggConstructor, JsonObjectAgg, JsonArrayAgg, RawStmt, InsertStmt, DeleteStmt, UpdateStmt, MergeStmt, SelectStmt, SetOperationStmt, ReturnStmt, PLAssignStmt, CreateSchemaStmt, AlterTableStmt, ReplicaIdentityStmt, AlterTableCmd, AlterCollationStmt, AlterDomainStmt, GrantStmt, ObjectWithArgs, AccessPriv, GrantRoleStmt, AlterDefaultPrivilegesStmt, CopyStmt, VariableSetStmt, VariableShowStmt, CreateStmt, Constraint, CreateTableSpaceStmt, DropTableSpaceStmt, AlterTableSpaceOptionsStmt, AlterTableMoveAllStmt, CreateExtensionStmt, AlterExtensionStmt, AlterExtensionContentsStmt, CreateFdwStmt, AlterFdwStmt, CreateForeignServerStmt, AlterForeignServerStmt, CreateForeignTableStmt, CreateUserMappingStmt, AlterUserMappingStmt, DropUserMappingStmt, ImportForeignSchemaStmt, CreatePolicyStmt, AlterPolicyStmt, CreateAmStmt, CreateTrigStmt, CreateEventTrigStmt, AlterEventTrigStmt, CreatePLangStmt, CreateRoleStmt, AlterRoleStmt, AlterRoleSetStmt, DropRoleStmt, CreateSeqStmt, AlterSeqStmt, DefineStmt, CreateDomainStmt, CreateOpClassStmt, CreateOpClassItem, CreateOpFamilyStmt, AlterOpFamilyStmt, DropStmt, TruncateStmt, CommentStmt, SecLabelStmt, DeclareCursorStmt, ClosePortalStmt, FetchStmt, IndexStmt, CreateStatsStmt, StatsElem, AlterStatsStmt, CreateFunctionStmt, FunctionParameter, AlterFunctionStmt, DoStmt, InlineCodeBlock, CallStmt, CallContext, RenameStmt, AlterObjectDependsStmt, AlterObjectSchemaStmt, AlterOwnerStmt, AlterOperatorStmt, AlterTypeStmt, RuleStmt, NotifyStmt, ListenStmt, UnlistenStmt, TransactionStmt, CompositeTypeStmt, CreateEnumStmt, CreateRangeStmt, AlterEnumStmt, ViewStmt, LoadStmt, CreatedbStmt, AlterDatabaseStmt, AlterDatabaseRefreshCollStmt, AlterDatabaseSetStmt, DropdbStmt, AlterSystemStmt, ClusterStmt, VacuumStmt, VacuumRelation, ExplainStmt, CreateTableAsStmt, RefreshMatViewStmt, CheckPointStmt, DiscardStmt, LockStmt, ConstraintsSetStmt, ReindexStmt, CreateConversionStmt, CreateCastStmt, CreateTransformStmt, PrepareStmt, ExecuteStmt, DeallocateStmt, DropOwnedStmt, ReassignOwnedStmt, AlterTSDictionaryStmt, AlterTSConfigurationStmt, PublicationTable, PublicationObjSpec, CreatePublicationStmt, AlterPublicationStmt, CreateSubscriptionStmt, AlterSubscriptionStmt, DropSubscriptionStmt, ScanToken } from "./wrapped"; +export default { + parseResult(_p?: ParseResult): ParseResult { + const _j = ({} as ParseResult); + _o.set(_j, "version", _p?.version); + _o.set(_j, "stmts", _p?.stmts); + return _j; + }, + scanResult(_p?: ScanResult): ScanResult { + const _j = ({} as ScanResult); + _o.set(_j, "version", _p?.version); + _o.set(_j, "tokens", _p?.tokens); + return _j; + }, + integer(_p?: Integer): Integer { + const _j = ({} as Integer); + _o.set(_j, "ival", _p?.ival); + return _j; + }, + float(_p?: Float): Float { + const _j = ({} as Float); + _o.set(_j, "fval", _p?.fval); + return _j; + }, + boolean(_p?: Boolean): Boolean { + const _j = ({} as Boolean); + _o.set(_j, "boolval", _p?.boolval); + return _j; + }, + string(_p?: String): String { + const _j = ({} as String); + _o.set(_j, "sval", _p?.sval); + return _j; + }, + bitString(_p?: BitString): BitString { + const _j = ({} as BitString); + _o.set(_j, "bsval", _p?.bsval); + return _j; + }, + list(_p?: List): List { + const _j = ({} as List); + _o.set(_j, "items", _p?.items); + return _j; + }, + oidList(_p?: OidList): OidList { + const _j = ({} as OidList); + _o.set(_j, "items", _p?.items); + return _j; + }, + intList(_p?: IntList): IntList { + const _j = ({} as IntList); + _o.set(_j, "items", _p?.items); + return _j; + }, + aConst(_p?: A_Const): A_Const { + const _j = ({} as A_Const); + _o.set(_j, "ival", _p?.ival); + _o.set(_j, "fval", _p?.fval); + _o.set(_j, "boolval", _p?.boolval); + _o.set(_j, "sval", _p?.sval); + _o.set(_j, "bsval", _p?.bsval); + _o.set(_j, "isnull", _p?.isnull); + _o.set(_j, "location", _p?.location); + return _j; + }, + alias(_p?: Alias): Alias { + const _j = ({} as Alias); + _o.set(_j, "aliasname", _p?.aliasname); + _o.set(_j, "colnames", _p?.colnames); + return _j; + }, + rangeVar(_p?: RangeVar): RangeVar { + const _j = ({} as RangeVar); + _o.set(_j, "catalogname", _p?.catalogname); + _o.set(_j, "schemaname", _p?.schemaname); + _o.set(_j, "relname", _p?.relname); + _o.set(_j, "inh", _p?.inh); + _o.set(_j, "relpersistence", _p?.relpersistence); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "location", _p?.location); + return _j; + }, + tableFunc(_p?: TableFunc): TableFunc { + const _j = ({} as TableFunc); + _o.set(_j, "ns_uris", _p?.ns_uris); + _o.set(_j, "ns_names", _p?.ns_names); + _o.set(_j, "docexpr", _p?.docexpr); + _o.set(_j, "rowexpr", _p?.rowexpr); + _o.set(_j, "colnames", _p?.colnames); + _o.set(_j, "coltypes", _p?.coltypes); + _o.set(_j, "coltypmods", _p?.coltypmods); + _o.set(_j, "colcollations", _p?.colcollations); + _o.set(_j, "colexprs", _p?.colexprs); + _o.set(_j, "coldefexprs", _p?.coldefexprs); + _o.set(_j, "notnulls", _p?.notnulls); + _o.set(_j, "ordinalitycol", _p?.ordinalitycol); + _o.set(_j, "location", _p?.location); + return _j; + }, + intoClause(_p?: IntoClause): IntoClause { + const _j = ({} as IntoClause); + _o.set(_j, "rel", _p?.rel); + _o.set(_j, "colNames", _p?.colNames); + _o.set(_j, "accessMethod", _p?.accessMethod); + _o.set(_j, "options", _p?.options); + _o.set(_j, "onCommit", _p?.onCommit); + _o.set(_j, "tableSpaceName", _p?.tableSpaceName); + _o.set(_j, "viewQuery", _p?.viewQuery); + _o.set(_j, "skipData", _p?.skipData); + return _j; + }, + var(_p?: Var): Var { + const _j = ({} as Var); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "varno", _p?.varno); + _o.set(_j, "varattno", _p?.varattno); + _o.set(_j, "vartype", _p?.vartype); + _o.set(_j, "vartypmod", _p?.vartypmod); + _o.set(_j, "varcollid", _p?.varcollid); + _o.set(_j, "varnullingrels", _p?.varnullingrels); + _o.set(_j, "varlevelsup", _p?.varlevelsup); + _o.set(_j, "location", _p?.location); + return _j; + }, + param(_p?: Param): Param { + const _j = ({} as Param); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "paramkind", _p?.paramkind); + _o.set(_j, "paramid", _p?.paramid); + _o.set(_j, "paramtype", _p?.paramtype); + _o.set(_j, "paramtypmod", _p?.paramtypmod); + _o.set(_j, "paramcollid", _p?.paramcollid); + _o.set(_j, "location", _p?.location); + return _j; + }, + aggref(_p?: Aggref): Aggref { + const _j = ({} as Aggref); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "aggfnoid", _p?.aggfnoid); + _o.set(_j, "aggtype", _p?.aggtype); + _o.set(_j, "aggcollid", _p?.aggcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "aggargtypes", _p?.aggargtypes); + _o.set(_j, "aggdirectargs", _p?.aggdirectargs); + _o.set(_j, "args", _p?.args); + _o.set(_j, "aggorder", _p?.aggorder); + _o.set(_j, "aggdistinct", _p?.aggdistinct); + _o.set(_j, "aggfilter", _p?.aggfilter); + _o.set(_j, "aggstar", _p?.aggstar); + _o.set(_j, "aggvariadic", _p?.aggvariadic); + _o.set(_j, "aggkind", _p?.aggkind); + _o.set(_j, "agglevelsup", _p?.agglevelsup); + _o.set(_j, "aggsplit", _p?.aggsplit); + _o.set(_j, "aggno", _p?.aggno); + _o.set(_j, "aggtransno", _p?.aggtransno); + _o.set(_j, "location", _p?.location); + return _j; + }, + groupingFunc(_p?: GroupingFunc): GroupingFunc { + const _j = ({} as GroupingFunc); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "args", _p?.args); + _o.set(_j, "refs", _p?.refs); + _o.set(_j, "agglevelsup", _p?.agglevelsup); + _o.set(_j, "location", _p?.location); + return _j; + }, + windowFunc(_p?: WindowFunc): WindowFunc { + const _j = ({} as WindowFunc); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "winfnoid", _p?.winfnoid); + _o.set(_j, "wintype", _p?.wintype); + _o.set(_j, "wincollid", _p?.wincollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "aggfilter", _p?.aggfilter); + _o.set(_j, "winref", _p?.winref); + _o.set(_j, "winstar", _p?.winstar); + _o.set(_j, "winagg", _p?.winagg); + _o.set(_j, "location", _p?.location); + return _j; + }, + subscriptingRef(_p?: SubscriptingRef): SubscriptingRef { + const _j = ({} as SubscriptingRef); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "refcontainertype", _p?.refcontainertype); + _o.set(_j, "refelemtype", _p?.refelemtype); + _o.set(_j, "refrestype", _p?.refrestype); + _o.set(_j, "reftypmod", _p?.reftypmod); + _o.set(_j, "refcollid", _p?.refcollid); + _o.set(_j, "refupperindexpr", _p?.refupperindexpr); + _o.set(_j, "reflowerindexpr", _p?.reflowerindexpr); + _o.set(_j, "refexpr", _p?.refexpr); + _o.set(_j, "refassgnexpr", _p?.refassgnexpr); + return _j; + }, + funcExpr(_p?: FuncExpr): FuncExpr { + const _j = ({} as FuncExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "funcid", _p?.funcid); + _o.set(_j, "funcresulttype", _p?.funcresulttype); + _o.set(_j, "funcretset", _p?.funcretset); + _o.set(_j, "funcvariadic", _p?.funcvariadic); + _o.set(_j, "funcformat", _p?.funcformat); + _o.set(_j, "funccollid", _p?.funccollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + namedArgExpr(_p?: NamedArgExpr): NamedArgExpr { + const _j = ({} as NamedArgExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "name", _p?.name); + _o.set(_j, "argnumber", _p?.argnumber); + _o.set(_j, "location", _p?.location); + return _j; + }, + opExpr(_p?: OpExpr): OpExpr { + const _j = ({} as OpExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "opresulttype", _p?.opresulttype); + _o.set(_j, "opretset", _p?.opretset); + _o.set(_j, "opcollid", _p?.opcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + distinctExpr(_p?: DistinctExpr): DistinctExpr { + const _j = ({} as DistinctExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "opresulttype", _p?.opresulttype); + _o.set(_j, "opretset", _p?.opretset); + _o.set(_j, "opcollid", _p?.opcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + nullIfExpr(_p?: NullIfExpr): NullIfExpr { + const _j = ({} as NullIfExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "opresulttype", _p?.opresulttype); + _o.set(_j, "opretset", _p?.opretset); + _o.set(_j, "opcollid", _p?.opcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + scalarArrayOpExpr(_p?: ScalarArrayOpExpr): ScalarArrayOpExpr { + const _j = ({} as ScalarArrayOpExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "useOr", _p?.useOr); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + boolExpr(_p?: BoolExpr): BoolExpr { + const _j = ({} as BoolExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "boolop", _p?.boolop); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + subLink(_p?: SubLink): SubLink { + const _j = ({} as SubLink); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "subLinkType", _p?.subLinkType); + _o.set(_j, "subLinkId", _p?.subLinkId); + _o.set(_j, "testexpr", _p?.testexpr); + _o.set(_j, "operName", _p?.operName); + _o.set(_j, "subselect", _p?.subselect); + _o.set(_j, "location", _p?.location); + return _j; + }, + subPlan(_p?: SubPlan): SubPlan { + const _j = ({} as SubPlan); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "subLinkType", _p?.subLinkType); + _o.set(_j, "testexpr", _p?.testexpr); + _o.set(_j, "paramIds", _p?.paramIds); + _o.set(_j, "plan_id", _p?.plan_id); + _o.set(_j, "plan_name", _p?.plan_name); + _o.set(_j, "firstColType", _p?.firstColType); + _o.set(_j, "firstColTypmod", _p?.firstColTypmod); + _o.set(_j, "firstColCollation", _p?.firstColCollation); + _o.set(_j, "useHashTable", _p?.useHashTable); + _o.set(_j, "unknownEqFalse", _p?.unknownEqFalse); + _o.set(_j, "parallel_safe", _p?.parallel_safe); + _o.set(_j, "setParam", _p?.setParam); + _o.set(_j, "parParam", _p?.parParam); + _o.set(_j, "args", _p?.args); + _o.set(_j, "startup_cost", _p?.startup_cost); + _o.set(_j, "per_call_cost", _p?.per_call_cost); + return _j; + }, + alternativeSubPlan(_p?: AlternativeSubPlan): AlternativeSubPlan { + const _j = ({} as AlternativeSubPlan); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "subplans", _p?.subplans); + return _j; + }, + fieldSelect(_p?: FieldSelect): FieldSelect { + const _j = ({} as FieldSelect); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "fieldnum", _p?.fieldnum); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + return _j; + }, + fieldStore(_p?: FieldStore): FieldStore { + const _j = ({} as FieldStore); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "newvals", _p?.newvals); + _o.set(_j, "fieldnums", _p?.fieldnums); + _o.set(_j, "resulttype", _p?.resulttype); + return _j; + }, + relabelType(_p?: RelabelType): RelabelType { + const _j = ({} as RelabelType); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "relabelformat", _p?.relabelformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + coerceViaio(_p?: CoerceViaIO): CoerceViaIO { + const _j = ({} as CoerceViaIO); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "coerceformat", _p?.coerceformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + arrayCoerceExpr(_p?: ArrayCoerceExpr): ArrayCoerceExpr { + const _j = ({} as ArrayCoerceExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "elemexpr", _p?.elemexpr); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "coerceformat", _p?.coerceformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + convertRowtypeExpr(_p?: ConvertRowtypeExpr): ConvertRowtypeExpr { + const _j = ({} as ConvertRowtypeExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "convertformat", _p?.convertformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + collateExpr(_p?: CollateExpr): CollateExpr { + const _j = ({} as CollateExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "collOid", _p?.collOid); + _o.set(_j, "location", _p?.location); + return _j; + }, + caseExpr(_p?: CaseExpr): CaseExpr { + const _j = ({} as CaseExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "casetype", _p?.casetype); + _o.set(_j, "casecollid", _p?.casecollid); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "args", _p?.args); + _o.set(_j, "defresult", _p?.defresult); + _o.set(_j, "location", _p?.location); + return _j; + }, + caseWhen(_p?: CaseWhen): CaseWhen { + const _j = ({} as CaseWhen); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "result", _p?.result); + _o.set(_j, "location", _p?.location); + return _j; + }, + caseTestExpr(_p?: CaseTestExpr): CaseTestExpr { + const _j = ({} as CaseTestExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "typeId", _p?.typeId); + _o.set(_j, "typeMod", _p?.typeMod); + _o.set(_j, "collation", _p?.collation); + return _j; + }, + arrayExpr(_p?: ArrayExpr): ArrayExpr { + const _j = ({} as ArrayExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "array_typeid", _p?.array_typeid); + _o.set(_j, "array_collid", _p?.array_collid); + _o.set(_j, "element_typeid", _p?.element_typeid); + _o.set(_j, "elements", _p?.elements); + _o.set(_j, "multidims", _p?.multidims); + _o.set(_j, "location", _p?.location); + return _j; + }, + rowExpr(_p?: RowExpr): RowExpr { + const _j = ({} as RowExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "args", _p?.args); + _o.set(_j, "row_typeid", _p?.row_typeid); + _o.set(_j, "row_format", _p?.row_format); + _o.set(_j, "colnames", _p?.colnames); + _o.set(_j, "location", _p?.location); + return _j; + }, + rowCompareExpr(_p?: RowCompareExpr): RowCompareExpr { + const _j = ({} as RowCompareExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "rctype", _p?.rctype); + _o.set(_j, "opnos", _p?.opnos); + _o.set(_j, "opfamilies", _p?.opfamilies); + _o.set(_j, "inputcollids", _p?.inputcollids); + _o.set(_j, "largs", _p?.largs); + _o.set(_j, "rargs", _p?.rargs); + return _j; + }, + coalesceExpr(_p?: CoalesceExpr): CoalesceExpr { + const _j = ({} as CoalesceExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "coalescetype", _p?.coalescetype); + _o.set(_j, "coalescecollid", _p?.coalescecollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + minMaxExpr(_p?: MinMaxExpr): MinMaxExpr { + const _j = ({} as MinMaxExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "minmaxtype", _p?.minmaxtype); + _o.set(_j, "minmaxcollid", _p?.minmaxcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "op", _p?.op); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + sqlValueFunction(_p?: SQLValueFunction): SQLValueFunction { + const _j = ({} as SQLValueFunction); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "op", _p?.op); + _o.set(_j, "type", _p?.type); + _o.set(_j, "typmod", _p?.typmod); + _o.set(_j, "location", _p?.location); + return _j; + }, + xmlExpr(_p?: XmlExpr): XmlExpr { + const _j = ({} as XmlExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "op", _p?.op); + _o.set(_j, "name", _p?.name); + _o.set(_j, "named_args", _p?.named_args); + _o.set(_j, "arg_names", _p?.arg_names); + _o.set(_j, "args", _p?.args); + _o.set(_j, "xmloption", _p?.xmloption); + _o.set(_j, "indent", _p?.indent); + _o.set(_j, "type", _p?.type); + _o.set(_j, "typmod", _p?.typmod); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonFormat(_p?: JsonFormat): JsonFormat { + const _j = ({} as JsonFormat); + _o.set(_j, "format_type", _p?.format_type); + _o.set(_j, "encoding", _p?.encoding); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonReturning(_p?: JsonReturning): JsonReturning { + const _j = ({} as JsonReturning); + _o.set(_j, "format", _p?.format); + _o.set(_j, "typid", _p?.typid); + _o.set(_j, "typmod", _p?.typmod); + return _j; + }, + jsonValueExpr(_p?: JsonValueExpr): JsonValueExpr { + const _j = ({} as JsonValueExpr); + _o.set(_j, "raw_expr", _p?.raw_expr); + _o.set(_j, "formatted_expr", _p?.formatted_expr); + _o.set(_j, "format", _p?.format); + return _j; + }, + jsonConstructorExpr(_p?: JsonConstructorExpr): JsonConstructorExpr { + const _j = ({} as JsonConstructorExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "type", _p?.type); + _o.set(_j, "args", _p?.args); + _o.set(_j, "func", _p?.func); + _o.set(_j, "coercion", _p?.coercion); + _o.set(_j, "returning", _p?.returning); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "unique", _p?.unique); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonIsPredicate(_p?: JsonIsPredicate): JsonIsPredicate { + const _j = ({} as JsonIsPredicate); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "format", _p?.format); + _o.set(_j, "item_type", _p?.item_type); + _o.set(_j, "unique_keys", _p?.unique_keys); + _o.set(_j, "location", _p?.location); + return _j; + }, + nullTest(_p?: NullTest): NullTest { + const _j = ({} as NullTest); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "nulltesttype", _p?.nulltesttype); + _o.set(_j, "argisrow", _p?.argisrow); + _o.set(_j, "location", _p?.location); + return _j; + }, + booleanTest(_p?: BooleanTest): BooleanTest { + const _j = ({} as BooleanTest); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "booltesttype", _p?.booltesttype); + _o.set(_j, "location", _p?.location); + return _j; + }, + coerceToDomain(_p?: CoerceToDomain): CoerceToDomain { + const _j = ({} as CoerceToDomain); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "coercionformat", _p?.coercionformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + coerceToDomainValue(_p?: CoerceToDomainValue): CoerceToDomainValue { + const _j = ({} as CoerceToDomainValue); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "typeId", _p?.typeId); + _o.set(_j, "typeMod", _p?.typeMod); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "location", _p?.location); + return _j; + }, + setToDefault(_p?: SetToDefault): SetToDefault { + const _j = ({} as SetToDefault); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "typeId", _p?.typeId); + _o.set(_j, "typeMod", _p?.typeMod); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "location", _p?.location); + return _j; + }, + currentOfExpr(_p?: CurrentOfExpr): CurrentOfExpr { + const _j = ({} as CurrentOfExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "cvarno", _p?.cvarno); + _o.set(_j, "cursor_name", _p?.cursor_name); + _o.set(_j, "cursor_param", _p?.cursor_param); + return _j; + }, + nextValueExpr(_p?: NextValueExpr): NextValueExpr { + const _j = ({} as NextValueExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "seqid", _p?.seqid); + _o.set(_j, "typeId", _p?.typeId); + return _j; + }, + inferenceElem(_p?: InferenceElem): InferenceElem { + const _j = ({} as InferenceElem); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "infercollid", _p?.infercollid); + _o.set(_j, "inferopclass", _p?.inferopclass); + return _j; + }, + targetEntry(_p?: TargetEntry): TargetEntry { + const _j = ({} as TargetEntry); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "resno", _p?.resno); + _o.set(_j, "resname", _p?.resname); + _o.set(_j, "ressortgroupref", _p?.ressortgroupref); + _o.set(_j, "resorigtbl", _p?.resorigtbl); + _o.set(_j, "resorigcol", _p?.resorigcol); + _o.set(_j, "resjunk", _p?.resjunk); + return _j; + }, + rangeTblRef(_p?: RangeTblRef): RangeTblRef { + const _j = ({} as RangeTblRef); + _o.set(_j, "rtindex", _p?.rtindex); + return _j; + }, + joinExpr(_p?: JoinExpr): JoinExpr { + const _j = ({} as JoinExpr); + _o.set(_j, "jointype", _p?.jointype); + _o.set(_j, "isNatural", _p?.isNatural); + _o.set(_j, "larg", _p?.larg); + _o.set(_j, "rarg", _p?.rarg); + _o.set(_j, "usingClause", _p?.usingClause); + _o.set(_j, "join_using_alias", _p?.join_using_alias); + _o.set(_j, "quals", _p?.quals); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "rtindex", _p?.rtindex); + return _j; + }, + fromExpr(_p?: FromExpr): FromExpr { + const _j = ({} as FromExpr); + _o.set(_j, "fromlist", _p?.fromlist); + _o.set(_j, "quals", _p?.quals); + return _j; + }, + onConflictExpr(_p?: OnConflictExpr): OnConflictExpr { + const _j = ({} as OnConflictExpr); + _o.set(_j, "action", _p?.action); + _o.set(_j, "arbiterElems", _p?.arbiterElems); + _o.set(_j, "arbiterWhere", _p?.arbiterWhere); + _o.set(_j, "constraint", _p?.constraint); + _o.set(_j, "onConflictSet", _p?.onConflictSet); + _o.set(_j, "onConflictWhere", _p?.onConflictWhere); + _o.set(_j, "exclRelIndex", _p?.exclRelIndex); + _o.set(_j, "exclRelTlist", _p?.exclRelTlist); + return _j; + }, + query(_p?: Query): Query { + const _j = ({} as Query); + _o.set(_j, "commandType", _p?.commandType); + _o.set(_j, "querySource", _p?.querySource); + _o.set(_j, "canSetTag", _p?.canSetTag); + _o.set(_j, "utilityStmt", _p?.utilityStmt); + _o.set(_j, "resultRelation", _p?.resultRelation); + _o.set(_j, "hasAggs", _p?.hasAggs); + _o.set(_j, "hasWindowFuncs", _p?.hasWindowFuncs); + _o.set(_j, "hasTargetSRFs", _p?.hasTargetSRFs); + _o.set(_j, "hasSubLinks", _p?.hasSubLinks); + _o.set(_j, "hasDistinctOn", _p?.hasDistinctOn); + _o.set(_j, "hasRecursive", _p?.hasRecursive); + _o.set(_j, "hasModifyingCTE", _p?.hasModifyingCTE); + _o.set(_j, "hasForUpdate", _p?.hasForUpdate); + _o.set(_j, "hasRowSecurity", _p?.hasRowSecurity); + _o.set(_j, "isReturn", _p?.isReturn); + _o.set(_j, "cteList", _p?.cteList); + _o.set(_j, "rtable", _p?.rtable); + _o.set(_j, "rteperminfos", _p?.rteperminfos); + _o.set(_j, "jointree", _p?.jointree); + _o.set(_j, "mergeActionList", _p?.mergeActionList); + _o.set(_j, "mergeUseOuterJoin", _p?.mergeUseOuterJoin); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "override", _p?.override); + _o.set(_j, "onConflict", _p?.onConflict); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "groupClause", _p?.groupClause); + _o.set(_j, "groupDistinct", _p?.groupDistinct); + _o.set(_j, "groupingSets", _p?.groupingSets); + _o.set(_j, "havingQual", _p?.havingQual); + _o.set(_j, "windowClause", _p?.windowClause); + _o.set(_j, "distinctClause", _p?.distinctClause); + _o.set(_j, "sortClause", _p?.sortClause); + _o.set(_j, "limitOffset", _p?.limitOffset); + _o.set(_j, "limitCount", _p?.limitCount); + _o.set(_j, "limitOption", _p?.limitOption); + _o.set(_j, "rowMarks", _p?.rowMarks); + _o.set(_j, "setOperations", _p?.setOperations); + _o.set(_j, "constraintDeps", _p?.constraintDeps); + _o.set(_j, "withCheckOptions", _p?.withCheckOptions); + _o.set(_j, "stmt_location", _p?.stmt_location); + _o.set(_j, "stmt_len", _p?.stmt_len); + return _j; + }, + typeName(_p?: TypeName): TypeName { + const _j = ({} as TypeName); + _o.set(_j, "names", _p?.names); + _o.set(_j, "typeOid", _p?.typeOid); + _o.set(_j, "setof", _p?.setof); + _o.set(_j, "pct_type", _p?.pct_type); + _o.set(_j, "typmods", _p?.typmods); + _o.set(_j, "typemod", _p?.typemod); + _o.set(_j, "arrayBounds", _p?.arrayBounds); + _o.set(_j, "location", _p?.location); + return _j; + }, + columnRef(_p?: ColumnRef): ColumnRef { + const _j = ({} as ColumnRef); + _o.set(_j, "fields", _p?.fields); + _o.set(_j, "location", _p?.location); + return _j; + }, + paramRef(_p?: ParamRef): ParamRef { + const _j = ({} as ParamRef); + _o.set(_j, "number", _p?.number); + _o.set(_j, "location", _p?.location); + return _j; + }, + aExpr(_p?: A_Expr): A_Expr { + const _j = ({} as A_Expr); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "name", _p?.name); + _o.set(_j, "lexpr", _p?.lexpr); + _o.set(_j, "rexpr", _p?.rexpr); + _o.set(_j, "location", _p?.location); + return _j; + }, + typeCast(_p?: TypeCast): TypeCast { + const _j = ({} as TypeCast); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "location", _p?.location); + return _j; + }, + collateClause(_p?: CollateClause): CollateClause { + const _j = ({} as CollateClause); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "collname", _p?.collname); + _o.set(_j, "location", _p?.location); + return _j; + }, + roleSpec(_p?: RoleSpec): RoleSpec { + const _j = ({} as RoleSpec); + _o.set(_j, "roletype", _p?.roletype); + _o.set(_j, "rolename", _p?.rolename); + _o.set(_j, "location", _p?.location); + return _j; + }, + funcCall(_p?: FuncCall): FuncCall { + const _j = ({} as FuncCall); + _o.set(_j, "funcname", _p?.funcname); + _o.set(_j, "args", _p?.args); + _o.set(_j, "agg_order", _p?.agg_order); + _o.set(_j, "agg_filter", _p?.agg_filter); + _o.set(_j, "over", _p?.over); + _o.set(_j, "agg_within_group", _p?.agg_within_group); + _o.set(_j, "agg_star", _p?.agg_star); + _o.set(_j, "agg_distinct", _p?.agg_distinct); + _o.set(_j, "func_variadic", _p?.func_variadic); + _o.set(_j, "funcformat", _p?.funcformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + aStar(_p?: A_Star): A_Star { + const _j = ({} as A_Star); + return _j; + }, + aIndices(_p?: A_Indices): A_Indices { + const _j = ({} as A_Indices); + _o.set(_j, "is_slice", _p?.is_slice); + _o.set(_j, "lidx", _p?.lidx); + _o.set(_j, "uidx", _p?.uidx); + return _j; + }, + aIndirection(_p?: A_Indirection): A_Indirection { + const _j = ({} as A_Indirection); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "indirection", _p?.indirection); + return _j; + }, + aArrayExpr(_p?: A_ArrayExpr): A_ArrayExpr { + const _j = ({} as A_ArrayExpr); + _o.set(_j, "elements", _p?.elements); + _o.set(_j, "location", _p?.location); + return _j; + }, + resTarget(_p?: ResTarget): ResTarget { + const _j = ({} as ResTarget); + _o.set(_j, "name", _p?.name); + _o.set(_j, "indirection", _p?.indirection); + _o.set(_j, "val", _p?.val); + _o.set(_j, "location", _p?.location); + return _j; + }, + multiAssignRef(_p?: MultiAssignRef): MultiAssignRef { + const _j = ({} as MultiAssignRef); + _o.set(_j, "source", _p?.source); + _o.set(_j, "colno", _p?.colno); + _o.set(_j, "ncolumns", _p?.ncolumns); + return _j; + }, + sortBy(_p?: SortBy): SortBy { + const _j = ({} as SortBy); + _o.set(_j, "node", _p?.node); + _o.set(_j, "sortby_dir", _p?.sortby_dir); + _o.set(_j, "sortby_nulls", _p?.sortby_nulls); + _o.set(_j, "useOp", _p?.useOp); + _o.set(_j, "location", _p?.location); + return _j; + }, + windowDef(_p?: WindowDef): WindowDef { + const _j = ({} as WindowDef); + _o.set(_j, "name", _p?.name); + _o.set(_j, "refname", _p?.refname); + _o.set(_j, "partitionClause", _p?.partitionClause); + _o.set(_j, "orderClause", _p?.orderClause); + _o.set(_j, "frameOptions", _p?.frameOptions); + _o.set(_j, "startOffset", _p?.startOffset); + _o.set(_j, "endOffset", _p?.endOffset); + _o.set(_j, "location", _p?.location); + return _j; + }, + rangeSubselect(_p?: RangeSubselect): RangeSubselect { + const _j = ({} as RangeSubselect); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "subquery", _p?.subquery); + _o.set(_j, "alias", _p?.alias); + return _j; + }, + rangeFunction(_p?: RangeFunction): RangeFunction { + const _j = ({} as RangeFunction); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "ordinality", _p?.ordinality); + _o.set(_j, "is_rowsfrom", _p?.is_rowsfrom); + _o.set(_j, "functions", _p?.functions); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "coldeflist", _p?.coldeflist); + return _j; + }, + rangeTableFunc(_p?: RangeTableFunc): RangeTableFunc { + const _j = ({} as RangeTableFunc); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "docexpr", _p?.docexpr); + _o.set(_j, "rowexpr", _p?.rowexpr); + _o.set(_j, "namespaces", _p?.namespaces); + _o.set(_j, "columns", _p?.columns); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "location", _p?.location); + return _j; + }, + rangeTableFuncCol(_p?: RangeTableFuncCol): RangeTableFuncCol { + const _j = ({} as RangeTableFuncCol); + _o.set(_j, "colname", _p?.colname); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "for_ordinality", _p?.for_ordinality); + _o.set(_j, "is_not_null", _p?.is_not_null); + _o.set(_j, "colexpr", _p?.colexpr); + _o.set(_j, "coldefexpr", _p?.coldefexpr); + _o.set(_j, "location", _p?.location); + return _j; + }, + rangeTableSample(_p?: RangeTableSample): RangeTableSample { + const _j = ({} as RangeTableSample); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "method", _p?.method); + _o.set(_j, "args", _p?.args); + _o.set(_j, "repeatable", _p?.repeatable); + _o.set(_j, "location", _p?.location); + return _j; + }, + columnDef(_p?: ColumnDef): ColumnDef { + const _j = ({} as ColumnDef); + _o.set(_j, "colname", _p?.colname); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "compression", _p?.compression); + _o.set(_j, "inhcount", _p?.inhcount); + _o.set(_j, "is_local", _p?.is_local); + _o.set(_j, "is_not_null", _p?.is_not_null); + _o.set(_j, "is_from_type", _p?.is_from_type); + _o.set(_j, "storage", _p?.storage); + _o.set(_j, "storage_name", _p?.storage_name); + _o.set(_j, "raw_default", _p?.raw_default); + _o.set(_j, "cooked_default", _p?.cooked_default); + _o.set(_j, "identity", _p?.identity); + _o.set(_j, "identitySequence", _p?.identitySequence); + _o.set(_j, "generated", _p?.generated); + _o.set(_j, "collClause", _p?.collClause); + _o.set(_j, "collOid", _p?.collOid); + _o.set(_j, "constraints", _p?.constraints); + _o.set(_j, "fdwoptions", _p?.fdwoptions); + _o.set(_j, "location", _p?.location); + return _j; + }, + tableLikeClause(_p?: TableLikeClause): TableLikeClause { + const _j = ({} as TableLikeClause); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "options", _p?.options); + _o.set(_j, "relationOid", _p?.relationOid); + return _j; + }, + indexElem(_p?: IndexElem): IndexElem { + const _j = ({} as IndexElem); + _o.set(_j, "name", _p?.name); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "indexcolname", _p?.indexcolname); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "opclass", _p?.opclass); + _o.set(_j, "opclassopts", _p?.opclassopts); + _o.set(_j, "ordering", _p?.ordering); + _o.set(_j, "nulls_ordering", _p?.nulls_ordering); + return _j; + }, + defElem(_p?: DefElem): DefElem { + const _j = ({} as DefElem); + _o.set(_j, "defnamespace", _p?.defnamespace); + _o.set(_j, "defname", _p?.defname); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "defaction", _p?.defaction); + _o.set(_j, "location", _p?.location); + return _j; + }, + lockingClause(_p?: LockingClause): LockingClause { + const _j = ({} as LockingClause); + _o.set(_j, "lockedRels", _p?.lockedRels); + _o.set(_j, "strength", _p?.strength); + _o.set(_j, "waitPolicy", _p?.waitPolicy); + return _j; + }, + xmlSerialize(_p?: XmlSerialize): XmlSerialize { + const _j = ({} as XmlSerialize); + _o.set(_j, "xmloption", _p?.xmloption); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "indent", _p?.indent); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionElem(_p?: PartitionElem): PartitionElem { + const _j = ({} as PartitionElem); + _o.set(_j, "name", _p?.name); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "opclass", _p?.opclass); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionSpec(_p?: PartitionSpec): PartitionSpec { + const _j = ({} as PartitionSpec); + _o.set(_j, "strategy", _p?.strategy); + _o.set(_j, "partParams", _p?.partParams); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionBoundSpec(_p?: PartitionBoundSpec): PartitionBoundSpec { + const _j = ({} as PartitionBoundSpec); + _o.set(_j, "strategy", _p?.strategy); + _o.set(_j, "is_default", _p?.is_default); + _o.set(_j, "modulus", _p?.modulus); + _o.set(_j, "remainder", _p?.remainder); + _o.set(_j, "listdatums", _p?.listdatums); + _o.set(_j, "lowerdatums", _p?.lowerdatums); + _o.set(_j, "upperdatums", _p?.upperdatums); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionRangeDatum(_p?: PartitionRangeDatum): PartitionRangeDatum { + const _j = ({} as PartitionRangeDatum); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "value", _p?.value); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionCmd(_p?: PartitionCmd): PartitionCmd { + const _j = ({} as PartitionCmd); + _o.set(_j, "name", _p?.name); + _o.set(_j, "bound", _p?.bound); + _o.set(_j, "concurrent", _p?.concurrent); + return _j; + }, + rangeTblEntry(_p?: RangeTblEntry): RangeTblEntry { + const _j = ({} as RangeTblEntry); + _o.set(_j, "rtekind", _p?.rtekind); + _o.set(_j, "relid", _p?.relid); + _o.set(_j, "relkind", _p?.relkind); + _o.set(_j, "rellockmode", _p?.rellockmode); + _o.set(_j, "tablesample", _p?.tablesample); + _o.set(_j, "perminfoindex", _p?.perminfoindex); + _o.set(_j, "subquery", _p?.subquery); + _o.set(_j, "security_barrier", _p?.security_barrier); + _o.set(_j, "jointype", _p?.jointype); + _o.set(_j, "joinmergedcols", _p?.joinmergedcols); + _o.set(_j, "joinaliasvars", _p?.joinaliasvars); + _o.set(_j, "joinleftcols", _p?.joinleftcols); + _o.set(_j, "joinrightcols", _p?.joinrightcols); + _o.set(_j, "join_using_alias", _p?.join_using_alias); + _o.set(_j, "functions", _p?.functions); + _o.set(_j, "funcordinality", _p?.funcordinality); + _o.set(_j, "tablefunc", _p?.tablefunc); + _o.set(_j, "values_lists", _p?.values_lists); + _o.set(_j, "ctename", _p?.ctename); + _o.set(_j, "ctelevelsup", _p?.ctelevelsup); + _o.set(_j, "self_reference", _p?.self_reference); + _o.set(_j, "coltypes", _p?.coltypes); + _o.set(_j, "coltypmods", _p?.coltypmods); + _o.set(_j, "colcollations", _p?.colcollations); + _o.set(_j, "enrname", _p?.enrname); + _o.set(_j, "enrtuples", _p?.enrtuples); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "eref", _p?.eref); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "inh", _p?.inh); + _o.set(_j, "inFromCl", _p?.inFromCl); + _o.set(_j, "securityQuals", _p?.securityQuals); + return _j; + }, + rtePermissionInfo(_p?: RTEPermissionInfo): RTEPermissionInfo { + const _j = ({} as RTEPermissionInfo); + _o.set(_j, "relid", _p?.relid); + _o.set(_j, "inh", _p?.inh); + _o.set(_j, "requiredPerms", _p?.requiredPerms); + _o.set(_j, "checkAsUser", _p?.checkAsUser); + _o.set(_j, "selectedCols", _p?.selectedCols); + _o.set(_j, "insertedCols", _p?.insertedCols); + _o.set(_j, "updatedCols", _p?.updatedCols); + return _j; + }, + rangeTblFunction(_p?: RangeTblFunction): RangeTblFunction { + const _j = ({} as RangeTblFunction); + _o.set(_j, "funcexpr", _p?.funcexpr); + _o.set(_j, "funccolcount", _p?.funccolcount); + _o.set(_j, "funccolnames", _p?.funccolnames); + _o.set(_j, "funccoltypes", _p?.funccoltypes); + _o.set(_j, "funccoltypmods", _p?.funccoltypmods); + _o.set(_j, "funccolcollations", _p?.funccolcollations); + _o.set(_j, "funcparams", _p?.funcparams); + return _j; + }, + tableSampleClause(_p?: TableSampleClause): TableSampleClause { + const _j = ({} as TableSampleClause); + _o.set(_j, "tsmhandler", _p?.tsmhandler); + _o.set(_j, "args", _p?.args); + _o.set(_j, "repeatable", _p?.repeatable); + return _j; + }, + withCheckOption(_p?: WithCheckOption): WithCheckOption { + const _j = ({} as WithCheckOption); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "relname", _p?.relname); + _o.set(_j, "polname", _p?.polname); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "cascaded", _p?.cascaded); + return _j; + }, + sortGroupClause(_p?: SortGroupClause): SortGroupClause { + const _j = ({} as SortGroupClause); + _o.set(_j, "tleSortGroupRef", _p?.tleSortGroupRef); + _o.set(_j, "eqop", _p?.eqop); + _o.set(_j, "sortop", _p?.sortop); + _o.set(_j, "nulls_first", _p?.nulls_first); + _o.set(_j, "hashable", _p?.hashable); + return _j; + }, + groupingSet(_p?: GroupingSet): GroupingSet { + const _j = ({} as GroupingSet); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "content", _p?.content); + _o.set(_j, "location", _p?.location); + return _j; + }, + windowClause(_p?: WindowClause): WindowClause { + const _j = ({} as WindowClause); + _o.set(_j, "name", _p?.name); + _o.set(_j, "refname", _p?.refname); + _o.set(_j, "partitionClause", _p?.partitionClause); + _o.set(_j, "orderClause", _p?.orderClause); + _o.set(_j, "frameOptions", _p?.frameOptions); + _o.set(_j, "startOffset", _p?.startOffset); + _o.set(_j, "endOffset", _p?.endOffset); + _o.set(_j, "runCondition", _p?.runCondition); + _o.set(_j, "startInRangeFunc", _p?.startInRangeFunc); + _o.set(_j, "endInRangeFunc", _p?.endInRangeFunc); + _o.set(_j, "inRangeColl", _p?.inRangeColl); + _o.set(_j, "inRangeAsc", _p?.inRangeAsc); + _o.set(_j, "inRangeNullsFirst", _p?.inRangeNullsFirst); + _o.set(_j, "winref", _p?.winref); + _o.set(_j, "copiedOrder", _p?.copiedOrder); + return _j; + }, + rowMarkClause(_p?: RowMarkClause): RowMarkClause { + const _j = ({} as RowMarkClause); + _o.set(_j, "rti", _p?.rti); + _o.set(_j, "strength", _p?.strength); + _o.set(_j, "waitPolicy", _p?.waitPolicy); + _o.set(_j, "pushedDown", _p?.pushedDown); + return _j; + }, + withClause(_p?: WithClause): WithClause { + const _j = ({} as WithClause); + _o.set(_j, "ctes", _p?.ctes); + _o.set(_j, "recursive", _p?.recursive); + _o.set(_j, "location", _p?.location); + return _j; + }, + inferClause(_p?: InferClause): InferClause { + const _j = ({} as InferClause); + _o.set(_j, "indexElems", _p?.indexElems); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "conname", _p?.conname); + _o.set(_j, "location", _p?.location); + return _j; + }, + onConflictClause(_p?: OnConflictClause): OnConflictClause { + const _j = ({} as OnConflictClause); + _o.set(_j, "action", _p?.action); + _o.set(_j, "infer", _p?.infer); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "location", _p?.location); + return _j; + }, + cteSearchClause(_p?: CTESearchClause): CTESearchClause { + const _j = ({} as CTESearchClause); + _o.set(_j, "search_col_list", _p?.search_col_list); + _o.set(_j, "search_breadth_first", _p?.search_breadth_first); + _o.set(_j, "search_seq_column", _p?.search_seq_column); + _o.set(_j, "location", _p?.location); + return _j; + }, + cteCycleClause(_p?: CTECycleClause): CTECycleClause { + const _j = ({} as CTECycleClause); + _o.set(_j, "cycle_col_list", _p?.cycle_col_list); + _o.set(_j, "cycle_mark_column", _p?.cycle_mark_column); + _o.set(_j, "cycle_mark_value", _p?.cycle_mark_value); + _o.set(_j, "cycle_mark_default", _p?.cycle_mark_default); + _o.set(_j, "cycle_path_column", _p?.cycle_path_column); + _o.set(_j, "location", _p?.location); + _o.set(_j, "cycle_mark_type", _p?.cycle_mark_type); + _o.set(_j, "cycle_mark_typmod", _p?.cycle_mark_typmod); + _o.set(_j, "cycle_mark_collation", _p?.cycle_mark_collation); + _o.set(_j, "cycle_mark_neop", _p?.cycle_mark_neop); + return _j; + }, + commonTableExpr(_p?: CommonTableExpr): CommonTableExpr { + const _j = ({} as CommonTableExpr); + _o.set(_j, "ctename", _p?.ctename); + _o.set(_j, "aliascolnames", _p?.aliascolnames); + _o.set(_j, "ctematerialized", _p?.ctematerialized); + _o.set(_j, "ctequery", _p?.ctequery); + _o.set(_j, "search_clause", _p?.search_clause); + _o.set(_j, "cycle_clause", _p?.cycle_clause); + _o.set(_j, "location", _p?.location); + _o.set(_j, "cterecursive", _p?.cterecursive); + _o.set(_j, "cterefcount", _p?.cterefcount); + _o.set(_j, "ctecolnames", _p?.ctecolnames); + _o.set(_j, "ctecoltypes", _p?.ctecoltypes); + _o.set(_j, "ctecoltypmods", _p?.ctecoltypmods); + _o.set(_j, "ctecolcollations", _p?.ctecolcollations); + return _j; + }, + mergeWhenClause(_p?: MergeWhenClause): MergeWhenClause { + const _j = ({} as MergeWhenClause); + _o.set(_j, "matched", _p?.matched); + _o.set(_j, "commandType", _p?.commandType); + _o.set(_j, "override", _p?.override); + _o.set(_j, "condition", _p?.condition); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "values", _p?.values); + return _j; + }, + mergeAction(_p?: MergeAction): MergeAction { + const _j = ({} as MergeAction); + _o.set(_j, "matched", _p?.matched); + _o.set(_j, "commandType", _p?.commandType); + _o.set(_j, "override", _p?.override); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "updateColnos", _p?.updateColnos); + return _j; + }, + triggerTransition(_p?: TriggerTransition): TriggerTransition { + const _j = ({} as TriggerTransition); + _o.set(_j, "name", _p?.name); + _o.set(_j, "isNew", _p?.isNew); + _o.set(_j, "isTable", _p?.isTable); + return _j; + }, + jsonOutput(_p?: JsonOutput): JsonOutput { + const _j = ({} as JsonOutput); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "returning", _p?.returning); + return _j; + }, + jsonKeyValue(_p?: JsonKeyValue): JsonKeyValue { + const _j = ({} as JsonKeyValue); + _o.set(_j, "key", _p?.key); + _o.set(_j, "value", _p?.value); + return _j; + }, + jsonObjectConstructor(_p?: JsonObjectConstructor): JsonObjectConstructor { + const _j = ({} as JsonObjectConstructor); + _o.set(_j, "exprs", _p?.exprs); + _o.set(_j, "output", _p?.output); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "unique", _p?.unique); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonArrayConstructor(_p?: JsonArrayConstructor): JsonArrayConstructor { + const _j = ({} as JsonArrayConstructor); + _o.set(_j, "exprs", _p?.exprs); + _o.set(_j, "output", _p?.output); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonArrayQueryConstructor(_p?: JsonArrayQueryConstructor): JsonArrayQueryConstructor { + const _j = ({} as JsonArrayQueryConstructor); + _o.set(_j, "query", _p?.query); + _o.set(_j, "output", _p?.output); + _o.set(_j, "format", _p?.format); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonAggConstructor(_p?: JsonAggConstructor): JsonAggConstructor { + const _j = ({} as JsonAggConstructor); + _o.set(_j, "output", _p?.output); + _o.set(_j, "agg_filter", _p?.agg_filter); + _o.set(_j, "agg_order", _p?.agg_order); + _o.set(_j, "over", _p?.over); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonObjectAgg(_p?: JsonObjectAgg): JsonObjectAgg { + const _j = ({} as JsonObjectAgg); + _o.set(_j, "constructor", _p?.constructor); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "unique", _p?.unique); + return _j; + }, + jsonArrayAgg(_p?: JsonArrayAgg): JsonArrayAgg { + const _j = ({} as JsonArrayAgg); + _o.set(_j, "constructor", _p?.constructor); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + return _j; + }, + rawStmt(_p?: RawStmt): RawStmt { + const _j = ({} as RawStmt); + _o.set(_j, "stmt", _p?.stmt); + _o.set(_j, "stmt_location", _p?.stmt_location); + _o.set(_j, "stmt_len", _p?.stmt_len); + return _j; + }, + insertStmt(_p?: InsertStmt): InsertStmt { + const _j = ({} as InsertStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "cols", _p?.cols); + _o.set(_j, "selectStmt", _p?.selectStmt); + _o.set(_j, "onConflictClause", _p?.onConflictClause); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "withClause", _p?.withClause); + _o.set(_j, "override", _p?.override); + return _j; + }, + deleteStmt(_p?: DeleteStmt): DeleteStmt { + const _j = ({} as DeleteStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "usingClause", _p?.usingClause); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "withClause", _p?.withClause); + return _j; + }, + updateStmt(_p?: UpdateStmt): UpdateStmt { + const _j = ({} as UpdateStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "fromClause", _p?.fromClause); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "withClause", _p?.withClause); + return _j; + }, + mergeStmt(_p?: MergeStmt): MergeStmt { + const _j = ({} as MergeStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "sourceRelation", _p?.sourceRelation); + _o.set(_j, "joinCondition", _p?.joinCondition); + _o.set(_j, "mergeWhenClauses", _p?.mergeWhenClauses); + _o.set(_j, "withClause", _p?.withClause); + return _j; + }, + selectStmt(_p?: SelectStmt): SelectStmt { + const _j = ({} as SelectStmt); + _o.set(_j, "distinctClause", _p?.distinctClause); + _o.set(_j, "intoClause", _p?.intoClause); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "fromClause", _p?.fromClause); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "groupClause", _p?.groupClause); + _o.set(_j, "groupDistinct", _p?.groupDistinct); + _o.set(_j, "havingClause", _p?.havingClause); + _o.set(_j, "windowClause", _p?.windowClause); + _o.set(_j, "valuesLists", _p?.valuesLists); + _o.set(_j, "sortClause", _p?.sortClause); + _o.set(_j, "limitOffset", _p?.limitOffset); + _o.set(_j, "limitCount", _p?.limitCount); + _o.set(_j, "limitOption", _p?.limitOption); + _o.set(_j, "lockingClause", _p?.lockingClause); + _o.set(_j, "withClause", _p?.withClause); + _o.set(_j, "op", _p?.op); + _o.set(_j, "all", _p?.all); + _o.set(_j, "larg", _p?.larg); + _o.set(_j, "rarg", _p?.rarg); + return _j; + }, + setOperationStmt(_p?: SetOperationStmt): SetOperationStmt { + const _j = ({} as SetOperationStmt); + _o.set(_j, "op", _p?.op); + _o.set(_j, "all", _p?.all); + _o.set(_j, "larg", _p?.larg); + _o.set(_j, "rarg", _p?.rarg); + _o.set(_j, "colTypes", _p?.colTypes); + _o.set(_j, "colTypmods", _p?.colTypmods); + _o.set(_j, "colCollations", _p?.colCollations); + _o.set(_j, "groupClauses", _p?.groupClauses); + return _j; + }, + returnStmt(_p?: ReturnStmt): ReturnStmt { + const _j = ({} as ReturnStmt); + _o.set(_j, "returnval", _p?.returnval); + return _j; + }, + plAssignStmt(_p?: PLAssignStmt): PLAssignStmt { + const _j = ({} as PLAssignStmt); + _o.set(_j, "name", _p?.name); + _o.set(_j, "indirection", _p?.indirection); + _o.set(_j, "nnames", _p?.nnames); + _o.set(_j, "val", _p?.val); + _o.set(_j, "location", _p?.location); + return _j; + }, + createSchemaStmt(_p?: CreateSchemaStmt): CreateSchemaStmt { + const _j = ({} as CreateSchemaStmt); + _o.set(_j, "schemaname", _p?.schemaname); + _o.set(_j, "authrole", _p?.authrole); + _o.set(_j, "schemaElts", _p?.schemaElts); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + alterTableStmt(_p?: AlterTableStmt): AlterTableStmt { + const _j = ({} as AlterTableStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "cmds", _p?.cmds); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + replicaIdentityStmt(_p?: ReplicaIdentityStmt): ReplicaIdentityStmt { + const _j = ({} as ReplicaIdentityStmt); + _o.set(_j, "identity_type", _p?.identity_type); + _o.set(_j, "name", _p?.name); + return _j; + }, + alterTableCmd(_p?: AlterTableCmd): AlterTableCmd { + const _j = ({} as AlterTableCmd); + _o.set(_j, "subtype", _p?.subtype); + _o.set(_j, "name", _p?.name); + _o.set(_j, "num", _p?.num); + _o.set(_j, "newowner", _p?.newowner); + _o.set(_j, "def", _p?.def); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "recurse", _p?.recurse); + return _j; + }, + alterCollationStmt(_p?: AlterCollationStmt): AlterCollationStmt { + const _j = ({} as AlterCollationStmt); + _o.set(_j, "collname", _p?.collname); + return _j; + }, + alterDomainStmt(_p?: AlterDomainStmt): AlterDomainStmt { + const _j = ({} as AlterDomainStmt); + _o.set(_j, "subtype", _p?.subtype); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "name", _p?.name); + _o.set(_j, "def", _p?.def); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + grantStmt(_p?: GrantStmt): GrantStmt { + const _j = ({} as GrantStmt); + _o.set(_j, "is_grant", _p?.is_grant); + _o.set(_j, "targtype", _p?.targtype); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "objects", _p?.objects); + _o.set(_j, "privileges", _p?.privileges); + _o.set(_j, "grantees", _p?.grantees); + _o.set(_j, "grant_option", _p?.grant_option); + _o.set(_j, "grantor", _p?.grantor); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + objectWithArgs(_p?: ObjectWithArgs): ObjectWithArgs { + const _j = ({} as ObjectWithArgs); + _o.set(_j, "objname", _p?.objname); + _o.set(_j, "objargs", _p?.objargs); + _o.set(_j, "objfuncargs", _p?.objfuncargs); + _o.set(_j, "args_unspecified", _p?.args_unspecified); + return _j; + }, + accessPriv(_p?: AccessPriv): AccessPriv { + const _j = ({} as AccessPriv); + _o.set(_j, "priv_name", _p?.priv_name); + _o.set(_j, "cols", _p?.cols); + return _j; + }, + grantRoleStmt(_p?: GrantRoleStmt): GrantRoleStmt { + const _j = ({} as GrantRoleStmt); + _o.set(_j, "granted_roles", _p?.granted_roles); + _o.set(_j, "grantee_roles", _p?.grantee_roles); + _o.set(_j, "is_grant", _p?.is_grant); + _o.set(_j, "opt", _p?.opt); + _o.set(_j, "grantor", _p?.grantor); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + alterDefaultPrivilegesStmt(_p?: AlterDefaultPrivilegesStmt): AlterDefaultPrivilegesStmt { + const _j = ({} as AlterDefaultPrivilegesStmt); + _o.set(_j, "options", _p?.options); + _o.set(_j, "action", _p?.action); + return _j; + }, + copyStmt(_p?: CopyStmt): CopyStmt { + const _j = ({} as CopyStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "query", _p?.query); + _o.set(_j, "attlist", _p?.attlist); + _o.set(_j, "is_from", _p?.is_from); + _o.set(_j, "is_program", _p?.is_program); + _o.set(_j, "filename", _p?.filename); + _o.set(_j, "options", _p?.options); + _o.set(_j, "whereClause", _p?.whereClause); + return _j; + }, + variableSetStmt(_p?: VariableSetStmt): VariableSetStmt { + const _j = ({} as VariableSetStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "name", _p?.name); + _o.set(_j, "args", _p?.args); + _o.set(_j, "is_local", _p?.is_local); + return _j; + }, + variableShowStmt(_p?: VariableShowStmt): VariableShowStmt { + const _j = ({} as VariableShowStmt); + _o.set(_j, "name", _p?.name); + return _j; + }, + createStmt(_p?: CreateStmt): CreateStmt { + const _j = ({} as CreateStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "tableElts", _p?.tableElts); + _o.set(_j, "inhRelations", _p?.inhRelations); + _o.set(_j, "partbound", _p?.partbound); + _o.set(_j, "partspec", _p?.partspec); + _o.set(_j, "ofTypename", _p?.ofTypename); + _o.set(_j, "constraints", _p?.constraints); + _o.set(_j, "options", _p?.options); + _o.set(_j, "oncommit", _p?.oncommit); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "accessMethod", _p?.accessMethod); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + constraint(_p?: Constraint): Constraint { + const _j = ({} as Constraint); + _o.set(_j, "contype", _p?.contype); + _o.set(_j, "conname", _p?.conname); + _o.set(_j, "deferrable", _p?.deferrable); + _o.set(_j, "initdeferred", _p?.initdeferred); + _o.set(_j, "location", _p?.location); + _o.set(_j, "is_no_inherit", _p?.is_no_inherit); + _o.set(_j, "raw_expr", _p?.raw_expr); + _o.set(_j, "cooked_expr", _p?.cooked_expr); + _o.set(_j, "generated_when", _p?.generated_when); + _o.set(_j, "nulls_not_distinct", _p?.nulls_not_distinct); + _o.set(_j, "keys", _p?.keys); + _o.set(_j, "including", _p?.including); + _o.set(_j, "exclusions", _p?.exclusions); + _o.set(_j, "options", _p?.options); + _o.set(_j, "indexname", _p?.indexname); + _o.set(_j, "indexspace", _p?.indexspace); + _o.set(_j, "reset_default_tblspc", _p?.reset_default_tblspc); + _o.set(_j, "access_method", _p?.access_method); + _o.set(_j, "where_clause", _p?.where_clause); + _o.set(_j, "pktable", _p?.pktable); + _o.set(_j, "fk_attrs", _p?.fk_attrs); + _o.set(_j, "pk_attrs", _p?.pk_attrs); + _o.set(_j, "fk_matchtype", _p?.fk_matchtype); + _o.set(_j, "fk_upd_action", _p?.fk_upd_action); + _o.set(_j, "fk_del_action", _p?.fk_del_action); + _o.set(_j, "fk_del_set_cols", _p?.fk_del_set_cols); + _o.set(_j, "old_conpfeqop", _p?.old_conpfeqop); + _o.set(_j, "old_pktable_oid", _p?.old_pktable_oid); + _o.set(_j, "skip_validation", _p?.skip_validation); + _o.set(_j, "initially_valid", _p?.initially_valid); + return _j; + }, + createTableSpaceStmt(_p?: CreateTableSpaceStmt): CreateTableSpaceStmt { + const _j = ({} as CreateTableSpaceStmt); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "owner", _p?.owner); + _o.set(_j, "location", _p?.location); + _o.set(_j, "options", _p?.options); + return _j; + }, + dropTableSpaceStmt(_p?: DropTableSpaceStmt): DropTableSpaceStmt { + const _j = ({} as DropTableSpaceStmt); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + alterTableSpaceOptionsStmt(_p?: AlterTableSpaceOptionsStmt): AlterTableSpaceOptionsStmt { + const _j = ({} as AlterTableSpaceOptionsStmt); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "options", _p?.options); + _o.set(_j, "isReset", _p?.isReset); + return _j; + }, + alterTableMoveAllStmt(_p?: AlterTableMoveAllStmt): AlterTableMoveAllStmt { + const _j = ({} as AlterTableMoveAllStmt); + _o.set(_j, "orig_tablespacename", _p?.orig_tablespacename); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "new_tablespacename", _p?.new_tablespacename); + _o.set(_j, "nowait", _p?.nowait); + return _j; + }, + createExtensionStmt(_p?: CreateExtensionStmt): CreateExtensionStmt { + const _j = ({} as CreateExtensionStmt); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterExtensionStmt(_p?: AlterExtensionStmt): AlterExtensionStmt { + const _j = ({} as AlterExtensionStmt); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterExtensionContentsStmt(_p?: AlterExtensionContentsStmt): AlterExtensionContentsStmt { + const _j = ({} as AlterExtensionContentsStmt); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "action", _p?.action); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "object", _p?.object); + return _j; + }, + createFdwStmt(_p?: CreateFdwStmt): CreateFdwStmt { + const _j = ({} as CreateFdwStmt); + _o.set(_j, "fdwname", _p?.fdwname); + _o.set(_j, "func_options", _p?.func_options); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterFdwStmt(_p?: AlterFdwStmt): AlterFdwStmt { + const _j = ({} as AlterFdwStmt); + _o.set(_j, "fdwname", _p?.fdwname); + _o.set(_j, "func_options", _p?.func_options); + _o.set(_j, "options", _p?.options); + return _j; + }, + createForeignServerStmt(_p?: CreateForeignServerStmt): CreateForeignServerStmt { + const _j = ({} as CreateForeignServerStmt); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "servertype", _p?.servertype); + _o.set(_j, "version", _p?.version); + _o.set(_j, "fdwname", _p?.fdwname); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterForeignServerStmt(_p?: AlterForeignServerStmt): AlterForeignServerStmt { + const _j = ({} as AlterForeignServerStmt); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "version", _p?.version); + _o.set(_j, "options", _p?.options); + _o.set(_j, "has_version", _p?.has_version); + return _j; + }, + createForeignTableStmt(_p?: CreateForeignTableStmt): CreateForeignTableStmt { + const _j = ({} as CreateForeignTableStmt); + _o.set(_j, "base", _p?.base); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "options", _p?.options); + return _j; + }, + createUserMappingStmt(_p?: CreateUserMappingStmt): CreateUserMappingStmt { + const _j = ({} as CreateUserMappingStmt); + _o.set(_j, "user", _p?.user); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterUserMappingStmt(_p?: AlterUserMappingStmt): AlterUserMappingStmt { + const _j = ({} as AlterUserMappingStmt); + _o.set(_j, "user", _p?.user); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "options", _p?.options); + return _j; + }, + dropUserMappingStmt(_p?: DropUserMappingStmt): DropUserMappingStmt { + const _j = ({} as DropUserMappingStmt); + _o.set(_j, "user", _p?.user); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + importForeignSchemaStmt(_p?: ImportForeignSchemaStmt): ImportForeignSchemaStmt { + const _j = ({} as ImportForeignSchemaStmt); + _o.set(_j, "server_name", _p?.server_name); + _o.set(_j, "remote_schema", _p?.remote_schema); + _o.set(_j, "local_schema", _p?.local_schema); + _o.set(_j, "list_type", _p?.list_type); + _o.set(_j, "table_list", _p?.table_list); + _o.set(_j, "options", _p?.options); + return _j; + }, + createPolicyStmt(_p?: CreatePolicyStmt): CreatePolicyStmt { + const _j = ({} as CreatePolicyStmt); + _o.set(_j, "policy_name", _p?.policy_name); + _o.set(_j, "table", _p?.table); + _o.set(_j, "cmd_name", _p?.cmd_name); + _o.set(_j, "permissive", _p?.permissive); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "with_check", _p?.with_check); + return _j; + }, + alterPolicyStmt(_p?: AlterPolicyStmt): AlterPolicyStmt { + const _j = ({} as AlterPolicyStmt); + _o.set(_j, "policy_name", _p?.policy_name); + _o.set(_j, "table", _p?.table); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "with_check", _p?.with_check); + return _j; + }, + createAmStmt(_p?: CreateAmStmt): CreateAmStmt { + const _j = ({} as CreateAmStmt); + _o.set(_j, "amname", _p?.amname); + _o.set(_j, "handler_name", _p?.handler_name); + _o.set(_j, "amtype", _p?.amtype); + return _j; + }, + createTrigStmt(_p?: CreateTrigStmt): CreateTrigStmt { + const _j = ({} as CreateTrigStmt); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "isconstraint", _p?.isconstraint); + _o.set(_j, "trigname", _p?.trigname); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "funcname", _p?.funcname); + _o.set(_j, "args", _p?.args); + _o.set(_j, "row", _p?.row); + _o.set(_j, "timing", _p?.timing); + _o.set(_j, "events", _p?.events); + _o.set(_j, "columns", _p?.columns); + _o.set(_j, "whenClause", _p?.whenClause); + _o.set(_j, "transitionRels", _p?.transitionRels); + _o.set(_j, "deferrable", _p?.deferrable); + _o.set(_j, "initdeferred", _p?.initdeferred); + _o.set(_j, "constrrel", _p?.constrrel); + return _j; + }, + createEventTrigStmt(_p?: CreateEventTrigStmt): CreateEventTrigStmt { + const _j = ({} as CreateEventTrigStmt); + _o.set(_j, "trigname", _p?.trigname); + _o.set(_j, "eventname", _p?.eventname); + _o.set(_j, "whenclause", _p?.whenclause); + _o.set(_j, "funcname", _p?.funcname); + return _j; + }, + alterEventTrigStmt(_p?: AlterEventTrigStmt): AlterEventTrigStmt { + const _j = ({} as AlterEventTrigStmt); + _o.set(_j, "trigname", _p?.trigname); + _o.set(_j, "tgenabled", _p?.tgenabled); + return _j; + }, + createpLangStmt(_p?: CreatePLangStmt): CreatePLangStmt { + const _j = ({} as CreatePLangStmt); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "plname", _p?.plname); + _o.set(_j, "plhandler", _p?.plhandler); + _o.set(_j, "plinline", _p?.plinline); + _o.set(_j, "plvalidator", _p?.plvalidator); + _o.set(_j, "pltrusted", _p?.pltrusted); + return _j; + }, + createRoleStmt(_p?: CreateRoleStmt): CreateRoleStmt { + const _j = ({} as CreateRoleStmt); + _o.set(_j, "stmt_type", _p?.stmt_type); + _o.set(_j, "role", _p?.role); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterRoleStmt(_p?: AlterRoleStmt): AlterRoleStmt { + const _j = ({} as AlterRoleStmt); + _o.set(_j, "role", _p?.role); + _o.set(_j, "options", _p?.options); + _o.set(_j, "action", _p?.action); + return _j; + }, + alterRoleSetStmt(_p?: AlterRoleSetStmt): AlterRoleSetStmt { + const _j = ({} as AlterRoleSetStmt); + _o.set(_j, "role", _p?.role); + _o.set(_j, "database", _p?.database); + _o.set(_j, "setstmt", _p?.setstmt); + return _j; + }, + dropRoleStmt(_p?: DropRoleStmt): DropRoleStmt { + const _j = ({} as DropRoleStmt); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + createSeqStmt(_p?: CreateSeqStmt): CreateSeqStmt { + const _j = ({} as CreateSeqStmt); + _o.set(_j, "sequence", _p?.sequence); + _o.set(_j, "options", _p?.options); + _o.set(_j, "ownerId", _p?.ownerId); + _o.set(_j, "for_identity", _p?.for_identity); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + alterSeqStmt(_p?: AlterSeqStmt): AlterSeqStmt { + const _j = ({} as AlterSeqStmt); + _o.set(_j, "sequence", _p?.sequence); + _o.set(_j, "options", _p?.options); + _o.set(_j, "for_identity", _p?.for_identity); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + defineStmt(_p?: DefineStmt): DefineStmt { + const _j = ({} as DefineStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "oldstyle", _p?.oldstyle); + _o.set(_j, "defnames", _p?.defnames); + _o.set(_j, "args", _p?.args); + _o.set(_j, "definition", _p?.definition); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "replace", _p?.replace); + return _j; + }, + createDomainStmt(_p?: CreateDomainStmt): CreateDomainStmt { + const _j = ({} as CreateDomainStmt); + _o.set(_j, "domainname", _p?.domainname); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "collClause", _p?.collClause); + _o.set(_j, "constraints", _p?.constraints); + return _j; + }, + createOpClassStmt(_p?: CreateOpClassStmt): CreateOpClassStmt { + const _j = ({} as CreateOpClassStmt); + _o.set(_j, "opclassname", _p?.opclassname); + _o.set(_j, "opfamilyname", _p?.opfamilyname); + _o.set(_j, "amname", _p?.amname); + _o.set(_j, "datatype", _p?.datatype); + _o.set(_j, "items", _p?.items); + _o.set(_j, "isDefault", _p?.isDefault); + return _j; + }, + createOpClassItem(_p?: CreateOpClassItem): CreateOpClassItem { + const _j = ({} as CreateOpClassItem); + _o.set(_j, "itemtype", _p?.itemtype); + _o.set(_j, "name", _p?.name); + _o.set(_j, "number", _p?.number); + _o.set(_j, "order_family", _p?.order_family); + _o.set(_j, "class_args", _p?.class_args); + _o.set(_j, "storedtype", _p?.storedtype); + return _j; + }, + createOpFamilyStmt(_p?: CreateOpFamilyStmt): CreateOpFamilyStmt { + const _j = ({} as CreateOpFamilyStmt); + _o.set(_j, "opfamilyname", _p?.opfamilyname); + _o.set(_j, "amname", _p?.amname); + return _j; + }, + alterOpFamilyStmt(_p?: AlterOpFamilyStmt): AlterOpFamilyStmt { + const _j = ({} as AlterOpFamilyStmt); + _o.set(_j, "opfamilyname", _p?.opfamilyname); + _o.set(_j, "amname", _p?.amname); + _o.set(_j, "isDrop", _p?.isDrop); + _o.set(_j, "items", _p?.items); + return _j; + }, + dropStmt(_p?: DropStmt): DropStmt { + const _j = ({} as DropStmt); + _o.set(_j, "objects", _p?.objects); + _o.set(_j, "removeType", _p?.removeType); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "concurrent", _p?.concurrent); + return _j; + }, + truncateStmt(_p?: TruncateStmt): TruncateStmt { + const _j = ({} as TruncateStmt); + _o.set(_j, "relations", _p?.relations); + _o.set(_j, "restart_seqs", _p?.restart_seqs); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + commentStmt(_p?: CommentStmt): CommentStmt { + const _j = ({} as CommentStmt); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "object", _p?.object); + _o.set(_j, "comment", _p?.comment); + return _j; + }, + secLabelStmt(_p?: SecLabelStmt): SecLabelStmt { + const _j = ({} as SecLabelStmt); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "object", _p?.object); + _o.set(_j, "provider", _p?.provider); + _o.set(_j, "label", _p?.label); + return _j; + }, + declareCursorStmt(_p?: DeclareCursorStmt): DeclareCursorStmt { + const _j = ({} as DeclareCursorStmt); + _o.set(_j, "portalname", _p?.portalname); + _o.set(_j, "options", _p?.options); + _o.set(_j, "query", _p?.query); + return _j; + }, + closePortalStmt(_p?: ClosePortalStmt): ClosePortalStmt { + const _j = ({} as ClosePortalStmt); + _o.set(_j, "portalname", _p?.portalname); + return _j; + }, + fetchStmt(_p?: FetchStmt): FetchStmt { + const _j = ({} as FetchStmt); + _o.set(_j, "direction", _p?.direction); + _o.set(_j, "howMany", _p?.howMany); + _o.set(_j, "portalname", _p?.portalname); + _o.set(_j, "ismove", _p?.ismove); + return _j; + }, + indexStmt(_p?: IndexStmt): IndexStmt { + const _j = ({} as IndexStmt); + _o.set(_j, "idxname", _p?.idxname); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "accessMethod", _p?.accessMethod); + _o.set(_j, "tableSpace", _p?.tableSpace); + _o.set(_j, "indexParams", _p?.indexParams); + _o.set(_j, "indexIncludingParams", _p?.indexIncludingParams); + _o.set(_j, "options", _p?.options); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "excludeOpNames", _p?.excludeOpNames); + _o.set(_j, "idxcomment", _p?.idxcomment); + _o.set(_j, "indexOid", _p?.indexOid); + _o.set(_j, "oldNumber", _p?.oldNumber); + _o.set(_j, "oldCreateSubid", _p?.oldCreateSubid); + _o.set(_j, "oldFirstRelfilelocatorSubid", _p?.oldFirstRelfilelocatorSubid); + _o.set(_j, "unique", _p?.unique); + _o.set(_j, "nulls_not_distinct", _p?.nulls_not_distinct); + _o.set(_j, "primary", _p?.primary); + _o.set(_j, "isconstraint", _p?.isconstraint); + _o.set(_j, "deferrable", _p?.deferrable); + _o.set(_j, "initdeferred", _p?.initdeferred); + _o.set(_j, "transformed", _p?.transformed); + _o.set(_j, "concurrent", _p?.concurrent); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "reset_default_tblspc", _p?.reset_default_tblspc); + return _j; + }, + createStatsStmt(_p?: CreateStatsStmt): CreateStatsStmt { + const _j = ({} as CreateStatsStmt); + _o.set(_j, "defnames", _p?.defnames); + _o.set(_j, "stat_types", _p?.stat_types); + _o.set(_j, "exprs", _p?.exprs); + _o.set(_j, "relations", _p?.relations); + _o.set(_j, "stxcomment", _p?.stxcomment); + _o.set(_j, "transformed", _p?.transformed); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + statsElem(_p?: StatsElem): StatsElem { + const _j = ({} as StatsElem); + _o.set(_j, "name", _p?.name); + _o.set(_j, "expr", _p?.expr); + return _j; + }, + alterStatsStmt(_p?: AlterStatsStmt): AlterStatsStmt { + const _j = ({} as AlterStatsStmt); + _o.set(_j, "defnames", _p?.defnames); + _o.set(_j, "stxstattarget", _p?.stxstattarget); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + createFunctionStmt(_p?: CreateFunctionStmt): CreateFunctionStmt { + const _j = ({} as CreateFunctionStmt); + _o.set(_j, "is_procedure", _p?.is_procedure); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "funcname", _p?.funcname); + _o.set(_j, "parameters", _p?.parameters); + _o.set(_j, "returnType", _p?.returnType); + _o.set(_j, "options", _p?.options); + _o.set(_j, "sql_body", _p?.sql_body); + return _j; + }, + functionParameter(_p?: FunctionParameter): FunctionParameter { + const _j = ({} as FunctionParameter); + _o.set(_j, "name", _p?.name); + _o.set(_j, "argType", _p?.argType); + _o.set(_j, "mode", _p?.mode); + _o.set(_j, "defexpr", _p?.defexpr); + return _j; + }, + alterFunctionStmt(_p?: AlterFunctionStmt): AlterFunctionStmt { + const _j = ({} as AlterFunctionStmt); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "func", _p?.func); + _o.set(_j, "actions", _p?.actions); + return _j; + }, + doStmt(_p?: DoStmt): DoStmt { + const _j = ({} as DoStmt); + _o.set(_j, "args", _p?.args); + return _j; + }, + inlineCodeBlock(_p?: InlineCodeBlock): InlineCodeBlock { + const _j = ({} as InlineCodeBlock); + _o.set(_j, "source_text", _p?.source_text); + _o.set(_j, "langOid", _p?.langOid); + _o.set(_j, "langIsTrusted", _p?.langIsTrusted); + _o.set(_j, "atomic", _p?.atomic); + return _j; + }, + callStmt(_p?: CallStmt): CallStmt { + const _j = ({} as CallStmt); + _o.set(_j, "funccall", _p?.funccall); + _o.set(_j, "funcexpr", _p?.funcexpr); + _o.set(_j, "outargs", _p?.outargs); + return _j; + }, + callContext(_p?: CallContext): CallContext { + const _j = ({} as CallContext); + _o.set(_j, "atomic", _p?.atomic); + return _j; + }, + renameStmt(_p?: RenameStmt): RenameStmt { + const _j = ({} as RenameStmt); + _o.set(_j, "renameType", _p?.renameType); + _o.set(_j, "relationType", _p?.relationType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "newname", _p?.newname); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + alterObjectDependsStmt(_p?: AlterObjectDependsStmt): AlterObjectDependsStmt { + const _j = ({} as AlterObjectDependsStmt); + _o.set(_j, "objectType", _p?.objectType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "remove", _p?.remove); + return _j; + }, + alterObjectSchemaStmt(_p?: AlterObjectSchemaStmt): AlterObjectSchemaStmt { + const _j = ({} as AlterObjectSchemaStmt); + _o.set(_j, "objectType", _p?.objectType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "newschema", _p?.newschema); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + alterOwnerStmt(_p?: AlterOwnerStmt): AlterOwnerStmt { + const _j = ({} as AlterOwnerStmt); + _o.set(_j, "objectType", _p?.objectType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "newowner", _p?.newowner); + return _j; + }, + alterOperatorStmt(_p?: AlterOperatorStmt): AlterOperatorStmt { + const _j = ({} as AlterOperatorStmt); + _o.set(_j, "opername", _p?.opername); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterTypeStmt(_p?: AlterTypeStmt): AlterTypeStmt { + const _j = ({} as AlterTypeStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "options", _p?.options); + return _j; + }, + ruleStmt(_p?: RuleStmt): RuleStmt { + const _j = ({} as RuleStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "rulename", _p?.rulename); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "event", _p?.event); + _o.set(_j, "instead", _p?.instead); + _o.set(_j, "actions", _p?.actions); + _o.set(_j, "replace", _p?.replace); + return _j; + }, + notifyStmt(_p?: NotifyStmt): NotifyStmt { + const _j = ({} as NotifyStmt); + _o.set(_j, "conditionname", _p?.conditionname); + _o.set(_j, "payload", _p?.payload); + return _j; + }, + listenStmt(_p?: ListenStmt): ListenStmt { + const _j = ({} as ListenStmt); + _o.set(_j, "conditionname", _p?.conditionname); + return _j; + }, + unlistenStmt(_p?: UnlistenStmt): UnlistenStmt { + const _j = ({} as UnlistenStmt); + _o.set(_j, "conditionname", _p?.conditionname); + return _j; + }, + transactionStmt(_p?: TransactionStmt): TransactionStmt { + const _j = ({} as TransactionStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "options", _p?.options); + _o.set(_j, "savepoint_name", _p?.savepoint_name); + _o.set(_j, "gid", _p?.gid); + _o.set(_j, "chain", _p?.chain); + return _j; + }, + compositeTypeStmt(_p?: CompositeTypeStmt): CompositeTypeStmt { + const _j = ({} as CompositeTypeStmt); + _o.set(_j, "typevar", _p?.typevar); + _o.set(_j, "coldeflist", _p?.coldeflist); + return _j; + }, + createEnumStmt(_p?: CreateEnumStmt): CreateEnumStmt { + const _j = ({} as CreateEnumStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "vals", _p?.vals); + return _j; + }, + createRangeStmt(_p?: CreateRangeStmt): CreateRangeStmt { + const _j = ({} as CreateRangeStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "params", _p?.params); + return _j; + }, + alterEnumStmt(_p?: AlterEnumStmt): AlterEnumStmt { + const _j = ({} as AlterEnumStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "oldVal", _p?.oldVal); + _o.set(_j, "newVal", _p?.newVal); + _o.set(_j, "newValNeighbor", _p?.newValNeighbor); + _o.set(_j, "newValIsAfter", _p?.newValIsAfter); + _o.set(_j, "skipIfNewValExists", _p?.skipIfNewValExists); + return _j; + }, + viewStmt(_p?: ViewStmt): ViewStmt { + const _j = ({} as ViewStmt); + _o.set(_j, "view", _p?.view); + _o.set(_j, "aliases", _p?.aliases); + _o.set(_j, "query", _p?.query); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "options", _p?.options); + _o.set(_j, "withCheckOption", _p?.withCheckOption); + return _j; + }, + loadStmt(_p?: LoadStmt): LoadStmt { + const _j = ({} as LoadStmt); + _o.set(_j, "filename", _p?.filename); + return _j; + }, + createdbStmt(_p?: CreatedbStmt): CreatedbStmt { + const _j = ({} as CreatedbStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterDatabaseStmt(_p?: AlterDatabaseStmt): AlterDatabaseStmt { + const _j = ({} as AlterDatabaseStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterDatabaseRefreshCollStmt(_p?: AlterDatabaseRefreshCollStmt): AlterDatabaseRefreshCollStmt { + const _j = ({} as AlterDatabaseRefreshCollStmt); + _o.set(_j, "dbname", _p?.dbname); + return _j; + }, + alterDatabaseSetStmt(_p?: AlterDatabaseSetStmt): AlterDatabaseSetStmt { + const _j = ({} as AlterDatabaseSetStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "setstmt", _p?.setstmt); + return _j; + }, + dropdbStmt(_p?: DropdbStmt): DropdbStmt { + const _j = ({} as DropdbStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterSystemStmt(_p?: AlterSystemStmt): AlterSystemStmt { + const _j = ({} as AlterSystemStmt); + _o.set(_j, "setstmt", _p?.setstmt); + return _j; + }, + clusterStmt(_p?: ClusterStmt): ClusterStmt { + const _j = ({} as ClusterStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "indexname", _p?.indexname); + _o.set(_j, "params", _p?.params); + return _j; + }, + vacuumStmt(_p?: VacuumStmt): VacuumStmt { + const _j = ({} as VacuumStmt); + _o.set(_j, "options", _p?.options); + _o.set(_j, "rels", _p?.rels); + _o.set(_j, "is_vacuumcmd", _p?.is_vacuumcmd); + return _j; + }, + vacuumRelation(_p?: VacuumRelation): VacuumRelation { + const _j = ({} as VacuumRelation); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "oid", _p?.oid); + _o.set(_j, "va_cols", _p?.va_cols); + return _j; + }, + explainStmt(_p?: ExplainStmt): ExplainStmt { + const _j = ({} as ExplainStmt); + _o.set(_j, "query", _p?.query); + _o.set(_j, "options", _p?.options); + return _j; + }, + createTableAsStmt(_p?: CreateTableAsStmt): CreateTableAsStmt { + const _j = ({} as CreateTableAsStmt); + _o.set(_j, "query", _p?.query); + _o.set(_j, "into", _p?.into); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "is_select_into", _p?.is_select_into); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + refreshMatViewStmt(_p?: RefreshMatViewStmt): RefreshMatViewStmt { + const _j = ({} as RefreshMatViewStmt); + _o.set(_j, "concurrent", _p?.concurrent); + _o.set(_j, "skipData", _p?.skipData); + _o.set(_j, "relation", _p?.relation); + return _j; + }, + checkPointStmt(_p?: CheckPointStmt): CheckPointStmt { + const _j = ({} as CheckPointStmt); + return _j; + }, + discardStmt(_p?: DiscardStmt): DiscardStmt { + const _j = ({} as DiscardStmt); + _o.set(_j, "target", _p?.target); + return _j; + }, + lockStmt(_p?: LockStmt): LockStmt { + const _j = ({} as LockStmt); + _o.set(_j, "relations", _p?.relations); + _o.set(_j, "mode", _p?.mode); + _o.set(_j, "nowait", _p?.nowait); + return _j; + }, + constraintsSetStmt(_p?: ConstraintsSetStmt): ConstraintsSetStmt { + const _j = ({} as ConstraintsSetStmt); + _o.set(_j, "constraints", _p?.constraints); + _o.set(_j, "deferred", _p?.deferred); + return _j; + }, + reindexStmt(_p?: ReindexStmt): ReindexStmt { + const _j = ({} as ReindexStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "name", _p?.name); + _o.set(_j, "params", _p?.params); + return _j; + }, + createConversionStmt(_p?: CreateConversionStmt): CreateConversionStmt { + const _j = ({} as CreateConversionStmt); + _o.set(_j, "conversion_name", _p?.conversion_name); + _o.set(_j, "for_encoding_name", _p?.for_encoding_name); + _o.set(_j, "to_encoding_name", _p?.to_encoding_name); + _o.set(_j, "func_name", _p?.func_name); + _o.set(_j, "def", _p?.def); + return _j; + }, + createCastStmt(_p?: CreateCastStmt): CreateCastStmt { + const _j = ({} as CreateCastStmt); + _o.set(_j, "sourcetype", _p?.sourcetype); + _o.set(_j, "targettype", _p?.targettype); + _o.set(_j, "func", _p?.func); + _o.set(_j, "context", _p?.context); + _o.set(_j, "inout", _p?.inout); + return _j; + }, + createTransformStmt(_p?: CreateTransformStmt): CreateTransformStmt { + const _j = ({} as CreateTransformStmt); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "type_name", _p?.type_name); + _o.set(_j, "lang", _p?.lang); + _o.set(_j, "fromsql", _p?.fromsql); + _o.set(_j, "tosql", _p?.tosql); + return _j; + }, + prepareStmt(_p?: PrepareStmt): PrepareStmt { + const _j = ({} as PrepareStmt); + _o.set(_j, "name", _p?.name); + _o.set(_j, "argtypes", _p?.argtypes); + _o.set(_j, "query", _p?.query); + return _j; + }, + executeStmt(_p?: ExecuteStmt): ExecuteStmt { + const _j = ({} as ExecuteStmt); + _o.set(_j, "name", _p?.name); + _o.set(_j, "params", _p?.params); + return _j; + }, + deallocateStmt(_p?: DeallocateStmt): DeallocateStmt { + const _j = ({} as DeallocateStmt); + _o.set(_j, "name", _p?.name); + return _j; + }, + dropOwnedStmt(_p?: DropOwnedStmt): DropOwnedStmt { + const _j = ({} as DropOwnedStmt); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + reassignOwnedStmt(_p?: ReassignOwnedStmt): ReassignOwnedStmt { + const _j = ({} as ReassignOwnedStmt); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "newrole", _p?.newrole); + return _j; + }, + altertsDictionaryStmt(_p?: AlterTSDictionaryStmt): AlterTSDictionaryStmt { + const _j = ({} as AlterTSDictionaryStmt); + _o.set(_j, "dictname", _p?.dictname); + _o.set(_j, "options", _p?.options); + return _j; + }, + altertsConfigurationStmt(_p?: AlterTSConfigurationStmt): AlterTSConfigurationStmt { + const _j = ({} as AlterTSConfigurationStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "cfgname", _p?.cfgname); + _o.set(_j, "tokentype", _p?.tokentype); + _o.set(_j, "dicts", _p?.dicts); + _o.set(_j, "override", _p?.override); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + publicationTable(_p?: PublicationTable): PublicationTable { + const _j = ({} as PublicationTable); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "columns", _p?.columns); + return _j; + }, + publicationObjSpec(_p?: PublicationObjSpec): PublicationObjSpec { + const _j = ({} as PublicationObjSpec); + _o.set(_j, "pubobjtype", _p?.pubobjtype); + _o.set(_j, "name", _p?.name); + _o.set(_j, "pubtable", _p?.pubtable); + _o.set(_j, "location", _p?.location); + return _j; + }, + createPublicationStmt(_p?: CreatePublicationStmt): CreatePublicationStmt { + const _j = ({} as CreatePublicationStmt); + _o.set(_j, "pubname", _p?.pubname); + _o.set(_j, "options", _p?.options); + _o.set(_j, "pubobjects", _p?.pubobjects); + _o.set(_j, "for_all_tables", _p?.for_all_tables); + return _j; + }, + alterPublicationStmt(_p?: AlterPublicationStmt): AlterPublicationStmt { + const _j = ({} as AlterPublicationStmt); + _o.set(_j, "pubname", _p?.pubname); + _o.set(_j, "options", _p?.options); + _o.set(_j, "pubobjects", _p?.pubobjects); + _o.set(_j, "for_all_tables", _p?.for_all_tables); + _o.set(_j, "action", _p?.action); + return _j; + }, + createSubscriptionStmt(_p?: CreateSubscriptionStmt): CreateSubscriptionStmt { + const _j = ({} as CreateSubscriptionStmt); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "conninfo", _p?.conninfo); + _o.set(_j, "publication", _p?.publication); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterSubscriptionStmt(_p?: AlterSubscriptionStmt): AlterSubscriptionStmt { + const _j = ({} as AlterSubscriptionStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "conninfo", _p?.conninfo); + _o.set(_j, "publication", _p?.publication); + _o.set(_j, "options", _p?.options); + return _j; + }, + dropSubscriptionStmt(_p?: DropSubscriptionStmt): DropSubscriptionStmt { + const _j = ({} as DropSubscriptionStmt); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + scanToken(_p?: ScanToken): ScanToken { + const _j = ({} as ScanToken); + _o.set(_j, "start", _p?.start); + _o.set(_j, "end", _p?.end); + _o.set(_j, "token", _p?.token); + _o.set(_j, "keywordKind", _p?.keywordKind); + return _j; + } +};", + "file": "asts.ts", + }, + { + "code": "/** +* This file was automatically generated by pg-proto-parser@latest. +* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, +* and run the pg-proto-parser generate command to regenerate this file. +*/ +// Generated by pg-proto-parser +export interface FieldSpec { + name: string; + type: string; + isNode: boolean; + isArray: boolean; + optional: boolean; +} +export interface NodeSpec { + name: string; + wrapped: boolean; + fields: FieldSpec[]; +} +export const runtimeSchema: NodeSpec[] = [ + { + name: 'A_ArrayExpr', + wrapped: true, + fields: [ + { + name: 'elements', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'A_Const', + wrapped: true, + fields: [ + { + name: 'boolval', + type: 'Boolean', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'bsval', + type: 'BitString', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'fval', + type: 'Float', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'isnull', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ival', + type: 'Integer', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sval', + type: 'String', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'A_Expr', + wrapped: true, + fields: [ + { + name: 'kind', + type: 'A_Expr_Kind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'A_Indices', + wrapped: true, + fields: [ + { + name: 'is_slice', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lidx', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'uidx', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'A_Indirection', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'indirection', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'A_Star', + wrapped: true, + fields: [ + + ] + }, + { + name: 'AccessPriv', + wrapped: true, + fields: [ + { + name: 'cols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'priv_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'Aggref', + wrapped: true, + fields: [ + { + name: 'aggargtypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'aggcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggdirectargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'aggdistinct', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'aggfilter', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'aggfnoid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggkind', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'agglevelsup', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggorder', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'aggsplit', + type: 'AggSplit', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggstar', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggtransno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggtype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggvariadic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Alias', + wrapped: true, + fields: [ + { + name: 'aliasname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'colnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterCollationStmt', + wrapped: true, + fields: [ + { + name: 'collname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterDatabaseRefreshCollStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterDatabaseSetStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'setstmt', + type: 'VariableSetStmt', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterDatabaseStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterDefaultPrivilegesStmt', + wrapped: true, + fields: [ + { + name: 'action', + type: 'GrantStmt', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterDomainStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'def', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subtype', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterEnumStmt', + wrapped: true, + fields: [ + { + name: 'newVal', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newValIsAfter', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newValNeighbor', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldVal', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'skipIfNewValExists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterEventTrigStmt', + wrapped: true, + fields: [ + { + name: 'tgenabled', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'trigname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterExtensionContentsStmt', + wrapped: true, + fields: [ + { + name: 'action', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'extname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterExtensionStmt', + wrapped: true, + fields: [ + { + name: 'extname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterFdwStmt', + wrapped: true, + fields: [ + { + name: 'fdwname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'func_options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterForeignServerStmt', + wrapped: true, + fields: [ + { + name: 'has_version', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'version', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterFunctionStmt', + wrapped: true, + fields: [ + { + name: 'actions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'func', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlternativeSubPlan', + wrapped: true, + fields: [ + { + name: 'subplans', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterObjectDependsStmt', + wrapped: true, + fields: [ + { + name: 'extname', + type: 'String', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objectType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'remove', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterObjectSchemaStmt', + wrapped: true, + fields: [ + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newschema', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objectType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterOperatorStmt', + wrapped: true, + fields: [ + { + name: 'opername', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterOpFamilyStmt', + wrapped: true, + fields: [ + { + name: 'amname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'isDrop', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opfamilyname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterOwnerStmt', + wrapped: true, + fields: [ + { + name: 'newowner', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objectType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterPolicyStmt', + wrapped: true, + fields: [ + { + name: 'policy_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'qual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'table', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'with_check', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterPublicationStmt', + wrapped: true, + fields: [ + { + name: 'action', + type: 'AlterPublicationAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'for_all_tables', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pubname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pubobjects', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterRoleSetStmt', + wrapped: true, + fields: [ + { + name: 'database', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'role', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'setstmt', + type: 'VariableSetStmt', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterRoleStmt', + wrapped: true, + fields: [ + { + name: 'action', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'role', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterSeqStmt', + wrapped: true, + fields: [ + { + name: 'for_identity', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'sequence', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterStatsStmt', + wrapped: true, + fields: [ + { + name: 'defnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'stxstattarget', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterSubscriptionStmt', + wrapped: true, + fields: [ + { + name: 'conninfo', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'AlterSubscriptionType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'publication', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'subname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterSystemStmt', + wrapped: true, + fields: [ + { + name: 'setstmt', + type: 'VariableSetStmt', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterTableCmd', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'def', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newowner', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'num', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'recurse', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subtype', + type: 'AlterTableType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterTableMoveAllStmt', + wrapped: true, + fields: [ + { + name: 'new_tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nowait', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'orig_tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterTableSpaceOptionsStmt', + wrapped: true, + fields: [ + { + name: 'isReset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterTableStmt', + wrapped: true, + fields: [ + { + name: 'cmds', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterTSConfigurationStmt', + wrapped: true, + fields: [ + { + name: 'cfgname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'dicts', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'kind', + type: 'AlterTSConfigType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tokentype', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterTSDictionaryStmt', + wrapped: true, + fields: [ + { + name: 'dictname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterTypeStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterUserMappingStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'user', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ArrayCoerceExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'coerceformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'elemexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ArrayExpr', + wrapped: true, + fields: [ + { + name: 'array_collid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'array_typeid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'element_typeid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'elements', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'multidims', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'BitString', + wrapped: true, + fields: [ + { + name: 'bsval', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'Boolean', + wrapped: true, + fields: [ + { + name: 'boolval', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'BooleanTest', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'booltesttype', + type: 'BoolTestType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'BoolExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'boolop', + type: 'BoolExprType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CallContext', + wrapped: true, + fields: [ + { + name: 'atomic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CallStmt', + wrapped: true, + fields: [ + { + name: 'funccall', + type: 'FuncCall', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'funcexpr', + type: 'FuncExpr', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'outargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CaseExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'casecollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'casetype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'defresult', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CaseTestExpr', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeMod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CaseWhen', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'result', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CheckPointStmt', + wrapped: true, + fields: [ + + ] + }, + { + name: 'ClosePortalStmt', + wrapped: true, + fields: [ + { + name: 'portalname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ClusterStmt', + wrapped: true, + fields: [ + { + name: 'indexname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'params', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CoalesceExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coalescecollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'coalescetype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CoerceToDomain', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'coercionformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CoerceToDomainValue', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeMod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CoerceViaIO', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'coerceformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CollateClause', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'collname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CollateExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'collOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ColumnDef', + wrapped: true, + fields: [ + { + name: 'collClause', + type: 'CollateClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'collOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'colname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'compression', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'constraints', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'cooked_default', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'fdwoptions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'generated', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'identity', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'identitySequence', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'inhcount', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_from_type', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_local', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_not_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'raw_default', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'storage', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'storage_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ColumnRef', + wrapped: true, + fields: [ + { + name: 'fields', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CommentStmt', + wrapped: true, + fields: [ + { + name: 'comment', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CommonTableExpr', + wrapped: true, + fields: [ + { + name: 'aliascolnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctecolcollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctecolnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctecoltypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctecoltypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctematerialized', + type: 'CTEMaterialize', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ctename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ctequery', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'cterecursive', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cterefcount', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_clause', + type: 'CTECycleClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'search_clause', + type: 'CTESearchClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CompositeTypeStmt', + wrapped: true, + fields: [ + { + name: 'coldeflist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'typevar', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Constraint', + wrapped: true, + fields: [ + { + name: 'access_method', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'conname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'contype', + type: 'ConstrType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cooked_expr', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'deferrable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exclusions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'fk_attrs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'fk_del_action', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'fk_del_set_cols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'fk_matchtype', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'fk_upd_action', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'generated_when', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'including', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'indexname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'indexspace', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'initdeferred', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'initially_valid', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_no_inherit', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'keys', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulls_not_distinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'old_conpfeqop', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'old_pktable_oid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pk_attrs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pktable', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'raw_expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'reset_default_tblspc', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'skip_validation', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'where_clause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ConstraintsSetStmt', + wrapped: true, + fields: [ + { + name: 'constraints', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'deferred', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ConvertRowtypeExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'convertformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CopyStmt', + wrapped: true, + fields: [ + { + name: 'attlist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'filename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_from', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_program', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateAmStmt', + wrapped: true, + fields: [ + { + name: 'amname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'amtype', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'handler_name', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateCastStmt', + wrapped: true, + fields: [ + { + name: 'context', + type: 'CoercionContext', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'func', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'inout', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sourcetype', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'targettype', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateConversionStmt', + wrapped: true, + fields: [ + { + name: 'conversion_name', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'def', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'for_encoding_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'func_name', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'to_encoding_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreatedbStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateDomainStmt', + wrapped: true, + fields: [ + { + name: 'collClause', + type: 'CollateClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'constraints', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'domainname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateEnumStmt', + wrapped: true, + fields: [ + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'vals', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateEventTrigStmt', + wrapped: true, + fields: [ + { + name: 'eventname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'trigname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whenclause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateExtensionStmt', + wrapped: true, + fields: [ + { + name: 'extname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateFdwStmt', + wrapped: true, + fields: [ + { + name: 'fdwname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'func_options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateForeignServerStmt', + wrapped: true, + fields: [ + { + name: 'fdwname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'servertype', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'version', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateForeignTableStmt', + wrapped: true, + fields: [ + { + name: 'base', + type: 'CreateStmt', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateFunctionStmt', + wrapped: true, + fields: [ + { + name: 'funcname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'is_procedure', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'parameters', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'returnType', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sql_body', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateOpClassItem', + wrapped: true, + fields: [ + { + name: 'class_args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'itemtype', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'number', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'order_family', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'storedtype', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateOpClassStmt', + wrapped: true, + fields: [ + { + name: 'amname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'datatype', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'isDefault', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opclassname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opfamilyname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateOpFamilyStmt', + wrapped: true, + fields: [ + { + name: 'amname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opfamilyname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreatePLangStmt', + wrapped: true, + fields: [ + { + name: 'plhandler', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'plinline', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'plname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pltrusted', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'plvalidator', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreatePolicyStmt', + wrapped: true, + fields: [ + { + name: 'cmd_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'permissive', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'policy_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'qual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'table', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'with_check', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreatePublicationStmt', + wrapped: true, + fields: [ + { + name: 'for_all_tables', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pubname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pubobjects', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateRangeStmt', + wrapped: true, + fields: [ + { + name: 'params', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateRoleStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'role', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'stmt_type', + type: 'RoleStmtType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateSchemaStmt', + wrapped: true, + fields: [ + { + name: 'authrole', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'schemaElts', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'schemaname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateSeqStmt', + wrapped: true, + fields: [ + { + name: 'for_identity', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ownerId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sequence', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateStatsStmt', + wrapped: true, + fields: [ + { + name: 'defnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'exprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'stat_types', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'stxcomment', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'transformed', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateStmt', + wrapped: true, + fields: [ + { + name: 'accessMethod', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'constraints', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inhRelations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ofTypename', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'oncommit', + type: 'OnCommitAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'partbound', + type: 'PartitionBoundSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'partspec', + type: 'PartitionSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tableElts', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateSubscriptionStmt', + wrapped: true, + fields: [ + { + name: 'conninfo', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'publication', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'subname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateTableAsStmt', + wrapped: true, + fields: [ + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'into', + type: 'IntoClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'is_select_into', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateTableSpaceStmt', + wrapped: true, + fields: [ + { + name: 'location', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'owner', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateTransformStmt', + wrapped: true, + fields: [ + { + name: 'fromsql', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'lang', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tosql', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'type_name', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateTrigStmt', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'columns', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'constrrel', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'deferrable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'events', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'initdeferred', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'isconstraint', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'row', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'timing', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'transitionRels', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'trigname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whenClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateUserMappingStmt', + wrapped: true, + fields: [ + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'user', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CTECycleClause', + wrapped: true, + fields: [ + { + name: 'cycle_col_list', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'cycle_mark_collation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_column', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_default', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_neop', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_type', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_typmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_value', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'cycle_path_column', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CTESearchClause', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'search_breadth_first', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'search_col_list', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'search_seq_column', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CurrentOfExpr', + wrapped: true, + fields: [ + { + name: 'cursor_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cursor_param', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cvarno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'DeallocateStmt', + wrapped: true, + fields: [ + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DeclareCursorStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'portalname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'DefElem', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'defaction', + type: 'DefElemAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'defname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'defnamespace', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DefineStmt', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'definition', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'defnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldstyle', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DeleteStmt', + wrapped: true, + fields: [ + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'returningList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'usingClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'DiscardStmt', + wrapped: true, + fields: [ + { + name: 'target', + type: 'DiscardMode', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DistinctExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opresulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opretset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'DoStmt', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'DropdbStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'DropOwnedStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'DropRoleStmt', + wrapped: true, + fields: [ + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'DropStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'concurrent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objects', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'removeType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DropSubscriptionStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DropTableSpaceStmt', + wrapped: true, + fields: [ + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DropUserMappingStmt', + wrapped: true, + fields: [ + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'user', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ExecuteStmt', + wrapped: true, + fields: [ + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'params', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'ExplainStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FetchStmt', + wrapped: true, + fields: [ + { + name: 'direction', + type: 'FetchDirection', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'howMany', + type: 'int64', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ismove', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'portalname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'FieldSelect', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'fieldnum', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FieldStore', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'fieldnums', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'newvals', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Float', + wrapped: true, + fields: [ + { + name: 'fval', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'FromExpr', + wrapped: true, + fields: [ + { + name: 'fromlist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'quals', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FuncCall', + wrapped: true, + fields: [ + { + name: 'agg_distinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'agg_filter', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'agg_order', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'agg_star', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'agg_within_group', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'func_variadic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'over', + type: 'WindowDef', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FuncExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funccollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcresulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcretset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcvariadic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FunctionParameter', + wrapped: true, + fields: [ + { + name: 'argType', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'defexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'mode', + type: 'FunctionParameterMode', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'GrantRoleStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'granted_roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'grantee_roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'grantor', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'is_grant', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opt', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'GrantStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'grant_option', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'grantees', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'grantor', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'is_grant', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objects', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'privileges', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'targtype', + type: 'GrantTargetType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'GroupingFunc', + wrapped: true, + fields: [ + { + name: 'agglevelsup', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'GroupingSet', + wrapped: true, + fields: [ + { + name: 'content', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'kind', + type: 'GroupingSetKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ImportForeignSchemaStmt', + wrapped: true, + fields: [ + { + name: 'list_type', + type: 'ImportForeignSchemaType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'local_schema', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'remote_schema', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'server_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'table_list', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'IndexElem', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'indexcolname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulls_ordering', + type: 'SortByNulls', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opclass', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opclassopts', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ordering', + type: 'SortByDir', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'IndexStmt', + wrapped: true, + fields: [ + { + name: 'accessMethod', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'concurrent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'deferrable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'excludeOpNames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'idxcomment', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'idxname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'indexIncludingParams', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'indexOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'indexParams', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'initdeferred', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'isconstraint', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulls_not_distinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldCreateSubid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldFirstRelfilelocatorSubid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldNumber', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'primary', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'reset_default_tblspc', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tableSpace', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'transformed', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'unique', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'InferClause', + wrapped: true, + fields: [ + { + name: 'conname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'indexElems', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'InferenceElem', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'infercollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inferopclass', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'InlineCodeBlock', + wrapped: true, + fields: [ + { + name: 'atomic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'langIsTrusted', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'langOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'source_text', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'InsertStmt', + wrapped: true, + fields: [ + { + name: 'cols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'onConflictClause', + type: 'OnConflictClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'OverridingKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'returningList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'selectStmt', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Integer', + wrapped: true, + fields: [ + { + name: 'ival', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'IntList', + wrapped: true, + fields: [ + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'IntoClause', + wrapped: true, + fields: [ + { + name: 'accessMethod', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'colNames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'onCommit', + type: 'OnCommitAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rel', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'skipData', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tableSpaceName', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'viewQuery', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JoinExpr', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'isNatural', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'join_using_alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'jointype', + type: 'JoinType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'larg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'quals', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'rarg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'rtindex', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'usingClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'JsonAggConstructor', + wrapped: true, + fields: [ + { + name: 'agg_filter', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'agg_order', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'output', + type: 'JsonOutput', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'over', + type: 'WindowDef', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonArrayAgg', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'arg', + type: 'JsonValueExpr', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'constructor', + type: 'JsonAggConstructor', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonArrayConstructor', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'output', + type: 'JsonOutput', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonArrayQueryConstructor', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'format', + type: 'JsonFormat', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'output', + type: 'JsonOutput', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonConstructorExpr', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coercion', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'func', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'returning', + type: 'JsonReturning', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'type', + type: 'JsonConstructorType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'unique', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonFormat', + wrapped: true, + fields: [ + { + name: 'encoding', + type: 'JsonEncoding', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'format_type', + type: 'JsonFormatType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonIsPredicate', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'format', + type: 'JsonFormat', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'item_type', + type: 'JsonValueType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'unique_keys', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonKeyValue', + wrapped: true, + fields: [ + { + name: 'key', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'value', + type: 'JsonValueExpr', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonObjectAgg', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'arg', + type: 'JsonKeyValue', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'constructor', + type: 'JsonAggConstructor', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'unique', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonObjectConstructor', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'output', + type: 'JsonOutput', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'unique', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonOutput', + wrapped: true, + fields: [ + { + name: 'returning', + type: 'JsonReturning', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonReturning', + wrapped: true, + fields: [ + { + name: 'format', + type: 'JsonFormat', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'typid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonValueExpr', + wrapped: true, + fields: [ + { + name: 'format', + type: 'JsonFormat', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'formatted_expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'raw_expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'List', + wrapped: true, + fields: [ + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'ListenStmt', + wrapped: true, + fields: [ + { + name: 'conditionname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'LoadStmt', + wrapped: true, + fields: [ + { + name: 'filename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'LockingClause', + wrapped: true, + fields: [ + { + name: 'lockedRels', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'strength', + type: 'LockClauseStrength', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'waitPolicy', + type: 'LockWaitPolicy', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'LockStmt', + wrapped: true, + fields: [ + { + name: 'mode', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nowait', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'MergeAction', + wrapped: true, + fields: [ + { + name: 'commandType', + type: 'CmdType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'matched', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'OverridingKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'qual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'updateColnos', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'MergeStmt', + wrapped: true, + fields: [ + { + name: 'joinCondition', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'mergeWhenClauses', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sourceRelation', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'MergeWhenClause', + wrapped: true, + fields: [ + { + name: 'commandType', + type: 'CmdType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'condition', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'matched', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'OverridingKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'values', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'MinMaxExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'minmaxcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'minmaxtype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'op', + type: 'MinMaxOp', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'MultiAssignRef', + wrapped: true, + fields: [ + { + name: 'colno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ncolumns', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'source', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'NamedArgExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'argnumber', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'NextValueExpr', + wrapped: true, + fields: [ + { + name: 'seqid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'NotifyStmt', + wrapped: true, + fields: [ + { + name: 'conditionname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'payload', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'NullIfExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opresulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opretset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'NullTest', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'argisrow', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulltesttype', + type: 'NullTestType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ObjectWithArgs', + wrapped: true, + fields: [ + { + name: 'args_unspecified', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'objfuncargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'objname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'OidList', + wrapped: true, + fields: [ + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'OnConflictClause', + wrapped: true, + fields: [ + { + name: 'action', + type: 'OnConflictAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'infer', + type: 'InferClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'OnConflictExpr', + wrapped: true, + fields: [ + { + name: 'action', + type: 'OnConflictAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'arbiterElems', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'arbiterWhere', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'constraint', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exclRelIndex', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exclRelTlist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'onConflictSet', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'onConflictWhere', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'OpExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opresulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opretset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Param', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramid', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramkind', + type: 'ParamKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramtype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramtypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ParamRef', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'number', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ParseResult', + wrapped: false, + fields: [ + { + name: 'stmts', + type: 'RawStmt', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'version', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'PartitionBoundSpec', + wrapped: true, + fields: [ + { + name: 'is_default', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'listdatums', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lowerdatums', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'modulus', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'remainder', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'strategy', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'upperdatums', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'PartitionCmd', + wrapped: true, + fields: [ + { + name: 'bound', + type: 'PartitionBoundSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'concurrent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PartitionElem', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opclass', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'PartitionRangeDatum', + wrapped: true, + fields: [ + { + name: 'kind', + type: 'PartitionRangeDatumKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'value', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PartitionSpec', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'partParams', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'strategy', + type: 'PartitionStrategy', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'PLAssignStmt', + wrapped: true, + fields: [ + { + name: 'indirection', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nnames', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'val', + type: 'SelectStmt', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PrepareStmt', + wrapped: true, + fields: [ + { + name: 'argtypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PublicationObjSpec', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pubobjtype', + type: 'PublicationObjSpecType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pubtable', + type: 'PublicationTable', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PublicationTable', + wrapped: true, + fields: [ + { + name: 'columns', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Query', + wrapped: true, + fields: [ + { + name: 'canSetTag', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'commandType', + type: 'CmdType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'constraintDeps', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'cteList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'distinctClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupDistinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'groupingSets', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'hasAggs', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasDistinctOn', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasForUpdate', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasModifyingCTE', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasRecursive', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasRowSecurity', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasSubLinks', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasTargetSRFs', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasWindowFuncs', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'havingQual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'isReturn', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'jointree', + type: 'FromExpr', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitCount', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitOption', + type: 'LimitOption', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'mergeActionList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'mergeUseOuterJoin', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'onConflict', + type: 'OnConflictExpr', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'OverridingKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'querySource', + type: 'QuerySource', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultRelation', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'returningList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rowMarks', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rtable', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rteperminfos', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'setOperations', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sortClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'stmt_len', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'stmt_location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'utilityStmt', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'windowClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'withCheckOptions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'RangeFunction', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'coldeflist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'functions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'is_rowsfrom', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lateral', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ordinality', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeSubselect', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'lateral', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subquery', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeTableFunc', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'columns', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'docexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'lateral', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'namespaces', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rowexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeTableFuncCol', + wrapped: true, + fields: [ + { + name: 'coldefexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'colexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'colname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'for_ordinality', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_not_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeTableSample', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'method', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'repeatable', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeTblEntry', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'colcollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coltypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coltypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctelevelsup', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ctename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'enrname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'enrtuples', + type: 'double', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'eref', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'funcordinality', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'functions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inFromCl', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inh', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'join_using_alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'joinaliasvars', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'joinleftcols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'joinmergedcols', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'joinrightcols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'jointype', + type: 'JoinType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lateral', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'perminfoindex', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relkind', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rellockmode', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rtekind', + type: 'RTEKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'security_barrier', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'securityQuals', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'self_reference', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subquery', + type: 'Query', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tablefunc', + type: 'TableFunc', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tablesample', + type: 'TableSampleClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'values_lists', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'RangeTblFunction', + wrapped: true, + fields: [ + { + name: 'funccolcollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funccolcount', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funccolnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funccoltypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funccoltypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funcexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'funcparams', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + } + ] + }, + { + name: 'RangeTblRef', + wrapped: true, + fields: [ + { + name: 'rtindex', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeVar', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'catalogname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inh', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relpersistence', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'schemaname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RawStmt', + wrapped: true, + fields: [ + { + name: 'stmt', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'stmt_len', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'stmt_location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ReassignOwnedStmt', + wrapped: true, + fields: [ + { + name: 'newrole', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'RefreshMatViewStmt', + wrapped: true, + fields: [ + { + name: 'concurrent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'skipData', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ReindexStmt', + wrapped: true, + fields: [ + { + name: 'kind', + type: 'ReindexObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'params', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RelabelType', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relabelformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RenameStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relationType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'renameType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ReplicaIdentityStmt', + wrapped: true, + fields: [ + { + name: 'identity_type', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ResTarget', + wrapped: true, + fields: [ + { + name: 'indirection', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'val', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ReturnStmt', + wrapped: true, + fields: [ + { + name: 'returnval', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RoleSpec', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rolename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'roletype', + type: 'RoleSpecType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RowCompareExpr', + wrapped: true, + fields: [ + { + name: 'inputcollids', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'largs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opfamilies', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opnos', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rctype', + type: 'RowCompareType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RowExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'row_format', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'row_typeid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RowMarkClause', + wrapped: true, + fields: [ + { + name: 'pushedDown', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rti', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'strength', + type: 'LockClauseStrength', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'waitPolicy', + type: 'LockWaitPolicy', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RTEPermissionInfo', + wrapped: true, + fields: [ + { + name: 'checkAsUser', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inh', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'insertedCols', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'relid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'requiredPerms', + type: 'uint64', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'selectedCols', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'updatedCols', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + } + ] + }, + { + name: 'RuleStmt', + wrapped: true, + fields: [ + { + name: 'actions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'event', + type: 'CmdType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'instead', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rulename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ScalarArrayOpExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'useOr', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ScanResult', + wrapped: false, + fields: [ + { + name: 'tokens', + type: 'ScanToken', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'version', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ScanToken', + wrapped: false, + fields: [ + { + name: 'end', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'keywordKind', + type: 'KeywordKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'start', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'token', + type: 'Token', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'SecLabelStmt', + wrapped: true, + fields: [ + { + name: 'label', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'provider', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'SelectStmt', + wrapped: true, + fields: [ + { + name: 'all', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'distinctClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'fromClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupDistinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'havingClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'intoClause', + type: 'IntoClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'larg', + type: 'SelectStmt', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitCount', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitOption', + type: 'LimitOption', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lockingClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'op', + type: 'SetOperation', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rarg', + type: 'SelectStmt', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sortClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'valuesLists', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'windowClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SetOperationStmt', + wrapped: true, + fields: [ + { + name: 'all', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'colCollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colTypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colTypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupClauses', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'larg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'op', + type: 'SetOperation', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rarg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SetToDefault', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeMod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SortBy', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'node', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sortby_dir', + type: 'SortByDir', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sortby_nulls', + type: 'SortByNulls', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'useOp', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'SortGroupClause', + wrapped: true, + fields: [ + { + name: 'eqop', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hashable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulls_first', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sortop', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tleSortGroupRef', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'SQLValueFunction', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'op', + type: 'SQLValueFunctionOp', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'type', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'StatsElem', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'String', + wrapped: true, + fields: [ + { + name: 'sval', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'SubLink', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'operName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'subLinkId', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subLinkType', + type: 'SubLinkType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subselect', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'testexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SubPlan', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'firstColCollation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'firstColType', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'firstColTypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'parallel_safe', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramIds', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'parParam', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'per_call_cost', + type: 'double', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'plan_id', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'plan_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'setParam', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'startup_cost', + type: 'double', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subLinkType', + type: 'SubLinkType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'testexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'unknownEqFalse', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'useHashTable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SubscriptingRef', + wrapped: true, + fields: [ + { + name: 'refassgnexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'refcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refcontainertype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refelemtype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'reflowerindexpr', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'refrestype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'reftypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refupperindexpr', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'TableFunc', + wrapped: true, + fields: [ + { + name: 'colcollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coldefexprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colexprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coltypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coltypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'docexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'notnulls', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'ns_names', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ns_uris', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ordinalitycol', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rowexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'TableLikeClause', + wrapped: true, + fields: [ + { + name: 'options', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relationOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TableSampleClause', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'repeatable', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tsmhandler', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TargetEntry', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'resjunk', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resorigcol', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resorigtbl', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ressortgroupref', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'TransactionStmt', + wrapped: true, + fields: [ + { + name: 'chain', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'gid', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'TransactionStmtKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'savepoint_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TriggerTransition', + wrapped: true, + fields: [ + { + name: 'isNew', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'isTable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TruncateStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'restart_seqs', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TypeCast', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'TypeName', + wrapped: true, + fields: [ + { + name: 'arrayBounds', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'names', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pct_type', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'setof', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typemod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'UnlistenStmt', + wrapped: true, + fields: [ + { + name: 'conditionname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'UpdateStmt', + wrapped: true, + fields: [ + { + name: 'fromClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'returningList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'VacuumRelation', + wrapped: true, + fields: [ + { + name: 'oid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'va_cols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'VacuumStmt', + wrapped: true, + fields: [ + { + name: 'is_vacuumcmd', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rels', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'Var', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varattno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varlevelsup', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varnullingrels', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'vartype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'vartypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'VariableSetStmt', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'is_local', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'VariableSetKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'VariableShowStmt', + wrapped: true, + fields: [ + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ViewStmt', + wrapped: true, + fields: [ + { + name: 'aliases', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'view', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withCheckOption', + type: 'ViewCheckOption', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'WindowClause', + wrapped: true, + fields: [ + { + name: 'copiedOrder', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'endInRangeFunc', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'endOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'frameOptions', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inRangeAsc', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inRangeColl', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inRangeNullsFirst', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'orderClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'partitionClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'refname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'runCondition', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'startInRangeFunc', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'startOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'winref', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'WindowDef', + wrapped: true, + fields: [ + { + name: 'endOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'frameOptions', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'orderClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'partitionClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'refname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'startOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'WindowFunc', + wrapped: true, + fields: [ + { + name: 'aggfilter', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'winagg', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'wincollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'winfnoid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'winref', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'winstar', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'wintype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'WithCheckOption', + wrapped: true, + fields: [ + { + name: 'cascaded', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'WCOKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'polname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'qual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'WithClause', + wrapped: true, + fields: [ + { + name: 'ctes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'recursive', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'XmlExpr', + wrapped: true, + fields: [ + { + name: 'arg_names', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'indent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'named_args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'op', + type: 'XmlExprOp', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'type', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xmloption', + type: 'XmlOptionType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'XmlSerialize', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'indent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'xmloption', + type: 'XmlOptionType', + isNode: false, + isArray: false, + optional: true + } + ] + } +];", + "file": "complete-schema.ts", + }, + { + "code": "/** +* This file was automatically generated by pg-proto-parser@latest. +* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, +* and run the pg-proto-parser generate command to regenerate this file. +*/ +export type OverridingKind = "OVERRIDING_NOT_SET" | "OVERRIDING_USER_VALUE" | "OVERRIDING_SYSTEM_VALUE"; +export type QuerySource = "QSRC_ORIGINAL" | "QSRC_PARSER" | "QSRC_INSTEAD_RULE" | "QSRC_QUAL_INSTEAD_RULE" | "QSRC_NON_INSTEAD_RULE"; +export type SortByDir = "SORTBY_DEFAULT" | "SORTBY_ASC" | "SORTBY_DESC" | "SORTBY_USING"; +export type SortByNulls = "SORTBY_NULLS_DEFAULT" | "SORTBY_NULLS_FIRST" | "SORTBY_NULLS_LAST"; +export type SetQuantifier = "SET_QUANTIFIER_DEFAULT" | "SET_QUANTIFIER_ALL" | "SET_QUANTIFIER_DISTINCT"; +export type A_Expr_Kind = "AEXPR_OP" | "AEXPR_OP_ANY" | "AEXPR_OP_ALL" | "AEXPR_DISTINCT" | "AEXPR_NOT_DISTINCT" | "AEXPR_NULLIF" | "AEXPR_IN" | "AEXPR_LIKE" | "AEXPR_ILIKE" | "AEXPR_SIMILAR" | "AEXPR_BETWEEN" | "AEXPR_NOT_BETWEEN" | "AEXPR_BETWEEN_SYM" | "AEXPR_NOT_BETWEEN_SYM"; +export type RoleSpecType = "ROLESPEC_CSTRING" | "ROLESPEC_CURRENT_ROLE" | "ROLESPEC_CURRENT_USER" | "ROLESPEC_SESSION_USER" | "ROLESPEC_PUBLIC"; +export type TableLikeOption = "CREATE_TABLE_LIKE_COMMENTS" | "CREATE_TABLE_LIKE_COMPRESSION" | "CREATE_TABLE_LIKE_CONSTRAINTS" | "CREATE_TABLE_LIKE_DEFAULTS" | "CREATE_TABLE_LIKE_GENERATED" | "CREATE_TABLE_LIKE_IDENTITY" | "CREATE_TABLE_LIKE_INDEXES" | "CREATE_TABLE_LIKE_STATISTICS" | "CREATE_TABLE_LIKE_STORAGE" | "CREATE_TABLE_LIKE_ALL"; +export type DefElemAction = "DEFELEM_UNSPEC" | "DEFELEM_SET" | "DEFELEM_ADD" | "DEFELEM_DROP"; +export type PartitionStrategy = "PARTITION_STRATEGY_LIST" | "PARTITION_STRATEGY_RANGE" | "PARTITION_STRATEGY_HASH"; +export type PartitionRangeDatumKind = "PARTITION_RANGE_DATUM_MINVALUE" | "PARTITION_RANGE_DATUM_VALUE" | "PARTITION_RANGE_DATUM_MAXVALUE"; +export type RTEKind = "RTE_RELATION" | "RTE_SUBQUERY" | "RTE_JOIN" | "RTE_FUNCTION" | "RTE_TABLEFUNC" | "RTE_VALUES" | "RTE_CTE" | "RTE_NAMEDTUPLESTORE" | "RTE_RESULT"; +export type WCOKind = "WCO_VIEW_CHECK" | "WCO_RLS_INSERT_CHECK" | "WCO_RLS_UPDATE_CHECK" | "WCO_RLS_CONFLICT_CHECK" | "WCO_RLS_MERGE_UPDATE_CHECK" | "WCO_RLS_MERGE_DELETE_CHECK"; +export type GroupingSetKind = "GROUPING_SET_EMPTY" | "GROUPING_SET_SIMPLE" | "GROUPING_SET_ROLLUP" | "GROUPING_SET_CUBE" | "GROUPING_SET_SETS"; +export type CTEMaterialize = "CTEMaterializeDefault" | "CTEMaterializeAlways" | "CTEMaterializeNever"; +export type SetOperation = "SETOP_NONE" | "SETOP_UNION" | "SETOP_INTERSECT" | "SETOP_EXCEPT"; +export type ObjectType = "OBJECT_ACCESS_METHOD" | "OBJECT_AGGREGATE" | "OBJECT_AMOP" | "OBJECT_AMPROC" | "OBJECT_ATTRIBUTE" | "OBJECT_CAST" | "OBJECT_COLUMN" | "OBJECT_COLLATION" | "OBJECT_CONVERSION" | "OBJECT_DATABASE" | "OBJECT_DEFAULT" | "OBJECT_DEFACL" | "OBJECT_DOMAIN" | "OBJECT_DOMCONSTRAINT" | "OBJECT_EVENT_TRIGGER" | "OBJECT_EXTENSION" | "OBJECT_FDW" | "OBJECT_FOREIGN_SERVER" | "OBJECT_FOREIGN_TABLE" | "OBJECT_FUNCTION" | "OBJECT_INDEX" | "OBJECT_LANGUAGE" | "OBJECT_LARGEOBJECT" | "OBJECT_MATVIEW" | "OBJECT_OPCLASS" | "OBJECT_OPERATOR" | "OBJECT_OPFAMILY" | "OBJECT_PARAMETER_ACL" | "OBJECT_POLICY" | "OBJECT_PROCEDURE" | "OBJECT_PUBLICATION" | "OBJECT_PUBLICATION_NAMESPACE" | "OBJECT_PUBLICATION_REL" | "OBJECT_ROLE" | "OBJECT_ROUTINE" | "OBJECT_RULE" | "OBJECT_SCHEMA" | "OBJECT_SEQUENCE" | "OBJECT_SUBSCRIPTION" | "OBJECT_STATISTIC_EXT" | "OBJECT_TABCONSTRAINT" | "OBJECT_TABLE" | "OBJECT_TABLESPACE" | "OBJECT_TRANSFORM" | "OBJECT_TRIGGER" | "OBJECT_TSCONFIGURATION" | "OBJECT_TSDICTIONARY" | "OBJECT_TSPARSER" | "OBJECT_TSTEMPLATE" | "OBJECT_TYPE" | "OBJECT_USER_MAPPING" | "OBJECT_VIEW"; +export type DropBehavior = "DROP_RESTRICT" | "DROP_CASCADE"; +export type AlterTableType = "AT_AddColumn" | "AT_AddColumnToView" | "AT_ColumnDefault" | "AT_CookedColumnDefault" | "AT_DropNotNull" | "AT_SetNotNull" | "AT_DropExpression" | "AT_CheckNotNull" | "AT_SetStatistics" | "AT_SetOptions" | "AT_ResetOptions" | "AT_SetStorage" | "AT_SetCompression" | "AT_DropColumn" | "AT_AddIndex" | "AT_ReAddIndex" | "AT_AddConstraint" | "AT_ReAddConstraint" | "AT_ReAddDomainConstraint" | "AT_AlterConstraint" | "AT_ValidateConstraint" | "AT_AddIndexConstraint" | "AT_DropConstraint" | "AT_ReAddComment" | "AT_AlterColumnType" | "AT_AlterColumnGenericOptions" | "AT_ChangeOwner" | "AT_ClusterOn" | "AT_DropCluster" | "AT_SetLogged" | "AT_SetUnLogged" | "AT_DropOids" | "AT_SetAccessMethod" | "AT_SetTableSpace" | "AT_SetRelOptions" | "AT_ResetRelOptions" | "AT_ReplaceRelOptions" | "AT_EnableTrig" | "AT_EnableAlwaysTrig" | "AT_EnableReplicaTrig" | "AT_DisableTrig" | "AT_EnableTrigAll" | "AT_DisableTrigAll" | "AT_EnableTrigUser" | "AT_DisableTrigUser" | "AT_EnableRule" | "AT_EnableAlwaysRule" | "AT_EnableReplicaRule" | "AT_DisableRule" | "AT_AddInherit" | "AT_DropInherit" | "AT_AddOf" | "AT_DropOf" | "AT_ReplicaIdentity" | "AT_EnableRowSecurity" | "AT_DisableRowSecurity" | "AT_ForceRowSecurity" | "AT_NoForceRowSecurity" | "AT_GenericOptions" | "AT_AttachPartition" | "AT_DetachPartition" | "AT_DetachPartitionFinalize" | "AT_AddIdentity" | "AT_SetIdentity" | "AT_DropIdentity" | "AT_ReAddStatistics"; +export type GrantTargetType = "ACL_TARGET_OBJECT" | "ACL_TARGET_ALL_IN_SCHEMA" | "ACL_TARGET_DEFAULTS"; +export type VariableSetKind = "VAR_SET_VALUE" | "VAR_SET_DEFAULT" | "VAR_SET_CURRENT" | "VAR_SET_MULTI" | "VAR_RESET" | "VAR_RESET_ALL"; +export type ConstrType = "CONSTR_NULL" | "CONSTR_NOTNULL" | "CONSTR_DEFAULT" | "CONSTR_IDENTITY" | "CONSTR_GENERATED" | "CONSTR_CHECK" | "CONSTR_PRIMARY" | "CONSTR_UNIQUE" | "CONSTR_EXCLUSION" | "CONSTR_FOREIGN" | "CONSTR_ATTR_DEFERRABLE" | "CONSTR_ATTR_NOT_DEFERRABLE" | "CONSTR_ATTR_DEFERRED" | "CONSTR_ATTR_IMMEDIATE"; +export type ImportForeignSchemaType = "FDW_IMPORT_SCHEMA_ALL" | "FDW_IMPORT_SCHEMA_LIMIT_TO" | "FDW_IMPORT_SCHEMA_EXCEPT"; +export type RoleStmtType = "ROLESTMT_ROLE" | "ROLESTMT_USER" | "ROLESTMT_GROUP"; +export type FetchDirection = "FETCH_FORWARD" | "FETCH_BACKWARD" | "FETCH_ABSOLUTE" | "FETCH_RELATIVE"; +export type FunctionParameterMode = "FUNC_PARAM_IN" | "FUNC_PARAM_OUT" | "FUNC_PARAM_INOUT" | "FUNC_PARAM_VARIADIC" | "FUNC_PARAM_TABLE" | "FUNC_PARAM_DEFAULT"; +export type TransactionStmtKind = "TRANS_STMT_BEGIN" | "TRANS_STMT_START" | "TRANS_STMT_COMMIT" | "TRANS_STMT_ROLLBACK" | "TRANS_STMT_SAVEPOINT" | "TRANS_STMT_RELEASE" | "TRANS_STMT_ROLLBACK_TO" | "TRANS_STMT_PREPARE" | "TRANS_STMT_COMMIT_PREPARED" | "TRANS_STMT_ROLLBACK_PREPARED"; +export type ViewCheckOption = "NO_CHECK_OPTION" | "LOCAL_CHECK_OPTION" | "CASCADED_CHECK_OPTION"; +export type DiscardMode = "DISCARD_ALL" | "DISCARD_PLANS" | "DISCARD_SEQUENCES" | "DISCARD_TEMP"; +export type ReindexObjectType = "REINDEX_OBJECT_INDEX" | "REINDEX_OBJECT_TABLE" | "REINDEX_OBJECT_SCHEMA" | "REINDEX_OBJECT_SYSTEM" | "REINDEX_OBJECT_DATABASE"; +export type AlterTSConfigType = "ALTER_TSCONFIG_ADD_MAPPING" | "ALTER_TSCONFIG_ALTER_MAPPING_FOR_TOKEN" | "ALTER_TSCONFIG_REPLACE_DICT" | "ALTER_TSCONFIG_REPLACE_DICT_FOR_TOKEN" | "ALTER_TSCONFIG_DROP_MAPPING"; +export type PublicationObjSpecType = "PUBLICATIONOBJ_TABLE" | "PUBLICATIONOBJ_TABLES_IN_SCHEMA" | "PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA" | "PUBLICATIONOBJ_CONTINUATION"; +export type AlterPublicationAction = "AP_AddObjects" | "AP_DropObjects" | "AP_SetObjects"; +export type AlterSubscriptionType = "ALTER_SUBSCRIPTION_OPTIONS" | "ALTER_SUBSCRIPTION_CONNECTION" | "ALTER_SUBSCRIPTION_SET_PUBLICATION" | "ALTER_SUBSCRIPTION_ADD_PUBLICATION" | "ALTER_SUBSCRIPTION_DROP_PUBLICATION" | "ALTER_SUBSCRIPTION_REFRESH" | "ALTER_SUBSCRIPTION_ENABLED" | "ALTER_SUBSCRIPTION_SKIP"; +export type OnCommitAction = "ONCOMMIT_NOOP" | "ONCOMMIT_PRESERVE_ROWS" | "ONCOMMIT_DELETE_ROWS" | "ONCOMMIT_DROP"; +export type ParamKind = "PARAM_EXTERN" | "PARAM_EXEC" | "PARAM_SUBLINK" | "PARAM_MULTIEXPR"; +export type CoercionContext = "COERCION_IMPLICIT" | "COERCION_ASSIGNMENT" | "COERCION_PLPGSQL" | "COERCION_EXPLICIT"; +export type CoercionForm = "COERCE_EXPLICIT_CALL" | "COERCE_EXPLICIT_CAST" | "COERCE_IMPLICIT_CAST" | "COERCE_SQL_SYNTAX"; +export type BoolExprType = "AND_EXPR" | "OR_EXPR" | "NOT_EXPR"; +export type SubLinkType = "EXISTS_SUBLINK" | "ALL_SUBLINK" | "ANY_SUBLINK" | "ROWCOMPARE_SUBLINK" | "EXPR_SUBLINK" | "MULTIEXPR_SUBLINK" | "ARRAY_SUBLINK" | "CTE_SUBLINK"; +export type RowCompareType = "ROWCOMPARE_LT" | "ROWCOMPARE_LE" | "ROWCOMPARE_EQ" | "ROWCOMPARE_GE" | "ROWCOMPARE_GT" | "ROWCOMPARE_NE"; +export type MinMaxOp = "IS_GREATEST" | "IS_LEAST"; +export type SQLValueFunctionOp = "SVFOP_CURRENT_DATE" | "SVFOP_CURRENT_TIME" | "SVFOP_CURRENT_TIME_N" | "SVFOP_CURRENT_TIMESTAMP" | "SVFOP_CURRENT_TIMESTAMP_N" | "SVFOP_LOCALTIME" | "SVFOP_LOCALTIME_N" | "SVFOP_LOCALTIMESTAMP" | "SVFOP_LOCALTIMESTAMP_N" | "SVFOP_CURRENT_ROLE" | "SVFOP_CURRENT_USER" | "SVFOP_USER" | "SVFOP_SESSION_USER" | "SVFOP_CURRENT_CATALOG" | "SVFOP_CURRENT_SCHEMA"; +export type XmlExprOp = "IS_XMLCONCAT" | "IS_XMLELEMENT" | "IS_XMLFOREST" | "IS_XMLPARSE" | "IS_XMLPI" | "IS_XMLROOT" | "IS_XMLSERIALIZE" | "IS_DOCUMENT"; +export type XmlOptionType = "XMLOPTION_DOCUMENT" | "XMLOPTION_CONTENT"; +export type JsonEncoding = "JS_ENC_DEFAULT" | "JS_ENC_UTF8" | "JS_ENC_UTF16" | "JS_ENC_UTF32"; +export type JsonFormatType = "JS_FORMAT_DEFAULT" | "JS_FORMAT_JSON" | "JS_FORMAT_JSONB"; +export type JsonConstructorType = "JSCTOR_JSON_OBJECT" | "JSCTOR_JSON_ARRAY" | "JSCTOR_JSON_OBJECTAGG" | "JSCTOR_JSON_ARRAYAGG"; +export type JsonValueType = "JS_TYPE_ANY" | "JS_TYPE_OBJECT" | "JS_TYPE_ARRAY" | "JS_TYPE_SCALAR"; +export type NullTestType = "IS_NULL" | "IS_NOT_NULL"; +export type BoolTestType = "IS_TRUE" | "IS_NOT_TRUE" | "IS_FALSE" | "IS_NOT_FALSE" | "IS_UNKNOWN" | "IS_NOT_UNKNOWN"; +export type CmdType = "CMD_UNKNOWN" | "CMD_SELECT" | "CMD_UPDATE" | "CMD_INSERT" | "CMD_DELETE" | "CMD_MERGE" | "CMD_UTILITY" | "CMD_NOTHING"; +export type JoinType = "JOIN_INNER" | "JOIN_LEFT" | "JOIN_FULL" | "JOIN_RIGHT" | "JOIN_SEMI" | "JOIN_ANTI" | "JOIN_RIGHT_ANTI" | "JOIN_UNIQUE_OUTER" | "JOIN_UNIQUE_INNER"; +export type AggStrategy = "AGG_PLAIN" | "AGG_SORTED" | "AGG_HASHED" | "AGG_MIXED"; +export type AggSplit = "AGGSPLIT_SIMPLE" | "AGGSPLIT_INITIAL_SERIAL" | "AGGSPLIT_FINAL_DESERIAL"; +export type SetOpCmd = "SETOPCMD_INTERSECT" | "SETOPCMD_INTERSECT_ALL" | "SETOPCMD_EXCEPT" | "SETOPCMD_EXCEPT_ALL"; +export type SetOpStrategy = "SETOP_SORTED" | "SETOP_HASHED"; +export type OnConflictAction = "ONCONFLICT_NONE" | "ONCONFLICT_NOTHING" | "ONCONFLICT_UPDATE"; +export type LimitOption = "LIMIT_OPTION_DEFAULT" | "LIMIT_OPTION_COUNT" | "LIMIT_OPTION_WITH_TIES"; +export type LockClauseStrength = "LCS_NONE" | "LCS_FORKEYSHARE" | "LCS_FORSHARE" | "LCS_FORNOKEYUPDATE" | "LCS_FORUPDATE"; +export type LockWaitPolicy = "LockWaitBlock" | "LockWaitSkip" | "LockWaitError"; +export type LockTupleMode = "LockTupleKeyShare" | "LockTupleShare" | "LockTupleNoKeyExclusive" | "LockTupleExclusive"; +export type KeywordKind = "NO_KEYWORD" | "UNRESERVED_KEYWORD" | "COL_NAME_KEYWORD" | "TYPE_FUNC_NAME_KEYWORD" | "RESERVED_KEYWORD"; +export type Token = "NUL" | "ASCII_36" | "ASCII_37" | "ASCII_40" | "ASCII_41" | "ASCII_42" | "ASCII_43" | "ASCII_44" | "ASCII_45" | "ASCII_46" | "ASCII_47" | "ASCII_58" | "ASCII_59" | "ASCII_60" | "ASCII_61" | "ASCII_62" | "ASCII_63" | "ASCII_91" | "ASCII_92" | "ASCII_93" | "ASCII_94" | "IDENT" | "UIDENT" | "FCONST" | "SCONST" | "USCONST" | "BCONST" | "XCONST" | "Op" | "ICONST" | "PARAM" | "TYPECAST" | "DOT_DOT" | "COLON_EQUALS" | "EQUALS_GREATER" | "LESS_EQUALS" | "GREATER_EQUALS" | "NOT_EQUALS" | "SQL_COMMENT" | "C_COMMENT" | "ABORT_P" | "ABSENT" | "ABSOLUTE_P" | "ACCESS" | "ACTION" | "ADD_P" | "ADMIN" | "AFTER" | "AGGREGATE" | "ALL" | "ALSO" | "ALTER" | "ALWAYS" | "ANALYSE" | "ANALYZE" | "AND" | "ANY" | "ARRAY" | "AS" | "ASC" | "ASENSITIVE" | "ASSERTION" | "ASSIGNMENT" | "ASYMMETRIC" | "ATOMIC" | "AT" | "ATTACH" | "ATTRIBUTE" | "AUTHORIZATION" | "BACKWARD" | "BEFORE" | "BEGIN_P" | "BETWEEN" | "BIGINT" | "BINARY" | "BIT" | "BOOLEAN_P" | "BOTH" | "BREADTH" | "BY" | "CACHE" | "CALL" | "CALLED" | "CASCADE" | "CASCADED" | "CASE" | "CAST" | "CATALOG_P" | "CHAIN" | "CHAR_P" | "CHARACTER" | "CHARACTERISTICS" | "CHECK" | "CHECKPOINT" | "CLASS" | "CLOSE" | "CLUSTER" | "COALESCE" | "COLLATE" | "COLLATION" | "COLUMN" | "COLUMNS" | "COMMENT" | "COMMENTS" | "COMMIT" | "COMMITTED" | "COMPRESSION" | "CONCURRENTLY" | "CONFIGURATION" | "CONFLICT" | "CONNECTION" | "CONSTRAINT" | "CONSTRAINTS" | "CONTENT_P" | "CONTINUE_P" | "CONVERSION_P" | "COPY" | "COST" | "CREATE" | "CROSS" | "CSV" | "CUBE" | "CURRENT_P" | "CURRENT_CATALOG" | "CURRENT_DATE" | "CURRENT_ROLE" | "CURRENT_SCHEMA" | "CURRENT_TIME" | "CURRENT_TIMESTAMP" | "CURRENT_USER" | "CURSOR" | "CYCLE" | "DATA_P" | "DATABASE" | "DAY_P" | "DEALLOCATE" | "DEC" | "DECIMAL_P" | "DECLARE" | "DEFAULT" | "DEFAULTS" | "DEFERRABLE" | "DEFERRED" | "DEFINER" | "DELETE_P" | "DELIMITER" | "DELIMITERS" | "DEPENDS" | "DEPTH" | "DESC" | "DETACH" | "DICTIONARY" | "DISABLE_P" | "DISCARD" | "DISTINCT" | "DO" | "DOCUMENT_P" | "DOMAIN_P" | "DOUBLE_P" | "DROP" | "EACH" | "ELSE" | "ENABLE_P" | "ENCODING" | "ENCRYPTED" | "END_P" | "ENUM_P" | "ESCAPE" | "EVENT" | "EXCEPT" | "EXCLUDE" | "EXCLUDING" | "EXCLUSIVE" | "EXECUTE" | "EXISTS" | "EXPLAIN" | "EXPRESSION" | "EXTENSION" | "EXTERNAL" | "EXTRACT" | "FALSE_P" | "FAMILY" | "FETCH" | "FILTER" | "FINALIZE" | "FIRST_P" | "FLOAT_P" | "FOLLOWING" | "FOR" | "FORCE" | "FOREIGN" | "FORMAT" | "FORWARD" | "FREEZE" | "FROM" | "FULL" | "FUNCTION" | "FUNCTIONS" | "GENERATED" | "GLOBAL" | "GRANT" | "GRANTED" | "GREATEST" | "GROUP_P" | "GROUPING" | "GROUPS" | "HANDLER" | "HAVING" | "HEADER_P" | "HOLD" | "HOUR_P" | "IDENTITY_P" | "IF_P" | "ILIKE" | "IMMEDIATE" | "IMMUTABLE" | "IMPLICIT_P" | "IMPORT_P" | "IN_P" | "INCLUDE" | "INCLUDING" | "INCREMENT" | "INDENT" | "INDEX" | "INDEXES" | "INHERIT" | "INHERITS" | "INITIALLY" | "INLINE_P" | "INNER_P" | "INOUT" | "INPUT_P" | "INSENSITIVE" | "INSERT" | "INSTEAD" | "INT_P" | "INTEGER" | "INTERSECT" | "INTERVAL" | "INTO" | "INVOKER" | "IS" | "ISNULL" | "ISOLATION" | "JOIN" | "JSON" | "JSON_ARRAY" | "JSON_ARRAYAGG" | "JSON_OBJECT" | "JSON_OBJECTAGG" | "KEY" | "KEYS" | "LABEL" | "LANGUAGE" | "LARGE_P" | "LAST_P" | "LATERAL_P" | "LEADING" | "LEAKPROOF" | "LEAST" | "LEFT" | "LEVEL" | "LIKE" | "LIMIT" | "LISTEN" | "LOAD" | "LOCAL" | "LOCALTIME" | "LOCALTIMESTAMP" | "LOCATION" | "LOCK_P" | "LOCKED" | "LOGGED" | "MAPPING" | "MATCH" | "MATCHED" | "MATERIALIZED" | "MAXVALUE" | "MERGE" | "METHOD" | "MINUTE_P" | "MINVALUE" | "MODE" | "MONTH_P" | "MOVE" | "NAME_P" | "NAMES" | "NATIONAL" | "NATURAL" | "NCHAR" | "NEW" | "NEXT" | "NFC" | "NFD" | "NFKC" | "NFKD" | "NO" | "NONE" | "NORMALIZE" | "NORMALIZED" | "NOT" | "NOTHING" | "NOTIFY" | "NOTNULL" | "NOWAIT" | "NULL_P" | "NULLIF" | "NULLS_P" | "NUMERIC" | "OBJECT_P" | "OF" | "OFF" | "OFFSET" | "OIDS" | "OLD" | "ON" | "ONLY" | "OPERATOR" | "OPTION" | "OPTIONS" | "OR" | "ORDER" | "ORDINALITY" | "OTHERS" | "OUT_P" | "OUTER_P" | "OVER" | "OVERLAPS" | "OVERLAY" | "OVERRIDING" | "OWNED" | "OWNER" | "PARALLEL" | "PARAMETER" | "PARSER" | "PARTIAL" | "PARTITION" | "PASSING" | "PASSWORD" | "PLACING" | "PLANS" | "POLICY" | "POSITION" | "PRECEDING" | "PRECISION" | "PRESERVE" | "PREPARE" | "PREPARED" | "PRIMARY" | "PRIOR" | "PRIVILEGES" | "PROCEDURAL" | "PROCEDURE" | "PROCEDURES" | "PROGRAM" | "PUBLICATION" | "QUOTE" | "RANGE" | "READ" | "REAL" | "REASSIGN" | "RECHECK" | "RECURSIVE" | "REF_P" | "REFERENCES" | "REFERENCING" | "REFRESH" | "REINDEX" | "RELATIVE_P" | "RELEASE" | "RENAME" | "REPEATABLE" | "REPLACE" | "REPLICA" | "RESET" | "RESTART" | "RESTRICT" | "RETURN" | "RETURNING" | "RETURNS" | "REVOKE" | "RIGHT" | "ROLE" | "ROLLBACK" | "ROLLUP" | "ROUTINE" | "ROUTINES" | "ROW" | "ROWS" | "RULE" | "SAVEPOINT" | "SCALAR" | "SCHEMA" | "SCHEMAS" | "SCROLL" | "SEARCH" | "SECOND_P" | "SECURITY" | "SELECT" | "SEQUENCE" | "SEQUENCES" | "SERIALIZABLE" | "SERVER" | "SESSION" | "SESSION_USER" | "SET" | "SETS" | "SETOF" | "SHARE" | "SHOW" | "SIMILAR" | "SIMPLE" | "SKIP" | "SMALLINT" | "SNAPSHOT" | "SOME" | "SQL_P" | "STABLE" | "STANDALONE_P" | "START" | "STATEMENT" | "STATISTICS" | "STDIN" | "STDOUT" | "STORAGE" | "STORED" | "STRICT_P" | "STRIP_P" | "SUBSCRIPTION" | "SUBSTRING" | "SUPPORT" | "SYMMETRIC" | "SYSID" | "SYSTEM_P" | "SYSTEM_USER" | "TABLE" | "TABLES" | "TABLESAMPLE" | "TABLESPACE" | "TEMP" | "TEMPLATE" | "TEMPORARY" | "TEXT_P" | "THEN" | "TIES" | "TIME" | "TIMESTAMP" | "TO" | "TRAILING" | "TRANSACTION" | "TRANSFORM" | "TREAT" | "TRIGGER" | "TRIM" | "TRUE_P" | "TRUNCATE" | "TRUSTED" | "TYPE_P" | "TYPES_P" | "UESCAPE" | "UNBOUNDED" | "UNCOMMITTED" | "UNENCRYPTED" | "UNION" | "UNIQUE" | "UNKNOWN" | "UNLISTEN" | "UNLOGGED" | "UNTIL" | "UPDATE" | "USER" | "USING" | "VACUUM" | "VALID" | "VALIDATE" | "VALIDATOR" | "VALUE_P" | "VALUES" | "VARCHAR" | "VARIADIC" | "VARYING" | "VERBOSE" | "VERSION_P" | "VIEW" | "VIEWS" | "VOLATILE" | "WHEN" | "WHERE" | "WHITESPACE_P" | "WINDOW" | "WITH" | "WITHIN" | "WITHOUT" | "WORK" | "WRAPPER" | "WRITE" | "XML_P" | "XMLATTRIBUTES" | "XMLCONCAT" | "XMLELEMENT" | "XMLEXISTS" | "XMLFOREST" | "XMLNAMESPACES" | "XMLPARSE" | "XMLPI" | "XMLROOT" | "XMLSERIALIZE" | "XMLTABLE" | "YEAR_P" | "YES_P" | "ZONE" | "FORMAT_LA" | "NOT_LA" | "NULLS_LA" | "WITH_LA" | "WITHOUT_LA" | "MODE_TYPE_NAME" | "MODE_PLPGSQL_EXPR" | "MODE_PLPGSQL_ASSIGN1" | "MODE_PLPGSQL_ASSIGN2" | "MODE_PLPGSQL_ASSIGN3" | "UMINUS";", + "file": "enums.ts", + }, + { + "code": "/** +* This file was automatically generated by pg-proto-parser@latest. +* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, +* and run the pg-proto-parser generate command to regenerate this file. +*/ +import { OverridingKind, QuerySource, SortByDir, SortByNulls, SetQuantifier, A_Expr_Kind, RoleSpecType, TableLikeOption, DefElemAction, PartitionStrategy, PartitionRangeDatumKind, RTEKind, WCOKind, GroupingSetKind, CTEMaterialize, SetOperation, ObjectType, DropBehavior, AlterTableType, GrantTargetType, VariableSetKind, ConstrType, ImportForeignSchemaType, RoleStmtType, FetchDirection, FunctionParameterMode, TransactionStmtKind, ViewCheckOption, DiscardMode, ReindexObjectType, AlterTSConfigType, PublicationObjSpecType, AlterPublicationAction, AlterSubscriptionType, OnCommitAction, ParamKind, CoercionContext, CoercionForm, BoolExprType, SubLinkType, RowCompareType, MinMaxOp, SQLValueFunctionOp, XmlExprOp, XmlOptionType, JsonEncoding, JsonFormatType, JsonConstructorType, JsonValueType, NullTestType, BoolTestType, CmdType, JoinType, AggStrategy, AggSplit, SetOpCmd, SetOpStrategy, OnConflictAction, LimitOption, LockClauseStrength, LockWaitPolicy, LockTupleMode, KeywordKind, Token } from "./enums"; +export type Node = ParseResult | ScanResult | Integer | Float | Boolean | String | BitString | List | OidList | IntList | A_Const | Alias | RangeVar | TableFunc | IntoClause | Var | Param | Aggref | GroupingFunc | WindowFunc | SubscriptingRef | FuncExpr | NamedArgExpr | OpExpr | DistinctExpr | NullIfExpr | ScalarArrayOpExpr | BoolExpr | SubLink | SubPlan | AlternativeSubPlan | FieldSelect | FieldStore | RelabelType | CoerceViaIO | ArrayCoerceExpr | ConvertRowtypeExpr | CollateExpr | CaseExpr | CaseWhen | CaseTestExpr | ArrayExpr | RowExpr | RowCompareExpr | CoalesceExpr | MinMaxExpr | SQLValueFunction | XmlExpr | JsonFormat | JsonReturning | JsonValueExpr | JsonConstructorExpr | JsonIsPredicate | NullTest | BooleanTest | CoerceToDomain | CoerceToDomainValue | SetToDefault | CurrentOfExpr | NextValueExpr | InferenceElem | TargetEntry | RangeTblRef | JoinExpr | FromExpr | OnConflictExpr | Query | TypeName | ColumnRef | ParamRef | A_Expr | TypeCast | CollateClause | RoleSpec | FuncCall | A_Star | A_Indices | A_Indirection | A_ArrayExpr | ResTarget | MultiAssignRef | SortBy | WindowDef | RangeSubselect | RangeFunction | RangeTableFunc | RangeTableFuncCol | RangeTableSample | ColumnDef | TableLikeClause | IndexElem | DefElem | LockingClause | XmlSerialize | PartitionElem | PartitionSpec | PartitionBoundSpec | PartitionRangeDatum | PartitionCmd | RangeTblEntry | RTEPermissionInfo | RangeTblFunction | TableSampleClause | WithCheckOption | SortGroupClause | GroupingSet | WindowClause | RowMarkClause | WithClause | InferClause | OnConflictClause | CTESearchClause | CTECycleClause | CommonTableExpr | MergeWhenClause | MergeAction | TriggerTransition | JsonOutput | JsonKeyValue | JsonObjectConstructor | JsonArrayConstructor | JsonArrayQueryConstructor | JsonAggConstructor | JsonObjectAgg | JsonArrayAgg | RawStmt | InsertStmt | DeleteStmt | UpdateStmt | MergeStmt | SelectStmt | SetOperationStmt | ReturnStmt | PLAssignStmt | CreateSchemaStmt | AlterTableStmt | ReplicaIdentityStmt | AlterTableCmd | AlterCollationStmt | AlterDomainStmt | GrantStmt | ObjectWithArgs | AccessPriv | GrantRoleStmt | AlterDefaultPrivilegesStmt | CopyStmt | VariableSetStmt | VariableShowStmt | CreateStmt | Constraint | CreateTableSpaceStmt | DropTableSpaceStmt | AlterTableSpaceOptionsStmt | AlterTableMoveAllStmt | CreateExtensionStmt | AlterExtensionStmt | AlterExtensionContentsStmt | CreateFdwStmt | AlterFdwStmt | CreateForeignServerStmt | AlterForeignServerStmt | CreateForeignTableStmt | CreateUserMappingStmt | AlterUserMappingStmt | DropUserMappingStmt | ImportForeignSchemaStmt | CreatePolicyStmt | AlterPolicyStmt | CreateAmStmt | CreateTrigStmt | CreateEventTrigStmt | AlterEventTrigStmt | CreatePLangStmt | CreateRoleStmt | AlterRoleStmt | AlterRoleSetStmt | DropRoleStmt | CreateSeqStmt | AlterSeqStmt | DefineStmt | CreateDomainStmt | CreateOpClassStmt | CreateOpClassItem | CreateOpFamilyStmt | AlterOpFamilyStmt | DropStmt | TruncateStmt | CommentStmt | SecLabelStmt | DeclareCursorStmt | ClosePortalStmt | FetchStmt | IndexStmt | CreateStatsStmt | StatsElem | AlterStatsStmt | CreateFunctionStmt | FunctionParameter | AlterFunctionStmt | DoStmt | InlineCodeBlock | CallStmt | CallContext | RenameStmt | AlterObjectDependsStmt | AlterObjectSchemaStmt | AlterOwnerStmt | AlterOperatorStmt | AlterTypeStmt | RuleStmt | NotifyStmt | ListenStmt | UnlistenStmt | TransactionStmt | CompositeTypeStmt | CreateEnumStmt | CreateRangeStmt | AlterEnumStmt | ViewStmt | LoadStmt | CreatedbStmt | AlterDatabaseStmt | AlterDatabaseRefreshCollStmt | AlterDatabaseSetStmt | DropdbStmt | AlterSystemStmt | ClusterStmt | VacuumStmt | VacuumRelation | ExplainStmt | CreateTableAsStmt | RefreshMatViewStmt | CheckPointStmt | DiscardStmt | LockStmt | ConstraintsSetStmt | ReindexStmt | CreateConversionStmt | CreateCastStmt | CreateTransformStmt | PrepareStmt | ExecuteStmt | DeallocateStmt | DropOwnedStmt | ReassignOwnedStmt | AlterTSDictionaryStmt | AlterTSConfigurationStmt | PublicationTable | PublicationObjSpec | CreatePublicationStmt | AlterPublicationStmt | CreateSubscriptionStmt | AlterSubscriptionStmt | DropSubscriptionStmt | ScanToken; +export interface ParseResult { + version?: number; + stmts?: RawStmt[]; +} +export interface ScanResult { + version?: number; + tokens?: ScanToken[]; +} +export interface Integer { + ival?: number; +} +export interface Float { + fval?: string; +} +export interface Boolean { + boolval?: boolean; +} +export interface String { + sval?: string; +} +export interface BitString { + bsval?: string; +} +export interface List { + items?: Node[]; +} +export interface OidList { + items?: Node[]; +} +export interface IntList { + items?: Node[]; +} +export interface A_Const { + ival?: Integer; + fval?: Float; + boolval?: Boolean; + sval?: String; + bsval?: BitString; + isnull?: boolean; + location?: number; +} +export interface Alias { + aliasname?: string; + colnames?: Node[]; +} +export interface RangeVar { + catalogname?: string; + schemaname?: string; + relname?: string; + inh?: boolean; + relpersistence?: string; + alias?: Alias; + location?: number; +} +export interface TableFunc { + ns_uris?: Node[]; + ns_names?: Node[]; + docexpr?: Node; + rowexpr?: Node; + colnames?: Node[]; + coltypes?: Node[]; + coltypmods?: Node[]; + colcollations?: Node[]; + colexprs?: Node[]; + coldefexprs?: Node[]; + notnulls?: bigint[]; + ordinalitycol?: number; + location?: number; +} +export interface IntoClause { + rel?: RangeVar; + colNames?: Node[]; + accessMethod?: string; + options?: Node[]; + onCommit?: OnCommitAction; + tableSpaceName?: string; + viewQuery?: Node; + skipData?: boolean; +} +export interface Var { + xpr?: Node; + varno?: number; + varattno?: number; + vartype?: number; + vartypmod?: number; + varcollid?: number; + varnullingrels?: bigint[]; + varlevelsup?: number; + location?: number; +} +export interface Param { + xpr?: Node; + paramkind?: ParamKind; + paramid?: number; + paramtype?: number; + paramtypmod?: number; + paramcollid?: number; + location?: number; +} +export interface Aggref { + xpr?: Node; + aggfnoid?: number; + aggtype?: number; + aggcollid?: number; + inputcollid?: number; + aggargtypes?: Node[]; + aggdirectargs?: Node[]; + args?: Node[]; + aggorder?: Node[]; + aggdistinct?: Node[]; + aggfilter?: Node; + aggstar?: boolean; + aggvariadic?: boolean; + aggkind?: string; + agglevelsup?: number; + aggsplit?: AggSplit; + aggno?: number; + aggtransno?: number; + location?: number; +} +export interface GroupingFunc { + xpr?: Node; + args?: Node[]; + refs?: Node[]; + agglevelsup?: number; + location?: number; +} +export interface WindowFunc { + xpr?: Node; + winfnoid?: number; + wintype?: number; + wincollid?: number; + inputcollid?: number; + args?: Node[]; + aggfilter?: Node; + winref?: number; + winstar?: boolean; + winagg?: boolean; + location?: number; +} +export interface SubscriptingRef { + xpr?: Node; + refcontainertype?: number; + refelemtype?: number; + refrestype?: number; + reftypmod?: number; + refcollid?: number; + refupperindexpr?: Node[]; + reflowerindexpr?: Node[]; + refexpr?: Node; + refassgnexpr?: Node; +} +export interface FuncExpr { + xpr?: Node; + funcid?: number; + funcresulttype?: number; + funcretset?: boolean; + funcvariadic?: boolean; + funcformat?: CoercionForm; + funccollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface NamedArgExpr { + xpr?: Node; + arg?: Node; + name?: string; + argnumber?: number; + location?: number; +} +export interface OpExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface DistinctExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface NullIfExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface ScalarArrayOpExpr { + xpr?: Node; + opno?: number; + useOr?: boolean; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface BoolExpr { + xpr?: Node; + boolop?: BoolExprType; + args?: Node[]; + location?: number; +} +export interface SubLink { + xpr?: Node; + subLinkType?: SubLinkType; + subLinkId?: number; + testexpr?: Node; + operName?: Node[]; + subselect?: Node; + location?: number; +} +export interface SubPlan { + xpr?: Node; + subLinkType?: SubLinkType; + testexpr?: Node; + paramIds?: Node[]; + plan_id?: number; + plan_name?: string; + firstColType?: number; + firstColTypmod?: number; + firstColCollation?: number; + useHashTable?: boolean; + unknownEqFalse?: boolean; + parallel_safe?: boolean; + setParam?: Node[]; + parParam?: Node[]; + args?: Node[]; + startup_cost?: number; + per_call_cost?: number; +} +export interface AlternativeSubPlan { + xpr?: Node; + subplans?: Node[]; +} +export interface FieldSelect { + xpr?: Node; + arg?: Node; + fieldnum?: number; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; +} +export interface FieldStore { + xpr?: Node; + arg?: Node; + newvals?: Node[]; + fieldnums?: Node[]; + resulttype?: number; +} +export interface RelabelType { + xpr?: Node; + arg?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + relabelformat?: CoercionForm; + location?: number; +} +export interface CoerceViaIO { + xpr?: Node; + arg?: Node; + resulttype?: number; + resultcollid?: number; + coerceformat?: CoercionForm; + location?: number; +} +export interface ArrayCoerceExpr { + xpr?: Node; + arg?: Node; + elemexpr?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + coerceformat?: CoercionForm; + location?: number; +} +export interface ConvertRowtypeExpr { + xpr?: Node; + arg?: Node; + resulttype?: number; + convertformat?: CoercionForm; + location?: number; +} +export interface CollateExpr { + xpr?: Node; + arg?: Node; + collOid?: number; + location?: number; +} +export interface CaseExpr { + xpr?: Node; + casetype?: number; + casecollid?: number; + arg?: Node; + args?: Node[]; + defresult?: Node; + location?: number; +} +export interface CaseWhen { + xpr?: Node; + expr?: Node; + result?: Node; + location?: number; +} +export interface CaseTestExpr { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; +} +export interface ArrayExpr { + xpr?: Node; + array_typeid?: number; + array_collid?: number; + element_typeid?: number; + elements?: Node[]; + multidims?: boolean; + location?: number; +} +export interface RowExpr { + xpr?: Node; + args?: Node[]; + row_typeid?: number; + row_format?: CoercionForm; + colnames?: Node[]; + location?: number; +} +export interface RowCompareExpr { + xpr?: Node; + rctype?: RowCompareType; + opnos?: Node[]; + opfamilies?: Node[]; + inputcollids?: Node[]; + largs?: Node[]; + rargs?: Node[]; +} +export interface CoalesceExpr { + xpr?: Node; + coalescetype?: number; + coalescecollid?: number; + args?: Node[]; + location?: number; +} +export interface MinMaxExpr { + xpr?: Node; + minmaxtype?: number; + minmaxcollid?: number; + inputcollid?: number; + op?: MinMaxOp; + args?: Node[]; + location?: number; +} +export interface SQLValueFunction { + xpr?: Node; + op?: SQLValueFunctionOp; + type?: number; + typmod?: number; + location?: number; +} +export interface XmlExpr { + xpr?: Node; + op?: XmlExprOp; + name?: string; + named_args?: Node[]; + arg_names?: Node[]; + args?: Node[]; + xmloption?: XmlOptionType; + indent?: boolean; + type?: number; + typmod?: number; + location?: number; +} +export interface JsonFormat { + format_type?: JsonFormatType; + encoding?: JsonEncoding; + location?: number; +} +export interface JsonReturning { + format?: JsonFormat; + typid?: number; + typmod?: number; +} +export interface JsonValueExpr { + raw_expr?: Node; + formatted_expr?: Node; + format?: JsonFormat; +} +export interface JsonConstructorExpr { + xpr?: Node; + type?: JsonConstructorType; + args?: Node[]; + func?: Node; + coercion?: Node; + returning?: JsonReturning; + absent_on_null?: boolean; + unique?: boolean; + location?: number; +} +export interface JsonIsPredicate { + expr?: Node; + format?: JsonFormat; + item_type?: JsonValueType; + unique_keys?: boolean; + location?: number; +} +export interface NullTest { + xpr?: Node; + arg?: Node; + nulltesttype?: NullTestType; + argisrow?: boolean; + location?: number; +} +export interface BooleanTest { + xpr?: Node; + arg?: Node; + booltesttype?: BoolTestType; + location?: number; +} +export interface CoerceToDomain { + xpr?: Node; + arg?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + coercionformat?: CoercionForm; + location?: number; +} +export interface CoerceToDomainValue { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; + location?: number; +} +export interface SetToDefault { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; + location?: number; +} +export interface CurrentOfExpr { + xpr?: Node; + cvarno?: number; + cursor_name?: string; + cursor_param?: number; +} +export interface NextValueExpr { + xpr?: Node; + seqid?: number; + typeId?: number; +} +export interface InferenceElem { + xpr?: Node; + expr?: Node; + infercollid?: number; + inferopclass?: number; +} +export interface TargetEntry { + xpr?: Node; + expr?: Node; + resno?: number; + resname?: string; + ressortgroupref?: number; + resorigtbl?: number; + resorigcol?: number; + resjunk?: boolean; +} +export interface RangeTblRef { + rtindex?: number; +} +export interface JoinExpr { + jointype?: JoinType; + isNatural?: boolean; + larg?: Node; + rarg?: Node; + usingClause?: Node[]; + join_using_alias?: Alias; + quals?: Node; + alias?: Alias; + rtindex?: number; +} +export interface FromExpr { + fromlist?: Node[]; + quals?: Node; +} +export interface OnConflictExpr { + action?: OnConflictAction; + arbiterElems?: Node[]; + arbiterWhere?: Node; + constraint?: number; + onConflictSet?: Node[]; + onConflictWhere?: Node; + exclRelIndex?: number; + exclRelTlist?: Node[]; +} +export interface Query { + commandType?: CmdType; + querySource?: QuerySource; + canSetTag?: boolean; + utilityStmt?: Node; + resultRelation?: number; + hasAggs?: boolean; + hasWindowFuncs?: boolean; + hasTargetSRFs?: boolean; + hasSubLinks?: boolean; + hasDistinctOn?: boolean; + hasRecursive?: boolean; + hasModifyingCTE?: boolean; + hasForUpdate?: boolean; + hasRowSecurity?: boolean; + isReturn?: boolean; + cteList?: Node[]; + rtable?: Node[]; + rteperminfos?: Node[]; + jointree?: FromExpr; + mergeActionList?: Node[]; + mergeUseOuterJoin?: boolean; + targetList?: Node[]; + override?: OverridingKind; + onConflict?: OnConflictExpr; + returningList?: Node[]; + groupClause?: Node[]; + groupDistinct?: boolean; + groupingSets?: Node[]; + havingQual?: Node; + windowClause?: Node[]; + distinctClause?: Node[]; + sortClause?: Node[]; + limitOffset?: Node; + limitCount?: Node; + limitOption?: LimitOption; + rowMarks?: Node[]; + setOperations?: Node; + constraintDeps?: Node[]; + withCheckOptions?: Node[]; + stmt_location?: number; + stmt_len?: number; +} +export interface TypeName { + names?: Node[]; + typeOid?: number; + setof?: boolean; + pct_type?: boolean; + typmods?: Node[]; + typemod?: number; + arrayBounds?: Node[]; + location?: number; +} +export interface ColumnRef { + fields?: Node[]; + location?: number; +} +export interface ParamRef { + number?: number; + location?: number; +} +export interface A_Expr { + kind?: A_Expr_Kind; + name?: Node[]; + lexpr?: Node; + rexpr?: Node; + location?: number; +} +export interface TypeCast { + arg?: Node; + typeName?: TypeName; + location?: number; +} +export interface CollateClause { + arg?: Node; + collname?: Node[]; + location?: number; +} +export interface RoleSpec { + roletype?: RoleSpecType; + rolename?: string; + location?: number; +} +export interface FuncCall { + funcname?: Node[]; + args?: Node[]; + agg_order?: Node[]; + agg_filter?: Node; + over?: WindowDef; + agg_within_group?: boolean; + agg_star?: boolean; + agg_distinct?: boolean; + func_variadic?: boolean; + funcformat?: CoercionForm; + location?: number; +} +export interface A_Star {} +export interface A_Indices { + is_slice?: boolean; + lidx?: Node; + uidx?: Node; +} +export interface A_Indirection { + arg?: Node; + indirection?: Node[]; +} +export interface A_ArrayExpr { + elements?: Node[]; + location?: number; +} +export interface ResTarget { + name?: string; + indirection?: Node[]; + val?: Node; + location?: number; +} +export interface MultiAssignRef { + source?: Node; + colno?: number; + ncolumns?: number; +} +export interface SortBy { + node?: Node; + sortby_dir?: SortByDir; + sortby_nulls?: SortByNulls; + useOp?: Node[]; + location?: number; +} +export interface WindowDef { + name?: string; + refname?: string; + partitionClause?: Node[]; + orderClause?: Node[]; + frameOptions?: number; + startOffset?: Node; + endOffset?: Node; + location?: number; +} +export interface RangeSubselect { + lateral?: boolean; + subquery?: Node; + alias?: Alias; +} +export interface RangeFunction { + lateral?: boolean; + ordinality?: boolean; + is_rowsfrom?: boolean; + functions?: Node[]; + alias?: Alias; + coldeflist?: Node[]; +} +export interface RangeTableFunc { + lateral?: boolean; + docexpr?: Node; + rowexpr?: Node; + namespaces?: Node[]; + columns?: Node[]; + alias?: Alias; + location?: number; +} +export interface RangeTableFuncCol { + colname?: string; + typeName?: TypeName; + for_ordinality?: boolean; + is_not_null?: boolean; + colexpr?: Node; + coldefexpr?: Node; + location?: number; +} +export interface RangeTableSample { + relation?: Node; + method?: Node[]; + args?: Node[]; + repeatable?: Node; + location?: number; +} +export interface ColumnDef { + colname?: string; + typeName?: TypeName; + compression?: string; + inhcount?: number; + is_local?: boolean; + is_not_null?: boolean; + is_from_type?: boolean; + storage?: string; + storage_name?: string; + raw_default?: Node; + cooked_default?: Node; + identity?: string; + identitySequence?: RangeVar; + generated?: string; + collClause?: CollateClause; + collOid?: number; + constraints?: Node[]; + fdwoptions?: Node[]; + location?: number; +} +export interface TableLikeClause { + relation?: RangeVar; + options?: number; + relationOid?: number; +} +export interface IndexElem { + name?: string; + expr?: Node; + indexcolname?: string; + collation?: Node[]; + opclass?: Node[]; + opclassopts?: Node[]; + ordering?: SortByDir; + nulls_ordering?: SortByNulls; +} +export interface DefElem { + defnamespace?: string; + defname?: string; + arg?: Node; + defaction?: DefElemAction; + location?: number; +} +export interface LockingClause { + lockedRels?: Node[]; + strength?: LockClauseStrength; + waitPolicy?: LockWaitPolicy; +} +export interface XmlSerialize { + xmloption?: XmlOptionType; + expr?: Node; + typeName?: TypeName; + indent?: boolean; + location?: number; +} +export interface PartitionElem { + name?: string; + expr?: Node; + collation?: Node[]; + opclass?: Node[]; + location?: number; +} +export interface PartitionSpec { + strategy?: PartitionStrategy; + partParams?: Node[]; + location?: number; +} +export interface PartitionBoundSpec { + strategy?: string; + is_default?: boolean; + modulus?: number; + remainder?: number; + listdatums?: Node[]; + lowerdatums?: Node[]; + upperdatums?: Node[]; + location?: number; +} +export interface PartitionRangeDatum { + kind?: PartitionRangeDatumKind; + value?: Node; + location?: number; +} +export interface PartitionCmd { + name?: RangeVar; + bound?: PartitionBoundSpec; + concurrent?: boolean; +} +export interface RangeTblEntry { + rtekind?: RTEKind; + relid?: number; + relkind?: string; + rellockmode?: number; + tablesample?: TableSampleClause; + perminfoindex?: number; + subquery?: Query; + security_barrier?: boolean; + jointype?: JoinType; + joinmergedcols?: number; + joinaliasvars?: Node[]; + joinleftcols?: Node[]; + joinrightcols?: Node[]; + join_using_alias?: Alias; + functions?: Node[]; + funcordinality?: boolean; + tablefunc?: TableFunc; + values_lists?: Node[]; + ctename?: string; + ctelevelsup?: number; + self_reference?: boolean; + coltypes?: Node[]; + coltypmods?: Node[]; + colcollations?: Node[]; + enrname?: string; + enrtuples?: number; + alias?: Alias; + eref?: Alias; + lateral?: boolean; + inh?: boolean; + inFromCl?: boolean; + securityQuals?: Node[]; +} +export interface RTEPermissionInfo { + relid?: number; + inh?: boolean; + requiredPerms?: bigint; + checkAsUser?: number; + selectedCols?: bigint[]; + insertedCols?: bigint[]; + updatedCols?: bigint[]; +} +export interface RangeTblFunction { + funcexpr?: Node; + funccolcount?: number; + funccolnames?: Node[]; + funccoltypes?: Node[]; + funccoltypmods?: Node[]; + funccolcollations?: Node[]; + funcparams?: bigint[]; +} +export interface TableSampleClause { + tsmhandler?: number; + args?: Node[]; + repeatable?: Node; +} +export interface WithCheckOption { + kind?: WCOKind; + relname?: string; + polname?: string; + qual?: Node; + cascaded?: boolean; +} +export interface SortGroupClause { + tleSortGroupRef?: number; + eqop?: number; + sortop?: number; + nulls_first?: boolean; + hashable?: boolean; +} +export interface GroupingSet { + kind?: GroupingSetKind; + content?: Node[]; + location?: number; +} +export interface WindowClause { + name?: string; + refname?: string; + partitionClause?: Node[]; + orderClause?: Node[]; + frameOptions?: number; + startOffset?: Node; + endOffset?: Node; + runCondition?: Node[]; + startInRangeFunc?: number; + endInRangeFunc?: number; + inRangeColl?: number; + inRangeAsc?: boolean; + inRangeNullsFirst?: boolean; + winref?: number; + copiedOrder?: boolean; +} +export interface RowMarkClause { + rti?: number; + strength?: LockClauseStrength; + waitPolicy?: LockWaitPolicy; + pushedDown?: boolean; +} +export interface WithClause { + ctes?: Node[]; + recursive?: boolean; + location?: number; +} +export interface InferClause { + indexElems?: Node[]; + whereClause?: Node; + conname?: string; + location?: number; +} +export interface OnConflictClause { + action?: OnConflictAction; + infer?: InferClause; + targetList?: Node[]; + whereClause?: Node; + location?: number; +} +export interface CTESearchClause { + search_col_list?: Node[]; + search_breadth_first?: boolean; + search_seq_column?: string; + location?: number; +} +export interface CTECycleClause { + cycle_col_list?: Node[]; + cycle_mark_column?: string; + cycle_mark_value?: Node; + cycle_mark_default?: Node; + cycle_path_column?: string; + location?: number; + cycle_mark_type?: number; + cycle_mark_typmod?: number; + cycle_mark_collation?: number; + cycle_mark_neop?: number; +} +export interface CommonTableExpr { + ctename?: string; + aliascolnames?: Node[]; + ctematerialized?: CTEMaterialize; + ctequery?: Node; + search_clause?: CTESearchClause; + cycle_clause?: CTECycleClause; + location?: number; + cterecursive?: boolean; + cterefcount?: number; + ctecolnames?: Node[]; + ctecoltypes?: Node[]; + ctecoltypmods?: Node[]; + ctecolcollations?: Node[]; +} +export interface MergeWhenClause { + matched?: boolean; + commandType?: CmdType; + override?: OverridingKind; + condition?: Node; + targetList?: Node[]; + values?: Node[]; +} +export interface MergeAction { + matched?: boolean; + commandType?: CmdType; + override?: OverridingKind; + qual?: Node; + targetList?: Node[]; + updateColnos?: Node[]; +} +export interface TriggerTransition { + name?: string; + isNew?: boolean; + isTable?: boolean; +} +export interface JsonOutput { + typeName?: TypeName; + returning?: JsonReturning; +} +export interface JsonKeyValue { + key?: Node; + value?: JsonValueExpr; +} +export interface JsonObjectConstructor { + exprs?: Node[]; + output?: JsonOutput; + absent_on_null?: boolean; + unique?: boolean; + location?: number; +} +export interface JsonArrayConstructor { + exprs?: Node[]; + output?: JsonOutput; + absent_on_null?: boolean; + location?: number; +} +export interface JsonArrayQueryConstructor { + query?: Node; + output?: JsonOutput; + format?: JsonFormat; + absent_on_null?: boolean; + location?: number; +} +export interface JsonAggConstructor { + output?: JsonOutput; + agg_filter?: Node; + agg_order?: Node[]; + over?: WindowDef; + location?: number; +} +export interface JsonObjectAgg { + constructor?: JsonAggConstructor; + arg?: JsonKeyValue; + absent_on_null?: boolean; + unique?: boolean; +} +export interface JsonArrayAgg { + constructor?: JsonAggConstructor; + arg?: JsonValueExpr; + absent_on_null?: boolean; +} +export interface RawStmt { + stmt?: Node; + stmt_location?: number; + stmt_len?: number; +} +export interface InsertStmt { + relation?: RangeVar; + cols?: Node[]; + selectStmt?: Node; + onConflictClause?: OnConflictClause; + returningList?: Node[]; + withClause?: WithClause; + override?: OverridingKind; +} +export interface DeleteStmt { + relation?: RangeVar; + usingClause?: Node[]; + whereClause?: Node; + returningList?: Node[]; + withClause?: WithClause; +} +export interface UpdateStmt { + relation?: RangeVar; + targetList?: Node[]; + whereClause?: Node; + fromClause?: Node[]; + returningList?: Node[]; + withClause?: WithClause; +} +export interface MergeStmt { + relation?: RangeVar; + sourceRelation?: Node; + joinCondition?: Node; + mergeWhenClauses?: Node[]; + withClause?: WithClause; +} +export interface SelectStmt { + distinctClause?: Node[]; + intoClause?: IntoClause; + targetList?: Node[]; + fromClause?: Node[]; + whereClause?: Node; + groupClause?: Node[]; + groupDistinct?: boolean; + havingClause?: Node; + windowClause?: Node[]; + valuesLists?: Node[]; + sortClause?: Node[]; + limitOffset?: Node; + limitCount?: Node; + limitOption?: LimitOption; + lockingClause?: Node[]; + withClause?: WithClause; + op?: SetOperation; + all?: boolean; + larg?: SelectStmt; + rarg?: SelectStmt; +} +export interface SetOperationStmt { + op?: SetOperation; + all?: boolean; + larg?: Node; + rarg?: Node; + colTypes?: Node[]; + colTypmods?: Node[]; + colCollations?: Node[]; + groupClauses?: Node[]; +} +export interface ReturnStmt { + returnval?: Node; +} +export interface PLAssignStmt { + name?: string; + indirection?: Node[]; + nnames?: number; + val?: SelectStmt; + location?: number; +} +export interface CreateSchemaStmt { + schemaname?: string; + authrole?: RoleSpec; + schemaElts?: Node[]; + if_not_exists?: boolean; +} +export interface AlterTableStmt { + relation?: RangeVar; + cmds?: Node[]; + objtype?: ObjectType; + missing_ok?: boolean; +} +export interface ReplicaIdentityStmt { + identity_type?: string; + name?: string; +} +export interface AlterTableCmd { + subtype?: AlterTableType; + name?: string; + num?: number; + newowner?: RoleSpec; + def?: Node; + behavior?: DropBehavior; + missing_ok?: boolean; + recurse?: boolean; +} +export interface AlterCollationStmt { + collname?: Node[]; +} +export interface AlterDomainStmt { + subtype?: string; + typeName?: Node[]; + name?: string; + def?: Node; + behavior?: DropBehavior; + missing_ok?: boolean; +} +export interface GrantStmt { + is_grant?: boolean; + targtype?: GrantTargetType; + objtype?: ObjectType; + objects?: Node[]; + privileges?: Node[]; + grantees?: Node[]; + grant_option?: boolean; + grantor?: RoleSpec; + behavior?: DropBehavior; +} +export interface ObjectWithArgs { + objname?: Node[]; + objargs?: Node[]; + objfuncargs?: Node[]; + args_unspecified?: boolean; +} +export interface AccessPriv { + priv_name?: string; + cols?: Node[]; +} +export interface GrantRoleStmt { + granted_roles?: Node[]; + grantee_roles?: Node[]; + is_grant?: boolean; + opt?: Node[]; + grantor?: RoleSpec; + behavior?: DropBehavior; +} +export interface AlterDefaultPrivilegesStmt { + options?: Node[]; + action?: GrantStmt; +} +export interface CopyStmt { + relation?: RangeVar; + query?: Node; + attlist?: Node[]; + is_from?: boolean; + is_program?: boolean; + filename?: string; + options?: Node[]; + whereClause?: Node; +} +export interface VariableSetStmt { + kind?: VariableSetKind; + name?: string; + args?: Node[]; + is_local?: boolean; +} +export interface VariableShowStmt { + name?: string; +} +export interface CreateStmt { + relation?: RangeVar; + tableElts?: Node[]; + inhRelations?: Node[]; + partbound?: PartitionBoundSpec; + partspec?: PartitionSpec; + ofTypename?: TypeName; + constraints?: Node[]; + options?: Node[]; + oncommit?: OnCommitAction; + tablespacename?: string; + accessMethod?: string; + if_not_exists?: boolean; +} +export interface Constraint { + contype?: ConstrType; + conname?: string; + deferrable?: boolean; + initdeferred?: boolean; + location?: number; + is_no_inherit?: boolean; + raw_expr?: Node; + cooked_expr?: string; + generated_when?: string; + nulls_not_distinct?: boolean; + keys?: Node[]; + including?: Node[]; + exclusions?: Node[]; + options?: Node[]; + indexname?: string; + indexspace?: string; + reset_default_tblspc?: boolean; + access_method?: string; + where_clause?: Node; + pktable?: RangeVar; + fk_attrs?: Node[]; + pk_attrs?: Node[]; + fk_matchtype?: string; + fk_upd_action?: string; + fk_del_action?: string; + fk_del_set_cols?: Node[]; + old_conpfeqop?: Node[]; + old_pktable_oid?: number; + skip_validation?: boolean; + initially_valid?: boolean; +} +export interface CreateTableSpaceStmt { + tablespacename?: string; + owner?: RoleSpec; + location?: string; + options?: Node[]; +} +export interface DropTableSpaceStmt { + tablespacename?: string; + missing_ok?: boolean; +} +export interface AlterTableSpaceOptionsStmt { + tablespacename?: string; + options?: Node[]; + isReset?: boolean; +} +export interface AlterTableMoveAllStmt { + orig_tablespacename?: string; + objtype?: ObjectType; + roles?: Node[]; + new_tablespacename?: string; + nowait?: boolean; +} +export interface CreateExtensionStmt { + extname?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterExtensionStmt { + extname?: string; + options?: Node[]; +} +export interface AlterExtensionContentsStmt { + extname?: string; + action?: number; + objtype?: ObjectType; + object?: Node; +} +export interface CreateFdwStmt { + fdwname?: string; + func_options?: Node[]; + options?: Node[]; +} +export interface AlterFdwStmt { + fdwname?: string; + func_options?: Node[]; + options?: Node[]; +} +export interface CreateForeignServerStmt { + servername?: string; + servertype?: string; + version?: string; + fdwname?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterForeignServerStmt { + servername?: string; + version?: string; + options?: Node[]; + has_version?: boolean; +} +export interface CreateForeignTableStmt { + base?: CreateStmt; + servername?: string; + options?: Node[]; +} +export interface CreateUserMappingStmt { + user?: RoleSpec; + servername?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterUserMappingStmt { + user?: RoleSpec; + servername?: string; + options?: Node[]; +} +export interface DropUserMappingStmt { + user?: RoleSpec; + servername?: string; + missing_ok?: boolean; +} +export interface ImportForeignSchemaStmt { + server_name?: string; + remote_schema?: string; + local_schema?: string; + list_type?: ImportForeignSchemaType; + table_list?: Node[]; + options?: Node[]; +} +export interface CreatePolicyStmt { + policy_name?: string; + table?: RangeVar; + cmd_name?: string; + permissive?: boolean; + roles?: Node[]; + qual?: Node; + with_check?: Node; +} +export interface AlterPolicyStmt { + policy_name?: string; + table?: RangeVar; + roles?: Node[]; + qual?: Node; + with_check?: Node; +} +export interface CreateAmStmt { + amname?: string; + handler_name?: Node[]; + amtype?: string; +} +export interface CreateTrigStmt { + replace?: boolean; + isconstraint?: boolean; + trigname?: string; + relation?: RangeVar; + funcname?: Node[]; + args?: Node[]; + row?: boolean; + timing?: number; + events?: number; + columns?: Node[]; + whenClause?: Node; + transitionRels?: Node[]; + deferrable?: boolean; + initdeferred?: boolean; + constrrel?: RangeVar; +} +export interface CreateEventTrigStmt { + trigname?: string; + eventname?: string; + whenclause?: Node[]; + funcname?: Node[]; +} +export interface AlterEventTrigStmt { + trigname?: string; + tgenabled?: string; +} +export interface CreatePLangStmt { + replace?: boolean; + plname?: string; + plhandler?: Node[]; + plinline?: Node[]; + plvalidator?: Node[]; + pltrusted?: boolean; +} +export interface CreateRoleStmt { + stmt_type?: RoleStmtType; + role?: string; + options?: Node[]; +} +export interface AlterRoleStmt { + role?: RoleSpec; + options?: Node[]; + action?: number; +} +export interface AlterRoleSetStmt { + role?: RoleSpec; + database?: string; + setstmt?: VariableSetStmt; +} +export interface DropRoleStmt { + roles?: Node[]; + missing_ok?: boolean; +} +export interface CreateSeqStmt { + sequence?: RangeVar; + options?: Node[]; + ownerId?: number; + for_identity?: boolean; + if_not_exists?: boolean; +} +export interface AlterSeqStmt { + sequence?: RangeVar; + options?: Node[]; + for_identity?: boolean; + missing_ok?: boolean; +} +export interface DefineStmt { + kind?: ObjectType; + oldstyle?: boolean; + defnames?: Node[]; + args?: Node[]; + definition?: Node[]; + if_not_exists?: boolean; + replace?: boolean; +} +export interface CreateDomainStmt { + domainname?: Node[]; + typeName?: TypeName; + collClause?: CollateClause; + constraints?: Node[]; +} +export interface CreateOpClassStmt { + opclassname?: Node[]; + opfamilyname?: Node[]; + amname?: string; + datatype?: TypeName; + items?: Node[]; + isDefault?: boolean; +} +export interface CreateOpClassItem { + itemtype?: number; + name?: ObjectWithArgs; + number?: number; + order_family?: Node[]; + class_args?: Node[]; + storedtype?: TypeName; +} +export interface CreateOpFamilyStmt { + opfamilyname?: Node[]; + amname?: string; +} +export interface AlterOpFamilyStmt { + opfamilyname?: Node[]; + amname?: string; + isDrop?: boolean; + items?: Node[]; +} +export interface DropStmt { + objects?: Node[]; + removeType?: ObjectType; + behavior?: DropBehavior; + missing_ok?: boolean; + concurrent?: boolean; +} +export interface TruncateStmt { + relations?: Node[]; + restart_seqs?: boolean; + behavior?: DropBehavior; +} +export interface CommentStmt { + objtype?: ObjectType; + object?: Node; + comment?: string; +} +export interface SecLabelStmt { + objtype?: ObjectType; + object?: Node; + provider?: string; + label?: string; +} +export interface DeclareCursorStmt { + portalname?: string; + options?: number; + query?: Node; +} +export interface ClosePortalStmt { + portalname?: string; +} +export interface FetchStmt { + direction?: FetchDirection; + howMany?: bigint; + portalname?: string; + ismove?: boolean; +} +export interface IndexStmt { + idxname?: string; + relation?: RangeVar; + accessMethod?: string; + tableSpace?: string; + indexParams?: Node[]; + indexIncludingParams?: Node[]; + options?: Node[]; + whereClause?: Node; + excludeOpNames?: Node[]; + idxcomment?: string; + indexOid?: number; + oldNumber?: number; + oldCreateSubid?: number; + oldFirstRelfilelocatorSubid?: number; + unique?: boolean; + nulls_not_distinct?: boolean; + primary?: boolean; + isconstraint?: boolean; + deferrable?: boolean; + initdeferred?: boolean; + transformed?: boolean; + concurrent?: boolean; + if_not_exists?: boolean; + reset_default_tblspc?: boolean; +} +export interface CreateStatsStmt { + defnames?: Node[]; + stat_types?: Node[]; + exprs?: Node[]; + relations?: Node[]; + stxcomment?: string; + transformed?: boolean; + if_not_exists?: boolean; +} +export interface StatsElem { + name?: string; + expr?: Node; +} +export interface AlterStatsStmt { + defnames?: Node[]; + stxstattarget?: number; + missing_ok?: boolean; +} +export interface CreateFunctionStmt { + is_procedure?: boolean; + replace?: boolean; + funcname?: Node[]; + parameters?: Node[]; + returnType?: TypeName; + options?: Node[]; + sql_body?: Node; +} +export interface FunctionParameter { + name?: string; + argType?: TypeName; + mode?: FunctionParameterMode; + defexpr?: Node; +} +export interface AlterFunctionStmt { + objtype?: ObjectType; + func?: ObjectWithArgs; + actions?: Node[]; +} +export interface DoStmt { + args?: Node[]; +} +export interface InlineCodeBlock { + source_text?: string; + langOid?: number; + langIsTrusted?: boolean; + atomic?: boolean; +} +export interface CallStmt { + funccall?: FuncCall; + funcexpr?: FuncExpr; + outargs?: Node[]; +} +export interface CallContext { + atomic?: boolean; +} +export interface RenameStmt { + renameType?: ObjectType; + relationType?: ObjectType; + relation?: RangeVar; + object?: Node; + subname?: string; + newname?: string; + behavior?: DropBehavior; + missing_ok?: boolean; +} +export interface AlterObjectDependsStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + extname?: String; + remove?: boolean; +} +export interface AlterObjectSchemaStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + newschema?: string; + missing_ok?: boolean; +} +export interface AlterOwnerStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + newowner?: RoleSpec; +} +export interface AlterOperatorStmt { + opername?: ObjectWithArgs; + options?: Node[]; +} +export interface AlterTypeStmt { + typeName?: Node[]; + options?: Node[]; +} +export interface RuleStmt { + relation?: RangeVar; + rulename?: string; + whereClause?: Node; + event?: CmdType; + instead?: boolean; + actions?: Node[]; + replace?: boolean; +} +export interface NotifyStmt { + conditionname?: string; + payload?: string; +} +export interface ListenStmt { + conditionname?: string; +} +export interface UnlistenStmt { + conditionname?: string; +} +export interface TransactionStmt { + kind?: TransactionStmtKind; + options?: Node[]; + savepoint_name?: string; + gid?: string; + chain?: boolean; +} +export interface CompositeTypeStmt { + typevar?: RangeVar; + coldeflist?: Node[]; +} +export interface CreateEnumStmt { + typeName?: Node[]; + vals?: Node[]; +} +export interface CreateRangeStmt { + typeName?: Node[]; + params?: Node[]; +} +export interface AlterEnumStmt { + typeName?: Node[]; + oldVal?: string; + newVal?: string; + newValNeighbor?: string; + newValIsAfter?: boolean; + skipIfNewValExists?: boolean; +} +export interface ViewStmt { + view?: RangeVar; + aliases?: Node[]; + query?: Node; + replace?: boolean; + options?: Node[]; + withCheckOption?: ViewCheckOption; +} +export interface LoadStmt { + filename?: string; +} +export interface CreatedbStmt { + dbname?: string; + options?: Node[]; +} +export interface AlterDatabaseStmt { + dbname?: string; + options?: Node[]; +} +export interface AlterDatabaseRefreshCollStmt { + dbname?: string; +} +export interface AlterDatabaseSetStmt { + dbname?: string; + setstmt?: VariableSetStmt; +} +export interface DropdbStmt { + dbname?: string; + missing_ok?: boolean; + options?: Node[]; +} +export interface AlterSystemStmt { + setstmt?: VariableSetStmt; +} +export interface ClusterStmt { + relation?: RangeVar; + indexname?: string; + params?: Node[]; +} +export interface VacuumStmt { + options?: Node[]; + rels?: Node[]; + is_vacuumcmd?: boolean; +} +export interface VacuumRelation { + relation?: RangeVar; + oid?: number; + va_cols?: Node[]; +} +export interface ExplainStmt { + query?: Node; + options?: Node[]; +} +export interface CreateTableAsStmt { + query?: Node; + into?: IntoClause; + objtype?: ObjectType; + is_select_into?: boolean; + if_not_exists?: boolean; +} +export interface RefreshMatViewStmt { + concurrent?: boolean; + skipData?: boolean; + relation?: RangeVar; +} +export interface CheckPointStmt {} +export interface DiscardStmt { + target?: DiscardMode; +} +export interface LockStmt { + relations?: Node[]; + mode?: number; + nowait?: boolean; +} +export interface ConstraintsSetStmt { + constraints?: Node[]; + deferred?: boolean; +} +export interface ReindexStmt { + kind?: ReindexObjectType; + relation?: RangeVar; + name?: string; + params?: Node[]; +} +export interface CreateConversionStmt { + conversion_name?: Node[]; + for_encoding_name?: string; + to_encoding_name?: string; + func_name?: Node[]; + def?: boolean; +} +export interface CreateCastStmt { + sourcetype?: TypeName; + targettype?: TypeName; + func?: ObjectWithArgs; + context?: CoercionContext; + inout?: boolean; +} +export interface CreateTransformStmt { + replace?: boolean; + type_name?: TypeName; + lang?: string; + fromsql?: ObjectWithArgs; + tosql?: ObjectWithArgs; +} +export interface PrepareStmt { + name?: string; + argtypes?: Node[]; + query?: Node; +} +export interface ExecuteStmt { + name?: string; + params?: Node[]; +} +export interface DeallocateStmt { + name?: string; +} +export interface DropOwnedStmt { + roles?: Node[]; + behavior?: DropBehavior; +} +export interface ReassignOwnedStmt { + roles?: Node[]; + newrole?: RoleSpec; +} +export interface AlterTSDictionaryStmt { + dictname?: Node[]; + options?: Node[]; +} +export interface AlterTSConfigurationStmt { + kind?: AlterTSConfigType; + cfgname?: Node[]; + tokentype?: Node[]; + dicts?: Node[]; + override?: boolean; + replace?: boolean; + missing_ok?: boolean; +} +export interface PublicationTable { + relation?: RangeVar; + whereClause?: Node; + columns?: Node[]; +} +export interface PublicationObjSpec { + pubobjtype?: PublicationObjSpecType; + name?: string; + pubtable?: PublicationTable; + location?: number; +} +export interface CreatePublicationStmt { + pubname?: string; + options?: Node[]; + pubobjects?: Node[]; + for_all_tables?: boolean; +} +export interface AlterPublicationStmt { + pubname?: string; + options?: Node[]; + pubobjects?: Node[]; + for_all_tables?: boolean; + action?: AlterPublicationAction; +} +export interface CreateSubscriptionStmt { + subname?: string; + conninfo?: string; + publication?: Node[]; + options?: Node[]; +} +export interface AlterSubscriptionStmt { + kind?: AlterSubscriptionType; + subname?: string; + conninfo?: string; + publication?: Node[]; + options?: Node[]; +} +export interface DropSubscriptionStmt { + subname?: string; + missing_ok?: boolean; + behavior?: DropBehavior; +} +export interface ScanToken { + start?: number; + end?: number; + token?: Token; + keywordKind?: KeywordKind; +}", + "file": "types.ts", + }, + { + "code": "/** +* This file was automatically generated by pg-proto-parser@latest. +* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, +* and run the pg-proto-parser generate command to regenerate this file. +*/ +import { OverridingKind, QuerySource, SortByDir, SortByNulls, SetQuantifier, A_Expr_Kind, RoleSpecType, TableLikeOption, DefElemAction, PartitionStrategy, PartitionRangeDatumKind, RTEKind, WCOKind, GroupingSetKind, CTEMaterialize, SetOperation, ObjectType, DropBehavior, AlterTableType, GrantTargetType, VariableSetKind, ConstrType, ImportForeignSchemaType, RoleStmtType, FetchDirection, FunctionParameterMode, TransactionStmtKind, ViewCheckOption, DiscardMode, ReindexObjectType, AlterTSConfigType, PublicationObjSpecType, AlterPublicationAction, AlterSubscriptionType, OnCommitAction, ParamKind, CoercionContext, CoercionForm, BoolExprType, SubLinkType, RowCompareType, MinMaxOp, SQLValueFunctionOp, XmlExprOp, XmlOptionType, JsonEncoding, JsonFormatType, JsonConstructorType, JsonValueType, NullTestType, BoolTestType, CmdType, JoinType, AggStrategy, AggSplit, SetOpCmd, SetOpStrategy, OnConflictAction, LimitOption, LockClauseStrength, LockWaitPolicy, LockTupleMode, KeywordKind, Token } from "./enums"; +export type Node = ParseResult | ScanResult | Integer | Float | Boolean | String | BitString | List | OidList | IntList | A_Const | Alias | RangeVar | TableFunc | IntoClause | Var | Param | Aggref | GroupingFunc | WindowFunc | SubscriptingRef | FuncExpr | NamedArgExpr | OpExpr | DistinctExpr | NullIfExpr | ScalarArrayOpExpr | BoolExpr | SubLink | SubPlan | AlternativeSubPlan | FieldSelect | FieldStore | RelabelType | CoerceViaIO | ArrayCoerceExpr | ConvertRowtypeExpr | CollateExpr | CaseExpr | CaseWhen | CaseTestExpr | ArrayExpr | RowExpr | RowCompareExpr | CoalesceExpr | MinMaxExpr | SQLValueFunction | XmlExpr | JsonFormat | JsonReturning | JsonValueExpr | JsonConstructorExpr | JsonIsPredicate | NullTest | BooleanTest | CoerceToDomain | CoerceToDomainValue | SetToDefault | CurrentOfExpr | NextValueExpr | InferenceElem | TargetEntry | RangeTblRef | JoinExpr | FromExpr | OnConflictExpr | Query | TypeName | ColumnRef | ParamRef | A_Expr | TypeCast | CollateClause | RoleSpec | FuncCall | A_Star | A_Indices | A_Indirection | A_ArrayExpr | ResTarget | MultiAssignRef | SortBy | WindowDef | RangeSubselect | RangeFunction | RangeTableFunc | RangeTableFuncCol | RangeTableSample | ColumnDef | TableLikeClause | IndexElem | DefElem | LockingClause | XmlSerialize | PartitionElem | PartitionSpec | PartitionBoundSpec | PartitionRangeDatum | PartitionCmd | RangeTblEntry | RTEPermissionInfo | RangeTblFunction | TableSampleClause | WithCheckOption | SortGroupClause | GroupingSet | WindowClause | RowMarkClause | WithClause | InferClause | OnConflictClause | CTESearchClause | CTECycleClause | CommonTableExpr | MergeWhenClause | MergeAction | TriggerTransition | JsonOutput | JsonKeyValue | JsonObjectConstructor | JsonArrayConstructor | JsonArrayQueryConstructor | JsonAggConstructor | JsonObjectAgg | JsonArrayAgg | RawStmt | InsertStmt | DeleteStmt | UpdateStmt | MergeStmt | SelectStmt | SetOperationStmt | ReturnStmt | PLAssignStmt | CreateSchemaStmt | AlterTableStmt | ReplicaIdentityStmt | AlterTableCmd | AlterCollationStmt | AlterDomainStmt | GrantStmt | ObjectWithArgs | AccessPriv | GrantRoleStmt | AlterDefaultPrivilegesStmt | CopyStmt | VariableSetStmt | VariableShowStmt | CreateStmt | Constraint | CreateTableSpaceStmt | DropTableSpaceStmt | AlterTableSpaceOptionsStmt | AlterTableMoveAllStmt | CreateExtensionStmt | AlterExtensionStmt | AlterExtensionContentsStmt | CreateFdwStmt | AlterFdwStmt | CreateForeignServerStmt | AlterForeignServerStmt | CreateForeignTableStmt | CreateUserMappingStmt | AlterUserMappingStmt | DropUserMappingStmt | ImportForeignSchemaStmt | CreatePolicyStmt | AlterPolicyStmt | CreateAmStmt | CreateTrigStmt | CreateEventTrigStmt | AlterEventTrigStmt | CreatePLangStmt | CreateRoleStmt | AlterRoleStmt | AlterRoleSetStmt | DropRoleStmt | CreateSeqStmt | AlterSeqStmt | DefineStmt | CreateDomainStmt | CreateOpClassStmt | CreateOpClassItem | CreateOpFamilyStmt | AlterOpFamilyStmt | DropStmt | TruncateStmt | CommentStmt | SecLabelStmt | DeclareCursorStmt | ClosePortalStmt | FetchStmt | IndexStmt | CreateStatsStmt | StatsElem | AlterStatsStmt | CreateFunctionStmt | FunctionParameter | AlterFunctionStmt | DoStmt | InlineCodeBlock | CallStmt | CallContext | RenameStmt | AlterObjectDependsStmt | AlterObjectSchemaStmt | AlterOwnerStmt | AlterOperatorStmt | AlterTypeStmt | RuleStmt | NotifyStmt | ListenStmt | UnlistenStmt | TransactionStmt | CompositeTypeStmt | CreateEnumStmt | CreateRangeStmt | AlterEnumStmt | ViewStmt | LoadStmt | CreatedbStmt | AlterDatabaseStmt | AlterDatabaseRefreshCollStmt | AlterDatabaseSetStmt | DropdbStmt | AlterSystemStmt | ClusterStmt | VacuumStmt | VacuumRelation | ExplainStmt | CreateTableAsStmt | RefreshMatViewStmt | CheckPointStmt | DiscardStmt | LockStmt | ConstraintsSetStmt | ReindexStmt | CreateConversionStmt | CreateCastStmt | CreateTransformStmt | PrepareStmt | ExecuteStmt | DeallocateStmt | DropOwnedStmt | ReassignOwnedStmt | AlterTSDictionaryStmt | AlterTSConfigurationStmt | PublicationTable | PublicationObjSpec | CreatePublicationStmt | AlterPublicationStmt | CreateSubscriptionStmt | AlterSubscriptionStmt | DropSubscriptionStmt | ScanToken; +export interface ParseResult { + ParseResult: { + version?: number; + stmts?: RawStmt[]; + }; +} +export interface ScanResult { + ScanResult: { + version?: number; + tokens?: ScanToken[]; + }; +} +export interface Integer { + ival?: number; +} +export interface Float { + fval?: string; +} +export interface Boolean { + boolval?: boolean; +} +export interface String { + sval?: string; +} +export interface BitString { + bsval?: string; +} +export interface List { + items?: Node[]; +} +export interface OidList { + items?: Node[]; +} +export interface IntList { + items?: Node[]; +} +export interface A_Const { + ival?: Integer; + fval?: Float; + boolval?: Boolean; + sval?: String; + bsval?: BitString; + isnull?: boolean; + location?: number; +} +export interface Alias { + aliasname?: string; + colnames?: Node[]; +} +export interface RangeVar { + catalogname?: string; + schemaname?: string; + relname?: string; + inh?: boolean; + relpersistence?: string; + alias?: Alias; + location?: number; +} +export interface TableFunc { + ns_uris?: Node[]; + ns_names?: Node[]; + docexpr?: Node; + rowexpr?: Node; + colnames?: Node[]; + coltypes?: Node[]; + coltypmods?: Node[]; + colcollations?: Node[]; + colexprs?: Node[]; + coldefexprs?: Node[]; + notnulls?: bigint[]; + ordinalitycol?: number; + location?: number; +} +export interface IntoClause { + rel?: RangeVar; + colNames?: Node[]; + accessMethod?: string; + options?: Node[]; + onCommit?: OnCommitAction; + tableSpaceName?: string; + viewQuery?: Node; + skipData?: boolean; +} +export interface Var { + xpr?: Node; + varno?: number; + varattno?: number; + vartype?: number; + vartypmod?: number; + varcollid?: number; + varnullingrels?: bigint[]; + varlevelsup?: number; + location?: number; +} +export interface Param { + xpr?: Node; + paramkind?: ParamKind; + paramid?: number; + paramtype?: number; + paramtypmod?: number; + paramcollid?: number; + location?: number; +} +export interface Aggref { + xpr?: Node; + aggfnoid?: number; + aggtype?: number; + aggcollid?: number; + inputcollid?: number; + aggargtypes?: Node[]; + aggdirectargs?: Node[]; + args?: Node[]; + aggorder?: Node[]; + aggdistinct?: Node[]; + aggfilter?: Node; + aggstar?: boolean; + aggvariadic?: boolean; + aggkind?: string; + agglevelsup?: number; + aggsplit?: AggSplit; + aggno?: number; + aggtransno?: number; + location?: number; +} +export interface GroupingFunc { + xpr?: Node; + args?: Node[]; + refs?: Node[]; + agglevelsup?: number; + location?: number; +} +export interface WindowFunc { + xpr?: Node; + winfnoid?: number; + wintype?: number; + wincollid?: number; + inputcollid?: number; + args?: Node[]; + aggfilter?: Node; + winref?: number; + winstar?: boolean; + winagg?: boolean; + location?: number; +} +export interface SubscriptingRef { + xpr?: Node; + refcontainertype?: number; + refelemtype?: number; + refrestype?: number; + reftypmod?: number; + refcollid?: number; + refupperindexpr?: Node[]; + reflowerindexpr?: Node[]; + refexpr?: Node; + refassgnexpr?: Node; +} +export interface FuncExpr { + xpr?: Node; + funcid?: number; + funcresulttype?: number; + funcretset?: boolean; + funcvariadic?: boolean; + funcformat?: CoercionForm; + funccollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface NamedArgExpr { + xpr?: Node; + arg?: Node; + name?: string; + argnumber?: number; + location?: number; +} +export interface OpExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface DistinctExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface NullIfExpr { + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface ScalarArrayOpExpr { + xpr?: Node; + opno?: number; + useOr?: boolean; + inputcollid?: number; + args?: Node[]; + location?: number; +} +export interface BoolExpr { + xpr?: Node; + boolop?: BoolExprType; + args?: Node[]; + location?: number; +} +export interface SubLink { + xpr?: Node; + subLinkType?: SubLinkType; + subLinkId?: number; + testexpr?: Node; + operName?: Node[]; + subselect?: Node; + location?: number; +} +export interface SubPlan { + xpr?: Node; + subLinkType?: SubLinkType; + testexpr?: Node; + paramIds?: Node[]; + plan_id?: number; + plan_name?: string; + firstColType?: number; + firstColTypmod?: number; + firstColCollation?: number; + useHashTable?: boolean; + unknownEqFalse?: boolean; + parallel_safe?: boolean; + setParam?: Node[]; + parParam?: Node[]; + args?: Node[]; + startup_cost?: number; + per_call_cost?: number; +} +export interface AlternativeSubPlan { + xpr?: Node; + subplans?: Node[]; +} +export interface FieldSelect { + xpr?: Node; + arg?: Node; + fieldnum?: number; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; +} +export interface FieldStore { + xpr?: Node; + arg?: Node; + newvals?: Node[]; + fieldnums?: Node[]; + resulttype?: number; +} +export interface RelabelType { + xpr?: Node; + arg?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + relabelformat?: CoercionForm; + location?: number; +} +export interface CoerceViaIO { + xpr?: Node; + arg?: Node; + resulttype?: number; + resultcollid?: number; + coerceformat?: CoercionForm; + location?: number; +} +export interface ArrayCoerceExpr { + xpr?: Node; + arg?: Node; + elemexpr?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + coerceformat?: CoercionForm; + location?: number; +} +export interface ConvertRowtypeExpr { + xpr?: Node; + arg?: Node; + resulttype?: number; + convertformat?: CoercionForm; + location?: number; +} +export interface CollateExpr { + xpr?: Node; + arg?: Node; + collOid?: number; + location?: number; +} +export interface CaseExpr { + xpr?: Node; + casetype?: number; + casecollid?: number; + arg?: Node; + args?: Node[]; + defresult?: Node; + location?: number; +} +export interface CaseWhen { + xpr?: Node; + expr?: Node; + result?: Node; + location?: number; +} +export interface CaseTestExpr { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; +} +export interface ArrayExpr { + xpr?: Node; + array_typeid?: number; + array_collid?: number; + element_typeid?: number; + elements?: Node[]; + multidims?: boolean; + location?: number; +} +export interface RowExpr { + xpr?: Node; + args?: Node[]; + row_typeid?: number; + row_format?: CoercionForm; + colnames?: Node[]; + location?: number; +} +export interface RowCompareExpr { + xpr?: Node; + rctype?: RowCompareType; + opnos?: Node[]; + opfamilies?: Node[]; + inputcollids?: Node[]; + largs?: Node[]; + rargs?: Node[]; +} +export interface CoalesceExpr { + xpr?: Node; + coalescetype?: number; + coalescecollid?: number; + args?: Node[]; + location?: number; +} +export interface MinMaxExpr { + xpr?: Node; + minmaxtype?: number; + minmaxcollid?: number; + inputcollid?: number; + op?: MinMaxOp; + args?: Node[]; + location?: number; +} +export interface SQLValueFunction { + xpr?: Node; + op?: SQLValueFunctionOp; + type?: number; + typmod?: number; + location?: number; +} +export interface XmlExpr { + xpr?: Node; + op?: XmlExprOp; + name?: string; + named_args?: Node[]; + arg_names?: Node[]; + args?: Node[]; + xmloption?: XmlOptionType; + indent?: boolean; + type?: number; + typmod?: number; + location?: number; +} +export interface JsonFormat { + format_type?: JsonFormatType; + encoding?: JsonEncoding; + location?: number; +} +export interface JsonReturning { + format?: JsonFormat; + typid?: number; + typmod?: number; +} +export interface JsonValueExpr { + raw_expr?: Node; + formatted_expr?: Node; + format?: JsonFormat; +} +export interface JsonConstructorExpr { + xpr?: Node; + type?: JsonConstructorType; + args?: Node[]; + func?: Node; + coercion?: Node; + returning?: JsonReturning; + absent_on_null?: boolean; + unique?: boolean; + location?: number; +} +export interface JsonIsPredicate { + expr?: Node; + format?: JsonFormat; + item_type?: JsonValueType; + unique_keys?: boolean; + location?: number; +} +export interface NullTest { + xpr?: Node; + arg?: Node; + nulltesttype?: NullTestType; + argisrow?: boolean; + location?: number; +} +export interface BooleanTest { + xpr?: Node; + arg?: Node; + booltesttype?: BoolTestType; + location?: number; +} +export interface CoerceToDomain { + xpr?: Node; + arg?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + coercionformat?: CoercionForm; + location?: number; +} +export interface CoerceToDomainValue { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; + location?: number; +} +export interface SetToDefault { + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; + location?: number; +} +export interface CurrentOfExpr { + xpr?: Node; + cvarno?: number; + cursor_name?: string; + cursor_param?: number; +} +export interface NextValueExpr { + xpr?: Node; + seqid?: number; + typeId?: number; +} +export interface InferenceElem { + xpr?: Node; + expr?: Node; + infercollid?: number; + inferopclass?: number; +} +export interface TargetEntry { + xpr?: Node; + expr?: Node; + resno?: number; + resname?: string; + ressortgroupref?: number; + resorigtbl?: number; + resorigcol?: number; + resjunk?: boolean; +} +export interface RangeTblRef { + rtindex?: number; +} +export interface JoinExpr { + jointype?: JoinType; + isNatural?: boolean; + larg?: Node; + rarg?: Node; + usingClause?: Node[]; + join_using_alias?: Alias; + quals?: Node; + alias?: Alias; + rtindex?: number; +} +export interface FromExpr { + fromlist?: Node[]; + quals?: Node; +} +export interface OnConflictExpr { + action?: OnConflictAction; + arbiterElems?: Node[]; + arbiterWhere?: Node; + constraint?: number; + onConflictSet?: Node[]; + onConflictWhere?: Node; + exclRelIndex?: number; + exclRelTlist?: Node[]; +} +export interface Query { + commandType?: CmdType; + querySource?: QuerySource; + canSetTag?: boolean; + utilityStmt?: Node; + resultRelation?: number; + hasAggs?: boolean; + hasWindowFuncs?: boolean; + hasTargetSRFs?: boolean; + hasSubLinks?: boolean; + hasDistinctOn?: boolean; + hasRecursive?: boolean; + hasModifyingCTE?: boolean; + hasForUpdate?: boolean; + hasRowSecurity?: boolean; + isReturn?: boolean; + cteList?: Node[]; + rtable?: Node[]; + rteperminfos?: Node[]; + jointree?: FromExpr; + mergeActionList?: Node[]; + mergeUseOuterJoin?: boolean; + targetList?: Node[]; + override?: OverridingKind; + onConflict?: OnConflictExpr; + returningList?: Node[]; + groupClause?: Node[]; + groupDistinct?: boolean; + groupingSets?: Node[]; + havingQual?: Node; + windowClause?: Node[]; + distinctClause?: Node[]; + sortClause?: Node[]; + limitOffset?: Node; + limitCount?: Node; + limitOption?: LimitOption; + rowMarks?: Node[]; + setOperations?: Node; + constraintDeps?: Node[]; + withCheckOptions?: Node[]; + stmt_location?: number; + stmt_len?: number; +} +export interface TypeName { + names?: Node[]; + typeOid?: number; + setof?: boolean; + pct_type?: boolean; + typmods?: Node[]; + typemod?: number; + arrayBounds?: Node[]; + location?: number; +} +export interface ColumnRef { + fields?: Node[]; + location?: number; +} +export interface ParamRef { + number?: number; + location?: number; +} +export interface A_Expr { + kind?: A_Expr_Kind; + name?: Node[]; + lexpr?: Node; + rexpr?: Node; + location?: number; +} +export interface TypeCast { + arg?: Node; + typeName?: TypeName; + location?: number; +} +export interface CollateClause { + arg?: Node; + collname?: Node[]; + location?: number; +} +export interface RoleSpec { + roletype?: RoleSpecType; + rolename?: string; + location?: number; +} +export interface FuncCall { + funcname?: Node[]; + args?: Node[]; + agg_order?: Node[]; + agg_filter?: Node; + over?: WindowDef; + agg_within_group?: boolean; + agg_star?: boolean; + agg_distinct?: boolean; + func_variadic?: boolean; + funcformat?: CoercionForm; + location?: number; +} +export interface A_Star {} +export interface A_Indices { + is_slice?: boolean; + lidx?: Node; + uidx?: Node; +} +export interface A_Indirection { + arg?: Node; + indirection?: Node[]; +} +export interface A_ArrayExpr { + elements?: Node[]; + location?: number; +} +export interface ResTarget { + name?: string; + indirection?: Node[]; + val?: Node; + location?: number; +} +export interface MultiAssignRef { + source?: Node; + colno?: number; + ncolumns?: number; +} +export interface SortBy { + node?: Node; + sortby_dir?: SortByDir; + sortby_nulls?: SortByNulls; + useOp?: Node[]; + location?: number; +} +export interface WindowDef { + name?: string; + refname?: string; + partitionClause?: Node[]; + orderClause?: Node[]; + frameOptions?: number; + startOffset?: Node; + endOffset?: Node; + location?: number; +} +export interface RangeSubselect { + lateral?: boolean; + subquery?: Node; + alias?: Alias; +} +export interface RangeFunction { + lateral?: boolean; + ordinality?: boolean; + is_rowsfrom?: boolean; + functions?: Node[]; + alias?: Alias; + coldeflist?: Node[]; +} +export interface RangeTableFunc { + lateral?: boolean; + docexpr?: Node; + rowexpr?: Node; + namespaces?: Node[]; + columns?: Node[]; + alias?: Alias; + location?: number; +} +export interface RangeTableFuncCol { + colname?: string; + typeName?: TypeName; + for_ordinality?: boolean; + is_not_null?: boolean; + colexpr?: Node; + coldefexpr?: Node; + location?: number; +} +export interface RangeTableSample { + relation?: Node; + method?: Node[]; + args?: Node[]; + repeatable?: Node; + location?: number; +} +export interface ColumnDef { + colname?: string; + typeName?: TypeName; + compression?: string; + inhcount?: number; + is_local?: boolean; + is_not_null?: boolean; + is_from_type?: boolean; + storage?: string; + storage_name?: string; + raw_default?: Node; + cooked_default?: Node; + identity?: string; + identitySequence?: RangeVar; + generated?: string; + collClause?: CollateClause; + collOid?: number; + constraints?: Node[]; + fdwoptions?: Node[]; + location?: number; +} +export interface TableLikeClause { + relation?: RangeVar; + options?: number; + relationOid?: number; +} +export interface IndexElem { + name?: string; + expr?: Node; + indexcolname?: string; + collation?: Node[]; + opclass?: Node[]; + opclassopts?: Node[]; + ordering?: SortByDir; + nulls_ordering?: SortByNulls; +} +export interface DefElem { + defnamespace?: string; + defname?: string; + arg?: Node; + defaction?: DefElemAction; + location?: number; +} +export interface LockingClause { + lockedRels?: Node[]; + strength?: LockClauseStrength; + waitPolicy?: LockWaitPolicy; +} +export interface XmlSerialize { + xmloption?: XmlOptionType; + expr?: Node; + typeName?: TypeName; + indent?: boolean; + location?: number; +} +export interface PartitionElem { + name?: string; + expr?: Node; + collation?: Node[]; + opclass?: Node[]; + location?: number; +} +export interface PartitionSpec { + strategy?: PartitionStrategy; + partParams?: Node[]; + location?: number; +} +export interface PartitionBoundSpec { + strategy?: string; + is_default?: boolean; + modulus?: number; + remainder?: number; + listdatums?: Node[]; + lowerdatums?: Node[]; + upperdatums?: Node[]; + location?: number; +} +export interface PartitionRangeDatum { + kind?: PartitionRangeDatumKind; + value?: Node; + location?: number; +} +export interface PartitionCmd { + name?: RangeVar; + bound?: PartitionBoundSpec; + concurrent?: boolean; +} +export interface RangeTblEntry { + rtekind?: RTEKind; + relid?: number; + relkind?: string; + rellockmode?: number; + tablesample?: TableSampleClause; + perminfoindex?: number; + subquery?: Query; + security_barrier?: boolean; + jointype?: JoinType; + joinmergedcols?: number; + joinaliasvars?: Node[]; + joinleftcols?: Node[]; + joinrightcols?: Node[]; + join_using_alias?: Alias; + functions?: Node[]; + funcordinality?: boolean; + tablefunc?: TableFunc; + values_lists?: Node[]; + ctename?: string; + ctelevelsup?: number; + self_reference?: boolean; + coltypes?: Node[]; + coltypmods?: Node[]; + colcollations?: Node[]; + enrname?: string; + enrtuples?: number; + alias?: Alias; + eref?: Alias; + lateral?: boolean; + inh?: boolean; + inFromCl?: boolean; + securityQuals?: Node[]; +} +export interface RTEPermissionInfo { + relid?: number; + inh?: boolean; + requiredPerms?: bigint; + checkAsUser?: number; + selectedCols?: bigint[]; + insertedCols?: bigint[]; + updatedCols?: bigint[]; +} +export interface RangeTblFunction { + funcexpr?: Node; + funccolcount?: number; + funccolnames?: Node[]; + funccoltypes?: Node[]; + funccoltypmods?: Node[]; + funccolcollations?: Node[]; + funcparams?: bigint[]; +} +export interface TableSampleClause { + tsmhandler?: number; + args?: Node[]; + repeatable?: Node; +} +export interface WithCheckOption { + kind?: WCOKind; + relname?: string; + polname?: string; + qual?: Node; + cascaded?: boolean; +} +export interface SortGroupClause { + tleSortGroupRef?: number; + eqop?: number; + sortop?: number; + nulls_first?: boolean; + hashable?: boolean; +} +export interface GroupingSet { + kind?: GroupingSetKind; + content?: Node[]; + location?: number; +} +export interface WindowClause { + name?: string; + refname?: string; + partitionClause?: Node[]; + orderClause?: Node[]; + frameOptions?: number; + startOffset?: Node; + endOffset?: Node; + runCondition?: Node[]; + startInRangeFunc?: number; + endInRangeFunc?: number; + inRangeColl?: number; + inRangeAsc?: boolean; + inRangeNullsFirst?: boolean; + winref?: number; + copiedOrder?: boolean; +} +export interface RowMarkClause { + rti?: number; + strength?: LockClauseStrength; + waitPolicy?: LockWaitPolicy; + pushedDown?: boolean; +} +export interface WithClause { + ctes?: Node[]; + recursive?: boolean; + location?: number; +} +export interface InferClause { + indexElems?: Node[]; + whereClause?: Node; + conname?: string; + location?: number; +} +export interface OnConflictClause { + action?: OnConflictAction; + infer?: InferClause; + targetList?: Node[]; + whereClause?: Node; + location?: number; +} +export interface CTESearchClause { + search_col_list?: Node[]; + search_breadth_first?: boolean; + search_seq_column?: string; + location?: number; +} +export interface CTECycleClause { + cycle_col_list?: Node[]; + cycle_mark_column?: string; + cycle_mark_value?: Node; + cycle_mark_default?: Node; + cycle_path_column?: string; + location?: number; + cycle_mark_type?: number; + cycle_mark_typmod?: number; + cycle_mark_collation?: number; + cycle_mark_neop?: number; +} +export interface CommonTableExpr { + ctename?: string; + aliascolnames?: Node[]; + ctematerialized?: CTEMaterialize; + ctequery?: Node; + search_clause?: CTESearchClause; + cycle_clause?: CTECycleClause; + location?: number; + cterecursive?: boolean; + cterefcount?: number; + ctecolnames?: Node[]; + ctecoltypes?: Node[]; + ctecoltypmods?: Node[]; + ctecolcollations?: Node[]; +} +export interface MergeWhenClause { + matched?: boolean; + commandType?: CmdType; + override?: OverridingKind; + condition?: Node; + targetList?: Node[]; + values?: Node[]; +} +export interface MergeAction { + matched?: boolean; + commandType?: CmdType; + override?: OverridingKind; + qual?: Node; + targetList?: Node[]; + updateColnos?: Node[]; +} +export interface TriggerTransition { + name?: string; + isNew?: boolean; + isTable?: boolean; +} +export interface JsonOutput { + typeName?: TypeName; + returning?: JsonReturning; +} +export interface JsonKeyValue { + key?: Node; + value?: JsonValueExpr; +} +export interface JsonObjectConstructor { + exprs?: Node[]; + output?: JsonOutput; + absent_on_null?: boolean; + unique?: boolean; + location?: number; +} +export interface JsonArrayConstructor { + exprs?: Node[]; + output?: JsonOutput; + absent_on_null?: boolean; + location?: number; +} +export interface JsonArrayQueryConstructor { + query?: Node; + output?: JsonOutput; + format?: JsonFormat; + absent_on_null?: boolean; + location?: number; +} +export interface JsonAggConstructor { + output?: JsonOutput; + agg_filter?: Node; + agg_order?: Node[]; + over?: WindowDef; + location?: number; +} +export interface JsonObjectAgg { + constructor?: JsonAggConstructor; + arg?: JsonKeyValue; + absent_on_null?: boolean; + unique?: boolean; +} +export interface JsonArrayAgg { + constructor?: JsonAggConstructor; + arg?: JsonValueExpr; + absent_on_null?: boolean; +} +export interface RawStmt { + stmt?: Node; + stmt_location?: number; + stmt_len?: number; +} +export interface InsertStmt { + relation?: RangeVar; + cols?: Node[]; + selectStmt?: Node; + onConflictClause?: OnConflictClause; + returningList?: Node[]; + withClause?: WithClause; + override?: OverridingKind; +} +export interface DeleteStmt { + relation?: RangeVar; + usingClause?: Node[]; + whereClause?: Node; + returningList?: Node[]; + withClause?: WithClause; +} +export interface UpdateStmt { + relation?: RangeVar; + targetList?: Node[]; + whereClause?: Node; + fromClause?: Node[]; + returningList?: Node[]; + withClause?: WithClause; +} +export interface MergeStmt { + relation?: RangeVar; + sourceRelation?: Node; + joinCondition?: Node; + mergeWhenClauses?: Node[]; + withClause?: WithClause; +} +export interface SelectStmt { + distinctClause?: Node[]; + intoClause?: IntoClause; + targetList?: Node[]; + fromClause?: Node[]; + whereClause?: Node; + groupClause?: Node[]; + groupDistinct?: boolean; + havingClause?: Node; + windowClause?: Node[]; + valuesLists?: Node[]; + sortClause?: Node[]; + limitOffset?: Node; + limitCount?: Node; + limitOption?: LimitOption; + lockingClause?: Node[]; + withClause?: WithClause; + op?: SetOperation; + all?: boolean; + larg?: SelectStmt; + rarg?: SelectStmt; +} +export interface SetOperationStmt { + op?: SetOperation; + all?: boolean; + larg?: Node; + rarg?: Node; + colTypes?: Node[]; + colTypmods?: Node[]; + colCollations?: Node[]; + groupClauses?: Node[]; +} +export interface ReturnStmt { + returnval?: Node; +} +export interface PLAssignStmt { + name?: string; + indirection?: Node[]; + nnames?: number; + val?: SelectStmt; + location?: number; +} +export interface CreateSchemaStmt { + schemaname?: string; + authrole?: RoleSpec; + schemaElts?: Node[]; + if_not_exists?: boolean; +} +export interface AlterTableStmt { + relation?: RangeVar; + cmds?: Node[]; + objtype?: ObjectType; + missing_ok?: boolean; +} +export interface ReplicaIdentityStmt { + identity_type?: string; + name?: string; +} +export interface AlterTableCmd { + subtype?: AlterTableType; + name?: string; + num?: number; + newowner?: RoleSpec; + def?: Node; + behavior?: DropBehavior; + missing_ok?: boolean; + recurse?: boolean; +} +export interface AlterCollationStmt { + collname?: Node[]; +} +export interface AlterDomainStmt { + subtype?: string; + typeName?: Node[]; + name?: string; + def?: Node; + behavior?: DropBehavior; + missing_ok?: boolean; +} +export interface GrantStmt { + is_grant?: boolean; + targtype?: GrantTargetType; + objtype?: ObjectType; + objects?: Node[]; + privileges?: Node[]; + grantees?: Node[]; + grant_option?: boolean; + grantor?: RoleSpec; + behavior?: DropBehavior; +} +export interface ObjectWithArgs { + objname?: Node[]; + objargs?: Node[]; + objfuncargs?: Node[]; + args_unspecified?: boolean; +} +export interface AccessPriv { + priv_name?: string; + cols?: Node[]; +} +export interface GrantRoleStmt { + granted_roles?: Node[]; + grantee_roles?: Node[]; + is_grant?: boolean; + opt?: Node[]; + grantor?: RoleSpec; + behavior?: DropBehavior; +} +export interface AlterDefaultPrivilegesStmt { + options?: Node[]; + action?: GrantStmt; +} +export interface CopyStmt { + relation?: RangeVar; + query?: Node; + attlist?: Node[]; + is_from?: boolean; + is_program?: boolean; + filename?: string; + options?: Node[]; + whereClause?: Node; +} +export interface VariableSetStmt { + kind?: VariableSetKind; + name?: string; + args?: Node[]; + is_local?: boolean; +} +export interface VariableShowStmt { + name?: string; +} +export interface CreateStmt { + relation?: RangeVar; + tableElts?: Node[]; + inhRelations?: Node[]; + partbound?: PartitionBoundSpec; + partspec?: PartitionSpec; + ofTypename?: TypeName; + constraints?: Node[]; + options?: Node[]; + oncommit?: OnCommitAction; + tablespacename?: string; + accessMethod?: string; + if_not_exists?: boolean; +} +export interface Constraint { + contype?: ConstrType; + conname?: string; + deferrable?: boolean; + initdeferred?: boolean; + location?: number; + is_no_inherit?: boolean; + raw_expr?: Node; + cooked_expr?: string; + generated_when?: string; + nulls_not_distinct?: boolean; + keys?: Node[]; + including?: Node[]; + exclusions?: Node[]; + options?: Node[]; + indexname?: string; + indexspace?: string; + reset_default_tblspc?: boolean; + access_method?: string; + where_clause?: Node; + pktable?: RangeVar; + fk_attrs?: Node[]; + pk_attrs?: Node[]; + fk_matchtype?: string; + fk_upd_action?: string; + fk_del_action?: string; + fk_del_set_cols?: Node[]; + old_conpfeqop?: Node[]; + old_pktable_oid?: number; + skip_validation?: boolean; + initially_valid?: boolean; +} +export interface CreateTableSpaceStmt { + tablespacename?: string; + owner?: RoleSpec; + location?: string; + options?: Node[]; +} +export interface DropTableSpaceStmt { + tablespacename?: string; + missing_ok?: boolean; +} +export interface AlterTableSpaceOptionsStmt { + tablespacename?: string; + options?: Node[]; + isReset?: boolean; +} +export interface AlterTableMoveAllStmt { + orig_tablespacename?: string; + objtype?: ObjectType; + roles?: Node[]; + new_tablespacename?: string; + nowait?: boolean; +} +export interface CreateExtensionStmt { + extname?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterExtensionStmt { + extname?: string; + options?: Node[]; +} +export interface AlterExtensionContentsStmt { + extname?: string; + action?: number; + objtype?: ObjectType; + object?: Node; +} +export interface CreateFdwStmt { + fdwname?: string; + func_options?: Node[]; + options?: Node[]; +} +export interface AlterFdwStmt { + fdwname?: string; + func_options?: Node[]; + options?: Node[]; +} +export interface CreateForeignServerStmt { + servername?: string; + servertype?: string; + version?: string; + fdwname?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterForeignServerStmt { + servername?: string; + version?: string; + options?: Node[]; + has_version?: boolean; +} +export interface CreateForeignTableStmt { + base?: CreateStmt; + servername?: string; + options?: Node[]; +} +export interface CreateUserMappingStmt { + user?: RoleSpec; + servername?: string; + if_not_exists?: boolean; + options?: Node[]; +} +export interface AlterUserMappingStmt { + user?: RoleSpec; + servername?: string; + options?: Node[]; +} +export interface DropUserMappingStmt { + user?: RoleSpec; + servername?: string; + missing_ok?: boolean; +} +export interface ImportForeignSchemaStmt { + server_name?: string; + remote_schema?: string; + local_schema?: string; + list_type?: ImportForeignSchemaType; + table_list?: Node[]; + options?: Node[]; +} +export interface CreatePolicyStmt { + policy_name?: string; + table?: RangeVar; + cmd_name?: string; + permissive?: boolean; + roles?: Node[]; + qual?: Node; + with_check?: Node; +} +export interface AlterPolicyStmt { + policy_name?: string; + table?: RangeVar; + roles?: Node[]; + qual?: Node; + with_check?: Node; +} +export interface CreateAmStmt { + amname?: string; + handler_name?: Node[]; + amtype?: string; +} +export interface CreateTrigStmt { + replace?: boolean; + isconstraint?: boolean; + trigname?: string; + relation?: RangeVar; + funcname?: Node[]; + args?: Node[]; + row?: boolean; + timing?: number; + events?: number; + columns?: Node[]; + whenClause?: Node; + transitionRels?: Node[]; + deferrable?: boolean; + initdeferred?: boolean; + constrrel?: RangeVar; +} +export interface CreateEventTrigStmt { + trigname?: string; + eventname?: string; + whenclause?: Node[]; + funcname?: Node[]; +} +export interface AlterEventTrigStmt { + trigname?: string; + tgenabled?: string; +} +export interface CreatePLangStmt { + replace?: boolean; + plname?: string; + plhandler?: Node[]; + plinline?: Node[]; + plvalidator?: Node[]; + pltrusted?: boolean; +} +export interface CreateRoleStmt { + stmt_type?: RoleStmtType; + role?: string; + options?: Node[]; +} +export interface AlterRoleStmt { + role?: RoleSpec; + options?: Node[]; + action?: number; +} +export interface AlterRoleSetStmt { + role?: RoleSpec; + database?: string; + setstmt?: VariableSetStmt; +} +export interface DropRoleStmt { + roles?: Node[]; + missing_ok?: boolean; +} +export interface CreateSeqStmt { + sequence?: RangeVar; + options?: Node[]; + ownerId?: number; + for_identity?: boolean; + if_not_exists?: boolean; +} +export interface AlterSeqStmt { + sequence?: RangeVar; + options?: Node[]; + for_identity?: boolean; + missing_ok?: boolean; +} +export interface DefineStmt { + kind?: ObjectType; + oldstyle?: boolean; + defnames?: Node[]; + args?: Node[]; + definition?: Node[]; + if_not_exists?: boolean; + replace?: boolean; +} +export interface CreateDomainStmt { + domainname?: Node[]; + typeName?: TypeName; + collClause?: CollateClause; + constraints?: Node[]; +} +export interface CreateOpClassStmt { + opclassname?: Node[]; + opfamilyname?: Node[]; + amname?: string; + datatype?: TypeName; + items?: Node[]; + isDefault?: boolean; +} +export interface CreateOpClassItem { + itemtype?: number; + name?: ObjectWithArgs; + number?: number; + order_family?: Node[]; + class_args?: Node[]; + storedtype?: TypeName; +} +export interface CreateOpFamilyStmt { + opfamilyname?: Node[]; + amname?: string; +} +export interface AlterOpFamilyStmt { + opfamilyname?: Node[]; + amname?: string; + isDrop?: boolean; + items?: Node[]; +} +export interface DropStmt { + objects?: Node[]; + removeType?: ObjectType; + behavior?: DropBehavior; + missing_ok?: boolean; + concurrent?: boolean; +} +export interface TruncateStmt { + relations?: Node[]; + restart_seqs?: boolean; + behavior?: DropBehavior; +} +export interface CommentStmt { + objtype?: ObjectType; + object?: Node; + comment?: string; +} +export interface SecLabelStmt { + objtype?: ObjectType; + object?: Node; + provider?: string; + label?: string; +} +export interface DeclareCursorStmt { + portalname?: string; + options?: number; + query?: Node; +} +export interface ClosePortalStmt { + portalname?: string; +} +export interface FetchStmt { + direction?: FetchDirection; + howMany?: bigint; + portalname?: string; + ismove?: boolean; +} +export interface IndexStmt { + idxname?: string; + relation?: RangeVar; + accessMethod?: string; + tableSpace?: string; + indexParams?: Node[]; + indexIncludingParams?: Node[]; + options?: Node[]; + whereClause?: Node; + excludeOpNames?: Node[]; + idxcomment?: string; + indexOid?: number; + oldNumber?: number; + oldCreateSubid?: number; + oldFirstRelfilelocatorSubid?: number; + unique?: boolean; + nulls_not_distinct?: boolean; + primary?: boolean; + isconstraint?: boolean; + deferrable?: boolean; + initdeferred?: boolean; + transformed?: boolean; + concurrent?: boolean; + if_not_exists?: boolean; + reset_default_tblspc?: boolean; +} +export interface CreateStatsStmt { + defnames?: Node[]; + stat_types?: Node[]; + exprs?: Node[]; + relations?: Node[]; + stxcomment?: string; + transformed?: boolean; + if_not_exists?: boolean; +} +export interface StatsElem { + name?: string; + expr?: Node; +} +export interface AlterStatsStmt { + defnames?: Node[]; + stxstattarget?: number; + missing_ok?: boolean; +} +export interface CreateFunctionStmt { + is_procedure?: boolean; + replace?: boolean; + funcname?: Node[]; + parameters?: Node[]; + returnType?: TypeName; + options?: Node[]; + sql_body?: Node; +} +export interface FunctionParameter { + name?: string; + argType?: TypeName; + mode?: FunctionParameterMode; + defexpr?: Node; +} +export interface AlterFunctionStmt { + objtype?: ObjectType; + func?: ObjectWithArgs; + actions?: Node[]; +} +export interface DoStmt { + args?: Node[]; +} +export interface InlineCodeBlock { + source_text?: string; + langOid?: number; + langIsTrusted?: boolean; + atomic?: boolean; +} +export interface CallStmt { + funccall?: FuncCall; + funcexpr?: FuncExpr; + outargs?: Node[]; +} +export interface CallContext { + atomic?: boolean; +} +export interface RenameStmt { + renameType?: ObjectType; + relationType?: ObjectType; + relation?: RangeVar; + object?: Node; + subname?: string; + newname?: string; + behavior?: DropBehavior; + missing_ok?: boolean; +} +export interface AlterObjectDependsStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + extname?: String; + remove?: boolean; +} +export interface AlterObjectSchemaStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + newschema?: string; + missing_ok?: boolean; +} +export interface AlterOwnerStmt { + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + newowner?: RoleSpec; +} +export interface AlterOperatorStmt { + opername?: ObjectWithArgs; + options?: Node[]; +} +export interface AlterTypeStmt { + typeName?: Node[]; + options?: Node[]; +} +export interface RuleStmt { + relation?: RangeVar; + rulename?: string; + whereClause?: Node; + event?: CmdType; + instead?: boolean; + actions?: Node[]; + replace?: boolean; +} +export interface NotifyStmt { + conditionname?: string; + payload?: string; +} +export interface ListenStmt { + conditionname?: string; +} +export interface UnlistenStmt { + conditionname?: string; +} +export interface TransactionStmt { + kind?: TransactionStmtKind; + options?: Node[]; + savepoint_name?: string; + gid?: string; + chain?: boolean; +} +export interface CompositeTypeStmt { + typevar?: RangeVar; + coldeflist?: Node[]; +} +export interface CreateEnumStmt { + typeName?: Node[]; + vals?: Node[]; +} +export interface CreateRangeStmt { + typeName?: Node[]; + params?: Node[]; +} +export interface AlterEnumStmt { + typeName?: Node[]; + oldVal?: string; + newVal?: string; + newValNeighbor?: string; + newValIsAfter?: boolean; + skipIfNewValExists?: boolean; +} +export interface ViewStmt { + view?: RangeVar; + aliases?: Node[]; + query?: Node; + replace?: boolean; + options?: Node[]; + withCheckOption?: ViewCheckOption; +} +export interface LoadStmt { + filename?: string; +} +export interface CreatedbStmt { + dbname?: string; + options?: Node[]; +} +export interface AlterDatabaseStmt { + dbname?: string; + options?: Node[]; +} +export interface AlterDatabaseRefreshCollStmt { + dbname?: string; +} +export interface AlterDatabaseSetStmt { + dbname?: string; + setstmt?: VariableSetStmt; +} +export interface DropdbStmt { + dbname?: string; + missing_ok?: boolean; + options?: Node[]; +} +export interface AlterSystemStmt { + setstmt?: VariableSetStmt; +} +export interface ClusterStmt { + relation?: RangeVar; + indexname?: string; + params?: Node[]; +} +export interface VacuumStmt { + options?: Node[]; + rels?: Node[]; + is_vacuumcmd?: boolean; +} +export interface VacuumRelation { + relation?: RangeVar; + oid?: number; + va_cols?: Node[]; +} +export interface ExplainStmt { + query?: Node; + options?: Node[]; +} +export interface CreateTableAsStmt { + query?: Node; + into?: IntoClause; + objtype?: ObjectType; + is_select_into?: boolean; + if_not_exists?: boolean; +} +export interface RefreshMatViewStmt { + concurrent?: boolean; + skipData?: boolean; + relation?: RangeVar; +} +export interface CheckPointStmt {} +export interface DiscardStmt { + target?: DiscardMode; +} +export interface LockStmt { + relations?: Node[]; + mode?: number; + nowait?: boolean; +} +export interface ConstraintsSetStmt { + constraints?: Node[]; + deferred?: boolean; +} +export interface ReindexStmt { + kind?: ReindexObjectType; + relation?: RangeVar; + name?: string; + params?: Node[]; +} +export interface CreateConversionStmt { + conversion_name?: Node[]; + for_encoding_name?: string; + to_encoding_name?: string; + func_name?: Node[]; + def?: boolean; +} +export interface CreateCastStmt { + sourcetype?: TypeName; + targettype?: TypeName; + func?: ObjectWithArgs; + context?: CoercionContext; + inout?: boolean; +} +export interface CreateTransformStmt { + replace?: boolean; + type_name?: TypeName; + lang?: string; + fromsql?: ObjectWithArgs; + tosql?: ObjectWithArgs; +} +export interface PrepareStmt { + name?: string; + argtypes?: Node[]; + query?: Node; +} +export interface ExecuteStmt { + name?: string; + params?: Node[]; +} +export interface DeallocateStmt { + name?: string; +} +export interface DropOwnedStmt { + roles?: Node[]; + behavior?: DropBehavior; +} +export interface ReassignOwnedStmt { + roles?: Node[]; + newrole?: RoleSpec; +} +export interface AlterTSDictionaryStmt { + dictname?: Node[]; + options?: Node[]; +} +export interface AlterTSConfigurationStmt { + kind?: AlterTSConfigType; + cfgname?: Node[]; + tokentype?: Node[]; + dicts?: Node[]; + override?: boolean; + replace?: boolean; + missing_ok?: boolean; +} +export interface PublicationTable { + relation?: RangeVar; + whereClause?: Node; + columns?: Node[]; +} +export interface PublicationObjSpec { + pubobjtype?: PublicationObjSpecType; + name?: string; + pubtable?: PublicationTable; + location?: number; +} +export interface CreatePublicationStmt { + pubname?: string; + options?: Node[]; + pubobjects?: Node[]; + for_all_tables?: boolean; +} +export interface AlterPublicationStmt { + pubname?: string; + options?: Node[]; + pubobjects?: Node[]; + for_all_tables?: boolean; + action?: AlterPublicationAction; +} +export interface CreateSubscriptionStmt { + subname?: string; + conninfo?: string; + publication?: Node[]; + options?: Node[]; +} +export interface AlterSubscriptionStmt { + kind?: AlterSubscriptionType; + subname?: string; + conninfo?: string; + publication?: Node[]; + options?: Node[]; +} +export interface DropSubscriptionStmt { + subname?: string; + missing_ok?: boolean; + behavior?: DropBehavior; +} +export interface ScanToken { + ScanToken: { + start?: number; + end?: number; + token?: Token; + keywordKind?: KeywordKind; + }; +}", + "file": "wrapped.ts", + }, +] +`; + +exports[`runtime-schema typescript format enabled 1`] = ` +[ + { + "code": "/** +* This file was automatically generated by pg-proto-parser@latest. +* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, +* and run the pg-proto-parser generate command to regenerate this file. +*/ +// Generated by pg-proto-parser +export interface FieldSpec { + name: string; + type: string; + isNode: boolean; + isArray: boolean; + optional: boolean; +} +export interface NodeSpec { + name: string; + wrapped: boolean; + fields: FieldSpec[]; +} +export const runtimeSchema: NodeSpec[] = [ + { + name: 'A_ArrayExpr', + wrapped: true, + fields: [ + { + name: 'elements', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'A_Const', + wrapped: true, + fields: [ + { + name: 'boolval', + type: 'Boolean', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'bsval', + type: 'BitString', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'fval', + type: 'Float', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'isnull', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ival', + type: 'Integer', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sval', + type: 'String', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'A_Expr', + wrapped: true, + fields: [ + { + name: 'kind', + type: 'A_Expr_Kind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'A_Indices', + wrapped: true, + fields: [ + { + name: 'is_slice', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lidx', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'uidx', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'A_Indirection', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'indirection', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'A_Star', + wrapped: true, + fields: [ + + ] + }, + { + name: 'AccessPriv', + wrapped: true, + fields: [ + { + name: 'cols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'priv_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'Aggref', + wrapped: true, + fields: [ + { + name: 'aggargtypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'aggcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggdirectargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'aggdistinct', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'aggfilter', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'aggfnoid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggkind', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'agglevelsup', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggorder', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'aggsplit', + type: 'AggSplit', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggstar', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggtransno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggtype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'aggvariadic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Alias', + wrapped: true, + fields: [ + { + name: 'aliasname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'colnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterCollationStmt', + wrapped: true, + fields: [ + { + name: 'collname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterDatabaseRefreshCollStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterDatabaseSetStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'setstmt', + type: 'VariableSetStmt', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterDatabaseStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterDefaultPrivilegesStmt', + wrapped: true, + fields: [ + { + name: 'action', + type: 'GrantStmt', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterDomainStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'def', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subtype', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterEnumStmt', + wrapped: true, + fields: [ + { + name: 'newVal', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newValIsAfter', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newValNeighbor', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldVal', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'skipIfNewValExists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterEventTrigStmt', + wrapped: true, + fields: [ + { + name: 'tgenabled', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'trigname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterExtensionContentsStmt', + wrapped: true, + fields: [ + { + name: 'action', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'extname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterExtensionStmt', + wrapped: true, + fields: [ + { + name: 'extname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterFdwStmt', + wrapped: true, + fields: [ + { + name: 'fdwname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'func_options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterForeignServerStmt', + wrapped: true, + fields: [ + { + name: 'has_version', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'version', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterFunctionStmt', + wrapped: true, + fields: [ + { + name: 'actions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'func', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlternativeSubPlan', + wrapped: true, + fields: [ + { + name: 'subplans', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterObjectDependsStmt', + wrapped: true, + fields: [ + { + name: 'extname', + type: 'String', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objectType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'remove', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterObjectSchemaStmt', + wrapped: true, + fields: [ + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newschema', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objectType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterOperatorStmt', + wrapped: true, + fields: [ + { + name: 'opername', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterOpFamilyStmt', + wrapped: true, + fields: [ + { + name: 'amname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'isDrop', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opfamilyname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterOwnerStmt', + wrapped: true, + fields: [ + { + name: 'newowner', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objectType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterPolicyStmt', + wrapped: true, + fields: [ + { + name: 'policy_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'qual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'table', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'with_check', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterPublicationStmt', + wrapped: true, + fields: [ + { + name: 'action', + type: 'AlterPublicationAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'for_all_tables', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pubname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pubobjects', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterRoleSetStmt', + wrapped: true, + fields: [ + { + name: 'database', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'role', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'setstmt', + type: 'VariableSetStmt', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterRoleStmt', + wrapped: true, + fields: [ + { + name: 'action', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'role', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterSeqStmt', + wrapped: true, + fields: [ + { + name: 'for_identity', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'sequence', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterStatsStmt', + wrapped: true, + fields: [ + { + name: 'defnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'stxstattarget', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterSubscriptionStmt', + wrapped: true, + fields: [ + { + name: 'conninfo', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'AlterSubscriptionType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'publication', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'subname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterSystemStmt', + wrapped: true, + fields: [ + { + name: 'setstmt', + type: 'VariableSetStmt', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterTableCmd', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'def', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newowner', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'num', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'recurse', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subtype', + type: 'AlterTableType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterTableMoveAllStmt', + wrapped: true, + fields: [ + { + name: 'new_tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nowait', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'orig_tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterTableSpaceOptionsStmt', + wrapped: true, + fields: [ + { + name: 'isReset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterTableStmt', + wrapped: true, + fields: [ + { + name: 'cmds', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'AlterTSConfigurationStmt', + wrapped: true, + fields: [ + { + name: 'cfgname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'dicts', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'kind', + type: 'AlterTSConfigType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tokentype', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterTSDictionaryStmt', + wrapped: true, + fields: [ + { + name: 'dictname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterTypeStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'AlterUserMappingStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'user', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ArrayCoerceExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'coerceformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'elemexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ArrayExpr', + wrapped: true, + fields: [ + { + name: 'array_collid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'array_typeid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'element_typeid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'elements', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'multidims', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'BitString', + wrapped: true, + fields: [ + { + name: 'bsval', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'Boolean', + wrapped: true, + fields: [ + { + name: 'boolval', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'BooleanTest', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'booltesttype', + type: 'BoolTestType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'BoolExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'boolop', + type: 'BoolExprType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CallContext', + wrapped: true, + fields: [ + { + name: 'atomic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CallStmt', + wrapped: true, + fields: [ + { + name: 'funccall', + type: 'FuncCall', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'funcexpr', + type: 'FuncExpr', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'outargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CaseExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'casecollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'casetype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'defresult', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CaseTestExpr', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeMod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CaseWhen', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'result', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CheckPointStmt', + wrapped: true, + fields: [ + + ] + }, + { + name: 'ClosePortalStmt', + wrapped: true, + fields: [ + { + name: 'portalname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ClusterStmt', + wrapped: true, + fields: [ + { + name: 'indexname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'params', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CoalesceExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coalescecollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'coalescetype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CoerceToDomain', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'coercionformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CoerceToDomainValue', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeMod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CoerceViaIO', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'coerceformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CollateClause', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'collname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CollateExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'collOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ColumnDef', + wrapped: true, + fields: [ + { + name: 'collClause', + type: 'CollateClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'collOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'colname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'compression', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'constraints', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'cooked_default', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'fdwoptions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'generated', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'identity', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'identitySequence', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'inhcount', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_from_type', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_local', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_not_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'raw_default', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'storage', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'storage_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ColumnRef', + wrapped: true, + fields: [ + { + name: 'fields', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CommentStmt', + wrapped: true, + fields: [ + { + name: 'comment', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CommonTableExpr', + wrapped: true, + fields: [ + { + name: 'aliascolnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctecolcollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctecolnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctecoltypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctecoltypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctematerialized', + type: 'CTEMaterialize', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ctename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ctequery', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'cterecursive', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cterefcount', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_clause', + type: 'CTECycleClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'search_clause', + type: 'CTESearchClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CompositeTypeStmt', + wrapped: true, + fields: [ + { + name: 'coldeflist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'typevar', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Constraint', + wrapped: true, + fields: [ + { + name: 'access_method', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'conname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'contype', + type: 'ConstrType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cooked_expr', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'deferrable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exclusions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'fk_attrs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'fk_del_action', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'fk_del_set_cols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'fk_matchtype', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'fk_upd_action', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'generated_when', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'including', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'indexname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'indexspace', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'initdeferred', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'initially_valid', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_no_inherit', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'keys', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulls_not_distinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'old_conpfeqop', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'old_pktable_oid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pk_attrs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pktable', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'raw_expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'reset_default_tblspc', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'skip_validation', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'where_clause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ConstraintsSetStmt', + wrapped: true, + fields: [ + { + name: 'constraints', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'deferred', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ConvertRowtypeExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'convertformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CopyStmt', + wrapped: true, + fields: [ + { + name: 'attlist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'filename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_from', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_program', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateAmStmt', + wrapped: true, + fields: [ + { + name: 'amname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'amtype', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'handler_name', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateCastStmt', + wrapped: true, + fields: [ + { + name: 'context', + type: 'CoercionContext', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'func', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'inout', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sourcetype', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'targettype', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateConversionStmt', + wrapped: true, + fields: [ + { + name: 'conversion_name', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'def', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'for_encoding_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'func_name', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'to_encoding_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreatedbStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateDomainStmt', + wrapped: true, + fields: [ + { + name: 'collClause', + type: 'CollateClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'constraints', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'domainname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateEnumStmt', + wrapped: true, + fields: [ + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'vals', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateEventTrigStmt', + wrapped: true, + fields: [ + { + name: 'eventname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'trigname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whenclause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateExtensionStmt', + wrapped: true, + fields: [ + { + name: 'extname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateFdwStmt', + wrapped: true, + fields: [ + { + name: 'fdwname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'func_options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateForeignServerStmt', + wrapped: true, + fields: [ + { + name: 'fdwname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'servertype', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'version', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateForeignTableStmt', + wrapped: true, + fields: [ + { + name: 'base', + type: 'CreateStmt', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateFunctionStmt', + wrapped: true, + fields: [ + { + name: 'funcname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'is_procedure', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'parameters', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'returnType', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sql_body', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateOpClassItem', + wrapped: true, + fields: [ + { + name: 'class_args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'itemtype', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'number', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'order_family', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'storedtype', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateOpClassStmt', + wrapped: true, + fields: [ + { + name: 'amname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'datatype', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'isDefault', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opclassname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opfamilyname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateOpFamilyStmt', + wrapped: true, + fields: [ + { + name: 'amname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opfamilyname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreatePLangStmt', + wrapped: true, + fields: [ + { + name: 'plhandler', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'plinline', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'plname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pltrusted', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'plvalidator', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreatePolicyStmt', + wrapped: true, + fields: [ + { + name: 'cmd_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'permissive', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'policy_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'qual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'table', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'with_check', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreatePublicationStmt', + wrapped: true, + fields: [ + { + name: 'for_all_tables', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pubname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pubobjects', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateRangeStmt', + wrapped: true, + fields: [ + { + name: 'params', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'typeName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'CreateRoleStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'role', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'stmt_type', + type: 'RoleStmtType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateSchemaStmt', + wrapped: true, + fields: [ + { + name: 'authrole', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'schemaElts', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'schemaname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateSeqStmt', + wrapped: true, + fields: [ + { + name: 'for_identity', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ownerId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sequence', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateStatsStmt', + wrapped: true, + fields: [ + { + name: 'defnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'exprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'stat_types', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'stxcomment', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'transformed', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateStmt', + wrapped: true, + fields: [ + { + name: 'accessMethod', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'constraints', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inhRelations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ofTypename', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'oncommit', + type: 'OnCommitAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'partbound', + type: 'PartitionBoundSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'partspec', + type: 'PartitionSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tableElts', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateSubscriptionStmt', + wrapped: true, + fields: [ + { + name: 'conninfo', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'publication', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'subname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateTableAsStmt', + wrapped: true, + fields: [ + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'into', + type: 'IntoClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'is_select_into', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateTableSpaceStmt', + wrapped: true, + fields: [ + { + name: 'location', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'owner', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateTransformStmt', + wrapped: true, + fields: [ + { + name: 'fromsql', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'lang', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tosql', + type: 'ObjectWithArgs', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'type_name', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateTrigStmt', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'columns', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'constrrel', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'deferrable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'events', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'initdeferred', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'isconstraint', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'row', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'timing', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'transitionRels', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'trigname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whenClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CreateUserMappingStmt', + wrapped: true, + fields: [ + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'user', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'CTECycleClause', + wrapped: true, + fields: [ + { + name: 'cycle_col_list', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'cycle_mark_collation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_column', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_default', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_neop', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_type', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_typmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cycle_mark_value', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'cycle_path_column', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CTESearchClause', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'search_breadth_first', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'search_col_list', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'search_seq_column', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'CurrentOfExpr', + wrapped: true, + fields: [ + { + name: 'cursor_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cursor_param', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'cvarno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'DeallocateStmt', + wrapped: true, + fields: [ + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DeclareCursorStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'portalname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'DefElem', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'defaction', + type: 'DefElemAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'defname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'defnamespace', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DefineStmt', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'definition', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'defnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldstyle', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DeleteStmt', + wrapped: true, + fields: [ + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'returningList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'usingClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'DiscardStmt', + wrapped: true, + fields: [ + { + name: 'target', + type: 'DiscardMode', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DistinctExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opresulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opretset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'DoStmt', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'DropdbStmt', + wrapped: true, + fields: [ + { + name: 'dbname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'DropOwnedStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'DropRoleStmt', + wrapped: true, + fields: [ + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'DropStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'concurrent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objects', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'removeType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DropSubscriptionStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DropTableSpaceStmt', + wrapped: true, + fields: [ + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tablespacename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'DropUserMappingStmt', + wrapped: true, + fields: [ + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'servername', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'user', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ExecuteStmt', + wrapped: true, + fields: [ + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'params', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'ExplainStmt', + wrapped: true, + fields: [ + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FetchStmt', + wrapped: true, + fields: [ + { + name: 'direction', + type: 'FetchDirection', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'howMany', + type: 'int64', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ismove', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'portalname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'FieldSelect', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'fieldnum', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FieldStore', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'fieldnums', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'newvals', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Float', + wrapped: true, + fields: [ + { + name: 'fval', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'FromExpr', + wrapped: true, + fields: [ + { + name: 'fromlist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'quals', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FuncCall', + wrapped: true, + fields: [ + { + name: 'agg_distinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'agg_filter', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'agg_order', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'agg_star', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'agg_within_group', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'func_variadic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'over', + type: 'WindowDef', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FuncExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funccollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcresulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcretset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funcvariadic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'FunctionParameter', + wrapped: true, + fields: [ + { + name: 'argType', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'defexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'mode', + type: 'FunctionParameterMode', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'GrantRoleStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'granted_roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'grantee_roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'grantor', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'is_grant', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opt', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'GrantStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'grant_option', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'grantees', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'grantor', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'is_grant', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objects', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'privileges', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'targtype', + type: 'GrantTargetType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'GroupingFunc', + wrapped: true, + fields: [ + { + name: 'agglevelsup', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'GroupingSet', + wrapped: true, + fields: [ + { + name: 'content', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'kind', + type: 'GroupingSetKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ImportForeignSchemaStmt', + wrapped: true, + fields: [ + { + name: 'list_type', + type: 'ImportForeignSchemaType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'local_schema', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'remote_schema', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'server_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'table_list', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'IndexElem', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'indexcolname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulls_ordering', + type: 'SortByNulls', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opclass', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opclassopts', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ordering', + type: 'SortByDir', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'IndexStmt', + wrapped: true, + fields: [ + { + name: 'accessMethod', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'concurrent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'deferrable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'excludeOpNames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'idxcomment', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'idxname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'if_not_exists', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'indexIncludingParams', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'indexOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'indexParams', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'initdeferred', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'isconstraint', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulls_not_distinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldCreateSubid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldFirstRelfilelocatorSubid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'oldNumber', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'primary', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'reset_default_tblspc', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tableSpace', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'transformed', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'unique', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'InferClause', + wrapped: true, + fields: [ + { + name: 'conname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'indexElems', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'InferenceElem', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'infercollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inferopclass', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'InlineCodeBlock', + wrapped: true, + fields: [ + { + name: 'atomic', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'langIsTrusted', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'langOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'source_text', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'InsertStmt', + wrapped: true, + fields: [ + { + name: 'cols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'onConflictClause', + type: 'OnConflictClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'OverridingKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'returningList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'selectStmt', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Integer', + wrapped: true, + fields: [ + { + name: 'ival', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'IntList', + wrapped: true, + fields: [ + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'IntoClause', + wrapped: true, + fields: [ + { + name: 'accessMethod', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'colNames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'onCommit', + type: 'OnCommitAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rel', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'skipData', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tableSpaceName', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'viewQuery', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JoinExpr', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'isNatural', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'join_using_alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'jointype', + type: 'JoinType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'larg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'quals', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'rarg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'rtindex', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'usingClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'JsonAggConstructor', + wrapped: true, + fields: [ + { + name: 'agg_filter', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'agg_order', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'output', + type: 'JsonOutput', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'over', + type: 'WindowDef', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonArrayAgg', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'arg', + type: 'JsonValueExpr', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'constructor', + type: 'JsonAggConstructor', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonArrayConstructor', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'output', + type: 'JsonOutput', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonArrayQueryConstructor', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'format', + type: 'JsonFormat', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'output', + type: 'JsonOutput', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonConstructorExpr', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coercion', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'func', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'returning', + type: 'JsonReturning', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'type', + type: 'JsonConstructorType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'unique', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonFormat', + wrapped: true, + fields: [ + { + name: 'encoding', + type: 'JsonEncoding', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'format_type', + type: 'JsonFormatType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonIsPredicate', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'format', + type: 'JsonFormat', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'item_type', + type: 'JsonValueType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'unique_keys', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonKeyValue', + wrapped: true, + fields: [ + { + name: 'key', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'value', + type: 'JsonValueExpr', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonObjectAgg', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'arg', + type: 'JsonKeyValue', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'constructor', + type: 'JsonAggConstructor', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'unique', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonObjectConstructor', + wrapped: true, + fields: [ + { + name: 'absent_on_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'output', + type: 'JsonOutput', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'unique', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonOutput', + wrapped: true, + fields: [ + { + name: 'returning', + type: 'JsonReturning', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonReturning', + wrapped: true, + fields: [ + { + name: 'format', + type: 'JsonFormat', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'typid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'JsonValueExpr', + wrapped: true, + fields: [ + { + name: 'format', + type: 'JsonFormat', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'formatted_expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'raw_expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'List', + wrapped: true, + fields: [ + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'ListenStmt', + wrapped: true, + fields: [ + { + name: 'conditionname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'LoadStmt', + wrapped: true, + fields: [ + { + name: 'filename', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'LockingClause', + wrapped: true, + fields: [ + { + name: 'lockedRels', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'strength', + type: 'LockClauseStrength', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'waitPolicy', + type: 'LockWaitPolicy', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'LockStmt', + wrapped: true, + fields: [ + { + name: 'mode', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nowait', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'MergeAction', + wrapped: true, + fields: [ + { + name: 'commandType', + type: 'CmdType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'matched', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'OverridingKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'qual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'updateColnos', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'MergeStmt', + wrapped: true, + fields: [ + { + name: 'joinCondition', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'mergeWhenClauses', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sourceRelation', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'MergeWhenClause', + wrapped: true, + fields: [ + { + name: 'commandType', + type: 'CmdType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'condition', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'matched', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'OverridingKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'values', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'MinMaxExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'minmaxcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'minmaxtype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'op', + type: 'MinMaxOp', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'MultiAssignRef', + wrapped: true, + fields: [ + { + name: 'colno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ncolumns', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'source', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'NamedArgExpr', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'argnumber', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'NextValueExpr', + wrapped: true, + fields: [ + { + name: 'seqid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'NotifyStmt', + wrapped: true, + fields: [ + { + name: 'conditionname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'payload', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'NullIfExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opresulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opretset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'NullTest', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'argisrow', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulltesttype', + type: 'NullTestType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ObjectWithArgs', + wrapped: true, + fields: [ + { + name: 'args_unspecified', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'objargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'objfuncargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'objname', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'OidList', + wrapped: true, + fields: [ + { + name: 'items', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'OnConflictClause', + wrapped: true, + fields: [ + { + name: 'action', + type: 'OnConflictAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'infer', + type: 'InferClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'OnConflictExpr', + wrapped: true, + fields: [ + { + name: 'action', + type: 'OnConflictAction', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'arbiterElems', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'arbiterWhere', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'constraint', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exclRelIndex', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'exclRelTlist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'onConflictSet', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'onConflictWhere', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'OpExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opresulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opretset', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Param', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramid', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramkind', + type: 'ParamKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramtype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramtypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ParamRef', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'number', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ParseResult', + wrapped: false, + fields: [ + { + name: 'stmts', + type: 'RawStmt', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'version', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'PartitionBoundSpec', + wrapped: true, + fields: [ + { + name: 'is_default', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'listdatums', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lowerdatums', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'modulus', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'remainder', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'strategy', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'upperdatums', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'PartitionCmd', + wrapped: true, + fields: [ + { + name: 'bound', + type: 'PartitionBoundSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'concurrent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PartitionElem', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opclass', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'PartitionRangeDatum', + wrapped: true, + fields: [ + { + name: 'kind', + type: 'PartitionRangeDatumKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'value', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PartitionSpec', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'partParams', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'strategy', + type: 'PartitionStrategy', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'PLAssignStmt', + wrapped: true, + fields: [ + { + name: 'indirection', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nnames', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'val', + type: 'SelectStmt', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PrepareStmt', + wrapped: true, + fields: [ + { + name: 'argtypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PublicationObjSpec', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pubobjtype', + type: 'PublicationObjSpecType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'pubtable', + type: 'PublicationTable', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'PublicationTable', + wrapped: true, + fields: [ + { + name: 'columns', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'Query', + wrapped: true, + fields: [ + { + name: 'canSetTag', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'commandType', + type: 'CmdType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'constraintDeps', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'cteList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'distinctClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupDistinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'groupingSets', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'hasAggs', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasDistinctOn', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasForUpdate', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasModifyingCTE', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasRecursive', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasRowSecurity', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasSubLinks', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasTargetSRFs', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hasWindowFuncs', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'havingQual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'isReturn', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'jointree', + type: 'FromExpr', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitCount', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitOption', + type: 'LimitOption', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'mergeActionList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'mergeUseOuterJoin', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'onConflict', + type: 'OnConflictExpr', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'override', + type: 'OverridingKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'querySource', + type: 'QuerySource', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultRelation', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'returningList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rowMarks', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rtable', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rteperminfos', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'setOperations', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sortClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'stmt_len', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'stmt_location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'utilityStmt', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'windowClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'withCheckOptions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'RangeFunction', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'coldeflist', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'functions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'is_rowsfrom', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lateral', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ordinality', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeSubselect', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'lateral', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subquery', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeTableFunc', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'columns', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'docexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'lateral', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'namespaces', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rowexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeTableFuncCol', + wrapped: true, + fields: [ + { + name: 'coldefexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'colexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'colname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'for_ordinality', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'is_not_null', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeTableSample', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'method', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'repeatable', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeTblEntry', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'colcollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coltypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coltypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ctelevelsup', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ctename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'enrname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'enrtuples', + type: 'double', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'eref', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'funcordinality', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'functions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inFromCl', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inh', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'join_using_alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'joinaliasvars', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'joinleftcols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'joinmergedcols', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'joinrightcols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'jointype', + type: 'JoinType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lateral', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'perminfoindex', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relkind', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rellockmode', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rtekind', + type: 'RTEKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'security_barrier', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'securityQuals', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'self_reference', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subquery', + type: 'Query', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tablefunc', + type: 'TableFunc', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tablesample', + type: 'TableSampleClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'values_lists', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'RangeTblFunction', + wrapped: true, + fields: [ + { + name: 'funccolcollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funccolcount', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'funccolnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funccoltypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funccoltypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'funcexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'funcparams', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + } + ] + }, + { + name: 'RangeTblRef', + wrapped: true, + fields: [ + { + name: 'rtindex', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RangeVar', + wrapped: true, + fields: [ + { + name: 'alias', + type: 'Alias', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'catalogname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inh', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relpersistence', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'schemaname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RawStmt', + wrapped: true, + fields: [ + { + name: 'stmt', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'stmt_len', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'stmt_location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ReassignOwnedStmt', + wrapped: true, + fields: [ + { + name: 'newrole', + type: 'RoleSpec', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'roles', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'RefreshMatViewStmt', + wrapped: true, + fields: [ + { + name: 'concurrent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'skipData', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ReindexStmt', + wrapped: true, + fields: [ + { + name: 'kind', + type: 'ReindexObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'params', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RelabelType', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relabelformat', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resultcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resulttypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RenameStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'missing_ok', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'newname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relationType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'renameType', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ReplicaIdentityStmt', + wrapped: true, + fields: [ + { + name: 'identity_type', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ResTarget', + wrapped: true, + fields: [ + { + name: 'indirection', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'val', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ReturnStmt', + wrapped: true, + fields: [ + { + name: 'returnval', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RoleSpec', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rolename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'roletype', + type: 'RoleSpecType', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RowCompareExpr', + wrapped: true, + fields: [ + { + name: 'inputcollids', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'largs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opfamilies', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'opnos', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rargs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rctype', + type: 'RowCompareType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RowExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'row_format', + type: 'CoercionForm', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'row_typeid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'RowMarkClause', + wrapped: true, + fields: [ + { + name: 'pushedDown', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rti', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'strength', + type: 'LockClauseStrength', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'waitPolicy', + type: 'LockWaitPolicy', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'RTEPermissionInfo', + wrapped: true, + fields: [ + { + name: 'checkAsUser', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inh', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'insertedCols', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'relid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'requiredPerms', + type: 'uint64', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'selectedCols', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'updatedCols', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + } + ] + }, + { + name: 'RuleStmt', + wrapped: true, + fields: [ + { + name: 'actions', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'event', + type: 'CmdType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'instead', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rulename', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ScalarArrayOpExpr', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'opno', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'useOr', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'ScanResult', + wrapped: false, + fields: [ + { + name: 'tokens', + type: 'ScanToken', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'version', + type: 'int32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ScanToken', + wrapped: false, + fields: [ + { + name: 'end', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'keywordKind', + type: 'KeywordKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'start', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'token', + type: 'Token', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'SecLabelStmt', + wrapped: true, + fields: [ + { + name: 'label', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'object', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'objtype', + type: 'ObjectType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'provider', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'SelectStmt', + wrapped: true, + fields: [ + { + name: 'all', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'distinctClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'fromClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupDistinct', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'havingClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'intoClause', + type: 'IntoClause', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'larg', + type: 'SelectStmt', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitCount', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'limitOption', + type: 'LimitOption', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'lockingClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'op', + type: 'SetOperation', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rarg', + type: 'SelectStmt', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sortClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'valuesLists', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'windowClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SetOperationStmt', + wrapped: true, + fields: [ + { + name: 'all', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'colCollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colTypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colTypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'groupClauses', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'larg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'op', + type: 'SetOperation', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rarg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SetToDefault', + wrapped: true, + fields: [ + { + name: 'collation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeId', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeMod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SortBy', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'node', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'sortby_dir', + type: 'SortByDir', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sortby_nulls', + type: 'SortByNulls', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'useOp', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'SortGroupClause', + wrapped: true, + fields: [ + { + name: 'eqop', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'hashable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'nulls_first', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'sortop', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'tleSortGroupRef', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'SQLValueFunction', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'op', + type: 'SQLValueFunctionOp', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'type', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'StatsElem', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'String', + wrapped: true, + fields: [ + { + name: 'sval', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'SubLink', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'operName', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'subLinkId', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subLinkType', + type: 'SubLinkType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subselect', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'testexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SubPlan', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'firstColCollation', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'firstColType', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'firstColTypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'parallel_safe', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'paramIds', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'parParam', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'per_call_cost', + type: 'double', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'plan_id', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'plan_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'setParam', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'startup_cost', + type: 'double', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'subLinkType', + type: 'SubLinkType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'testexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'unknownEqFalse', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'useHashTable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'SubscriptingRef', + wrapped: true, + fields: [ + { + name: 'refassgnexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'refcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refcontainertype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refelemtype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'reflowerindexpr', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'refrestype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'reftypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'refupperindexpr', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'TableFunc', + wrapped: true, + fields: [ + { + name: 'colcollations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coldefexprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colexprs', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'colnames', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coltypes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'coltypmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'docexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'notnulls', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'ns_names', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ns_uris', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'ordinalitycol', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'rowexpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'TableLikeClause', + wrapped: true, + fields: [ + { + name: 'options', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relationOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TableSampleClause', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'repeatable', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'tsmhandler', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TargetEntry', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'resjunk', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resorigcol', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'resorigtbl', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'ressortgroupref', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'TransactionStmt', + wrapped: true, + fields: [ + { + name: 'chain', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'gid', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'TransactionStmtKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'savepoint_name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TriggerTransition', + wrapped: true, + fields: [ + { + name: 'isNew', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'isTable', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TruncateStmt', + wrapped: true, + fields: [ + { + name: 'behavior', + type: 'DropBehavior', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relations', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'restart_seqs', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'TypeCast', + wrapped: true, + fields: [ + { + name: 'arg', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'TypeName', + wrapped: true, + fields: [ + { + name: 'arrayBounds', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'names', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'pct_type', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'setof', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typemod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeOid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typmods', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'UnlistenStmt', + wrapped: true, + fields: [ + { + name: 'conditionname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'UpdateStmt', + wrapped: true, + fields: [ + { + name: 'fromClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'returningList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'targetList', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'whereClause', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withClause', + type: 'WithClause', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'VacuumRelation', + wrapped: true, + fields: [ + { + name: 'oid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'relation', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'va_cols', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'VacuumStmt', + wrapped: true, + fields: [ + { + name: 'is_vacuumcmd', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'rels', + type: 'Node', + isNode: true, + isArray: true, + optional: true + } + ] + }, + { + name: 'Var', + wrapped: true, + fields: [ + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varattno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varlevelsup', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varno', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'varnullingrels', + type: 'uint64', + isNode: false, + isArray: true, + optional: true + }, + { + name: 'vartype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'vartypmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'VariableSetStmt', + wrapped: true, + fields: [ + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'is_local', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'VariableSetKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'VariableShowStmt', + wrapped: true, + fields: [ + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'ViewStmt', + wrapped: true, + fields: [ + { + name: 'aliases', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'options', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'query', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'replace', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'view', + type: 'RangeVar', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'withCheckOption', + type: 'ViewCheckOption', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'WindowClause', + wrapped: true, + fields: [ + { + name: 'copiedOrder', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'endInRangeFunc', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'endOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'frameOptions', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inRangeAsc', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inRangeColl', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'inRangeNullsFirst', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'orderClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'partitionClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'refname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'runCondition', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'startInRangeFunc', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'startOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'winref', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'WindowDef', + wrapped: true, + fields: [ + { + name: 'endOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'frameOptions', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'orderClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'partitionClause', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'refname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'startOffset', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'WindowFunc', + wrapped: true, + fields: [ + { + name: 'aggfilter', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'inputcollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'winagg', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'wincollid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'winfnoid', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'winref', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'winstar', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'wintype', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'WithCheckOption', + wrapped: true, + fields: [ + { + name: 'cascaded', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'kind', + type: 'WCOKind', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'polname', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'qual', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'relname', + type: 'string', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'WithClause', + wrapped: true, + fields: [ + { + name: 'ctes', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'recursive', + type: 'bool', + isNode: false, + isArray: false, + optional: true + } + ] + }, + { + name: 'XmlExpr', + wrapped: true, + fields: [ + { + name: 'arg_names', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'indent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'name', + type: 'string', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'named_args', + type: 'Node', + isNode: true, + isArray: true, + optional: true + }, + { + name: 'op', + type: 'XmlExprOp', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'type', + type: 'uint32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typmod', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xmloption', + type: 'XmlOptionType', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'xpr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + } + ] + }, + { + name: 'XmlSerialize', + wrapped: true, + fields: [ + { + name: 'expr', + type: 'Node', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'indent', + type: 'bool', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'location', + type: 'int32', + isNode: false, + isArray: false, + optional: true + }, + { + name: 'typeName', + type: 'TypeName', + isNode: true, + isArray: false, + optional: true + }, + { + name: 'xmloption', + type: 'XmlOptionType', + isNode: false, + isArray: false, + optional: true + } + ] + } +];", + "file": "runtime-schema.ts", + }, +] +`; diff --git a/packages/parser/__tests__/__snapshots__/types.test.ts.snap b/packages/parser/__tests__/__snapshots__/types.test.ts.snap index d9d4c78..4a300af 100644 --- a/packages/parser/__tests__/__snapshots__/types.test.ts.snap +++ b/packages/parser/__tests__/__snapshots__/types.test.ts.snap @@ -5490,678 +5490,548 @@ export interface ScanResult { }; } export interface Integer { - Integer: { - ival?: number; - }; + ival?: number; } export interface Float { - Float: { - fval?: string; - }; + fval?: string; } export interface Boolean { - Boolean: { - boolval?: boolean; - }; + boolval?: boolean; } export interface String { - String: { - sval?: string; - }; + sval?: string; } export interface BitString { - BitString: { - bsval?: string; - }; + bsval?: string; } export interface List { - List: { - items?: Node[]; - }; + items?: Node[]; } export interface OidList { - OidList: { - items?: Node[]; - }; + items?: Node[]; } export interface IntList { - IntList: { - items?: Node[]; - }; + items?: Node[]; } export interface A_Const { - A_Const: { - ival?: Integer; - fval?: Float; - boolval?: Boolean; - sval?: String; - bsval?: BitString; - isnull?: boolean; - location?: number; - }; + ival?: Integer; + fval?: Float; + boolval?: Boolean; + sval?: String; + bsval?: BitString; + isnull?: boolean; + location?: number; } export interface Alias { - Alias: { - aliasname?: string; - colnames?: Node[]; - }; + aliasname?: string; + colnames?: Node[]; } export interface RangeVar { - RangeVar: { - catalogname?: string; - schemaname?: string; - relname?: string; - inh?: boolean; - relpersistence?: string; - alias?: Alias; - location?: number; - }; + catalogname?: string; + schemaname?: string; + relname?: string; + inh?: boolean; + relpersistence?: string; + alias?: Alias; + location?: number; } export interface TableFunc { - TableFunc: { - ns_uris?: Node[]; - ns_names?: Node[]; - docexpr?: Node; - rowexpr?: Node; - colnames?: Node[]; - coltypes?: Node[]; - coltypmods?: Node[]; - colcollations?: Node[]; - colexprs?: Node[]; - coldefexprs?: Node[]; - notnulls?: bigint[]; - ordinalitycol?: number; - location?: number; - }; + ns_uris?: Node[]; + ns_names?: Node[]; + docexpr?: Node; + rowexpr?: Node; + colnames?: Node[]; + coltypes?: Node[]; + coltypmods?: Node[]; + colcollations?: Node[]; + colexprs?: Node[]; + coldefexprs?: Node[]; + notnulls?: bigint[]; + ordinalitycol?: number; + location?: number; } export interface IntoClause { - IntoClause: { - rel?: RangeVar; - colNames?: Node[]; - accessMethod?: string; - options?: Node[]; - onCommit?: OnCommitAction; - tableSpaceName?: string; - viewQuery?: Node; - skipData?: boolean; - }; + rel?: RangeVar; + colNames?: Node[]; + accessMethod?: string; + options?: Node[]; + onCommit?: OnCommitAction; + tableSpaceName?: string; + viewQuery?: Node; + skipData?: boolean; } export interface Var { - Var: { - xpr?: Node; - varno?: number; - varattno?: number; - vartype?: number; - vartypmod?: number; - varcollid?: number; - varnullingrels?: bigint[]; - varlevelsup?: number; - location?: number; - }; + xpr?: Node; + varno?: number; + varattno?: number; + vartype?: number; + vartypmod?: number; + varcollid?: number; + varnullingrels?: bigint[]; + varlevelsup?: number; + location?: number; } export interface Param { - Param: { - xpr?: Node; - paramkind?: ParamKind; - paramid?: number; - paramtype?: number; - paramtypmod?: number; - paramcollid?: number; - location?: number; - }; + xpr?: Node; + paramkind?: ParamKind; + paramid?: number; + paramtype?: number; + paramtypmod?: number; + paramcollid?: number; + location?: number; } export interface Aggref { - Aggref: { - xpr?: Node; - aggfnoid?: number; - aggtype?: number; - aggcollid?: number; - inputcollid?: number; - aggargtypes?: Node[]; - aggdirectargs?: Node[]; - args?: Node[]; - aggorder?: Node[]; - aggdistinct?: Node[]; - aggfilter?: Node; - aggstar?: boolean; - aggvariadic?: boolean; - aggkind?: string; - agglevelsup?: number; - aggsplit?: AggSplit; - aggno?: number; - aggtransno?: number; - location?: number; - }; + xpr?: Node; + aggfnoid?: number; + aggtype?: number; + aggcollid?: number; + inputcollid?: number; + aggargtypes?: Node[]; + aggdirectargs?: Node[]; + args?: Node[]; + aggorder?: Node[]; + aggdistinct?: Node[]; + aggfilter?: Node; + aggstar?: boolean; + aggvariadic?: boolean; + aggkind?: string; + agglevelsup?: number; + aggsplit?: AggSplit; + aggno?: number; + aggtransno?: number; + location?: number; } export interface GroupingFunc { - GroupingFunc: { - xpr?: Node; - args?: Node[]; - refs?: Node[]; - agglevelsup?: number; - location?: number; - }; + xpr?: Node; + args?: Node[]; + refs?: Node[]; + agglevelsup?: number; + location?: number; } export interface WindowFunc { - WindowFunc: { - xpr?: Node; - winfnoid?: number; - wintype?: number; - wincollid?: number; - inputcollid?: number; - args?: Node[]; - aggfilter?: Node; - winref?: number; - winstar?: boolean; - winagg?: boolean; - location?: number; - }; + xpr?: Node; + winfnoid?: number; + wintype?: number; + wincollid?: number; + inputcollid?: number; + args?: Node[]; + aggfilter?: Node; + winref?: number; + winstar?: boolean; + winagg?: boolean; + location?: number; } export interface SubscriptingRef { - SubscriptingRef: { - xpr?: Node; - refcontainertype?: number; - refelemtype?: number; - refrestype?: number; - reftypmod?: number; - refcollid?: number; - refupperindexpr?: Node[]; - reflowerindexpr?: Node[]; - refexpr?: Node; - refassgnexpr?: Node; - }; + xpr?: Node; + refcontainertype?: number; + refelemtype?: number; + refrestype?: number; + reftypmod?: number; + refcollid?: number; + refupperindexpr?: Node[]; + reflowerindexpr?: Node[]; + refexpr?: Node; + refassgnexpr?: Node; } export interface FuncExpr { - FuncExpr: { - xpr?: Node; - funcid?: number; - funcresulttype?: number; - funcretset?: boolean; - funcvariadic?: boolean; - funcformat?: CoercionForm; - funccollid?: number; - inputcollid?: number; - args?: Node[]; - location?: number; - }; + xpr?: Node; + funcid?: number; + funcresulttype?: number; + funcretset?: boolean; + funcvariadic?: boolean; + funcformat?: CoercionForm; + funccollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; } export interface NamedArgExpr { - NamedArgExpr: { - xpr?: Node; - arg?: Node; - name?: string; - argnumber?: number; - location?: number; - }; + xpr?: Node; + arg?: Node; + name?: string; + argnumber?: number; + location?: number; } export interface OpExpr { - OpExpr: { - xpr?: Node; - opno?: number; - opresulttype?: number; - opretset?: boolean; - opcollid?: number; - inputcollid?: number; - args?: Node[]; - location?: number; - }; + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; } export interface DistinctExpr { - DistinctExpr: { - xpr?: Node; - opno?: number; - opresulttype?: number; - opretset?: boolean; - opcollid?: number; - inputcollid?: number; - args?: Node[]; - location?: number; - }; + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; } export interface NullIfExpr { - NullIfExpr: { - xpr?: Node; - opno?: number; - opresulttype?: number; - opretset?: boolean; - opcollid?: number; - inputcollid?: number; - args?: Node[]; - location?: number; - }; + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; } export interface ScalarArrayOpExpr { - ScalarArrayOpExpr: { - xpr?: Node; - opno?: number; - useOr?: boolean; - inputcollid?: number; - args?: Node[]; - location?: number; - }; + xpr?: Node; + opno?: number; + useOr?: boolean; + inputcollid?: number; + args?: Node[]; + location?: number; } export interface BoolExpr { - BoolExpr: { - xpr?: Node; - boolop?: BoolExprType; - args?: Node[]; - location?: number; - }; + xpr?: Node; + boolop?: BoolExprType; + args?: Node[]; + location?: number; } export interface SubLink { - SubLink: { - xpr?: Node; - subLinkType?: SubLinkType; - subLinkId?: number; - testexpr?: Node; - operName?: Node[]; - subselect?: Node; - location?: number; - }; + xpr?: Node; + subLinkType?: SubLinkType; + subLinkId?: number; + testexpr?: Node; + operName?: Node[]; + subselect?: Node; + location?: number; } export interface SubPlan { - SubPlan: { - xpr?: Node; - subLinkType?: SubLinkType; - testexpr?: Node; - paramIds?: Node[]; - plan_id?: number; - plan_name?: string; - firstColType?: number; - firstColTypmod?: number; - firstColCollation?: number; - useHashTable?: boolean; - unknownEqFalse?: boolean; - parallel_safe?: boolean; - setParam?: Node[]; - parParam?: Node[]; - args?: Node[]; - startup_cost?: number; - per_call_cost?: number; - }; + xpr?: Node; + subLinkType?: SubLinkType; + testexpr?: Node; + paramIds?: Node[]; + plan_id?: number; + plan_name?: string; + firstColType?: number; + firstColTypmod?: number; + firstColCollation?: number; + useHashTable?: boolean; + unknownEqFalse?: boolean; + parallel_safe?: boolean; + setParam?: Node[]; + parParam?: Node[]; + args?: Node[]; + startup_cost?: number; + per_call_cost?: number; } export interface AlternativeSubPlan { - AlternativeSubPlan: { - xpr?: Node; - subplans?: Node[]; - }; + xpr?: Node; + subplans?: Node[]; } export interface FieldSelect { - FieldSelect: { - xpr?: Node; - arg?: Node; - fieldnum?: number; - resulttype?: number; - resulttypmod?: number; - resultcollid?: number; - }; + xpr?: Node; + arg?: Node; + fieldnum?: number; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; } export interface FieldStore { - FieldStore: { - xpr?: Node; - arg?: Node; - newvals?: Node[]; - fieldnums?: Node[]; - resulttype?: number; - }; + xpr?: Node; + arg?: Node; + newvals?: Node[]; + fieldnums?: Node[]; + resulttype?: number; } export interface RelabelType { - RelabelType: { - xpr?: Node; - arg?: Node; - resulttype?: number; - resulttypmod?: number; - resultcollid?: number; - relabelformat?: CoercionForm; - location?: number; - }; + xpr?: Node; + arg?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + relabelformat?: CoercionForm; + location?: number; } export interface CoerceViaIO { - CoerceViaIO: { - xpr?: Node; - arg?: Node; - resulttype?: number; - resultcollid?: number; - coerceformat?: CoercionForm; - location?: number; - }; + xpr?: Node; + arg?: Node; + resulttype?: number; + resultcollid?: number; + coerceformat?: CoercionForm; + location?: number; } export interface ArrayCoerceExpr { - ArrayCoerceExpr: { - xpr?: Node; - arg?: Node; - elemexpr?: Node; - resulttype?: number; - resulttypmod?: number; - resultcollid?: number; - coerceformat?: CoercionForm; - location?: number; - }; + xpr?: Node; + arg?: Node; + elemexpr?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + coerceformat?: CoercionForm; + location?: number; } export interface ConvertRowtypeExpr { - ConvertRowtypeExpr: { - xpr?: Node; - arg?: Node; - resulttype?: number; - convertformat?: CoercionForm; - location?: number; - }; + xpr?: Node; + arg?: Node; + resulttype?: number; + convertformat?: CoercionForm; + location?: number; } export interface CollateExpr { - CollateExpr: { - xpr?: Node; - arg?: Node; - collOid?: number; - location?: number; - }; + xpr?: Node; + arg?: Node; + collOid?: number; + location?: number; } export interface CaseExpr { - CaseExpr: { - xpr?: Node; - casetype?: number; - casecollid?: number; - arg?: Node; - args?: Node[]; - defresult?: Node; - location?: number; - }; + xpr?: Node; + casetype?: number; + casecollid?: number; + arg?: Node; + args?: Node[]; + defresult?: Node; + location?: number; } export interface CaseWhen { - CaseWhen: { - xpr?: Node; - expr?: Node; - result?: Node; - location?: number; - }; + xpr?: Node; + expr?: Node; + result?: Node; + location?: number; } export interface CaseTestExpr { - CaseTestExpr: { - xpr?: Node; - typeId?: number; - typeMod?: number; - collation?: number; - }; + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; } export interface ArrayExpr { - ArrayExpr: { - xpr?: Node; - array_typeid?: number; - array_collid?: number; - element_typeid?: number; - elements?: Node[]; - multidims?: boolean; - location?: number; - }; + xpr?: Node; + array_typeid?: number; + array_collid?: number; + element_typeid?: number; + elements?: Node[]; + multidims?: boolean; + location?: number; } export interface RowExpr { - RowExpr: { - xpr?: Node; - args?: Node[]; - row_typeid?: number; - row_format?: CoercionForm; - colnames?: Node[]; - location?: number; - }; + xpr?: Node; + args?: Node[]; + row_typeid?: number; + row_format?: CoercionForm; + colnames?: Node[]; + location?: number; } export interface RowCompareExpr { - RowCompareExpr: { - xpr?: Node; - rctype?: RowCompareType; - opnos?: Node[]; - opfamilies?: Node[]; - inputcollids?: Node[]; - largs?: Node[]; - rargs?: Node[]; - }; + xpr?: Node; + rctype?: RowCompareType; + opnos?: Node[]; + opfamilies?: Node[]; + inputcollids?: Node[]; + largs?: Node[]; + rargs?: Node[]; } export interface CoalesceExpr { - CoalesceExpr: { - xpr?: Node; - coalescetype?: number; - coalescecollid?: number; - args?: Node[]; - location?: number; - }; + xpr?: Node; + coalescetype?: number; + coalescecollid?: number; + args?: Node[]; + location?: number; } export interface MinMaxExpr { - MinMaxExpr: { - xpr?: Node; - minmaxtype?: number; - minmaxcollid?: number; - inputcollid?: number; - op?: MinMaxOp; - args?: Node[]; - location?: number; - }; + xpr?: Node; + minmaxtype?: number; + minmaxcollid?: number; + inputcollid?: number; + op?: MinMaxOp; + args?: Node[]; + location?: number; } export interface SQLValueFunction { - SQLValueFunction: { - xpr?: Node; - op?: SQLValueFunctionOp; - type?: number; - typmod?: number; - location?: number; - }; + xpr?: Node; + op?: SQLValueFunctionOp; + type?: number; + typmod?: number; + location?: number; } export interface XmlExpr { - XmlExpr: { - xpr?: Node; - op?: XmlExprOp; - name?: string; - named_args?: Node[]; - arg_names?: Node[]; - args?: Node[]; - xmloption?: XmlOptionType; - indent?: boolean; - type?: number; - typmod?: number; - location?: number; - }; + xpr?: Node; + op?: XmlExprOp; + name?: string; + named_args?: Node[]; + arg_names?: Node[]; + args?: Node[]; + xmloption?: XmlOptionType; + indent?: boolean; + type?: number; + typmod?: number; + location?: number; } export interface JsonFormat { - JsonFormat: { - format_type?: JsonFormatType; - encoding?: JsonEncoding; - location?: number; - }; + format_type?: JsonFormatType; + encoding?: JsonEncoding; + location?: number; } export interface JsonReturning { - JsonReturning: { - format?: JsonFormat; - typid?: number; - typmod?: number; - }; + format?: JsonFormat; + typid?: number; + typmod?: number; } export interface JsonValueExpr { - JsonValueExpr: { - raw_expr?: Node; - formatted_expr?: Node; - format?: JsonFormat; - }; + raw_expr?: Node; + formatted_expr?: Node; + format?: JsonFormat; } export interface JsonConstructorExpr { - JsonConstructorExpr: { - xpr?: Node; - type?: JsonConstructorType; - args?: Node[]; - func?: Node; - coercion?: Node; - returning?: JsonReturning; - absent_on_null?: boolean; - unique?: boolean; - location?: number; - }; + xpr?: Node; + type?: JsonConstructorType; + args?: Node[]; + func?: Node; + coercion?: Node; + returning?: JsonReturning; + absent_on_null?: boolean; + unique?: boolean; + location?: number; } export interface JsonIsPredicate { - JsonIsPredicate: { - expr?: Node; - format?: JsonFormat; - item_type?: JsonValueType; - unique_keys?: boolean; - location?: number; - }; + expr?: Node; + format?: JsonFormat; + item_type?: JsonValueType; + unique_keys?: boolean; + location?: number; } export interface NullTest { - NullTest: { - xpr?: Node; - arg?: Node; - nulltesttype?: NullTestType; - argisrow?: boolean; - location?: number; - }; + xpr?: Node; + arg?: Node; + nulltesttype?: NullTestType; + argisrow?: boolean; + location?: number; } export interface BooleanTest { - BooleanTest: { - xpr?: Node; - arg?: Node; - booltesttype?: BoolTestType; - location?: number; - }; + xpr?: Node; + arg?: Node; + booltesttype?: BoolTestType; + location?: number; } export interface CoerceToDomain { - CoerceToDomain: { - xpr?: Node; - arg?: Node; - resulttype?: number; - resulttypmod?: number; - resultcollid?: number; - coercionformat?: CoercionForm; - location?: number; - }; + xpr?: Node; + arg?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + coercionformat?: CoercionForm; + location?: number; } export interface CoerceToDomainValue { - CoerceToDomainValue: { - xpr?: Node; - typeId?: number; - typeMod?: number; - collation?: number; - location?: number; - }; + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; + location?: number; } export interface SetToDefault { - SetToDefault: { - xpr?: Node; - typeId?: number; - typeMod?: number; - collation?: number; - location?: number; - }; + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; + location?: number; } export interface CurrentOfExpr { - CurrentOfExpr: { - xpr?: Node; - cvarno?: number; - cursor_name?: string; - cursor_param?: number; - }; + xpr?: Node; + cvarno?: number; + cursor_name?: string; + cursor_param?: number; } export interface NextValueExpr { - NextValueExpr: { - xpr?: Node; - seqid?: number; - typeId?: number; - }; + xpr?: Node; + seqid?: number; + typeId?: number; } export interface InferenceElem { - InferenceElem: { - xpr?: Node; - expr?: Node; - infercollid?: number; - inferopclass?: number; - }; + xpr?: Node; + expr?: Node; + infercollid?: number; + inferopclass?: number; } export interface TargetEntry { - TargetEntry: { - xpr?: Node; - expr?: Node; - resno?: number; - resname?: string; - ressortgroupref?: number; - resorigtbl?: number; - resorigcol?: number; - resjunk?: boolean; - }; + xpr?: Node; + expr?: Node; + resno?: number; + resname?: string; + ressortgroupref?: number; + resorigtbl?: number; + resorigcol?: number; + resjunk?: boolean; } export interface RangeTblRef { - RangeTblRef: { - rtindex?: number; - }; + rtindex?: number; } export interface JoinExpr { - JoinExpr: { - jointype?: JoinType; - isNatural?: boolean; - larg?: Node; - rarg?: Node; - usingClause?: Node[]; - join_using_alias?: Alias; - quals?: Node; - alias?: Alias; - rtindex?: number; - }; + jointype?: JoinType; + isNatural?: boolean; + larg?: Node; + rarg?: Node; + usingClause?: Node[]; + join_using_alias?: Alias; + quals?: Node; + alias?: Alias; + rtindex?: number; } export interface FromExpr { - FromExpr: { - fromlist?: Node[]; - quals?: Node; - }; + fromlist?: Node[]; + quals?: Node; } export interface OnConflictExpr { - OnConflictExpr: { - action?: OnConflictAction; - arbiterElems?: Node[]; - arbiterWhere?: Node; - constraint?: number; - onConflictSet?: Node[]; - onConflictWhere?: Node; - exclRelIndex?: number; - exclRelTlist?: Node[]; - }; + action?: OnConflictAction; + arbiterElems?: Node[]; + arbiterWhere?: Node; + constraint?: number; + onConflictSet?: Node[]; + onConflictWhere?: Node; + exclRelIndex?: number; + exclRelTlist?: Node[]; } export interface Query { - Query: { - commandType?: CmdType; - querySource?: QuerySource; - canSetTag?: boolean; - utilityStmt?: Node; - resultRelation?: number; - hasAggs?: boolean; - hasWindowFuncs?: boolean; - hasTargetSRFs?: boolean; - hasSubLinks?: boolean; - hasDistinctOn?: boolean; - hasRecursive?: boolean; - hasModifyingCTE?: boolean; - hasForUpdate?: boolean; - hasRowSecurity?: boolean; - isReturn?: boolean; - cteList?: Node[]; - rtable?: Node[]; - rteperminfos?: Node[]; - jointree?: FromExpr; - mergeActionList?: Node[]; - mergeUseOuterJoin?: boolean; - targetList?: Node[]; - override?: OverridingKind; - onConflict?: OnConflictExpr; - returningList?: Node[]; - groupClause?: Node[]; - groupDistinct?: boolean; - groupingSets?: Node[]; - havingQual?: Node; - windowClause?: Node[]; - distinctClause?: Node[]; - sortClause?: Node[]; - limitOffset?: Node; - limitCount?: Node; - limitOption?: LimitOption; - rowMarks?: Node[]; - setOperations?: Node; - constraintDeps?: Node[]; - withCheckOptions?: Node[]; - stmt_location?: number; - stmt_len?: number; - }; + commandType?: CmdType; + querySource?: QuerySource; + canSetTag?: boolean; + utilityStmt?: Node; + resultRelation?: number; + hasAggs?: boolean; + hasWindowFuncs?: boolean; + hasTargetSRFs?: boolean; + hasSubLinks?: boolean; + hasDistinctOn?: boolean; + hasRecursive?: boolean; + hasModifyingCTE?: boolean; + hasForUpdate?: boolean; + hasRowSecurity?: boolean; + isReturn?: boolean; + cteList?: Node[]; + rtable?: Node[]; + rteperminfos?: Node[]; + jointree?: FromExpr; + mergeActionList?: Node[]; + mergeUseOuterJoin?: boolean; + targetList?: Node[]; + override?: OverridingKind; + onConflict?: OnConflictExpr; + returningList?: Node[]; + groupClause?: Node[]; + groupDistinct?: boolean; + groupingSets?: Node[]; + havingQual?: Node; + windowClause?: Node[]; + distinctClause?: Node[]; + sortClause?: Node[]; + limitOffset?: Node; + limitCount?: Node; + limitOption?: LimitOption; + rowMarks?: Node[]; + setOperations?: Node; + constraintDeps?: Node[]; + withCheckOptions?: Node[]; + stmt_location?: number; + stmt_len?: number; } export interface TypeName { names?: Node[]; @@ -6174,1617 +6044,1245 @@ export interface TypeName { location?: number; } export interface ColumnRef { - ColumnRef: { - fields?: Node[]; - location?: number; - }; + fields?: Node[]; + location?: number; } export interface ParamRef { - ParamRef: { - number?: number; - location?: number; - }; + number?: number; + location?: number; } export interface A_Expr { - A_Expr: { - kind?: A_Expr_Kind; - name?: Node[]; - lexpr?: Node; - rexpr?: Node; - location?: number; - }; + kind?: A_Expr_Kind; + name?: Node[]; + lexpr?: Node; + rexpr?: Node; + location?: number; } export interface TypeCast { - TypeCast: { - arg?: Node; - typeName?: TypeName; - location?: number; - }; + arg?: Node; + typeName?: TypeName; + location?: number; } export interface CollateClause { - CollateClause: { - arg?: Node; - collname?: Node[]; - location?: number; - }; + arg?: Node; + collname?: Node[]; + location?: number; } export interface RoleSpec { - RoleSpec: { - roletype?: RoleSpecType; - rolename?: string; - location?: number; - }; + roletype?: RoleSpecType; + rolename?: string; + location?: number; } export interface FuncCall { - FuncCall: { - funcname?: Node[]; - args?: Node[]; - agg_order?: Node[]; - agg_filter?: Node; - over?: WindowDef; - agg_within_group?: boolean; - agg_star?: boolean; - agg_distinct?: boolean; - func_variadic?: boolean; - funcformat?: CoercionForm; - location?: number; - }; -} -export interface A_Star { - A_Star: {}; + funcname?: Node[]; + args?: Node[]; + agg_order?: Node[]; + agg_filter?: Node; + over?: WindowDef; + agg_within_group?: boolean; + agg_star?: boolean; + agg_distinct?: boolean; + func_variadic?: boolean; + funcformat?: CoercionForm; + location?: number; } +export interface A_Star {} export interface A_Indices { - A_Indices: { - is_slice?: boolean; - lidx?: Node; - uidx?: Node; - }; + is_slice?: boolean; + lidx?: Node; + uidx?: Node; } export interface A_Indirection { - A_Indirection: { - arg?: Node; - indirection?: Node[]; - }; + arg?: Node; + indirection?: Node[]; } export interface A_ArrayExpr { - A_ArrayExpr: { - elements?: Node[]; - location?: number; - }; + elements?: Node[]; + location?: number; } export interface ResTarget { - ResTarget: { - name?: string; - indirection?: Node[]; - val?: Node; - location?: number; - }; + name?: string; + indirection?: Node[]; + val?: Node; + location?: number; } export interface MultiAssignRef { - MultiAssignRef: { - source?: Node; - colno?: number; - ncolumns?: number; - }; + source?: Node; + colno?: number; + ncolumns?: number; } export interface SortBy { - SortBy: { - node?: Node; - sortby_dir?: SortByDir; - sortby_nulls?: SortByNulls; - useOp?: Node[]; - location?: number; - }; + node?: Node; + sortby_dir?: SortByDir; + sortby_nulls?: SortByNulls; + useOp?: Node[]; + location?: number; } export interface WindowDef { - WindowDef: { - name?: string; - refname?: string; - partitionClause?: Node[]; - orderClause?: Node[]; - frameOptions?: number; - startOffset?: Node; - endOffset?: Node; - location?: number; - }; + name?: string; + refname?: string; + partitionClause?: Node[]; + orderClause?: Node[]; + frameOptions?: number; + startOffset?: Node; + endOffset?: Node; + location?: number; } export interface RangeSubselect { - RangeSubselect: { - lateral?: boolean; - subquery?: Node; - alias?: Alias; - }; + lateral?: boolean; + subquery?: Node; + alias?: Alias; } export interface RangeFunction { - RangeFunction: { - lateral?: boolean; - ordinality?: boolean; - is_rowsfrom?: boolean; - functions?: Node[]; - alias?: Alias; - coldeflist?: Node[]; - }; + lateral?: boolean; + ordinality?: boolean; + is_rowsfrom?: boolean; + functions?: Node[]; + alias?: Alias; + coldeflist?: Node[]; } export interface RangeTableFunc { - RangeTableFunc: { - lateral?: boolean; - docexpr?: Node; - rowexpr?: Node; - namespaces?: Node[]; - columns?: Node[]; - alias?: Alias; - location?: number; - }; + lateral?: boolean; + docexpr?: Node; + rowexpr?: Node; + namespaces?: Node[]; + columns?: Node[]; + alias?: Alias; + location?: number; } export interface RangeTableFuncCol { - RangeTableFuncCol: { - colname?: string; - typeName?: TypeName; - for_ordinality?: boolean; - is_not_null?: boolean; - colexpr?: Node; - coldefexpr?: Node; - location?: number; - }; + colname?: string; + typeName?: TypeName; + for_ordinality?: boolean; + is_not_null?: boolean; + colexpr?: Node; + coldefexpr?: Node; + location?: number; } export interface RangeTableSample { - RangeTableSample: { - relation?: Node; - method?: Node[]; - args?: Node[]; - repeatable?: Node; - location?: number; - }; + relation?: Node; + method?: Node[]; + args?: Node[]; + repeatable?: Node; + location?: number; } export interface ColumnDef { - ColumnDef: { - colname?: string; - typeName?: TypeName; - compression?: string; - inhcount?: number; - is_local?: boolean; - is_not_null?: boolean; - is_from_type?: boolean; - storage?: string; - storage_name?: string; - raw_default?: Node; - cooked_default?: Node; - identity?: string; - identitySequence?: RangeVar; - generated?: string; - collClause?: CollateClause; - collOid?: number; - constraints?: Node[]; - fdwoptions?: Node[]; - location?: number; - }; + colname?: string; + typeName?: TypeName; + compression?: string; + inhcount?: number; + is_local?: boolean; + is_not_null?: boolean; + is_from_type?: boolean; + storage?: string; + storage_name?: string; + raw_default?: Node; + cooked_default?: Node; + identity?: string; + identitySequence?: RangeVar; + generated?: string; + collClause?: CollateClause; + collOid?: number; + constraints?: Node[]; + fdwoptions?: Node[]; + location?: number; } export interface TableLikeClause { - TableLikeClause: { - relation?: RangeVar; - options?: number; - relationOid?: number; - }; + relation?: RangeVar; + options?: number; + relationOid?: number; } export interface IndexElem { - IndexElem: { - name?: string; - expr?: Node; - indexcolname?: string; - collation?: Node[]; - opclass?: Node[]; - opclassopts?: Node[]; - ordering?: SortByDir; - nulls_ordering?: SortByNulls; - }; + name?: string; + expr?: Node; + indexcolname?: string; + collation?: Node[]; + opclass?: Node[]; + opclassopts?: Node[]; + ordering?: SortByDir; + nulls_ordering?: SortByNulls; } export interface DefElem { - DefElem: { - defnamespace?: string; - defname?: string; - arg?: Node; - defaction?: DefElemAction; - location?: number; - }; + defnamespace?: string; + defname?: string; + arg?: Node; + defaction?: DefElemAction; + location?: number; } export interface LockingClause { - LockingClause: { - lockedRels?: Node[]; - strength?: LockClauseStrength; - waitPolicy?: LockWaitPolicy; - }; + lockedRels?: Node[]; + strength?: LockClauseStrength; + waitPolicy?: LockWaitPolicy; } export interface XmlSerialize { - XmlSerialize: { - xmloption?: XmlOptionType; - expr?: Node; - typeName?: TypeName; - indent?: boolean; - location?: number; - }; + xmloption?: XmlOptionType; + expr?: Node; + typeName?: TypeName; + indent?: boolean; + location?: number; } export interface PartitionElem { - PartitionElem: { - name?: string; - expr?: Node; - collation?: Node[]; - opclass?: Node[]; - location?: number; - }; + name?: string; + expr?: Node; + collation?: Node[]; + opclass?: Node[]; + location?: number; } export interface PartitionSpec { - PartitionSpec: { - strategy?: PartitionStrategy; - partParams?: Node[]; - location?: number; - }; + strategy?: PartitionStrategy; + partParams?: Node[]; + location?: number; } export interface PartitionBoundSpec { - PartitionBoundSpec: { - strategy?: string; - is_default?: boolean; - modulus?: number; - remainder?: number; - listdatums?: Node[]; - lowerdatums?: Node[]; - upperdatums?: Node[]; - location?: number; - }; + strategy?: string; + is_default?: boolean; + modulus?: number; + remainder?: number; + listdatums?: Node[]; + lowerdatums?: Node[]; + upperdatums?: Node[]; + location?: number; } export interface PartitionRangeDatum { - PartitionRangeDatum: { - kind?: PartitionRangeDatumKind; - value?: Node; - location?: number; - }; + kind?: PartitionRangeDatumKind; + value?: Node; + location?: number; } export interface PartitionCmd { - PartitionCmd: { - name?: RangeVar; - bound?: PartitionBoundSpec; - concurrent?: boolean; - }; + name?: RangeVar; + bound?: PartitionBoundSpec; + concurrent?: boolean; } export interface RangeTblEntry { - RangeTblEntry: { - rtekind?: RTEKind; - relid?: number; - relkind?: string; - rellockmode?: number; - tablesample?: TableSampleClause; - perminfoindex?: number; - subquery?: Query; - security_barrier?: boolean; - jointype?: JoinType; - joinmergedcols?: number; - joinaliasvars?: Node[]; - joinleftcols?: Node[]; - joinrightcols?: Node[]; - join_using_alias?: Alias; - functions?: Node[]; - funcordinality?: boolean; - tablefunc?: TableFunc; - values_lists?: Node[]; - ctename?: string; - ctelevelsup?: number; - self_reference?: boolean; - coltypes?: Node[]; - coltypmods?: Node[]; - colcollations?: Node[]; - enrname?: string; - enrtuples?: number; - alias?: Alias; - eref?: Alias; - lateral?: boolean; - inh?: boolean; - inFromCl?: boolean; - securityQuals?: Node[]; - }; + rtekind?: RTEKind; + relid?: number; + relkind?: string; + rellockmode?: number; + tablesample?: TableSampleClause; + perminfoindex?: number; + subquery?: Query; + security_barrier?: boolean; + jointype?: JoinType; + joinmergedcols?: number; + joinaliasvars?: Node[]; + joinleftcols?: Node[]; + joinrightcols?: Node[]; + join_using_alias?: Alias; + functions?: Node[]; + funcordinality?: boolean; + tablefunc?: TableFunc; + values_lists?: Node[]; + ctename?: string; + ctelevelsup?: number; + self_reference?: boolean; + coltypes?: Node[]; + coltypmods?: Node[]; + colcollations?: Node[]; + enrname?: string; + enrtuples?: number; + alias?: Alias; + eref?: Alias; + lateral?: boolean; + inh?: boolean; + inFromCl?: boolean; + securityQuals?: Node[]; } export interface RTEPermissionInfo { - RTEPermissionInfo: { - relid?: number; - inh?: boolean; - requiredPerms?: bigint; - checkAsUser?: number; - selectedCols?: bigint[]; - insertedCols?: bigint[]; - updatedCols?: bigint[]; - }; + relid?: number; + inh?: boolean; + requiredPerms?: bigint; + checkAsUser?: number; + selectedCols?: bigint[]; + insertedCols?: bigint[]; + updatedCols?: bigint[]; } export interface RangeTblFunction { - RangeTblFunction: { - funcexpr?: Node; - funccolcount?: number; - funccolnames?: Node[]; - funccoltypes?: Node[]; - funccoltypmods?: Node[]; - funccolcollations?: Node[]; - funcparams?: bigint[]; - }; + funcexpr?: Node; + funccolcount?: number; + funccolnames?: Node[]; + funccoltypes?: Node[]; + funccoltypmods?: Node[]; + funccolcollations?: Node[]; + funcparams?: bigint[]; } export interface TableSampleClause { - TableSampleClause: { - tsmhandler?: number; - args?: Node[]; - repeatable?: Node; - }; + tsmhandler?: number; + args?: Node[]; + repeatable?: Node; } export interface WithCheckOption { - WithCheckOption: { - kind?: WCOKind; - relname?: string; - polname?: string; - qual?: Node; - cascaded?: boolean; - }; + kind?: WCOKind; + relname?: string; + polname?: string; + qual?: Node; + cascaded?: boolean; } export interface SortGroupClause { - SortGroupClause: { - tleSortGroupRef?: number; - eqop?: number; - sortop?: number; - nulls_first?: boolean; - hashable?: boolean; - }; + tleSortGroupRef?: number; + eqop?: number; + sortop?: number; + nulls_first?: boolean; + hashable?: boolean; } export interface GroupingSet { - GroupingSet: { - kind?: GroupingSetKind; - content?: Node[]; - location?: number; - }; + kind?: GroupingSetKind; + content?: Node[]; + location?: number; } export interface WindowClause { - WindowClause: { - name?: string; - refname?: string; - partitionClause?: Node[]; - orderClause?: Node[]; - frameOptions?: number; - startOffset?: Node; - endOffset?: Node; - runCondition?: Node[]; - startInRangeFunc?: number; - endInRangeFunc?: number; - inRangeColl?: number; - inRangeAsc?: boolean; - inRangeNullsFirst?: boolean; - winref?: number; - copiedOrder?: boolean; - }; + name?: string; + refname?: string; + partitionClause?: Node[]; + orderClause?: Node[]; + frameOptions?: number; + startOffset?: Node; + endOffset?: Node; + runCondition?: Node[]; + startInRangeFunc?: number; + endInRangeFunc?: number; + inRangeColl?: number; + inRangeAsc?: boolean; + inRangeNullsFirst?: boolean; + winref?: number; + copiedOrder?: boolean; } export interface RowMarkClause { - RowMarkClause: { - rti?: number; - strength?: LockClauseStrength; - waitPolicy?: LockWaitPolicy; - pushedDown?: boolean; - }; + rti?: number; + strength?: LockClauseStrength; + waitPolicy?: LockWaitPolicy; + pushedDown?: boolean; } export interface WithClause { - WithClause: { - ctes?: Node[]; - recursive?: boolean; - location?: number; - }; + ctes?: Node[]; + recursive?: boolean; + location?: number; } export interface InferClause { - InferClause: { - indexElems?: Node[]; - whereClause?: Node; - conname?: string; - location?: number; - }; + indexElems?: Node[]; + whereClause?: Node; + conname?: string; + location?: number; } export interface OnConflictClause { - OnConflictClause: { - action?: OnConflictAction; - infer?: InferClause; - targetList?: Node[]; - whereClause?: Node; - location?: number; - }; + action?: OnConflictAction; + infer?: InferClause; + targetList?: Node[]; + whereClause?: Node; + location?: number; } export interface CTESearchClause { - CTESearchClause: { - search_col_list?: Node[]; - search_breadth_first?: boolean; - search_seq_column?: string; - location?: number; - }; + search_col_list?: Node[]; + search_breadth_first?: boolean; + search_seq_column?: string; + location?: number; } export interface CTECycleClause { - CTECycleClause: { - cycle_col_list?: Node[]; - cycle_mark_column?: string; - cycle_mark_value?: Node; - cycle_mark_default?: Node; - cycle_path_column?: string; - location?: number; - cycle_mark_type?: number; - cycle_mark_typmod?: number; - cycle_mark_collation?: number; - cycle_mark_neop?: number; - }; + cycle_col_list?: Node[]; + cycle_mark_column?: string; + cycle_mark_value?: Node; + cycle_mark_default?: Node; + cycle_path_column?: string; + location?: number; + cycle_mark_type?: number; + cycle_mark_typmod?: number; + cycle_mark_collation?: number; + cycle_mark_neop?: number; } export interface CommonTableExpr { - CommonTableExpr: { - ctename?: string; - aliascolnames?: Node[]; - ctematerialized?: CTEMaterialize; - ctequery?: Node; - search_clause?: CTESearchClause; - cycle_clause?: CTECycleClause; - location?: number; - cterecursive?: boolean; - cterefcount?: number; - ctecolnames?: Node[]; - ctecoltypes?: Node[]; - ctecoltypmods?: Node[]; - ctecolcollations?: Node[]; - }; + ctename?: string; + aliascolnames?: Node[]; + ctematerialized?: CTEMaterialize; + ctequery?: Node; + search_clause?: CTESearchClause; + cycle_clause?: CTECycleClause; + location?: number; + cterecursive?: boolean; + cterefcount?: number; + ctecolnames?: Node[]; + ctecoltypes?: Node[]; + ctecoltypmods?: Node[]; + ctecolcollations?: Node[]; } export interface MergeWhenClause { - MergeWhenClause: { - matched?: boolean; - commandType?: CmdType; - override?: OverridingKind; - condition?: Node; - targetList?: Node[]; - values?: Node[]; - }; + matched?: boolean; + commandType?: CmdType; + override?: OverridingKind; + condition?: Node; + targetList?: Node[]; + values?: Node[]; } export interface MergeAction { - MergeAction: { - matched?: boolean; - commandType?: CmdType; - override?: OverridingKind; - qual?: Node; - targetList?: Node[]; - updateColnos?: Node[]; - }; + matched?: boolean; + commandType?: CmdType; + override?: OverridingKind; + qual?: Node; + targetList?: Node[]; + updateColnos?: Node[]; } export interface TriggerTransition { - TriggerTransition: { - name?: string; - isNew?: boolean; - isTable?: boolean; - }; + name?: string; + isNew?: boolean; + isTable?: boolean; } export interface JsonOutput { - JsonOutput: { - typeName?: TypeName; - returning?: JsonReturning; - }; + typeName?: TypeName; + returning?: JsonReturning; } export interface JsonKeyValue { - JsonKeyValue: { - key?: Node; - value?: JsonValueExpr; - }; + key?: Node; + value?: JsonValueExpr; } export interface JsonObjectConstructor { - JsonObjectConstructor: { - exprs?: Node[]; - output?: JsonOutput; - absent_on_null?: boolean; - unique?: boolean; - location?: number; - }; + exprs?: Node[]; + output?: JsonOutput; + absent_on_null?: boolean; + unique?: boolean; + location?: number; } export interface JsonArrayConstructor { - JsonArrayConstructor: { - exprs?: Node[]; - output?: JsonOutput; - absent_on_null?: boolean; - location?: number; - }; + exprs?: Node[]; + output?: JsonOutput; + absent_on_null?: boolean; + location?: number; } export interface JsonArrayQueryConstructor { - JsonArrayQueryConstructor: { - query?: Node; - output?: JsonOutput; - format?: JsonFormat; - absent_on_null?: boolean; - location?: number; - }; + query?: Node; + output?: JsonOutput; + format?: JsonFormat; + absent_on_null?: boolean; + location?: number; } export interface JsonAggConstructor { - JsonAggConstructor: { - output?: JsonOutput; - agg_filter?: Node; - agg_order?: Node[]; - over?: WindowDef; - location?: number; - }; + output?: JsonOutput; + agg_filter?: Node; + agg_order?: Node[]; + over?: WindowDef; + location?: number; } export interface JsonObjectAgg { - JsonObjectAgg: { - constructor?: JsonAggConstructor; - arg?: JsonKeyValue; - absent_on_null?: boolean; - unique?: boolean; - }; + constructor?: JsonAggConstructor; + arg?: JsonKeyValue; + absent_on_null?: boolean; + unique?: boolean; } export interface JsonArrayAgg { - JsonArrayAgg: { - constructor?: JsonAggConstructor; - arg?: JsonValueExpr; - absent_on_null?: boolean; - }; + constructor?: JsonAggConstructor; + arg?: JsonValueExpr; + absent_on_null?: boolean; } export interface RawStmt { - RawStmt: { - stmt?: Node; - stmt_location?: number; - stmt_len?: number; - }; + stmt?: Node; + stmt_location?: number; + stmt_len?: number; } export interface InsertStmt { - InsertStmt: { - relation?: RangeVar; - cols?: Node[]; - selectStmt?: Node; - onConflictClause?: OnConflictClause; - returningList?: Node[]; - withClause?: WithClause; - override?: OverridingKind; - }; + relation?: RangeVar; + cols?: Node[]; + selectStmt?: Node; + onConflictClause?: OnConflictClause; + returningList?: Node[]; + withClause?: WithClause; + override?: OverridingKind; } export interface DeleteStmt { - DeleteStmt: { - relation?: RangeVar; - usingClause?: Node[]; - whereClause?: Node; - returningList?: Node[]; - withClause?: WithClause; - }; + relation?: RangeVar; + usingClause?: Node[]; + whereClause?: Node; + returningList?: Node[]; + withClause?: WithClause; } export interface UpdateStmt { - UpdateStmt: { - relation?: RangeVar; - targetList?: Node[]; - whereClause?: Node; - fromClause?: Node[]; - returningList?: Node[]; - withClause?: WithClause; - }; + relation?: RangeVar; + targetList?: Node[]; + whereClause?: Node; + fromClause?: Node[]; + returningList?: Node[]; + withClause?: WithClause; } export interface MergeStmt { - MergeStmt: { - relation?: RangeVar; - sourceRelation?: Node; - joinCondition?: Node; - mergeWhenClauses?: Node[]; - withClause?: WithClause; - }; + relation?: RangeVar; + sourceRelation?: Node; + joinCondition?: Node; + mergeWhenClauses?: Node[]; + withClause?: WithClause; } export interface SelectStmt { - SelectStmt: { - distinctClause?: Node[]; - intoClause?: IntoClause; - targetList?: Node[]; - fromClause?: Node[]; - whereClause?: Node; - groupClause?: Node[]; - groupDistinct?: boolean; - havingClause?: Node; - windowClause?: Node[]; - valuesLists?: Node[]; - sortClause?: Node[]; - limitOffset?: Node; - limitCount?: Node; - limitOption?: LimitOption; - lockingClause?: Node[]; - withClause?: WithClause; - op?: SetOperation; - all?: boolean; - larg?: SelectStmt; - rarg?: SelectStmt; - }; + distinctClause?: Node[]; + intoClause?: IntoClause; + targetList?: Node[]; + fromClause?: Node[]; + whereClause?: Node; + groupClause?: Node[]; + groupDistinct?: boolean; + havingClause?: Node; + windowClause?: Node[]; + valuesLists?: Node[]; + sortClause?: Node[]; + limitOffset?: Node; + limitCount?: Node; + limitOption?: LimitOption; + lockingClause?: Node[]; + withClause?: WithClause; + op?: SetOperation; + all?: boolean; + larg?: SelectStmt; + rarg?: SelectStmt; } export interface SetOperationStmt { - SetOperationStmt: { - op?: SetOperation; - all?: boolean; - larg?: Node; - rarg?: Node; - colTypes?: Node[]; - colTypmods?: Node[]; - colCollations?: Node[]; - groupClauses?: Node[]; - }; + op?: SetOperation; + all?: boolean; + larg?: Node; + rarg?: Node; + colTypes?: Node[]; + colTypmods?: Node[]; + colCollations?: Node[]; + groupClauses?: Node[]; } export interface ReturnStmt { - ReturnStmt: { - returnval?: Node; - }; + returnval?: Node; } export interface PLAssignStmt { - PLAssignStmt: { - name?: string; - indirection?: Node[]; - nnames?: number; - val?: SelectStmt; - location?: number; - }; + name?: string; + indirection?: Node[]; + nnames?: number; + val?: SelectStmt; + location?: number; } export interface CreateSchemaStmt { - CreateSchemaStmt: { - schemaname?: string; - authrole?: RoleSpec; - schemaElts?: Node[]; - if_not_exists?: boolean; - }; + schemaname?: string; + authrole?: RoleSpec; + schemaElts?: Node[]; + if_not_exists?: boolean; } export interface AlterTableStmt { - AlterTableStmt: { - relation?: RangeVar; - cmds?: Node[]; - objtype?: ObjectType; - missing_ok?: boolean; - }; + relation?: RangeVar; + cmds?: Node[]; + objtype?: ObjectType; + missing_ok?: boolean; } export interface ReplicaIdentityStmt { - ReplicaIdentityStmt: { - identity_type?: string; - name?: string; - }; + identity_type?: string; + name?: string; } export interface AlterTableCmd { - AlterTableCmd: { - subtype?: AlterTableType; - name?: string; - num?: number; - newowner?: RoleSpec; - def?: Node; - behavior?: DropBehavior; - missing_ok?: boolean; - recurse?: boolean; - }; + subtype?: AlterTableType; + name?: string; + num?: number; + newowner?: RoleSpec; + def?: Node; + behavior?: DropBehavior; + missing_ok?: boolean; + recurse?: boolean; } export interface AlterCollationStmt { - AlterCollationStmt: { - collname?: Node[]; - }; + collname?: Node[]; } export interface AlterDomainStmt { - AlterDomainStmt: { - subtype?: string; - typeName?: Node[]; - name?: string; - def?: Node; - behavior?: DropBehavior; - missing_ok?: boolean; - }; + subtype?: string; + typeName?: Node[]; + name?: string; + def?: Node; + behavior?: DropBehavior; + missing_ok?: boolean; } export interface GrantStmt { - GrantStmt: { - is_grant?: boolean; - targtype?: GrantTargetType; - objtype?: ObjectType; - objects?: Node[]; - privileges?: Node[]; - grantees?: Node[]; - grant_option?: boolean; - grantor?: RoleSpec; - behavior?: DropBehavior; - }; + is_grant?: boolean; + targtype?: GrantTargetType; + objtype?: ObjectType; + objects?: Node[]; + privileges?: Node[]; + grantees?: Node[]; + grant_option?: boolean; + grantor?: RoleSpec; + behavior?: DropBehavior; } export interface ObjectWithArgs { - ObjectWithArgs: { - objname?: Node[]; - objargs?: Node[]; - objfuncargs?: Node[]; - args_unspecified?: boolean; - }; + objname?: Node[]; + objargs?: Node[]; + objfuncargs?: Node[]; + args_unspecified?: boolean; } export interface AccessPriv { - AccessPriv: { - priv_name?: string; - cols?: Node[]; - }; + priv_name?: string; + cols?: Node[]; } export interface GrantRoleStmt { - GrantRoleStmt: { - granted_roles?: Node[]; - grantee_roles?: Node[]; - is_grant?: boolean; - opt?: Node[]; - grantor?: RoleSpec; - behavior?: DropBehavior; - }; + granted_roles?: Node[]; + grantee_roles?: Node[]; + is_grant?: boolean; + opt?: Node[]; + grantor?: RoleSpec; + behavior?: DropBehavior; } export interface AlterDefaultPrivilegesStmt { - AlterDefaultPrivilegesStmt: { - options?: Node[]; - action?: GrantStmt; - }; + options?: Node[]; + action?: GrantStmt; } export interface CopyStmt { - CopyStmt: { - relation?: RangeVar; - query?: Node; - attlist?: Node[]; - is_from?: boolean; - is_program?: boolean; - filename?: string; - options?: Node[]; - whereClause?: Node; - }; + relation?: RangeVar; + query?: Node; + attlist?: Node[]; + is_from?: boolean; + is_program?: boolean; + filename?: string; + options?: Node[]; + whereClause?: Node; } export interface VariableSetStmt { - VariableSetStmt: { - kind?: VariableSetKind; - name?: string; - args?: Node[]; - is_local?: boolean; - }; + kind?: VariableSetKind; + name?: string; + args?: Node[]; + is_local?: boolean; } export interface VariableShowStmt { - VariableShowStmt: { - name?: string; - }; + name?: string; } export interface CreateStmt { - CreateStmt: { - relation?: RangeVar; - tableElts?: Node[]; - inhRelations?: Node[]; - partbound?: PartitionBoundSpec; - partspec?: PartitionSpec; - ofTypename?: TypeName; - constraints?: Node[]; - options?: Node[]; - oncommit?: OnCommitAction; - tablespacename?: string; - accessMethod?: string; - if_not_exists?: boolean; - }; + relation?: RangeVar; + tableElts?: Node[]; + inhRelations?: Node[]; + partbound?: PartitionBoundSpec; + partspec?: PartitionSpec; + ofTypename?: TypeName; + constraints?: Node[]; + options?: Node[]; + oncommit?: OnCommitAction; + tablespacename?: string; + accessMethod?: string; + if_not_exists?: boolean; } export interface Constraint { - Constraint: { - contype?: ConstrType; - conname?: string; - deferrable?: boolean; - initdeferred?: boolean; - location?: number; - is_no_inherit?: boolean; - raw_expr?: Node; - cooked_expr?: string; - generated_when?: string; - nulls_not_distinct?: boolean; - keys?: Node[]; - including?: Node[]; - exclusions?: Node[]; - options?: Node[]; - indexname?: string; - indexspace?: string; - reset_default_tblspc?: boolean; - access_method?: string; - where_clause?: Node; - pktable?: RangeVar; - fk_attrs?: Node[]; - pk_attrs?: Node[]; - fk_matchtype?: string; - fk_upd_action?: string; - fk_del_action?: string; - fk_del_set_cols?: Node[]; - old_conpfeqop?: Node[]; - old_pktable_oid?: number; - skip_validation?: boolean; - initially_valid?: boolean; - }; + contype?: ConstrType; + conname?: string; + deferrable?: boolean; + initdeferred?: boolean; + location?: number; + is_no_inherit?: boolean; + raw_expr?: Node; + cooked_expr?: string; + generated_when?: string; + nulls_not_distinct?: boolean; + keys?: Node[]; + including?: Node[]; + exclusions?: Node[]; + options?: Node[]; + indexname?: string; + indexspace?: string; + reset_default_tblspc?: boolean; + access_method?: string; + where_clause?: Node; + pktable?: RangeVar; + fk_attrs?: Node[]; + pk_attrs?: Node[]; + fk_matchtype?: string; + fk_upd_action?: string; + fk_del_action?: string; + fk_del_set_cols?: Node[]; + old_conpfeqop?: Node[]; + old_pktable_oid?: number; + skip_validation?: boolean; + initially_valid?: boolean; } export interface CreateTableSpaceStmt { - CreateTableSpaceStmt: { - tablespacename?: string; - owner?: RoleSpec; - location?: string; - options?: Node[]; - }; + tablespacename?: string; + owner?: RoleSpec; + location?: string; + options?: Node[]; } export interface DropTableSpaceStmt { - DropTableSpaceStmt: { - tablespacename?: string; - missing_ok?: boolean; - }; + tablespacename?: string; + missing_ok?: boolean; } export interface AlterTableSpaceOptionsStmt { - AlterTableSpaceOptionsStmt: { - tablespacename?: string; - options?: Node[]; - isReset?: boolean; - }; + tablespacename?: string; + options?: Node[]; + isReset?: boolean; } export interface AlterTableMoveAllStmt { - AlterTableMoveAllStmt: { - orig_tablespacename?: string; - objtype?: ObjectType; - roles?: Node[]; - new_tablespacename?: string; - nowait?: boolean; - }; + orig_tablespacename?: string; + objtype?: ObjectType; + roles?: Node[]; + new_tablespacename?: string; + nowait?: boolean; } export interface CreateExtensionStmt { - CreateExtensionStmt: { - extname?: string; - if_not_exists?: boolean; - options?: Node[]; - }; + extname?: string; + if_not_exists?: boolean; + options?: Node[]; } export interface AlterExtensionStmt { - AlterExtensionStmt: { - extname?: string; - options?: Node[]; - }; + extname?: string; + options?: Node[]; } export interface AlterExtensionContentsStmt { - AlterExtensionContentsStmt: { - extname?: string; - action?: number; - objtype?: ObjectType; - object?: Node; - }; + extname?: string; + action?: number; + objtype?: ObjectType; + object?: Node; } export interface CreateFdwStmt { - CreateFdwStmt: { - fdwname?: string; - func_options?: Node[]; - options?: Node[]; - }; + fdwname?: string; + func_options?: Node[]; + options?: Node[]; } export interface AlterFdwStmt { - AlterFdwStmt: { - fdwname?: string; - func_options?: Node[]; - options?: Node[]; - }; + fdwname?: string; + func_options?: Node[]; + options?: Node[]; } export interface CreateForeignServerStmt { - CreateForeignServerStmt: { - servername?: string; - servertype?: string; - version?: string; - fdwname?: string; - if_not_exists?: boolean; - options?: Node[]; - }; + servername?: string; + servertype?: string; + version?: string; + fdwname?: string; + if_not_exists?: boolean; + options?: Node[]; } export interface AlterForeignServerStmt { - AlterForeignServerStmt: { - servername?: string; - version?: string; - options?: Node[]; - has_version?: boolean; - }; + servername?: string; + version?: string; + options?: Node[]; + has_version?: boolean; } export interface CreateForeignTableStmt { - CreateForeignTableStmt: { - base?: CreateStmt; - servername?: string; - options?: Node[]; - }; + base?: CreateStmt; + servername?: string; + options?: Node[]; } export interface CreateUserMappingStmt { - CreateUserMappingStmt: { - user?: RoleSpec; - servername?: string; - if_not_exists?: boolean; - options?: Node[]; - }; + user?: RoleSpec; + servername?: string; + if_not_exists?: boolean; + options?: Node[]; } export interface AlterUserMappingStmt { - AlterUserMappingStmt: { - user?: RoleSpec; - servername?: string; - options?: Node[]; - }; + user?: RoleSpec; + servername?: string; + options?: Node[]; } export interface DropUserMappingStmt { - DropUserMappingStmt: { - user?: RoleSpec; - servername?: string; - missing_ok?: boolean; - }; + user?: RoleSpec; + servername?: string; + missing_ok?: boolean; } export interface ImportForeignSchemaStmt { - ImportForeignSchemaStmt: { - server_name?: string; - remote_schema?: string; - local_schema?: string; - list_type?: ImportForeignSchemaType; - table_list?: Node[]; - options?: Node[]; - }; + server_name?: string; + remote_schema?: string; + local_schema?: string; + list_type?: ImportForeignSchemaType; + table_list?: Node[]; + options?: Node[]; } export interface CreatePolicyStmt { - CreatePolicyStmt: { - policy_name?: string; - table?: RangeVar; - cmd_name?: string; - permissive?: boolean; - roles?: Node[]; - qual?: Node; - with_check?: Node; - }; + policy_name?: string; + table?: RangeVar; + cmd_name?: string; + permissive?: boolean; + roles?: Node[]; + qual?: Node; + with_check?: Node; } export interface AlterPolicyStmt { - AlterPolicyStmt: { - policy_name?: string; - table?: RangeVar; - roles?: Node[]; - qual?: Node; - with_check?: Node; - }; + policy_name?: string; + table?: RangeVar; + roles?: Node[]; + qual?: Node; + with_check?: Node; } export interface CreateAmStmt { - CreateAmStmt: { - amname?: string; - handler_name?: Node[]; - amtype?: string; - }; + amname?: string; + handler_name?: Node[]; + amtype?: string; } export interface CreateTrigStmt { - CreateTrigStmt: { - replace?: boolean; - isconstraint?: boolean; - trigname?: string; - relation?: RangeVar; - funcname?: Node[]; - args?: Node[]; - row?: boolean; - timing?: number; - events?: number; - columns?: Node[]; - whenClause?: Node; - transitionRels?: Node[]; - deferrable?: boolean; - initdeferred?: boolean; - constrrel?: RangeVar; - }; + replace?: boolean; + isconstraint?: boolean; + trigname?: string; + relation?: RangeVar; + funcname?: Node[]; + args?: Node[]; + row?: boolean; + timing?: number; + events?: number; + columns?: Node[]; + whenClause?: Node; + transitionRels?: Node[]; + deferrable?: boolean; + initdeferred?: boolean; + constrrel?: RangeVar; } export interface CreateEventTrigStmt { - CreateEventTrigStmt: { - trigname?: string; - eventname?: string; - whenclause?: Node[]; - funcname?: Node[]; - }; + trigname?: string; + eventname?: string; + whenclause?: Node[]; + funcname?: Node[]; } export interface AlterEventTrigStmt { - AlterEventTrigStmt: { - trigname?: string; - tgenabled?: string; - }; + trigname?: string; + tgenabled?: string; } export interface CreatePLangStmt { - CreatePLangStmt: { - replace?: boolean; - plname?: string; - plhandler?: Node[]; - plinline?: Node[]; - plvalidator?: Node[]; - pltrusted?: boolean; - }; + replace?: boolean; + plname?: string; + plhandler?: Node[]; + plinline?: Node[]; + plvalidator?: Node[]; + pltrusted?: boolean; } export interface CreateRoleStmt { - CreateRoleStmt: { - stmt_type?: RoleStmtType; - role?: string; - options?: Node[]; - }; + stmt_type?: RoleStmtType; + role?: string; + options?: Node[]; } export interface AlterRoleStmt { - AlterRoleStmt: { - role?: RoleSpec; - options?: Node[]; - action?: number; - }; + role?: RoleSpec; + options?: Node[]; + action?: number; } export interface AlterRoleSetStmt { - AlterRoleSetStmt: { - role?: RoleSpec; - database?: string; - setstmt?: VariableSetStmt; - }; + role?: RoleSpec; + database?: string; + setstmt?: VariableSetStmt; } export interface DropRoleStmt { - DropRoleStmt: { - roles?: Node[]; - missing_ok?: boolean; - }; + roles?: Node[]; + missing_ok?: boolean; } export interface CreateSeqStmt { - CreateSeqStmt: { - sequence?: RangeVar; - options?: Node[]; - ownerId?: number; - for_identity?: boolean; - if_not_exists?: boolean; - }; + sequence?: RangeVar; + options?: Node[]; + ownerId?: number; + for_identity?: boolean; + if_not_exists?: boolean; } export interface AlterSeqStmt { - AlterSeqStmt: { - sequence?: RangeVar; - options?: Node[]; - for_identity?: boolean; - missing_ok?: boolean; - }; + sequence?: RangeVar; + options?: Node[]; + for_identity?: boolean; + missing_ok?: boolean; } export interface DefineStmt { - DefineStmt: { - kind?: ObjectType; - oldstyle?: boolean; - defnames?: Node[]; - args?: Node[]; - definition?: Node[]; - if_not_exists?: boolean; - replace?: boolean; - }; + kind?: ObjectType; + oldstyle?: boolean; + defnames?: Node[]; + args?: Node[]; + definition?: Node[]; + if_not_exists?: boolean; + replace?: boolean; } export interface CreateDomainStmt { - CreateDomainStmt: { - domainname?: Node[]; - typeName?: TypeName; - collClause?: CollateClause; - constraints?: Node[]; - }; + domainname?: Node[]; + typeName?: TypeName; + collClause?: CollateClause; + constraints?: Node[]; } export interface CreateOpClassStmt { - CreateOpClassStmt: { - opclassname?: Node[]; - opfamilyname?: Node[]; - amname?: string; - datatype?: TypeName; - items?: Node[]; - isDefault?: boolean; - }; + opclassname?: Node[]; + opfamilyname?: Node[]; + amname?: string; + datatype?: TypeName; + items?: Node[]; + isDefault?: boolean; } export interface CreateOpClassItem { - CreateOpClassItem: { - itemtype?: number; - name?: ObjectWithArgs; - number?: number; - order_family?: Node[]; - class_args?: Node[]; - storedtype?: TypeName; - }; + itemtype?: number; + name?: ObjectWithArgs; + number?: number; + order_family?: Node[]; + class_args?: Node[]; + storedtype?: TypeName; } export interface CreateOpFamilyStmt { - CreateOpFamilyStmt: { - opfamilyname?: Node[]; - amname?: string; - }; + opfamilyname?: Node[]; + amname?: string; } export interface AlterOpFamilyStmt { - AlterOpFamilyStmt: { - opfamilyname?: Node[]; - amname?: string; - isDrop?: boolean; - items?: Node[]; - }; + opfamilyname?: Node[]; + amname?: string; + isDrop?: boolean; + items?: Node[]; } export interface DropStmt { - DropStmt: { - objects?: Node[]; - removeType?: ObjectType; - behavior?: DropBehavior; - missing_ok?: boolean; - concurrent?: boolean; - }; + objects?: Node[]; + removeType?: ObjectType; + behavior?: DropBehavior; + missing_ok?: boolean; + concurrent?: boolean; } export interface TruncateStmt { - TruncateStmt: { - relations?: Node[]; - restart_seqs?: boolean; - behavior?: DropBehavior; - }; + relations?: Node[]; + restart_seqs?: boolean; + behavior?: DropBehavior; } export interface CommentStmt { - CommentStmt: { - objtype?: ObjectType; - object?: Node; - comment?: string; - }; + objtype?: ObjectType; + object?: Node; + comment?: string; } export interface SecLabelStmt { - SecLabelStmt: { - objtype?: ObjectType; - object?: Node; - provider?: string; - label?: string; - }; + objtype?: ObjectType; + object?: Node; + provider?: string; + label?: string; } export interface DeclareCursorStmt { - DeclareCursorStmt: { - portalname?: string; - options?: number; - query?: Node; - }; + portalname?: string; + options?: number; + query?: Node; } export interface ClosePortalStmt { - ClosePortalStmt: { - portalname?: string; - }; + portalname?: string; } export interface FetchStmt { - FetchStmt: { - direction?: FetchDirection; - howMany?: bigint; - portalname?: string; - ismove?: boolean; - }; + direction?: FetchDirection; + howMany?: bigint; + portalname?: string; + ismove?: boolean; } export interface IndexStmt { - IndexStmt: { - idxname?: string; - relation?: RangeVar; - accessMethod?: string; - tableSpace?: string; - indexParams?: Node[]; - indexIncludingParams?: Node[]; - options?: Node[]; - whereClause?: Node; - excludeOpNames?: Node[]; - idxcomment?: string; - indexOid?: number; - oldNumber?: number; - oldCreateSubid?: number; - oldFirstRelfilelocatorSubid?: number; - unique?: boolean; - nulls_not_distinct?: boolean; - primary?: boolean; - isconstraint?: boolean; - deferrable?: boolean; - initdeferred?: boolean; - transformed?: boolean; - concurrent?: boolean; - if_not_exists?: boolean; - reset_default_tblspc?: boolean; - }; + idxname?: string; + relation?: RangeVar; + accessMethod?: string; + tableSpace?: string; + indexParams?: Node[]; + indexIncludingParams?: Node[]; + options?: Node[]; + whereClause?: Node; + excludeOpNames?: Node[]; + idxcomment?: string; + indexOid?: number; + oldNumber?: number; + oldCreateSubid?: number; + oldFirstRelfilelocatorSubid?: number; + unique?: boolean; + nulls_not_distinct?: boolean; + primary?: boolean; + isconstraint?: boolean; + deferrable?: boolean; + initdeferred?: boolean; + transformed?: boolean; + concurrent?: boolean; + if_not_exists?: boolean; + reset_default_tblspc?: boolean; } export interface CreateStatsStmt { - CreateStatsStmt: { - defnames?: Node[]; - stat_types?: Node[]; - exprs?: Node[]; - relations?: Node[]; - stxcomment?: string; - transformed?: boolean; - if_not_exists?: boolean; - }; + defnames?: Node[]; + stat_types?: Node[]; + exprs?: Node[]; + relations?: Node[]; + stxcomment?: string; + transformed?: boolean; + if_not_exists?: boolean; } export interface StatsElem { - StatsElem: { - name?: string; - expr?: Node; - }; + name?: string; + expr?: Node; } export interface AlterStatsStmt { - AlterStatsStmt: { - defnames?: Node[]; - stxstattarget?: number; - missing_ok?: boolean; - }; + defnames?: Node[]; + stxstattarget?: number; + missing_ok?: boolean; } export interface CreateFunctionStmt { - CreateFunctionStmt: { - is_procedure?: boolean; - replace?: boolean; - funcname?: Node[]; - parameters?: Node[]; - returnType?: TypeName; - options?: Node[]; - sql_body?: Node; - }; + is_procedure?: boolean; + replace?: boolean; + funcname?: Node[]; + parameters?: Node[]; + returnType?: TypeName; + options?: Node[]; + sql_body?: Node; } export interface FunctionParameter { - FunctionParameter: { - name?: string; - argType?: TypeName; - mode?: FunctionParameterMode; - defexpr?: Node; - }; + name?: string; + argType?: TypeName; + mode?: FunctionParameterMode; + defexpr?: Node; } export interface AlterFunctionStmt { - AlterFunctionStmt: { - objtype?: ObjectType; - func?: ObjectWithArgs; - actions?: Node[]; - }; + objtype?: ObjectType; + func?: ObjectWithArgs; + actions?: Node[]; } export interface DoStmt { - DoStmt: { - args?: Node[]; - }; + args?: Node[]; } export interface InlineCodeBlock { - InlineCodeBlock: { - source_text?: string; - langOid?: number; - langIsTrusted?: boolean; - atomic?: boolean; - }; + source_text?: string; + langOid?: number; + langIsTrusted?: boolean; + atomic?: boolean; } export interface CallStmt { - CallStmt: { - funccall?: FuncCall; - funcexpr?: FuncExpr; - outargs?: Node[]; - }; + funccall?: FuncCall; + funcexpr?: FuncExpr; + outargs?: Node[]; } export interface CallContext { - CallContext: { - atomic?: boolean; - }; + atomic?: boolean; } export interface RenameStmt { - RenameStmt: { - renameType?: ObjectType; - relationType?: ObjectType; - relation?: RangeVar; - object?: Node; - subname?: string; - newname?: string; - behavior?: DropBehavior; - missing_ok?: boolean; - }; + renameType?: ObjectType; + relationType?: ObjectType; + relation?: RangeVar; + object?: Node; + subname?: string; + newname?: string; + behavior?: DropBehavior; + missing_ok?: boolean; } export interface AlterObjectDependsStmt { - AlterObjectDependsStmt: { - objectType?: ObjectType; - relation?: RangeVar; - object?: Node; - extname?: String; - remove?: boolean; - }; + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + extname?: String; + remove?: boolean; } export interface AlterObjectSchemaStmt { - AlterObjectSchemaStmt: { - objectType?: ObjectType; - relation?: RangeVar; - object?: Node; - newschema?: string; - missing_ok?: boolean; - }; + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + newschema?: string; + missing_ok?: boolean; } export interface AlterOwnerStmt { - AlterOwnerStmt: { - objectType?: ObjectType; - relation?: RangeVar; - object?: Node; - newowner?: RoleSpec; - }; + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + newowner?: RoleSpec; } export interface AlterOperatorStmt { - AlterOperatorStmt: { - opername?: ObjectWithArgs; - options?: Node[]; - }; + opername?: ObjectWithArgs; + options?: Node[]; } export interface AlterTypeStmt { - AlterTypeStmt: { - typeName?: Node[]; - options?: Node[]; - }; + typeName?: Node[]; + options?: Node[]; } export interface RuleStmt { - RuleStmt: { - relation?: RangeVar; - rulename?: string; - whereClause?: Node; - event?: CmdType; - instead?: boolean; - actions?: Node[]; - replace?: boolean; - }; + relation?: RangeVar; + rulename?: string; + whereClause?: Node; + event?: CmdType; + instead?: boolean; + actions?: Node[]; + replace?: boolean; } export interface NotifyStmt { - NotifyStmt: { - conditionname?: string; - payload?: string; - }; + conditionname?: string; + payload?: string; } export interface ListenStmt { - ListenStmt: { - conditionname?: string; - }; + conditionname?: string; } export interface UnlistenStmt { - UnlistenStmt: { - conditionname?: string; - }; + conditionname?: string; } export interface TransactionStmt { - TransactionStmt: { - kind?: TransactionStmtKind; - options?: Node[]; - savepoint_name?: string; - gid?: string; - chain?: boolean; - }; + kind?: TransactionStmtKind; + options?: Node[]; + savepoint_name?: string; + gid?: string; + chain?: boolean; } export interface CompositeTypeStmt { - CompositeTypeStmt: { - typevar?: RangeVar; - coldeflist?: Node[]; - }; + typevar?: RangeVar; + coldeflist?: Node[]; } export interface CreateEnumStmt { - CreateEnumStmt: { - typeName?: Node[]; - vals?: Node[]; - }; + typeName?: Node[]; + vals?: Node[]; } export interface CreateRangeStmt { - CreateRangeStmt: { - typeName?: Node[]; - params?: Node[]; - }; + typeName?: Node[]; + params?: Node[]; } export interface AlterEnumStmt { - AlterEnumStmt: { - typeName?: Node[]; - oldVal?: string; - newVal?: string; - newValNeighbor?: string; - newValIsAfter?: boolean; - skipIfNewValExists?: boolean; - }; + typeName?: Node[]; + oldVal?: string; + newVal?: string; + newValNeighbor?: string; + newValIsAfter?: boolean; + skipIfNewValExists?: boolean; } export interface ViewStmt { - ViewStmt: { - view?: RangeVar; - aliases?: Node[]; - query?: Node; - replace?: boolean; - options?: Node[]; - withCheckOption?: ViewCheckOption; - }; + view?: RangeVar; + aliases?: Node[]; + query?: Node; + replace?: boolean; + options?: Node[]; + withCheckOption?: ViewCheckOption; } export interface LoadStmt { - LoadStmt: { - filename?: string; - }; + filename?: string; } export interface CreatedbStmt { - CreatedbStmt: { - dbname?: string; - options?: Node[]; - }; + dbname?: string; + options?: Node[]; } export interface AlterDatabaseStmt { - AlterDatabaseStmt: { - dbname?: string; - options?: Node[]; - }; + dbname?: string; + options?: Node[]; } export interface AlterDatabaseRefreshCollStmt { - AlterDatabaseRefreshCollStmt: { - dbname?: string; - }; + dbname?: string; } export interface AlterDatabaseSetStmt { - AlterDatabaseSetStmt: { - dbname?: string; - setstmt?: VariableSetStmt; - }; + dbname?: string; + setstmt?: VariableSetStmt; } export interface DropdbStmt { - DropdbStmt: { - dbname?: string; - missing_ok?: boolean; - options?: Node[]; - }; + dbname?: string; + missing_ok?: boolean; + options?: Node[]; } export interface AlterSystemStmt { - AlterSystemStmt: { - setstmt?: VariableSetStmt; - }; + setstmt?: VariableSetStmt; } export interface ClusterStmt { - ClusterStmt: { - relation?: RangeVar; - indexname?: string; - params?: Node[]; - }; + relation?: RangeVar; + indexname?: string; + params?: Node[]; } export interface VacuumStmt { - VacuumStmt: { - options?: Node[]; - rels?: Node[]; - is_vacuumcmd?: boolean; - }; + options?: Node[]; + rels?: Node[]; + is_vacuumcmd?: boolean; } export interface VacuumRelation { - VacuumRelation: { - relation?: RangeVar; - oid?: number; - va_cols?: Node[]; - }; + relation?: RangeVar; + oid?: number; + va_cols?: Node[]; } export interface ExplainStmt { - ExplainStmt: { - query?: Node; - options?: Node[]; - }; + query?: Node; + options?: Node[]; } export interface CreateTableAsStmt { - CreateTableAsStmt: { - query?: Node; - into?: IntoClause; - objtype?: ObjectType; - is_select_into?: boolean; - if_not_exists?: boolean; - }; + query?: Node; + into?: IntoClause; + objtype?: ObjectType; + is_select_into?: boolean; + if_not_exists?: boolean; } export interface RefreshMatViewStmt { - RefreshMatViewStmt: { - concurrent?: boolean; - skipData?: boolean; - relation?: RangeVar; - }; -} -export interface CheckPointStmt { - CheckPointStmt: {}; + concurrent?: boolean; + skipData?: boolean; + relation?: RangeVar; } +export interface CheckPointStmt {} export interface DiscardStmt { - DiscardStmt: { - target?: DiscardMode; - }; + target?: DiscardMode; } export interface LockStmt { - LockStmt: { - relations?: Node[]; - mode?: number; - nowait?: boolean; - }; + relations?: Node[]; + mode?: number; + nowait?: boolean; } export interface ConstraintsSetStmt { - ConstraintsSetStmt: { - constraints?: Node[]; - deferred?: boolean; - }; + constraints?: Node[]; + deferred?: boolean; } export interface ReindexStmt { - ReindexStmt: { - kind?: ReindexObjectType; - relation?: RangeVar; - name?: string; - params?: Node[]; - }; + kind?: ReindexObjectType; + relation?: RangeVar; + name?: string; + params?: Node[]; } export interface CreateConversionStmt { - CreateConversionStmt: { - conversion_name?: Node[]; - for_encoding_name?: string; - to_encoding_name?: string; - func_name?: Node[]; - def?: boolean; - }; + conversion_name?: Node[]; + for_encoding_name?: string; + to_encoding_name?: string; + func_name?: Node[]; + def?: boolean; } export interface CreateCastStmt { - CreateCastStmt: { - sourcetype?: TypeName; - targettype?: TypeName; - func?: ObjectWithArgs; - context?: CoercionContext; - inout?: boolean; - }; + sourcetype?: TypeName; + targettype?: TypeName; + func?: ObjectWithArgs; + context?: CoercionContext; + inout?: boolean; } export interface CreateTransformStmt { - CreateTransformStmt: { - replace?: boolean; - type_name?: TypeName; - lang?: string; - fromsql?: ObjectWithArgs; - tosql?: ObjectWithArgs; - }; + replace?: boolean; + type_name?: TypeName; + lang?: string; + fromsql?: ObjectWithArgs; + tosql?: ObjectWithArgs; } export interface PrepareStmt { - PrepareStmt: { - name?: string; - argtypes?: Node[]; - query?: Node; - }; + name?: string; + argtypes?: Node[]; + query?: Node; } export interface ExecuteStmt { - ExecuteStmt: { - name?: string; - params?: Node[]; - }; + name?: string; + params?: Node[]; } export interface DeallocateStmt { - DeallocateStmt: { - name?: string; - }; + name?: string; } export interface DropOwnedStmt { - DropOwnedStmt: { - roles?: Node[]; - behavior?: DropBehavior; - }; + roles?: Node[]; + behavior?: DropBehavior; } export interface ReassignOwnedStmt { - ReassignOwnedStmt: { - roles?: Node[]; - newrole?: RoleSpec; - }; + roles?: Node[]; + newrole?: RoleSpec; } export interface AlterTSDictionaryStmt { - AlterTSDictionaryStmt: { - dictname?: Node[]; - options?: Node[]; - }; + dictname?: Node[]; + options?: Node[]; } export interface AlterTSConfigurationStmt { - AlterTSConfigurationStmt: { - kind?: AlterTSConfigType; - cfgname?: Node[]; - tokentype?: Node[]; - dicts?: Node[]; - override?: boolean; - replace?: boolean; - missing_ok?: boolean; - }; + kind?: AlterTSConfigType; + cfgname?: Node[]; + tokentype?: Node[]; + dicts?: Node[]; + override?: boolean; + replace?: boolean; + missing_ok?: boolean; } export interface PublicationTable { - PublicationTable: { - relation?: RangeVar; - whereClause?: Node; - columns?: Node[]; - }; + relation?: RangeVar; + whereClause?: Node; + columns?: Node[]; } export interface PublicationObjSpec { - PublicationObjSpec: { - pubobjtype?: PublicationObjSpecType; - name?: string; - pubtable?: PublicationTable; - location?: number; - }; + pubobjtype?: PublicationObjSpecType; + name?: string; + pubtable?: PublicationTable; + location?: number; } export interface CreatePublicationStmt { - CreatePublicationStmt: { - pubname?: string; - options?: Node[]; - pubobjects?: Node[]; - for_all_tables?: boolean; - }; + pubname?: string; + options?: Node[]; + pubobjects?: Node[]; + for_all_tables?: boolean; } export interface AlterPublicationStmt { - AlterPublicationStmt: { - pubname?: string; - options?: Node[]; - pubobjects?: Node[]; - for_all_tables?: boolean; - action?: AlterPublicationAction; - }; + pubname?: string; + options?: Node[]; + pubobjects?: Node[]; + for_all_tables?: boolean; + action?: AlterPublicationAction; } export interface CreateSubscriptionStmt { - CreateSubscriptionStmt: { - subname?: string; - conninfo?: string; - publication?: Node[]; - options?: Node[]; - }; + subname?: string; + conninfo?: string; + publication?: Node[]; + options?: Node[]; } export interface AlterSubscriptionStmt { - AlterSubscriptionStmt: { - kind?: AlterSubscriptionType; - subname?: string; - conninfo?: string; - publication?: Node[]; - options?: Node[]; - }; + kind?: AlterSubscriptionType; + subname?: string; + conninfo?: string; + publication?: Node[]; + options?: Node[]; } export interface DropSubscriptionStmt { - DropSubscriptionStmt: { - subname?: string; - missing_ok?: boolean; - behavior?: DropBehavior; - }; + subname?: string; + missing_ok?: boolean; + behavior?: DropBehavior; } export interface ScanToken { ScanToken: { diff --git a/packages/parser/__tests__/__snapshots__/utils.test.ts.snap b/packages/parser/__tests__/__snapshots__/utils.test.ts.snap index 3c7925a..c8932e8 100644 --- a/packages/parser/__tests__/__snapshots__/utils.test.ts.snap +++ b/packages/parser/__tests__/__snapshots__/utils.test.ts.snap @@ -11,2833 +11,2325 @@ exports[`utils astHelpers enabled 1`] = ` import _o from "nested-obj"; import { ParseResult, ScanResult, Integer, Float, Boolean, String, BitString, List, OidList, IntList, A_Const, Alias, RangeVar, TableFunc, IntoClause, Var, Param, Aggref, GroupingFunc, WindowFunc, SubscriptingRef, FuncExpr, NamedArgExpr, OpExpr, DistinctExpr, NullIfExpr, ScalarArrayOpExpr, BoolExpr, SubLink, SubPlan, AlternativeSubPlan, FieldSelect, FieldStore, RelabelType, CoerceViaIO, ArrayCoerceExpr, ConvertRowtypeExpr, CollateExpr, CaseExpr, CaseWhen, CaseTestExpr, ArrayExpr, RowExpr, RowCompareExpr, CoalesceExpr, MinMaxExpr, SQLValueFunction, XmlExpr, JsonFormat, JsonReturning, JsonValueExpr, JsonConstructorExpr, JsonIsPredicate, NullTest, BooleanTest, CoerceToDomain, CoerceToDomainValue, SetToDefault, CurrentOfExpr, NextValueExpr, InferenceElem, TargetEntry, RangeTblRef, JoinExpr, FromExpr, OnConflictExpr, Query, TypeName, ColumnRef, ParamRef, A_Expr, TypeCast, CollateClause, RoleSpec, FuncCall, A_Star, A_Indices, A_Indirection, A_ArrayExpr, ResTarget, MultiAssignRef, SortBy, WindowDef, RangeSubselect, RangeFunction, RangeTableFunc, RangeTableFuncCol, RangeTableSample, ColumnDef, TableLikeClause, IndexElem, DefElem, LockingClause, XmlSerialize, PartitionElem, PartitionSpec, PartitionBoundSpec, PartitionRangeDatum, PartitionCmd, RangeTblEntry, RTEPermissionInfo, RangeTblFunction, TableSampleClause, WithCheckOption, SortGroupClause, GroupingSet, WindowClause, RowMarkClause, WithClause, InferClause, OnConflictClause, CTESearchClause, CTECycleClause, CommonTableExpr, MergeWhenClause, MergeAction, TriggerTransition, JsonOutput, JsonKeyValue, JsonObjectConstructor, JsonArrayConstructor, JsonArrayQueryConstructor, JsonAggConstructor, JsonObjectAgg, JsonArrayAgg, RawStmt, InsertStmt, DeleteStmt, UpdateStmt, MergeStmt, SelectStmt, SetOperationStmt, ReturnStmt, PLAssignStmt, CreateSchemaStmt, AlterTableStmt, ReplicaIdentityStmt, AlterTableCmd, AlterCollationStmt, AlterDomainStmt, GrantStmt, ObjectWithArgs, AccessPriv, GrantRoleStmt, AlterDefaultPrivilegesStmt, CopyStmt, VariableSetStmt, VariableShowStmt, CreateStmt, Constraint, CreateTableSpaceStmt, DropTableSpaceStmt, AlterTableSpaceOptionsStmt, AlterTableMoveAllStmt, CreateExtensionStmt, AlterExtensionStmt, AlterExtensionContentsStmt, CreateFdwStmt, AlterFdwStmt, CreateForeignServerStmt, AlterForeignServerStmt, CreateForeignTableStmt, CreateUserMappingStmt, AlterUserMappingStmt, DropUserMappingStmt, ImportForeignSchemaStmt, CreatePolicyStmt, AlterPolicyStmt, CreateAmStmt, CreateTrigStmt, CreateEventTrigStmt, AlterEventTrigStmt, CreatePLangStmt, CreateRoleStmt, AlterRoleStmt, AlterRoleSetStmt, DropRoleStmt, CreateSeqStmt, AlterSeqStmt, DefineStmt, CreateDomainStmt, CreateOpClassStmt, CreateOpClassItem, CreateOpFamilyStmt, AlterOpFamilyStmt, DropStmt, TruncateStmt, CommentStmt, SecLabelStmt, DeclareCursorStmt, ClosePortalStmt, FetchStmt, IndexStmt, CreateStatsStmt, StatsElem, AlterStatsStmt, CreateFunctionStmt, FunctionParameter, AlterFunctionStmt, DoStmt, InlineCodeBlock, CallStmt, CallContext, RenameStmt, AlterObjectDependsStmt, AlterObjectSchemaStmt, AlterOwnerStmt, AlterOperatorStmt, AlterTypeStmt, RuleStmt, NotifyStmt, ListenStmt, UnlistenStmt, TransactionStmt, CompositeTypeStmt, CreateEnumStmt, CreateRangeStmt, AlterEnumStmt, ViewStmt, LoadStmt, CreatedbStmt, AlterDatabaseStmt, AlterDatabaseRefreshCollStmt, AlterDatabaseSetStmt, DropdbStmt, AlterSystemStmt, ClusterStmt, VacuumStmt, VacuumRelation, ExplainStmt, CreateTableAsStmt, RefreshMatViewStmt, CheckPointStmt, DiscardStmt, LockStmt, ConstraintsSetStmt, ReindexStmt, CreateConversionStmt, CreateCastStmt, CreateTransformStmt, PrepareStmt, ExecuteStmt, DeallocateStmt, DropOwnedStmt, ReassignOwnedStmt, AlterTSDictionaryStmt, AlterTSConfigurationStmt, PublicationTable, PublicationObjSpec, CreatePublicationStmt, AlterPublicationStmt, CreateSubscriptionStmt, AlterSubscriptionStmt, DropSubscriptionStmt, ScanToken } from "./wrapped"; export default { - parseResult(_p?: ParseResult["ParseResult"]): ParseResult { - const _j = ({ - ParseResult: {} - } as ParseResult); - _o.set(_j, "ParseResult.version", _p?.version); - _o.set(_j, "ParseResult.stmts", _p?.stmts); + parseResult(_p?: ParseResult): ParseResult { + const _j = ({} as ParseResult); + _o.set(_j, "version", _p?.version); + _o.set(_j, "stmts", _p?.stmts); return _j; - }, - scanResult(_p?: ScanResult["ScanResult"]): ScanResult { - const _j = ({ - ScanResult: {} - } as ScanResult); - _o.set(_j, "ScanResult.version", _p?.version); - _o.set(_j, "ScanResult.tokens", _p?.tokens); - return _j; - }, - integer(_p?: Integer["Integer"]): Integer { - const _j = ({ - Integer: {} - } as Integer); - _o.set(_j, "Integer.ival", _p?.ival); - return _j; - }, - float(_p?: Float["Float"]): Float { - const _j = ({ - Float: {} - } as Float); - _o.set(_j, "Float.fval", _p?.fval); - return _j; - }, - boolean(_p?: Boolean["Boolean"]): Boolean { - const _j = ({ - Boolean: {} - } as Boolean); - _o.set(_j, "Boolean.boolval", _p?.boolval); - return _j; - }, - string(_p?: String["String"]): String { - const _j = ({ - String: {} - } as String); - _o.set(_j, "String.sval", _p?.sval); - return _j; - }, - bitString(_p?: BitString["BitString"]): BitString { - const _j = ({ - BitString: {} - } as BitString); - _o.set(_j, "BitString.bsval", _p?.bsval); - return _j; - }, - list(_p?: List["List"]): List { - const _j = ({ - List: {} - } as List); - _o.set(_j, "List.items", _p?.items); - return _j; - }, - oidList(_p?: OidList["OidList"]): OidList { - const _j = ({ - OidList: {} - } as OidList); - _o.set(_j, "OidList.items", _p?.items); - return _j; - }, - intList(_p?: IntList["IntList"]): IntList { - const _j = ({ - IntList: {} - } as IntList); - _o.set(_j, "IntList.items", _p?.items); - return _j; - }, - aConst(_p?: A_Const["A_Const"]): A_Const { - const _j = ({ - A_Const: {} - } as A_Const); - _o.set(_j, "A_Const.ival", _p?.ival); - _o.set(_j, "A_Const.fval", _p?.fval); - _o.set(_j, "A_Const.boolval", _p?.boolval); - _o.set(_j, "A_Const.sval", _p?.sval); - _o.set(_j, "A_Const.bsval", _p?.bsval); - _o.set(_j, "A_Const.isnull", _p?.isnull); - _o.set(_j, "A_Const.location", _p?.location); - return _j; - }, - alias(_p?: Alias["Alias"]): Alias { - const _j = ({ - Alias: {} - } as Alias); - _o.set(_j, "Alias.aliasname", _p?.aliasname); - _o.set(_j, "Alias.colnames", _p?.colnames); - return _j; - }, - rangeVar(_p?: RangeVar["RangeVar"]): RangeVar { - const _j = ({ - RangeVar: {} - } as RangeVar); - _o.set(_j, "RangeVar.catalogname", _p?.catalogname); - _o.set(_j, "RangeVar.schemaname", _p?.schemaname); - _o.set(_j, "RangeVar.relname", _p?.relname); - _o.set(_j, "RangeVar.inh", _p?.inh); - _o.set(_j, "RangeVar.relpersistence", _p?.relpersistence); - _o.set(_j, "RangeVar.alias", _p?.alias); - _o.set(_j, "RangeVar.location", _p?.location); - return _j; - }, - tableFunc(_p?: TableFunc["TableFunc"]): TableFunc { - const _j = ({ - TableFunc: {} - } as TableFunc); - _o.set(_j, "TableFunc.ns_uris", _p?.ns_uris); - _o.set(_j, "TableFunc.ns_names", _p?.ns_names); - _o.set(_j, "TableFunc.docexpr", _p?.docexpr); - _o.set(_j, "TableFunc.rowexpr", _p?.rowexpr); - _o.set(_j, "TableFunc.colnames", _p?.colnames); - _o.set(_j, "TableFunc.coltypes", _p?.coltypes); - _o.set(_j, "TableFunc.coltypmods", _p?.coltypmods); - _o.set(_j, "TableFunc.colcollations", _p?.colcollations); - _o.set(_j, "TableFunc.colexprs", _p?.colexprs); - _o.set(_j, "TableFunc.coldefexprs", _p?.coldefexprs); - _o.set(_j, "TableFunc.notnulls", _p?.notnulls); - _o.set(_j, "TableFunc.ordinalitycol", _p?.ordinalitycol); - _o.set(_j, "TableFunc.location", _p?.location); - return _j; - }, - intoClause(_p?: IntoClause["IntoClause"]): IntoClause { - const _j = ({ - IntoClause: {} - } as IntoClause); - _o.set(_j, "IntoClause.rel", _p?.rel); - _o.set(_j, "IntoClause.colNames", _p?.colNames); - _o.set(_j, "IntoClause.accessMethod", _p?.accessMethod); - _o.set(_j, "IntoClause.options", _p?.options); - _o.set(_j, "IntoClause.onCommit", _p?.onCommit); - _o.set(_j, "IntoClause.tableSpaceName", _p?.tableSpaceName); - _o.set(_j, "IntoClause.viewQuery", _p?.viewQuery); - _o.set(_j, "IntoClause.skipData", _p?.skipData); - return _j; - }, - var(_p?: Var["Var"]): Var { - const _j = ({ - Var: {} - } as Var); - _o.set(_j, "Var.xpr", _p?.xpr); - _o.set(_j, "Var.varno", _p?.varno); - _o.set(_j, "Var.varattno", _p?.varattno); - _o.set(_j, "Var.vartype", _p?.vartype); - _o.set(_j, "Var.vartypmod", _p?.vartypmod); - _o.set(_j, "Var.varcollid", _p?.varcollid); - _o.set(_j, "Var.varnullingrels", _p?.varnullingrels); - _o.set(_j, "Var.varlevelsup", _p?.varlevelsup); - _o.set(_j, "Var.location", _p?.location); - return _j; - }, - param(_p?: Param["Param"]): Param { - const _j = ({ - Param: {} - } as Param); - _o.set(_j, "Param.xpr", _p?.xpr); - _o.set(_j, "Param.paramkind", _p?.paramkind); - _o.set(_j, "Param.paramid", _p?.paramid); - _o.set(_j, "Param.paramtype", _p?.paramtype); - _o.set(_j, "Param.paramtypmod", _p?.paramtypmod); - _o.set(_j, "Param.paramcollid", _p?.paramcollid); - _o.set(_j, "Param.location", _p?.location); - return _j; - }, - aggref(_p?: Aggref["Aggref"]): Aggref { - const _j = ({ - Aggref: {} - } as Aggref); - _o.set(_j, "Aggref.xpr", _p?.xpr); - _o.set(_j, "Aggref.aggfnoid", _p?.aggfnoid); - _o.set(_j, "Aggref.aggtype", _p?.aggtype); - _o.set(_j, "Aggref.aggcollid", _p?.aggcollid); - _o.set(_j, "Aggref.inputcollid", _p?.inputcollid); - _o.set(_j, "Aggref.aggargtypes", _p?.aggargtypes); - _o.set(_j, "Aggref.aggdirectargs", _p?.aggdirectargs); - _o.set(_j, "Aggref.args", _p?.args); - _o.set(_j, "Aggref.aggorder", _p?.aggorder); - _o.set(_j, "Aggref.aggdistinct", _p?.aggdistinct); - _o.set(_j, "Aggref.aggfilter", _p?.aggfilter); - _o.set(_j, "Aggref.aggstar", _p?.aggstar); - _o.set(_j, "Aggref.aggvariadic", _p?.aggvariadic); - _o.set(_j, "Aggref.aggkind", _p?.aggkind); - _o.set(_j, "Aggref.agglevelsup", _p?.agglevelsup); - _o.set(_j, "Aggref.aggsplit", _p?.aggsplit); - _o.set(_j, "Aggref.aggno", _p?.aggno); - _o.set(_j, "Aggref.aggtransno", _p?.aggtransno); - _o.set(_j, "Aggref.location", _p?.location); - return _j; - }, - groupingFunc(_p?: GroupingFunc["GroupingFunc"]): GroupingFunc { - const _j = ({ - GroupingFunc: {} - } as GroupingFunc); - _o.set(_j, "GroupingFunc.xpr", _p?.xpr); - _o.set(_j, "GroupingFunc.args", _p?.args); - _o.set(_j, "GroupingFunc.refs", _p?.refs); - _o.set(_j, "GroupingFunc.agglevelsup", _p?.agglevelsup); - _o.set(_j, "GroupingFunc.location", _p?.location); - return _j; - }, - windowFunc(_p?: WindowFunc["WindowFunc"]): WindowFunc { - const _j = ({ - WindowFunc: {} - } as WindowFunc); - _o.set(_j, "WindowFunc.xpr", _p?.xpr); - _o.set(_j, "WindowFunc.winfnoid", _p?.winfnoid); - _o.set(_j, "WindowFunc.wintype", _p?.wintype); - _o.set(_j, "WindowFunc.wincollid", _p?.wincollid); - _o.set(_j, "WindowFunc.inputcollid", _p?.inputcollid); - _o.set(_j, "WindowFunc.args", _p?.args); - _o.set(_j, "WindowFunc.aggfilter", _p?.aggfilter); - _o.set(_j, "WindowFunc.winref", _p?.winref); - _o.set(_j, "WindowFunc.winstar", _p?.winstar); - _o.set(_j, "WindowFunc.winagg", _p?.winagg); - _o.set(_j, "WindowFunc.location", _p?.location); - return _j; - }, - subscriptingRef(_p?: SubscriptingRef["SubscriptingRef"]): SubscriptingRef { - const _j = ({ - SubscriptingRef: {} - } as SubscriptingRef); - _o.set(_j, "SubscriptingRef.xpr", _p?.xpr); - _o.set(_j, "SubscriptingRef.refcontainertype", _p?.refcontainertype); - _o.set(_j, "SubscriptingRef.refelemtype", _p?.refelemtype); - _o.set(_j, "SubscriptingRef.refrestype", _p?.refrestype); - _o.set(_j, "SubscriptingRef.reftypmod", _p?.reftypmod); - _o.set(_j, "SubscriptingRef.refcollid", _p?.refcollid); - _o.set(_j, "SubscriptingRef.refupperindexpr", _p?.refupperindexpr); - _o.set(_j, "SubscriptingRef.reflowerindexpr", _p?.reflowerindexpr); - _o.set(_j, "SubscriptingRef.refexpr", _p?.refexpr); - _o.set(_j, "SubscriptingRef.refassgnexpr", _p?.refassgnexpr); - return _j; - }, - funcExpr(_p?: FuncExpr["FuncExpr"]): FuncExpr { - const _j = ({ - FuncExpr: {} - } as FuncExpr); - _o.set(_j, "FuncExpr.xpr", _p?.xpr); - _o.set(_j, "FuncExpr.funcid", _p?.funcid); - _o.set(_j, "FuncExpr.funcresulttype", _p?.funcresulttype); - _o.set(_j, "FuncExpr.funcretset", _p?.funcretset); - _o.set(_j, "FuncExpr.funcvariadic", _p?.funcvariadic); - _o.set(_j, "FuncExpr.funcformat", _p?.funcformat); - _o.set(_j, "FuncExpr.funccollid", _p?.funccollid); - _o.set(_j, "FuncExpr.inputcollid", _p?.inputcollid); - _o.set(_j, "FuncExpr.args", _p?.args); - _o.set(_j, "FuncExpr.location", _p?.location); - return _j; - }, - namedArgExpr(_p?: NamedArgExpr["NamedArgExpr"]): NamedArgExpr { - const _j = ({ - NamedArgExpr: {} - } as NamedArgExpr); - _o.set(_j, "NamedArgExpr.xpr", _p?.xpr); - _o.set(_j, "NamedArgExpr.arg", _p?.arg); - _o.set(_j, "NamedArgExpr.name", _p?.name); - _o.set(_j, "NamedArgExpr.argnumber", _p?.argnumber); - _o.set(_j, "NamedArgExpr.location", _p?.location); - return _j; - }, - opExpr(_p?: OpExpr["OpExpr"]): OpExpr { - const _j = ({ - OpExpr: {} - } as OpExpr); - _o.set(_j, "OpExpr.xpr", _p?.xpr); - _o.set(_j, "OpExpr.opno", _p?.opno); - _o.set(_j, "OpExpr.opresulttype", _p?.opresulttype); - _o.set(_j, "OpExpr.opretset", _p?.opretset); - _o.set(_j, "OpExpr.opcollid", _p?.opcollid); - _o.set(_j, "OpExpr.inputcollid", _p?.inputcollid); - _o.set(_j, "OpExpr.args", _p?.args); - _o.set(_j, "OpExpr.location", _p?.location); - return _j; - }, - distinctExpr(_p?: DistinctExpr["DistinctExpr"]): DistinctExpr { - const _j = ({ - DistinctExpr: {} - } as DistinctExpr); - _o.set(_j, "DistinctExpr.xpr", _p?.xpr); - _o.set(_j, "DistinctExpr.opno", _p?.opno); - _o.set(_j, "DistinctExpr.opresulttype", _p?.opresulttype); - _o.set(_j, "DistinctExpr.opretset", _p?.opretset); - _o.set(_j, "DistinctExpr.opcollid", _p?.opcollid); - _o.set(_j, "DistinctExpr.inputcollid", _p?.inputcollid); - _o.set(_j, "DistinctExpr.args", _p?.args); - _o.set(_j, "DistinctExpr.location", _p?.location); - return _j; - }, - nullIfExpr(_p?: NullIfExpr["NullIfExpr"]): NullIfExpr { - const _j = ({ - NullIfExpr: {} - } as NullIfExpr); - _o.set(_j, "NullIfExpr.xpr", _p?.xpr); - _o.set(_j, "NullIfExpr.opno", _p?.opno); - _o.set(_j, "NullIfExpr.opresulttype", _p?.opresulttype); - _o.set(_j, "NullIfExpr.opretset", _p?.opretset); - _o.set(_j, "NullIfExpr.opcollid", _p?.opcollid); - _o.set(_j, "NullIfExpr.inputcollid", _p?.inputcollid); - _o.set(_j, "NullIfExpr.args", _p?.args); - _o.set(_j, "NullIfExpr.location", _p?.location); - return _j; - }, - scalarArrayOpExpr(_p?: ScalarArrayOpExpr["ScalarArrayOpExpr"]): ScalarArrayOpExpr { - const _j = ({ - ScalarArrayOpExpr: {} - } as ScalarArrayOpExpr); - _o.set(_j, "ScalarArrayOpExpr.xpr", _p?.xpr); - _o.set(_j, "ScalarArrayOpExpr.opno", _p?.opno); - _o.set(_j, "ScalarArrayOpExpr.useOr", _p?.useOr); - _o.set(_j, "ScalarArrayOpExpr.inputcollid", _p?.inputcollid); - _o.set(_j, "ScalarArrayOpExpr.args", _p?.args); - _o.set(_j, "ScalarArrayOpExpr.location", _p?.location); - return _j; - }, - boolExpr(_p?: BoolExpr["BoolExpr"]): BoolExpr { - const _j = ({ - BoolExpr: {} - } as BoolExpr); - _o.set(_j, "BoolExpr.xpr", _p?.xpr); - _o.set(_j, "BoolExpr.boolop", _p?.boolop); - _o.set(_j, "BoolExpr.args", _p?.args); - _o.set(_j, "BoolExpr.location", _p?.location); - return _j; - }, - subLink(_p?: SubLink["SubLink"]): SubLink { - const _j = ({ - SubLink: {} - } as SubLink); - _o.set(_j, "SubLink.xpr", _p?.xpr); - _o.set(_j, "SubLink.subLinkType", _p?.subLinkType); - _o.set(_j, "SubLink.subLinkId", _p?.subLinkId); - _o.set(_j, "SubLink.testexpr", _p?.testexpr); - _o.set(_j, "SubLink.operName", _p?.operName); - _o.set(_j, "SubLink.subselect", _p?.subselect); - _o.set(_j, "SubLink.location", _p?.location); - return _j; - }, - subPlan(_p?: SubPlan["SubPlan"]): SubPlan { - const _j = ({ - SubPlan: {} - } as SubPlan); - _o.set(_j, "SubPlan.xpr", _p?.xpr); - _o.set(_j, "SubPlan.subLinkType", _p?.subLinkType); - _o.set(_j, "SubPlan.testexpr", _p?.testexpr); - _o.set(_j, "SubPlan.paramIds", _p?.paramIds); - _o.set(_j, "SubPlan.plan_id", _p?.plan_id); - _o.set(_j, "SubPlan.plan_name", _p?.plan_name); - _o.set(_j, "SubPlan.firstColType", _p?.firstColType); - _o.set(_j, "SubPlan.firstColTypmod", _p?.firstColTypmod); - _o.set(_j, "SubPlan.firstColCollation", _p?.firstColCollation); - _o.set(_j, "SubPlan.useHashTable", _p?.useHashTable); - _o.set(_j, "SubPlan.unknownEqFalse", _p?.unknownEqFalse); - _o.set(_j, "SubPlan.parallel_safe", _p?.parallel_safe); - _o.set(_j, "SubPlan.setParam", _p?.setParam); - _o.set(_j, "SubPlan.parParam", _p?.parParam); - _o.set(_j, "SubPlan.args", _p?.args); - _o.set(_j, "SubPlan.startup_cost", _p?.startup_cost); - _o.set(_j, "SubPlan.per_call_cost", _p?.per_call_cost); - return _j; - }, - alternativeSubPlan(_p?: AlternativeSubPlan["AlternativeSubPlan"]): AlternativeSubPlan { - const _j = ({ - AlternativeSubPlan: {} - } as AlternativeSubPlan); - _o.set(_j, "AlternativeSubPlan.xpr", _p?.xpr); - _o.set(_j, "AlternativeSubPlan.subplans", _p?.subplans); - return _j; - }, - fieldSelect(_p?: FieldSelect["FieldSelect"]): FieldSelect { - const _j = ({ - FieldSelect: {} - } as FieldSelect); - _o.set(_j, "FieldSelect.xpr", _p?.xpr); - _o.set(_j, "FieldSelect.arg", _p?.arg); - _o.set(_j, "FieldSelect.fieldnum", _p?.fieldnum); - _o.set(_j, "FieldSelect.resulttype", _p?.resulttype); - _o.set(_j, "FieldSelect.resulttypmod", _p?.resulttypmod); - _o.set(_j, "FieldSelect.resultcollid", _p?.resultcollid); - return _j; - }, - fieldStore(_p?: FieldStore["FieldStore"]): FieldStore { - const _j = ({ - FieldStore: {} - } as FieldStore); - _o.set(_j, "FieldStore.xpr", _p?.xpr); - _o.set(_j, "FieldStore.arg", _p?.arg); - _o.set(_j, "FieldStore.newvals", _p?.newvals); - _o.set(_j, "FieldStore.fieldnums", _p?.fieldnums); - _o.set(_j, "FieldStore.resulttype", _p?.resulttype); - return _j; - }, - relabelType(_p?: RelabelType["RelabelType"]): RelabelType { - const _j = ({ - RelabelType: {} - } as RelabelType); - _o.set(_j, "RelabelType.xpr", _p?.xpr); - _o.set(_j, "RelabelType.arg", _p?.arg); - _o.set(_j, "RelabelType.resulttype", _p?.resulttype); - _o.set(_j, "RelabelType.resulttypmod", _p?.resulttypmod); - _o.set(_j, "RelabelType.resultcollid", _p?.resultcollid); - _o.set(_j, "RelabelType.relabelformat", _p?.relabelformat); - _o.set(_j, "RelabelType.location", _p?.location); - return _j; - }, - coerceViaio(_p?: CoerceViaIO["CoerceViaIO"]): CoerceViaIO { - const _j = ({ - CoerceViaIO: {} - } as CoerceViaIO); - _o.set(_j, "CoerceViaIO.xpr", _p?.xpr); - _o.set(_j, "CoerceViaIO.arg", _p?.arg); - _o.set(_j, "CoerceViaIO.resulttype", _p?.resulttype); - _o.set(_j, "CoerceViaIO.resultcollid", _p?.resultcollid); - _o.set(_j, "CoerceViaIO.coerceformat", _p?.coerceformat); - _o.set(_j, "CoerceViaIO.location", _p?.location); - return _j; - }, - arrayCoerceExpr(_p?: ArrayCoerceExpr["ArrayCoerceExpr"]): ArrayCoerceExpr { - const _j = ({ - ArrayCoerceExpr: {} - } as ArrayCoerceExpr); - _o.set(_j, "ArrayCoerceExpr.xpr", _p?.xpr); - _o.set(_j, "ArrayCoerceExpr.arg", _p?.arg); - _o.set(_j, "ArrayCoerceExpr.elemexpr", _p?.elemexpr); - _o.set(_j, "ArrayCoerceExpr.resulttype", _p?.resulttype); - _o.set(_j, "ArrayCoerceExpr.resulttypmod", _p?.resulttypmod); - _o.set(_j, "ArrayCoerceExpr.resultcollid", _p?.resultcollid); - _o.set(_j, "ArrayCoerceExpr.coerceformat", _p?.coerceformat); - _o.set(_j, "ArrayCoerceExpr.location", _p?.location); - return _j; - }, - convertRowtypeExpr(_p?: ConvertRowtypeExpr["ConvertRowtypeExpr"]): ConvertRowtypeExpr { - const _j = ({ - ConvertRowtypeExpr: {} - } as ConvertRowtypeExpr); - _o.set(_j, "ConvertRowtypeExpr.xpr", _p?.xpr); - _o.set(_j, "ConvertRowtypeExpr.arg", _p?.arg); - _o.set(_j, "ConvertRowtypeExpr.resulttype", _p?.resulttype); - _o.set(_j, "ConvertRowtypeExpr.convertformat", _p?.convertformat); - _o.set(_j, "ConvertRowtypeExpr.location", _p?.location); - return _j; - }, - collateExpr(_p?: CollateExpr["CollateExpr"]): CollateExpr { - const _j = ({ - CollateExpr: {} - } as CollateExpr); - _o.set(_j, "CollateExpr.xpr", _p?.xpr); - _o.set(_j, "CollateExpr.arg", _p?.arg); - _o.set(_j, "CollateExpr.collOid", _p?.collOid); - _o.set(_j, "CollateExpr.location", _p?.location); - return _j; - }, - caseExpr(_p?: CaseExpr["CaseExpr"]): CaseExpr { - const _j = ({ - CaseExpr: {} - } as CaseExpr); - _o.set(_j, "CaseExpr.xpr", _p?.xpr); - _o.set(_j, "CaseExpr.casetype", _p?.casetype); - _o.set(_j, "CaseExpr.casecollid", _p?.casecollid); - _o.set(_j, "CaseExpr.arg", _p?.arg); - _o.set(_j, "CaseExpr.args", _p?.args); - _o.set(_j, "CaseExpr.defresult", _p?.defresult); - _o.set(_j, "CaseExpr.location", _p?.location); - return _j; - }, - caseWhen(_p?: CaseWhen["CaseWhen"]): CaseWhen { - const _j = ({ - CaseWhen: {} - } as CaseWhen); - _o.set(_j, "CaseWhen.xpr", _p?.xpr); - _o.set(_j, "CaseWhen.expr", _p?.expr); - _o.set(_j, "CaseWhen.result", _p?.result); - _o.set(_j, "CaseWhen.location", _p?.location); - return _j; - }, - caseTestExpr(_p?: CaseTestExpr["CaseTestExpr"]): CaseTestExpr { - const _j = ({ - CaseTestExpr: {} - } as CaseTestExpr); - _o.set(_j, "CaseTestExpr.xpr", _p?.xpr); - _o.set(_j, "CaseTestExpr.typeId", _p?.typeId); - _o.set(_j, "CaseTestExpr.typeMod", _p?.typeMod); - _o.set(_j, "CaseTestExpr.collation", _p?.collation); - return _j; - }, - arrayExpr(_p?: ArrayExpr["ArrayExpr"]): ArrayExpr { - const _j = ({ - ArrayExpr: {} - } as ArrayExpr); - _o.set(_j, "ArrayExpr.xpr", _p?.xpr); - _o.set(_j, "ArrayExpr.array_typeid", _p?.array_typeid); - _o.set(_j, "ArrayExpr.array_collid", _p?.array_collid); - _o.set(_j, "ArrayExpr.element_typeid", _p?.element_typeid); - _o.set(_j, "ArrayExpr.elements", _p?.elements); - _o.set(_j, "ArrayExpr.multidims", _p?.multidims); - _o.set(_j, "ArrayExpr.location", _p?.location); - return _j; - }, - rowExpr(_p?: RowExpr["RowExpr"]): RowExpr { - const _j = ({ - RowExpr: {} - } as RowExpr); - _o.set(_j, "RowExpr.xpr", _p?.xpr); - _o.set(_j, "RowExpr.args", _p?.args); - _o.set(_j, "RowExpr.row_typeid", _p?.row_typeid); - _o.set(_j, "RowExpr.row_format", _p?.row_format); - _o.set(_j, "RowExpr.colnames", _p?.colnames); - _o.set(_j, "RowExpr.location", _p?.location); - return _j; - }, - rowCompareExpr(_p?: RowCompareExpr["RowCompareExpr"]): RowCompareExpr { - const _j = ({ - RowCompareExpr: {} - } as RowCompareExpr); - _o.set(_j, "RowCompareExpr.xpr", _p?.xpr); - _o.set(_j, "RowCompareExpr.rctype", _p?.rctype); - _o.set(_j, "RowCompareExpr.opnos", _p?.opnos); - _o.set(_j, "RowCompareExpr.opfamilies", _p?.opfamilies); - _o.set(_j, "RowCompareExpr.inputcollids", _p?.inputcollids); - _o.set(_j, "RowCompareExpr.largs", _p?.largs); - _o.set(_j, "RowCompareExpr.rargs", _p?.rargs); - return _j; - }, - coalesceExpr(_p?: CoalesceExpr["CoalesceExpr"]): CoalesceExpr { - const _j = ({ - CoalesceExpr: {} - } as CoalesceExpr); - _o.set(_j, "CoalesceExpr.xpr", _p?.xpr); - _o.set(_j, "CoalesceExpr.coalescetype", _p?.coalescetype); - _o.set(_j, "CoalesceExpr.coalescecollid", _p?.coalescecollid); - _o.set(_j, "CoalesceExpr.args", _p?.args); - _o.set(_j, "CoalesceExpr.location", _p?.location); - return _j; - }, - minMaxExpr(_p?: MinMaxExpr["MinMaxExpr"]): MinMaxExpr { - const _j = ({ - MinMaxExpr: {} - } as MinMaxExpr); - _o.set(_j, "MinMaxExpr.xpr", _p?.xpr); - _o.set(_j, "MinMaxExpr.minmaxtype", _p?.minmaxtype); - _o.set(_j, "MinMaxExpr.minmaxcollid", _p?.minmaxcollid); - _o.set(_j, "MinMaxExpr.inputcollid", _p?.inputcollid); - _o.set(_j, "MinMaxExpr.op", _p?.op); - _o.set(_j, "MinMaxExpr.args", _p?.args); - _o.set(_j, "MinMaxExpr.location", _p?.location); - return _j; - }, - sqlValueFunction(_p?: SQLValueFunction["SQLValueFunction"]): SQLValueFunction { - const _j = ({ - SQLValueFunction: {} - } as SQLValueFunction); - _o.set(_j, "SQLValueFunction.xpr", _p?.xpr); - _o.set(_j, "SQLValueFunction.op", _p?.op); - _o.set(_j, "SQLValueFunction.type", _p?.type); - _o.set(_j, "SQLValueFunction.typmod", _p?.typmod); - _o.set(_j, "SQLValueFunction.location", _p?.location); - return _j; - }, - xmlExpr(_p?: XmlExpr["XmlExpr"]): XmlExpr { - const _j = ({ - XmlExpr: {} - } as XmlExpr); - _o.set(_j, "XmlExpr.xpr", _p?.xpr); - _o.set(_j, "XmlExpr.op", _p?.op); - _o.set(_j, "XmlExpr.name", _p?.name); - _o.set(_j, "XmlExpr.named_args", _p?.named_args); - _o.set(_j, "XmlExpr.arg_names", _p?.arg_names); - _o.set(_j, "XmlExpr.args", _p?.args); - _o.set(_j, "XmlExpr.xmloption", _p?.xmloption); - _o.set(_j, "XmlExpr.indent", _p?.indent); - _o.set(_j, "XmlExpr.type", _p?.type); - _o.set(_j, "XmlExpr.typmod", _p?.typmod); - _o.set(_j, "XmlExpr.location", _p?.location); - return _j; - }, - jsonFormat(_p?: JsonFormat["JsonFormat"]): JsonFormat { - const _j = ({ - JsonFormat: {} - } as JsonFormat); - _o.set(_j, "JsonFormat.format_type", _p?.format_type); - _o.set(_j, "JsonFormat.encoding", _p?.encoding); - _o.set(_j, "JsonFormat.location", _p?.location); - return _j; - }, - jsonReturning(_p?: JsonReturning["JsonReturning"]): JsonReturning { - const _j = ({ - JsonReturning: {} - } as JsonReturning); - _o.set(_j, "JsonReturning.format", _p?.format); - _o.set(_j, "JsonReturning.typid", _p?.typid); - _o.set(_j, "JsonReturning.typmod", _p?.typmod); - return _j; - }, - jsonValueExpr(_p?: JsonValueExpr["JsonValueExpr"]): JsonValueExpr { - const _j = ({ - JsonValueExpr: {} - } as JsonValueExpr); - _o.set(_j, "JsonValueExpr.raw_expr", _p?.raw_expr); - _o.set(_j, "JsonValueExpr.formatted_expr", _p?.formatted_expr); - _o.set(_j, "JsonValueExpr.format", _p?.format); - return _j; - }, - jsonConstructorExpr(_p?: JsonConstructorExpr["JsonConstructorExpr"]): JsonConstructorExpr { - const _j = ({ - JsonConstructorExpr: {} - } as JsonConstructorExpr); - _o.set(_j, "JsonConstructorExpr.xpr", _p?.xpr); - _o.set(_j, "JsonConstructorExpr.type", _p?.type); - _o.set(_j, "JsonConstructorExpr.args", _p?.args); - _o.set(_j, "JsonConstructorExpr.func", _p?.func); - _o.set(_j, "JsonConstructorExpr.coercion", _p?.coercion); - _o.set(_j, "JsonConstructorExpr.returning", _p?.returning); - _o.set(_j, "JsonConstructorExpr.absent_on_null", _p?.absent_on_null); - _o.set(_j, "JsonConstructorExpr.unique", _p?.unique); - _o.set(_j, "JsonConstructorExpr.location", _p?.location); - return _j; - }, - jsonIsPredicate(_p?: JsonIsPredicate["JsonIsPredicate"]): JsonIsPredicate { - const _j = ({ - JsonIsPredicate: {} - } as JsonIsPredicate); - _o.set(_j, "JsonIsPredicate.expr", _p?.expr); - _o.set(_j, "JsonIsPredicate.format", _p?.format); - _o.set(_j, "JsonIsPredicate.item_type", _p?.item_type); - _o.set(_j, "JsonIsPredicate.unique_keys", _p?.unique_keys); - _o.set(_j, "JsonIsPredicate.location", _p?.location); - return _j; - }, - nullTest(_p?: NullTest["NullTest"]): NullTest { - const _j = ({ - NullTest: {} - } as NullTest); - _o.set(_j, "NullTest.xpr", _p?.xpr); - _o.set(_j, "NullTest.arg", _p?.arg); - _o.set(_j, "NullTest.nulltesttype", _p?.nulltesttype); - _o.set(_j, "NullTest.argisrow", _p?.argisrow); - _o.set(_j, "NullTest.location", _p?.location); - return _j; - }, - booleanTest(_p?: BooleanTest["BooleanTest"]): BooleanTest { - const _j = ({ - BooleanTest: {} - } as BooleanTest); - _o.set(_j, "BooleanTest.xpr", _p?.xpr); - _o.set(_j, "BooleanTest.arg", _p?.arg); - _o.set(_j, "BooleanTest.booltesttype", _p?.booltesttype); - _o.set(_j, "BooleanTest.location", _p?.location); - return _j; - }, - coerceToDomain(_p?: CoerceToDomain["CoerceToDomain"]): CoerceToDomain { - const _j = ({ - CoerceToDomain: {} - } as CoerceToDomain); - _o.set(_j, "CoerceToDomain.xpr", _p?.xpr); - _o.set(_j, "CoerceToDomain.arg", _p?.arg); - _o.set(_j, "CoerceToDomain.resulttype", _p?.resulttype); - _o.set(_j, "CoerceToDomain.resulttypmod", _p?.resulttypmod); - _o.set(_j, "CoerceToDomain.resultcollid", _p?.resultcollid); - _o.set(_j, "CoerceToDomain.coercionformat", _p?.coercionformat); - _o.set(_j, "CoerceToDomain.location", _p?.location); - return _j; - }, - coerceToDomainValue(_p?: CoerceToDomainValue["CoerceToDomainValue"]): CoerceToDomainValue { - const _j = ({ - CoerceToDomainValue: {} - } as CoerceToDomainValue); - _o.set(_j, "CoerceToDomainValue.xpr", _p?.xpr); - _o.set(_j, "CoerceToDomainValue.typeId", _p?.typeId); - _o.set(_j, "CoerceToDomainValue.typeMod", _p?.typeMod); - _o.set(_j, "CoerceToDomainValue.collation", _p?.collation); - _o.set(_j, "CoerceToDomainValue.location", _p?.location); - return _j; - }, - setToDefault(_p?: SetToDefault["SetToDefault"]): SetToDefault { - const _j = ({ - SetToDefault: {} - } as SetToDefault); - _o.set(_j, "SetToDefault.xpr", _p?.xpr); - _o.set(_j, "SetToDefault.typeId", _p?.typeId); - _o.set(_j, "SetToDefault.typeMod", _p?.typeMod); - _o.set(_j, "SetToDefault.collation", _p?.collation); - _o.set(_j, "SetToDefault.location", _p?.location); - return _j; - }, - currentOfExpr(_p?: CurrentOfExpr["CurrentOfExpr"]): CurrentOfExpr { - const _j = ({ - CurrentOfExpr: {} - } as CurrentOfExpr); - _o.set(_j, "CurrentOfExpr.xpr", _p?.xpr); - _o.set(_j, "CurrentOfExpr.cvarno", _p?.cvarno); - _o.set(_j, "CurrentOfExpr.cursor_name", _p?.cursor_name); - _o.set(_j, "CurrentOfExpr.cursor_param", _p?.cursor_param); - return _j; - }, - nextValueExpr(_p?: NextValueExpr["NextValueExpr"]): NextValueExpr { - const _j = ({ - NextValueExpr: {} - } as NextValueExpr); - _o.set(_j, "NextValueExpr.xpr", _p?.xpr); - _o.set(_j, "NextValueExpr.seqid", _p?.seqid); - _o.set(_j, "NextValueExpr.typeId", _p?.typeId); - return _j; - }, - inferenceElem(_p?: InferenceElem["InferenceElem"]): InferenceElem { - const _j = ({ - InferenceElem: {} - } as InferenceElem); - _o.set(_j, "InferenceElem.xpr", _p?.xpr); - _o.set(_j, "InferenceElem.expr", _p?.expr); - _o.set(_j, "InferenceElem.infercollid", _p?.infercollid); - _o.set(_j, "InferenceElem.inferopclass", _p?.inferopclass); - return _j; - }, - targetEntry(_p?: TargetEntry["TargetEntry"]): TargetEntry { - const _j = ({ - TargetEntry: {} - } as TargetEntry); - _o.set(_j, "TargetEntry.xpr", _p?.xpr); - _o.set(_j, "TargetEntry.expr", _p?.expr); - _o.set(_j, "TargetEntry.resno", _p?.resno); - _o.set(_j, "TargetEntry.resname", _p?.resname); - _o.set(_j, "TargetEntry.ressortgroupref", _p?.ressortgroupref); - _o.set(_j, "TargetEntry.resorigtbl", _p?.resorigtbl); - _o.set(_j, "TargetEntry.resorigcol", _p?.resorigcol); - _o.set(_j, "TargetEntry.resjunk", _p?.resjunk); - return _j; - }, - rangeTblRef(_p?: RangeTblRef["RangeTblRef"]): RangeTblRef { - const _j = ({ - RangeTblRef: {} - } as RangeTblRef); - _o.set(_j, "RangeTblRef.rtindex", _p?.rtindex); - return _j; - }, - joinExpr(_p?: JoinExpr["JoinExpr"]): JoinExpr { - const _j = ({ - JoinExpr: {} - } as JoinExpr); - _o.set(_j, "JoinExpr.jointype", _p?.jointype); - _o.set(_j, "JoinExpr.isNatural", _p?.isNatural); - _o.set(_j, "JoinExpr.larg", _p?.larg); - _o.set(_j, "JoinExpr.rarg", _p?.rarg); - _o.set(_j, "JoinExpr.usingClause", _p?.usingClause); - _o.set(_j, "JoinExpr.join_using_alias", _p?.join_using_alias); - _o.set(_j, "JoinExpr.quals", _p?.quals); - _o.set(_j, "JoinExpr.alias", _p?.alias); - _o.set(_j, "JoinExpr.rtindex", _p?.rtindex); - return _j; - }, - fromExpr(_p?: FromExpr["FromExpr"]): FromExpr { - const _j = ({ - FromExpr: {} - } as FromExpr); - _o.set(_j, "FromExpr.fromlist", _p?.fromlist); - _o.set(_j, "FromExpr.quals", _p?.quals); - return _j; - }, - onConflictExpr(_p?: OnConflictExpr["OnConflictExpr"]): OnConflictExpr { - const _j = ({ - OnConflictExpr: {} - } as OnConflictExpr); - _o.set(_j, "OnConflictExpr.action", _p?.action); - _o.set(_j, "OnConflictExpr.arbiterElems", _p?.arbiterElems); - _o.set(_j, "OnConflictExpr.arbiterWhere", _p?.arbiterWhere); - _o.set(_j, "OnConflictExpr.constraint", _p?.constraint); - _o.set(_j, "OnConflictExpr.onConflictSet", _p?.onConflictSet); - _o.set(_j, "OnConflictExpr.onConflictWhere", _p?.onConflictWhere); - _o.set(_j, "OnConflictExpr.exclRelIndex", _p?.exclRelIndex); - _o.set(_j, "OnConflictExpr.exclRelTlist", _p?.exclRelTlist); - return _j; - }, - query(_p?: Query["Query"]): Query { - const _j = ({ - Query: {} - } as Query); - _o.set(_j, "Query.commandType", _p?.commandType); - _o.set(_j, "Query.querySource", _p?.querySource); - _o.set(_j, "Query.canSetTag", _p?.canSetTag); - _o.set(_j, "Query.utilityStmt", _p?.utilityStmt); - _o.set(_j, "Query.resultRelation", _p?.resultRelation); - _o.set(_j, "Query.hasAggs", _p?.hasAggs); - _o.set(_j, "Query.hasWindowFuncs", _p?.hasWindowFuncs); - _o.set(_j, "Query.hasTargetSRFs", _p?.hasTargetSRFs); - _o.set(_j, "Query.hasSubLinks", _p?.hasSubLinks); - _o.set(_j, "Query.hasDistinctOn", _p?.hasDistinctOn); - _o.set(_j, "Query.hasRecursive", _p?.hasRecursive); - _o.set(_j, "Query.hasModifyingCTE", _p?.hasModifyingCTE); - _o.set(_j, "Query.hasForUpdate", _p?.hasForUpdate); - _o.set(_j, "Query.hasRowSecurity", _p?.hasRowSecurity); - _o.set(_j, "Query.isReturn", _p?.isReturn); - _o.set(_j, "Query.cteList", _p?.cteList); - _o.set(_j, "Query.rtable", _p?.rtable); - _o.set(_j, "Query.rteperminfos", _p?.rteperminfos); - _o.set(_j, "Query.jointree", _p?.jointree); - _o.set(_j, "Query.mergeActionList", _p?.mergeActionList); - _o.set(_j, "Query.mergeUseOuterJoin", _p?.mergeUseOuterJoin); - _o.set(_j, "Query.targetList", _p?.targetList); - _o.set(_j, "Query.override", _p?.override); - _o.set(_j, "Query.onConflict", _p?.onConflict); - _o.set(_j, "Query.returningList", _p?.returningList); - _o.set(_j, "Query.groupClause", _p?.groupClause); - _o.set(_j, "Query.groupDistinct", _p?.groupDistinct); - _o.set(_j, "Query.groupingSets", _p?.groupingSets); - _o.set(_j, "Query.havingQual", _p?.havingQual); - _o.set(_j, "Query.windowClause", _p?.windowClause); - _o.set(_j, "Query.distinctClause", _p?.distinctClause); - _o.set(_j, "Query.sortClause", _p?.sortClause); - _o.set(_j, "Query.limitOffset", _p?.limitOffset); - _o.set(_j, "Query.limitCount", _p?.limitCount); - _o.set(_j, "Query.limitOption", _p?.limitOption); - _o.set(_j, "Query.rowMarks", _p?.rowMarks); - _o.set(_j, "Query.setOperations", _p?.setOperations); - _o.set(_j, "Query.constraintDeps", _p?.constraintDeps); - _o.set(_j, "Query.withCheckOptions", _p?.withCheckOptions); - _o.set(_j, "Query.stmt_location", _p?.stmt_location); - _o.set(_j, "Query.stmt_len", _p?.stmt_len); + }, + scanResult(_p?: ScanResult): ScanResult { + const _j = ({} as ScanResult); + _o.set(_j, "version", _p?.version); + _o.set(_j, "tokens", _p?.tokens); + return _j; + }, + integer(_p?: Integer): Integer { + const _j = ({} as Integer); + _o.set(_j, "ival", _p?.ival); + return _j; + }, + float(_p?: Float): Float { + const _j = ({} as Float); + _o.set(_j, "fval", _p?.fval); + return _j; + }, + boolean(_p?: Boolean): Boolean { + const _j = ({} as Boolean); + _o.set(_j, "boolval", _p?.boolval); + return _j; + }, + string(_p?: String): String { + const _j = ({} as String); + _o.set(_j, "sval", _p?.sval); + return _j; + }, + bitString(_p?: BitString): BitString { + const _j = ({} as BitString); + _o.set(_j, "bsval", _p?.bsval); + return _j; + }, + list(_p?: List): List { + const _j = ({} as List); + _o.set(_j, "items", _p?.items); + return _j; + }, + oidList(_p?: OidList): OidList { + const _j = ({} as OidList); + _o.set(_j, "items", _p?.items); + return _j; + }, + intList(_p?: IntList): IntList { + const _j = ({} as IntList); + _o.set(_j, "items", _p?.items); + return _j; + }, + aConst(_p?: A_Const): A_Const { + const _j = ({} as A_Const); + _o.set(_j, "ival", _p?.ival); + _o.set(_j, "fval", _p?.fval); + _o.set(_j, "boolval", _p?.boolval); + _o.set(_j, "sval", _p?.sval); + _o.set(_j, "bsval", _p?.bsval); + _o.set(_j, "isnull", _p?.isnull); + _o.set(_j, "location", _p?.location); + return _j; + }, + alias(_p?: Alias): Alias { + const _j = ({} as Alias); + _o.set(_j, "aliasname", _p?.aliasname); + _o.set(_j, "colnames", _p?.colnames); + return _j; + }, + rangeVar(_p?: RangeVar): RangeVar { + const _j = ({} as RangeVar); + _o.set(_j, "catalogname", _p?.catalogname); + _o.set(_j, "schemaname", _p?.schemaname); + _o.set(_j, "relname", _p?.relname); + _o.set(_j, "inh", _p?.inh); + _o.set(_j, "relpersistence", _p?.relpersistence); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "location", _p?.location); + return _j; + }, + tableFunc(_p?: TableFunc): TableFunc { + const _j = ({} as TableFunc); + _o.set(_j, "ns_uris", _p?.ns_uris); + _o.set(_j, "ns_names", _p?.ns_names); + _o.set(_j, "docexpr", _p?.docexpr); + _o.set(_j, "rowexpr", _p?.rowexpr); + _o.set(_j, "colnames", _p?.colnames); + _o.set(_j, "coltypes", _p?.coltypes); + _o.set(_j, "coltypmods", _p?.coltypmods); + _o.set(_j, "colcollations", _p?.colcollations); + _o.set(_j, "colexprs", _p?.colexprs); + _o.set(_j, "coldefexprs", _p?.coldefexprs); + _o.set(_j, "notnulls", _p?.notnulls); + _o.set(_j, "ordinalitycol", _p?.ordinalitycol); + _o.set(_j, "location", _p?.location); + return _j; + }, + intoClause(_p?: IntoClause): IntoClause { + const _j = ({} as IntoClause); + _o.set(_j, "rel", _p?.rel); + _o.set(_j, "colNames", _p?.colNames); + _o.set(_j, "accessMethod", _p?.accessMethod); + _o.set(_j, "options", _p?.options); + _o.set(_j, "onCommit", _p?.onCommit); + _o.set(_j, "tableSpaceName", _p?.tableSpaceName); + _o.set(_j, "viewQuery", _p?.viewQuery); + _o.set(_j, "skipData", _p?.skipData); + return _j; + }, + var(_p?: Var): Var { + const _j = ({} as Var); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "varno", _p?.varno); + _o.set(_j, "varattno", _p?.varattno); + _o.set(_j, "vartype", _p?.vartype); + _o.set(_j, "vartypmod", _p?.vartypmod); + _o.set(_j, "varcollid", _p?.varcollid); + _o.set(_j, "varnullingrels", _p?.varnullingrels); + _o.set(_j, "varlevelsup", _p?.varlevelsup); + _o.set(_j, "location", _p?.location); + return _j; + }, + param(_p?: Param): Param { + const _j = ({} as Param); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "paramkind", _p?.paramkind); + _o.set(_j, "paramid", _p?.paramid); + _o.set(_j, "paramtype", _p?.paramtype); + _o.set(_j, "paramtypmod", _p?.paramtypmod); + _o.set(_j, "paramcollid", _p?.paramcollid); + _o.set(_j, "location", _p?.location); + return _j; + }, + aggref(_p?: Aggref): Aggref { + const _j = ({} as Aggref); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "aggfnoid", _p?.aggfnoid); + _o.set(_j, "aggtype", _p?.aggtype); + _o.set(_j, "aggcollid", _p?.aggcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "aggargtypes", _p?.aggargtypes); + _o.set(_j, "aggdirectargs", _p?.aggdirectargs); + _o.set(_j, "args", _p?.args); + _o.set(_j, "aggorder", _p?.aggorder); + _o.set(_j, "aggdistinct", _p?.aggdistinct); + _o.set(_j, "aggfilter", _p?.aggfilter); + _o.set(_j, "aggstar", _p?.aggstar); + _o.set(_j, "aggvariadic", _p?.aggvariadic); + _o.set(_j, "aggkind", _p?.aggkind); + _o.set(_j, "agglevelsup", _p?.agglevelsup); + _o.set(_j, "aggsplit", _p?.aggsplit); + _o.set(_j, "aggno", _p?.aggno); + _o.set(_j, "aggtransno", _p?.aggtransno); + _o.set(_j, "location", _p?.location); + return _j; + }, + groupingFunc(_p?: GroupingFunc): GroupingFunc { + const _j = ({} as GroupingFunc); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "args", _p?.args); + _o.set(_j, "refs", _p?.refs); + _o.set(_j, "agglevelsup", _p?.agglevelsup); + _o.set(_j, "location", _p?.location); + return _j; + }, + windowFunc(_p?: WindowFunc): WindowFunc { + const _j = ({} as WindowFunc); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "winfnoid", _p?.winfnoid); + _o.set(_j, "wintype", _p?.wintype); + _o.set(_j, "wincollid", _p?.wincollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "aggfilter", _p?.aggfilter); + _o.set(_j, "winref", _p?.winref); + _o.set(_j, "winstar", _p?.winstar); + _o.set(_j, "winagg", _p?.winagg); + _o.set(_j, "location", _p?.location); + return _j; + }, + subscriptingRef(_p?: SubscriptingRef): SubscriptingRef { + const _j = ({} as SubscriptingRef); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "refcontainertype", _p?.refcontainertype); + _o.set(_j, "refelemtype", _p?.refelemtype); + _o.set(_j, "refrestype", _p?.refrestype); + _o.set(_j, "reftypmod", _p?.reftypmod); + _o.set(_j, "refcollid", _p?.refcollid); + _o.set(_j, "refupperindexpr", _p?.refupperindexpr); + _o.set(_j, "reflowerindexpr", _p?.reflowerindexpr); + _o.set(_j, "refexpr", _p?.refexpr); + _o.set(_j, "refassgnexpr", _p?.refassgnexpr); + return _j; + }, + funcExpr(_p?: FuncExpr): FuncExpr { + const _j = ({} as FuncExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "funcid", _p?.funcid); + _o.set(_j, "funcresulttype", _p?.funcresulttype); + _o.set(_j, "funcretset", _p?.funcretset); + _o.set(_j, "funcvariadic", _p?.funcvariadic); + _o.set(_j, "funcformat", _p?.funcformat); + _o.set(_j, "funccollid", _p?.funccollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + namedArgExpr(_p?: NamedArgExpr): NamedArgExpr { + const _j = ({} as NamedArgExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "name", _p?.name); + _o.set(_j, "argnumber", _p?.argnumber); + _o.set(_j, "location", _p?.location); + return _j; + }, + opExpr(_p?: OpExpr): OpExpr { + const _j = ({} as OpExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "opresulttype", _p?.opresulttype); + _o.set(_j, "opretset", _p?.opretset); + _o.set(_j, "opcollid", _p?.opcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + distinctExpr(_p?: DistinctExpr): DistinctExpr { + const _j = ({} as DistinctExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "opresulttype", _p?.opresulttype); + _o.set(_j, "opretset", _p?.opretset); + _o.set(_j, "opcollid", _p?.opcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + nullIfExpr(_p?: NullIfExpr): NullIfExpr { + const _j = ({} as NullIfExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "opresulttype", _p?.opresulttype); + _o.set(_j, "opretset", _p?.opretset); + _o.set(_j, "opcollid", _p?.opcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + scalarArrayOpExpr(_p?: ScalarArrayOpExpr): ScalarArrayOpExpr { + const _j = ({} as ScalarArrayOpExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "useOr", _p?.useOr); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + boolExpr(_p?: BoolExpr): BoolExpr { + const _j = ({} as BoolExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "boolop", _p?.boolop); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + subLink(_p?: SubLink): SubLink { + const _j = ({} as SubLink); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "subLinkType", _p?.subLinkType); + _o.set(_j, "subLinkId", _p?.subLinkId); + _o.set(_j, "testexpr", _p?.testexpr); + _o.set(_j, "operName", _p?.operName); + _o.set(_j, "subselect", _p?.subselect); + _o.set(_j, "location", _p?.location); + return _j; + }, + subPlan(_p?: SubPlan): SubPlan { + const _j = ({} as SubPlan); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "subLinkType", _p?.subLinkType); + _o.set(_j, "testexpr", _p?.testexpr); + _o.set(_j, "paramIds", _p?.paramIds); + _o.set(_j, "plan_id", _p?.plan_id); + _o.set(_j, "plan_name", _p?.plan_name); + _o.set(_j, "firstColType", _p?.firstColType); + _o.set(_j, "firstColTypmod", _p?.firstColTypmod); + _o.set(_j, "firstColCollation", _p?.firstColCollation); + _o.set(_j, "useHashTable", _p?.useHashTable); + _o.set(_j, "unknownEqFalse", _p?.unknownEqFalse); + _o.set(_j, "parallel_safe", _p?.parallel_safe); + _o.set(_j, "setParam", _p?.setParam); + _o.set(_j, "parParam", _p?.parParam); + _o.set(_j, "args", _p?.args); + _o.set(_j, "startup_cost", _p?.startup_cost); + _o.set(_j, "per_call_cost", _p?.per_call_cost); + return _j; + }, + alternativeSubPlan(_p?: AlternativeSubPlan): AlternativeSubPlan { + const _j = ({} as AlternativeSubPlan); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "subplans", _p?.subplans); + return _j; + }, + fieldSelect(_p?: FieldSelect): FieldSelect { + const _j = ({} as FieldSelect); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "fieldnum", _p?.fieldnum); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + return _j; + }, + fieldStore(_p?: FieldStore): FieldStore { + const _j = ({} as FieldStore); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "newvals", _p?.newvals); + _o.set(_j, "fieldnums", _p?.fieldnums); + _o.set(_j, "resulttype", _p?.resulttype); + return _j; + }, + relabelType(_p?: RelabelType): RelabelType { + const _j = ({} as RelabelType); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "relabelformat", _p?.relabelformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + coerceViaio(_p?: CoerceViaIO): CoerceViaIO { + const _j = ({} as CoerceViaIO); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "coerceformat", _p?.coerceformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + arrayCoerceExpr(_p?: ArrayCoerceExpr): ArrayCoerceExpr { + const _j = ({} as ArrayCoerceExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "elemexpr", _p?.elemexpr); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "coerceformat", _p?.coerceformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + convertRowtypeExpr(_p?: ConvertRowtypeExpr): ConvertRowtypeExpr { + const _j = ({} as ConvertRowtypeExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "convertformat", _p?.convertformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + collateExpr(_p?: CollateExpr): CollateExpr { + const _j = ({} as CollateExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "collOid", _p?.collOid); + _o.set(_j, "location", _p?.location); + return _j; + }, + caseExpr(_p?: CaseExpr): CaseExpr { + const _j = ({} as CaseExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "casetype", _p?.casetype); + _o.set(_j, "casecollid", _p?.casecollid); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "args", _p?.args); + _o.set(_j, "defresult", _p?.defresult); + _o.set(_j, "location", _p?.location); + return _j; + }, + caseWhen(_p?: CaseWhen): CaseWhen { + const _j = ({} as CaseWhen); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "result", _p?.result); + _o.set(_j, "location", _p?.location); + return _j; + }, + caseTestExpr(_p?: CaseTestExpr): CaseTestExpr { + const _j = ({} as CaseTestExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "typeId", _p?.typeId); + _o.set(_j, "typeMod", _p?.typeMod); + _o.set(_j, "collation", _p?.collation); + return _j; + }, + arrayExpr(_p?: ArrayExpr): ArrayExpr { + const _j = ({} as ArrayExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "array_typeid", _p?.array_typeid); + _o.set(_j, "array_collid", _p?.array_collid); + _o.set(_j, "element_typeid", _p?.element_typeid); + _o.set(_j, "elements", _p?.elements); + _o.set(_j, "multidims", _p?.multidims); + _o.set(_j, "location", _p?.location); + return _j; + }, + rowExpr(_p?: RowExpr): RowExpr { + const _j = ({} as RowExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "args", _p?.args); + _o.set(_j, "row_typeid", _p?.row_typeid); + _o.set(_j, "row_format", _p?.row_format); + _o.set(_j, "colnames", _p?.colnames); + _o.set(_j, "location", _p?.location); + return _j; + }, + rowCompareExpr(_p?: RowCompareExpr): RowCompareExpr { + const _j = ({} as RowCompareExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "rctype", _p?.rctype); + _o.set(_j, "opnos", _p?.opnos); + _o.set(_j, "opfamilies", _p?.opfamilies); + _o.set(_j, "inputcollids", _p?.inputcollids); + _o.set(_j, "largs", _p?.largs); + _o.set(_j, "rargs", _p?.rargs); + return _j; + }, + coalesceExpr(_p?: CoalesceExpr): CoalesceExpr { + const _j = ({} as CoalesceExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "coalescetype", _p?.coalescetype); + _o.set(_j, "coalescecollid", _p?.coalescecollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + minMaxExpr(_p?: MinMaxExpr): MinMaxExpr { + const _j = ({} as MinMaxExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "minmaxtype", _p?.minmaxtype); + _o.set(_j, "minmaxcollid", _p?.minmaxcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "op", _p?.op); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + sqlValueFunction(_p?: SQLValueFunction): SQLValueFunction { + const _j = ({} as SQLValueFunction); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "op", _p?.op); + _o.set(_j, "type", _p?.type); + _o.set(_j, "typmod", _p?.typmod); + _o.set(_j, "location", _p?.location); + return _j; + }, + xmlExpr(_p?: XmlExpr): XmlExpr { + const _j = ({} as XmlExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "op", _p?.op); + _o.set(_j, "name", _p?.name); + _o.set(_j, "named_args", _p?.named_args); + _o.set(_j, "arg_names", _p?.arg_names); + _o.set(_j, "args", _p?.args); + _o.set(_j, "xmloption", _p?.xmloption); + _o.set(_j, "indent", _p?.indent); + _o.set(_j, "type", _p?.type); + _o.set(_j, "typmod", _p?.typmod); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonFormat(_p?: JsonFormat): JsonFormat { + const _j = ({} as JsonFormat); + _o.set(_j, "format_type", _p?.format_type); + _o.set(_j, "encoding", _p?.encoding); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonReturning(_p?: JsonReturning): JsonReturning { + const _j = ({} as JsonReturning); + _o.set(_j, "format", _p?.format); + _o.set(_j, "typid", _p?.typid); + _o.set(_j, "typmod", _p?.typmod); + return _j; + }, + jsonValueExpr(_p?: JsonValueExpr): JsonValueExpr { + const _j = ({} as JsonValueExpr); + _o.set(_j, "raw_expr", _p?.raw_expr); + _o.set(_j, "formatted_expr", _p?.formatted_expr); + _o.set(_j, "format", _p?.format); + return _j; + }, + jsonConstructorExpr(_p?: JsonConstructorExpr): JsonConstructorExpr { + const _j = ({} as JsonConstructorExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "type", _p?.type); + _o.set(_j, "args", _p?.args); + _o.set(_j, "func", _p?.func); + _o.set(_j, "coercion", _p?.coercion); + _o.set(_j, "returning", _p?.returning); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "unique", _p?.unique); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonIsPredicate(_p?: JsonIsPredicate): JsonIsPredicate { + const _j = ({} as JsonIsPredicate); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "format", _p?.format); + _o.set(_j, "item_type", _p?.item_type); + _o.set(_j, "unique_keys", _p?.unique_keys); + _o.set(_j, "location", _p?.location); + return _j; + }, + nullTest(_p?: NullTest): NullTest { + const _j = ({} as NullTest); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "nulltesttype", _p?.nulltesttype); + _o.set(_j, "argisrow", _p?.argisrow); + _o.set(_j, "location", _p?.location); + return _j; + }, + booleanTest(_p?: BooleanTest): BooleanTest { + const _j = ({} as BooleanTest); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "booltesttype", _p?.booltesttype); + _o.set(_j, "location", _p?.location); + return _j; + }, + coerceToDomain(_p?: CoerceToDomain): CoerceToDomain { + const _j = ({} as CoerceToDomain); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "coercionformat", _p?.coercionformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + coerceToDomainValue(_p?: CoerceToDomainValue): CoerceToDomainValue { + const _j = ({} as CoerceToDomainValue); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "typeId", _p?.typeId); + _o.set(_j, "typeMod", _p?.typeMod); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "location", _p?.location); + return _j; + }, + setToDefault(_p?: SetToDefault): SetToDefault { + const _j = ({} as SetToDefault); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "typeId", _p?.typeId); + _o.set(_j, "typeMod", _p?.typeMod); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "location", _p?.location); + return _j; + }, + currentOfExpr(_p?: CurrentOfExpr): CurrentOfExpr { + const _j = ({} as CurrentOfExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "cvarno", _p?.cvarno); + _o.set(_j, "cursor_name", _p?.cursor_name); + _o.set(_j, "cursor_param", _p?.cursor_param); + return _j; + }, + nextValueExpr(_p?: NextValueExpr): NextValueExpr { + const _j = ({} as NextValueExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "seqid", _p?.seqid); + _o.set(_j, "typeId", _p?.typeId); + return _j; + }, + inferenceElem(_p?: InferenceElem): InferenceElem { + const _j = ({} as InferenceElem); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "infercollid", _p?.infercollid); + _o.set(_j, "inferopclass", _p?.inferopclass); + return _j; + }, + targetEntry(_p?: TargetEntry): TargetEntry { + const _j = ({} as TargetEntry); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "resno", _p?.resno); + _o.set(_j, "resname", _p?.resname); + _o.set(_j, "ressortgroupref", _p?.ressortgroupref); + _o.set(_j, "resorigtbl", _p?.resorigtbl); + _o.set(_j, "resorigcol", _p?.resorigcol); + _o.set(_j, "resjunk", _p?.resjunk); + return _j; + }, + rangeTblRef(_p?: RangeTblRef): RangeTblRef { + const _j = ({} as RangeTblRef); + _o.set(_j, "rtindex", _p?.rtindex); + return _j; + }, + joinExpr(_p?: JoinExpr): JoinExpr { + const _j = ({} as JoinExpr); + _o.set(_j, "jointype", _p?.jointype); + _o.set(_j, "isNatural", _p?.isNatural); + _o.set(_j, "larg", _p?.larg); + _o.set(_j, "rarg", _p?.rarg); + _o.set(_j, "usingClause", _p?.usingClause); + _o.set(_j, "join_using_alias", _p?.join_using_alias); + _o.set(_j, "quals", _p?.quals); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "rtindex", _p?.rtindex); + return _j; + }, + fromExpr(_p?: FromExpr): FromExpr { + const _j = ({} as FromExpr); + _o.set(_j, "fromlist", _p?.fromlist); + _o.set(_j, "quals", _p?.quals); + return _j; + }, + onConflictExpr(_p?: OnConflictExpr): OnConflictExpr { + const _j = ({} as OnConflictExpr); + _o.set(_j, "action", _p?.action); + _o.set(_j, "arbiterElems", _p?.arbiterElems); + _o.set(_j, "arbiterWhere", _p?.arbiterWhere); + _o.set(_j, "constraint", _p?.constraint); + _o.set(_j, "onConflictSet", _p?.onConflictSet); + _o.set(_j, "onConflictWhere", _p?.onConflictWhere); + _o.set(_j, "exclRelIndex", _p?.exclRelIndex); + _o.set(_j, "exclRelTlist", _p?.exclRelTlist); + return _j; + }, + query(_p?: Query): Query { + const _j = ({} as Query); + _o.set(_j, "commandType", _p?.commandType); + _o.set(_j, "querySource", _p?.querySource); + _o.set(_j, "canSetTag", _p?.canSetTag); + _o.set(_j, "utilityStmt", _p?.utilityStmt); + _o.set(_j, "resultRelation", _p?.resultRelation); + _o.set(_j, "hasAggs", _p?.hasAggs); + _o.set(_j, "hasWindowFuncs", _p?.hasWindowFuncs); + _o.set(_j, "hasTargetSRFs", _p?.hasTargetSRFs); + _o.set(_j, "hasSubLinks", _p?.hasSubLinks); + _o.set(_j, "hasDistinctOn", _p?.hasDistinctOn); + _o.set(_j, "hasRecursive", _p?.hasRecursive); + _o.set(_j, "hasModifyingCTE", _p?.hasModifyingCTE); + _o.set(_j, "hasForUpdate", _p?.hasForUpdate); + _o.set(_j, "hasRowSecurity", _p?.hasRowSecurity); + _o.set(_j, "isReturn", _p?.isReturn); + _o.set(_j, "cteList", _p?.cteList); + _o.set(_j, "rtable", _p?.rtable); + _o.set(_j, "rteperminfos", _p?.rteperminfos); + _o.set(_j, "jointree", _p?.jointree); + _o.set(_j, "mergeActionList", _p?.mergeActionList); + _o.set(_j, "mergeUseOuterJoin", _p?.mergeUseOuterJoin); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "override", _p?.override); + _o.set(_j, "onConflict", _p?.onConflict); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "groupClause", _p?.groupClause); + _o.set(_j, "groupDistinct", _p?.groupDistinct); + _o.set(_j, "groupingSets", _p?.groupingSets); + _o.set(_j, "havingQual", _p?.havingQual); + _o.set(_j, "windowClause", _p?.windowClause); + _o.set(_j, "distinctClause", _p?.distinctClause); + _o.set(_j, "sortClause", _p?.sortClause); + _o.set(_j, "limitOffset", _p?.limitOffset); + _o.set(_j, "limitCount", _p?.limitCount); + _o.set(_j, "limitOption", _p?.limitOption); + _o.set(_j, "rowMarks", _p?.rowMarks); + _o.set(_j, "setOperations", _p?.setOperations); + _o.set(_j, "constraintDeps", _p?.constraintDeps); + _o.set(_j, "withCheckOptions", _p?.withCheckOptions); + _o.set(_j, "stmt_location", _p?.stmt_location); + _o.set(_j, "stmt_len", _p?.stmt_len); + return _j; + }, + typeName(_p?: TypeName): TypeName { + const _j = ({} as TypeName); + _o.set(_j, "names", _p?.names); + _o.set(_j, "typeOid", _p?.typeOid); + _o.set(_j, "setof", _p?.setof); + _o.set(_j, "pct_type", _p?.pct_type); + _o.set(_j, "typmods", _p?.typmods); + _o.set(_j, "typemod", _p?.typemod); + _o.set(_j, "arrayBounds", _p?.arrayBounds); + _o.set(_j, "location", _p?.location); + return _j; + }, + columnRef(_p?: ColumnRef): ColumnRef { + const _j = ({} as ColumnRef); + _o.set(_j, "fields", _p?.fields); + _o.set(_j, "location", _p?.location); + return _j; + }, + paramRef(_p?: ParamRef): ParamRef { + const _j = ({} as ParamRef); + _o.set(_j, "number", _p?.number); + _o.set(_j, "location", _p?.location); + return _j; + }, + aExpr(_p?: A_Expr): A_Expr { + const _j = ({} as A_Expr); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "name", _p?.name); + _o.set(_j, "lexpr", _p?.lexpr); + _o.set(_j, "rexpr", _p?.rexpr); + _o.set(_j, "location", _p?.location); + return _j; + }, + typeCast(_p?: TypeCast): TypeCast { + const _j = ({} as TypeCast); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "location", _p?.location); + return _j; + }, + collateClause(_p?: CollateClause): CollateClause { + const _j = ({} as CollateClause); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "collname", _p?.collname); + _o.set(_j, "location", _p?.location); + return _j; + }, + roleSpec(_p?: RoleSpec): RoleSpec { + const _j = ({} as RoleSpec); + _o.set(_j, "roletype", _p?.roletype); + _o.set(_j, "rolename", _p?.rolename); + _o.set(_j, "location", _p?.location); + return _j; + }, + funcCall(_p?: FuncCall): FuncCall { + const _j = ({} as FuncCall); + _o.set(_j, "funcname", _p?.funcname); + _o.set(_j, "args", _p?.args); + _o.set(_j, "agg_order", _p?.agg_order); + _o.set(_j, "agg_filter", _p?.agg_filter); + _o.set(_j, "over", _p?.over); + _o.set(_j, "agg_within_group", _p?.agg_within_group); + _o.set(_j, "agg_star", _p?.agg_star); + _o.set(_j, "agg_distinct", _p?.agg_distinct); + _o.set(_j, "func_variadic", _p?.func_variadic); + _o.set(_j, "funcformat", _p?.funcformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + aStar(_p?: A_Star): A_Star { + const _j = ({} as A_Star); + return _j; + }, + aIndices(_p?: A_Indices): A_Indices { + const _j = ({} as A_Indices); + _o.set(_j, "is_slice", _p?.is_slice); + _o.set(_j, "lidx", _p?.lidx); + _o.set(_j, "uidx", _p?.uidx); + return _j; + }, + aIndirection(_p?: A_Indirection): A_Indirection { + const _j = ({} as A_Indirection); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "indirection", _p?.indirection); + return _j; + }, + aArrayExpr(_p?: A_ArrayExpr): A_ArrayExpr { + const _j = ({} as A_ArrayExpr); + _o.set(_j, "elements", _p?.elements); + _o.set(_j, "location", _p?.location); + return _j; + }, + resTarget(_p?: ResTarget): ResTarget { + const _j = ({} as ResTarget); + _o.set(_j, "name", _p?.name); + _o.set(_j, "indirection", _p?.indirection); + _o.set(_j, "val", _p?.val); + _o.set(_j, "location", _p?.location); + return _j; + }, + multiAssignRef(_p?: MultiAssignRef): MultiAssignRef { + const _j = ({} as MultiAssignRef); + _o.set(_j, "source", _p?.source); + _o.set(_j, "colno", _p?.colno); + _o.set(_j, "ncolumns", _p?.ncolumns); + return _j; + }, + sortBy(_p?: SortBy): SortBy { + const _j = ({} as SortBy); + _o.set(_j, "node", _p?.node); + _o.set(_j, "sortby_dir", _p?.sortby_dir); + _o.set(_j, "sortby_nulls", _p?.sortby_nulls); + _o.set(_j, "useOp", _p?.useOp); + _o.set(_j, "location", _p?.location); + return _j; + }, + windowDef(_p?: WindowDef): WindowDef { + const _j = ({} as WindowDef); + _o.set(_j, "name", _p?.name); + _o.set(_j, "refname", _p?.refname); + _o.set(_j, "partitionClause", _p?.partitionClause); + _o.set(_j, "orderClause", _p?.orderClause); + _o.set(_j, "frameOptions", _p?.frameOptions); + _o.set(_j, "startOffset", _p?.startOffset); + _o.set(_j, "endOffset", _p?.endOffset); + _o.set(_j, "location", _p?.location); + return _j; + }, + rangeSubselect(_p?: RangeSubselect): RangeSubselect { + const _j = ({} as RangeSubselect); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "subquery", _p?.subquery); + _o.set(_j, "alias", _p?.alias); + return _j; + }, + rangeFunction(_p?: RangeFunction): RangeFunction { + const _j = ({} as RangeFunction); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "ordinality", _p?.ordinality); + _o.set(_j, "is_rowsfrom", _p?.is_rowsfrom); + _o.set(_j, "functions", _p?.functions); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "coldeflist", _p?.coldeflist); + return _j; + }, + rangeTableFunc(_p?: RangeTableFunc): RangeTableFunc { + const _j = ({} as RangeTableFunc); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "docexpr", _p?.docexpr); + _o.set(_j, "rowexpr", _p?.rowexpr); + _o.set(_j, "namespaces", _p?.namespaces); + _o.set(_j, "columns", _p?.columns); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "location", _p?.location); + return _j; + }, + rangeTableFuncCol(_p?: RangeTableFuncCol): RangeTableFuncCol { + const _j = ({} as RangeTableFuncCol); + _o.set(_j, "colname", _p?.colname); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "for_ordinality", _p?.for_ordinality); + _o.set(_j, "is_not_null", _p?.is_not_null); + _o.set(_j, "colexpr", _p?.colexpr); + _o.set(_j, "coldefexpr", _p?.coldefexpr); + _o.set(_j, "location", _p?.location); + return _j; + }, + rangeTableSample(_p?: RangeTableSample): RangeTableSample { + const _j = ({} as RangeTableSample); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "method", _p?.method); + _o.set(_j, "args", _p?.args); + _o.set(_j, "repeatable", _p?.repeatable); + _o.set(_j, "location", _p?.location); + return _j; + }, + columnDef(_p?: ColumnDef): ColumnDef { + const _j = ({} as ColumnDef); + _o.set(_j, "colname", _p?.colname); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "compression", _p?.compression); + _o.set(_j, "inhcount", _p?.inhcount); + _o.set(_j, "is_local", _p?.is_local); + _o.set(_j, "is_not_null", _p?.is_not_null); + _o.set(_j, "is_from_type", _p?.is_from_type); + _o.set(_j, "storage", _p?.storage); + _o.set(_j, "storage_name", _p?.storage_name); + _o.set(_j, "raw_default", _p?.raw_default); + _o.set(_j, "cooked_default", _p?.cooked_default); + _o.set(_j, "identity", _p?.identity); + _o.set(_j, "identitySequence", _p?.identitySequence); + _o.set(_j, "generated", _p?.generated); + _o.set(_j, "collClause", _p?.collClause); + _o.set(_j, "collOid", _p?.collOid); + _o.set(_j, "constraints", _p?.constraints); + _o.set(_j, "fdwoptions", _p?.fdwoptions); + _o.set(_j, "location", _p?.location); + return _j; + }, + tableLikeClause(_p?: TableLikeClause): TableLikeClause { + const _j = ({} as TableLikeClause); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "options", _p?.options); + _o.set(_j, "relationOid", _p?.relationOid); + return _j; + }, + indexElem(_p?: IndexElem): IndexElem { + const _j = ({} as IndexElem); + _o.set(_j, "name", _p?.name); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "indexcolname", _p?.indexcolname); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "opclass", _p?.opclass); + _o.set(_j, "opclassopts", _p?.opclassopts); + _o.set(_j, "ordering", _p?.ordering); + _o.set(_j, "nulls_ordering", _p?.nulls_ordering); + return _j; + }, + defElem(_p?: DefElem): DefElem { + const _j = ({} as DefElem); + _o.set(_j, "defnamespace", _p?.defnamespace); + _o.set(_j, "defname", _p?.defname); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "defaction", _p?.defaction); + _o.set(_j, "location", _p?.location); + return _j; + }, + lockingClause(_p?: LockingClause): LockingClause { + const _j = ({} as LockingClause); + _o.set(_j, "lockedRels", _p?.lockedRels); + _o.set(_j, "strength", _p?.strength); + _o.set(_j, "waitPolicy", _p?.waitPolicy); + return _j; + }, + xmlSerialize(_p?: XmlSerialize): XmlSerialize { + const _j = ({} as XmlSerialize); + _o.set(_j, "xmloption", _p?.xmloption); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "indent", _p?.indent); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionElem(_p?: PartitionElem): PartitionElem { + const _j = ({} as PartitionElem); + _o.set(_j, "name", _p?.name); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "opclass", _p?.opclass); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionSpec(_p?: PartitionSpec): PartitionSpec { + const _j = ({} as PartitionSpec); + _o.set(_j, "strategy", _p?.strategy); + _o.set(_j, "partParams", _p?.partParams); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionBoundSpec(_p?: PartitionBoundSpec): PartitionBoundSpec { + const _j = ({} as PartitionBoundSpec); + _o.set(_j, "strategy", _p?.strategy); + _o.set(_j, "is_default", _p?.is_default); + _o.set(_j, "modulus", _p?.modulus); + _o.set(_j, "remainder", _p?.remainder); + _o.set(_j, "listdatums", _p?.listdatums); + _o.set(_j, "lowerdatums", _p?.lowerdatums); + _o.set(_j, "upperdatums", _p?.upperdatums); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionRangeDatum(_p?: PartitionRangeDatum): PartitionRangeDatum { + const _j = ({} as PartitionRangeDatum); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "value", _p?.value); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionCmd(_p?: PartitionCmd): PartitionCmd { + const _j = ({} as PartitionCmd); + _o.set(_j, "name", _p?.name); + _o.set(_j, "bound", _p?.bound); + _o.set(_j, "concurrent", _p?.concurrent); + return _j; + }, + rangeTblEntry(_p?: RangeTblEntry): RangeTblEntry { + const _j = ({} as RangeTblEntry); + _o.set(_j, "rtekind", _p?.rtekind); + _o.set(_j, "relid", _p?.relid); + _o.set(_j, "relkind", _p?.relkind); + _o.set(_j, "rellockmode", _p?.rellockmode); + _o.set(_j, "tablesample", _p?.tablesample); + _o.set(_j, "perminfoindex", _p?.perminfoindex); + _o.set(_j, "subquery", _p?.subquery); + _o.set(_j, "security_barrier", _p?.security_barrier); + _o.set(_j, "jointype", _p?.jointype); + _o.set(_j, "joinmergedcols", _p?.joinmergedcols); + _o.set(_j, "joinaliasvars", _p?.joinaliasvars); + _o.set(_j, "joinleftcols", _p?.joinleftcols); + _o.set(_j, "joinrightcols", _p?.joinrightcols); + _o.set(_j, "join_using_alias", _p?.join_using_alias); + _o.set(_j, "functions", _p?.functions); + _o.set(_j, "funcordinality", _p?.funcordinality); + _o.set(_j, "tablefunc", _p?.tablefunc); + _o.set(_j, "values_lists", _p?.values_lists); + _o.set(_j, "ctename", _p?.ctename); + _o.set(_j, "ctelevelsup", _p?.ctelevelsup); + _o.set(_j, "self_reference", _p?.self_reference); + _o.set(_j, "coltypes", _p?.coltypes); + _o.set(_j, "coltypmods", _p?.coltypmods); + _o.set(_j, "colcollations", _p?.colcollations); + _o.set(_j, "enrname", _p?.enrname); + _o.set(_j, "enrtuples", _p?.enrtuples); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "eref", _p?.eref); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "inh", _p?.inh); + _o.set(_j, "inFromCl", _p?.inFromCl); + _o.set(_j, "securityQuals", _p?.securityQuals); + return _j; + }, + rtePermissionInfo(_p?: RTEPermissionInfo): RTEPermissionInfo { + const _j = ({} as RTEPermissionInfo); + _o.set(_j, "relid", _p?.relid); + _o.set(_j, "inh", _p?.inh); + _o.set(_j, "requiredPerms", _p?.requiredPerms); + _o.set(_j, "checkAsUser", _p?.checkAsUser); + _o.set(_j, "selectedCols", _p?.selectedCols); + _o.set(_j, "insertedCols", _p?.insertedCols); + _o.set(_j, "updatedCols", _p?.updatedCols); + return _j; + }, + rangeTblFunction(_p?: RangeTblFunction): RangeTblFunction { + const _j = ({} as RangeTblFunction); + _o.set(_j, "funcexpr", _p?.funcexpr); + _o.set(_j, "funccolcount", _p?.funccolcount); + _o.set(_j, "funccolnames", _p?.funccolnames); + _o.set(_j, "funccoltypes", _p?.funccoltypes); + _o.set(_j, "funccoltypmods", _p?.funccoltypmods); + _o.set(_j, "funccolcollations", _p?.funccolcollations); + _o.set(_j, "funcparams", _p?.funcparams); + return _j; + }, + tableSampleClause(_p?: TableSampleClause): TableSampleClause { + const _j = ({} as TableSampleClause); + _o.set(_j, "tsmhandler", _p?.tsmhandler); + _o.set(_j, "args", _p?.args); + _o.set(_j, "repeatable", _p?.repeatable); + return _j; + }, + withCheckOption(_p?: WithCheckOption): WithCheckOption { + const _j = ({} as WithCheckOption); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "relname", _p?.relname); + _o.set(_j, "polname", _p?.polname); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "cascaded", _p?.cascaded); + return _j; + }, + sortGroupClause(_p?: SortGroupClause): SortGroupClause { + const _j = ({} as SortGroupClause); + _o.set(_j, "tleSortGroupRef", _p?.tleSortGroupRef); + _o.set(_j, "eqop", _p?.eqop); + _o.set(_j, "sortop", _p?.sortop); + _o.set(_j, "nulls_first", _p?.nulls_first); + _o.set(_j, "hashable", _p?.hashable); + return _j; + }, + groupingSet(_p?: GroupingSet): GroupingSet { + const _j = ({} as GroupingSet); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "content", _p?.content); + _o.set(_j, "location", _p?.location); + return _j; + }, + windowClause(_p?: WindowClause): WindowClause { + const _j = ({} as WindowClause); + _o.set(_j, "name", _p?.name); + _o.set(_j, "refname", _p?.refname); + _o.set(_j, "partitionClause", _p?.partitionClause); + _o.set(_j, "orderClause", _p?.orderClause); + _o.set(_j, "frameOptions", _p?.frameOptions); + _o.set(_j, "startOffset", _p?.startOffset); + _o.set(_j, "endOffset", _p?.endOffset); + _o.set(_j, "runCondition", _p?.runCondition); + _o.set(_j, "startInRangeFunc", _p?.startInRangeFunc); + _o.set(_j, "endInRangeFunc", _p?.endInRangeFunc); + _o.set(_j, "inRangeColl", _p?.inRangeColl); + _o.set(_j, "inRangeAsc", _p?.inRangeAsc); + _o.set(_j, "inRangeNullsFirst", _p?.inRangeNullsFirst); + _o.set(_j, "winref", _p?.winref); + _o.set(_j, "copiedOrder", _p?.copiedOrder); + return _j; + }, + rowMarkClause(_p?: RowMarkClause): RowMarkClause { + const _j = ({} as RowMarkClause); + _o.set(_j, "rti", _p?.rti); + _o.set(_j, "strength", _p?.strength); + _o.set(_j, "waitPolicy", _p?.waitPolicy); + _o.set(_j, "pushedDown", _p?.pushedDown); + return _j; + }, + withClause(_p?: WithClause): WithClause { + const _j = ({} as WithClause); + _o.set(_j, "ctes", _p?.ctes); + _o.set(_j, "recursive", _p?.recursive); + _o.set(_j, "location", _p?.location); + return _j; + }, + inferClause(_p?: InferClause): InferClause { + const _j = ({} as InferClause); + _o.set(_j, "indexElems", _p?.indexElems); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "conname", _p?.conname); + _o.set(_j, "location", _p?.location); + return _j; + }, + onConflictClause(_p?: OnConflictClause): OnConflictClause { + const _j = ({} as OnConflictClause); + _o.set(_j, "action", _p?.action); + _o.set(_j, "infer", _p?.infer); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "location", _p?.location); + return _j; + }, + cteSearchClause(_p?: CTESearchClause): CTESearchClause { + const _j = ({} as CTESearchClause); + _o.set(_j, "search_col_list", _p?.search_col_list); + _o.set(_j, "search_breadth_first", _p?.search_breadth_first); + _o.set(_j, "search_seq_column", _p?.search_seq_column); + _o.set(_j, "location", _p?.location); + return _j; + }, + cteCycleClause(_p?: CTECycleClause): CTECycleClause { + const _j = ({} as CTECycleClause); + _o.set(_j, "cycle_col_list", _p?.cycle_col_list); + _o.set(_j, "cycle_mark_column", _p?.cycle_mark_column); + _o.set(_j, "cycle_mark_value", _p?.cycle_mark_value); + _o.set(_j, "cycle_mark_default", _p?.cycle_mark_default); + _o.set(_j, "cycle_path_column", _p?.cycle_path_column); + _o.set(_j, "location", _p?.location); + _o.set(_j, "cycle_mark_type", _p?.cycle_mark_type); + _o.set(_j, "cycle_mark_typmod", _p?.cycle_mark_typmod); + _o.set(_j, "cycle_mark_collation", _p?.cycle_mark_collation); + _o.set(_j, "cycle_mark_neop", _p?.cycle_mark_neop); + return _j; + }, + commonTableExpr(_p?: CommonTableExpr): CommonTableExpr { + const _j = ({} as CommonTableExpr); + _o.set(_j, "ctename", _p?.ctename); + _o.set(_j, "aliascolnames", _p?.aliascolnames); + _o.set(_j, "ctematerialized", _p?.ctematerialized); + _o.set(_j, "ctequery", _p?.ctequery); + _o.set(_j, "search_clause", _p?.search_clause); + _o.set(_j, "cycle_clause", _p?.cycle_clause); + _o.set(_j, "location", _p?.location); + _o.set(_j, "cterecursive", _p?.cterecursive); + _o.set(_j, "cterefcount", _p?.cterefcount); + _o.set(_j, "ctecolnames", _p?.ctecolnames); + _o.set(_j, "ctecoltypes", _p?.ctecoltypes); + _o.set(_j, "ctecoltypmods", _p?.ctecoltypmods); + _o.set(_j, "ctecolcollations", _p?.ctecolcollations); + return _j; + }, + mergeWhenClause(_p?: MergeWhenClause): MergeWhenClause { + const _j = ({} as MergeWhenClause); + _o.set(_j, "matched", _p?.matched); + _o.set(_j, "commandType", _p?.commandType); + _o.set(_j, "override", _p?.override); + _o.set(_j, "condition", _p?.condition); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "values", _p?.values); + return _j; + }, + mergeAction(_p?: MergeAction): MergeAction { + const _j = ({} as MergeAction); + _o.set(_j, "matched", _p?.matched); + _o.set(_j, "commandType", _p?.commandType); + _o.set(_j, "override", _p?.override); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "updateColnos", _p?.updateColnos); + return _j; + }, + triggerTransition(_p?: TriggerTransition): TriggerTransition { + const _j = ({} as TriggerTransition); + _o.set(_j, "name", _p?.name); + _o.set(_j, "isNew", _p?.isNew); + _o.set(_j, "isTable", _p?.isTable); + return _j; + }, + jsonOutput(_p?: JsonOutput): JsonOutput { + const _j = ({} as JsonOutput); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "returning", _p?.returning); + return _j; + }, + jsonKeyValue(_p?: JsonKeyValue): JsonKeyValue { + const _j = ({} as JsonKeyValue); + _o.set(_j, "key", _p?.key); + _o.set(_j, "value", _p?.value); + return _j; + }, + jsonObjectConstructor(_p?: JsonObjectConstructor): JsonObjectConstructor { + const _j = ({} as JsonObjectConstructor); + _o.set(_j, "exprs", _p?.exprs); + _o.set(_j, "output", _p?.output); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "unique", _p?.unique); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonArrayConstructor(_p?: JsonArrayConstructor): JsonArrayConstructor { + const _j = ({} as JsonArrayConstructor); + _o.set(_j, "exprs", _p?.exprs); + _o.set(_j, "output", _p?.output); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonArrayQueryConstructor(_p?: JsonArrayQueryConstructor): JsonArrayQueryConstructor { + const _j = ({} as JsonArrayQueryConstructor); + _o.set(_j, "query", _p?.query); + _o.set(_j, "output", _p?.output); + _o.set(_j, "format", _p?.format); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonAggConstructor(_p?: JsonAggConstructor): JsonAggConstructor { + const _j = ({} as JsonAggConstructor); + _o.set(_j, "output", _p?.output); + _o.set(_j, "agg_filter", _p?.agg_filter); + _o.set(_j, "agg_order", _p?.agg_order); + _o.set(_j, "over", _p?.over); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonObjectAgg(_p?: JsonObjectAgg): JsonObjectAgg { + const _j = ({} as JsonObjectAgg); + _o.set(_j, "constructor", _p?.constructor); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "unique", _p?.unique); + return _j; + }, + jsonArrayAgg(_p?: JsonArrayAgg): JsonArrayAgg { + const _j = ({} as JsonArrayAgg); + _o.set(_j, "constructor", _p?.constructor); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + return _j; + }, + rawStmt(_p?: RawStmt): RawStmt { + const _j = ({} as RawStmt); + _o.set(_j, "stmt", _p?.stmt); + _o.set(_j, "stmt_location", _p?.stmt_location); + _o.set(_j, "stmt_len", _p?.stmt_len); + return _j; + }, + insertStmt(_p?: InsertStmt): InsertStmt { + const _j = ({} as InsertStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "cols", _p?.cols); + _o.set(_j, "selectStmt", _p?.selectStmt); + _o.set(_j, "onConflictClause", _p?.onConflictClause); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "withClause", _p?.withClause); + _o.set(_j, "override", _p?.override); + return _j; + }, + deleteStmt(_p?: DeleteStmt): DeleteStmt { + const _j = ({} as DeleteStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "usingClause", _p?.usingClause); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "withClause", _p?.withClause); + return _j; + }, + updateStmt(_p?: UpdateStmt): UpdateStmt { + const _j = ({} as UpdateStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "fromClause", _p?.fromClause); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "withClause", _p?.withClause); + return _j; + }, + mergeStmt(_p?: MergeStmt): MergeStmt { + const _j = ({} as MergeStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "sourceRelation", _p?.sourceRelation); + _o.set(_j, "joinCondition", _p?.joinCondition); + _o.set(_j, "mergeWhenClauses", _p?.mergeWhenClauses); + _o.set(_j, "withClause", _p?.withClause); + return _j; + }, + selectStmt(_p?: SelectStmt): SelectStmt { + const _j = ({} as SelectStmt); + _o.set(_j, "distinctClause", _p?.distinctClause); + _o.set(_j, "intoClause", _p?.intoClause); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "fromClause", _p?.fromClause); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "groupClause", _p?.groupClause); + _o.set(_j, "groupDistinct", _p?.groupDistinct); + _o.set(_j, "havingClause", _p?.havingClause); + _o.set(_j, "windowClause", _p?.windowClause); + _o.set(_j, "valuesLists", _p?.valuesLists); + _o.set(_j, "sortClause", _p?.sortClause); + _o.set(_j, "limitOffset", _p?.limitOffset); + _o.set(_j, "limitCount", _p?.limitCount); + _o.set(_j, "limitOption", _p?.limitOption); + _o.set(_j, "lockingClause", _p?.lockingClause); + _o.set(_j, "withClause", _p?.withClause); + _o.set(_j, "op", _p?.op); + _o.set(_j, "all", _p?.all); + _o.set(_j, "larg", _p?.larg); + _o.set(_j, "rarg", _p?.rarg); + return _j; + }, + setOperationStmt(_p?: SetOperationStmt): SetOperationStmt { + const _j = ({} as SetOperationStmt); + _o.set(_j, "op", _p?.op); + _o.set(_j, "all", _p?.all); + _o.set(_j, "larg", _p?.larg); + _o.set(_j, "rarg", _p?.rarg); + _o.set(_j, "colTypes", _p?.colTypes); + _o.set(_j, "colTypmods", _p?.colTypmods); + _o.set(_j, "colCollations", _p?.colCollations); + _o.set(_j, "groupClauses", _p?.groupClauses); + return _j; + }, + returnStmt(_p?: ReturnStmt): ReturnStmt { + const _j = ({} as ReturnStmt); + _o.set(_j, "returnval", _p?.returnval); + return _j; + }, + plAssignStmt(_p?: PLAssignStmt): PLAssignStmt { + const _j = ({} as PLAssignStmt); + _o.set(_j, "name", _p?.name); + _o.set(_j, "indirection", _p?.indirection); + _o.set(_j, "nnames", _p?.nnames); + _o.set(_j, "val", _p?.val); + _o.set(_j, "location", _p?.location); + return _j; + }, + createSchemaStmt(_p?: CreateSchemaStmt): CreateSchemaStmt { + const _j = ({} as CreateSchemaStmt); + _o.set(_j, "schemaname", _p?.schemaname); + _o.set(_j, "authrole", _p?.authrole); + _o.set(_j, "schemaElts", _p?.schemaElts); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + alterTableStmt(_p?: AlterTableStmt): AlterTableStmt { + const _j = ({} as AlterTableStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "cmds", _p?.cmds); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + replicaIdentityStmt(_p?: ReplicaIdentityStmt): ReplicaIdentityStmt { + const _j = ({} as ReplicaIdentityStmt); + _o.set(_j, "identity_type", _p?.identity_type); + _o.set(_j, "name", _p?.name); + return _j; + }, + alterTableCmd(_p?: AlterTableCmd): AlterTableCmd { + const _j = ({} as AlterTableCmd); + _o.set(_j, "subtype", _p?.subtype); + _o.set(_j, "name", _p?.name); + _o.set(_j, "num", _p?.num); + _o.set(_j, "newowner", _p?.newowner); + _o.set(_j, "def", _p?.def); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "recurse", _p?.recurse); + return _j; + }, + alterCollationStmt(_p?: AlterCollationStmt): AlterCollationStmt { + const _j = ({} as AlterCollationStmt); + _o.set(_j, "collname", _p?.collname); + return _j; + }, + alterDomainStmt(_p?: AlterDomainStmt): AlterDomainStmt { + const _j = ({} as AlterDomainStmt); + _o.set(_j, "subtype", _p?.subtype); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "name", _p?.name); + _o.set(_j, "def", _p?.def); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + grantStmt(_p?: GrantStmt): GrantStmt { + const _j = ({} as GrantStmt); + _o.set(_j, "is_grant", _p?.is_grant); + _o.set(_j, "targtype", _p?.targtype); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "objects", _p?.objects); + _o.set(_j, "privileges", _p?.privileges); + _o.set(_j, "grantees", _p?.grantees); + _o.set(_j, "grant_option", _p?.grant_option); + _o.set(_j, "grantor", _p?.grantor); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + objectWithArgs(_p?: ObjectWithArgs): ObjectWithArgs { + const _j = ({} as ObjectWithArgs); + _o.set(_j, "objname", _p?.objname); + _o.set(_j, "objargs", _p?.objargs); + _o.set(_j, "objfuncargs", _p?.objfuncargs); + _o.set(_j, "args_unspecified", _p?.args_unspecified); + return _j; + }, + accessPriv(_p?: AccessPriv): AccessPriv { + const _j = ({} as AccessPriv); + _o.set(_j, "priv_name", _p?.priv_name); + _o.set(_j, "cols", _p?.cols); + return _j; + }, + grantRoleStmt(_p?: GrantRoleStmt): GrantRoleStmt { + const _j = ({} as GrantRoleStmt); + _o.set(_j, "granted_roles", _p?.granted_roles); + _o.set(_j, "grantee_roles", _p?.grantee_roles); + _o.set(_j, "is_grant", _p?.is_grant); + _o.set(_j, "opt", _p?.opt); + _o.set(_j, "grantor", _p?.grantor); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + alterDefaultPrivilegesStmt(_p?: AlterDefaultPrivilegesStmt): AlterDefaultPrivilegesStmt { + const _j = ({} as AlterDefaultPrivilegesStmt); + _o.set(_j, "options", _p?.options); + _o.set(_j, "action", _p?.action); + return _j; + }, + copyStmt(_p?: CopyStmt): CopyStmt { + const _j = ({} as CopyStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "query", _p?.query); + _o.set(_j, "attlist", _p?.attlist); + _o.set(_j, "is_from", _p?.is_from); + _o.set(_j, "is_program", _p?.is_program); + _o.set(_j, "filename", _p?.filename); + _o.set(_j, "options", _p?.options); + _o.set(_j, "whereClause", _p?.whereClause); + return _j; + }, + variableSetStmt(_p?: VariableSetStmt): VariableSetStmt { + const _j = ({} as VariableSetStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "name", _p?.name); + _o.set(_j, "args", _p?.args); + _o.set(_j, "is_local", _p?.is_local); + return _j; + }, + variableShowStmt(_p?: VariableShowStmt): VariableShowStmt { + const _j = ({} as VariableShowStmt); + _o.set(_j, "name", _p?.name); + return _j; + }, + createStmt(_p?: CreateStmt): CreateStmt { + const _j = ({} as CreateStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "tableElts", _p?.tableElts); + _o.set(_j, "inhRelations", _p?.inhRelations); + _o.set(_j, "partbound", _p?.partbound); + _o.set(_j, "partspec", _p?.partspec); + _o.set(_j, "ofTypename", _p?.ofTypename); + _o.set(_j, "constraints", _p?.constraints); + _o.set(_j, "options", _p?.options); + _o.set(_j, "oncommit", _p?.oncommit); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "accessMethod", _p?.accessMethod); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + constraint(_p?: Constraint): Constraint { + const _j = ({} as Constraint); + _o.set(_j, "contype", _p?.contype); + _o.set(_j, "conname", _p?.conname); + _o.set(_j, "deferrable", _p?.deferrable); + _o.set(_j, "initdeferred", _p?.initdeferred); + _o.set(_j, "location", _p?.location); + _o.set(_j, "is_no_inherit", _p?.is_no_inherit); + _o.set(_j, "raw_expr", _p?.raw_expr); + _o.set(_j, "cooked_expr", _p?.cooked_expr); + _o.set(_j, "generated_when", _p?.generated_when); + _o.set(_j, "nulls_not_distinct", _p?.nulls_not_distinct); + _o.set(_j, "keys", _p?.keys); + _o.set(_j, "including", _p?.including); + _o.set(_j, "exclusions", _p?.exclusions); + _o.set(_j, "options", _p?.options); + _o.set(_j, "indexname", _p?.indexname); + _o.set(_j, "indexspace", _p?.indexspace); + _o.set(_j, "reset_default_tblspc", _p?.reset_default_tblspc); + _o.set(_j, "access_method", _p?.access_method); + _o.set(_j, "where_clause", _p?.where_clause); + _o.set(_j, "pktable", _p?.pktable); + _o.set(_j, "fk_attrs", _p?.fk_attrs); + _o.set(_j, "pk_attrs", _p?.pk_attrs); + _o.set(_j, "fk_matchtype", _p?.fk_matchtype); + _o.set(_j, "fk_upd_action", _p?.fk_upd_action); + _o.set(_j, "fk_del_action", _p?.fk_del_action); + _o.set(_j, "fk_del_set_cols", _p?.fk_del_set_cols); + _o.set(_j, "old_conpfeqop", _p?.old_conpfeqop); + _o.set(_j, "old_pktable_oid", _p?.old_pktable_oid); + _o.set(_j, "skip_validation", _p?.skip_validation); + _o.set(_j, "initially_valid", _p?.initially_valid); + return _j; + }, + createTableSpaceStmt(_p?: CreateTableSpaceStmt): CreateTableSpaceStmt { + const _j = ({} as CreateTableSpaceStmt); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "owner", _p?.owner); + _o.set(_j, "location", _p?.location); + _o.set(_j, "options", _p?.options); + return _j; + }, + dropTableSpaceStmt(_p?: DropTableSpaceStmt): DropTableSpaceStmt { + const _j = ({} as DropTableSpaceStmt); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + alterTableSpaceOptionsStmt(_p?: AlterTableSpaceOptionsStmt): AlterTableSpaceOptionsStmt { + const _j = ({} as AlterTableSpaceOptionsStmt); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "options", _p?.options); + _o.set(_j, "isReset", _p?.isReset); + return _j; + }, + alterTableMoveAllStmt(_p?: AlterTableMoveAllStmt): AlterTableMoveAllStmt { + const _j = ({} as AlterTableMoveAllStmt); + _o.set(_j, "orig_tablespacename", _p?.orig_tablespacename); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "new_tablespacename", _p?.new_tablespacename); + _o.set(_j, "nowait", _p?.nowait); + return _j; + }, + createExtensionStmt(_p?: CreateExtensionStmt): CreateExtensionStmt { + const _j = ({} as CreateExtensionStmt); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterExtensionStmt(_p?: AlterExtensionStmt): AlterExtensionStmt { + const _j = ({} as AlterExtensionStmt); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterExtensionContentsStmt(_p?: AlterExtensionContentsStmt): AlterExtensionContentsStmt { + const _j = ({} as AlterExtensionContentsStmt); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "action", _p?.action); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "object", _p?.object); + return _j; + }, + createFdwStmt(_p?: CreateFdwStmt): CreateFdwStmt { + const _j = ({} as CreateFdwStmt); + _o.set(_j, "fdwname", _p?.fdwname); + _o.set(_j, "func_options", _p?.func_options); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterFdwStmt(_p?: AlterFdwStmt): AlterFdwStmt { + const _j = ({} as AlterFdwStmt); + _o.set(_j, "fdwname", _p?.fdwname); + _o.set(_j, "func_options", _p?.func_options); + _o.set(_j, "options", _p?.options); + return _j; + }, + createForeignServerStmt(_p?: CreateForeignServerStmt): CreateForeignServerStmt { + const _j = ({} as CreateForeignServerStmt); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "servertype", _p?.servertype); + _o.set(_j, "version", _p?.version); + _o.set(_j, "fdwname", _p?.fdwname); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterForeignServerStmt(_p?: AlterForeignServerStmt): AlterForeignServerStmt { + const _j = ({} as AlterForeignServerStmt); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "version", _p?.version); + _o.set(_j, "options", _p?.options); + _o.set(_j, "has_version", _p?.has_version); + return _j; + }, + createForeignTableStmt(_p?: CreateForeignTableStmt): CreateForeignTableStmt { + const _j = ({} as CreateForeignTableStmt); + _o.set(_j, "base", _p?.base); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "options", _p?.options); + return _j; + }, + createUserMappingStmt(_p?: CreateUserMappingStmt): CreateUserMappingStmt { + const _j = ({} as CreateUserMappingStmt); + _o.set(_j, "user", _p?.user); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterUserMappingStmt(_p?: AlterUserMappingStmt): AlterUserMappingStmt { + const _j = ({} as AlterUserMappingStmt); + _o.set(_j, "user", _p?.user); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "options", _p?.options); + return _j; + }, + dropUserMappingStmt(_p?: DropUserMappingStmt): DropUserMappingStmt { + const _j = ({} as DropUserMappingStmt); + _o.set(_j, "user", _p?.user); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + importForeignSchemaStmt(_p?: ImportForeignSchemaStmt): ImportForeignSchemaStmt { + const _j = ({} as ImportForeignSchemaStmt); + _o.set(_j, "server_name", _p?.server_name); + _o.set(_j, "remote_schema", _p?.remote_schema); + _o.set(_j, "local_schema", _p?.local_schema); + _o.set(_j, "list_type", _p?.list_type); + _o.set(_j, "table_list", _p?.table_list); + _o.set(_j, "options", _p?.options); + return _j; + }, + createPolicyStmt(_p?: CreatePolicyStmt): CreatePolicyStmt { + const _j = ({} as CreatePolicyStmt); + _o.set(_j, "policy_name", _p?.policy_name); + _o.set(_j, "table", _p?.table); + _o.set(_j, "cmd_name", _p?.cmd_name); + _o.set(_j, "permissive", _p?.permissive); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "with_check", _p?.with_check); + return _j; + }, + alterPolicyStmt(_p?: AlterPolicyStmt): AlterPolicyStmt { + const _j = ({} as AlterPolicyStmt); + _o.set(_j, "policy_name", _p?.policy_name); + _o.set(_j, "table", _p?.table); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "with_check", _p?.with_check); + return _j; + }, + createAmStmt(_p?: CreateAmStmt): CreateAmStmt { + const _j = ({} as CreateAmStmt); + _o.set(_j, "amname", _p?.amname); + _o.set(_j, "handler_name", _p?.handler_name); + _o.set(_j, "amtype", _p?.amtype); + return _j; + }, + createTrigStmt(_p?: CreateTrigStmt): CreateTrigStmt { + const _j = ({} as CreateTrigStmt); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "isconstraint", _p?.isconstraint); + _o.set(_j, "trigname", _p?.trigname); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "funcname", _p?.funcname); + _o.set(_j, "args", _p?.args); + _o.set(_j, "row", _p?.row); + _o.set(_j, "timing", _p?.timing); + _o.set(_j, "events", _p?.events); + _o.set(_j, "columns", _p?.columns); + _o.set(_j, "whenClause", _p?.whenClause); + _o.set(_j, "transitionRels", _p?.transitionRels); + _o.set(_j, "deferrable", _p?.deferrable); + _o.set(_j, "initdeferred", _p?.initdeferred); + _o.set(_j, "constrrel", _p?.constrrel); + return _j; + }, + createEventTrigStmt(_p?: CreateEventTrigStmt): CreateEventTrigStmt { + const _j = ({} as CreateEventTrigStmt); + _o.set(_j, "trigname", _p?.trigname); + _o.set(_j, "eventname", _p?.eventname); + _o.set(_j, "whenclause", _p?.whenclause); + _o.set(_j, "funcname", _p?.funcname); + return _j; + }, + alterEventTrigStmt(_p?: AlterEventTrigStmt): AlterEventTrigStmt { + const _j = ({} as AlterEventTrigStmt); + _o.set(_j, "trigname", _p?.trigname); + _o.set(_j, "tgenabled", _p?.tgenabled); + return _j; + }, + createpLangStmt(_p?: CreatePLangStmt): CreatePLangStmt { + const _j = ({} as CreatePLangStmt); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "plname", _p?.plname); + _o.set(_j, "plhandler", _p?.plhandler); + _o.set(_j, "plinline", _p?.plinline); + _o.set(_j, "plvalidator", _p?.plvalidator); + _o.set(_j, "pltrusted", _p?.pltrusted); + return _j; + }, + createRoleStmt(_p?: CreateRoleStmt): CreateRoleStmt { + const _j = ({} as CreateRoleStmt); + _o.set(_j, "stmt_type", _p?.stmt_type); + _o.set(_j, "role", _p?.role); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterRoleStmt(_p?: AlterRoleStmt): AlterRoleStmt { + const _j = ({} as AlterRoleStmt); + _o.set(_j, "role", _p?.role); + _o.set(_j, "options", _p?.options); + _o.set(_j, "action", _p?.action); + return _j; + }, + alterRoleSetStmt(_p?: AlterRoleSetStmt): AlterRoleSetStmt { + const _j = ({} as AlterRoleSetStmt); + _o.set(_j, "role", _p?.role); + _o.set(_j, "database", _p?.database); + _o.set(_j, "setstmt", _p?.setstmt); + return _j; + }, + dropRoleStmt(_p?: DropRoleStmt): DropRoleStmt { + const _j = ({} as DropRoleStmt); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + createSeqStmt(_p?: CreateSeqStmt): CreateSeqStmt { + const _j = ({} as CreateSeqStmt); + _o.set(_j, "sequence", _p?.sequence); + _o.set(_j, "options", _p?.options); + _o.set(_j, "ownerId", _p?.ownerId); + _o.set(_j, "for_identity", _p?.for_identity); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + alterSeqStmt(_p?: AlterSeqStmt): AlterSeqStmt { + const _j = ({} as AlterSeqStmt); + _o.set(_j, "sequence", _p?.sequence); + _o.set(_j, "options", _p?.options); + _o.set(_j, "for_identity", _p?.for_identity); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + defineStmt(_p?: DefineStmt): DefineStmt { + const _j = ({} as DefineStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "oldstyle", _p?.oldstyle); + _o.set(_j, "defnames", _p?.defnames); + _o.set(_j, "args", _p?.args); + _o.set(_j, "definition", _p?.definition); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "replace", _p?.replace); + return _j; + }, + createDomainStmt(_p?: CreateDomainStmt): CreateDomainStmt { + const _j = ({} as CreateDomainStmt); + _o.set(_j, "domainname", _p?.domainname); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "collClause", _p?.collClause); + _o.set(_j, "constraints", _p?.constraints); + return _j; + }, + createOpClassStmt(_p?: CreateOpClassStmt): CreateOpClassStmt { + const _j = ({} as CreateOpClassStmt); + _o.set(_j, "opclassname", _p?.opclassname); + _o.set(_j, "opfamilyname", _p?.opfamilyname); + _o.set(_j, "amname", _p?.amname); + _o.set(_j, "datatype", _p?.datatype); + _o.set(_j, "items", _p?.items); + _o.set(_j, "isDefault", _p?.isDefault); + return _j; + }, + createOpClassItem(_p?: CreateOpClassItem): CreateOpClassItem { + const _j = ({} as CreateOpClassItem); + _o.set(_j, "itemtype", _p?.itemtype); + _o.set(_j, "name", _p?.name); + _o.set(_j, "number", _p?.number); + _o.set(_j, "order_family", _p?.order_family); + _o.set(_j, "class_args", _p?.class_args); + _o.set(_j, "storedtype", _p?.storedtype); + return _j; + }, + createOpFamilyStmt(_p?: CreateOpFamilyStmt): CreateOpFamilyStmt { + const _j = ({} as CreateOpFamilyStmt); + _o.set(_j, "opfamilyname", _p?.opfamilyname); + _o.set(_j, "amname", _p?.amname); + return _j; + }, + alterOpFamilyStmt(_p?: AlterOpFamilyStmt): AlterOpFamilyStmt { + const _j = ({} as AlterOpFamilyStmt); + _o.set(_j, "opfamilyname", _p?.opfamilyname); + _o.set(_j, "amname", _p?.amname); + _o.set(_j, "isDrop", _p?.isDrop); + _o.set(_j, "items", _p?.items); + return _j; + }, + dropStmt(_p?: DropStmt): DropStmt { + const _j = ({} as DropStmt); + _o.set(_j, "objects", _p?.objects); + _o.set(_j, "removeType", _p?.removeType); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "concurrent", _p?.concurrent); + return _j; + }, + truncateStmt(_p?: TruncateStmt): TruncateStmt { + const _j = ({} as TruncateStmt); + _o.set(_j, "relations", _p?.relations); + _o.set(_j, "restart_seqs", _p?.restart_seqs); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + commentStmt(_p?: CommentStmt): CommentStmt { + const _j = ({} as CommentStmt); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "object", _p?.object); + _o.set(_j, "comment", _p?.comment); + return _j; + }, + secLabelStmt(_p?: SecLabelStmt): SecLabelStmt { + const _j = ({} as SecLabelStmt); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "object", _p?.object); + _o.set(_j, "provider", _p?.provider); + _o.set(_j, "label", _p?.label); + return _j; + }, + declareCursorStmt(_p?: DeclareCursorStmt): DeclareCursorStmt { + const _j = ({} as DeclareCursorStmt); + _o.set(_j, "portalname", _p?.portalname); + _o.set(_j, "options", _p?.options); + _o.set(_j, "query", _p?.query); + return _j; + }, + closePortalStmt(_p?: ClosePortalStmt): ClosePortalStmt { + const _j = ({} as ClosePortalStmt); + _o.set(_j, "portalname", _p?.portalname); + return _j; + }, + fetchStmt(_p?: FetchStmt): FetchStmt { + const _j = ({} as FetchStmt); + _o.set(_j, "direction", _p?.direction); + _o.set(_j, "howMany", _p?.howMany); + _o.set(_j, "portalname", _p?.portalname); + _o.set(_j, "ismove", _p?.ismove); + return _j; + }, + indexStmt(_p?: IndexStmt): IndexStmt { + const _j = ({} as IndexStmt); + _o.set(_j, "idxname", _p?.idxname); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "accessMethod", _p?.accessMethod); + _o.set(_j, "tableSpace", _p?.tableSpace); + _o.set(_j, "indexParams", _p?.indexParams); + _o.set(_j, "indexIncludingParams", _p?.indexIncludingParams); + _o.set(_j, "options", _p?.options); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "excludeOpNames", _p?.excludeOpNames); + _o.set(_j, "idxcomment", _p?.idxcomment); + _o.set(_j, "indexOid", _p?.indexOid); + _o.set(_j, "oldNumber", _p?.oldNumber); + _o.set(_j, "oldCreateSubid", _p?.oldCreateSubid); + _o.set(_j, "oldFirstRelfilelocatorSubid", _p?.oldFirstRelfilelocatorSubid); + _o.set(_j, "unique", _p?.unique); + _o.set(_j, "nulls_not_distinct", _p?.nulls_not_distinct); + _o.set(_j, "primary", _p?.primary); + _o.set(_j, "isconstraint", _p?.isconstraint); + _o.set(_j, "deferrable", _p?.deferrable); + _o.set(_j, "initdeferred", _p?.initdeferred); + _o.set(_j, "transformed", _p?.transformed); + _o.set(_j, "concurrent", _p?.concurrent); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "reset_default_tblspc", _p?.reset_default_tblspc); + return _j; + }, + createStatsStmt(_p?: CreateStatsStmt): CreateStatsStmt { + const _j = ({} as CreateStatsStmt); + _o.set(_j, "defnames", _p?.defnames); + _o.set(_j, "stat_types", _p?.stat_types); + _o.set(_j, "exprs", _p?.exprs); + _o.set(_j, "relations", _p?.relations); + _o.set(_j, "stxcomment", _p?.stxcomment); + _o.set(_j, "transformed", _p?.transformed); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + statsElem(_p?: StatsElem): StatsElem { + const _j = ({} as StatsElem); + _o.set(_j, "name", _p?.name); + _o.set(_j, "expr", _p?.expr); + return _j; + }, + alterStatsStmt(_p?: AlterStatsStmt): AlterStatsStmt { + const _j = ({} as AlterStatsStmt); + _o.set(_j, "defnames", _p?.defnames); + _o.set(_j, "stxstattarget", _p?.stxstattarget); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + createFunctionStmt(_p?: CreateFunctionStmt): CreateFunctionStmt { + const _j = ({} as CreateFunctionStmt); + _o.set(_j, "is_procedure", _p?.is_procedure); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "funcname", _p?.funcname); + _o.set(_j, "parameters", _p?.parameters); + _o.set(_j, "returnType", _p?.returnType); + _o.set(_j, "options", _p?.options); + _o.set(_j, "sql_body", _p?.sql_body); + return _j; + }, + functionParameter(_p?: FunctionParameter): FunctionParameter { + const _j = ({} as FunctionParameter); + _o.set(_j, "name", _p?.name); + _o.set(_j, "argType", _p?.argType); + _o.set(_j, "mode", _p?.mode); + _o.set(_j, "defexpr", _p?.defexpr); + return _j; + }, + alterFunctionStmt(_p?: AlterFunctionStmt): AlterFunctionStmt { + const _j = ({} as AlterFunctionStmt); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "func", _p?.func); + _o.set(_j, "actions", _p?.actions); + return _j; + }, + doStmt(_p?: DoStmt): DoStmt { + const _j = ({} as DoStmt); + _o.set(_j, "args", _p?.args); + return _j; + }, + inlineCodeBlock(_p?: InlineCodeBlock): InlineCodeBlock { + const _j = ({} as InlineCodeBlock); + _o.set(_j, "source_text", _p?.source_text); + _o.set(_j, "langOid", _p?.langOid); + _o.set(_j, "langIsTrusted", _p?.langIsTrusted); + _o.set(_j, "atomic", _p?.atomic); + return _j; + }, + callStmt(_p?: CallStmt): CallStmt { + const _j = ({} as CallStmt); + _o.set(_j, "funccall", _p?.funccall); + _o.set(_j, "funcexpr", _p?.funcexpr); + _o.set(_j, "outargs", _p?.outargs); + return _j; + }, + callContext(_p?: CallContext): CallContext { + const _j = ({} as CallContext); + _o.set(_j, "atomic", _p?.atomic); + return _j; + }, + renameStmt(_p?: RenameStmt): RenameStmt { + const _j = ({} as RenameStmt); + _o.set(_j, "renameType", _p?.renameType); + _o.set(_j, "relationType", _p?.relationType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "newname", _p?.newname); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + alterObjectDependsStmt(_p?: AlterObjectDependsStmt): AlterObjectDependsStmt { + const _j = ({} as AlterObjectDependsStmt); + _o.set(_j, "objectType", _p?.objectType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "remove", _p?.remove); + return _j; + }, + alterObjectSchemaStmt(_p?: AlterObjectSchemaStmt): AlterObjectSchemaStmt { + const _j = ({} as AlterObjectSchemaStmt); + _o.set(_j, "objectType", _p?.objectType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "newschema", _p?.newschema); + _o.set(_j, "missing_ok", _p?.missing_ok); return _j; }, - typeName(_p?: TypeName): TypeName { - const _j = ({} as TypeName); - _o.set(_j, "names", _p?.names); - _o.set(_j, "typeOid", _p?.typeOid); - _o.set(_j, "setof", _p?.setof); - _o.set(_j, "pct_type", _p?.pct_type); - _o.set(_j, "typmods", _p?.typmods); - _o.set(_j, "typemod", _p?.typemod); - _o.set(_j, "arrayBounds", _p?.arrayBounds); + alterOwnerStmt(_p?: AlterOwnerStmt): AlterOwnerStmt { + const _j = ({} as AlterOwnerStmt); + _o.set(_j, "objectType", _p?.objectType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "newowner", _p?.newowner); + return _j; + }, + alterOperatorStmt(_p?: AlterOperatorStmt): AlterOperatorStmt { + const _j = ({} as AlterOperatorStmt); + _o.set(_j, "opername", _p?.opername); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterTypeStmt(_p?: AlterTypeStmt): AlterTypeStmt { + const _j = ({} as AlterTypeStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "options", _p?.options); + return _j; + }, + ruleStmt(_p?: RuleStmt): RuleStmt { + const _j = ({} as RuleStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "rulename", _p?.rulename); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "event", _p?.event); + _o.set(_j, "instead", _p?.instead); + _o.set(_j, "actions", _p?.actions); + _o.set(_j, "replace", _p?.replace); + return _j; + }, + notifyStmt(_p?: NotifyStmt): NotifyStmt { + const _j = ({} as NotifyStmt); + _o.set(_j, "conditionname", _p?.conditionname); + _o.set(_j, "payload", _p?.payload); + return _j; + }, + listenStmt(_p?: ListenStmt): ListenStmt { + const _j = ({} as ListenStmt); + _o.set(_j, "conditionname", _p?.conditionname); + return _j; + }, + unlistenStmt(_p?: UnlistenStmt): UnlistenStmt { + const _j = ({} as UnlistenStmt); + _o.set(_j, "conditionname", _p?.conditionname); + return _j; + }, + transactionStmt(_p?: TransactionStmt): TransactionStmt { + const _j = ({} as TransactionStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "options", _p?.options); + _o.set(_j, "savepoint_name", _p?.savepoint_name); + _o.set(_j, "gid", _p?.gid); + _o.set(_j, "chain", _p?.chain); + return _j; + }, + compositeTypeStmt(_p?: CompositeTypeStmt): CompositeTypeStmt { + const _j = ({} as CompositeTypeStmt); + _o.set(_j, "typevar", _p?.typevar); + _o.set(_j, "coldeflist", _p?.coldeflist); + return _j; + }, + createEnumStmt(_p?: CreateEnumStmt): CreateEnumStmt { + const _j = ({} as CreateEnumStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "vals", _p?.vals); + return _j; + }, + createRangeStmt(_p?: CreateRangeStmt): CreateRangeStmt { + const _j = ({} as CreateRangeStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "params", _p?.params); + return _j; + }, + alterEnumStmt(_p?: AlterEnumStmt): AlterEnumStmt { + const _j = ({} as AlterEnumStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "oldVal", _p?.oldVal); + _o.set(_j, "newVal", _p?.newVal); + _o.set(_j, "newValNeighbor", _p?.newValNeighbor); + _o.set(_j, "newValIsAfter", _p?.newValIsAfter); + _o.set(_j, "skipIfNewValExists", _p?.skipIfNewValExists); + return _j; + }, + viewStmt(_p?: ViewStmt): ViewStmt { + const _j = ({} as ViewStmt); + _o.set(_j, "view", _p?.view); + _o.set(_j, "aliases", _p?.aliases); + _o.set(_j, "query", _p?.query); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "options", _p?.options); + _o.set(_j, "withCheckOption", _p?.withCheckOption); + return _j; + }, + loadStmt(_p?: LoadStmt): LoadStmt { + const _j = ({} as LoadStmt); + _o.set(_j, "filename", _p?.filename); + return _j; + }, + createdbStmt(_p?: CreatedbStmt): CreatedbStmt { + const _j = ({} as CreatedbStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterDatabaseStmt(_p?: AlterDatabaseStmt): AlterDatabaseStmt { + const _j = ({} as AlterDatabaseStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterDatabaseRefreshCollStmt(_p?: AlterDatabaseRefreshCollStmt): AlterDatabaseRefreshCollStmt { + const _j = ({} as AlterDatabaseRefreshCollStmt); + _o.set(_j, "dbname", _p?.dbname); + return _j; + }, + alterDatabaseSetStmt(_p?: AlterDatabaseSetStmt): AlterDatabaseSetStmt { + const _j = ({} as AlterDatabaseSetStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "setstmt", _p?.setstmt); + return _j; + }, + dropdbStmt(_p?: DropdbStmt): DropdbStmt { + const _j = ({} as DropdbStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterSystemStmt(_p?: AlterSystemStmt): AlterSystemStmt { + const _j = ({} as AlterSystemStmt); + _o.set(_j, "setstmt", _p?.setstmt); + return _j; + }, + clusterStmt(_p?: ClusterStmt): ClusterStmt { + const _j = ({} as ClusterStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "indexname", _p?.indexname); + _o.set(_j, "params", _p?.params); + return _j; + }, + vacuumStmt(_p?: VacuumStmt): VacuumStmt { + const _j = ({} as VacuumStmt); + _o.set(_j, "options", _p?.options); + _o.set(_j, "rels", _p?.rels); + _o.set(_j, "is_vacuumcmd", _p?.is_vacuumcmd); + return _j; + }, + vacuumRelation(_p?: VacuumRelation): VacuumRelation { + const _j = ({} as VacuumRelation); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "oid", _p?.oid); + _o.set(_j, "va_cols", _p?.va_cols); + return _j; + }, + explainStmt(_p?: ExplainStmt): ExplainStmt { + const _j = ({} as ExplainStmt); + _o.set(_j, "query", _p?.query); + _o.set(_j, "options", _p?.options); + return _j; + }, + createTableAsStmt(_p?: CreateTableAsStmt): CreateTableAsStmt { + const _j = ({} as CreateTableAsStmt); + _o.set(_j, "query", _p?.query); + _o.set(_j, "into", _p?.into); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "is_select_into", _p?.is_select_into); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + refreshMatViewStmt(_p?: RefreshMatViewStmt): RefreshMatViewStmt { + const _j = ({} as RefreshMatViewStmt); + _o.set(_j, "concurrent", _p?.concurrent); + _o.set(_j, "skipData", _p?.skipData); + _o.set(_j, "relation", _p?.relation); + return _j; + }, + checkPointStmt(_p?: CheckPointStmt): CheckPointStmt { + const _j = ({} as CheckPointStmt); + return _j; + }, + discardStmt(_p?: DiscardStmt): DiscardStmt { + const _j = ({} as DiscardStmt); + _o.set(_j, "target", _p?.target); + return _j; + }, + lockStmt(_p?: LockStmt): LockStmt { + const _j = ({} as LockStmt); + _o.set(_j, "relations", _p?.relations); + _o.set(_j, "mode", _p?.mode); + _o.set(_j, "nowait", _p?.nowait); + return _j; + }, + constraintsSetStmt(_p?: ConstraintsSetStmt): ConstraintsSetStmt { + const _j = ({} as ConstraintsSetStmt); + _o.set(_j, "constraints", _p?.constraints); + _o.set(_j, "deferred", _p?.deferred); + return _j; + }, + reindexStmt(_p?: ReindexStmt): ReindexStmt { + const _j = ({} as ReindexStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "name", _p?.name); + _o.set(_j, "params", _p?.params); + return _j; + }, + createConversionStmt(_p?: CreateConversionStmt): CreateConversionStmt { + const _j = ({} as CreateConversionStmt); + _o.set(_j, "conversion_name", _p?.conversion_name); + _o.set(_j, "for_encoding_name", _p?.for_encoding_name); + _o.set(_j, "to_encoding_name", _p?.to_encoding_name); + _o.set(_j, "func_name", _p?.func_name); + _o.set(_j, "def", _p?.def); + return _j; + }, + createCastStmt(_p?: CreateCastStmt): CreateCastStmt { + const _j = ({} as CreateCastStmt); + _o.set(_j, "sourcetype", _p?.sourcetype); + _o.set(_j, "targettype", _p?.targettype); + _o.set(_j, "func", _p?.func); + _o.set(_j, "context", _p?.context); + _o.set(_j, "inout", _p?.inout); + return _j; + }, + createTransformStmt(_p?: CreateTransformStmt): CreateTransformStmt { + const _j = ({} as CreateTransformStmt); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "type_name", _p?.type_name); + _o.set(_j, "lang", _p?.lang); + _o.set(_j, "fromsql", _p?.fromsql); + _o.set(_j, "tosql", _p?.tosql); + return _j; + }, + prepareStmt(_p?: PrepareStmt): PrepareStmt { + const _j = ({} as PrepareStmt); + _o.set(_j, "name", _p?.name); + _o.set(_j, "argtypes", _p?.argtypes); + _o.set(_j, "query", _p?.query); + return _j; + }, + executeStmt(_p?: ExecuteStmt): ExecuteStmt { + const _j = ({} as ExecuteStmt); + _o.set(_j, "name", _p?.name); + _o.set(_j, "params", _p?.params); + return _j; + }, + deallocateStmt(_p?: DeallocateStmt): DeallocateStmt { + const _j = ({} as DeallocateStmt); + _o.set(_j, "name", _p?.name); + return _j; + }, + dropOwnedStmt(_p?: DropOwnedStmt): DropOwnedStmt { + const _j = ({} as DropOwnedStmt); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + reassignOwnedStmt(_p?: ReassignOwnedStmt): ReassignOwnedStmt { + const _j = ({} as ReassignOwnedStmt); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "newrole", _p?.newrole); + return _j; + }, + altertsDictionaryStmt(_p?: AlterTSDictionaryStmt): AlterTSDictionaryStmt { + const _j = ({} as AlterTSDictionaryStmt); + _o.set(_j, "dictname", _p?.dictname); + _o.set(_j, "options", _p?.options); + return _j; + }, + altertsConfigurationStmt(_p?: AlterTSConfigurationStmt): AlterTSConfigurationStmt { + const _j = ({} as AlterTSConfigurationStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "cfgname", _p?.cfgname); + _o.set(_j, "tokentype", _p?.tokentype); + _o.set(_j, "dicts", _p?.dicts); + _o.set(_j, "override", _p?.override); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + publicationTable(_p?: PublicationTable): PublicationTable { + const _j = ({} as PublicationTable); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "columns", _p?.columns); + return _j; + }, + publicationObjSpec(_p?: PublicationObjSpec): PublicationObjSpec { + const _j = ({} as PublicationObjSpec); + _o.set(_j, "pubobjtype", _p?.pubobjtype); + _o.set(_j, "name", _p?.name); + _o.set(_j, "pubtable", _p?.pubtable); _o.set(_j, "location", _p?.location); return _j; }, - columnRef(_p?: ColumnRef["ColumnRef"]): ColumnRef { - const _j = ({ - ColumnRef: {} - } as ColumnRef); - _o.set(_j, "ColumnRef.fields", _p?.fields); - _o.set(_j, "ColumnRef.location", _p?.location); - return _j; - }, - paramRef(_p?: ParamRef["ParamRef"]): ParamRef { - const _j = ({ - ParamRef: {} - } as ParamRef); - _o.set(_j, "ParamRef.number", _p?.number); - _o.set(_j, "ParamRef.location", _p?.location); - return _j; - }, - aExpr(_p?: A_Expr["A_Expr"]): A_Expr { - const _j = ({ - A_Expr: {} - } as A_Expr); - _o.set(_j, "A_Expr.kind", _p?.kind); - _o.set(_j, "A_Expr.name", _p?.name); - _o.set(_j, "A_Expr.lexpr", _p?.lexpr); - _o.set(_j, "A_Expr.rexpr", _p?.rexpr); - _o.set(_j, "A_Expr.location", _p?.location); - return _j; - }, - typeCast(_p?: TypeCast["TypeCast"]): TypeCast { - const _j = ({ - TypeCast: {} - } as TypeCast); - _o.set(_j, "TypeCast.arg", _p?.arg); - _o.set(_j, "TypeCast.typeName", _p?.typeName); - _o.set(_j, "TypeCast.location", _p?.location); - return _j; - }, - collateClause(_p?: CollateClause["CollateClause"]): CollateClause { - const _j = ({ - CollateClause: {} - } as CollateClause); - _o.set(_j, "CollateClause.arg", _p?.arg); - _o.set(_j, "CollateClause.collname", _p?.collname); - _o.set(_j, "CollateClause.location", _p?.location); - return _j; - }, - roleSpec(_p?: RoleSpec["RoleSpec"]): RoleSpec { - const _j = ({ - RoleSpec: {} - } as RoleSpec); - _o.set(_j, "RoleSpec.roletype", _p?.roletype); - _o.set(_j, "RoleSpec.rolename", _p?.rolename); - _o.set(_j, "RoleSpec.location", _p?.location); - return _j; - }, - funcCall(_p?: FuncCall["FuncCall"]): FuncCall { - const _j = ({ - FuncCall: {} - } as FuncCall); - _o.set(_j, "FuncCall.funcname", _p?.funcname); - _o.set(_j, "FuncCall.args", _p?.args); - _o.set(_j, "FuncCall.agg_order", _p?.agg_order); - _o.set(_j, "FuncCall.agg_filter", _p?.agg_filter); - _o.set(_j, "FuncCall.over", _p?.over); - _o.set(_j, "FuncCall.agg_within_group", _p?.agg_within_group); - _o.set(_j, "FuncCall.agg_star", _p?.agg_star); - _o.set(_j, "FuncCall.agg_distinct", _p?.agg_distinct); - _o.set(_j, "FuncCall.func_variadic", _p?.func_variadic); - _o.set(_j, "FuncCall.funcformat", _p?.funcformat); - _o.set(_j, "FuncCall.location", _p?.location); - return _j; - }, - aStar(_p?: A_Star["A_Star"]): A_Star { - const _j = ({ - A_Star: {} - } as A_Star); - return _j; - }, - aIndices(_p?: A_Indices["A_Indices"]): A_Indices { - const _j = ({ - A_Indices: {} - } as A_Indices); - _o.set(_j, "A_Indices.is_slice", _p?.is_slice); - _o.set(_j, "A_Indices.lidx", _p?.lidx); - _o.set(_j, "A_Indices.uidx", _p?.uidx); - return _j; - }, - aIndirection(_p?: A_Indirection["A_Indirection"]): A_Indirection { - const _j = ({ - A_Indirection: {} - } as A_Indirection); - _o.set(_j, "A_Indirection.arg", _p?.arg); - _o.set(_j, "A_Indirection.indirection", _p?.indirection); - return _j; - }, - aArrayExpr(_p?: A_ArrayExpr["A_ArrayExpr"]): A_ArrayExpr { - const _j = ({ - A_ArrayExpr: {} - } as A_ArrayExpr); - _o.set(_j, "A_ArrayExpr.elements", _p?.elements); - _o.set(_j, "A_ArrayExpr.location", _p?.location); - return _j; - }, - resTarget(_p?: ResTarget["ResTarget"]): ResTarget { - const _j = ({ - ResTarget: {} - } as ResTarget); - _o.set(_j, "ResTarget.name", _p?.name); - _o.set(_j, "ResTarget.indirection", _p?.indirection); - _o.set(_j, "ResTarget.val", _p?.val); - _o.set(_j, "ResTarget.location", _p?.location); - return _j; - }, - multiAssignRef(_p?: MultiAssignRef["MultiAssignRef"]): MultiAssignRef { - const _j = ({ - MultiAssignRef: {} - } as MultiAssignRef); - _o.set(_j, "MultiAssignRef.source", _p?.source); - _o.set(_j, "MultiAssignRef.colno", _p?.colno); - _o.set(_j, "MultiAssignRef.ncolumns", _p?.ncolumns); - return _j; - }, - sortBy(_p?: SortBy["SortBy"]): SortBy { - const _j = ({ - SortBy: {} - } as SortBy); - _o.set(_j, "SortBy.node", _p?.node); - _o.set(_j, "SortBy.sortby_dir", _p?.sortby_dir); - _o.set(_j, "SortBy.sortby_nulls", _p?.sortby_nulls); - _o.set(_j, "SortBy.useOp", _p?.useOp); - _o.set(_j, "SortBy.location", _p?.location); - return _j; - }, - windowDef(_p?: WindowDef["WindowDef"]): WindowDef { - const _j = ({ - WindowDef: {} - } as WindowDef); - _o.set(_j, "WindowDef.name", _p?.name); - _o.set(_j, "WindowDef.refname", _p?.refname); - _o.set(_j, "WindowDef.partitionClause", _p?.partitionClause); - _o.set(_j, "WindowDef.orderClause", _p?.orderClause); - _o.set(_j, "WindowDef.frameOptions", _p?.frameOptions); - _o.set(_j, "WindowDef.startOffset", _p?.startOffset); - _o.set(_j, "WindowDef.endOffset", _p?.endOffset); - _o.set(_j, "WindowDef.location", _p?.location); - return _j; - }, - rangeSubselect(_p?: RangeSubselect["RangeSubselect"]): RangeSubselect { - const _j = ({ - RangeSubselect: {} - } as RangeSubselect); - _o.set(_j, "RangeSubselect.lateral", _p?.lateral); - _o.set(_j, "RangeSubselect.subquery", _p?.subquery); - _o.set(_j, "RangeSubselect.alias", _p?.alias); - return _j; - }, - rangeFunction(_p?: RangeFunction["RangeFunction"]): RangeFunction { - const _j = ({ - RangeFunction: {} - } as RangeFunction); - _o.set(_j, "RangeFunction.lateral", _p?.lateral); - _o.set(_j, "RangeFunction.ordinality", _p?.ordinality); - _o.set(_j, "RangeFunction.is_rowsfrom", _p?.is_rowsfrom); - _o.set(_j, "RangeFunction.functions", _p?.functions); - _o.set(_j, "RangeFunction.alias", _p?.alias); - _o.set(_j, "RangeFunction.coldeflist", _p?.coldeflist); - return _j; - }, - rangeTableFunc(_p?: RangeTableFunc["RangeTableFunc"]): RangeTableFunc { - const _j = ({ - RangeTableFunc: {} - } as RangeTableFunc); - _o.set(_j, "RangeTableFunc.lateral", _p?.lateral); - _o.set(_j, "RangeTableFunc.docexpr", _p?.docexpr); - _o.set(_j, "RangeTableFunc.rowexpr", _p?.rowexpr); - _o.set(_j, "RangeTableFunc.namespaces", _p?.namespaces); - _o.set(_j, "RangeTableFunc.columns", _p?.columns); - _o.set(_j, "RangeTableFunc.alias", _p?.alias); - _o.set(_j, "RangeTableFunc.location", _p?.location); - return _j; - }, - rangeTableFuncCol(_p?: RangeTableFuncCol["RangeTableFuncCol"]): RangeTableFuncCol { - const _j = ({ - RangeTableFuncCol: {} - } as RangeTableFuncCol); - _o.set(_j, "RangeTableFuncCol.colname", _p?.colname); - _o.set(_j, "RangeTableFuncCol.typeName", _p?.typeName); - _o.set(_j, "RangeTableFuncCol.for_ordinality", _p?.for_ordinality); - _o.set(_j, "RangeTableFuncCol.is_not_null", _p?.is_not_null); - _o.set(_j, "RangeTableFuncCol.colexpr", _p?.colexpr); - _o.set(_j, "RangeTableFuncCol.coldefexpr", _p?.coldefexpr); - _o.set(_j, "RangeTableFuncCol.location", _p?.location); - return _j; - }, - rangeTableSample(_p?: RangeTableSample["RangeTableSample"]): RangeTableSample { - const _j = ({ - RangeTableSample: {} - } as RangeTableSample); - _o.set(_j, "RangeTableSample.relation", _p?.relation); - _o.set(_j, "RangeTableSample.method", _p?.method); - _o.set(_j, "RangeTableSample.args", _p?.args); - _o.set(_j, "RangeTableSample.repeatable", _p?.repeatable); - _o.set(_j, "RangeTableSample.location", _p?.location); - return _j; - }, - columnDef(_p?: ColumnDef["ColumnDef"]): ColumnDef { - const _j = ({ - ColumnDef: {} - } as ColumnDef); - _o.set(_j, "ColumnDef.colname", _p?.colname); - _o.set(_j, "ColumnDef.typeName", _p?.typeName); - _o.set(_j, "ColumnDef.compression", _p?.compression); - _o.set(_j, "ColumnDef.inhcount", _p?.inhcount); - _o.set(_j, "ColumnDef.is_local", _p?.is_local); - _o.set(_j, "ColumnDef.is_not_null", _p?.is_not_null); - _o.set(_j, "ColumnDef.is_from_type", _p?.is_from_type); - _o.set(_j, "ColumnDef.storage", _p?.storage); - _o.set(_j, "ColumnDef.storage_name", _p?.storage_name); - _o.set(_j, "ColumnDef.raw_default", _p?.raw_default); - _o.set(_j, "ColumnDef.cooked_default", _p?.cooked_default); - _o.set(_j, "ColumnDef.identity", _p?.identity); - _o.set(_j, "ColumnDef.identitySequence", _p?.identitySequence); - _o.set(_j, "ColumnDef.generated", _p?.generated); - _o.set(_j, "ColumnDef.collClause", _p?.collClause); - _o.set(_j, "ColumnDef.collOid", _p?.collOid); - _o.set(_j, "ColumnDef.constraints", _p?.constraints); - _o.set(_j, "ColumnDef.fdwoptions", _p?.fdwoptions); - _o.set(_j, "ColumnDef.location", _p?.location); - return _j; - }, - tableLikeClause(_p?: TableLikeClause["TableLikeClause"]): TableLikeClause { - const _j = ({ - TableLikeClause: {} - } as TableLikeClause); - _o.set(_j, "TableLikeClause.relation", _p?.relation); - _o.set(_j, "TableLikeClause.options", _p?.options); - _o.set(_j, "TableLikeClause.relationOid", _p?.relationOid); - return _j; - }, - indexElem(_p?: IndexElem["IndexElem"]): IndexElem { - const _j = ({ - IndexElem: {} - } as IndexElem); - _o.set(_j, "IndexElem.name", _p?.name); - _o.set(_j, "IndexElem.expr", _p?.expr); - _o.set(_j, "IndexElem.indexcolname", _p?.indexcolname); - _o.set(_j, "IndexElem.collation", _p?.collation); - _o.set(_j, "IndexElem.opclass", _p?.opclass); - _o.set(_j, "IndexElem.opclassopts", _p?.opclassopts); - _o.set(_j, "IndexElem.ordering", _p?.ordering); - _o.set(_j, "IndexElem.nulls_ordering", _p?.nulls_ordering); - return _j; - }, - defElem(_p?: DefElem["DefElem"]): DefElem { - const _j = ({ - DefElem: {} - } as DefElem); - _o.set(_j, "DefElem.defnamespace", _p?.defnamespace); - _o.set(_j, "DefElem.defname", _p?.defname); - _o.set(_j, "DefElem.arg", _p?.arg); - _o.set(_j, "DefElem.defaction", _p?.defaction); - _o.set(_j, "DefElem.location", _p?.location); - return _j; - }, - lockingClause(_p?: LockingClause["LockingClause"]): LockingClause { - const _j = ({ - LockingClause: {} - } as LockingClause); - _o.set(_j, "LockingClause.lockedRels", _p?.lockedRels); - _o.set(_j, "LockingClause.strength", _p?.strength); - _o.set(_j, "LockingClause.waitPolicy", _p?.waitPolicy); - return _j; - }, - xmlSerialize(_p?: XmlSerialize["XmlSerialize"]): XmlSerialize { - const _j = ({ - XmlSerialize: {} - } as XmlSerialize); - _o.set(_j, "XmlSerialize.xmloption", _p?.xmloption); - _o.set(_j, "XmlSerialize.expr", _p?.expr); - _o.set(_j, "XmlSerialize.typeName", _p?.typeName); - _o.set(_j, "XmlSerialize.indent", _p?.indent); - _o.set(_j, "XmlSerialize.location", _p?.location); - return _j; - }, - partitionElem(_p?: PartitionElem["PartitionElem"]): PartitionElem { - const _j = ({ - PartitionElem: {} - } as PartitionElem); - _o.set(_j, "PartitionElem.name", _p?.name); - _o.set(_j, "PartitionElem.expr", _p?.expr); - _o.set(_j, "PartitionElem.collation", _p?.collation); - _o.set(_j, "PartitionElem.opclass", _p?.opclass); - _o.set(_j, "PartitionElem.location", _p?.location); - return _j; - }, - partitionSpec(_p?: PartitionSpec["PartitionSpec"]): PartitionSpec { - const _j = ({ - PartitionSpec: {} - } as PartitionSpec); - _o.set(_j, "PartitionSpec.strategy", _p?.strategy); - _o.set(_j, "PartitionSpec.partParams", _p?.partParams); - _o.set(_j, "PartitionSpec.location", _p?.location); - return _j; - }, - partitionBoundSpec(_p?: PartitionBoundSpec["PartitionBoundSpec"]): PartitionBoundSpec { - const _j = ({ - PartitionBoundSpec: {} - } as PartitionBoundSpec); - _o.set(_j, "PartitionBoundSpec.strategy", _p?.strategy); - _o.set(_j, "PartitionBoundSpec.is_default", _p?.is_default); - _o.set(_j, "PartitionBoundSpec.modulus", _p?.modulus); - _o.set(_j, "PartitionBoundSpec.remainder", _p?.remainder); - _o.set(_j, "PartitionBoundSpec.listdatums", _p?.listdatums); - _o.set(_j, "PartitionBoundSpec.lowerdatums", _p?.lowerdatums); - _o.set(_j, "PartitionBoundSpec.upperdatums", _p?.upperdatums); - _o.set(_j, "PartitionBoundSpec.location", _p?.location); - return _j; - }, - partitionRangeDatum(_p?: PartitionRangeDatum["PartitionRangeDatum"]): PartitionRangeDatum { - const _j = ({ - PartitionRangeDatum: {} - } as PartitionRangeDatum); - _o.set(_j, "PartitionRangeDatum.kind", _p?.kind); - _o.set(_j, "PartitionRangeDatum.value", _p?.value); - _o.set(_j, "PartitionRangeDatum.location", _p?.location); - return _j; - }, - partitionCmd(_p?: PartitionCmd["PartitionCmd"]): PartitionCmd { - const _j = ({ - PartitionCmd: {} - } as PartitionCmd); - _o.set(_j, "PartitionCmd.name", _p?.name); - _o.set(_j, "PartitionCmd.bound", _p?.bound); - _o.set(_j, "PartitionCmd.concurrent", _p?.concurrent); - return _j; - }, - rangeTblEntry(_p?: RangeTblEntry["RangeTblEntry"]): RangeTblEntry { - const _j = ({ - RangeTblEntry: {} - } as RangeTblEntry); - _o.set(_j, "RangeTblEntry.rtekind", _p?.rtekind); - _o.set(_j, "RangeTblEntry.relid", _p?.relid); - _o.set(_j, "RangeTblEntry.relkind", _p?.relkind); - _o.set(_j, "RangeTblEntry.rellockmode", _p?.rellockmode); - _o.set(_j, "RangeTblEntry.tablesample", _p?.tablesample); - _o.set(_j, "RangeTblEntry.perminfoindex", _p?.perminfoindex); - _o.set(_j, "RangeTblEntry.subquery", _p?.subquery); - _o.set(_j, "RangeTblEntry.security_barrier", _p?.security_barrier); - _o.set(_j, "RangeTblEntry.jointype", _p?.jointype); - _o.set(_j, "RangeTblEntry.joinmergedcols", _p?.joinmergedcols); - _o.set(_j, "RangeTblEntry.joinaliasvars", _p?.joinaliasvars); - _o.set(_j, "RangeTblEntry.joinleftcols", _p?.joinleftcols); - _o.set(_j, "RangeTblEntry.joinrightcols", _p?.joinrightcols); - _o.set(_j, "RangeTblEntry.join_using_alias", _p?.join_using_alias); - _o.set(_j, "RangeTblEntry.functions", _p?.functions); - _o.set(_j, "RangeTblEntry.funcordinality", _p?.funcordinality); - _o.set(_j, "RangeTblEntry.tablefunc", _p?.tablefunc); - _o.set(_j, "RangeTblEntry.values_lists", _p?.values_lists); - _o.set(_j, "RangeTblEntry.ctename", _p?.ctename); - _o.set(_j, "RangeTblEntry.ctelevelsup", _p?.ctelevelsup); - _o.set(_j, "RangeTblEntry.self_reference", _p?.self_reference); - _o.set(_j, "RangeTblEntry.coltypes", _p?.coltypes); - _o.set(_j, "RangeTblEntry.coltypmods", _p?.coltypmods); - _o.set(_j, "RangeTblEntry.colcollations", _p?.colcollations); - _o.set(_j, "RangeTblEntry.enrname", _p?.enrname); - _o.set(_j, "RangeTblEntry.enrtuples", _p?.enrtuples); - _o.set(_j, "RangeTblEntry.alias", _p?.alias); - _o.set(_j, "RangeTblEntry.eref", _p?.eref); - _o.set(_j, "RangeTblEntry.lateral", _p?.lateral); - _o.set(_j, "RangeTblEntry.inh", _p?.inh); - _o.set(_j, "RangeTblEntry.inFromCl", _p?.inFromCl); - _o.set(_j, "RangeTblEntry.securityQuals", _p?.securityQuals); - return _j; - }, - rtePermissionInfo(_p?: RTEPermissionInfo["RTEPermissionInfo"]): RTEPermissionInfo { - const _j = ({ - RTEPermissionInfo: {} - } as RTEPermissionInfo); - _o.set(_j, "RTEPermissionInfo.relid", _p?.relid); - _o.set(_j, "RTEPermissionInfo.inh", _p?.inh); - _o.set(_j, "RTEPermissionInfo.requiredPerms", _p?.requiredPerms); - _o.set(_j, "RTEPermissionInfo.checkAsUser", _p?.checkAsUser); - _o.set(_j, "RTEPermissionInfo.selectedCols", _p?.selectedCols); - _o.set(_j, "RTEPermissionInfo.insertedCols", _p?.insertedCols); - _o.set(_j, "RTEPermissionInfo.updatedCols", _p?.updatedCols); - return _j; - }, - rangeTblFunction(_p?: RangeTblFunction["RangeTblFunction"]): RangeTblFunction { - const _j = ({ - RangeTblFunction: {} - } as RangeTblFunction); - _o.set(_j, "RangeTblFunction.funcexpr", _p?.funcexpr); - _o.set(_j, "RangeTblFunction.funccolcount", _p?.funccolcount); - _o.set(_j, "RangeTblFunction.funccolnames", _p?.funccolnames); - _o.set(_j, "RangeTblFunction.funccoltypes", _p?.funccoltypes); - _o.set(_j, "RangeTblFunction.funccoltypmods", _p?.funccoltypmods); - _o.set(_j, "RangeTblFunction.funccolcollations", _p?.funccolcollations); - _o.set(_j, "RangeTblFunction.funcparams", _p?.funcparams); - return _j; - }, - tableSampleClause(_p?: TableSampleClause["TableSampleClause"]): TableSampleClause { - const _j = ({ - TableSampleClause: {} - } as TableSampleClause); - _o.set(_j, "TableSampleClause.tsmhandler", _p?.tsmhandler); - _o.set(_j, "TableSampleClause.args", _p?.args); - _o.set(_j, "TableSampleClause.repeatable", _p?.repeatable); - return _j; - }, - withCheckOption(_p?: WithCheckOption["WithCheckOption"]): WithCheckOption { - const _j = ({ - WithCheckOption: {} - } as WithCheckOption); - _o.set(_j, "WithCheckOption.kind", _p?.kind); - _o.set(_j, "WithCheckOption.relname", _p?.relname); - _o.set(_j, "WithCheckOption.polname", _p?.polname); - _o.set(_j, "WithCheckOption.qual", _p?.qual); - _o.set(_j, "WithCheckOption.cascaded", _p?.cascaded); - return _j; - }, - sortGroupClause(_p?: SortGroupClause["SortGroupClause"]): SortGroupClause { - const _j = ({ - SortGroupClause: {} - } as SortGroupClause); - _o.set(_j, "SortGroupClause.tleSortGroupRef", _p?.tleSortGroupRef); - _o.set(_j, "SortGroupClause.eqop", _p?.eqop); - _o.set(_j, "SortGroupClause.sortop", _p?.sortop); - _o.set(_j, "SortGroupClause.nulls_first", _p?.nulls_first); - _o.set(_j, "SortGroupClause.hashable", _p?.hashable); - return _j; - }, - groupingSet(_p?: GroupingSet["GroupingSet"]): GroupingSet { - const _j = ({ - GroupingSet: {} - } as GroupingSet); - _o.set(_j, "GroupingSet.kind", _p?.kind); - _o.set(_j, "GroupingSet.content", _p?.content); - _o.set(_j, "GroupingSet.location", _p?.location); - return _j; - }, - windowClause(_p?: WindowClause["WindowClause"]): WindowClause { - const _j = ({ - WindowClause: {} - } as WindowClause); - _o.set(_j, "WindowClause.name", _p?.name); - _o.set(_j, "WindowClause.refname", _p?.refname); - _o.set(_j, "WindowClause.partitionClause", _p?.partitionClause); - _o.set(_j, "WindowClause.orderClause", _p?.orderClause); - _o.set(_j, "WindowClause.frameOptions", _p?.frameOptions); - _o.set(_j, "WindowClause.startOffset", _p?.startOffset); - _o.set(_j, "WindowClause.endOffset", _p?.endOffset); - _o.set(_j, "WindowClause.runCondition", _p?.runCondition); - _o.set(_j, "WindowClause.startInRangeFunc", _p?.startInRangeFunc); - _o.set(_j, "WindowClause.endInRangeFunc", _p?.endInRangeFunc); - _o.set(_j, "WindowClause.inRangeColl", _p?.inRangeColl); - _o.set(_j, "WindowClause.inRangeAsc", _p?.inRangeAsc); - _o.set(_j, "WindowClause.inRangeNullsFirst", _p?.inRangeNullsFirst); - _o.set(_j, "WindowClause.winref", _p?.winref); - _o.set(_j, "WindowClause.copiedOrder", _p?.copiedOrder); - return _j; - }, - rowMarkClause(_p?: RowMarkClause["RowMarkClause"]): RowMarkClause { - const _j = ({ - RowMarkClause: {} - } as RowMarkClause); - _o.set(_j, "RowMarkClause.rti", _p?.rti); - _o.set(_j, "RowMarkClause.strength", _p?.strength); - _o.set(_j, "RowMarkClause.waitPolicy", _p?.waitPolicy); - _o.set(_j, "RowMarkClause.pushedDown", _p?.pushedDown); - return _j; - }, - withClause(_p?: WithClause["WithClause"]): WithClause { - const _j = ({ - WithClause: {} - } as WithClause); - _o.set(_j, "WithClause.ctes", _p?.ctes); - _o.set(_j, "WithClause.recursive", _p?.recursive); - _o.set(_j, "WithClause.location", _p?.location); - return _j; - }, - inferClause(_p?: InferClause["InferClause"]): InferClause { - const _j = ({ - InferClause: {} - } as InferClause); - _o.set(_j, "InferClause.indexElems", _p?.indexElems); - _o.set(_j, "InferClause.whereClause", _p?.whereClause); - _o.set(_j, "InferClause.conname", _p?.conname); - _o.set(_j, "InferClause.location", _p?.location); - return _j; - }, - onConflictClause(_p?: OnConflictClause["OnConflictClause"]): OnConflictClause { - const _j = ({ - OnConflictClause: {} - } as OnConflictClause); - _o.set(_j, "OnConflictClause.action", _p?.action); - _o.set(_j, "OnConflictClause.infer", _p?.infer); - _o.set(_j, "OnConflictClause.targetList", _p?.targetList); - _o.set(_j, "OnConflictClause.whereClause", _p?.whereClause); - _o.set(_j, "OnConflictClause.location", _p?.location); - return _j; - }, - cteSearchClause(_p?: CTESearchClause["CTESearchClause"]): CTESearchClause { - const _j = ({ - CTESearchClause: {} - } as CTESearchClause); - _o.set(_j, "CTESearchClause.search_col_list", _p?.search_col_list); - _o.set(_j, "CTESearchClause.search_breadth_first", _p?.search_breadth_first); - _o.set(_j, "CTESearchClause.search_seq_column", _p?.search_seq_column); - _o.set(_j, "CTESearchClause.location", _p?.location); - return _j; - }, - cteCycleClause(_p?: CTECycleClause["CTECycleClause"]): CTECycleClause { - const _j = ({ - CTECycleClause: {} - } as CTECycleClause); - _o.set(_j, "CTECycleClause.cycle_col_list", _p?.cycle_col_list); - _o.set(_j, "CTECycleClause.cycle_mark_column", _p?.cycle_mark_column); - _o.set(_j, "CTECycleClause.cycle_mark_value", _p?.cycle_mark_value); - _o.set(_j, "CTECycleClause.cycle_mark_default", _p?.cycle_mark_default); - _o.set(_j, "CTECycleClause.cycle_path_column", _p?.cycle_path_column); - _o.set(_j, "CTECycleClause.location", _p?.location); - _o.set(_j, "CTECycleClause.cycle_mark_type", _p?.cycle_mark_type); - _o.set(_j, "CTECycleClause.cycle_mark_typmod", _p?.cycle_mark_typmod); - _o.set(_j, "CTECycleClause.cycle_mark_collation", _p?.cycle_mark_collation); - _o.set(_j, "CTECycleClause.cycle_mark_neop", _p?.cycle_mark_neop); - return _j; - }, - commonTableExpr(_p?: CommonTableExpr["CommonTableExpr"]): CommonTableExpr { - const _j = ({ - CommonTableExpr: {} - } as CommonTableExpr); - _o.set(_j, "CommonTableExpr.ctename", _p?.ctename); - _o.set(_j, "CommonTableExpr.aliascolnames", _p?.aliascolnames); - _o.set(_j, "CommonTableExpr.ctematerialized", _p?.ctematerialized); - _o.set(_j, "CommonTableExpr.ctequery", _p?.ctequery); - _o.set(_j, "CommonTableExpr.search_clause", _p?.search_clause); - _o.set(_j, "CommonTableExpr.cycle_clause", _p?.cycle_clause); - _o.set(_j, "CommonTableExpr.location", _p?.location); - _o.set(_j, "CommonTableExpr.cterecursive", _p?.cterecursive); - _o.set(_j, "CommonTableExpr.cterefcount", _p?.cterefcount); - _o.set(_j, "CommonTableExpr.ctecolnames", _p?.ctecolnames); - _o.set(_j, "CommonTableExpr.ctecoltypes", _p?.ctecoltypes); - _o.set(_j, "CommonTableExpr.ctecoltypmods", _p?.ctecoltypmods); - _o.set(_j, "CommonTableExpr.ctecolcollations", _p?.ctecolcollations); - return _j; - }, - mergeWhenClause(_p?: MergeWhenClause["MergeWhenClause"]): MergeWhenClause { - const _j = ({ - MergeWhenClause: {} - } as MergeWhenClause); - _o.set(_j, "MergeWhenClause.matched", _p?.matched); - _o.set(_j, "MergeWhenClause.commandType", _p?.commandType); - _o.set(_j, "MergeWhenClause.override", _p?.override); - _o.set(_j, "MergeWhenClause.condition", _p?.condition); - _o.set(_j, "MergeWhenClause.targetList", _p?.targetList); - _o.set(_j, "MergeWhenClause.values", _p?.values); - return _j; - }, - mergeAction(_p?: MergeAction["MergeAction"]): MergeAction { - const _j = ({ - MergeAction: {} - } as MergeAction); - _o.set(_j, "MergeAction.matched", _p?.matched); - _o.set(_j, "MergeAction.commandType", _p?.commandType); - _o.set(_j, "MergeAction.override", _p?.override); - _o.set(_j, "MergeAction.qual", _p?.qual); - _o.set(_j, "MergeAction.targetList", _p?.targetList); - _o.set(_j, "MergeAction.updateColnos", _p?.updateColnos); - return _j; - }, - triggerTransition(_p?: TriggerTransition["TriggerTransition"]): TriggerTransition { - const _j = ({ - TriggerTransition: {} - } as TriggerTransition); - _o.set(_j, "TriggerTransition.name", _p?.name); - _o.set(_j, "TriggerTransition.isNew", _p?.isNew); - _o.set(_j, "TriggerTransition.isTable", _p?.isTable); - return _j; - }, - jsonOutput(_p?: JsonOutput["JsonOutput"]): JsonOutput { - const _j = ({ - JsonOutput: {} - } as JsonOutput); - _o.set(_j, "JsonOutput.typeName", _p?.typeName); - _o.set(_j, "JsonOutput.returning", _p?.returning); - return _j; - }, - jsonKeyValue(_p?: JsonKeyValue["JsonKeyValue"]): JsonKeyValue { - const _j = ({ - JsonKeyValue: {} - } as JsonKeyValue); - _o.set(_j, "JsonKeyValue.key", _p?.key); - _o.set(_j, "JsonKeyValue.value", _p?.value); - return _j; - }, - jsonObjectConstructor(_p?: JsonObjectConstructor["JsonObjectConstructor"]): JsonObjectConstructor { - const _j = ({ - JsonObjectConstructor: {} - } as JsonObjectConstructor); - _o.set(_j, "JsonObjectConstructor.exprs", _p?.exprs); - _o.set(_j, "JsonObjectConstructor.output", _p?.output); - _o.set(_j, "JsonObjectConstructor.absent_on_null", _p?.absent_on_null); - _o.set(_j, "JsonObjectConstructor.unique", _p?.unique); - _o.set(_j, "JsonObjectConstructor.location", _p?.location); - return _j; - }, - jsonArrayConstructor(_p?: JsonArrayConstructor["JsonArrayConstructor"]): JsonArrayConstructor { - const _j = ({ - JsonArrayConstructor: {} - } as JsonArrayConstructor); - _o.set(_j, "JsonArrayConstructor.exprs", _p?.exprs); - _o.set(_j, "JsonArrayConstructor.output", _p?.output); - _o.set(_j, "JsonArrayConstructor.absent_on_null", _p?.absent_on_null); - _o.set(_j, "JsonArrayConstructor.location", _p?.location); - return _j; - }, - jsonArrayQueryConstructor(_p?: JsonArrayQueryConstructor["JsonArrayQueryConstructor"]): JsonArrayQueryConstructor { - const _j = ({ - JsonArrayQueryConstructor: {} - } as JsonArrayQueryConstructor); - _o.set(_j, "JsonArrayQueryConstructor.query", _p?.query); - _o.set(_j, "JsonArrayQueryConstructor.output", _p?.output); - _o.set(_j, "JsonArrayQueryConstructor.format", _p?.format); - _o.set(_j, "JsonArrayQueryConstructor.absent_on_null", _p?.absent_on_null); - _o.set(_j, "JsonArrayQueryConstructor.location", _p?.location); - return _j; - }, - jsonAggConstructor(_p?: JsonAggConstructor["JsonAggConstructor"]): JsonAggConstructor { - const _j = ({ - JsonAggConstructor: {} - } as JsonAggConstructor); - _o.set(_j, "JsonAggConstructor.output", _p?.output); - _o.set(_j, "JsonAggConstructor.agg_filter", _p?.agg_filter); - _o.set(_j, "JsonAggConstructor.agg_order", _p?.agg_order); - _o.set(_j, "JsonAggConstructor.over", _p?.over); - _o.set(_j, "JsonAggConstructor.location", _p?.location); - return _j; - }, - jsonObjectAgg(_p?: JsonObjectAgg["JsonObjectAgg"]): JsonObjectAgg { - const _j = ({ - JsonObjectAgg: {} - } as JsonObjectAgg); - _o.set(_j, "JsonObjectAgg.constructor", _p?.constructor); - _o.set(_j, "JsonObjectAgg.arg", _p?.arg); - _o.set(_j, "JsonObjectAgg.absent_on_null", _p?.absent_on_null); - _o.set(_j, "JsonObjectAgg.unique", _p?.unique); - return _j; - }, - jsonArrayAgg(_p?: JsonArrayAgg["JsonArrayAgg"]): JsonArrayAgg { - const _j = ({ - JsonArrayAgg: {} - } as JsonArrayAgg); - _o.set(_j, "JsonArrayAgg.constructor", _p?.constructor); - _o.set(_j, "JsonArrayAgg.arg", _p?.arg); - _o.set(_j, "JsonArrayAgg.absent_on_null", _p?.absent_on_null); - return _j; - }, - rawStmt(_p?: RawStmt["RawStmt"]): RawStmt { - const _j = ({ - RawStmt: {} - } as RawStmt); - _o.set(_j, "RawStmt.stmt", _p?.stmt); - _o.set(_j, "RawStmt.stmt_location", _p?.stmt_location); - _o.set(_j, "RawStmt.stmt_len", _p?.stmt_len); - return _j; - }, - insertStmt(_p?: InsertStmt["InsertStmt"]): InsertStmt { - const _j = ({ - InsertStmt: {} - } as InsertStmt); - _o.set(_j, "InsertStmt.relation", _p?.relation); - _o.set(_j, "InsertStmt.cols", _p?.cols); - _o.set(_j, "InsertStmt.selectStmt", _p?.selectStmt); - _o.set(_j, "InsertStmt.onConflictClause", _p?.onConflictClause); - _o.set(_j, "InsertStmt.returningList", _p?.returningList); - _o.set(_j, "InsertStmt.withClause", _p?.withClause); - _o.set(_j, "InsertStmt.override", _p?.override); - return _j; - }, - deleteStmt(_p?: DeleteStmt["DeleteStmt"]): DeleteStmt { - const _j = ({ - DeleteStmt: {} - } as DeleteStmt); - _o.set(_j, "DeleteStmt.relation", _p?.relation); - _o.set(_j, "DeleteStmt.usingClause", _p?.usingClause); - _o.set(_j, "DeleteStmt.whereClause", _p?.whereClause); - _o.set(_j, "DeleteStmt.returningList", _p?.returningList); - _o.set(_j, "DeleteStmt.withClause", _p?.withClause); - return _j; - }, - updateStmt(_p?: UpdateStmt["UpdateStmt"]): UpdateStmt { - const _j = ({ - UpdateStmt: {} - } as UpdateStmt); - _o.set(_j, "UpdateStmt.relation", _p?.relation); - _o.set(_j, "UpdateStmt.targetList", _p?.targetList); - _o.set(_j, "UpdateStmt.whereClause", _p?.whereClause); - _o.set(_j, "UpdateStmt.fromClause", _p?.fromClause); - _o.set(_j, "UpdateStmt.returningList", _p?.returningList); - _o.set(_j, "UpdateStmt.withClause", _p?.withClause); - return _j; - }, - mergeStmt(_p?: MergeStmt["MergeStmt"]): MergeStmt { - const _j = ({ - MergeStmt: {} - } as MergeStmt); - _o.set(_j, "MergeStmt.relation", _p?.relation); - _o.set(_j, "MergeStmt.sourceRelation", _p?.sourceRelation); - _o.set(_j, "MergeStmt.joinCondition", _p?.joinCondition); - _o.set(_j, "MergeStmt.mergeWhenClauses", _p?.mergeWhenClauses); - _o.set(_j, "MergeStmt.withClause", _p?.withClause); - return _j; - }, - selectStmt(_p?: SelectStmt["SelectStmt"]): SelectStmt { - const _j = ({ - SelectStmt: {} - } as SelectStmt); - _o.set(_j, "SelectStmt.distinctClause", _p?.distinctClause); - _o.set(_j, "SelectStmt.intoClause", _p?.intoClause); - _o.set(_j, "SelectStmt.targetList", _p?.targetList); - _o.set(_j, "SelectStmt.fromClause", _p?.fromClause); - _o.set(_j, "SelectStmt.whereClause", _p?.whereClause); - _o.set(_j, "SelectStmt.groupClause", _p?.groupClause); - _o.set(_j, "SelectStmt.groupDistinct", _p?.groupDistinct); - _o.set(_j, "SelectStmt.havingClause", _p?.havingClause); - _o.set(_j, "SelectStmt.windowClause", _p?.windowClause); - _o.set(_j, "SelectStmt.valuesLists", _p?.valuesLists); - _o.set(_j, "SelectStmt.sortClause", _p?.sortClause); - _o.set(_j, "SelectStmt.limitOffset", _p?.limitOffset); - _o.set(_j, "SelectStmt.limitCount", _p?.limitCount); - _o.set(_j, "SelectStmt.limitOption", _p?.limitOption); - _o.set(_j, "SelectStmt.lockingClause", _p?.lockingClause); - _o.set(_j, "SelectStmt.withClause", _p?.withClause); - _o.set(_j, "SelectStmt.op", _p?.op); - _o.set(_j, "SelectStmt.all", _p?.all); - _o.set(_j, "SelectStmt.larg", _p?.larg); - _o.set(_j, "SelectStmt.rarg", _p?.rarg); - return _j; - }, - setOperationStmt(_p?: SetOperationStmt["SetOperationStmt"]): SetOperationStmt { - const _j = ({ - SetOperationStmt: {} - } as SetOperationStmt); - _o.set(_j, "SetOperationStmt.op", _p?.op); - _o.set(_j, "SetOperationStmt.all", _p?.all); - _o.set(_j, "SetOperationStmt.larg", _p?.larg); - _o.set(_j, "SetOperationStmt.rarg", _p?.rarg); - _o.set(_j, "SetOperationStmt.colTypes", _p?.colTypes); - _o.set(_j, "SetOperationStmt.colTypmods", _p?.colTypmods); - _o.set(_j, "SetOperationStmt.colCollations", _p?.colCollations); - _o.set(_j, "SetOperationStmt.groupClauses", _p?.groupClauses); - return _j; - }, - returnStmt(_p?: ReturnStmt["ReturnStmt"]): ReturnStmt { - const _j = ({ - ReturnStmt: {} - } as ReturnStmt); - _o.set(_j, "ReturnStmt.returnval", _p?.returnval); - return _j; - }, - plAssignStmt(_p?: PLAssignStmt["PLAssignStmt"]): PLAssignStmt { - const _j = ({ - PLAssignStmt: {} - } as PLAssignStmt); - _o.set(_j, "PLAssignStmt.name", _p?.name); - _o.set(_j, "PLAssignStmt.indirection", _p?.indirection); - _o.set(_j, "PLAssignStmt.nnames", _p?.nnames); - _o.set(_j, "PLAssignStmt.val", _p?.val); - _o.set(_j, "PLAssignStmt.location", _p?.location); - return _j; - }, - createSchemaStmt(_p?: CreateSchemaStmt["CreateSchemaStmt"]): CreateSchemaStmt { - const _j = ({ - CreateSchemaStmt: {} - } as CreateSchemaStmt); - _o.set(_j, "CreateSchemaStmt.schemaname", _p?.schemaname); - _o.set(_j, "CreateSchemaStmt.authrole", _p?.authrole); - _o.set(_j, "CreateSchemaStmt.schemaElts", _p?.schemaElts); - _o.set(_j, "CreateSchemaStmt.if_not_exists", _p?.if_not_exists); - return _j; - }, - alterTableStmt(_p?: AlterTableStmt["AlterTableStmt"]): AlterTableStmt { - const _j = ({ - AlterTableStmt: {} - } as AlterTableStmt); - _o.set(_j, "AlterTableStmt.relation", _p?.relation); - _o.set(_j, "AlterTableStmt.cmds", _p?.cmds); - _o.set(_j, "AlterTableStmt.objtype", _p?.objtype); - _o.set(_j, "AlterTableStmt.missing_ok", _p?.missing_ok); - return _j; - }, - replicaIdentityStmt(_p?: ReplicaIdentityStmt["ReplicaIdentityStmt"]): ReplicaIdentityStmt { - const _j = ({ - ReplicaIdentityStmt: {} - } as ReplicaIdentityStmt); - _o.set(_j, "ReplicaIdentityStmt.identity_type", _p?.identity_type); - _o.set(_j, "ReplicaIdentityStmt.name", _p?.name); - return _j; - }, - alterTableCmd(_p?: AlterTableCmd["AlterTableCmd"]): AlterTableCmd { - const _j = ({ - AlterTableCmd: {} - } as AlterTableCmd); - _o.set(_j, "AlterTableCmd.subtype", _p?.subtype); - _o.set(_j, "AlterTableCmd.name", _p?.name); - _o.set(_j, "AlterTableCmd.num", _p?.num); - _o.set(_j, "AlterTableCmd.newowner", _p?.newowner); - _o.set(_j, "AlterTableCmd.def", _p?.def); - _o.set(_j, "AlterTableCmd.behavior", _p?.behavior); - _o.set(_j, "AlterTableCmd.missing_ok", _p?.missing_ok); - _o.set(_j, "AlterTableCmd.recurse", _p?.recurse); - return _j; - }, - alterCollationStmt(_p?: AlterCollationStmt["AlterCollationStmt"]): AlterCollationStmt { - const _j = ({ - AlterCollationStmt: {} - } as AlterCollationStmt); - _o.set(_j, "AlterCollationStmt.collname", _p?.collname); - return _j; - }, - alterDomainStmt(_p?: AlterDomainStmt["AlterDomainStmt"]): AlterDomainStmt { - const _j = ({ - AlterDomainStmt: {} - } as AlterDomainStmt); - _o.set(_j, "AlterDomainStmt.subtype", _p?.subtype); - _o.set(_j, "AlterDomainStmt.typeName", _p?.typeName); - _o.set(_j, "AlterDomainStmt.name", _p?.name); - _o.set(_j, "AlterDomainStmt.def", _p?.def); - _o.set(_j, "AlterDomainStmt.behavior", _p?.behavior); - _o.set(_j, "AlterDomainStmt.missing_ok", _p?.missing_ok); - return _j; - }, - grantStmt(_p?: GrantStmt["GrantStmt"]): GrantStmt { - const _j = ({ - GrantStmt: {} - } as GrantStmt); - _o.set(_j, "GrantStmt.is_grant", _p?.is_grant); - _o.set(_j, "GrantStmt.targtype", _p?.targtype); - _o.set(_j, "GrantStmt.objtype", _p?.objtype); - _o.set(_j, "GrantStmt.objects", _p?.objects); - _o.set(_j, "GrantStmt.privileges", _p?.privileges); - _o.set(_j, "GrantStmt.grantees", _p?.grantees); - _o.set(_j, "GrantStmt.grant_option", _p?.grant_option); - _o.set(_j, "GrantStmt.grantor", _p?.grantor); - _o.set(_j, "GrantStmt.behavior", _p?.behavior); - return _j; - }, - objectWithArgs(_p?: ObjectWithArgs["ObjectWithArgs"]): ObjectWithArgs { - const _j = ({ - ObjectWithArgs: {} - } as ObjectWithArgs); - _o.set(_j, "ObjectWithArgs.objname", _p?.objname); - _o.set(_j, "ObjectWithArgs.objargs", _p?.objargs); - _o.set(_j, "ObjectWithArgs.objfuncargs", _p?.objfuncargs); - _o.set(_j, "ObjectWithArgs.args_unspecified", _p?.args_unspecified); - return _j; - }, - accessPriv(_p?: AccessPriv["AccessPriv"]): AccessPriv { - const _j = ({ - AccessPriv: {} - } as AccessPriv); - _o.set(_j, "AccessPriv.priv_name", _p?.priv_name); - _o.set(_j, "AccessPriv.cols", _p?.cols); - return _j; - }, - grantRoleStmt(_p?: GrantRoleStmt["GrantRoleStmt"]): GrantRoleStmt { - const _j = ({ - GrantRoleStmt: {} - } as GrantRoleStmt); - _o.set(_j, "GrantRoleStmt.granted_roles", _p?.granted_roles); - _o.set(_j, "GrantRoleStmt.grantee_roles", _p?.grantee_roles); - _o.set(_j, "GrantRoleStmt.is_grant", _p?.is_grant); - _o.set(_j, "GrantRoleStmt.opt", _p?.opt); - _o.set(_j, "GrantRoleStmt.grantor", _p?.grantor); - _o.set(_j, "GrantRoleStmt.behavior", _p?.behavior); - return _j; - }, - alterDefaultPrivilegesStmt(_p?: AlterDefaultPrivilegesStmt["AlterDefaultPrivilegesStmt"]): AlterDefaultPrivilegesStmt { - const _j = ({ - AlterDefaultPrivilegesStmt: {} - } as AlterDefaultPrivilegesStmt); - _o.set(_j, "AlterDefaultPrivilegesStmt.options", _p?.options); - _o.set(_j, "AlterDefaultPrivilegesStmt.action", _p?.action); - return _j; - }, - copyStmt(_p?: CopyStmt["CopyStmt"]): CopyStmt { - const _j = ({ - CopyStmt: {} - } as CopyStmt); - _o.set(_j, "CopyStmt.relation", _p?.relation); - _o.set(_j, "CopyStmt.query", _p?.query); - _o.set(_j, "CopyStmt.attlist", _p?.attlist); - _o.set(_j, "CopyStmt.is_from", _p?.is_from); - _o.set(_j, "CopyStmt.is_program", _p?.is_program); - _o.set(_j, "CopyStmt.filename", _p?.filename); - _o.set(_j, "CopyStmt.options", _p?.options); - _o.set(_j, "CopyStmt.whereClause", _p?.whereClause); - return _j; - }, - variableSetStmt(_p?: VariableSetStmt["VariableSetStmt"]): VariableSetStmt { - const _j = ({ - VariableSetStmt: {} - } as VariableSetStmt); - _o.set(_j, "VariableSetStmt.kind", _p?.kind); - _o.set(_j, "VariableSetStmt.name", _p?.name); - _o.set(_j, "VariableSetStmt.args", _p?.args); - _o.set(_j, "VariableSetStmt.is_local", _p?.is_local); - return _j; - }, - variableShowStmt(_p?: VariableShowStmt["VariableShowStmt"]): VariableShowStmt { - const _j = ({ - VariableShowStmt: {} - } as VariableShowStmt); - _o.set(_j, "VariableShowStmt.name", _p?.name); - return _j; - }, - createStmt(_p?: CreateStmt["CreateStmt"]): CreateStmt { - const _j = ({ - CreateStmt: {} - } as CreateStmt); - _o.set(_j, "CreateStmt.relation", _p?.relation); - _o.set(_j, "CreateStmt.tableElts", _p?.tableElts); - _o.set(_j, "CreateStmt.inhRelations", _p?.inhRelations); - _o.set(_j, "CreateStmt.partbound", _p?.partbound); - _o.set(_j, "CreateStmt.partspec", _p?.partspec); - _o.set(_j, "CreateStmt.ofTypename", _p?.ofTypename); - _o.set(_j, "CreateStmt.constraints", _p?.constraints); - _o.set(_j, "CreateStmt.options", _p?.options); - _o.set(_j, "CreateStmt.oncommit", _p?.oncommit); - _o.set(_j, "CreateStmt.tablespacename", _p?.tablespacename); - _o.set(_j, "CreateStmt.accessMethod", _p?.accessMethod); - _o.set(_j, "CreateStmt.if_not_exists", _p?.if_not_exists); - return _j; - }, - constraint(_p?: Constraint["Constraint"]): Constraint { - const _j = ({ - Constraint: {} - } as Constraint); - _o.set(_j, "Constraint.contype", _p?.contype); - _o.set(_j, "Constraint.conname", _p?.conname); - _o.set(_j, "Constraint.deferrable", _p?.deferrable); - _o.set(_j, "Constraint.initdeferred", _p?.initdeferred); - _o.set(_j, "Constraint.location", _p?.location); - _o.set(_j, "Constraint.is_no_inherit", _p?.is_no_inherit); - _o.set(_j, "Constraint.raw_expr", _p?.raw_expr); - _o.set(_j, "Constraint.cooked_expr", _p?.cooked_expr); - _o.set(_j, "Constraint.generated_when", _p?.generated_when); - _o.set(_j, "Constraint.nulls_not_distinct", _p?.nulls_not_distinct); - _o.set(_j, "Constraint.keys", _p?.keys); - _o.set(_j, "Constraint.including", _p?.including); - _o.set(_j, "Constraint.exclusions", _p?.exclusions); - _o.set(_j, "Constraint.options", _p?.options); - _o.set(_j, "Constraint.indexname", _p?.indexname); - _o.set(_j, "Constraint.indexspace", _p?.indexspace); - _o.set(_j, "Constraint.reset_default_tblspc", _p?.reset_default_tblspc); - _o.set(_j, "Constraint.access_method", _p?.access_method); - _o.set(_j, "Constraint.where_clause", _p?.where_clause); - _o.set(_j, "Constraint.pktable", _p?.pktable); - _o.set(_j, "Constraint.fk_attrs", _p?.fk_attrs); - _o.set(_j, "Constraint.pk_attrs", _p?.pk_attrs); - _o.set(_j, "Constraint.fk_matchtype", _p?.fk_matchtype); - _o.set(_j, "Constraint.fk_upd_action", _p?.fk_upd_action); - _o.set(_j, "Constraint.fk_del_action", _p?.fk_del_action); - _o.set(_j, "Constraint.fk_del_set_cols", _p?.fk_del_set_cols); - _o.set(_j, "Constraint.old_conpfeqop", _p?.old_conpfeqop); - _o.set(_j, "Constraint.old_pktable_oid", _p?.old_pktable_oid); - _o.set(_j, "Constraint.skip_validation", _p?.skip_validation); - _o.set(_j, "Constraint.initially_valid", _p?.initially_valid); - return _j; - }, - createTableSpaceStmt(_p?: CreateTableSpaceStmt["CreateTableSpaceStmt"]): CreateTableSpaceStmt { - const _j = ({ - CreateTableSpaceStmt: {} - } as CreateTableSpaceStmt); - _o.set(_j, "CreateTableSpaceStmt.tablespacename", _p?.tablespacename); - _o.set(_j, "CreateTableSpaceStmt.owner", _p?.owner); - _o.set(_j, "CreateTableSpaceStmt.location", _p?.location); - _o.set(_j, "CreateTableSpaceStmt.options", _p?.options); - return _j; - }, - dropTableSpaceStmt(_p?: DropTableSpaceStmt["DropTableSpaceStmt"]): DropTableSpaceStmt { - const _j = ({ - DropTableSpaceStmt: {} - } as DropTableSpaceStmt); - _o.set(_j, "DropTableSpaceStmt.tablespacename", _p?.tablespacename); - _o.set(_j, "DropTableSpaceStmt.missing_ok", _p?.missing_ok); - return _j; - }, - alterTableSpaceOptionsStmt(_p?: AlterTableSpaceOptionsStmt["AlterTableSpaceOptionsStmt"]): AlterTableSpaceOptionsStmt { - const _j = ({ - AlterTableSpaceOptionsStmt: {} - } as AlterTableSpaceOptionsStmt); - _o.set(_j, "AlterTableSpaceOptionsStmt.tablespacename", _p?.tablespacename); - _o.set(_j, "AlterTableSpaceOptionsStmt.options", _p?.options); - _o.set(_j, "AlterTableSpaceOptionsStmt.isReset", _p?.isReset); - return _j; - }, - alterTableMoveAllStmt(_p?: AlterTableMoveAllStmt["AlterTableMoveAllStmt"]): AlterTableMoveAllStmt { - const _j = ({ - AlterTableMoveAllStmt: {} - } as AlterTableMoveAllStmt); - _o.set(_j, "AlterTableMoveAllStmt.orig_tablespacename", _p?.orig_tablespacename); - _o.set(_j, "AlterTableMoveAllStmt.objtype", _p?.objtype); - _o.set(_j, "AlterTableMoveAllStmt.roles", _p?.roles); - _o.set(_j, "AlterTableMoveAllStmt.new_tablespacename", _p?.new_tablespacename); - _o.set(_j, "AlterTableMoveAllStmt.nowait", _p?.nowait); - return _j; - }, - createExtensionStmt(_p?: CreateExtensionStmt["CreateExtensionStmt"]): CreateExtensionStmt { - const _j = ({ - CreateExtensionStmt: {} - } as CreateExtensionStmt); - _o.set(_j, "CreateExtensionStmt.extname", _p?.extname); - _o.set(_j, "CreateExtensionStmt.if_not_exists", _p?.if_not_exists); - _o.set(_j, "CreateExtensionStmt.options", _p?.options); - return _j; - }, - alterExtensionStmt(_p?: AlterExtensionStmt["AlterExtensionStmt"]): AlterExtensionStmt { - const _j = ({ - AlterExtensionStmt: {} - } as AlterExtensionStmt); - _o.set(_j, "AlterExtensionStmt.extname", _p?.extname); - _o.set(_j, "AlterExtensionStmt.options", _p?.options); - return _j; - }, - alterExtensionContentsStmt(_p?: AlterExtensionContentsStmt["AlterExtensionContentsStmt"]): AlterExtensionContentsStmt { - const _j = ({ - AlterExtensionContentsStmt: {} - } as AlterExtensionContentsStmt); - _o.set(_j, "AlterExtensionContentsStmt.extname", _p?.extname); - _o.set(_j, "AlterExtensionContentsStmt.action", _p?.action); - _o.set(_j, "AlterExtensionContentsStmt.objtype", _p?.objtype); - _o.set(_j, "AlterExtensionContentsStmt.object", _p?.object); - return _j; - }, - createFdwStmt(_p?: CreateFdwStmt["CreateFdwStmt"]): CreateFdwStmt { - const _j = ({ - CreateFdwStmt: {} - } as CreateFdwStmt); - _o.set(_j, "CreateFdwStmt.fdwname", _p?.fdwname); - _o.set(_j, "CreateFdwStmt.func_options", _p?.func_options); - _o.set(_j, "CreateFdwStmt.options", _p?.options); - return _j; - }, - alterFdwStmt(_p?: AlterFdwStmt["AlterFdwStmt"]): AlterFdwStmt { - const _j = ({ - AlterFdwStmt: {} - } as AlterFdwStmt); - _o.set(_j, "AlterFdwStmt.fdwname", _p?.fdwname); - _o.set(_j, "AlterFdwStmt.func_options", _p?.func_options); - _o.set(_j, "AlterFdwStmt.options", _p?.options); - return _j; - }, - createForeignServerStmt(_p?: CreateForeignServerStmt["CreateForeignServerStmt"]): CreateForeignServerStmt { - const _j = ({ - CreateForeignServerStmt: {} - } as CreateForeignServerStmt); - _o.set(_j, "CreateForeignServerStmt.servername", _p?.servername); - _o.set(_j, "CreateForeignServerStmt.servertype", _p?.servertype); - _o.set(_j, "CreateForeignServerStmt.version", _p?.version); - _o.set(_j, "CreateForeignServerStmt.fdwname", _p?.fdwname); - _o.set(_j, "CreateForeignServerStmt.if_not_exists", _p?.if_not_exists); - _o.set(_j, "CreateForeignServerStmt.options", _p?.options); - return _j; - }, - alterForeignServerStmt(_p?: AlterForeignServerStmt["AlterForeignServerStmt"]): AlterForeignServerStmt { - const _j = ({ - AlterForeignServerStmt: {} - } as AlterForeignServerStmt); - _o.set(_j, "AlterForeignServerStmt.servername", _p?.servername); - _o.set(_j, "AlterForeignServerStmt.version", _p?.version); - _o.set(_j, "AlterForeignServerStmt.options", _p?.options); - _o.set(_j, "AlterForeignServerStmt.has_version", _p?.has_version); - return _j; - }, - createForeignTableStmt(_p?: CreateForeignTableStmt["CreateForeignTableStmt"]): CreateForeignTableStmt { - const _j = ({ - CreateForeignTableStmt: {} - } as CreateForeignTableStmt); - _o.set(_j, "CreateForeignTableStmt.base", _p?.base); - _o.set(_j, "CreateForeignTableStmt.servername", _p?.servername); - _o.set(_j, "CreateForeignTableStmt.options", _p?.options); - return _j; - }, - createUserMappingStmt(_p?: CreateUserMappingStmt["CreateUserMappingStmt"]): CreateUserMappingStmt { - const _j = ({ - CreateUserMappingStmt: {} - } as CreateUserMappingStmt); - _o.set(_j, "CreateUserMappingStmt.user", _p?.user); - _o.set(_j, "CreateUserMappingStmt.servername", _p?.servername); - _o.set(_j, "CreateUserMappingStmt.if_not_exists", _p?.if_not_exists); - _o.set(_j, "CreateUserMappingStmt.options", _p?.options); - return _j; - }, - alterUserMappingStmt(_p?: AlterUserMappingStmt["AlterUserMappingStmt"]): AlterUserMappingStmt { - const _j = ({ - AlterUserMappingStmt: {} - } as AlterUserMappingStmt); - _o.set(_j, "AlterUserMappingStmt.user", _p?.user); - _o.set(_j, "AlterUserMappingStmt.servername", _p?.servername); - _o.set(_j, "AlterUserMappingStmt.options", _p?.options); - return _j; - }, - dropUserMappingStmt(_p?: DropUserMappingStmt["DropUserMappingStmt"]): DropUserMappingStmt { - const _j = ({ - DropUserMappingStmt: {} - } as DropUserMappingStmt); - _o.set(_j, "DropUserMappingStmt.user", _p?.user); - _o.set(_j, "DropUserMappingStmt.servername", _p?.servername); - _o.set(_j, "DropUserMappingStmt.missing_ok", _p?.missing_ok); - return _j; - }, - importForeignSchemaStmt(_p?: ImportForeignSchemaStmt["ImportForeignSchemaStmt"]): ImportForeignSchemaStmt { - const _j = ({ - ImportForeignSchemaStmt: {} - } as ImportForeignSchemaStmt); - _o.set(_j, "ImportForeignSchemaStmt.server_name", _p?.server_name); - _o.set(_j, "ImportForeignSchemaStmt.remote_schema", _p?.remote_schema); - _o.set(_j, "ImportForeignSchemaStmt.local_schema", _p?.local_schema); - _o.set(_j, "ImportForeignSchemaStmt.list_type", _p?.list_type); - _o.set(_j, "ImportForeignSchemaStmt.table_list", _p?.table_list); - _o.set(_j, "ImportForeignSchemaStmt.options", _p?.options); - return _j; - }, - createPolicyStmt(_p?: CreatePolicyStmt["CreatePolicyStmt"]): CreatePolicyStmt { - const _j = ({ - CreatePolicyStmt: {} - } as CreatePolicyStmt); - _o.set(_j, "CreatePolicyStmt.policy_name", _p?.policy_name); - _o.set(_j, "CreatePolicyStmt.table", _p?.table); - _o.set(_j, "CreatePolicyStmt.cmd_name", _p?.cmd_name); - _o.set(_j, "CreatePolicyStmt.permissive", _p?.permissive); - _o.set(_j, "CreatePolicyStmt.roles", _p?.roles); - _o.set(_j, "CreatePolicyStmt.qual", _p?.qual); - _o.set(_j, "CreatePolicyStmt.with_check", _p?.with_check); - return _j; - }, - alterPolicyStmt(_p?: AlterPolicyStmt["AlterPolicyStmt"]): AlterPolicyStmt { - const _j = ({ - AlterPolicyStmt: {} - } as AlterPolicyStmt); - _o.set(_j, "AlterPolicyStmt.policy_name", _p?.policy_name); - _o.set(_j, "AlterPolicyStmt.table", _p?.table); - _o.set(_j, "AlterPolicyStmt.roles", _p?.roles); - _o.set(_j, "AlterPolicyStmt.qual", _p?.qual); - _o.set(_j, "AlterPolicyStmt.with_check", _p?.with_check); - return _j; - }, - createAmStmt(_p?: CreateAmStmt["CreateAmStmt"]): CreateAmStmt { - const _j = ({ - CreateAmStmt: {} - } as CreateAmStmt); - _o.set(_j, "CreateAmStmt.amname", _p?.amname); - _o.set(_j, "CreateAmStmt.handler_name", _p?.handler_name); - _o.set(_j, "CreateAmStmt.amtype", _p?.amtype); - return _j; - }, - createTrigStmt(_p?: CreateTrigStmt["CreateTrigStmt"]): CreateTrigStmt { - const _j = ({ - CreateTrigStmt: {} - } as CreateTrigStmt); - _o.set(_j, "CreateTrigStmt.replace", _p?.replace); - _o.set(_j, "CreateTrigStmt.isconstraint", _p?.isconstraint); - _o.set(_j, "CreateTrigStmt.trigname", _p?.trigname); - _o.set(_j, "CreateTrigStmt.relation", _p?.relation); - _o.set(_j, "CreateTrigStmt.funcname", _p?.funcname); - _o.set(_j, "CreateTrigStmt.args", _p?.args); - _o.set(_j, "CreateTrigStmt.row", _p?.row); - _o.set(_j, "CreateTrigStmt.timing", _p?.timing); - _o.set(_j, "CreateTrigStmt.events", _p?.events); - _o.set(_j, "CreateTrigStmt.columns", _p?.columns); - _o.set(_j, "CreateTrigStmt.whenClause", _p?.whenClause); - _o.set(_j, "CreateTrigStmt.transitionRels", _p?.transitionRels); - _o.set(_j, "CreateTrigStmt.deferrable", _p?.deferrable); - _o.set(_j, "CreateTrigStmt.initdeferred", _p?.initdeferred); - _o.set(_j, "CreateTrigStmt.constrrel", _p?.constrrel); - return _j; - }, - createEventTrigStmt(_p?: CreateEventTrigStmt["CreateEventTrigStmt"]): CreateEventTrigStmt { - const _j = ({ - CreateEventTrigStmt: {} - } as CreateEventTrigStmt); - _o.set(_j, "CreateEventTrigStmt.trigname", _p?.trigname); - _o.set(_j, "CreateEventTrigStmt.eventname", _p?.eventname); - _o.set(_j, "CreateEventTrigStmt.whenclause", _p?.whenclause); - _o.set(_j, "CreateEventTrigStmt.funcname", _p?.funcname); - return _j; - }, - alterEventTrigStmt(_p?: AlterEventTrigStmt["AlterEventTrigStmt"]): AlterEventTrigStmt { - const _j = ({ - AlterEventTrigStmt: {} - } as AlterEventTrigStmt); - _o.set(_j, "AlterEventTrigStmt.trigname", _p?.trigname); - _o.set(_j, "AlterEventTrigStmt.tgenabled", _p?.tgenabled); - return _j; - }, - createpLangStmt(_p?: CreatePLangStmt["CreatePLangStmt"]): CreatePLangStmt { - const _j = ({ - CreatePLangStmt: {} - } as CreatePLangStmt); - _o.set(_j, "CreatePLangStmt.replace", _p?.replace); - _o.set(_j, "CreatePLangStmt.plname", _p?.plname); - _o.set(_j, "CreatePLangStmt.plhandler", _p?.plhandler); - _o.set(_j, "CreatePLangStmt.plinline", _p?.plinline); - _o.set(_j, "CreatePLangStmt.plvalidator", _p?.plvalidator); - _o.set(_j, "CreatePLangStmt.pltrusted", _p?.pltrusted); - return _j; - }, - createRoleStmt(_p?: CreateRoleStmt["CreateRoleStmt"]): CreateRoleStmt { - const _j = ({ - CreateRoleStmt: {} - } as CreateRoleStmt); - _o.set(_j, "CreateRoleStmt.stmt_type", _p?.stmt_type); - _o.set(_j, "CreateRoleStmt.role", _p?.role); - _o.set(_j, "CreateRoleStmt.options", _p?.options); - return _j; - }, - alterRoleStmt(_p?: AlterRoleStmt["AlterRoleStmt"]): AlterRoleStmt { - const _j = ({ - AlterRoleStmt: {} - } as AlterRoleStmt); - _o.set(_j, "AlterRoleStmt.role", _p?.role); - _o.set(_j, "AlterRoleStmt.options", _p?.options); - _o.set(_j, "AlterRoleStmt.action", _p?.action); - return _j; - }, - alterRoleSetStmt(_p?: AlterRoleSetStmt["AlterRoleSetStmt"]): AlterRoleSetStmt { - const _j = ({ - AlterRoleSetStmt: {} - } as AlterRoleSetStmt); - _o.set(_j, "AlterRoleSetStmt.role", _p?.role); - _o.set(_j, "AlterRoleSetStmt.database", _p?.database); - _o.set(_j, "AlterRoleSetStmt.setstmt", _p?.setstmt); - return _j; - }, - dropRoleStmt(_p?: DropRoleStmt["DropRoleStmt"]): DropRoleStmt { - const _j = ({ - DropRoleStmt: {} - } as DropRoleStmt); - _o.set(_j, "DropRoleStmt.roles", _p?.roles); - _o.set(_j, "DropRoleStmt.missing_ok", _p?.missing_ok); - return _j; - }, - createSeqStmt(_p?: CreateSeqStmt["CreateSeqStmt"]): CreateSeqStmt { - const _j = ({ - CreateSeqStmt: {} - } as CreateSeqStmt); - _o.set(_j, "CreateSeqStmt.sequence", _p?.sequence); - _o.set(_j, "CreateSeqStmt.options", _p?.options); - _o.set(_j, "CreateSeqStmt.ownerId", _p?.ownerId); - _o.set(_j, "CreateSeqStmt.for_identity", _p?.for_identity); - _o.set(_j, "CreateSeqStmt.if_not_exists", _p?.if_not_exists); - return _j; - }, - alterSeqStmt(_p?: AlterSeqStmt["AlterSeqStmt"]): AlterSeqStmt { - const _j = ({ - AlterSeqStmt: {} - } as AlterSeqStmt); - _o.set(_j, "AlterSeqStmt.sequence", _p?.sequence); - _o.set(_j, "AlterSeqStmt.options", _p?.options); - _o.set(_j, "AlterSeqStmt.for_identity", _p?.for_identity); - _o.set(_j, "AlterSeqStmt.missing_ok", _p?.missing_ok); - return _j; - }, - defineStmt(_p?: DefineStmt["DefineStmt"]): DefineStmt { - const _j = ({ - DefineStmt: {} - } as DefineStmt); - _o.set(_j, "DefineStmt.kind", _p?.kind); - _o.set(_j, "DefineStmt.oldstyle", _p?.oldstyle); - _o.set(_j, "DefineStmt.defnames", _p?.defnames); - _o.set(_j, "DefineStmt.args", _p?.args); - _o.set(_j, "DefineStmt.definition", _p?.definition); - _o.set(_j, "DefineStmt.if_not_exists", _p?.if_not_exists); - _o.set(_j, "DefineStmt.replace", _p?.replace); - return _j; - }, - createDomainStmt(_p?: CreateDomainStmt["CreateDomainStmt"]): CreateDomainStmt { - const _j = ({ - CreateDomainStmt: {} - } as CreateDomainStmt); - _o.set(_j, "CreateDomainStmt.domainname", _p?.domainname); - _o.set(_j, "CreateDomainStmt.typeName", _p?.typeName); - _o.set(_j, "CreateDomainStmt.collClause", _p?.collClause); - _o.set(_j, "CreateDomainStmt.constraints", _p?.constraints); - return _j; - }, - createOpClassStmt(_p?: CreateOpClassStmt["CreateOpClassStmt"]): CreateOpClassStmt { - const _j = ({ - CreateOpClassStmt: {} - } as CreateOpClassStmt); - _o.set(_j, "CreateOpClassStmt.opclassname", _p?.opclassname); - _o.set(_j, "CreateOpClassStmt.opfamilyname", _p?.opfamilyname); - _o.set(_j, "CreateOpClassStmt.amname", _p?.amname); - _o.set(_j, "CreateOpClassStmt.datatype", _p?.datatype); - _o.set(_j, "CreateOpClassStmt.items", _p?.items); - _o.set(_j, "CreateOpClassStmt.isDefault", _p?.isDefault); - return _j; - }, - createOpClassItem(_p?: CreateOpClassItem["CreateOpClassItem"]): CreateOpClassItem { - const _j = ({ - CreateOpClassItem: {} - } as CreateOpClassItem); - _o.set(_j, "CreateOpClassItem.itemtype", _p?.itemtype); - _o.set(_j, "CreateOpClassItem.name", _p?.name); - _o.set(_j, "CreateOpClassItem.number", _p?.number); - _o.set(_j, "CreateOpClassItem.order_family", _p?.order_family); - _o.set(_j, "CreateOpClassItem.class_args", _p?.class_args); - _o.set(_j, "CreateOpClassItem.storedtype", _p?.storedtype); - return _j; - }, - createOpFamilyStmt(_p?: CreateOpFamilyStmt["CreateOpFamilyStmt"]): CreateOpFamilyStmt { - const _j = ({ - CreateOpFamilyStmt: {} - } as CreateOpFamilyStmt); - _o.set(_j, "CreateOpFamilyStmt.opfamilyname", _p?.opfamilyname); - _o.set(_j, "CreateOpFamilyStmt.amname", _p?.amname); - return _j; - }, - alterOpFamilyStmt(_p?: AlterOpFamilyStmt["AlterOpFamilyStmt"]): AlterOpFamilyStmt { - const _j = ({ - AlterOpFamilyStmt: {} - } as AlterOpFamilyStmt); - _o.set(_j, "AlterOpFamilyStmt.opfamilyname", _p?.opfamilyname); - _o.set(_j, "AlterOpFamilyStmt.amname", _p?.amname); - _o.set(_j, "AlterOpFamilyStmt.isDrop", _p?.isDrop); - _o.set(_j, "AlterOpFamilyStmt.items", _p?.items); - return _j; - }, - dropStmt(_p?: DropStmt["DropStmt"]): DropStmt { - const _j = ({ - DropStmt: {} - } as DropStmt); - _o.set(_j, "DropStmt.objects", _p?.objects); - _o.set(_j, "DropStmt.removeType", _p?.removeType); - _o.set(_j, "DropStmt.behavior", _p?.behavior); - _o.set(_j, "DropStmt.missing_ok", _p?.missing_ok); - _o.set(_j, "DropStmt.concurrent", _p?.concurrent); - return _j; - }, - truncateStmt(_p?: TruncateStmt["TruncateStmt"]): TruncateStmt { - const _j = ({ - TruncateStmt: {} - } as TruncateStmt); - _o.set(_j, "TruncateStmt.relations", _p?.relations); - _o.set(_j, "TruncateStmt.restart_seqs", _p?.restart_seqs); - _o.set(_j, "TruncateStmt.behavior", _p?.behavior); - return _j; - }, - commentStmt(_p?: CommentStmt["CommentStmt"]): CommentStmt { - const _j = ({ - CommentStmt: {} - } as CommentStmt); - _o.set(_j, "CommentStmt.objtype", _p?.objtype); - _o.set(_j, "CommentStmt.object", _p?.object); - _o.set(_j, "CommentStmt.comment", _p?.comment); - return _j; - }, - secLabelStmt(_p?: SecLabelStmt["SecLabelStmt"]): SecLabelStmt { - const _j = ({ - SecLabelStmt: {} - } as SecLabelStmt); - _o.set(_j, "SecLabelStmt.objtype", _p?.objtype); - _o.set(_j, "SecLabelStmt.object", _p?.object); - _o.set(_j, "SecLabelStmt.provider", _p?.provider); - _o.set(_j, "SecLabelStmt.label", _p?.label); - return _j; - }, - declareCursorStmt(_p?: DeclareCursorStmt["DeclareCursorStmt"]): DeclareCursorStmt { - const _j = ({ - DeclareCursorStmt: {} - } as DeclareCursorStmt); - _o.set(_j, "DeclareCursorStmt.portalname", _p?.portalname); - _o.set(_j, "DeclareCursorStmt.options", _p?.options); - _o.set(_j, "DeclareCursorStmt.query", _p?.query); - return _j; - }, - closePortalStmt(_p?: ClosePortalStmt["ClosePortalStmt"]): ClosePortalStmt { - const _j = ({ - ClosePortalStmt: {} - } as ClosePortalStmt); - _o.set(_j, "ClosePortalStmt.portalname", _p?.portalname); - return _j; - }, - fetchStmt(_p?: FetchStmt["FetchStmt"]): FetchStmt { - const _j = ({ - FetchStmt: {} - } as FetchStmt); - _o.set(_j, "FetchStmt.direction", _p?.direction); - _o.set(_j, "FetchStmt.howMany", _p?.howMany); - _o.set(_j, "FetchStmt.portalname", _p?.portalname); - _o.set(_j, "FetchStmt.ismove", _p?.ismove); - return _j; - }, - indexStmt(_p?: IndexStmt["IndexStmt"]): IndexStmt { - const _j = ({ - IndexStmt: {} - } as IndexStmt); - _o.set(_j, "IndexStmt.idxname", _p?.idxname); - _o.set(_j, "IndexStmt.relation", _p?.relation); - _o.set(_j, "IndexStmt.accessMethod", _p?.accessMethod); - _o.set(_j, "IndexStmt.tableSpace", _p?.tableSpace); - _o.set(_j, "IndexStmt.indexParams", _p?.indexParams); - _o.set(_j, "IndexStmt.indexIncludingParams", _p?.indexIncludingParams); - _o.set(_j, "IndexStmt.options", _p?.options); - _o.set(_j, "IndexStmt.whereClause", _p?.whereClause); - _o.set(_j, "IndexStmt.excludeOpNames", _p?.excludeOpNames); - _o.set(_j, "IndexStmt.idxcomment", _p?.idxcomment); - _o.set(_j, "IndexStmt.indexOid", _p?.indexOid); - _o.set(_j, "IndexStmt.oldNumber", _p?.oldNumber); - _o.set(_j, "IndexStmt.oldCreateSubid", _p?.oldCreateSubid); - _o.set(_j, "IndexStmt.oldFirstRelfilelocatorSubid", _p?.oldFirstRelfilelocatorSubid); - _o.set(_j, "IndexStmt.unique", _p?.unique); - _o.set(_j, "IndexStmt.nulls_not_distinct", _p?.nulls_not_distinct); - _o.set(_j, "IndexStmt.primary", _p?.primary); - _o.set(_j, "IndexStmt.isconstraint", _p?.isconstraint); - _o.set(_j, "IndexStmt.deferrable", _p?.deferrable); - _o.set(_j, "IndexStmt.initdeferred", _p?.initdeferred); - _o.set(_j, "IndexStmt.transformed", _p?.transformed); - _o.set(_j, "IndexStmt.concurrent", _p?.concurrent); - _o.set(_j, "IndexStmt.if_not_exists", _p?.if_not_exists); - _o.set(_j, "IndexStmt.reset_default_tblspc", _p?.reset_default_tblspc); - return _j; - }, - createStatsStmt(_p?: CreateStatsStmt["CreateStatsStmt"]): CreateStatsStmt { - const _j = ({ - CreateStatsStmt: {} - } as CreateStatsStmt); - _o.set(_j, "CreateStatsStmt.defnames", _p?.defnames); - _o.set(_j, "CreateStatsStmt.stat_types", _p?.stat_types); - _o.set(_j, "CreateStatsStmt.exprs", _p?.exprs); - _o.set(_j, "CreateStatsStmt.relations", _p?.relations); - _o.set(_j, "CreateStatsStmt.stxcomment", _p?.stxcomment); - _o.set(_j, "CreateStatsStmt.transformed", _p?.transformed); - _o.set(_j, "CreateStatsStmt.if_not_exists", _p?.if_not_exists); - return _j; - }, - statsElem(_p?: StatsElem["StatsElem"]): StatsElem { - const _j = ({ - StatsElem: {} - } as StatsElem); - _o.set(_j, "StatsElem.name", _p?.name); - _o.set(_j, "StatsElem.expr", _p?.expr); - return _j; - }, - alterStatsStmt(_p?: AlterStatsStmt["AlterStatsStmt"]): AlterStatsStmt { - const _j = ({ - AlterStatsStmt: {} - } as AlterStatsStmt); - _o.set(_j, "AlterStatsStmt.defnames", _p?.defnames); - _o.set(_j, "AlterStatsStmt.stxstattarget", _p?.stxstattarget); - _o.set(_j, "AlterStatsStmt.missing_ok", _p?.missing_ok); - return _j; - }, - createFunctionStmt(_p?: CreateFunctionStmt["CreateFunctionStmt"]): CreateFunctionStmt { - const _j = ({ - CreateFunctionStmt: {} - } as CreateFunctionStmt); - _o.set(_j, "CreateFunctionStmt.is_procedure", _p?.is_procedure); - _o.set(_j, "CreateFunctionStmt.replace", _p?.replace); - _o.set(_j, "CreateFunctionStmt.funcname", _p?.funcname); - _o.set(_j, "CreateFunctionStmt.parameters", _p?.parameters); - _o.set(_j, "CreateFunctionStmt.returnType", _p?.returnType); - _o.set(_j, "CreateFunctionStmt.options", _p?.options); - _o.set(_j, "CreateFunctionStmt.sql_body", _p?.sql_body); - return _j; - }, - functionParameter(_p?: FunctionParameter["FunctionParameter"]): FunctionParameter { - const _j = ({ - FunctionParameter: {} - } as FunctionParameter); - _o.set(_j, "FunctionParameter.name", _p?.name); - _o.set(_j, "FunctionParameter.argType", _p?.argType); - _o.set(_j, "FunctionParameter.mode", _p?.mode); - _o.set(_j, "FunctionParameter.defexpr", _p?.defexpr); - return _j; - }, - alterFunctionStmt(_p?: AlterFunctionStmt["AlterFunctionStmt"]): AlterFunctionStmt { - const _j = ({ - AlterFunctionStmt: {} - } as AlterFunctionStmt); - _o.set(_j, "AlterFunctionStmt.objtype", _p?.objtype); - _o.set(_j, "AlterFunctionStmt.func", _p?.func); - _o.set(_j, "AlterFunctionStmt.actions", _p?.actions); - return _j; - }, - doStmt(_p?: DoStmt["DoStmt"]): DoStmt { - const _j = ({ - DoStmt: {} - } as DoStmt); - _o.set(_j, "DoStmt.args", _p?.args); - return _j; - }, - inlineCodeBlock(_p?: InlineCodeBlock["InlineCodeBlock"]): InlineCodeBlock { - const _j = ({ - InlineCodeBlock: {} - } as InlineCodeBlock); - _o.set(_j, "InlineCodeBlock.source_text", _p?.source_text); - _o.set(_j, "InlineCodeBlock.langOid", _p?.langOid); - _o.set(_j, "InlineCodeBlock.langIsTrusted", _p?.langIsTrusted); - _o.set(_j, "InlineCodeBlock.atomic", _p?.atomic); - return _j; - }, - callStmt(_p?: CallStmt["CallStmt"]): CallStmt { - const _j = ({ - CallStmt: {} - } as CallStmt); - _o.set(_j, "CallStmt.funccall", _p?.funccall); - _o.set(_j, "CallStmt.funcexpr", _p?.funcexpr); - _o.set(_j, "CallStmt.outargs", _p?.outargs); - return _j; - }, - callContext(_p?: CallContext["CallContext"]): CallContext { - const _j = ({ - CallContext: {} - } as CallContext); - _o.set(_j, "CallContext.atomic", _p?.atomic); - return _j; - }, - renameStmt(_p?: RenameStmt["RenameStmt"]): RenameStmt { - const _j = ({ - RenameStmt: {} - } as RenameStmt); - _o.set(_j, "RenameStmt.renameType", _p?.renameType); - _o.set(_j, "RenameStmt.relationType", _p?.relationType); - _o.set(_j, "RenameStmt.relation", _p?.relation); - _o.set(_j, "RenameStmt.object", _p?.object); - _o.set(_j, "RenameStmt.subname", _p?.subname); - _o.set(_j, "RenameStmt.newname", _p?.newname); - _o.set(_j, "RenameStmt.behavior", _p?.behavior); - _o.set(_j, "RenameStmt.missing_ok", _p?.missing_ok); - return _j; - }, - alterObjectDependsStmt(_p?: AlterObjectDependsStmt["AlterObjectDependsStmt"]): AlterObjectDependsStmt { - const _j = ({ - AlterObjectDependsStmt: {} - } as AlterObjectDependsStmt); - _o.set(_j, "AlterObjectDependsStmt.objectType", _p?.objectType); - _o.set(_j, "AlterObjectDependsStmt.relation", _p?.relation); - _o.set(_j, "AlterObjectDependsStmt.object", _p?.object); - _o.set(_j, "AlterObjectDependsStmt.extname", _p?.extname); - _o.set(_j, "AlterObjectDependsStmt.remove", _p?.remove); - return _j; - }, - alterObjectSchemaStmt(_p?: AlterObjectSchemaStmt["AlterObjectSchemaStmt"]): AlterObjectSchemaStmt { - const _j = ({ - AlterObjectSchemaStmt: {} - } as AlterObjectSchemaStmt); - _o.set(_j, "AlterObjectSchemaStmt.objectType", _p?.objectType); - _o.set(_j, "AlterObjectSchemaStmt.relation", _p?.relation); - _o.set(_j, "AlterObjectSchemaStmt.object", _p?.object); - _o.set(_j, "AlterObjectSchemaStmt.newschema", _p?.newschema); - _o.set(_j, "AlterObjectSchemaStmt.missing_ok", _p?.missing_ok); - return _j; - }, - alterOwnerStmt(_p?: AlterOwnerStmt["AlterOwnerStmt"]): AlterOwnerStmt { - const _j = ({ - AlterOwnerStmt: {} - } as AlterOwnerStmt); - _o.set(_j, "AlterOwnerStmt.objectType", _p?.objectType); - _o.set(_j, "AlterOwnerStmt.relation", _p?.relation); - _o.set(_j, "AlterOwnerStmt.object", _p?.object); - _o.set(_j, "AlterOwnerStmt.newowner", _p?.newowner); - return _j; - }, - alterOperatorStmt(_p?: AlterOperatorStmt["AlterOperatorStmt"]): AlterOperatorStmt { - const _j = ({ - AlterOperatorStmt: {} - } as AlterOperatorStmt); - _o.set(_j, "AlterOperatorStmt.opername", _p?.opername); - _o.set(_j, "AlterOperatorStmt.options", _p?.options); - return _j; - }, - alterTypeStmt(_p?: AlterTypeStmt["AlterTypeStmt"]): AlterTypeStmt { - const _j = ({ - AlterTypeStmt: {} - } as AlterTypeStmt); - _o.set(_j, "AlterTypeStmt.typeName", _p?.typeName); - _o.set(_j, "AlterTypeStmt.options", _p?.options); - return _j; - }, - ruleStmt(_p?: RuleStmt["RuleStmt"]): RuleStmt { - const _j = ({ - RuleStmt: {} - } as RuleStmt); - _o.set(_j, "RuleStmt.relation", _p?.relation); - _o.set(_j, "RuleStmt.rulename", _p?.rulename); - _o.set(_j, "RuleStmt.whereClause", _p?.whereClause); - _o.set(_j, "RuleStmt.event", _p?.event); - _o.set(_j, "RuleStmt.instead", _p?.instead); - _o.set(_j, "RuleStmt.actions", _p?.actions); - _o.set(_j, "RuleStmt.replace", _p?.replace); - return _j; - }, - notifyStmt(_p?: NotifyStmt["NotifyStmt"]): NotifyStmt { - const _j = ({ - NotifyStmt: {} - } as NotifyStmt); - _o.set(_j, "NotifyStmt.conditionname", _p?.conditionname); - _o.set(_j, "NotifyStmt.payload", _p?.payload); - return _j; - }, - listenStmt(_p?: ListenStmt["ListenStmt"]): ListenStmt { - const _j = ({ - ListenStmt: {} - } as ListenStmt); - _o.set(_j, "ListenStmt.conditionname", _p?.conditionname); - return _j; - }, - unlistenStmt(_p?: UnlistenStmt["UnlistenStmt"]): UnlistenStmt { - const _j = ({ - UnlistenStmt: {} - } as UnlistenStmt); - _o.set(_j, "UnlistenStmt.conditionname", _p?.conditionname); - return _j; - }, - transactionStmt(_p?: TransactionStmt["TransactionStmt"]): TransactionStmt { - const _j = ({ - TransactionStmt: {} - } as TransactionStmt); - _o.set(_j, "TransactionStmt.kind", _p?.kind); - _o.set(_j, "TransactionStmt.options", _p?.options); - _o.set(_j, "TransactionStmt.savepoint_name", _p?.savepoint_name); - _o.set(_j, "TransactionStmt.gid", _p?.gid); - _o.set(_j, "TransactionStmt.chain", _p?.chain); - return _j; - }, - compositeTypeStmt(_p?: CompositeTypeStmt["CompositeTypeStmt"]): CompositeTypeStmt { - const _j = ({ - CompositeTypeStmt: {} - } as CompositeTypeStmt); - _o.set(_j, "CompositeTypeStmt.typevar", _p?.typevar); - _o.set(_j, "CompositeTypeStmt.coldeflist", _p?.coldeflist); - return _j; - }, - createEnumStmt(_p?: CreateEnumStmt["CreateEnumStmt"]): CreateEnumStmt { - const _j = ({ - CreateEnumStmt: {} - } as CreateEnumStmt); - _o.set(_j, "CreateEnumStmt.typeName", _p?.typeName); - _o.set(_j, "CreateEnumStmt.vals", _p?.vals); - return _j; - }, - createRangeStmt(_p?: CreateRangeStmt["CreateRangeStmt"]): CreateRangeStmt { - const _j = ({ - CreateRangeStmt: {} - } as CreateRangeStmt); - _o.set(_j, "CreateRangeStmt.typeName", _p?.typeName); - _o.set(_j, "CreateRangeStmt.params", _p?.params); - return _j; - }, - alterEnumStmt(_p?: AlterEnumStmt["AlterEnumStmt"]): AlterEnumStmt { - const _j = ({ - AlterEnumStmt: {} - } as AlterEnumStmt); - _o.set(_j, "AlterEnumStmt.typeName", _p?.typeName); - _o.set(_j, "AlterEnumStmt.oldVal", _p?.oldVal); - _o.set(_j, "AlterEnumStmt.newVal", _p?.newVal); - _o.set(_j, "AlterEnumStmt.newValNeighbor", _p?.newValNeighbor); - _o.set(_j, "AlterEnumStmt.newValIsAfter", _p?.newValIsAfter); - _o.set(_j, "AlterEnumStmt.skipIfNewValExists", _p?.skipIfNewValExists); - return _j; - }, - viewStmt(_p?: ViewStmt["ViewStmt"]): ViewStmt { - const _j = ({ - ViewStmt: {} - } as ViewStmt); - _o.set(_j, "ViewStmt.view", _p?.view); - _o.set(_j, "ViewStmt.aliases", _p?.aliases); - _o.set(_j, "ViewStmt.query", _p?.query); - _o.set(_j, "ViewStmt.replace", _p?.replace); - _o.set(_j, "ViewStmt.options", _p?.options); - _o.set(_j, "ViewStmt.withCheckOption", _p?.withCheckOption); - return _j; - }, - loadStmt(_p?: LoadStmt["LoadStmt"]): LoadStmt { - const _j = ({ - LoadStmt: {} - } as LoadStmt); - _o.set(_j, "LoadStmt.filename", _p?.filename); - return _j; - }, - createdbStmt(_p?: CreatedbStmt["CreatedbStmt"]): CreatedbStmt { - const _j = ({ - CreatedbStmt: {} - } as CreatedbStmt); - _o.set(_j, "CreatedbStmt.dbname", _p?.dbname); - _o.set(_j, "CreatedbStmt.options", _p?.options); - return _j; - }, - alterDatabaseStmt(_p?: AlterDatabaseStmt["AlterDatabaseStmt"]): AlterDatabaseStmt { - const _j = ({ - AlterDatabaseStmt: {} - } as AlterDatabaseStmt); - _o.set(_j, "AlterDatabaseStmt.dbname", _p?.dbname); - _o.set(_j, "AlterDatabaseStmt.options", _p?.options); - return _j; - }, - alterDatabaseRefreshCollStmt(_p?: AlterDatabaseRefreshCollStmt["AlterDatabaseRefreshCollStmt"]): AlterDatabaseRefreshCollStmt { - const _j = ({ - AlterDatabaseRefreshCollStmt: {} - } as AlterDatabaseRefreshCollStmt); - _o.set(_j, "AlterDatabaseRefreshCollStmt.dbname", _p?.dbname); - return _j; - }, - alterDatabaseSetStmt(_p?: AlterDatabaseSetStmt["AlterDatabaseSetStmt"]): AlterDatabaseSetStmt { - const _j = ({ - AlterDatabaseSetStmt: {} - } as AlterDatabaseSetStmt); - _o.set(_j, "AlterDatabaseSetStmt.dbname", _p?.dbname); - _o.set(_j, "AlterDatabaseSetStmt.setstmt", _p?.setstmt); - return _j; - }, - dropdbStmt(_p?: DropdbStmt["DropdbStmt"]): DropdbStmt { - const _j = ({ - DropdbStmt: {} - } as DropdbStmt); - _o.set(_j, "DropdbStmt.dbname", _p?.dbname); - _o.set(_j, "DropdbStmt.missing_ok", _p?.missing_ok); - _o.set(_j, "DropdbStmt.options", _p?.options); - return _j; - }, - alterSystemStmt(_p?: AlterSystemStmt["AlterSystemStmt"]): AlterSystemStmt { - const _j = ({ - AlterSystemStmt: {} - } as AlterSystemStmt); - _o.set(_j, "AlterSystemStmt.setstmt", _p?.setstmt); - return _j; - }, - clusterStmt(_p?: ClusterStmt["ClusterStmt"]): ClusterStmt { - const _j = ({ - ClusterStmt: {} - } as ClusterStmt); - _o.set(_j, "ClusterStmt.relation", _p?.relation); - _o.set(_j, "ClusterStmt.indexname", _p?.indexname); - _o.set(_j, "ClusterStmt.params", _p?.params); - return _j; - }, - vacuumStmt(_p?: VacuumStmt["VacuumStmt"]): VacuumStmt { - const _j = ({ - VacuumStmt: {} - } as VacuumStmt); - _o.set(_j, "VacuumStmt.options", _p?.options); - _o.set(_j, "VacuumStmt.rels", _p?.rels); - _o.set(_j, "VacuumStmt.is_vacuumcmd", _p?.is_vacuumcmd); - return _j; - }, - vacuumRelation(_p?: VacuumRelation["VacuumRelation"]): VacuumRelation { - const _j = ({ - VacuumRelation: {} - } as VacuumRelation); - _o.set(_j, "VacuumRelation.relation", _p?.relation); - _o.set(_j, "VacuumRelation.oid", _p?.oid); - _o.set(_j, "VacuumRelation.va_cols", _p?.va_cols); - return _j; - }, - explainStmt(_p?: ExplainStmt["ExplainStmt"]): ExplainStmt { - const _j = ({ - ExplainStmt: {} - } as ExplainStmt); - _o.set(_j, "ExplainStmt.query", _p?.query); - _o.set(_j, "ExplainStmt.options", _p?.options); - return _j; - }, - createTableAsStmt(_p?: CreateTableAsStmt["CreateTableAsStmt"]): CreateTableAsStmt { - const _j = ({ - CreateTableAsStmt: {} - } as CreateTableAsStmt); - _o.set(_j, "CreateTableAsStmt.query", _p?.query); - _o.set(_j, "CreateTableAsStmt.into", _p?.into); - _o.set(_j, "CreateTableAsStmt.objtype", _p?.objtype); - _o.set(_j, "CreateTableAsStmt.is_select_into", _p?.is_select_into); - _o.set(_j, "CreateTableAsStmt.if_not_exists", _p?.if_not_exists); - return _j; - }, - refreshMatViewStmt(_p?: RefreshMatViewStmt["RefreshMatViewStmt"]): RefreshMatViewStmt { - const _j = ({ - RefreshMatViewStmt: {} - } as RefreshMatViewStmt); - _o.set(_j, "RefreshMatViewStmt.concurrent", _p?.concurrent); - _o.set(_j, "RefreshMatViewStmt.skipData", _p?.skipData); - _o.set(_j, "RefreshMatViewStmt.relation", _p?.relation); - return _j; - }, - checkPointStmt(_p?: CheckPointStmt["CheckPointStmt"]): CheckPointStmt { - const _j = ({ - CheckPointStmt: {} - } as CheckPointStmt); - return _j; - }, - discardStmt(_p?: DiscardStmt["DiscardStmt"]): DiscardStmt { - const _j = ({ - DiscardStmt: {} - } as DiscardStmt); - _o.set(_j, "DiscardStmt.target", _p?.target); - return _j; - }, - lockStmt(_p?: LockStmt["LockStmt"]): LockStmt { - const _j = ({ - LockStmt: {} - } as LockStmt); - _o.set(_j, "LockStmt.relations", _p?.relations); - _o.set(_j, "LockStmt.mode", _p?.mode); - _o.set(_j, "LockStmt.nowait", _p?.nowait); - return _j; - }, - constraintsSetStmt(_p?: ConstraintsSetStmt["ConstraintsSetStmt"]): ConstraintsSetStmt { - const _j = ({ - ConstraintsSetStmt: {} - } as ConstraintsSetStmt); - _o.set(_j, "ConstraintsSetStmt.constraints", _p?.constraints); - _o.set(_j, "ConstraintsSetStmt.deferred", _p?.deferred); - return _j; - }, - reindexStmt(_p?: ReindexStmt["ReindexStmt"]): ReindexStmt { - const _j = ({ - ReindexStmt: {} - } as ReindexStmt); - _o.set(_j, "ReindexStmt.kind", _p?.kind); - _o.set(_j, "ReindexStmt.relation", _p?.relation); - _o.set(_j, "ReindexStmt.name", _p?.name); - _o.set(_j, "ReindexStmt.params", _p?.params); - return _j; - }, - createConversionStmt(_p?: CreateConversionStmt["CreateConversionStmt"]): CreateConversionStmt { - const _j = ({ - CreateConversionStmt: {} - } as CreateConversionStmt); - _o.set(_j, "CreateConversionStmt.conversion_name", _p?.conversion_name); - _o.set(_j, "CreateConversionStmt.for_encoding_name", _p?.for_encoding_name); - _o.set(_j, "CreateConversionStmt.to_encoding_name", _p?.to_encoding_name); - _o.set(_j, "CreateConversionStmt.func_name", _p?.func_name); - _o.set(_j, "CreateConversionStmt.def", _p?.def); - return _j; - }, - createCastStmt(_p?: CreateCastStmt["CreateCastStmt"]): CreateCastStmt { - const _j = ({ - CreateCastStmt: {} - } as CreateCastStmt); - _o.set(_j, "CreateCastStmt.sourcetype", _p?.sourcetype); - _o.set(_j, "CreateCastStmt.targettype", _p?.targettype); - _o.set(_j, "CreateCastStmt.func", _p?.func); - _o.set(_j, "CreateCastStmt.context", _p?.context); - _o.set(_j, "CreateCastStmt.inout", _p?.inout); - return _j; - }, - createTransformStmt(_p?: CreateTransformStmt["CreateTransformStmt"]): CreateTransformStmt { - const _j = ({ - CreateTransformStmt: {} - } as CreateTransformStmt); - _o.set(_j, "CreateTransformStmt.replace", _p?.replace); - _o.set(_j, "CreateTransformStmt.type_name", _p?.type_name); - _o.set(_j, "CreateTransformStmt.lang", _p?.lang); - _o.set(_j, "CreateTransformStmt.fromsql", _p?.fromsql); - _o.set(_j, "CreateTransformStmt.tosql", _p?.tosql); - return _j; - }, - prepareStmt(_p?: PrepareStmt["PrepareStmt"]): PrepareStmt { - const _j = ({ - PrepareStmt: {} - } as PrepareStmt); - _o.set(_j, "PrepareStmt.name", _p?.name); - _o.set(_j, "PrepareStmt.argtypes", _p?.argtypes); - _o.set(_j, "PrepareStmt.query", _p?.query); - return _j; - }, - executeStmt(_p?: ExecuteStmt["ExecuteStmt"]): ExecuteStmt { - const _j = ({ - ExecuteStmt: {} - } as ExecuteStmt); - _o.set(_j, "ExecuteStmt.name", _p?.name); - _o.set(_j, "ExecuteStmt.params", _p?.params); - return _j; - }, - deallocateStmt(_p?: DeallocateStmt["DeallocateStmt"]): DeallocateStmt { - const _j = ({ - DeallocateStmt: {} - } as DeallocateStmt); - _o.set(_j, "DeallocateStmt.name", _p?.name); - return _j; - }, - dropOwnedStmt(_p?: DropOwnedStmt["DropOwnedStmt"]): DropOwnedStmt { - const _j = ({ - DropOwnedStmt: {} - } as DropOwnedStmt); - _o.set(_j, "DropOwnedStmt.roles", _p?.roles); - _o.set(_j, "DropOwnedStmt.behavior", _p?.behavior); - return _j; - }, - reassignOwnedStmt(_p?: ReassignOwnedStmt["ReassignOwnedStmt"]): ReassignOwnedStmt { - const _j = ({ - ReassignOwnedStmt: {} - } as ReassignOwnedStmt); - _o.set(_j, "ReassignOwnedStmt.roles", _p?.roles); - _o.set(_j, "ReassignOwnedStmt.newrole", _p?.newrole); - return _j; - }, - altertsDictionaryStmt(_p?: AlterTSDictionaryStmt["AlterTSDictionaryStmt"]): AlterTSDictionaryStmt { - const _j = ({ - AlterTSDictionaryStmt: {} - } as AlterTSDictionaryStmt); - _o.set(_j, "AlterTSDictionaryStmt.dictname", _p?.dictname); - _o.set(_j, "AlterTSDictionaryStmt.options", _p?.options); - return _j; - }, - altertsConfigurationStmt(_p?: AlterTSConfigurationStmt["AlterTSConfigurationStmt"]): AlterTSConfigurationStmt { - const _j = ({ - AlterTSConfigurationStmt: {} - } as AlterTSConfigurationStmt); - _o.set(_j, "AlterTSConfigurationStmt.kind", _p?.kind); - _o.set(_j, "AlterTSConfigurationStmt.cfgname", _p?.cfgname); - _o.set(_j, "AlterTSConfigurationStmt.tokentype", _p?.tokentype); - _o.set(_j, "AlterTSConfigurationStmt.dicts", _p?.dicts); - _o.set(_j, "AlterTSConfigurationStmt.override", _p?.override); - _o.set(_j, "AlterTSConfigurationStmt.replace", _p?.replace); - _o.set(_j, "AlterTSConfigurationStmt.missing_ok", _p?.missing_ok); - return _j; - }, - publicationTable(_p?: PublicationTable["PublicationTable"]): PublicationTable { - const _j = ({ - PublicationTable: {} - } as PublicationTable); - _o.set(_j, "PublicationTable.relation", _p?.relation); - _o.set(_j, "PublicationTable.whereClause", _p?.whereClause); - _o.set(_j, "PublicationTable.columns", _p?.columns); - return _j; - }, - publicationObjSpec(_p?: PublicationObjSpec["PublicationObjSpec"]): PublicationObjSpec { - const _j = ({ - PublicationObjSpec: {} - } as PublicationObjSpec); - _o.set(_j, "PublicationObjSpec.pubobjtype", _p?.pubobjtype); - _o.set(_j, "PublicationObjSpec.name", _p?.name); - _o.set(_j, "PublicationObjSpec.pubtable", _p?.pubtable); - _o.set(_j, "PublicationObjSpec.location", _p?.location); - return _j; - }, - createPublicationStmt(_p?: CreatePublicationStmt["CreatePublicationStmt"]): CreatePublicationStmt { - const _j = ({ - CreatePublicationStmt: {} - } as CreatePublicationStmt); - _o.set(_j, "CreatePublicationStmt.pubname", _p?.pubname); - _o.set(_j, "CreatePublicationStmt.options", _p?.options); - _o.set(_j, "CreatePublicationStmt.pubobjects", _p?.pubobjects); - _o.set(_j, "CreatePublicationStmt.for_all_tables", _p?.for_all_tables); - return _j; - }, - alterPublicationStmt(_p?: AlterPublicationStmt["AlterPublicationStmt"]): AlterPublicationStmt { - const _j = ({ - AlterPublicationStmt: {} - } as AlterPublicationStmt); - _o.set(_j, "AlterPublicationStmt.pubname", _p?.pubname); - _o.set(_j, "AlterPublicationStmt.options", _p?.options); - _o.set(_j, "AlterPublicationStmt.pubobjects", _p?.pubobjects); - _o.set(_j, "AlterPublicationStmt.for_all_tables", _p?.for_all_tables); - _o.set(_j, "AlterPublicationStmt.action", _p?.action); - return _j; - }, - createSubscriptionStmt(_p?: CreateSubscriptionStmt["CreateSubscriptionStmt"]): CreateSubscriptionStmt { - const _j = ({ - CreateSubscriptionStmt: {} - } as CreateSubscriptionStmt); - _o.set(_j, "CreateSubscriptionStmt.subname", _p?.subname); - _o.set(_j, "CreateSubscriptionStmt.conninfo", _p?.conninfo); - _o.set(_j, "CreateSubscriptionStmt.publication", _p?.publication); - _o.set(_j, "CreateSubscriptionStmt.options", _p?.options); - return _j; - }, - alterSubscriptionStmt(_p?: AlterSubscriptionStmt["AlterSubscriptionStmt"]): AlterSubscriptionStmt { - const _j = ({ - AlterSubscriptionStmt: {} - } as AlterSubscriptionStmt); - _o.set(_j, "AlterSubscriptionStmt.kind", _p?.kind); - _o.set(_j, "AlterSubscriptionStmt.subname", _p?.subname); - _o.set(_j, "AlterSubscriptionStmt.conninfo", _p?.conninfo); - _o.set(_j, "AlterSubscriptionStmt.publication", _p?.publication); - _o.set(_j, "AlterSubscriptionStmt.options", _p?.options); - return _j; - }, - dropSubscriptionStmt(_p?: DropSubscriptionStmt["DropSubscriptionStmt"]): DropSubscriptionStmt { - const _j = ({ - DropSubscriptionStmt: {} - } as DropSubscriptionStmt); - _o.set(_j, "DropSubscriptionStmt.subname", _p?.subname); - _o.set(_j, "DropSubscriptionStmt.missing_ok", _p?.missing_ok); - _o.set(_j, "DropSubscriptionStmt.behavior", _p?.behavior); - return _j; - }, - scanToken(_p?: ScanToken["ScanToken"]): ScanToken { - const _j = ({ - ScanToken: {} - } as ScanToken); - _o.set(_j, "ScanToken.start", _p?.start); - _o.set(_j, "ScanToken.end", _p?.end); - _o.set(_j, "ScanToken.token", _p?.token); - _o.set(_j, "ScanToken.keywordKind", _p?.keywordKind); + createPublicationStmt(_p?: CreatePublicationStmt): CreatePublicationStmt { + const _j = ({} as CreatePublicationStmt); + _o.set(_j, "pubname", _p?.pubname); + _o.set(_j, "options", _p?.options); + _o.set(_j, "pubobjects", _p?.pubobjects); + _o.set(_j, "for_all_tables", _p?.for_all_tables); + return _j; + }, + alterPublicationStmt(_p?: AlterPublicationStmt): AlterPublicationStmt { + const _j = ({} as AlterPublicationStmt); + _o.set(_j, "pubname", _p?.pubname); + _o.set(_j, "options", _p?.options); + _o.set(_j, "pubobjects", _p?.pubobjects); + _o.set(_j, "for_all_tables", _p?.for_all_tables); + _o.set(_j, "action", _p?.action); + return _j; + }, + createSubscriptionStmt(_p?: CreateSubscriptionStmt): CreateSubscriptionStmt { + const _j = ({} as CreateSubscriptionStmt); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "conninfo", _p?.conninfo); + _o.set(_j, "publication", _p?.publication); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterSubscriptionStmt(_p?: AlterSubscriptionStmt): AlterSubscriptionStmt { + const _j = ({} as AlterSubscriptionStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "conninfo", _p?.conninfo); + _o.set(_j, "publication", _p?.publication); + _o.set(_j, "options", _p?.options); + return _j; + }, + dropSubscriptionStmt(_p?: DropSubscriptionStmt): DropSubscriptionStmt { + const _j = ({} as DropSubscriptionStmt); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + scanToken(_p?: ScanToken): ScanToken { + const _j = ({} as ScanToken); + _o.set(_j, "start", _p?.start); + _o.set(_j, "end", _p?.end); + _o.set(_j, "token", _p?.token); + _o.set(_j, "keywordKind", _p?.keywordKind); return _j; } };", @@ -7078,838 +6570,704 @@ export const getEnumValue = (enumType: EnumType, key: string | number) => { };", "file": "utils.ts", }, -] -`; - -exports[`utils astHelpers with inlineNestedObj 1`] = ` -[ - { - "code": "/** -* This file was automatically generated by pg-proto-parser@latest. -* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, -* and run the pg-proto-parser generate command to regenerate this file. -*/ -import _o from "./path-obj"; -import { ParseResult, ScanResult, Integer, Float, Boolean, String, BitString, List, OidList, IntList, A_Const, Alias, RangeVar, TableFunc, IntoClause, Var, Param, Aggref, GroupingFunc, WindowFunc, SubscriptingRef, FuncExpr, NamedArgExpr, OpExpr, DistinctExpr, NullIfExpr, ScalarArrayOpExpr, BoolExpr, SubLink, SubPlan, AlternativeSubPlan, FieldSelect, FieldStore, RelabelType, CoerceViaIO, ArrayCoerceExpr, ConvertRowtypeExpr, CollateExpr, CaseExpr, CaseWhen, CaseTestExpr, ArrayExpr, RowExpr, RowCompareExpr, CoalesceExpr, MinMaxExpr, SQLValueFunction, XmlExpr, JsonFormat, JsonReturning, JsonValueExpr, JsonConstructorExpr, JsonIsPredicate, NullTest, BooleanTest, CoerceToDomain, CoerceToDomainValue, SetToDefault, CurrentOfExpr, NextValueExpr, InferenceElem, TargetEntry, RangeTblRef, JoinExpr, FromExpr, OnConflictExpr, Query, TypeName, ColumnRef, ParamRef, A_Expr, TypeCast, CollateClause, RoleSpec, FuncCall, A_Star, A_Indices, A_Indirection, A_ArrayExpr, ResTarget, MultiAssignRef, SortBy, WindowDef, RangeSubselect, RangeFunction, RangeTableFunc, RangeTableFuncCol, RangeTableSample, ColumnDef, TableLikeClause, IndexElem, DefElem, LockingClause, XmlSerialize, PartitionElem, PartitionSpec, PartitionBoundSpec, PartitionRangeDatum, PartitionCmd, RangeTblEntry, RTEPermissionInfo, RangeTblFunction, TableSampleClause, WithCheckOption, SortGroupClause, GroupingSet, WindowClause, RowMarkClause, WithClause, InferClause, OnConflictClause, CTESearchClause, CTECycleClause, CommonTableExpr, MergeWhenClause, MergeAction, TriggerTransition, JsonOutput, JsonKeyValue, JsonObjectConstructor, JsonArrayConstructor, JsonArrayQueryConstructor, JsonAggConstructor, JsonObjectAgg, JsonArrayAgg, RawStmt, InsertStmt, DeleteStmt, UpdateStmt, MergeStmt, SelectStmt, SetOperationStmt, ReturnStmt, PLAssignStmt, CreateSchemaStmt, AlterTableStmt, ReplicaIdentityStmt, AlterTableCmd, AlterCollationStmt, AlterDomainStmt, GrantStmt, ObjectWithArgs, AccessPriv, GrantRoleStmt, AlterDefaultPrivilegesStmt, CopyStmt, VariableSetStmt, VariableShowStmt, CreateStmt, Constraint, CreateTableSpaceStmt, DropTableSpaceStmt, AlterTableSpaceOptionsStmt, AlterTableMoveAllStmt, CreateExtensionStmt, AlterExtensionStmt, AlterExtensionContentsStmt, CreateFdwStmt, AlterFdwStmt, CreateForeignServerStmt, AlterForeignServerStmt, CreateForeignTableStmt, CreateUserMappingStmt, AlterUserMappingStmt, DropUserMappingStmt, ImportForeignSchemaStmt, CreatePolicyStmt, AlterPolicyStmt, CreateAmStmt, CreateTrigStmt, CreateEventTrigStmt, AlterEventTrigStmt, CreatePLangStmt, CreateRoleStmt, AlterRoleStmt, AlterRoleSetStmt, DropRoleStmt, CreateSeqStmt, AlterSeqStmt, DefineStmt, CreateDomainStmt, CreateOpClassStmt, CreateOpClassItem, CreateOpFamilyStmt, AlterOpFamilyStmt, DropStmt, TruncateStmt, CommentStmt, SecLabelStmt, DeclareCursorStmt, ClosePortalStmt, FetchStmt, IndexStmt, CreateStatsStmt, StatsElem, AlterStatsStmt, CreateFunctionStmt, FunctionParameter, AlterFunctionStmt, DoStmt, InlineCodeBlock, CallStmt, CallContext, RenameStmt, AlterObjectDependsStmt, AlterObjectSchemaStmt, AlterOwnerStmt, AlterOperatorStmt, AlterTypeStmt, RuleStmt, NotifyStmt, ListenStmt, UnlistenStmt, TransactionStmt, CompositeTypeStmt, CreateEnumStmt, CreateRangeStmt, AlterEnumStmt, ViewStmt, LoadStmt, CreatedbStmt, AlterDatabaseStmt, AlterDatabaseRefreshCollStmt, AlterDatabaseSetStmt, DropdbStmt, AlterSystemStmt, ClusterStmt, VacuumStmt, VacuumRelation, ExplainStmt, CreateTableAsStmt, RefreshMatViewStmt, CheckPointStmt, DiscardStmt, LockStmt, ConstraintsSetStmt, ReindexStmt, CreateConversionStmt, CreateCastStmt, CreateTransformStmt, PrepareStmt, ExecuteStmt, DeallocateStmt, DropOwnedStmt, ReassignOwnedStmt, AlterTSDictionaryStmt, AlterTSConfigurationStmt, PublicationTable, PublicationObjSpec, CreatePublicationStmt, AlterPublicationStmt, CreateSubscriptionStmt, AlterSubscriptionStmt, DropSubscriptionStmt, ScanToken } from "./wrapped"; -export default { - parseResult(_p?: ParseResult["ParseResult"]): ParseResult { - const _j = ({ - ParseResult: {} - } as ParseResult); - _o.set(_j, "ParseResult.version", _p?.version); - _o.set(_j, "ParseResult.stmts", _p?.stmts); +] +`; + +exports[`utils astHelpers with inlineNestedObj 1`] = ` +[ + { + "code": "/** +* This file was automatically generated by pg-proto-parser@latest. +* DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, +* and run the pg-proto-parser generate command to regenerate this file. +*/ +import _o from "./path-obj"; +import { ParseResult, ScanResult, Integer, Float, Boolean, String, BitString, List, OidList, IntList, A_Const, Alias, RangeVar, TableFunc, IntoClause, Var, Param, Aggref, GroupingFunc, WindowFunc, SubscriptingRef, FuncExpr, NamedArgExpr, OpExpr, DistinctExpr, NullIfExpr, ScalarArrayOpExpr, BoolExpr, SubLink, SubPlan, AlternativeSubPlan, FieldSelect, FieldStore, RelabelType, CoerceViaIO, ArrayCoerceExpr, ConvertRowtypeExpr, CollateExpr, CaseExpr, CaseWhen, CaseTestExpr, ArrayExpr, RowExpr, RowCompareExpr, CoalesceExpr, MinMaxExpr, SQLValueFunction, XmlExpr, JsonFormat, JsonReturning, JsonValueExpr, JsonConstructorExpr, JsonIsPredicate, NullTest, BooleanTest, CoerceToDomain, CoerceToDomainValue, SetToDefault, CurrentOfExpr, NextValueExpr, InferenceElem, TargetEntry, RangeTblRef, JoinExpr, FromExpr, OnConflictExpr, Query, TypeName, ColumnRef, ParamRef, A_Expr, TypeCast, CollateClause, RoleSpec, FuncCall, A_Star, A_Indices, A_Indirection, A_ArrayExpr, ResTarget, MultiAssignRef, SortBy, WindowDef, RangeSubselect, RangeFunction, RangeTableFunc, RangeTableFuncCol, RangeTableSample, ColumnDef, TableLikeClause, IndexElem, DefElem, LockingClause, XmlSerialize, PartitionElem, PartitionSpec, PartitionBoundSpec, PartitionRangeDatum, PartitionCmd, RangeTblEntry, RTEPermissionInfo, RangeTblFunction, TableSampleClause, WithCheckOption, SortGroupClause, GroupingSet, WindowClause, RowMarkClause, WithClause, InferClause, OnConflictClause, CTESearchClause, CTECycleClause, CommonTableExpr, MergeWhenClause, MergeAction, TriggerTransition, JsonOutput, JsonKeyValue, JsonObjectConstructor, JsonArrayConstructor, JsonArrayQueryConstructor, JsonAggConstructor, JsonObjectAgg, JsonArrayAgg, RawStmt, InsertStmt, DeleteStmt, UpdateStmt, MergeStmt, SelectStmt, SetOperationStmt, ReturnStmt, PLAssignStmt, CreateSchemaStmt, AlterTableStmt, ReplicaIdentityStmt, AlterTableCmd, AlterCollationStmt, AlterDomainStmt, GrantStmt, ObjectWithArgs, AccessPriv, GrantRoleStmt, AlterDefaultPrivilegesStmt, CopyStmt, VariableSetStmt, VariableShowStmt, CreateStmt, Constraint, CreateTableSpaceStmt, DropTableSpaceStmt, AlterTableSpaceOptionsStmt, AlterTableMoveAllStmt, CreateExtensionStmt, AlterExtensionStmt, AlterExtensionContentsStmt, CreateFdwStmt, AlterFdwStmt, CreateForeignServerStmt, AlterForeignServerStmt, CreateForeignTableStmt, CreateUserMappingStmt, AlterUserMappingStmt, DropUserMappingStmt, ImportForeignSchemaStmt, CreatePolicyStmt, AlterPolicyStmt, CreateAmStmt, CreateTrigStmt, CreateEventTrigStmt, AlterEventTrigStmt, CreatePLangStmt, CreateRoleStmt, AlterRoleStmt, AlterRoleSetStmt, DropRoleStmt, CreateSeqStmt, AlterSeqStmt, DefineStmt, CreateDomainStmt, CreateOpClassStmt, CreateOpClassItem, CreateOpFamilyStmt, AlterOpFamilyStmt, DropStmt, TruncateStmt, CommentStmt, SecLabelStmt, DeclareCursorStmt, ClosePortalStmt, FetchStmt, IndexStmt, CreateStatsStmt, StatsElem, AlterStatsStmt, CreateFunctionStmt, FunctionParameter, AlterFunctionStmt, DoStmt, InlineCodeBlock, CallStmt, CallContext, RenameStmt, AlterObjectDependsStmt, AlterObjectSchemaStmt, AlterOwnerStmt, AlterOperatorStmt, AlterTypeStmt, RuleStmt, NotifyStmt, ListenStmt, UnlistenStmt, TransactionStmt, CompositeTypeStmt, CreateEnumStmt, CreateRangeStmt, AlterEnumStmt, ViewStmt, LoadStmt, CreatedbStmt, AlterDatabaseStmt, AlterDatabaseRefreshCollStmt, AlterDatabaseSetStmt, DropdbStmt, AlterSystemStmt, ClusterStmt, VacuumStmt, VacuumRelation, ExplainStmt, CreateTableAsStmt, RefreshMatViewStmt, CheckPointStmt, DiscardStmt, LockStmt, ConstraintsSetStmt, ReindexStmt, CreateConversionStmt, CreateCastStmt, CreateTransformStmt, PrepareStmt, ExecuteStmt, DeallocateStmt, DropOwnedStmt, ReassignOwnedStmt, AlterTSDictionaryStmt, AlterTSConfigurationStmt, PublicationTable, PublicationObjSpec, CreatePublicationStmt, AlterPublicationStmt, CreateSubscriptionStmt, AlterSubscriptionStmt, DropSubscriptionStmt, ScanToken } from "./wrapped"; +export default { + parseResult(_p?: ParseResult): ParseResult { + const _j = ({} as ParseResult); + _o.set(_j, "version", _p?.version); + _o.set(_j, "stmts", _p?.stmts); + return _j; + }, + scanResult(_p?: ScanResult): ScanResult { + const _j = ({} as ScanResult); + _o.set(_j, "version", _p?.version); + _o.set(_j, "tokens", _p?.tokens); + return _j; + }, + integer(_p?: Integer): Integer { + const _j = ({} as Integer); + _o.set(_j, "ival", _p?.ival); + return _j; + }, + float(_p?: Float): Float { + const _j = ({} as Float); + _o.set(_j, "fval", _p?.fval); + return _j; + }, + boolean(_p?: Boolean): Boolean { + const _j = ({} as Boolean); + _o.set(_j, "boolval", _p?.boolval); + return _j; + }, + string(_p?: String): String { + const _j = ({} as String); + _o.set(_j, "sval", _p?.sval); + return _j; + }, + bitString(_p?: BitString): BitString { + const _j = ({} as BitString); + _o.set(_j, "bsval", _p?.bsval); + return _j; + }, + list(_p?: List): List { + const _j = ({} as List); + _o.set(_j, "items", _p?.items); + return _j; + }, + oidList(_p?: OidList): OidList { + const _j = ({} as OidList); + _o.set(_j, "items", _p?.items); + return _j; + }, + intList(_p?: IntList): IntList { + const _j = ({} as IntList); + _o.set(_j, "items", _p?.items); + return _j; + }, + aConst(_p?: A_Const): A_Const { + const _j = ({} as A_Const); + _o.set(_j, "ival", _p?.ival); + _o.set(_j, "fval", _p?.fval); + _o.set(_j, "boolval", _p?.boolval); + _o.set(_j, "sval", _p?.sval); + _o.set(_j, "bsval", _p?.bsval); + _o.set(_j, "isnull", _p?.isnull); + _o.set(_j, "location", _p?.location); + return _j; + }, + alias(_p?: Alias): Alias { + const _j = ({} as Alias); + _o.set(_j, "aliasname", _p?.aliasname); + _o.set(_j, "colnames", _p?.colnames); + return _j; + }, + rangeVar(_p?: RangeVar): RangeVar { + const _j = ({} as RangeVar); + _o.set(_j, "catalogname", _p?.catalogname); + _o.set(_j, "schemaname", _p?.schemaname); + _o.set(_j, "relname", _p?.relname); + _o.set(_j, "inh", _p?.inh); + _o.set(_j, "relpersistence", _p?.relpersistence); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "location", _p?.location); + return _j; + }, + tableFunc(_p?: TableFunc): TableFunc { + const _j = ({} as TableFunc); + _o.set(_j, "ns_uris", _p?.ns_uris); + _o.set(_j, "ns_names", _p?.ns_names); + _o.set(_j, "docexpr", _p?.docexpr); + _o.set(_j, "rowexpr", _p?.rowexpr); + _o.set(_j, "colnames", _p?.colnames); + _o.set(_j, "coltypes", _p?.coltypes); + _o.set(_j, "coltypmods", _p?.coltypmods); + _o.set(_j, "colcollations", _p?.colcollations); + _o.set(_j, "colexprs", _p?.colexprs); + _o.set(_j, "coldefexprs", _p?.coldefexprs); + _o.set(_j, "notnulls", _p?.notnulls); + _o.set(_j, "ordinalitycol", _p?.ordinalitycol); + _o.set(_j, "location", _p?.location); + return _j; + }, + intoClause(_p?: IntoClause): IntoClause { + const _j = ({} as IntoClause); + _o.set(_j, "rel", _p?.rel); + _o.set(_j, "colNames", _p?.colNames); + _o.set(_j, "accessMethod", _p?.accessMethod); + _o.set(_j, "options", _p?.options); + _o.set(_j, "onCommit", _p?.onCommit); + _o.set(_j, "tableSpaceName", _p?.tableSpaceName); + _o.set(_j, "viewQuery", _p?.viewQuery); + _o.set(_j, "skipData", _p?.skipData); + return _j; + }, + var(_p?: Var): Var { + const _j = ({} as Var); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "varno", _p?.varno); + _o.set(_j, "varattno", _p?.varattno); + _o.set(_j, "vartype", _p?.vartype); + _o.set(_j, "vartypmod", _p?.vartypmod); + _o.set(_j, "varcollid", _p?.varcollid); + _o.set(_j, "varnullingrels", _p?.varnullingrels); + _o.set(_j, "varlevelsup", _p?.varlevelsup); + _o.set(_j, "location", _p?.location); + return _j; + }, + param(_p?: Param): Param { + const _j = ({} as Param); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "paramkind", _p?.paramkind); + _o.set(_j, "paramid", _p?.paramid); + _o.set(_j, "paramtype", _p?.paramtype); + _o.set(_j, "paramtypmod", _p?.paramtypmod); + _o.set(_j, "paramcollid", _p?.paramcollid); + _o.set(_j, "location", _p?.location); + return _j; + }, + aggref(_p?: Aggref): Aggref { + const _j = ({} as Aggref); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "aggfnoid", _p?.aggfnoid); + _o.set(_j, "aggtype", _p?.aggtype); + _o.set(_j, "aggcollid", _p?.aggcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "aggargtypes", _p?.aggargtypes); + _o.set(_j, "aggdirectargs", _p?.aggdirectargs); + _o.set(_j, "args", _p?.args); + _o.set(_j, "aggorder", _p?.aggorder); + _o.set(_j, "aggdistinct", _p?.aggdistinct); + _o.set(_j, "aggfilter", _p?.aggfilter); + _o.set(_j, "aggstar", _p?.aggstar); + _o.set(_j, "aggvariadic", _p?.aggvariadic); + _o.set(_j, "aggkind", _p?.aggkind); + _o.set(_j, "agglevelsup", _p?.agglevelsup); + _o.set(_j, "aggsplit", _p?.aggsplit); + _o.set(_j, "aggno", _p?.aggno); + _o.set(_j, "aggtransno", _p?.aggtransno); + _o.set(_j, "location", _p?.location); + return _j; + }, + groupingFunc(_p?: GroupingFunc): GroupingFunc { + const _j = ({} as GroupingFunc); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "args", _p?.args); + _o.set(_j, "refs", _p?.refs); + _o.set(_j, "agglevelsup", _p?.agglevelsup); + _o.set(_j, "location", _p?.location); + return _j; + }, + windowFunc(_p?: WindowFunc): WindowFunc { + const _j = ({} as WindowFunc); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "winfnoid", _p?.winfnoid); + _o.set(_j, "wintype", _p?.wintype); + _o.set(_j, "wincollid", _p?.wincollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "aggfilter", _p?.aggfilter); + _o.set(_j, "winref", _p?.winref); + _o.set(_j, "winstar", _p?.winstar); + _o.set(_j, "winagg", _p?.winagg); + _o.set(_j, "location", _p?.location); + return _j; + }, + subscriptingRef(_p?: SubscriptingRef): SubscriptingRef { + const _j = ({} as SubscriptingRef); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "refcontainertype", _p?.refcontainertype); + _o.set(_j, "refelemtype", _p?.refelemtype); + _o.set(_j, "refrestype", _p?.refrestype); + _o.set(_j, "reftypmod", _p?.reftypmod); + _o.set(_j, "refcollid", _p?.refcollid); + _o.set(_j, "refupperindexpr", _p?.refupperindexpr); + _o.set(_j, "reflowerindexpr", _p?.reflowerindexpr); + _o.set(_j, "refexpr", _p?.refexpr); + _o.set(_j, "refassgnexpr", _p?.refassgnexpr); + return _j; + }, + funcExpr(_p?: FuncExpr): FuncExpr { + const _j = ({} as FuncExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "funcid", _p?.funcid); + _o.set(_j, "funcresulttype", _p?.funcresulttype); + _o.set(_j, "funcretset", _p?.funcretset); + _o.set(_j, "funcvariadic", _p?.funcvariadic); + _o.set(_j, "funcformat", _p?.funcformat); + _o.set(_j, "funccollid", _p?.funccollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + namedArgExpr(_p?: NamedArgExpr): NamedArgExpr { + const _j = ({} as NamedArgExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "name", _p?.name); + _o.set(_j, "argnumber", _p?.argnumber); + _o.set(_j, "location", _p?.location); + return _j; + }, + opExpr(_p?: OpExpr): OpExpr { + const _j = ({} as OpExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "opresulttype", _p?.opresulttype); + _o.set(_j, "opretset", _p?.opretset); + _o.set(_j, "opcollid", _p?.opcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + distinctExpr(_p?: DistinctExpr): DistinctExpr { + const _j = ({} as DistinctExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "opresulttype", _p?.opresulttype); + _o.set(_j, "opretset", _p?.opretset); + _o.set(_j, "opcollid", _p?.opcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + nullIfExpr(_p?: NullIfExpr): NullIfExpr { + const _j = ({} as NullIfExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "opresulttype", _p?.opresulttype); + _o.set(_j, "opretset", _p?.opretset); + _o.set(_j, "opcollid", _p?.opcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + scalarArrayOpExpr(_p?: ScalarArrayOpExpr): ScalarArrayOpExpr { + const _j = ({} as ScalarArrayOpExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "opno", _p?.opno); + _o.set(_j, "useOr", _p?.useOr); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + boolExpr(_p?: BoolExpr): BoolExpr { + const _j = ({} as BoolExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "boolop", _p?.boolop); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + subLink(_p?: SubLink): SubLink { + const _j = ({} as SubLink); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "subLinkType", _p?.subLinkType); + _o.set(_j, "subLinkId", _p?.subLinkId); + _o.set(_j, "testexpr", _p?.testexpr); + _o.set(_j, "operName", _p?.operName); + _o.set(_j, "subselect", _p?.subselect); + _o.set(_j, "location", _p?.location); + return _j; + }, + subPlan(_p?: SubPlan): SubPlan { + const _j = ({} as SubPlan); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "subLinkType", _p?.subLinkType); + _o.set(_j, "testexpr", _p?.testexpr); + _o.set(_j, "paramIds", _p?.paramIds); + _o.set(_j, "plan_id", _p?.plan_id); + _o.set(_j, "plan_name", _p?.plan_name); + _o.set(_j, "firstColType", _p?.firstColType); + _o.set(_j, "firstColTypmod", _p?.firstColTypmod); + _o.set(_j, "firstColCollation", _p?.firstColCollation); + _o.set(_j, "useHashTable", _p?.useHashTable); + _o.set(_j, "unknownEqFalse", _p?.unknownEqFalse); + _o.set(_j, "parallel_safe", _p?.parallel_safe); + _o.set(_j, "setParam", _p?.setParam); + _o.set(_j, "parParam", _p?.parParam); + _o.set(_j, "args", _p?.args); + _o.set(_j, "startup_cost", _p?.startup_cost); + _o.set(_j, "per_call_cost", _p?.per_call_cost); + return _j; + }, + alternativeSubPlan(_p?: AlternativeSubPlan): AlternativeSubPlan { + const _j = ({} as AlternativeSubPlan); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "subplans", _p?.subplans); + return _j; + }, + fieldSelect(_p?: FieldSelect): FieldSelect { + const _j = ({} as FieldSelect); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "fieldnum", _p?.fieldnum); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + return _j; + }, + fieldStore(_p?: FieldStore): FieldStore { + const _j = ({} as FieldStore); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "newvals", _p?.newvals); + _o.set(_j, "fieldnums", _p?.fieldnums); + _o.set(_j, "resulttype", _p?.resulttype); + return _j; + }, + relabelType(_p?: RelabelType): RelabelType { + const _j = ({} as RelabelType); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "relabelformat", _p?.relabelformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + coerceViaio(_p?: CoerceViaIO): CoerceViaIO { + const _j = ({} as CoerceViaIO); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "coerceformat", _p?.coerceformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + arrayCoerceExpr(_p?: ArrayCoerceExpr): ArrayCoerceExpr { + const _j = ({} as ArrayCoerceExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "elemexpr", _p?.elemexpr); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "coerceformat", _p?.coerceformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + convertRowtypeExpr(_p?: ConvertRowtypeExpr): ConvertRowtypeExpr { + const _j = ({} as ConvertRowtypeExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "convertformat", _p?.convertformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + collateExpr(_p?: CollateExpr): CollateExpr { + const _j = ({} as CollateExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "collOid", _p?.collOid); + _o.set(_j, "location", _p?.location); + return _j; + }, + caseExpr(_p?: CaseExpr): CaseExpr { + const _j = ({} as CaseExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "casetype", _p?.casetype); + _o.set(_j, "casecollid", _p?.casecollid); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "args", _p?.args); + _o.set(_j, "defresult", _p?.defresult); + _o.set(_j, "location", _p?.location); + return _j; + }, + caseWhen(_p?: CaseWhen): CaseWhen { + const _j = ({} as CaseWhen); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "result", _p?.result); + _o.set(_j, "location", _p?.location); + return _j; + }, + caseTestExpr(_p?: CaseTestExpr): CaseTestExpr { + const _j = ({} as CaseTestExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "typeId", _p?.typeId); + _o.set(_j, "typeMod", _p?.typeMod); + _o.set(_j, "collation", _p?.collation); + return _j; + }, + arrayExpr(_p?: ArrayExpr): ArrayExpr { + const _j = ({} as ArrayExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "array_typeid", _p?.array_typeid); + _o.set(_j, "array_collid", _p?.array_collid); + _o.set(_j, "element_typeid", _p?.element_typeid); + _o.set(_j, "elements", _p?.elements); + _o.set(_j, "multidims", _p?.multidims); + _o.set(_j, "location", _p?.location); + return _j; + }, + rowExpr(_p?: RowExpr): RowExpr { + const _j = ({} as RowExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "args", _p?.args); + _o.set(_j, "row_typeid", _p?.row_typeid); + _o.set(_j, "row_format", _p?.row_format); + _o.set(_j, "colnames", _p?.colnames); + _o.set(_j, "location", _p?.location); + return _j; + }, + rowCompareExpr(_p?: RowCompareExpr): RowCompareExpr { + const _j = ({} as RowCompareExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "rctype", _p?.rctype); + _o.set(_j, "opnos", _p?.opnos); + _o.set(_j, "opfamilies", _p?.opfamilies); + _o.set(_j, "inputcollids", _p?.inputcollids); + _o.set(_j, "largs", _p?.largs); + _o.set(_j, "rargs", _p?.rargs); + return _j; + }, + coalesceExpr(_p?: CoalesceExpr): CoalesceExpr { + const _j = ({} as CoalesceExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "coalescetype", _p?.coalescetype); + _o.set(_j, "coalescecollid", _p?.coalescecollid); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + minMaxExpr(_p?: MinMaxExpr): MinMaxExpr { + const _j = ({} as MinMaxExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "minmaxtype", _p?.minmaxtype); + _o.set(_j, "minmaxcollid", _p?.minmaxcollid); + _o.set(_j, "inputcollid", _p?.inputcollid); + _o.set(_j, "op", _p?.op); + _o.set(_j, "args", _p?.args); + _o.set(_j, "location", _p?.location); + return _j; + }, + sqlValueFunction(_p?: SQLValueFunction): SQLValueFunction { + const _j = ({} as SQLValueFunction); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "op", _p?.op); + _o.set(_j, "type", _p?.type); + _o.set(_j, "typmod", _p?.typmod); + _o.set(_j, "location", _p?.location); + return _j; + }, + xmlExpr(_p?: XmlExpr): XmlExpr { + const _j = ({} as XmlExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "op", _p?.op); + _o.set(_j, "name", _p?.name); + _o.set(_j, "named_args", _p?.named_args); + _o.set(_j, "arg_names", _p?.arg_names); + _o.set(_j, "args", _p?.args); + _o.set(_j, "xmloption", _p?.xmloption); + _o.set(_j, "indent", _p?.indent); + _o.set(_j, "type", _p?.type); + _o.set(_j, "typmod", _p?.typmod); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonFormat(_p?: JsonFormat): JsonFormat { + const _j = ({} as JsonFormat); + _o.set(_j, "format_type", _p?.format_type); + _o.set(_j, "encoding", _p?.encoding); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonReturning(_p?: JsonReturning): JsonReturning { + const _j = ({} as JsonReturning); + _o.set(_j, "format", _p?.format); + _o.set(_j, "typid", _p?.typid); + _o.set(_j, "typmod", _p?.typmod); + return _j; + }, + jsonValueExpr(_p?: JsonValueExpr): JsonValueExpr { + const _j = ({} as JsonValueExpr); + _o.set(_j, "raw_expr", _p?.raw_expr); + _o.set(_j, "formatted_expr", _p?.formatted_expr); + _o.set(_j, "format", _p?.format); + return _j; + }, + jsonConstructorExpr(_p?: JsonConstructorExpr): JsonConstructorExpr { + const _j = ({} as JsonConstructorExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "type", _p?.type); + _o.set(_j, "args", _p?.args); + _o.set(_j, "func", _p?.func); + _o.set(_j, "coercion", _p?.coercion); + _o.set(_j, "returning", _p?.returning); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "unique", _p?.unique); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonIsPredicate(_p?: JsonIsPredicate): JsonIsPredicate { + const _j = ({} as JsonIsPredicate); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "format", _p?.format); + _o.set(_j, "item_type", _p?.item_type); + _o.set(_j, "unique_keys", _p?.unique_keys); + _o.set(_j, "location", _p?.location); + return _j; + }, + nullTest(_p?: NullTest): NullTest { + const _j = ({} as NullTest); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "nulltesttype", _p?.nulltesttype); + _o.set(_j, "argisrow", _p?.argisrow); + _o.set(_j, "location", _p?.location); + return _j; + }, + booleanTest(_p?: BooleanTest): BooleanTest { + const _j = ({} as BooleanTest); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "booltesttype", _p?.booltesttype); + _o.set(_j, "location", _p?.location); + return _j; + }, + coerceToDomain(_p?: CoerceToDomain): CoerceToDomain { + const _j = ({} as CoerceToDomain); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "resulttype", _p?.resulttype); + _o.set(_j, "resulttypmod", _p?.resulttypmod); + _o.set(_j, "resultcollid", _p?.resultcollid); + _o.set(_j, "coercionformat", _p?.coercionformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + coerceToDomainValue(_p?: CoerceToDomainValue): CoerceToDomainValue { + const _j = ({} as CoerceToDomainValue); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "typeId", _p?.typeId); + _o.set(_j, "typeMod", _p?.typeMod); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "location", _p?.location); + return _j; + }, + setToDefault(_p?: SetToDefault): SetToDefault { + const _j = ({} as SetToDefault); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "typeId", _p?.typeId); + _o.set(_j, "typeMod", _p?.typeMod); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "location", _p?.location); return _j; - }, - scanResult(_p?: ScanResult["ScanResult"]): ScanResult { - const _j = ({ - ScanResult: {} - } as ScanResult); - _o.set(_j, "ScanResult.version", _p?.version); - _o.set(_j, "ScanResult.tokens", _p?.tokens); - return _j; - }, - integer(_p?: Integer["Integer"]): Integer { - const _j = ({ - Integer: {} - } as Integer); - _o.set(_j, "Integer.ival", _p?.ival); - return _j; - }, - float(_p?: Float["Float"]): Float { - const _j = ({ - Float: {} - } as Float); - _o.set(_j, "Float.fval", _p?.fval); - return _j; - }, - boolean(_p?: Boolean["Boolean"]): Boolean { - const _j = ({ - Boolean: {} - } as Boolean); - _o.set(_j, "Boolean.boolval", _p?.boolval); - return _j; - }, - string(_p?: String["String"]): String { - const _j = ({ - String: {} - } as String); - _o.set(_j, "String.sval", _p?.sval); - return _j; - }, - bitString(_p?: BitString["BitString"]): BitString { - const _j = ({ - BitString: {} - } as BitString); - _o.set(_j, "BitString.bsval", _p?.bsval); - return _j; - }, - list(_p?: List["List"]): List { - const _j = ({ - List: {} - } as List); - _o.set(_j, "List.items", _p?.items); - return _j; - }, - oidList(_p?: OidList["OidList"]): OidList { - const _j = ({ - OidList: {} - } as OidList); - _o.set(_j, "OidList.items", _p?.items); - return _j; - }, - intList(_p?: IntList["IntList"]): IntList { - const _j = ({ - IntList: {} - } as IntList); - _o.set(_j, "IntList.items", _p?.items); - return _j; - }, - aConst(_p?: A_Const["A_Const"]): A_Const { - const _j = ({ - A_Const: {} - } as A_Const); - _o.set(_j, "A_Const.ival", _p?.ival); - _o.set(_j, "A_Const.fval", _p?.fval); - _o.set(_j, "A_Const.boolval", _p?.boolval); - _o.set(_j, "A_Const.sval", _p?.sval); - _o.set(_j, "A_Const.bsval", _p?.bsval); - _o.set(_j, "A_Const.isnull", _p?.isnull); - _o.set(_j, "A_Const.location", _p?.location); - return _j; - }, - alias(_p?: Alias["Alias"]): Alias { - const _j = ({ - Alias: {} - } as Alias); - _o.set(_j, "Alias.aliasname", _p?.aliasname); - _o.set(_j, "Alias.colnames", _p?.colnames); - return _j; - }, - rangeVar(_p?: RangeVar["RangeVar"]): RangeVar { - const _j = ({ - RangeVar: {} - } as RangeVar); - _o.set(_j, "RangeVar.catalogname", _p?.catalogname); - _o.set(_j, "RangeVar.schemaname", _p?.schemaname); - _o.set(_j, "RangeVar.relname", _p?.relname); - _o.set(_j, "RangeVar.inh", _p?.inh); - _o.set(_j, "RangeVar.relpersistence", _p?.relpersistence); - _o.set(_j, "RangeVar.alias", _p?.alias); - _o.set(_j, "RangeVar.location", _p?.location); - return _j; - }, - tableFunc(_p?: TableFunc["TableFunc"]): TableFunc { - const _j = ({ - TableFunc: {} - } as TableFunc); - _o.set(_j, "TableFunc.ns_uris", _p?.ns_uris); - _o.set(_j, "TableFunc.ns_names", _p?.ns_names); - _o.set(_j, "TableFunc.docexpr", _p?.docexpr); - _o.set(_j, "TableFunc.rowexpr", _p?.rowexpr); - _o.set(_j, "TableFunc.colnames", _p?.colnames); - _o.set(_j, "TableFunc.coltypes", _p?.coltypes); - _o.set(_j, "TableFunc.coltypmods", _p?.coltypmods); - _o.set(_j, "TableFunc.colcollations", _p?.colcollations); - _o.set(_j, "TableFunc.colexprs", _p?.colexprs); - _o.set(_j, "TableFunc.coldefexprs", _p?.coldefexprs); - _o.set(_j, "TableFunc.notnulls", _p?.notnulls); - _o.set(_j, "TableFunc.ordinalitycol", _p?.ordinalitycol); - _o.set(_j, "TableFunc.location", _p?.location); - return _j; - }, - intoClause(_p?: IntoClause["IntoClause"]): IntoClause { - const _j = ({ - IntoClause: {} - } as IntoClause); - _o.set(_j, "IntoClause.rel", _p?.rel); - _o.set(_j, "IntoClause.colNames", _p?.colNames); - _o.set(_j, "IntoClause.accessMethod", _p?.accessMethod); - _o.set(_j, "IntoClause.options", _p?.options); - _o.set(_j, "IntoClause.onCommit", _p?.onCommit); - _o.set(_j, "IntoClause.tableSpaceName", _p?.tableSpaceName); - _o.set(_j, "IntoClause.viewQuery", _p?.viewQuery); - _o.set(_j, "IntoClause.skipData", _p?.skipData); - return _j; - }, - var(_p?: Var["Var"]): Var { - const _j = ({ - Var: {} - } as Var); - _o.set(_j, "Var.xpr", _p?.xpr); - _o.set(_j, "Var.varno", _p?.varno); - _o.set(_j, "Var.varattno", _p?.varattno); - _o.set(_j, "Var.vartype", _p?.vartype); - _o.set(_j, "Var.vartypmod", _p?.vartypmod); - _o.set(_j, "Var.varcollid", _p?.varcollid); - _o.set(_j, "Var.varnullingrels", _p?.varnullingrels); - _o.set(_j, "Var.varlevelsup", _p?.varlevelsup); - _o.set(_j, "Var.location", _p?.location); - return _j; - }, - param(_p?: Param["Param"]): Param { - const _j = ({ - Param: {} - } as Param); - _o.set(_j, "Param.xpr", _p?.xpr); - _o.set(_j, "Param.paramkind", _p?.paramkind); - _o.set(_j, "Param.paramid", _p?.paramid); - _o.set(_j, "Param.paramtype", _p?.paramtype); - _o.set(_j, "Param.paramtypmod", _p?.paramtypmod); - _o.set(_j, "Param.paramcollid", _p?.paramcollid); - _o.set(_j, "Param.location", _p?.location); - return _j; - }, - aggref(_p?: Aggref["Aggref"]): Aggref { - const _j = ({ - Aggref: {} - } as Aggref); - _o.set(_j, "Aggref.xpr", _p?.xpr); - _o.set(_j, "Aggref.aggfnoid", _p?.aggfnoid); - _o.set(_j, "Aggref.aggtype", _p?.aggtype); - _o.set(_j, "Aggref.aggcollid", _p?.aggcollid); - _o.set(_j, "Aggref.inputcollid", _p?.inputcollid); - _o.set(_j, "Aggref.aggargtypes", _p?.aggargtypes); - _o.set(_j, "Aggref.aggdirectargs", _p?.aggdirectargs); - _o.set(_j, "Aggref.args", _p?.args); - _o.set(_j, "Aggref.aggorder", _p?.aggorder); - _o.set(_j, "Aggref.aggdistinct", _p?.aggdistinct); - _o.set(_j, "Aggref.aggfilter", _p?.aggfilter); - _o.set(_j, "Aggref.aggstar", _p?.aggstar); - _o.set(_j, "Aggref.aggvariadic", _p?.aggvariadic); - _o.set(_j, "Aggref.aggkind", _p?.aggkind); - _o.set(_j, "Aggref.agglevelsup", _p?.agglevelsup); - _o.set(_j, "Aggref.aggsplit", _p?.aggsplit); - _o.set(_j, "Aggref.aggno", _p?.aggno); - _o.set(_j, "Aggref.aggtransno", _p?.aggtransno); - _o.set(_j, "Aggref.location", _p?.location); - return _j; - }, - groupingFunc(_p?: GroupingFunc["GroupingFunc"]): GroupingFunc { - const _j = ({ - GroupingFunc: {} - } as GroupingFunc); - _o.set(_j, "GroupingFunc.xpr", _p?.xpr); - _o.set(_j, "GroupingFunc.args", _p?.args); - _o.set(_j, "GroupingFunc.refs", _p?.refs); - _o.set(_j, "GroupingFunc.agglevelsup", _p?.agglevelsup); - _o.set(_j, "GroupingFunc.location", _p?.location); - return _j; - }, - windowFunc(_p?: WindowFunc["WindowFunc"]): WindowFunc { - const _j = ({ - WindowFunc: {} - } as WindowFunc); - _o.set(_j, "WindowFunc.xpr", _p?.xpr); - _o.set(_j, "WindowFunc.winfnoid", _p?.winfnoid); - _o.set(_j, "WindowFunc.wintype", _p?.wintype); - _o.set(_j, "WindowFunc.wincollid", _p?.wincollid); - _o.set(_j, "WindowFunc.inputcollid", _p?.inputcollid); - _o.set(_j, "WindowFunc.args", _p?.args); - _o.set(_j, "WindowFunc.aggfilter", _p?.aggfilter); - _o.set(_j, "WindowFunc.winref", _p?.winref); - _o.set(_j, "WindowFunc.winstar", _p?.winstar); - _o.set(_j, "WindowFunc.winagg", _p?.winagg); - _o.set(_j, "WindowFunc.location", _p?.location); - return _j; - }, - subscriptingRef(_p?: SubscriptingRef["SubscriptingRef"]): SubscriptingRef { - const _j = ({ - SubscriptingRef: {} - } as SubscriptingRef); - _o.set(_j, "SubscriptingRef.xpr", _p?.xpr); - _o.set(_j, "SubscriptingRef.refcontainertype", _p?.refcontainertype); - _o.set(_j, "SubscriptingRef.refelemtype", _p?.refelemtype); - _o.set(_j, "SubscriptingRef.refrestype", _p?.refrestype); - _o.set(_j, "SubscriptingRef.reftypmod", _p?.reftypmod); - _o.set(_j, "SubscriptingRef.refcollid", _p?.refcollid); - _o.set(_j, "SubscriptingRef.refupperindexpr", _p?.refupperindexpr); - _o.set(_j, "SubscriptingRef.reflowerindexpr", _p?.reflowerindexpr); - _o.set(_j, "SubscriptingRef.refexpr", _p?.refexpr); - _o.set(_j, "SubscriptingRef.refassgnexpr", _p?.refassgnexpr); - return _j; - }, - funcExpr(_p?: FuncExpr["FuncExpr"]): FuncExpr { - const _j = ({ - FuncExpr: {} - } as FuncExpr); - _o.set(_j, "FuncExpr.xpr", _p?.xpr); - _o.set(_j, "FuncExpr.funcid", _p?.funcid); - _o.set(_j, "FuncExpr.funcresulttype", _p?.funcresulttype); - _o.set(_j, "FuncExpr.funcretset", _p?.funcretset); - _o.set(_j, "FuncExpr.funcvariadic", _p?.funcvariadic); - _o.set(_j, "FuncExpr.funcformat", _p?.funcformat); - _o.set(_j, "FuncExpr.funccollid", _p?.funccollid); - _o.set(_j, "FuncExpr.inputcollid", _p?.inputcollid); - _o.set(_j, "FuncExpr.args", _p?.args); - _o.set(_j, "FuncExpr.location", _p?.location); - return _j; - }, - namedArgExpr(_p?: NamedArgExpr["NamedArgExpr"]): NamedArgExpr { - const _j = ({ - NamedArgExpr: {} - } as NamedArgExpr); - _o.set(_j, "NamedArgExpr.xpr", _p?.xpr); - _o.set(_j, "NamedArgExpr.arg", _p?.arg); - _o.set(_j, "NamedArgExpr.name", _p?.name); - _o.set(_j, "NamedArgExpr.argnumber", _p?.argnumber); - _o.set(_j, "NamedArgExpr.location", _p?.location); - return _j; - }, - opExpr(_p?: OpExpr["OpExpr"]): OpExpr { - const _j = ({ - OpExpr: {} - } as OpExpr); - _o.set(_j, "OpExpr.xpr", _p?.xpr); - _o.set(_j, "OpExpr.opno", _p?.opno); - _o.set(_j, "OpExpr.opresulttype", _p?.opresulttype); - _o.set(_j, "OpExpr.opretset", _p?.opretset); - _o.set(_j, "OpExpr.opcollid", _p?.opcollid); - _o.set(_j, "OpExpr.inputcollid", _p?.inputcollid); - _o.set(_j, "OpExpr.args", _p?.args); - _o.set(_j, "OpExpr.location", _p?.location); - return _j; - }, - distinctExpr(_p?: DistinctExpr["DistinctExpr"]): DistinctExpr { - const _j = ({ - DistinctExpr: {} - } as DistinctExpr); - _o.set(_j, "DistinctExpr.xpr", _p?.xpr); - _o.set(_j, "DistinctExpr.opno", _p?.opno); - _o.set(_j, "DistinctExpr.opresulttype", _p?.opresulttype); - _o.set(_j, "DistinctExpr.opretset", _p?.opretset); - _o.set(_j, "DistinctExpr.opcollid", _p?.opcollid); - _o.set(_j, "DistinctExpr.inputcollid", _p?.inputcollid); - _o.set(_j, "DistinctExpr.args", _p?.args); - _o.set(_j, "DistinctExpr.location", _p?.location); - return _j; - }, - nullIfExpr(_p?: NullIfExpr["NullIfExpr"]): NullIfExpr { - const _j = ({ - NullIfExpr: {} - } as NullIfExpr); - _o.set(_j, "NullIfExpr.xpr", _p?.xpr); - _o.set(_j, "NullIfExpr.opno", _p?.opno); - _o.set(_j, "NullIfExpr.opresulttype", _p?.opresulttype); - _o.set(_j, "NullIfExpr.opretset", _p?.opretset); - _o.set(_j, "NullIfExpr.opcollid", _p?.opcollid); - _o.set(_j, "NullIfExpr.inputcollid", _p?.inputcollid); - _o.set(_j, "NullIfExpr.args", _p?.args); - _o.set(_j, "NullIfExpr.location", _p?.location); - return _j; - }, - scalarArrayOpExpr(_p?: ScalarArrayOpExpr["ScalarArrayOpExpr"]): ScalarArrayOpExpr { - const _j = ({ - ScalarArrayOpExpr: {} - } as ScalarArrayOpExpr); - _o.set(_j, "ScalarArrayOpExpr.xpr", _p?.xpr); - _o.set(_j, "ScalarArrayOpExpr.opno", _p?.opno); - _o.set(_j, "ScalarArrayOpExpr.useOr", _p?.useOr); - _o.set(_j, "ScalarArrayOpExpr.inputcollid", _p?.inputcollid); - _o.set(_j, "ScalarArrayOpExpr.args", _p?.args); - _o.set(_j, "ScalarArrayOpExpr.location", _p?.location); - return _j; - }, - boolExpr(_p?: BoolExpr["BoolExpr"]): BoolExpr { - const _j = ({ - BoolExpr: {} - } as BoolExpr); - _o.set(_j, "BoolExpr.xpr", _p?.xpr); - _o.set(_j, "BoolExpr.boolop", _p?.boolop); - _o.set(_j, "BoolExpr.args", _p?.args); - _o.set(_j, "BoolExpr.location", _p?.location); - return _j; - }, - subLink(_p?: SubLink["SubLink"]): SubLink { - const _j = ({ - SubLink: {} - } as SubLink); - _o.set(_j, "SubLink.xpr", _p?.xpr); - _o.set(_j, "SubLink.subLinkType", _p?.subLinkType); - _o.set(_j, "SubLink.subLinkId", _p?.subLinkId); - _o.set(_j, "SubLink.testexpr", _p?.testexpr); - _o.set(_j, "SubLink.operName", _p?.operName); - _o.set(_j, "SubLink.subselect", _p?.subselect); - _o.set(_j, "SubLink.location", _p?.location); - return _j; - }, - subPlan(_p?: SubPlan["SubPlan"]): SubPlan { - const _j = ({ - SubPlan: {} - } as SubPlan); - _o.set(_j, "SubPlan.xpr", _p?.xpr); - _o.set(_j, "SubPlan.subLinkType", _p?.subLinkType); - _o.set(_j, "SubPlan.testexpr", _p?.testexpr); - _o.set(_j, "SubPlan.paramIds", _p?.paramIds); - _o.set(_j, "SubPlan.plan_id", _p?.plan_id); - _o.set(_j, "SubPlan.plan_name", _p?.plan_name); - _o.set(_j, "SubPlan.firstColType", _p?.firstColType); - _o.set(_j, "SubPlan.firstColTypmod", _p?.firstColTypmod); - _o.set(_j, "SubPlan.firstColCollation", _p?.firstColCollation); - _o.set(_j, "SubPlan.useHashTable", _p?.useHashTable); - _o.set(_j, "SubPlan.unknownEqFalse", _p?.unknownEqFalse); - _o.set(_j, "SubPlan.parallel_safe", _p?.parallel_safe); - _o.set(_j, "SubPlan.setParam", _p?.setParam); - _o.set(_j, "SubPlan.parParam", _p?.parParam); - _o.set(_j, "SubPlan.args", _p?.args); - _o.set(_j, "SubPlan.startup_cost", _p?.startup_cost); - _o.set(_j, "SubPlan.per_call_cost", _p?.per_call_cost); - return _j; - }, - alternativeSubPlan(_p?: AlternativeSubPlan["AlternativeSubPlan"]): AlternativeSubPlan { - const _j = ({ - AlternativeSubPlan: {} - } as AlternativeSubPlan); - _o.set(_j, "AlternativeSubPlan.xpr", _p?.xpr); - _o.set(_j, "AlternativeSubPlan.subplans", _p?.subplans); - return _j; - }, - fieldSelect(_p?: FieldSelect["FieldSelect"]): FieldSelect { - const _j = ({ - FieldSelect: {} - } as FieldSelect); - _o.set(_j, "FieldSelect.xpr", _p?.xpr); - _o.set(_j, "FieldSelect.arg", _p?.arg); - _o.set(_j, "FieldSelect.fieldnum", _p?.fieldnum); - _o.set(_j, "FieldSelect.resulttype", _p?.resulttype); - _o.set(_j, "FieldSelect.resulttypmod", _p?.resulttypmod); - _o.set(_j, "FieldSelect.resultcollid", _p?.resultcollid); - return _j; - }, - fieldStore(_p?: FieldStore["FieldStore"]): FieldStore { - const _j = ({ - FieldStore: {} - } as FieldStore); - _o.set(_j, "FieldStore.xpr", _p?.xpr); - _o.set(_j, "FieldStore.arg", _p?.arg); - _o.set(_j, "FieldStore.newvals", _p?.newvals); - _o.set(_j, "FieldStore.fieldnums", _p?.fieldnums); - _o.set(_j, "FieldStore.resulttype", _p?.resulttype); - return _j; - }, - relabelType(_p?: RelabelType["RelabelType"]): RelabelType { - const _j = ({ - RelabelType: {} - } as RelabelType); - _o.set(_j, "RelabelType.xpr", _p?.xpr); - _o.set(_j, "RelabelType.arg", _p?.arg); - _o.set(_j, "RelabelType.resulttype", _p?.resulttype); - _o.set(_j, "RelabelType.resulttypmod", _p?.resulttypmod); - _o.set(_j, "RelabelType.resultcollid", _p?.resultcollid); - _o.set(_j, "RelabelType.relabelformat", _p?.relabelformat); - _o.set(_j, "RelabelType.location", _p?.location); - return _j; - }, - coerceViaio(_p?: CoerceViaIO["CoerceViaIO"]): CoerceViaIO { - const _j = ({ - CoerceViaIO: {} - } as CoerceViaIO); - _o.set(_j, "CoerceViaIO.xpr", _p?.xpr); - _o.set(_j, "CoerceViaIO.arg", _p?.arg); - _o.set(_j, "CoerceViaIO.resulttype", _p?.resulttype); - _o.set(_j, "CoerceViaIO.resultcollid", _p?.resultcollid); - _o.set(_j, "CoerceViaIO.coerceformat", _p?.coerceformat); - _o.set(_j, "CoerceViaIO.location", _p?.location); - return _j; - }, - arrayCoerceExpr(_p?: ArrayCoerceExpr["ArrayCoerceExpr"]): ArrayCoerceExpr { - const _j = ({ - ArrayCoerceExpr: {} - } as ArrayCoerceExpr); - _o.set(_j, "ArrayCoerceExpr.xpr", _p?.xpr); - _o.set(_j, "ArrayCoerceExpr.arg", _p?.arg); - _o.set(_j, "ArrayCoerceExpr.elemexpr", _p?.elemexpr); - _o.set(_j, "ArrayCoerceExpr.resulttype", _p?.resulttype); - _o.set(_j, "ArrayCoerceExpr.resulttypmod", _p?.resulttypmod); - _o.set(_j, "ArrayCoerceExpr.resultcollid", _p?.resultcollid); - _o.set(_j, "ArrayCoerceExpr.coerceformat", _p?.coerceformat); - _o.set(_j, "ArrayCoerceExpr.location", _p?.location); - return _j; - }, - convertRowtypeExpr(_p?: ConvertRowtypeExpr["ConvertRowtypeExpr"]): ConvertRowtypeExpr { - const _j = ({ - ConvertRowtypeExpr: {} - } as ConvertRowtypeExpr); - _o.set(_j, "ConvertRowtypeExpr.xpr", _p?.xpr); - _o.set(_j, "ConvertRowtypeExpr.arg", _p?.arg); - _o.set(_j, "ConvertRowtypeExpr.resulttype", _p?.resulttype); - _o.set(_j, "ConvertRowtypeExpr.convertformat", _p?.convertformat); - _o.set(_j, "ConvertRowtypeExpr.location", _p?.location); - return _j; - }, - collateExpr(_p?: CollateExpr["CollateExpr"]): CollateExpr { - const _j = ({ - CollateExpr: {} - } as CollateExpr); - _o.set(_j, "CollateExpr.xpr", _p?.xpr); - _o.set(_j, "CollateExpr.arg", _p?.arg); - _o.set(_j, "CollateExpr.collOid", _p?.collOid); - _o.set(_j, "CollateExpr.location", _p?.location); - return _j; - }, - caseExpr(_p?: CaseExpr["CaseExpr"]): CaseExpr { - const _j = ({ - CaseExpr: {} - } as CaseExpr); - _o.set(_j, "CaseExpr.xpr", _p?.xpr); - _o.set(_j, "CaseExpr.casetype", _p?.casetype); - _o.set(_j, "CaseExpr.casecollid", _p?.casecollid); - _o.set(_j, "CaseExpr.arg", _p?.arg); - _o.set(_j, "CaseExpr.args", _p?.args); - _o.set(_j, "CaseExpr.defresult", _p?.defresult); - _o.set(_j, "CaseExpr.location", _p?.location); - return _j; - }, - caseWhen(_p?: CaseWhen["CaseWhen"]): CaseWhen { - const _j = ({ - CaseWhen: {} - } as CaseWhen); - _o.set(_j, "CaseWhen.xpr", _p?.xpr); - _o.set(_j, "CaseWhen.expr", _p?.expr); - _o.set(_j, "CaseWhen.result", _p?.result); - _o.set(_j, "CaseWhen.location", _p?.location); - return _j; - }, - caseTestExpr(_p?: CaseTestExpr["CaseTestExpr"]): CaseTestExpr { - const _j = ({ - CaseTestExpr: {} - } as CaseTestExpr); - _o.set(_j, "CaseTestExpr.xpr", _p?.xpr); - _o.set(_j, "CaseTestExpr.typeId", _p?.typeId); - _o.set(_j, "CaseTestExpr.typeMod", _p?.typeMod); - _o.set(_j, "CaseTestExpr.collation", _p?.collation); - return _j; - }, - arrayExpr(_p?: ArrayExpr["ArrayExpr"]): ArrayExpr { - const _j = ({ - ArrayExpr: {} - } as ArrayExpr); - _o.set(_j, "ArrayExpr.xpr", _p?.xpr); - _o.set(_j, "ArrayExpr.array_typeid", _p?.array_typeid); - _o.set(_j, "ArrayExpr.array_collid", _p?.array_collid); - _o.set(_j, "ArrayExpr.element_typeid", _p?.element_typeid); - _o.set(_j, "ArrayExpr.elements", _p?.elements); - _o.set(_j, "ArrayExpr.multidims", _p?.multidims); - _o.set(_j, "ArrayExpr.location", _p?.location); - return _j; - }, - rowExpr(_p?: RowExpr["RowExpr"]): RowExpr { - const _j = ({ - RowExpr: {} - } as RowExpr); - _o.set(_j, "RowExpr.xpr", _p?.xpr); - _o.set(_j, "RowExpr.args", _p?.args); - _o.set(_j, "RowExpr.row_typeid", _p?.row_typeid); - _o.set(_j, "RowExpr.row_format", _p?.row_format); - _o.set(_j, "RowExpr.colnames", _p?.colnames); - _o.set(_j, "RowExpr.location", _p?.location); - return _j; - }, - rowCompareExpr(_p?: RowCompareExpr["RowCompareExpr"]): RowCompareExpr { - const _j = ({ - RowCompareExpr: {} - } as RowCompareExpr); - _o.set(_j, "RowCompareExpr.xpr", _p?.xpr); - _o.set(_j, "RowCompareExpr.rctype", _p?.rctype); - _o.set(_j, "RowCompareExpr.opnos", _p?.opnos); - _o.set(_j, "RowCompareExpr.opfamilies", _p?.opfamilies); - _o.set(_j, "RowCompareExpr.inputcollids", _p?.inputcollids); - _o.set(_j, "RowCompareExpr.largs", _p?.largs); - _o.set(_j, "RowCompareExpr.rargs", _p?.rargs); - return _j; - }, - coalesceExpr(_p?: CoalesceExpr["CoalesceExpr"]): CoalesceExpr { - const _j = ({ - CoalesceExpr: {} - } as CoalesceExpr); - _o.set(_j, "CoalesceExpr.xpr", _p?.xpr); - _o.set(_j, "CoalesceExpr.coalescetype", _p?.coalescetype); - _o.set(_j, "CoalesceExpr.coalescecollid", _p?.coalescecollid); - _o.set(_j, "CoalesceExpr.args", _p?.args); - _o.set(_j, "CoalesceExpr.location", _p?.location); - return _j; - }, - minMaxExpr(_p?: MinMaxExpr["MinMaxExpr"]): MinMaxExpr { - const _j = ({ - MinMaxExpr: {} - } as MinMaxExpr); - _o.set(_j, "MinMaxExpr.xpr", _p?.xpr); - _o.set(_j, "MinMaxExpr.minmaxtype", _p?.minmaxtype); - _o.set(_j, "MinMaxExpr.minmaxcollid", _p?.minmaxcollid); - _o.set(_j, "MinMaxExpr.inputcollid", _p?.inputcollid); - _o.set(_j, "MinMaxExpr.op", _p?.op); - _o.set(_j, "MinMaxExpr.args", _p?.args); - _o.set(_j, "MinMaxExpr.location", _p?.location); - return _j; - }, - sqlValueFunction(_p?: SQLValueFunction["SQLValueFunction"]): SQLValueFunction { - const _j = ({ - SQLValueFunction: {} - } as SQLValueFunction); - _o.set(_j, "SQLValueFunction.xpr", _p?.xpr); - _o.set(_j, "SQLValueFunction.op", _p?.op); - _o.set(_j, "SQLValueFunction.type", _p?.type); - _o.set(_j, "SQLValueFunction.typmod", _p?.typmod); - _o.set(_j, "SQLValueFunction.location", _p?.location); - return _j; - }, - xmlExpr(_p?: XmlExpr["XmlExpr"]): XmlExpr { - const _j = ({ - XmlExpr: {} - } as XmlExpr); - _o.set(_j, "XmlExpr.xpr", _p?.xpr); - _o.set(_j, "XmlExpr.op", _p?.op); - _o.set(_j, "XmlExpr.name", _p?.name); - _o.set(_j, "XmlExpr.named_args", _p?.named_args); - _o.set(_j, "XmlExpr.arg_names", _p?.arg_names); - _o.set(_j, "XmlExpr.args", _p?.args); - _o.set(_j, "XmlExpr.xmloption", _p?.xmloption); - _o.set(_j, "XmlExpr.indent", _p?.indent); - _o.set(_j, "XmlExpr.type", _p?.type); - _o.set(_j, "XmlExpr.typmod", _p?.typmod); - _o.set(_j, "XmlExpr.location", _p?.location); - return _j; - }, - jsonFormat(_p?: JsonFormat["JsonFormat"]): JsonFormat { - const _j = ({ - JsonFormat: {} - } as JsonFormat); - _o.set(_j, "JsonFormat.format_type", _p?.format_type); - _o.set(_j, "JsonFormat.encoding", _p?.encoding); - _o.set(_j, "JsonFormat.location", _p?.location); - return _j; - }, - jsonReturning(_p?: JsonReturning["JsonReturning"]): JsonReturning { - const _j = ({ - JsonReturning: {} - } as JsonReturning); - _o.set(_j, "JsonReturning.format", _p?.format); - _o.set(_j, "JsonReturning.typid", _p?.typid); - _o.set(_j, "JsonReturning.typmod", _p?.typmod); - return _j; - }, - jsonValueExpr(_p?: JsonValueExpr["JsonValueExpr"]): JsonValueExpr { - const _j = ({ - JsonValueExpr: {} - } as JsonValueExpr); - _o.set(_j, "JsonValueExpr.raw_expr", _p?.raw_expr); - _o.set(_j, "JsonValueExpr.formatted_expr", _p?.formatted_expr); - _o.set(_j, "JsonValueExpr.format", _p?.format); - return _j; - }, - jsonConstructorExpr(_p?: JsonConstructorExpr["JsonConstructorExpr"]): JsonConstructorExpr { - const _j = ({ - JsonConstructorExpr: {} - } as JsonConstructorExpr); - _o.set(_j, "JsonConstructorExpr.xpr", _p?.xpr); - _o.set(_j, "JsonConstructorExpr.type", _p?.type); - _o.set(_j, "JsonConstructorExpr.args", _p?.args); - _o.set(_j, "JsonConstructorExpr.func", _p?.func); - _o.set(_j, "JsonConstructorExpr.coercion", _p?.coercion); - _o.set(_j, "JsonConstructorExpr.returning", _p?.returning); - _o.set(_j, "JsonConstructorExpr.absent_on_null", _p?.absent_on_null); - _o.set(_j, "JsonConstructorExpr.unique", _p?.unique); - _o.set(_j, "JsonConstructorExpr.location", _p?.location); - return _j; - }, - jsonIsPredicate(_p?: JsonIsPredicate["JsonIsPredicate"]): JsonIsPredicate { - const _j = ({ - JsonIsPredicate: {} - } as JsonIsPredicate); - _o.set(_j, "JsonIsPredicate.expr", _p?.expr); - _o.set(_j, "JsonIsPredicate.format", _p?.format); - _o.set(_j, "JsonIsPredicate.item_type", _p?.item_type); - _o.set(_j, "JsonIsPredicate.unique_keys", _p?.unique_keys); - _o.set(_j, "JsonIsPredicate.location", _p?.location); - return _j; - }, - nullTest(_p?: NullTest["NullTest"]): NullTest { - const _j = ({ - NullTest: {} - } as NullTest); - _o.set(_j, "NullTest.xpr", _p?.xpr); - _o.set(_j, "NullTest.arg", _p?.arg); - _o.set(_j, "NullTest.nulltesttype", _p?.nulltesttype); - _o.set(_j, "NullTest.argisrow", _p?.argisrow); - _o.set(_j, "NullTest.location", _p?.location); - return _j; - }, - booleanTest(_p?: BooleanTest["BooleanTest"]): BooleanTest { - const _j = ({ - BooleanTest: {} - } as BooleanTest); - _o.set(_j, "BooleanTest.xpr", _p?.xpr); - _o.set(_j, "BooleanTest.arg", _p?.arg); - _o.set(_j, "BooleanTest.booltesttype", _p?.booltesttype); - _o.set(_j, "BooleanTest.location", _p?.location); - return _j; - }, - coerceToDomain(_p?: CoerceToDomain["CoerceToDomain"]): CoerceToDomain { - const _j = ({ - CoerceToDomain: {} - } as CoerceToDomain); - _o.set(_j, "CoerceToDomain.xpr", _p?.xpr); - _o.set(_j, "CoerceToDomain.arg", _p?.arg); - _o.set(_j, "CoerceToDomain.resulttype", _p?.resulttype); - _o.set(_j, "CoerceToDomain.resulttypmod", _p?.resulttypmod); - _o.set(_j, "CoerceToDomain.resultcollid", _p?.resultcollid); - _o.set(_j, "CoerceToDomain.coercionformat", _p?.coercionformat); - _o.set(_j, "CoerceToDomain.location", _p?.location); - return _j; - }, - coerceToDomainValue(_p?: CoerceToDomainValue["CoerceToDomainValue"]): CoerceToDomainValue { - const _j = ({ - CoerceToDomainValue: {} - } as CoerceToDomainValue); - _o.set(_j, "CoerceToDomainValue.xpr", _p?.xpr); - _o.set(_j, "CoerceToDomainValue.typeId", _p?.typeId); - _o.set(_j, "CoerceToDomainValue.typeMod", _p?.typeMod); - _o.set(_j, "CoerceToDomainValue.collation", _p?.collation); - _o.set(_j, "CoerceToDomainValue.location", _p?.location); - return _j; - }, - setToDefault(_p?: SetToDefault["SetToDefault"]): SetToDefault { - const _j = ({ - SetToDefault: {} - } as SetToDefault); - _o.set(_j, "SetToDefault.xpr", _p?.xpr); - _o.set(_j, "SetToDefault.typeId", _p?.typeId); - _o.set(_j, "SetToDefault.typeMod", _p?.typeMod); - _o.set(_j, "SetToDefault.collation", _p?.collation); - _o.set(_j, "SetToDefault.location", _p?.location); - return _j; - }, - currentOfExpr(_p?: CurrentOfExpr["CurrentOfExpr"]): CurrentOfExpr { - const _j = ({ - CurrentOfExpr: {} - } as CurrentOfExpr); - _o.set(_j, "CurrentOfExpr.xpr", _p?.xpr); - _o.set(_j, "CurrentOfExpr.cvarno", _p?.cvarno); - _o.set(_j, "CurrentOfExpr.cursor_name", _p?.cursor_name); - _o.set(_j, "CurrentOfExpr.cursor_param", _p?.cursor_param); - return _j; - }, - nextValueExpr(_p?: NextValueExpr["NextValueExpr"]): NextValueExpr { - const _j = ({ - NextValueExpr: {} - } as NextValueExpr); - _o.set(_j, "NextValueExpr.xpr", _p?.xpr); - _o.set(_j, "NextValueExpr.seqid", _p?.seqid); - _o.set(_j, "NextValueExpr.typeId", _p?.typeId); - return _j; - }, - inferenceElem(_p?: InferenceElem["InferenceElem"]): InferenceElem { - const _j = ({ - InferenceElem: {} - } as InferenceElem); - _o.set(_j, "InferenceElem.xpr", _p?.xpr); - _o.set(_j, "InferenceElem.expr", _p?.expr); - _o.set(_j, "InferenceElem.infercollid", _p?.infercollid); - _o.set(_j, "InferenceElem.inferopclass", _p?.inferopclass); - return _j; - }, - targetEntry(_p?: TargetEntry["TargetEntry"]): TargetEntry { - const _j = ({ - TargetEntry: {} - } as TargetEntry); - _o.set(_j, "TargetEntry.xpr", _p?.xpr); - _o.set(_j, "TargetEntry.expr", _p?.expr); - _o.set(_j, "TargetEntry.resno", _p?.resno); - _o.set(_j, "TargetEntry.resname", _p?.resname); - _o.set(_j, "TargetEntry.ressortgroupref", _p?.ressortgroupref); - _o.set(_j, "TargetEntry.resorigtbl", _p?.resorigtbl); - _o.set(_j, "TargetEntry.resorigcol", _p?.resorigcol); - _o.set(_j, "TargetEntry.resjunk", _p?.resjunk); - return _j; - }, - rangeTblRef(_p?: RangeTblRef["RangeTblRef"]): RangeTblRef { - const _j = ({ - RangeTblRef: {} - } as RangeTblRef); - _o.set(_j, "RangeTblRef.rtindex", _p?.rtindex); - return _j; - }, - joinExpr(_p?: JoinExpr["JoinExpr"]): JoinExpr { - const _j = ({ - JoinExpr: {} - } as JoinExpr); - _o.set(_j, "JoinExpr.jointype", _p?.jointype); - _o.set(_j, "JoinExpr.isNatural", _p?.isNatural); - _o.set(_j, "JoinExpr.larg", _p?.larg); - _o.set(_j, "JoinExpr.rarg", _p?.rarg); - _o.set(_j, "JoinExpr.usingClause", _p?.usingClause); - _o.set(_j, "JoinExpr.join_using_alias", _p?.join_using_alias); - _o.set(_j, "JoinExpr.quals", _p?.quals); - _o.set(_j, "JoinExpr.alias", _p?.alias); - _o.set(_j, "JoinExpr.rtindex", _p?.rtindex); - return _j; - }, - fromExpr(_p?: FromExpr["FromExpr"]): FromExpr { - const _j = ({ - FromExpr: {} - } as FromExpr); - _o.set(_j, "FromExpr.fromlist", _p?.fromlist); - _o.set(_j, "FromExpr.quals", _p?.quals); - return _j; - }, - onConflictExpr(_p?: OnConflictExpr["OnConflictExpr"]): OnConflictExpr { - const _j = ({ - OnConflictExpr: {} - } as OnConflictExpr); - _o.set(_j, "OnConflictExpr.action", _p?.action); - _o.set(_j, "OnConflictExpr.arbiterElems", _p?.arbiterElems); - _o.set(_j, "OnConflictExpr.arbiterWhere", _p?.arbiterWhere); - _o.set(_j, "OnConflictExpr.constraint", _p?.constraint); - _o.set(_j, "OnConflictExpr.onConflictSet", _p?.onConflictSet); - _o.set(_j, "OnConflictExpr.onConflictWhere", _p?.onConflictWhere); - _o.set(_j, "OnConflictExpr.exclRelIndex", _p?.exclRelIndex); - _o.set(_j, "OnConflictExpr.exclRelTlist", _p?.exclRelTlist); - return _j; - }, - query(_p?: Query["Query"]): Query { - const _j = ({ - Query: {} - } as Query); - _o.set(_j, "Query.commandType", _p?.commandType); - _o.set(_j, "Query.querySource", _p?.querySource); - _o.set(_j, "Query.canSetTag", _p?.canSetTag); - _o.set(_j, "Query.utilityStmt", _p?.utilityStmt); - _o.set(_j, "Query.resultRelation", _p?.resultRelation); - _o.set(_j, "Query.hasAggs", _p?.hasAggs); - _o.set(_j, "Query.hasWindowFuncs", _p?.hasWindowFuncs); - _o.set(_j, "Query.hasTargetSRFs", _p?.hasTargetSRFs); - _o.set(_j, "Query.hasSubLinks", _p?.hasSubLinks); - _o.set(_j, "Query.hasDistinctOn", _p?.hasDistinctOn); - _o.set(_j, "Query.hasRecursive", _p?.hasRecursive); - _o.set(_j, "Query.hasModifyingCTE", _p?.hasModifyingCTE); - _o.set(_j, "Query.hasForUpdate", _p?.hasForUpdate); - _o.set(_j, "Query.hasRowSecurity", _p?.hasRowSecurity); - _o.set(_j, "Query.isReturn", _p?.isReturn); - _o.set(_j, "Query.cteList", _p?.cteList); - _o.set(_j, "Query.rtable", _p?.rtable); - _o.set(_j, "Query.rteperminfos", _p?.rteperminfos); - _o.set(_j, "Query.jointree", _p?.jointree); - _o.set(_j, "Query.mergeActionList", _p?.mergeActionList); - _o.set(_j, "Query.mergeUseOuterJoin", _p?.mergeUseOuterJoin); - _o.set(_j, "Query.targetList", _p?.targetList); - _o.set(_j, "Query.override", _p?.override); - _o.set(_j, "Query.onConflict", _p?.onConflict); - _o.set(_j, "Query.returningList", _p?.returningList); - _o.set(_j, "Query.groupClause", _p?.groupClause); - _o.set(_j, "Query.groupDistinct", _p?.groupDistinct); - _o.set(_j, "Query.groupingSets", _p?.groupingSets); - _o.set(_j, "Query.havingQual", _p?.havingQual); - _o.set(_j, "Query.windowClause", _p?.windowClause); - _o.set(_j, "Query.distinctClause", _p?.distinctClause); - _o.set(_j, "Query.sortClause", _p?.sortClause); - _o.set(_j, "Query.limitOffset", _p?.limitOffset); - _o.set(_j, "Query.limitCount", _p?.limitCount); - _o.set(_j, "Query.limitOption", _p?.limitOption); - _o.set(_j, "Query.rowMarks", _p?.rowMarks); - _o.set(_j, "Query.setOperations", _p?.setOperations); - _o.set(_j, "Query.constraintDeps", _p?.constraintDeps); - _o.set(_j, "Query.withCheckOptions", _p?.withCheckOptions); - _o.set(_j, "Query.stmt_location", _p?.stmt_location); - _o.set(_j, "Query.stmt_len", _p?.stmt_len); + }, + currentOfExpr(_p?: CurrentOfExpr): CurrentOfExpr { + const _j = ({} as CurrentOfExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "cvarno", _p?.cvarno); + _o.set(_j, "cursor_name", _p?.cursor_name); + _o.set(_j, "cursor_param", _p?.cursor_param); + return _j; + }, + nextValueExpr(_p?: NextValueExpr): NextValueExpr { + const _j = ({} as NextValueExpr); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "seqid", _p?.seqid); + _o.set(_j, "typeId", _p?.typeId); + return _j; + }, + inferenceElem(_p?: InferenceElem): InferenceElem { + const _j = ({} as InferenceElem); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "infercollid", _p?.infercollid); + _o.set(_j, "inferopclass", _p?.inferopclass); + return _j; + }, + targetEntry(_p?: TargetEntry): TargetEntry { + const _j = ({} as TargetEntry); + _o.set(_j, "xpr", _p?.xpr); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "resno", _p?.resno); + _o.set(_j, "resname", _p?.resname); + _o.set(_j, "ressortgroupref", _p?.ressortgroupref); + _o.set(_j, "resorigtbl", _p?.resorigtbl); + _o.set(_j, "resorigcol", _p?.resorigcol); + _o.set(_j, "resjunk", _p?.resjunk); + return _j; + }, + rangeTblRef(_p?: RangeTblRef): RangeTblRef { + const _j = ({} as RangeTblRef); + _o.set(_j, "rtindex", _p?.rtindex); + return _j; + }, + joinExpr(_p?: JoinExpr): JoinExpr { + const _j = ({} as JoinExpr); + _o.set(_j, "jointype", _p?.jointype); + _o.set(_j, "isNatural", _p?.isNatural); + _o.set(_j, "larg", _p?.larg); + _o.set(_j, "rarg", _p?.rarg); + _o.set(_j, "usingClause", _p?.usingClause); + _o.set(_j, "join_using_alias", _p?.join_using_alias); + _o.set(_j, "quals", _p?.quals); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "rtindex", _p?.rtindex); + return _j; + }, + fromExpr(_p?: FromExpr): FromExpr { + const _j = ({} as FromExpr); + _o.set(_j, "fromlist", _p?.fromlist); + _o.set(_j, "quals", _p?.quals); + return _j; + }, + onConflictExpr(_p?: OnConflictExpr): OnConflictExpr { + const _j = ({} as OnConflictExpr); + _o.set(_j, "action", _p?.action); + _o.set(_j, "arbiterElems", _p?.arbiterElems); + _o.set(_j, "arbiterWhere", _p?.arbiterWhere); + _o.set(_j, "constraint", _p?.constraint); + _o.set(_j, "onConflictSet", _p?.onConflictSet); + _o.set(_j, "onConflictWhere", _p?.onConflictWhere); + _o.set(_j, "exclRelIndex", _p?.exclRelIndex); + _o.set(_j, "exclRelTlist", _p?.exclRelTlist); + return _j; + }, + query(_p?: Query): Query { + const _j = ({} as Query); + _o.set(_j, "commandType", _p?.commandType); + _o.set(_j, "querySource", _p?.querySource); + _o.set(_j, "canSetTag", _p?.canSetTag); + _o.set(_j, "utilityStmt", _p?.utilityStmt); + _o.set(_j, "resultRelation", _p?.resultRelation); + _o.set(_j, "hasAggs", _p?.hasAggs); + _o.set(_j, "hasWindowFuncs", _p?.hasWindowFuncs); + _o.set(_j, "hasTargetSRFs", _p?.hasTargetSRFs); + _o.set(_j, "hasSubLinks", _p?.hasSubLinks); + _o.set(_j, "hasDistinctOn", _p?.hasDistinctOn); + _o.set(_j, "hasRecursive", _p?.hasRecursive); + _o.set(_j, "hasModifyingCTE", _p?.hasModifyingCTE); + _o.set(_j, "hasForUpdate", _p?.hasForUpdate); + _o.set(_j, "hasRowSecurity", _p?.hasRowSecurity); + _o.set(_j, "isReturn", _p?.isReturn); + _o.set(_j, "cteList", _p?.cteList); + _o.set(_j, "rtable", _p?.rtable); + _o.set(_j, "rteperminfos", _p?.rteperminfos); + _o.set(_j, "jointree", _p?.jointree); + _o.set(_j, "mergeActionList", _p?.mergeActionList); + _o.set(_j, "mergeUseOuterJoin", _p?.mergeUseOuterJoin); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "override", _p?.override); + _o.set(_j, "onConflict", _p?.onConflict); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "groupClause", _p?.groupClause); + _o.set(_j, "groupDistinct", _p?.groupDistinct); + _o.set(_j, "groupingSets", _p?.groupingSets); + _o.set(_j, "havingQual", _p?.havingQual); + _o.set(_j, "windowClause", _p?.windowClause); + _o.set(_j, "distinctClause", _p?.distinctClause); + _o.set(_j, "sortClause", _p?.sortClause); + _o.set(_j, "limitOffset", _p?.limitOffset); + _o.set(_j, "limitCount", _p?.limitCount); + _o.set(_j, "limitOption", _p?.limitOption); + _o.set(_j, "rowMarks", _p?.rowMarks); + _o.set(_j, "setOperations", _p?.setOperations); + _o.set(_j, "constraintDeps", _p?.constraintDeps); + _o.set(_j, "withCheckOptions", _p?.withCheckOptions); + _o.set(_j, "stmt_location", _p?.stmt_location); + _o.set(_j, "stmt_len", _p?.stmt_len); return _j; }, typeName(_p?: TypeName): TypeName { @@ -7924,2001 +7282,1627 @@ export default { _o.set(_j, "location", _p?.location); return _j; }, - columnRef(_p?: ColumnRef["ColumnRef"]): ColumnRef { - const _j = ({ - ColumnRef: {} - } as ColumnRef); - _o.set(_j, "ColumnRef.fields", _p?.fields); - _o.set(_j, "ColumnRef.location", _p?.location); - return _j; - }, - paramRef(_p?: ParamRef["ParamRef"]): ParamRef { - const _j = ({ - ParamRef: {} - } as ParamRef); - _o.set(_j, "ParamRef.number", _p?.number); - _o.set(_j, "ParamRef.location", _p?.location); - return _j; - }, - aExpr(_p?: A_Expr["A_Expr"]): A_Expr { - const _j = ({ - A_Expr: {} - } as A_Expr); - _o.set(_j, "A_Expr.kind", _p?.kind); - _o.set(_j, "A_Expr.name", _p?.name); - _o.set(_j, "A_Expr.lexpr", _p?.lexpr); - _o.set(_j, "A_Expr.rexpr", _p?.rexpr); - _o.set(_j, "A_Expr.location", _p?.location); - return _j; - }, - typeCast(_p?: TypeCast["TypeCast"]): TypeCast { - const _j = ({ - TypeCast: {} - } as TypeCast); - _o.set(_j, "TypeCast.arg", _p?.arg); - _o.set(_j, "TypeCast.typeName", _p?.typeName); - _o.set(_j, "TypeCast.location", _p?.location); - return _j; - }, - collateClause(_p?: CollateClause["CollateClause"]): CollateClause { - const _j = ({ - CollateClause: {} - } as CollateClause); - _o.set(_j, "CollateClause.arg", _p?.arg); - _o.set(_j, "CollateClause.collname", _p?.collname); - _o.set(_j, "CollateClause.location", _p?.location); - return _j; - }, - roleSpec(_p?: RoleSpec["RoleSpec"]): RoleSpec { - const _j = ({ - RoleSpec: {} - } as RoleSpec); - _o.set(_j, "RoleSpec.roletype", _p?.roletype); - _o.set(_j, "RoleSpec.rolename", _p?.rolename); - _o.set(_j, "RoleSpec.location", _p?.location); - return _j; - }, - funcCall(_p?: FuncCall["FuncCall"]): FuncCall { - const _j = ({ - FuncCall: {} - } as FuncCall); - _o.set(_j, "FuncCall.funcname", _p?.funcname); - _o.set(_j, "FuncCall.args", _p?.args); - _o.set(_j, "FuncCall.agg_order", _p?.agg_order); - _o.set(_j, "FuncCall.agg_filter", _p?.agg_filter); - _o.set(_j, "FuncCall.over", _p?.over); - _o.set(_j, "FuncCall.agg_within_group", _p?.agg_within_group); - _o.set(_j, "FuncCall.agg_star", _p?.agg_star); - _o.set(_j, "FuncCall.agg_distinct", _p?.agg_distinct); - _o.set(_j, "FuncCall.func_variadic", _p?.func_variadic); - _o.set(_j, "FuncCall.funcformat", _p?.funcformat); - _o.set(_j, "FuncCall.location", _p?.location); - return _j; - }, - aStar(_p?: A_Star["A_Star"]): A_Star { - const _j = ({ - A_Star: {} - } as A_Star); - return _j; - }, - aIndices(_p?: A_Indices["A_Indices"]): A_Indices { - const _j = ({ - A_Indices: {} - } as A_Indices); - _o.set(_j, "A_Indices.is_slice", _p?.is_slice); - _o.set(_j, "A_Indices.lidx", _p?.lidx); - _o.set(_j, "A_Indices.uidx", _p?.uidx); - return _j; - }, - aIndirection(_p?: A_Indirection["A_Indirection"]): A_Indirection { - const _j = ({ - A_Indirection: {} - } as A_Indirection); - _o.set(_j, "A_Indirection.arg", _p?.arg); - _o.set(_j, "A_Indirection.indirection", _p?.indirection); - return _j; - }, - aArrayExpr(_p?: A_ArrayExpr["A_ArrayExpr"]): A_ArrayExpr { - const _j = ({ - A_ArrayExpr: {} - } as A_ArrayExpr); - _o.set(_j, "A_ArrayExpr.elements", _p?.elements); - _o.set(_j, "A_ArrayExpr.location", _p?.location); - return _j; - }, - resTarget(_p?: ResTarget["ResTarget"]): ResTarget { - const _j = ({ - ResTarget: {} - } as ResTarget); - _o.set(_j, "ResTarget.name", _p?.name); - _o.set(_j, "ResTarget.indirection", _p?.indirection); - _o.set(_j, "ResTarget.val", _p?.val); - _o.set(_j, "ResTarget.location", _p?.location); - return _j; - }, - multiAssignRef(_p?: MultiAssignRef["MultiAssignRef"]): MultiAssignRef { - const _j = ({ - MultiAssignRef: {} - } as MultiAssignRef); - _o.set(_j, "MultiAssignRef.source", _p?.source); - _o.set(_j, "MultiAssignRef.colno", _p?.colno); - _o.set(_j, "MultiAssignRef.ncolumns", _p?.ncolumns); - return _j; - }, - sortBy(_p?: SortBy["SortBy"]): SortBy { - const _j = ({ - SortBy: {} - } as SortBy); - _o.set(_j, "SortBy.node", _p?.node); - _o.set(_j, "SortBy.sortby_dir", _p?.sortby_dir); - _o.set(_j, "SortBy.sortby_nulls", _p?.sortby_nulls); - _o.set(_j, "SortBy.useOp", _p?.useOp); - _o.set(_j, "SortBy.location", _p?.location); - return _j; - }, - windowDef(_p?: WindowDef["WindowDef"]): WindowDef { - const _j = ({ - WindowDef: {} - } as WindowDef); - _o.set(_j, "WindowDef.name", _p?.name); - _o.set(_j, "WindowDef.refname", _p?.refname); - _o.set(_j, "WindowDef.partitionClause", _p?.partitionClause); - _o.set(_j, "WindowDef.orderClause", _p?.orderClause); - _o.set(_j, "WindowDef.frameOptions", _p?.frameOptions); - _o.set(_j, "WindowDef.startOffset", _p?.startOffset); - _o.set(_j, "WindowDef.endOffset", _p?.endOffset); - _o.set(_j, "WindowDef.location", _p?.location); - return _j; - }, - rangeSubselect(_p?: RangeSubselect["RangeSubselect"]): RangeSubselect { - const _j = ({ - RangeSubselect: {} - } as RangeSubselect); - _o.set(_j, "RangeSubselect.lateral", _p?.lateral); - _o.set(_j, "RangeSubselect.subquery", _p?.subquery); - _o.set(_j, "RangeSubselect.alias", _p?.alias); - return _j; - }, - rangeFunction(_p?: RangeFunction["RangeFunction"]): RangeFunction { - const _j = ({ - RangeFunction: {} - } as RangeFunction); - _o.set(_j, "RangeFunction.lateral", _p?.lateral); - _o.set(_j, "RangeFunction.ordinality", _p?.ordinality); - _o.set(_j, "RangeFunction.is_rowsfrom", _p?.is_rowsfrom); - _o.set(_j, "RangeFunction.functions", _p?.functions); - _o.set(_j, "RangeFunction.alias", _p?.alias); - _o.set(_j, "RangeFunction.coldeflist", _p?.coldeflist); - return _j; - }, - rangeTableFunc(_p?: RangeTableFunc["RangeTableFunc"]): RangeTableFunc { - const _j = ({ - RangeTableFunc: {} - } as RangeTableFunc); - _o.set(_j, "RangeTableFunc.lateral", _p?.lateral); - _o.set(_j, "RangeTableFunc.docexpr", _p?.docexpr); - _o.set(_j, "RangeTableFunc.rowexpr", _p?.rowexpr); - _o.set(_j, "RangeTableFunc.namespaces", _p?.namespaces); - _o.set(_j, "RangeTableFunc.columns", _p?.columns); - _o.set(_j, "RangeTableFunc.alias", _p?.alias); - _o.set(_j, "RangeTableFunc.location", _p?.location); - return _j; - }, - rangeTableFuncCol(_p?: RangeTableFuncCol["RangeTableFuncCol"]): RangeTableFuncCol { - const _j = ({ - RangeTableFuncCol: {} - } as RangeTableFuncCol); - _o.set(_j, "RangeTableFuncCol.colname", _p?.colname); - _o.set(_j, "RangeTableFuncCol.typeName", _p?.typeName); - _o.set(_j, "RangeTableFuncCol.for_ordinality", _p?.for_ordinality); - _o.set(_j, "RangeTableFuncCol.is_not_null", _p?.is_not_null); - _o.set(_j, "RangeTableFuncCol.colexpr", _p?.colexpr); - _o.set(_j, "RangeTableFuncCol.coldefexpr", _p?.coldefexpr); - _o.set(_j, "RangeTableFuncCol.location", _p?.location); - return _j; - }, - rangeTableSample(_p?: RangeTableSample["RangeTableSample"]): RangeTableSample { - const _j = ({ - RangeTableSample: {} - } as RangeTableSample); - _o.set(_j, "RangeTableSample.relation", _p?.relation); - _o.set(_j, "RangeTableSample.method", _p?.method); - _o.set(_j, "RangeTableSample.args", _p?.args); - _o.set(_j, "RangeTableSample.repeatable", _p?.repeatable); - _o.set(_j, "RangeTableSample.location", _p?.location); - return _j; - }, - columnDef(_p?: ColumnDef["ColumnDef"]): ColumnDef { - const _j = ({ - ColumnDef: {} - } as ColumnDef); - _o.set(_j, "ColumnDef.colname", _p?.colname); - _o.set(_j, "ColumnDef.typeName", _p?.typeName); - _o.set(_j, "ColumnDef.compression", _p?.compression); - _o.set(_j, "ColumnDef.inhcount", _p?.inhcount); - _o.set(_j, "ColumnDef.is_local", _p?.is_local); - _o.set(_j, "ColumnDef.is_not_null", _p?.is_not_null); - _o.set(_j, "ColumnDef.is_from_type", _p?.is_from_type); - _o.set(_j, "ColumnDef.storage", _p?.storage); - _o.set(_j, "ColumnDef.storage_name", _p?.storage_name); - _o.set(_j, "ColumnDef.raw_default", _p?.raw_default); - _o.set(_j, "ColumnDef.cooked_default", _p?.cooked_default); - _o.set(_j, "ColumnDef.identity", _p?.identity); - _o.set(_j, "ColumnDef.identitySequence", _p?.identitySequence); - _o.set(_j, "ColumnDef.generated", _p?.generated); - _o.set(_j, "ColumnDef.collClause", _p?.collClause); - _o.set(_j, "ColumnDef.collOid", _p?.collOid); - _o.set(_j, "ColumnDef.constraints", _p?.constraints); - _o.set(_j, "ColumnDef.fdwoptions", _p?.fdwoptions); - _o.set(_j, "ColumnDef.location", _p?.location); - return _j; - }, - tableLikeClause(_p?: TableLikeClause["TableLikeClause"]): TableLikeClause { - const _j = ({ - TableLikeClause: {} - } as TableLikeClause); - _o.set(_j, "TableLikeClause.relation", _p?.relation); - _o.set(_j, "TableLikeClause.options", _p?.options); - _o.set(_j, "TableLikeClause.relationOid", _p?.relationOid); - return _j; - }, - indexElem(_p?: IndexElem["IndexElem"]): IndexElem { - const _j = ({ - IndexElem: {} - } as IndexElem); - _o.set(_j, "IndexElem.name", _p?.name); - _o.set(_j, "IndexElem.expr", _p?.expr); - _o.set(_j, "IndexElem.indexcolname", _p?.indexcolname); - _o.set(_j, "IndexElem.collation", _p?.collation); - _o.set(_j, "IndexElem.opclass", _p?.opclass); - _o.set(_j, "IndexElem.opclassopts", _p?.opclassopts); - _o.set(_j, "IndexElem.ordering", _p?.ordering); - _o.set(_j, "IndexElem.nulls_ordering", _p?.nulls_ordering); - return _j; - }, - defElem(_p?: DefElem["DefElem"]): DefElem { - const _j = ({ - DefElem: {} - } as DefElem); - _o.set(_j, "DefElem.defnamespace", _p?.defnamespace); - _o.set(_j, "DefElem.defname", _p?.defname); - _o.set(_j, "DefElem.arg", _p?.arg); - _o.set(_j, "DefElem.defaction", _p?.defaction); - _o.set(_j, "DefElem.location", _p?.location); - return _j; - }, - lockingClause(_p?: LockingClause["LockingClause"]): LockingClause { - const _j = ({ - LockingClause: {} - } as LockingClause); - _o.set(_j, "LockingClause.lockedRels", _p?.lockedRels); - _o.set(_j, "LockingClause.strength", _p?.strength); - _o.set(_j, "LockingClause.waitPolicy", _p?.waitPolicy); - return _j; - }, - xmlSerialize(_p?: XmlSerialize["XmlSerialize"]): XmlSerialize { - const _j = ({ - XmlSerialize: {} - } as XmlSerialize); - _o.set(_j, "XmlSerialize.xmloption", _p?.xmloption); - _o.set(_j, "XmlSerialize.expr", _p?.expr); - _o.set(_j, "XmlSerialize.typeName", _p?.typeName); - _o.set(_j, "XmlSerialize.indent", _p?.indent); - _o.set(_j, "XmlSerialize.location", _p?.location); - return _j; - }, - partitionElem(_p?: PartitionElem["PartitionElem"]): PartitionElem { - const _j = ({ - PartitionElem: {} - } as PartitionElem); - _o.set(_j, "PartitionElem.name", _p?.name); - _o.set(_j, "PartitionElem.expr", _p?.expr); - _o.set(_j, "PartitionElem.collation", _p?.collation); - _o.set(_j, "PartitionElem.opclass", _p?.opclass); - _o.set(_j, "PartitionElem.location", _p?.location); - return _j; - }, - partitionSpec(_p?: PartitionSpec["PartitionSpec"]): PartitionSpec { - const _j = ({ - PartitionSpec: {} - } as PartitionSpec); - _o.set(_j, "PartitionSpec.strategy", _p?.strategy); - _o.set(_j, "PartitionSpec.partParams", _p?.partParams); - _o.set(_j, "PartitionSpec.location", _p?.location); - return _j; - }, - partitionBoundSpec(_p?: PartitionBoundSpec["PartitionBoundSpec"]): PartitionBoundSpec { - const _j = ({ - PartitionBoundSpec: {} - } as PartitionBoundSpec); - _o.set(_j, "PartitionBoundSpec.strategy", _p?.strategy); - _o.set(_j, "PartitionBoundSpec.is_default", _p?.is_default); - _o.set(_j, "PartitionBoundSpec.modulus", _p?.modulus); - _o.set(_j, "PartitionBoundSpec.remainder", _p?.remainder); - _o.set(_j, "PartitionBoundSpec.listdatums", _p?.listdatums); - _o.set(_j, "PartitionBoundSpec.lowerdatums", _p?.lowerdatums); - _o.set(_j, "PartitionBoundSpec.upperdatums", _p?.upperdatums); - _o.set(_j, "PartitionBoundSpec.location", _p?.location); - return _j; - }, - partitionRangeDatum(_p?: PartitionRangeDatum["PartitionRangeDatum"]): PartitionRangeDatum { - const _j = ({ - PartitionRangeDatum: {} - } as PartitionRangeDatum); - _o.set(_j, "PartitionRangeDatum.kind", _p?.kind); - _o.set(_j, "PartitionRangeDatum.value", _p?.value); - _o.set(_j, "PartitionRangeDatum.location", _p?.location); - return _j; - }, - partitionCmd(_p?: PartitionCmd["PartitionCmd"]): PartitionCmd { - const _j = ({ - PartitionCmd: {} - } as PartitionCmd); - _o.set(_j, "PartitionCmd.name", _p?.name); - _o.set(_j, "PartitionCmd.bound", _p?.bound); - _o.set(_j, "PartitionCmd.concurrent", _p?.concurrent); - return _j; - }, - rangeTblEntry(_p?: RangeTblEntry["RangeTblEntry"]): RangeTblEntry { - const _j = ({ - RangeTblEntry: {} - } as RangeTblEntry); - _o.set(_j, "RangeTblEntry.rtekind", _p?.rtekind); - _o.set(_j, "RangeTblEntry.relid", _p?.relid); - _o.set(_j, "RangeTblEntry.relkind", _p?.relkind); - _o.set(_j, "RangeTblEntry.rellockmode", _p?.rellockmode); - _o.set(_j, "RangeTblEntry.tablesample", _p?.tablesample); - _o.set(_j, "RangeTblEntry.perminfoindex", _p?.perminfoindex); - _o.set(_j, "RangeTblEntry.subquery", _p?.subquery); - _o.set(_j, "RangeTblEntry.security_barrier", _p?.security_barrier); - _o.set(_j, "RangeTblEntry.jointype", _p?.jointype); - _o.set(_j, "RangeTblEntry.joinmergedcols", _p?.joinmergedcols); - _o.set(_j, "RangeTblEntry.joinaliasvars", _p?.joinaliasvars); - _o.set(_j, "RangeTblEntry.joinleftcols", _p?.joinleftcols); - _o.set(_j, "RangeTblEntry.joinrightcols", _p?.joinrightcols); - _o.set(_j, "RangeTblEntry.join_using_alias", _p?.join_using_alias); - _o.set(_j, "RangeTblEntry.functions", _p?.functions); - _o.set(_j, "RangeTblEntry.funcordinality", _p?.funcordinality); - _o.set(_j, "RangeTblEntry.tablefunc", _p?.tablefunc); - _o.set(_j, "RangeTblEntry.values_lists", _p?.values_lists); - _o.set(_j, "RangeTblEntry.ctename", _p?.ctename); - _o.set(_j, "RangeTblEntry.ctelevelsup", _p?.ctelevelsup); - _o.set(_j, "RangeTblEntry.self_reference", _p?.self_reference); - _o.set(_j, "RangeTblEntry.coltypes", _p?.coltypes); - _o.set(_j, "RangeTblEntry.coltypmods", _p?.coltypmods); - _o.set(_j, "RangeTblEntry.colcollations", _p?.colcollations); - _o.set(_j, "RangeTblEntry.enrname", _p?.enrname); - _o.set(_j, "RangeTblEntry.enrtuples", _p?.enrtuples); - _o.set(_j, "RangeTblEntry.alias", _p?.alias); - _o.set(_j, "RangeTblEntry.eref", _p?.eref); - _o.set(_j, "RangeTblEntry.lateral", _p?.lateral); - _o.set(_j, "RangeTblEntry.inh", _p?.inh); - _o.set(_j, "RangeTblEntry.inFromCl", _p?.inFromCl); - _o.set(_j, "RangeTblEntry.securityQuals", _p?.securityQuals); - return _j; - }, - rtePermissionInfo(_p?: RTEPermissionInfo["RTEPermissionInfo"]): RTEPermissionInfo { - const _j = ({ - RTEPermissionInfo: {} - } as RTEPermissionInfo); - _o.set(_j, "RTEPermissionInfo.relid", _p?.relid); - _o.set(_j, "RTEPermissionInfo.inh", _p?.inh); - _o.set(_j, "RTEPermissionInfo.requiredPerms", _p?.requiredPerms); - _o.set(_j, "RTEPermissionInfo.checkAsUser", _p?.checkAsUser); - _o.set(_j, "RTEPermissionInfo.selectedCols", _p?.selectedCols); - _o.set(_j, "RTEPermissionInfo.insertedCols", _p?.insertedCols); - _o.set(_j, "RTEPermissionInfo.updatedCols", _p?.updatedCols); - return _j; - }, - rangeTblFunction(_p?: RangeTblFunction["RangeTblFunction"]): RangeTblFunction { - const _j = ({ - RangeTblFunction: {} - } as RangeTblFunction); - _o.set(_j, "RangeTblFunction.funcexpr", _p?.funcexpr); - _o.set(_j, "RangeTblFunction.funccolcount", _p?.funccolcount); - _o.set(_j, "RangeTblFunction.funccolnames", _p?.funccolnames); - _o.set(_j, "RangeTblFunction.funccoltypes", _p?.funccoltypes); - _o.set(_j, "RangeTblFunction.funccoltypmods", _p?.funccoltypmods); - _o.set(_j, "RangeTblFunction.funccolcollations", _p?.funccolcollations); - _o.set(_j, "RangeTblFunction.funcparams", _p?.funcparams); - return _j; - }, - tableSampleClause(_p?: TableSampleClause["TableSampleClause"]): TableSampleClause { - const _j = ({ - TableSampleClause: {} - } as TableSampleClause); - _o.set(_j, "TableSampleClause.tsmhandler", _p?.tsmhandler); - _o.set(_j, "TableSampleClause.args", _p?.args); - _o.set(_j, "TableSampleClause.repeatable", _p?.repeatable); - return _j; - }, - withCheckOption(_p?: WithCheckOption["WithCheckOption"]): WithCheckOption { - const _j = ({ - WithCheckOption: {} - } as WithCheckOption); - _o.set(_j, "WithCheckOption.kind", _p?.kind); - _o.set(_j, "WithCheckOption.relname", _p?.relname); - _o.set(_j, "WithCheckOption.polname", _p?.polname); - _o.set(_j, "WithCheckOption.qual", _p?.qual); - _o.set(_j, "WithCheckOption.cascaded", _p?.cascaded); - return _j; - }, - sortGroupClause(_p?: SortGroupClause["SortGroupClause"]): SortGroupClause { - const _j = ({ - SortGroupClause: {} - } as SortGroupClause); - _o.set(_j, "SortGroupClause.tleSortGroupRef", _p?.tleSortGroupRef); - _o.set(_j, "SortGroupClause.eqop", _p?.eqop); - _o.set(_j, "SortGroupClause.sortop", _p?.sortop); - _o.set(_j, "SortGroupClause.nulls_first", _p?.nulls_first); - _o.set(_j, "SortGroupClause.hashable", _p?.hashable); - return _j; - }, - groupingSet(_p?: GroupingSet["GroupingSet"]): GroupingSet { - const _j = ({ - GroupingSet: {} - } as GroupingSet); - _o.set(_j, "GroupingSet.kind", _p?.kind); - _o.set(_j, "GroupingSet.content", _p?.content); - _o.set(_j, "GroupingSet.location", _p?.location); - return _j; - }, - windowClause(_p?: WindowClause["WindowClause"]): WindowClause { - const _j = ({ - WindowClause: {} - } as WindowClause); - _o.set(_j, "WindowClause.name", _p?.name); - _o.set(_j, "WindowClause.refname", _p?.refname); - _o.set(_j, "WindowClause.partitionClause", _p?.partitionClause); - _o.set(_j, "WindowClause.orderClause", _p?.orderClause); - _o.set(_j, "WindowClause.frameOptions", _p?.frameOptions); - _o.set(_j, "WindowClause.startOffset", _p?.startOffset); - _o.set(_j, "WindowClause.endOffset", _p?.endOffset); - _o.set(_j, "WindowClause.runCondition", _p?.runCondition); - _o.set(_j, "WindowClause.startInRangeFunc", _p?.startInRangeFunc); - _o.set(_j, "WindowClause.endInRangeFunc", _p?.endInRangeFunc); - _o.set(_j, "WindowClause.inRangeColl", _p?.inRangeColl); - _o.set(_j, "WindowClause.inRangeAsc", _p?.inRangeAsc); - _o.set(_j, "WindowClause.inRangeNullsFirst", _p?.inRangeNullsFirst); - _o.set(_j, "WindowClause.winref", _p?.winref); - _o.set(_j, "WindowClause.copiedOrder", _p?.copiedOrder); - return _j; - }, - rowMarkClause(_p?: RowMarkClause["RowMarkClause"]): RowMarkClause { - const _j = ({ - RowMarkClause: {} - } as RowMarkClause); - _o.set(_j, "RowMarkClause.rti", _p?.rti); - _o.set(_j, "RowMarkClause.strength", _p?.strength); - _o.set(_j, "RowMarkClause.waitPolicy", _p?.waitPolicy); - _o.set(_j, "RowMarkClause.pushedDown", _p?.pushedDown); - return _j; - }, - withClause(_p?: WithClause["WithClause"]): WithClause { - const _j = ({ - WithClause: {} - } as WithClause); - _o.set(_j, "WithClause.ctes", _p?.ctes); - _o.set(_j, "WithClause.recursive", _p?.recursive); - _o.set(_j, "WithClause.location", _p?.location); - return _j; - }, - inferClause(_p?: InferClause["InferClause"]): InferClause { - const _j = ({ - InferClause: {} - } as InferClause); - _o.set(_j, "InferClause.indexElems", _p?.indexElems); - _o.set(_j, "InferClause.whereClause", _p?.whereClause); - _o.set(_j, "InferClause.conname", _p?.conname); - _o.set(_j, "InferClause.location", _p?.location); - return _j; - }, - onConflictClause(_p?: OnConflictClause["OnConflictClause"]): OnConflictClause { - const _j = ({ - OnConflictClause: {} - } as OnConflictClause); - _o.set(_j, "OnConflictClause.action", _p?.action); - _o.set(_j, "OnConflictClause.infer", _p?.infer); - _o.set(_j, "OnConflictClause.targetList", _p?.targetList); - _o.set(_j, "OnConflictClause.whereClause", _p?.whereClause); - _o.set(_j, "OnConflictClause.location", _p?.location); - return _j; - }, - cteSearchClause(_p?: CTESearchClause["CTESearchClause"]): CTESearchClause { - const _j = ({ - CTESearchClause: {} - } as CTESearchClause); - _o.set(_j, "CTESearchClause.search_col_list", _p?.search_col_list); - _o.set(_j, "CTESearchClause.search_breadth_first", _p?.search_breadth_first); - _o.set(_j, "CTESearchClause.search_seq_column", _p?.search_seq_column); - _o.set(_j, "CTESearchClause.location", _p?.location); - return _j; - }, - cteCycleClause(_p?: CTECycleClause["CTECycleClause"]): CTECycleClause { - const _j = ({ - CTECycleClause: {} - } as CTECycleClause); - _o.set(_j, "CTECycleClause.cycle_col_list", _p?.cycle_col_list); - _o.set(_j, "CTECycleClause.cycle_mark_column", _p?.cycle_mark_column); - _o.set(_j, "CTECycleClause.cycle_mark_value", _p?.cycle_mark_value); - _o.set(_j, "CTECycleClause.cycle_mark_default", _p?.cycle_mark_default); - _o.set(_j, "CTECycleClause.cycle_path_column", _p?.cycle_path_column); - _o.set(_j, "CTECycleClause.location", _p?.location); - _o.set(_j, "CTECycleClause.cycle_mark_type", _p?.cycle_mark_type); - _o.set(_j, "CTECycleClause.cycle_mark_typmod", _p?.cycle_mark_typmod); - _o.set(_j, "CTECycleClause.cycle_mark_collation", _p?.cycle_mark_collation); - _o.set(_j, "CTECycleClause.cycle_mark_neop", _p?.cycle_mark_neop); - return _j; - }, - commonTableExpr(_p?: CommonTableExpr["CommonTableExpr"]): CommonTableExpr { - const _j = ({ - CommonTableExpr: {} - } as CommonTableExpr); - _o.set(_j, "CommonTableExpr.ctename", _p?.ctename); - _o.set(_j, "CommonTableExpr.aliascolnames", _p?.aliascolnames); - _o.set(_j, "CommonTableExpr.ctematerialized", _p?.ctematerialized); - _o.set(_j, "CommonTableExpr.ctequery", _p?.ctequery); - _o.set(_j, "CommonTableExpr.search_clause", _p?.search_clause); - _o.set(_j, "CommonTableExpr.cycle_clause", _p?.cycle_clause); - _o.set(_j, "CommonTableExpr.location", _p?.location); - _o.set(_j, "CommonTableExpr.cterecursive", _p?.cterecursive); - _o.set(_j, "CommonTableExpr.cterefcount", _p?.cterefcount); - _o.set(_j, "CommonTableExpr.ctecolnames", _p?.ctecolnames); - _o.set(_j, "CommonTableExpr.ctecoltypes", _p?.ctecoltypes); - _o.set(_j, "CommonTableExpr.ctecoltypmods", _p?.ctecoltypmods); - _o.set(_j, "CommonTableExpr.ctecolcollations", _p?.ctecolcollations); - return _j; - }, - mergeWhenClause(_p?: MergeWhenClause["MergeWhenClause"]): MergeWhenClause { - const _j = ({ - MergeWhenClause: {} - } as MergeWhenClause); - _o.set(_j, "MergeWhenClause.matched", _p?.matched); - _o.set(_j, "MergeWhenClause.commandType", _p?.commandType); - _o.set(_j, "MergeWhenClause.override", _p?.override); - _o.set(_j, "MergeWhenClause.condition", _p?.condition); - _o.set(_j, "MergeWhenClause.targetList", _p?.targetList); - _o.set(_j, "MergeWhenClause.values", _p?.values); - return _j; - }, - mergeAction(_p?: MergeAction["MergeAction"]): MergeAction { - const _j = ({ - MergeAction: {} - } as MergeAction); - _o.set(_j, "MergeAction.matched", _p?.matched); - _o.set(_j, "MergeAction.commandType", _p?.commandType); - _o.set(_j, "MergeAction.override", _p?.override); - _o.set(_j, "MergeAction.qual", _p?.qual); - _o.set(_j, "MergeAction.targetList", _p?.targetList); - _o.set(_j, "MergeAction.updateColnos", _p?.updateColnos); - return _j; - }, - triggerTransition(_p?: TriggerTransition["TriggerTransition"]): TriggerTransition { - const _j = ({ - TriggerTransition: {} - } as TriggerTransition); - _o.set(_j, "TriggerTransition.name", _p?.name); - _o.set(_j, "TriggerTransition.isNew", _p?.isNew); - _o.set(_j, "TriggerTransition.isTable", _p?.isTable); - return _j; - }, - jsonOutput(_p?: JsonOutput["JsonOutput"]): JsonOutput { - const _j = ({ - JsonOutput: {} - } as JsonOutput); - _o.set(_j, "JsonOutput.typeName", _p?.typeName); - _o.set(_j, "JsonOutput.returning", _p?.returning); - return _j; - }, - jsonKeyValue(_p?: JsonKeyValue["JsonKeyValue"]): JsonKeyValue { - const _j = ({ - JsonKeyValue: {} - } as JsonKeyValue); - _o.set(_j, "JsonKeyValue.key", _p?.key); - _o.set(_j, "JsonKeyValue.value", _p?.value); - return _j; - }, - jsonObjectConstructor(_p?: JsonObjectConstructor["JsonObjectConstructor"]): JsonObjectConstructor { - const _j = ({ - JsonObjectConstructor: {} - } as JsonObjectConstructor); - _o.set(_j, "JsonObjectConstructor.exprs", _p?.exprs); - _o.set(_j, "JsonObjectConstructor.output", _p?.output); - _o.set(_j, "JsonObjectConstructor.absent_on_null", _p?.absent_on_null); - _o.set(_j, "JsonObjectConstructor.unique", _p?.unique); - _o.set(_j, "JsonObjectConstructor.location", _p?.location); - return _j; - }, - jsonArrayConstructor(_p?: JsonArrayConstructor["JsonArrayConstructor"]): JsonArrayConstructor { - const _j = ({ - JsonArrayConstructor: {} - } as JsonArrayConstructor); - _o.set(_j, "JsonArrayConstructor.exprs", _p?.exprs); - _o.set(_j, "JsonArrayConstructor.output", _p?.output); - _o.set(_j, "JsonArrayConstructor.absent_on_null", _p?.absent_on_null); - _o.set(_j, "JsonArrayConstructor.location", _p?.location); - return _j; - }, - jsonArrayQueryConstructor(_p?: JsonArrayQueryConstructor["JsonArrayQueryConstructor"]): JsonArrayQueryConstructor { - const _j = ({ - JsonArrayQueryConstructor: {} - } as JsonArrayQueryConstructor); - _o.set(_j, "JsonArrayQueryConstructor.query", _p?.query); - _o.set(_j, "JsonArrayQueryConstructor.output", _p?.output); - _o.set(_j, "JsonArrayQueryConstructor.format", _p?.format); - _o.set(_j, "JsonArrayQueryConstructor.absent_on_null", _p?.absent_on_null); - _o.set(_j, "JsonArrayQueryConstructor.location", _p?.location); - return _j; - }, - jsonAggConstructor(_p?: JsonAggConstructor["JsonAggConstructor"]): JsonAggConstructor { - const _j = ({ - JsonAggConstructor: {} - } as JsonAggConstructor); - _o.set(_j, "JsonAggConstructor.output", _p?.output); - _o.set(_j, "JsonAggConstructor.agg_filter", _p?.agg_filter); - _o.set(_j, "JsonAggConstructor.agg_order", _p?.agg_order); - _o.set(_j, "JsonAggConstructor.over", _p?.over); - _o.set(_j, "JsonAggConstructor.location", _p?.location); - return _j; - }, - jsonObjectAgg(_p?: JsonObjectAgg["JsonObjectAgg"]): JsonObjectAgg { - const _j = ({ - JsonObjectAgg: {} - } as JsonObjectAgg); - _o.set(_j, "JsonObjectAgg.constructor", _p?.constructor); - _o.set(_j, "JsonObjectAgg.arg", _p?.arg); - _o.set(_j, "JsonObjectAgg.absent_on_null", _p?.absent_on_null); - _o.set(_j, "JsonObjectAgg.unique", _p?.unique); - return _j; - }, - jsonArrayAgg(_p?: JsonArrayAgg["JsonArrayAgg"]): JsonArrayAgg { - const _j = ({ - JsonArrayAgg: {} - } as JsonArrayAgg); - _o.set(_j, "JsonArrayAgg.constructor", _p?.constructor); - _o.set(_j, "JsonArrayAgg.arg", _p?.arg); - _o.set(_j, "JsonArrayAgg.absent_on_null", _p?.absent_on_null); - return _j; - }, - rawStmt(_p?: RawStmt["RawStmt"]): RawStmt { - const _j = ({ - RawStmt: {} - } as RawStmt); - _o.set(_j, "RawStmt.stmt", _p?.stmt); - _o.set(_j, "RawStmt.stmt_location", _p?.stmt_location); - _o.set(_j, "RawStmt.stmt_len", _p?.stmt_len); - return _j; - }, - insertStmt(_p?: InsertStmt["InsertStmt"]): InsertStmt { - const _j = ({ - InsertStmt: {} - } as InsertStmt); - _o.set(_j, "InsertStmt.relation", _p?.relation); - _o.set(_j, "InsertStmt.cols", _p?.cols); - _o.set(_j, "InsertStmt.selectStmt", _p?.selectStmt); - _o.set(_j, "InsertStmt.onConflictClause", _p?.onConflictClause); - _o.set(_j, "InsertStmt.returningList", _p?.returningList); - _o.set(_j, "InsertStmt.withClause", _p?.withClause); - _o.set(_j, "InsertStmt.override", _p?.override); - return _j; - }, - deleteStmt(_p?: DeleteStmt["DeleteStmt"]): DeleteStmt { - const _j = ({ - DeleteStmt: {} - } as DeleteStmt); - _o.set(_j, "DeleteStmt.relation", _p?.relation); - _o.set(_j, "DeleteStmt.usingClause", _p?.usingClause); - _o.set(_j, "DeleteStmt.whereClause", _p?.whereClause); - _o.set(_j, "DeleteStmt.returningList", _p?.returningList); - _o.set(_j, "DeleteStmt.withClause", _p?.withClause); - return _j; - }, - updateStmt(_p?: UpdateStmt["UpdateStmt"]): UpdateStmt { - const _j = ({ - UpdateStmt: {} - } as UpdateStmt); - _o.set(_j, "UpdateStmt.relation", _p?.relation); - _o.set(_j, "UpdateStmt.targetList", _p?.targetList); - _o.set(_j, "UpdateStmt.whereClause", _p?.whereClause); - _o.set(_j, "UpdateStmt.fromClause", _p?.fromClause); - _o.set(_j, "UpdateStmt.returningList", _p?.returningList); - _o.set(_j, "UpdateStmt.withClause", _p?.withClause); - return _j; - }, - mergeStmt(_p?: MergeStmt["MergeStmt"]): MergeStmt { - const _j = ({ - MergeStmt: {} - } as MergeStmt); - _o.set(_j, "MergeStmt.relation", _p?.relation); - _o.set(_j, "MergeStmt.sourceRelation", _p?.sourceRelation); - _o.set(_j, "MergeStmt.joinCondition", _p?.joinCondition); - _o.set(_j, "MergeStmt.mergeWhenClauses", _p?.mergeWhenClauses); - _o.set(_j, "MergeStmt.withClause", _p?.withClause); - return _j; - }, - selectStmt(_p?: SelectStmt["SelectStmt"]): SelectStmt { - const _j = ({ - SelectStmt: {} - } as SelectStmt); - _o.set(_j, "SelectStmt.distinctClause", _p?.distinctClause); - _o.set(_j, "SelectStmt.intoClause", _p?.intoClause); - _o.set(_j, "SelectStmt.targetList", _p?.targetList); - _o.set(_j, "SelectStmt.fromClause", _p?.fromClause); - _o.set(_j, "SelectStmt.whereClause", _p?.whereClause); - _o.set(_j, "SelectStmt.groupClause", _p?.groupClause); - _o.set(_j, "SelectStmt.groupDistinct", _p?.groupDistinct); - _o.set(_j, "SelectStmt.havingClause", _p?.havingClause); - _o.set(_j, "SelectStmt.windowClause", _p?.windowClause); - _o.set(_j, "SelectStmt.valuesLists", _p?.valuesLists); - _o.set(_j, "SelectStmt.sortClause", _p?.sortClause); - _o.set(_j, "SelectStmt.limitOffset", _p?.limitOffset); - _o.set(_j, "SelectStmt.limitCount", _p?.limitCount); - _o.set(_j, "SelectStmt.limitOption", _p?.limitOption); - _o.set(_j, "SelectStmt.lockingClause", _p?.lockingClause); - _o.set(_j, "SelectStmt.withClause", _p?.withClause); - _o.set(_j, "SelectStmt.op", _p?.op); - _o.set(_j, "SelectStmt.all", _p?.all); - _o.set(_j, "SelectStmt.larg", _p?.larg); - _o.set(_j, "SelectStmt.rarg", _p?.rarg); - return _j; - }, - setOperationStmt(_p?: SetOperationStmt["SetOperationStmt"]): SetOperationStmt { - const _j = ({ - SetOperationStmt: {} - } as SetOperationStmt); - _o.set(_j, "SetOperationStmt.op", _p?.op); - _o.set(_j, "SetOperationStmt.all", _p?.all); - _o.set(_j, "SetOperationStmt.larg", _p?.larg); - _o.set(_j, "SetOperationStmt.rarg", _p?.rarg); - _o.set(_j, "SetOperationStmt.colTypes", _p?.colTypes); - _o.set(_j, "SetOperationStmt.colTypmods", _p?.colTypmods); - _o.set(_j, "SetOperationStmt.colCollations", _p?.colCollations); - _o.set(_j, "SetOperationStmt.groupClauses", _p?.groupClauses); - return _j; - }, - returnStmt(_p?: ReturnStmt["ReturnStmt"]): ReturnStmt { - const _j = ({ - ReturnStmt: {} - } as ReturnStmt); - _o.set(_j, "ReturnStmt.returnval", _p?.returnval); - return _j; - }, - plAssignStmt(_p?: PLAssignStmt["PLAssignStmt"]): PLAssignStmt { - const _j = ({ - PLAssignStmt: {} - } as PLAssignStmt); - _o.set(_j, "PLAssignStmt.name", _p?.name); - _o.set(_j, "PLAssignStmt.indirection", _p?.indirection); - _o.set(_j, "PLAssignStmt.nnames", _p?.nnames); - _o.set(_j, "PLAssignStmt.val", _p?.val); - _o.set(_j, "PLAssignStmt.location", _p?.location); - return _j; - }, - createSchemaStmt(_p?: CreateSchemaStmt["CreateSchemaStmt"]): CreateSchemaStmt { - const _j = ({ - CreateSchemaStmt: {} - } as CreateSchemaStmt); - _o.set(_j, "CreateSchemaStmt.schemaname", _p?.schemaname); - _o.set(_j, "CreateSchemaStmt.authrole", _p?.authrole); - _o.set(_j, "CreateSchemaStmt.schemaElts", _p?.schemaElts); - _o.set(_j, "CreateSchemaStmt.if_not_exists", _p?.if_not_exists); - return _j; - }, - alterTableStmt(_p?: AlterTableStmt["AlterTableStmt"]): AlterTableStmt { - const _j = ({ - AlterTableStmt: {} - } as AlterTableStmt); - _o.set(_j, "AlterTableStmt.relation", _p?.relation); - _o.set(_j, "AlterTableStmt.cmds", _p?.cmds); - _o.set(_j, "AlterTableStmt.objtype", _p?.objtype); - _o.set(_j, "AlterTableStmt.missing_ok", _p?.missing_ok); - return _j; - }, - replicaIdentityStmt(_p?: ReplicaIdentityStmt["ReplicaIdentityStmt"]): ReplicaIdentityStmt { - const _j = ({ - ReplicaIdentityStmt: {} - } as ReplicaIdentityStmt); - _o.set(_j, "ReplicaIdentityStmt.identity_type", _p?.identity_type); - _o.set(_j, "ReplicaIdentityStmt.name", _p?.name); - return _j; - }, - alterTableCmd(_p?: AlterTableCmd["AlterTableCmd"]): AlterTableCmd { - const _j = ({ - AlterTableCmd: {} - } as AlterTableCmd); - _o.set(_j, "AlterTableCmd.subtype", _p?.subtype); - _o.set(_j, "AlterTableCmd.name", _p?.name); - _o.set(_j, "AlterTableCmd.num", _p?.num); - _o.set(_j, "AlterTableCmd.newowner", _p?.newowner); - _o.set(_j, "AlterTableCmd.def", _p?.def); - _o.set(_j, "AlterTableCmd.behavior", _p?.behavior); - _o.set(_j, "AlterTableCmd.missing_ok", _p?.missing_ok); - _o.set(_j, "AlterTableCmd.recurse", _p?.recurse); - return _j; - }, - alterCollationStmt(_p?: AlterCollationStmt["AlterCollationStmt"]): AlterCollationStmt { - const _j = ({ - AlterCollationStmt: {} - } as AlterCollationStmt); - _o.set(_j, "AlterCollationStmt.collname", _p?.collname); - return _j; - }, - alterDomainStmt(_p?: AlterDomainStmt["AlterDomainStmt"]): AlterDomainStmt { - const _j = ({ - AlterDomainStmt: {} - } as AlterDomainStmt); - _o.set(_j, "AlterDomainStmt.subtype", _p?.subtype); - _o.set(_j, "AlterDomainStmt.typeName", _p?.typeName); - _o.set(_j, "AlterDomainStmt.name", _p?.name); - _o.set(_j, "AlterDomainStmt.def", _p?.def); - _o.set(_j, "AlterDomainStmt.behavior", _p?.behavior); - _o.set(_j, "AlterDomainStmt.missing_ok", _p?.missing_ok); - return _j; - }, - grantStmt(_p?: GrantStmt["GrantStmt"]): GrantStmt { - const _j = ({ - GrantStmt: {} - } as GrantStmt); - _o.set(_j, "GrantStmt.is_grant", _p?.is_grant); - _o.set(_j, "GrantStmt.targtype", _p?.targtype); - _o.set(_j, "GrantStmt.objtype", _p?.objtype); - _o.set(_j, "GrantStmt.objects", _p?.objects); - _o.set(_j, "GrantStmt.privileges", _p?.privileges); - _o.set(_j, "GrantStmt.grantees", _p?.grantees); - _o.set(_j, "GrantStmt.grant_option", _p?.grant_option); - _o.set(_j, "GrantStmt.grantor", _p?.grantor); - _o.set(_j, "GrantStmt.behavior", _p?.behavior); - return _j; - }, - objectWithArgs(_p?: ObjectWithArgs["ObjectWithArgs"]): ObjectWithArgs { - const _j = ({ - ObjectWithArgs: {} - } as ObjectWithArgs); - _o.set(_j, "ObjectWithArgs.objname", _p?.objname); - _o.set(_j, "ObjectWithArgs.objargs", _p?.objargs); - _o.set(_j, "ObjectWithArgs.objfuncargs", _p?.objfuncargs); - _o.set(_j, "ObjectWithArgs.args_unspecified", _p?.args_unspecified); - return _j; - }, - accessPriv(_p?: AccessPriv["AccessPriv"]): AccessPriv { - const _j = ({ - AccessPriv: {} - } as AccessPriv); - _o.set(_j, "AccessPriv.priv_name", _p?.priv_name); - _o.set(_j, "AccessPriv.cols", _p?.cols); - return _j; - }, - grantRoleStmt(_p?: GrantRoleStmt["GrantRoleStmt"]): GrantRoleStmt { - const _j = ({ - GrantRoleStmt: {} - } as GrantRoleStmt); - _o.set(_j, "GrantRoleStmt.granted_roles", _p?.granted_roles); - _o.set(_j, "GrantRoleStmt.grantee_roles", _p?.grantee_roles); - _o.set(_j, "GrantRoleStmt.is_grant", _p?.is_grant); - _o.set(_j, "GrantRoleStmt.opt", _p?.opt); - _o.set(_j, "GrantRoleStmt.grantor", _p?.grantor); - _o.set(_j, "GrantRoleStmt.behavior", _p?.behavior); - return _j; - }, - alterDefaultPrivilegesStmt(_p?: AlterDefaultPrivilegesStmt["AlterDefaultPrivilegesStmt"]): AlterDefaultPrivilegesStmt { - const _j = ({ - AlterDefaultPrivilegesStmt: {} - } as AlterDefaultPrivilegesStmt); - _o.set(_j, "AlterDefaultPrivilegesStmt.options", _p?.options); - _o.set(_j, "AlterDefaultPrivilegesStmt.action", _p?.action); - return _j; - }, - copyStmt(_p?: CopyStmt["CopyStmt"]): CopyStmt { - const _j = ({ - CopyStmt: {} - } as CopyStmt); - _o.set(_j, "CopyStmt.relation", _p?.relation); - _o.set(_j, "CopyStmt.query", _p?.query); - _o.set(_j, "CopyStmt.attlist", _p?.attlist); - _o.set(_j, "CopyStmt.is_from", _p?.is_from); - _o.set(_j, "CopyStmt.is_program", _p?.is_program); - _o.set(_j, "CopyStmt.filename", _p?.filename); - _o.set(_j, "CopyStmt.options", _p?.options); - _o.set(_j, "CopyStmt.whereClause", _p?.whereClause); - return _j; - }, - variableSetStmt(_p?: VariableSetStmt["VariableSetStmt"]): VariableSetStmt { - const _j = ({ - VariableSetStmt: {} - } as VariableSetStmt); - _o.set(_j, "VariableSetStmt.kind", _p?.kind); - _o.set(_j, "VariableSetStmt.name", _p?.name); - _o.set(_j, "VariableSetStmt.args", _p?.args); - _o.set(_j, "VariableSetStmt.is_local", _p?.is_local); - return _j; - }, - variableShowStmt(_p?: VariableShowStmt["VariableShowStmt"]): VariableShowStmt { - const _j = ({ - VariableShowStmt: {} - } as VariableShowStmt); - _o.set(_j, "VariableShowStmt.name", _p?.name); - return _j; - }, - createStmt(_p?: CreateStmt["CreateStmt"]): CreateStmt { - const _j = ({ - CreateStmt: {} - } as CreateStmt); - _o.set(_j, "CreateStmt.relation", _p?.relation); - _o.set(_j, "CreateStmt.tableElts", _p?.tableElts); - _o.set(_j, "CreateStmt.inhRelations", _p?.inhRelations); - _o.set(_j, "CreateStmt.partbound", _p?.partbound); - _o.set(_j, "CreateStmt.partspec", _p?.partspec); - _o.set(_j, "CreateStmt.ofTypename", _p?.ofTypename); - _o.set(_j, "CreateStmt.constraints", _p?.constraints); - _o.set(_j, "CreateStmt.options", _p?.options); - _o.set(_j, "CreateStmt.oncommit", _p?.oncommit); - _o.set(_j, "CreateStmt.tablespacename", _p?.tablespacename); - _o.set(_j, "CreateStmt.accessMethod", _p?.accessMethod); - _o.set(_j, "CreateStmt.if_not_exists", _p?.if_not_exists); - return _j; - }, - constraint(_p?: Constraint["Constraint"]): Constraint { - const _j = ({ - Constraint: {} - } as Constraint); - _o.set(_j, "Constraint.contype", _p?.contype); - _o.set(_j, "Constraint.conname", _p?.conname); - _o.set(_j, "Constraint.deferrable", _p?.deferrable); - _o.set(_j, "Constraint.initdeferred", _p?.initdeferred); - _o.set(_j, "Constraint.location", _p?.location); - _o.set(_j, "Constraint.is_no_inherit", _p?.is_no_inherit); - _o.set(_j, "Constraint.raw_expr", _p?.raw_expr); - _o.set(_j, "Constraint.cooked_expr", _p?.cooked_expr); - _o.set(_j, "Constraint.generated_when", _p?.generated_when); - _o.set(_j, "Constraint.nulls_not_distinct", _p?.nulls_not_distinct); - _o.set(_j, "Constraint.keys", _p?.keys); - _o.set(_j, "Constraint.including", _p?.including); - _o.set(_j, "Constraint.exclusions", _p?.exclusions); - _o.set(_j, "Constraint.options", _p?.options); - _o.set(_j, "Constraint.indexname", _p?.indexname); - _o.set(_j, "Constraint.indexspace", _p?.indexspace); - _o.set(_j, "Constraint.reset_default_tblspc", _p?.reset_default_tblspc); - _o.set(_j, "Constraint.access_method", _p?.access_method); - _o.set(_j, "Constraint.where_clause", _p?.where_clause); - _o.set(_j, "Constraint.pktable", _p?.pktable); - _o.set(_j, "Constraint.fk_attrs", _p?.fk_attrs); - _o.set(_j, "Constraint.pk_attrs", _p?.pk_attrs); - _o.set(_j, "Constraint.fk_matchtype", _p?.fk_matchtype); - _o.set(_j, "Constraint.fk_upd_action", _p?.fk_upd_action); - _o.set(_j, "Constraint.fk_del_action", _p?.fk_del_action); - _o.set(_j, "Constraint.fk_del_set_cols", _p?.fk_del_set_cols); - _o.set(_j, "Constraint.old_conpfeqop", _p?.old_conpfeqop); - _o.set(_j, "Constraint.old_pktable_oid", _p?.old_pktable_oid); - _o.set(_j, "Constraint.skip_validation", _p?.skip_validation); - _o.set(_j, "Constraint.initially_valid", _p?.initially_valid); - return _j; - }, - createTableSpaceStmt(_p?: CreateTableSpaceStmt["CreateTableSpaceStmt"]): CreateTableSpaceStmt { - const _j = ({ - CreateTableSpaceStmt: {} - } as CreateTableSpaceStmt); - _o.set(_j, "CreateTableSpaceStmt.tablespacename", _p?.tablespacename); - _o.set(_j, "CreateTableSpaceStmt.owner", _p?.owner); - _o.set(_j, "CreateTableSpaceStmt.location", _p?.location); - _o.set(_j, "CreateTableSpaceStmt.options", _p?.options); - return _j; - }, - dropTableSpaceStmt(_p?: DropTableSpaceStmt["DropTableSpaceStmt"]): DropTableSpaceStmt { - const _j = ({ - DropTableSpaceStmt: {} - } as DropTableSpaceStmt); - _o.set(_j, "DropTableSpaceStmt.tablespacename", _p?.tablespacename); - _o.set(_j, "DropTableSpaceStmt.missing_ok", _p?.missing_ok); - return _j; - }, - alterTableSpaceOptionsStmt(_p?: AlterTableSpaceOptionsStmt["AlterTableSpaceOptionsStmt"]): AlterTableSpaceOptionsStmt { - const _j = ({ - AlterTableSpaceOptionsStmt: {} - } as AlterTableSpaceOptionsStmt); - _o.set(_j, "AlterTableSpaceOptionsStmt.tablespacename", _p?.tablespacename); - _o.set(_j, "AlterTableSpaceOptionsStmt.options", _p?.options); - _o.set(_j, "AlterTableSpaceOptionsStmt.isReset", _p?.isReset); - return _j; - }, - alterTableMoveAllStmt(_p?: AlterTableMoveAllStmt["AlterTableMoveAllStmt"]): AlterTableMoveAllStmt { - const _j = ({ - AlterTableMoveAllStmt: {} - } as AlterTableMoveAllStmt); - _o.set(_j, "AlterTableMoveAllStmt.orig_tablespacename", _p?.orig_tablespacename); - _o.set(_j, "AlterTableMoveAllStmt.objtype", _p?.objtype); - _o.set(_j, "AlterTableMoveAllStmt.roles", _p?.roles); - _o.set(_j, "AlterTableMoveAllStmt.new_tablespacename", _p?.new_tablespacename); - _o.set(_j, "AlterTableMoveAllStmt.nowait", _p?.nowait); - return _j; - }, - createExtensionStmt(_p?: CreateExtensionStmt["CreateExtensionStmt"]): CreateExtensionStmt { - const _j = ({ - CreateExtensionStmt: {} - } as CreateExtensionStmt); - _o.set(_j, "CreateExtensionStmt.extname", _p?.extname); - _o.set(_j, "CreateExtensionStmt.if_not_exists", _p?.if_not_exists); - _o.set(_j, "CreateExtensionStmt.options", _p?.options); - return _j; - }, - alterExtensionStmt(_p?: AlterExtensionStmt["AlterExtensionStmt"]): AlterExtensionStmt { - const _j = ({ - AlterExtensionStmt: {} - } as AlterExtensionStmt); - _o.set(_j, "AlterExtensionStmt.extname", _p?.extname); - _o.set(_j, "AlterExtensionStmt.options", _p?.options); - return _j; - }, - alterExtensionContentsStmt(_p?: AlterExtensionContentsStmt["AlterExtensionContentsStmt"]): AlterExtensionContentsStmt { - const _j = ({ - AlterExtensionContentsStmt: {} - } as AlterExtensionContentsStmt); - _o.set(_j, "AlterExtensionContentsStmt.extname", _p?.extname); - _o.set(_j, "AlterExtensionContentsStmt.action", _p?.action); - _o.set(_j, "AlterExtensionContentsStmt.objtype", _p?.objtype); - _o.set(_j, "AlterExtensionContentsStmt.object", _p?.object); - return _j; - }, - createFdwStmt(_p?: CreateFdwStmt["CreateFdwStmt"]): CreateFdwStmt { - const _j = ({ - CreateFdwStmt: {} - } as CreateFdwStmt); - _o.set(_j, "CreateFdwStmt.fdwname", _p?.fdwname); - _o.set(_j, "CreateFdwStmt.func_options", _p?.func_options); - _o.set(_j, "CreateFdwStmt.options", _p?.options); - return _j; - }, - alterFdwStmt(_p?: AlterFdwStmt["AlterFdwStmt"]): AlterFdwStmt { - const _j = ({ - AlterFdwStmt: {} - } as AlterFdwStmt); - _o.set(_j, "AlterFdwStmt.fdwname", _p?.fdwname); - _o.set(_j, "AlterFdwStmt.func_options", _p?.func_options); - _o.set(_j, "AlterFdwStmt.options", _p?.options); - return _j; - }, - createForeignServerStmt(_p?: CreateForeignServerStmt["CreateForeignServerStmt"]): CreateForeignServerStmt { - const _j = ({ - CreateForeignServerStmt: {} - } as CreateForeignServerStmt); - _o.set(_j, "CreateForeignServerStmt.servername", _p?.servername); - _o.set(_j, "CreateForeignServerStmt.servertype", _p?.servertype); - _o.set(_j, "CreateForeignServerStmt.version", _p?.version); - _o.set(_j, "CreateForeignServerStmt.fdwname", _p?.fdwname); - _o.set(_j, "CreateForeignServerStmt.if_not_exists", _p?.if_not_exists); - _o.set(_j, "CreateForeignServerStmt.options", _p?.options); - return _j; - }, - alterForeignServerStmt(_p?: AlterForeignServerStmt["AlterForeignServerStmt"]): AlterForeignServerStmt { - const _j = ({ - AlterForeignServerStmt: {} - } as AlterForeignServerStmt); - _o.set(_j, "AlterForeignServerStmt.servername", _p?.servername); - _o.set(_j, "AlterForeignServerStmt.version", _p?.version); - _o.set(_j, "AlterForeignServerStmt.options", _p?.options); - _o.set(_j, "AlterForeignServerStmt.has_version", _p?.has_version); - return _j; - }, - createForeignTableStmt(_p?: CreateForeignTableStmt["CreateForeignTableStmt"]): CreateForeignTableStmt { - const _j = ({ - CreateForeignTableStmt: {} - } as CreateForeignTableStmt); - _o.set(_j, "CreateForeignTableStmt.base", _p?.base); - _o.set(_j, "CreateForeignTableStmt.servername", _p?.servername); - _o.set(_j, "CreateForeignTableStmt.options", _p?.options); - return _j; - }, - createUserMappingStmt(_p?: CreateUserMappingStmt["CreateUserMappingStmt"]): CreateUserMappingStmt { - const _j = ({ - CreateUserMappingStmt: {} - } as CreateUserMappingStmt); - _o.set(_j, "CreateUserMappingStmt.user", _p?.user); - _o.set(_j, "CreateUserMappingStmt.servername", _p?.servername); - _o.set(_j, "CreateUserMappingStmt.if_not_exists", _p?.if_not_exists); - _o.set(_j, "CreateUserMappingStmt.options", _p?.options); - return _j; - }, - alterUserMappingStmt(_p?: AlterUserMappingStmt["AlterUserMappingStmt"]): AlterUserMappingStmt { - const _j = ({ - AlterUserMappingStmt: {} - } as AlterUserMappingStmt); - _o.set(_j, "AlterUserMappingStmt.user", _p?.user); - _o.set(_j, "AlterUserMappingStmt.servername", _p?.servername); - _o.set(_j, "AlterUserMappingStmt.options", _p?.options); - return _j; - }, - dropUserMappingStmt(_p?: DropUserMappingStmt["DropUserMappingStmt"]): DropUserMappingStmt { - const _j = ({ - DropUserMappingStmt: {} - } as DropUserMappingStmt); - _o.set(_j, "DropUserMappingStmt.user", _p?.user); - _o.set(_j, "DropUserMappingStmt.servername", _p?.servername); - _o.set(_j, "DropUserMappingStmt.missing_ok", _p?.missing_ok); - return _j; - }, - importForeignSchemaStmt(_p?: ImportForeignSchemaStmt["ImportForeignSchemaStmt"]): ImportForeignSchemaStmt { - const _j = ({ - ImportForeignSchemaStmt: {} - } as ImportForeignSchemaStmt); - _o.set(_j, "ImportForeignSchemaStmt.server_name", _p?.server_name); - _o.set(_j, "ImportForeignSchemaStmt.remote_schema", _p?.remote_schema); - _o.set(_j, "ImportForeignSchemaStmt.local_schema", _p?.local_schema); - _o.set(_j, "ImportForeignSchemaStmt.list_type", _p?.list_type); - _o.set(_j, "ImportForeignSchemaStmt.table_list", _p?.table_list); - _o.set(_j, "ImportForeignSchemaStmt.options", _p?.options); - return _j; - }, - createPolicyStmt(_p?: CreatePolicyStmt["CreatePolicyStmt"]): CreatePolicyStmt { - const _j = ({ - CreatePolicyStmt: {} - } as CreatePolicyStmt); - _o.set(_j, "CreatePolicyStmt.policy_name", _p?.policy_name); - _o.set(_j, "CreatePolicyStmt.table", _p?.table); - _o.set(_j, "CreatePolicyStmt.cmd_name", _p?.cmd_name); - _o.set(_j, "CreatePolicyStmt.permissive", _p?.permissive); - _o.set(_j, "CreatePolicyStmt.roles", _p?.roles); - _o.set(_j, "CreatePolicyStmt.qual", _p?.qual); - _o.set(_j, "CreatePolicyStmt.with_check", _p?.with_check); - return _j; - }, - alterPolicyStmt(_p?: AlterPolicyStmt["AlterPolicyStmt"]): AlterPolicyStmt { - const _j = ({ - AlterPolicyStmt: {} - } as AlterPolicyStmt); - _o.set(_j, "AlterPolicyStmt.policy_name", _p?.policy_name); - _o.set(_j, "AlterPolicyStmt.table", _p?.table); - _o.set(_j, "AlterPolicyStmt.roles", _p?.roles); - _o.set(_j, "AlterPolicyStmt.qual", _p?.qual); - _o.set(_j, "AlterPolicyStmt.with_check", _p?.with_check); - return _j; - }, - createAmStmt(_p?: CreateAmStmt["CreateAmStmt"]): CreateAmStmt { - const _j = ({ - CreateAmStmt: {} - } as CreateAmStmt); - _o.set(_j, "CreateAmStmt.amname", _p?.amname); - _o.set(_j, "CreateAmStmt.handler_name", _p?.handler_name); - _o.set(_j, "CreateAmStmt.amtype", _p?.amtype); - return _j; - }, - createTrigStmt(_p?: CreateTrigStmt["CreateTrigStmt"]): CreateTrigStmt { - const _j = ({ - CreateTrigStmt: {} - } as CreateTrigStmt); - _o.set(_j, "CreateTrigStmt.replace", _p?.replace); - _o.set(_j, "CreateTrigStmt.isconstraint", _p?.isconstraint); - _o.set(_j, "CreateTrigStmt.trigname", _p?.trigname); - _o.set(_j, "CreateTrigStmt.relation", _p?.relation); - _o.set(_j, "CreateTrigStmt.funcname", _p?.funcname); - _o.set(_j, "CreateTrigStmt.args", _p?.args); - _o.set(_j, "CreateTrigStmt.row", _p?.row); - _o.set(_j, "CreateTrigStmt.timing", _p?.timing); - _o.set(_j, "CreateTrigStmt.events", _p?.events); - _o.set(_j, "CreateTrigStmt.columns", _p?.columns); - _o.set(_j, "CreateTrigStmt.whenClause", _p?.whenClause); - _o.set(_j, "CreateTrigStmt.transitionRels", _p?.transitionRels); - _o.set(_j, "CreateTrigStmt.deferrable", _p?.deferrable); - _o.set(_j, "CreateTrigStmt.initdeferred", _p?.initdeferred); - _o.set(_j, "CreateTrigStmt.constrrel", _p?.constrrel); - return _j; - }, - createEventTrigStmt(_p?: CreateEventTrigStmt["CreateEventTrigStmt"]): CreateEventTrigStmt { - const _j = ({ - CreateEventTrigStmt: {} - } as CreateEventTrigStmt); - _o.set(_j, "CreateEventTrigStmt.trigname", _p?.trigname); - _o.set(_j, "CreateEventTrigStmt.eventname", _p?.eventname); - _o.set(_j, "CreateEventTrigStmt.whenclause", _p?.whenclause); - _o.set(_j, "CreateEventTrigStmt.funcname", _p?.funcname); - return _j; - }, - alterEventTrigStmt(_p?: AlterEventTrigStmt["AlterEventTrigStmt"]): AlterEventTrigStmt { - const _j = ({ - AlterEventTrigStmt: {} - } as AlterEventTrigStmt); - _o.set(_j, "AlterEventTrigStmt.trigname", _p?.trigname); - _o.set(_j, "AlterEventTrigStmt.tgenabled", _p?.tgenabled); - return _j; - }, - createpLangStmt(_p?: CreatePLangStmt["CreatePLangStmt"]): CreatePLangStmt { - const _j = ({ - CreatePLangStmt: {} - } as CreatePLangStmt); - _o.set(_j, "CreatePLangStmt.replace", _p?.replace); - _o.set(_j, "CreatePLangStmt.plname", _p?.plname); - _o.set(_j, "CreatePLangStmt.plhandler", _p?.plhandler); - _o.set(_j, "CreatePLangStmt.plinline", _p?.plinline); - _o.set(_j, "CreatePLangStmt.plvalidator", _p?.plvalidator); - _o.set(_j, "CreatePLangStmt.pltrusted", _p?.pltrusted); - return _j; - }, - createRoleStmt(_p?: CreateRoleStmt["CreateRoleStmt"]): CreateRoleStmt { - const _j = ({ - CreateRoleStmt: {} - } as CreateRoleStmt); - _o.set(_j, "CreateRoleStmt.stmt_type", _p?.stmt_type); - _o.set(_j, "CreateRoleStmt.role", _p?.role); - _o.set(_j, "CreateRoleStmt.options", _p?.options); - return _j; - }, - alterRoleStmt(_p?: AlterRoleStmt["AlterRoleStmt"]): AlterRoleStmt { - const _j = ({ - AlterRoleStmt: {} - } as AlterRoleStmt); - _o.set(_j, "AlterRoleStmt.role", _p?.role); - _o.set(_j, "AlterRoleStmt.options", _p?.options); - _o.set(_j, "AlterRoleStmt.action", _p?.action); - return _j; - }, - alterRoleSetStmt(_p?: AlterRoleSetStmt["AlterRoleSetStmt"]): AlterRoleSetStmt { - const _j = ({ - AlterRoleSetStmt: {} - } as AlterRoleSetStmt); - _o.set(_j, "AlterRoleSetStmt.role", _p?.role); - _o.set(_j, "AlterRoleSetStmt.database", _p?.database); - _o.set(_j, "AlterRoleSetStmt.setstmt", _p?.setstmt); - return _j; - }, - dropRoleStmt(_p?: DropRoleStmt["DropRoleStmt"]): DropRoleStmt { - const _j = ({ - DropRoleStmt: {} - } as DropRoleStmt); - _o.set(_j, "DropRoleStmt.roles", _p?.roles); - _o.set(_j, "DropRoleStmt.missing_ok", _p?.missing_ok); - return _j; - }, - createSeqStmt(_p?: CreateSeqStmt["CreateSeqStmt"]): CreateSeqStmt { - const _j = ({ - CreateSeqStmt: {} - } as CreateSeqStmt); - _o.set(_j, "CreateSeqStmt.sequence", _p?.sequence); - _o.set(_j, "CreateSeqStmt.options", _p?.options); - _o.set(_j, "CreateSeqStmt.ownerId", _p?.ownerId); - _o.set(_j, "CreateSeqStmt.for_identity", _p?.for_identity); - _o.set(_j, "CreateSeqStmt.if_not_exists", _p?.if_not_exists); - return _j; - }, - alterSeqStmt(_p?: AlterSeqStmt["AlterSeqStmt"]): AlterSeqStmt { - const _j = ({ - AlterSeqStmt: {} - } as AlterSeqStmt); - _o.set(_j, "AlterSeqStmt.sequence", _p?.sequence); - _o.set(_j, "AlterSeqStmt.options", _p?.options); - _o.set(_j, "AlterSeqStmt.for_identity", _p?.for_identity); - _o.set(_j, "AlterSeqStmt.missing_ok", _p?.missing_ok); - return _j; - }, - defineStmt(_p?: DefineStmt["DefineStmt"]): DefineStmt { - const _j = ({ - DefineStmt: {} - } as DefineStmt); - _o.set(_j, "DefineStmt.kind", _p?.kind); - _o.set(_j, "DefineStmt.oldstyle", _p?.oldstyle); - _o.set(_j, "DefineStmt.defnames", _p?.defnames); - _o.set(_j, "DefineStmt.args", _p?.args); - _o.set(_j, "DefineStmt.definition", _p?.definition); - _o.set(_j, "DefineStmt.if_not_exists", _p?.if_not_exists); - _o.set(_j, "DefineStmt.replace", _p?.replace); - return _j; - }, - createDomainStmt(_p?: CreateDomainStmt["CreateDomainStmt"]): CreateDomainStmt { - const _j = ({ - CreateDomainStmt: {} - } as CreateDomainStmt); - _o.set(_j, "CreateDomainStmt.domainname", _p?.domainname); - _o.set(_j, "CreateDomainStmt.typeName", _p?.typeName); - _o.set(_j, "CreateDomainStmt.collClause", _p?.collClause); - _o.set(_j, "CreateDomainStmt.constraints", _p?.constraints); - return _j; - }, - createOpClassStmt(_p?: CreateOpClassStmt["CreateOpClassStmt"]): CreateOpClassStmt { - const _j = ({ - CreateOpClassStmt: {} - } as CreateOpClassStmt); - _o.set(_j, "CreateOpClassStmt.opclassname", _p?.opclassname); - _o.set(_j, "CreateOpClassStmt.opfamilyname", _p?.opfamilyname); - _o.set(_j, "CreateOpClassStmt.amname", _p?.amname); - _o.set(_j, "CreateOpClassStmt.datatype", _p?.datatype); - _o.set(_j, "CreateOpClassStmt.items", _p?.items); - _o.set(_j, "CreateOpClassStmt.isDefault", _p?.isDefault); - return _j; - }, - createOpClassItem(_p?: CreateOpClassItem["CreateOpClassItem"]): CreateOpClassItem { - const _j = ({ - CreateOpClassItem: {} - } as CreateOpClassItem); - _o.set(_j, "CreateOpClassItem.itemtype", _p?.itemtype); - _o.set(_j, "CreateOpClassItem.name", _p?.name); - _o.set(_j, "CreateOpClassItem.number", _p?.number); - _o.set(_j, "CreateOpClassItem.order_family", _p?.order_family); - _o.set(_j, "CreateOpClassItem.class_args", _p?.class_args); - _o.set(_j, "CreateOpClassItem.storedtype", _p?.storedtype); - return _j; - }, - createOpFamilyStmt(_p?: CreateOpFamilyStmt["CreateOpFamilyStmt"]): CreateOpFamilyStmt { - const _j = ({ - CreateOpFamilyStmt: {} - } as CreateOpFamilyStmt); - _o.set(_j, "CreateOpFamilyStmt.opfamilyname", _p?.opfamilyname); - _o.set(_j, "CreateOpFamilyStmt.amname", _p?.amname); - return _j; - }, - alterOpFamilyStmt(_p?: AlterOpFamilyStmt["AlterOpFamilyStmt"]): AlterOpFamilyStmt { - const _j = ({ - AlterOpFamilyStmt: {} - } as AlterOpFamilyStmt); - _o.set(_j, "AlterOpFamilyStmt.opfamilyname", _p?.opfamilyname); - _o.set(_j, "AlterOpFamilyStmt.amname", _p?.amname); - _o.set(_j, "AlterOpFamilyStmt.isDrop", _p?.isDrop); - _o.set(_j, "AlterOpFamilyStmt.items", _p?.items); - return _j; - }, - dropStmt(_p?: DropStmt["DropStmt"]): DropStmt { - const _j = ({ - DropStmt: {} - } as DropStmt); - _o.set(_j, "DropStmt.objects", _p?.objects); - _o.set(_j, "DropStmt.removeType", _p?.removeType); - _o.set(_j, "DropStmt.behavior", _p?.behavior); - _o.set(_j, "DropStmt.missing_ok", _p?.missing_ok); - _o.set(_j, "DropStmt.concurrent", _p?.concurrent); - return _j; - }, - truncateStmt(_p?: TruncateStmt["TruncateStmt"]): TruncateStmt { - const _j = ({ - TruncateStmt: {} - } as TruncateStmt); - _o.set(_j, "TruncateStmt.relations", _p?.relations); - _o.set(_j, "TruncateStmt.restart_seqs", _p?.restart_seqs); - _o.set(_j, "TruncateStmt.behavior", _p?.behavior); - return _j; - }, - commentStmt(_p?: CommentStmt["CommentStmt"]): CommentStmt { - const _j = ({ - CommentStmt: {} - } as CommentStmt); - _o.set(_j, "CommentStmt.objtype", _p?.objtype); - _o.set(_j, "CommentStmt.object", _p?.object); - _o.set(_j, "CommentStmt.comment", _p?.comment); - return _j; - }, - secLabelStmt(_p?: SecLabelStmt["SecLabelStmt"]): SecLabelStmt { - const _j = ({ - SecLabelStmt: {} - } as SecLabelStmt); - _o.set(_j, "SecLabelStmt.objtype", _p?.objtype); - _o.set(_j, "SecLabelStmt.object", _p?.object); - _o.set(_j, "SecLabelStmt.provider", _p?.provider); - _o.set(_j, "SecLabelStmt.label", _p?.label); - return _j; - }, - declareCursorStmt(_p?: DeclareCursorStmt["DeclareCursorStmt"]): DeclareCursorStmt { - const _j = ({ - DeclareCursorStmt: {} - } as DeclareCursorStmt); - _o.set(_j, "DeclareCursorStmt.portalname", _p?.portalname); - _o.set(_j, "DeclareCursorStmt.options", _p?.options); - _o.set(_j, "DeclareCursorStmt.query", _p?.query); - return _j; - }, - closePortalStmt(_p?: ClosePortalStmt["ClosePortalStmt"]): ClosePortalStmt { - const _j = ({ - ClosePortalStmt: {} - } as ClosePortalStmt); - _o.set(_j, "ClosePortalStmt.portalname", _p?.portalname); - return _j; - }, - fetchStmt(_p?: FetchStmt["FetchStmt"]): FetchStmt { - const _j = ({ - FetchStmt: {} - } as FetchStmt); - _o.set(_j, "FetchStmt.direction", _p?.direction); - _o.set(_j, "FetchStmt.howMany", _p?.howMany); - _o.set(_j, "FetchStmt.portalname", _p?.portalname); - _o.set(_j, "FetchStmt.ismove", _p?.ismove); - return _j; - }, - indexStmt(_p?: IndexStmt["IndexStmt"]): IndexStmt { - const _j = ({ - IndexStmt: {} - } as IndexStmt); - _o.set(_j, "IndexStmt.idxname", _p?.idxname); - _o.set(_j, "IndexStmt.relation", _p?.relation); - _o.set(_j, "IndexStmt.accessMethod", _p?.accessMethod); - _o.set(_j, "IndexStmt.tableSpace", _p?.tableSpace); - _o.set(_j, "IndexStmt.indexParams", _p?.indexParams); - _o.set(_j, "IndexStmt.indexIncludingParams", _p?.indexIncludingParams); - _o.set(_j, "IndexStmt.options", _p?.options); - _o.set(_j, "IndexStmt.whereClause", _p?.whereClause); - _o.set(_j, "IndexStmt.excludeOpNames", _p?.excludeOpNames); - _o.set(_j, "IndexStmt.idxcomment", _p?.idxcomment); - _o.set(_j, "IndexStmt.indexOid", _p?.indexOid); - _o.set(_j, "IndexStmt.oldNumber", _p?.oldNumber); - _o.set(_j, "IndexStmt.oldCreateSubid", _p?.oldCreateSubid); - _o.set(_j, "IndexStmt.oldFirstRelfilelocatorSubid", _p?.oldFirstRelfilelocatorSubid); - _o.set(_j, "IndexStmt.unique", _p?.unique); - _o.set(_j, "IndexStmt.nulls_not_distinct", _p?.nulls_not_distinct); - _o.set(_j, "IndexStmt.primary", _p?.primary); - _o.set(_j, "IndexStmt.isconstraint", _p?.isconstraint); - _o.set(_j, "IndexStmt.deferrable", _p?.deferrable); - _o.set(_j, "IndexStmt.initdeferred", _p?.initdeferred); - _o.set(_j, "IndexStmt.transformed", _p?.transformed); - _o.set(_j, "IndexStmt.concurrent", _p?.concurrent); - _o.set(_j, "IndexStmt.if_not_exists", _p?.if_not_exists); - _o.set(_j, "IndexStmt.reset_default_tblspc", _p?.reset_default_tblspc); - return _j; - }, - createStatsStmt(_p?: CreateStatsStmt["CreateStatsStmt"]): CreateStatsStmt { - const _j = ({ - CreateStatsStmt: {} - } as CreateStatsStmt); - _o.set(_j, "CreateStatsStmt.defnames", _p?.defnames); - _o.set(_j, "CreateStatsStmt.stat_types", _p?.stat_types); - _o.set(_j, "CreateStatsStmt.exprs", _p?.exprs); - _o.set(_j, "CreateStatsStmt.relations", _p?.relations); - _o.set(_j, "CreateStatsStmt.stxcomment", _p?.stxcomment); - _o.set(_j, "CreateStatsStmt.transformed", _p?.transformed); - _o.set(_j, "CreateStatsStmt.if_not_exists", _p?.if_not_exists); - return _j; - }, - statsElem(_p?: StatsElem["StatsElem"]): StatsElem { - const _j = ({ - StatsElem: {} - } as StatsElem); - _o.set(_j, "StatsElem.name", _p?.name); - _o.set(_j, "StatsElem.expr", _p?.expr); - return _j; - }, - alterStatsStmt(_p?: AlterStatsStmt["AlterStatsStmt"]): AlterStatsStmt { - const _j = ({ - AlterStatsStmt: {} - } as AlterStatsStmt); - _o.set(_j, "AlterStatsStmt.defnames", _p?.defnames); - _o.set(_j, "AlterStatsStmt.stxstattarget", _p?.stxstattarget); - _o.set(_j, "AlterStatsStmt.missing_ok", _p?.missing_ok); - return _j; - }, - createFunctionStmt(_p?: CreateFunctionStmt["CreateFunctionStmt"]): CreateFunctionStmt { - const _j = ({ - CreateFunctionStmt: {} - } as CreateFunctionStmt); - _o.set(_j, "CreateFunctionStmt.is_procedure", _p?.is_procedure); - _o.set(_j, "CreateFunctionStmt.replace", _p?.replace); - _o.set(_j, "CreateFunctionStmt.funcname", _p?.funcname); - _o.set(_j, "CreateFunctionStmt.parameters", _p?.parameters); - _o.set(_j, "CreateFunctionStmt.returnType", _p?.returnType); - _o.set(_j, "CreateFunctionStmt.options", _p?.options); - _o.set(_j, "CreateFunctionStmt.sql_body", _p?.sql_body); - return _j; - }, - functionParameter(_p?: FunctionParameter["FunctionParameter"]): FunctionParameter { - const _j = ({ - FunctionParameter: {} - } as FunctionParameter); - _o.set(_j, "FunctionParameter.name", _p?.name); - _o.set(_j, "FunctionParameter.argType", _p?.argType); - _o.set(_j, "FunctionParameter.mode", _p?.mode); - _o.set(_j, "FunctionParameter.defexpr", _p?.defexpr); - return _j; - }, - alterFunctionStmt(_p?: AlterFunctionStmt["AlterFunctionStmt"]): AlterFunctionStmt { - const _j = ({ - AlterFunctionStmt: {} - } as AlterFunctionStmt); - _o.set(_j, "AlterFunctionStmt.objtype", _p?.objtype); - _o.set(_j, "AlterFunctionStmt.func", _p?.func); - _o.set(_j, "AlterFunctionStmt.actions", _p?.actions); - return _j; - }, - doStmt(_p?: DoStmt["DoStmt"]): DoStmt { - const _j = ({ - DoStmt: {} - } as DoStmt); - _o.set(_j, "DoStmt.args", _p?.args); - return _j; - }, - inlineCodeBlock(_p?: InlineCodeBlock["InlineCodeBlock"]): InlineCodeBlock { - const _j = ({ - InlineCodeBlock: {} - } as InlineCodeBlock); - _o.set(_j, "InlineCodeBlock.source_text", _p?.source_text); - _o.set(_j, "InlineCodeBlock.langOid", _p?.langOid); - _o.set(_j, "InlineCodeBlock.langIsTrusted", _p?.langIsTrusted); - _o.set(_j, "InlineCodeBlock.atomic", _p?.atomic); - return _j; - }, - callStmt(_p?: CallStmt["CallStmt"]): CallStmt { - const _j = ({ - CallStmt: {} - } as CallStmt); - _o.set(_j, "CallStmt.funccall", _p?.funccall); - _o.set(_j, "CallStmt.funcexpr", _p?.funcexpr); - _o.set(_j, "CallStmt.outargs", _p?.outargs); - return _j; - }, - callContext(_p?: CallContext["CallContext"]): CallContext { - const _j = ({ - CallContext: {} - } as CallContext); - _o.set(_j, "CallContext.atomic", _p?.atomic); - return _j; - }, - renameStmt(_p?: RenameStmt["RenameStmt"]): RenameStmt { - const _j = ({ - RenameStmt: {} - } as RenameStmt); - _o.set(_j, "RenameStmt.renameType", _p?.renameType); - _o.set(_j, "RenameStmt.relationType", _p?.relationType); - _o.set(_j, "RenameStmt.relation", _p?.relation); - _o.set(_j, "RenameStmt.object", _p?.object); - _o.set(_j, "RenameStmt.subname", _p?.subname); - _o.set(_j, "RenameStmt.newname", _p?.newname); - _o.set(_j, "RenameStmt.behavior", _p?.behavior); - _o.set(_j, "RenameStmt.missing_ok", _p?.missing_ok); - return _j; - }, - alterObjectDependsStmt(_p?: AlterObjectDependsStmt["AlterObjectDependsStmt"]): AlterObjectDependsStmt { - const _j = ({ - AlterObjectDependsStmt: {} - } as AlterObjectDependsStmt); - _o.set(_j, "AlterObjectDependsStmt.objectType", _p?.objectType); - _o.set(_j, "AlterObjectDependsStmt.relation", _p?.relation); - _o.set(_j, "AlterObjectDependsStmt.object", _p?.object); - _o.set(_j, "AlterObjectDependsStmt.extname", _p?.extname); - _o.set(_j, "AlterObjectDependsStmt.remove", _p?.remove); - return _j; - }, - alterObjectSchemaStmt(_p?: AlterObjectSchemaStmt["AlterObjectSchemaStmt"]): AlterObjectSchemaStmt { - const _j = ({ - AlterObjectSchemaStmt: {} - } as AlterObjectSchemaStmt); - _o.set(_j, "AlterObjectSchemaStmt.objectType", _p?.objectType); - _o.set(_j, "AlterObjectSchemaStmt.relation", _p?.relation); - _o.set(_j, "AlterObjectSchemaStmt.object", _p?.object); - _o.set(_j, "AlterObjectSchemaStmt.newschema", _p?.newschema); - _o.set(_j, "AlterObjectSchemaStmt.missing_ok", _p?.missing_ok); - return _j; - }, - alterOwnerStmt(_p?: AlterOwnerStmt["AlterOwnerStmt"]): AlterOwnerStmt { - const _j = ({ - AlterOwnerStmt: {} - } as AlterOwnerStmt); - _o.set(_j, "AlterOwnerStmt.objectType", _p?.objectType); - _o.set(_j, "AlterOwnerStmt.relation", _p?.relation); - _o.set(_j, "AlterOwnerStmt.object", _p?.object); - _o.set(_j, "AlterOwnerStmt.newowner", _p?.newowner); - return _j; - }, - alterOperatorStmt(_p?: AlterOperatorStmt["AlterOperatorStmt"]): AlterOperatorStmt { - const _j = ({ - AlterOperatorStmt: {} - } as AlterOperatorStmt); - _o.set(_j, "AlterOperatorStmt.opername", _p?.opername); - _o.set(_j, "AlterOperatorStmt.options", _p?.options); - return _j; - }, - alterTypeStmt(_p?: AlterTypeStmt["AlterTypeStmt"]): AlterTypeStmt { - const _j = ({ - AlterTypeStmt: {} - } as AlterTypeStmt); - _o.set(_j, "AlterTypeStmt.typeName", _p?.typeName); - _o.set(_j, "AlterTypeStmt.options", _p?.options); - return _j; - }, - ruleStmt(_p?: RuleStmt["RuleStmt"]): RuleStmt { - const _j = ({ - RuleStmt: {} - } as RuleStmt); - _o.set(_j, "RuleStmt.relation", _p?.relation); - _o.set(_j, "RuleStmt.rulename", _p?.rulename); - _o.set(_j, "RuleStmt.whereClause", _p?.whereClause); - _o.set(_j, "RuleStmt.event", _p?.event); - _o.set(_j, "RuleStmt.instead", _p?.instead); - _o.set(_j, "RuleStmt.actions", _p?.actions); - _o.set(_j, "RuleStmt.replace", _p?.replace); - return _j; - }, - notifyStmt(_p?: NotifyStmt["NotifyStmt"]): NotifyStmt { - const _j = ({ - NotifyStmt: {} - } as NotifyStmt); - _o.set(_j, "NotifyStmt.conditionname", _p?.conditionname); - _o.set(_j, "NotifyStmt.payload", _p?.payload); - return _j; - }, - listenStmt(_p?: ListenStmt["ListenStmt"]): ListenStmt { - const _j = ({ - ListenStmt: {} - } as ListenStmt); - _o.set(_j, "ListenStmt.conditionname", _p?.conditionname); - return _j; - }, - unlistenStmt(_p?: UnlistenStmt["UnlistenStmt"]): UnlistenStmt { - const _j = ({ - UnlistenStmt: {} - } as UnlistenStmt); - _o.set(_j, "UnlistenStmt.conditionname", _p?.conditionname); - return _j; - }, - transactionStmt(_p?: TransactionStmt["TransactionStmt"]): TransactionStmt { - const _j = ({ - TransactionStmt: {} - } as TransactionStmt); - _o.set(_j, "TransactionStmt.kind", _p?.kind); - _o.set(_j, "TransactionStmt.options", _p?.options); - _o.set(_j, "TransactionStmt.savepoint_name", _p?.savepoint_name); - _o.set(_j, "TransactionStmt.gid", _p?.gid); - _o.set(_j, "TransactionStmt.chain", _p?.chain); - return _j; - }, - compositeTypeStmt(_p?: CompositeTypeStmt["CompositeTypeStmt"]): CompositeTypeStmt { - const _j = ({ - CompositeTypeStmt: {} - } as CompositeTypeStmt); - _o.set(_j, "CompositeTypeStmt.typevar", _p?.typevar); - _o.set(_j, "CompositeTypeStmt.coldeflist", _p?.coldeflist); - return _j; - }, - createEnumStmt(_p?: CreateEnumStmt["CreateEnumStmt"]): CreateEnumStmt { - const _j = ({ - CreateEnumStmt: {} - } as CreateEnumStmt); - _o.set(_j, "CreateEnumStmt.typeName", _p?.typeName); - _o.set(_j, "CreateEnumStmt.vals", _p?.vals); - return _j; - }, - createRangeStmt(_p?: CreateRangeStmt["CreateRangeStmt"]): CreateRangeStmt { - const _j = ({ - CreateRangeStmt: {} - } as CreateRangeStmt); - _o.set(_j, "CreateRangeStmt.typeName", _p?.typeName); - _o.set(_j, "CreateRangeStmt.params", _p?.params); - return _j; - }, - alterEnumStmt(_p?: AlterEnumStmt["AlterEnumStmt"]): AlterEnumStmt { - const _j = ({ - AlterEnumStmt: {} - } as AlterEnumStmt); - _o.set(_j, "AlterEnumStmt.typeName", _p?.typeName); - _o.set(_j, "AlterEnumStmt.oldVal", _p?.oldVal); - _o.set(_j, "AlterEnumStmt.newVal", _p?.newVal); - _o.set(_j, "AlterEnumStmt.newValNeighbor", _p?.newValNeighbor); - _o.set(_j, "AlterEnumStmt.newValIsAfter", _p?.newValIsAfter); - _o.set(_j, "AlterEnumStmt.skipIfNewValExists", _p?.skipIfNewValExists); - return _j; - }, - viewStmt(_p?: ViewStmt["ViewStmt"]): ViewStmt { - const _j = ({ - ViewStmt: {} - } as ViewStmt); - _o.set(_j, "ViewStmt.view", _p?.view); - _o.set(_j, "ViewStmt.aliases", _p?.aliases); - _o.set(_j, "ViewStmt.query", _p?.query); - _o.set(_j, "ViewStmt.replace", _p?.replace); - _o.set(_j, "ViewStmt.options", _p?.options); - _o.set(_j, "ViewStmt.withCheckOption", _p?.withCheckOption); - return _j; - }, - loadStmt(_p?: LoadStmt["LoadStmt"]): LoadStmt { - const _j = ({ - LoadStmt: {} - } as LoadStmt); - _o.set(_j, "LoadStmt.filename", _p?.filename); - return _j; - }, - createdbStmt(_p?: CreatedbStmt["CreatedbStmt"]): CreatedbStmt { - const _j = ({ - CreatedbStmt: {} - } as CreatedbStmt); - _o.set(_j, "CreatedbStmt.dbname", _p?.dbname); - _o.set(_j, "CreatedbStmt.options", _p?.options); - return _j; - }, - alterDatabaseStmt(_p?: AlterDatabaseStmt["AlterDatabaseStmt"]): AlterDatabaseStmt { - const _j = ({ - AlterDatabaseStmt: {} - } as AlterDatabaseStmt); - _o.set(_j, "AlterDatabaseStmt.dbname", _p?.dbname); - _o.set(_j, "AlterDatabaseStmt.options", _p?.options); - return _j; - }, - alterDatabaseRefreshCollStmt(_p?: AlterDatabaseRefreshCollStmt["AlterDatabaseRefreshCollStmt"]): AlterDatabaseRefreshCollStmt { - const _j = ({ - AlterDatabaseRefreshCollStmt: {} - } as AlterDatabaseRefreshCollStmt); - _o.set(_j, "AlterDatabaseRefreshCollStmt.dbname", _p?.dbname); - return _j; - }, - alterDatabaseSetStmt(_p?: AlterDatabaseSetStmt["AlterDatabaseSetStmt"]): AlterDatabaseSetStmt { - const _j = ({ - AlterDatabaseSetStmt: {} - } as AlterDatabaseSetStmt); - _o.set(_j, "AlterDatabaseSetStmt.dbname", _p?.dbname); - _o.set(_j, "AlterDatabaseSetStmt.setstmt", _p?.setstmt); - return _j; - }, - dropdbStmt(_p?: DropdbStmt["DropdbStmt"]): DropdbStmt { - const _j = ({ - DropdbStmt: {} - } as DropdbStmt); - _o.set(_j, "DropdbStmt.dbname", _p?.dbname); - _o.set(_j, "DropdbStmt.missing_ok", _p?.missing_ok); - _o.set(_j, "DropdbStmt.options", _p?.options); - return _j; - }, - alterSystemStmt(_p?: AlterSystemStmt["AlterSystemStmt"]): AlterSystemStmt { - const _j = ({ - AlterSystemStmt: {} - } as AlterSystemStmt); - _o.set(_j, "AlterSystemStmt.setstmt", _p?.setstmt); - return _j; - }, - clusterStmt(_p?: ClusterStmt["ClusterStmt"]): ClusterStmt { - const _j = ({ - ClusterStmt: {} - } as ClusterStmt); - _o.set(_j, "ClusterStmt.relation", _p?.relation); - _o.set(_j, "ClusterStmt.indexname", _p?.indexname); - _o.set(_j, "ClusterStmt.params", _p?.params); - return _j; - }, - vacuumStmt(_p?: VacuumStmt["VacuumStmt"]): VacuumStmt { - const _j = ({ - VacuumStmt: {} - } as VacuumStmt); - _o.set(_j, "VacuumStmt.options", _p?.options); - _o.set(_j, "VacuumStmt.rels", _p?.rels); - _o.set(_j, "VacuumStmt.is_vacuumcmd", _p?.is_vacuumcmd); - return _j; - }, - vacuumRelation(_p?: VacuumRelation["VacuumRelation"]): VacuumRelation { - const _j = ({ - VacuumRelation: {} - } as VacuumRelation); - _o.set(_j, "VacuumRelation.relation", _p?.relation); - _o.set(_j, "VacuumRelation.oid", _p?.oid); - _o.set(_j, "VacuumRelation.va_cols", _p?.va_cols); - return _j; - }, - explainStmt(_p?: ExplainStmt["ExplainStmt"]): ExplainStmt { - const _j = ({ - ExplainStmt: {} - } as ExplainStmt); - _o.set(_j, "ExplainStmt.query", _p?.query); - _o.set(_j, "ExplainStmt.options", _p?.options); - return _j; - }, - createTableAsStmt(_p?: CreateTableAsStmt["CreateTableAsStmt"]): CreateTableAsStmt { - const _j = ({ - CreateTableAsStmt: {} - } as CreateTableAsStmt); - _o.set(_j, "CreateTableAsStmt.query", _p?.query); - _o.set(_j, "CreateTableAsStmt.into", _p?.into); - _o.set(_j, "CreateTableAsStmt.objtype", _p?.objtype); - _o.set(_j, "CreateTableAsStmt.is_select_into", _p?.is_select_into); - _o.set(_j, "CreateTableAsStmt.if_not_exists", _p?.if_not_exists); - return _j; - }, - refreshMatViewStmt(_p?: RefreshMatViewStmt["RefreshMatViewStmt"]): RefreshMatViewStmt { - const _j = ({ - RefreshMatViewStmt: {} - } as RefreshMatViewStmt); - _o.set(_j, "RefreshMatViewStmt.concurrent", _p?.concurrent); - _o.set(_j, "RefreshMatViewStmt.skipData", _p?.skipData); - _o.set(_j, "RefreshMatViewStmt.relation", _p?.relation); - return _j; - }, - checkPointStmt(_p?: CheckPointStmt["CheckPointStmt"]): CheckPointStmt { - const _j = ({ - CheckPointStmt: {} - } as CheckPointStmt); - return _j; - }, - discardStmt(_p?: DiscardStmt["DiscardStmt"]): DiscardStmt { - const _j = ({ - DiscardStmt: {} - } as DiscardStmt); - _o.set(_j, "DiscardStmt.target", _p?.target); - return _j; - }, - lockStmt(_p?: LockStmt["LockStmt"]): LockStmt { - const _j = ({ - LockStmt: {} - } as LockStmt); - _o.set(_j, "LockStmt.relations", _p?.relations); - _o.set(_j, "LockStmt.mode", _p?.mode); - _o.set(_j, "LockStmt.nowait", _p?.nowait); - return _j; - }, - constraintsSetStmt(_p?: ConstraintsSetStmt["ConstraintsSetStmt"]): ConstraintsSetStmt { - const _j = ({ - ConstraintsSetStmt: {} - } as ConstraintsSetStmt); - _o.set(_j, "ConstraintsSetStmt.constraints", _p?.constraints); - _o.set(_j, "ConstraintsSetStmt.deferred", _p?.deferred); - return _j; - }, - reindexStmt(_p?: ReindexStmt["ReindexStmt"]): ReindexStmt { - const _j = ({ - ReindexStmt: {} - } as ReindexStmt); - _o.set(_j, "ReindexStmt.kind", _p?.kind); - _o.set(_j, "ReindexStmt.relation", _p?.relation); - _o.set(_j, "ReindexStmt.name", _p?.name); - _o.set(_j, "ReindexStmt.params", _p?.params); - return _j; - }, - createConversionStmt(_p?: CreateConversionStmt["CreateConversionStmt"]): CreateConversionStmt { - const _j = ({ - CreateConversionStmt: {} - } as CreateConversionStmt); - _o.set(_j, "CreateConversionStmt.conversion_name", _p?.conversion_name); - _o.set(_j, "CreateConversionStmt.for_encoding_name", _p?.for_encoding_name); - _o.set(_j, "CreateConversionStmt.to_encoding_name", _p?.to_encoding_name); - _o.set(_j, "CreateConversionStmt.func_name", _p?.func_name); - _o.set(_j, "CreateConversionStmt.def", _p?.def); - return _j; - }, - createCastStmt(_p?: CreateCastStmt["CreateCastStmt"]): CreateCastStmt { - const _j = ({ - CreateCastStmt: {} - } as CreateCastStmt); - _o.set(_j, "CreateCastStmt.sourcetype", _p?.sourcetype); - _o.set(_j, "CreateCastStmt.targettype", _p?.targettype); - _o.set(_j, "CreateCastStmt.func", _p?.func); - _o.set(_j, "CreateCastStmt.context", _p?.context); - _o.set(_j, "CreateCastStmt.inout", _p?.inout); - return _j; - }, - createTransformStmt(_p?: CreateTransformStmt["CreateTransformStmt"]): CreateTransformStmt { - const _j = ({ - CreateTransformStmt: {} - } as CreateTransformStmt); - _o.set(_j, "CreateTransformStmt.replace", _p?.replace); - _o.set(_j, "CreateTransformStmt.type_name", _p?.type_name); - _o.set(_j, "CreateTransformStmt.lang", _p?.lang); - _o.set(_j, "CreateTransformStmt.fromsql", _p?.fromsql); - _o.set(_j, "CreateTransformStmt.tosql", _p?.tosql); - return _j; - }, - prepareStmt(_p?: PrepareStmt["PrepareStmt"]): PrepareStmt { - const _j = ({ - PrepareStmt: {} - } as PrepareStmt); - _o.set(_j, "PrepareStmt.name", _p?.name); - _o.set(_j, "PrepareStmt.argtypes", _p?.argtypes); - _o.set(_j, "PrepareStmt.query", _p?.query); - return _j; - }, - executeStmt(_p?: ExecuteStmt["ExecuteStmt"]): ExecuteStmt { - const _j = ({ - ExecuteStmt: {} - } as ExecuteStmt); - _o.set(_j, "ExecuteStmt.name", _p?.name); - _o.set(_j, "ExecuteStmt.params", _p?.params); - return _j; - }, - deallocateStmt(_p?: DeallocateStmt["DeallocateStmt"]): DeallocateStmt { - const _j = ({ - DeallocateStmt: {} - } as DeallocateStmt); - _o.set(_j, "DeallocateStmt.name", _p?.name); - return _j; - }, - dropOwnedStmt(_p?: DropOwnedStmt["DropOwnedStmt"]): DropOwnedStmt { - const _j = ({ - DropOwnedStmt: {} - } as DropOwnedStmt); - _o.set(_j, "DropOwnedStmt.roles", _p?.roles); - _o.set(_j, "DropOwnedStmt.behavior", _p?.behavior); - return _j; - }, - reassignOwnedStmt(_p?: ReassignOwnedStmt["ReassignOwnedStmt"]): ReassignOwnedStmt { - const _j = ({ - ReassignOwnedStmt: {} - } as ReassignOwnedStmt); - _o.set(_j, "ReassignOwnedStmt.roles", _p?.roles); - _o.set(_j, "ReassignOwnedStmt.newrole", _p?.newrole); - return _j; - }, - altertsDictionaryStmt(_p?: AlterTSDictionaryStmt["AlterTSDictionaryStmt"]): AlterTSDictionaryStmt { - const _j = ({ - AlterTSDictionaryStmt: {} - } as AlterTSDictionaryStmt); - _o.set(_j, "AlterTSDictionaryStmt.dictname", _p?.dictname); - _o.set(_j, "AlterTSDictionaryStmt.options", _p?.options); - return _j; - }, - altertsConfigurationStmt(_p?: AlterTSConfigurationStmt["AlterTSConfigurationStmt"]): AlterTSConfigurationStmt { - const _j = ({ - AlterTSConfigurationStmt: {} - } as AlterTSConfigurationStmt); - _o.set(_j, "AlterTSConfigurationStmt.kind", _p?.kind); - _o.set(_j, "AlterTSConfigurationStmt.cfgname", _p?.cfgname); - _o.set(_j, "AlterTSConfigurationStmt.tokentype", _p?.tokentype); - _o.set(_j, "AlterTSConfigurationStmt.dicts", _p?.dicts); - _o.set(_j, "AlterTSConfigurationStmt.override", _p?.override); - _o.set(_j, "AlterTSConfigurationStmt.replace", _p?.replace); - _o.set(_j, "AlterTSConfigurationStmt.missing_ok", _p?.missing_ok); - return _j; - }, - publicationTable(_p?: PublicationTable["PublicationTable"]): PublicationTable { - const _j = ({ - PublicationTable: {} - } as PublicationTable); - _o.set(_j, "PublicationTable.relation", _p?.relation); - _o.set(_j, "PublicationTable.whereClause", _p?.whereClause); - _o.set(_j, "PublicationTable.columns", _p?.columns); - return _j; - }, - publicationObjSpec(_p?: PublicationObjSpec["PublicationObjSpec"]): PublicationObjSpec { - const _j = ({ - PublicationObjSpec: {} - } as PublicationObjSpec); - _o.set(_j, "PublicationObjSpec.pubobjtype", _p?.pubobjtype); - _o.set(_j, "PublicationObjSpec.name", _p?.name); - _o.set(_j, "PublicationObjSpec.pubtable", _p?.pubtable); - _o.set(_j, "PublicationObjSpec.location", _p?.location); - return _j; - }, - createPublicationStmt(_p?: CreatePublicationStmt["CreatePublicationStmt"]): CreatePublicationStmt { - const _j = ({ - CreatePublicationStmt: {} - } as CreatePublicationStmt); - _o.set(_j, "CreatePublicationStmt.pubname", _p?.pubname); - _o.set(_j, "CreatePublicationStmt.options", _p?.options); - _o.set(_j, "CreatePublicationStmt.pubobjects", _p?.pubobjects); - _o.set(_j, "CreatePublicationStmt.for_all_tables", _p?.for_all_tables); - return _j; - }, - alterPublicationStmt(_p?: AlterPublicationStmt["AlterPublicationStmt"]): AlterPublicationStmt { - const _j = ({ - AlterPublicationStmt: {} - } as AlterPublicationStmt); - _o.set(_j, "AlterPublicationStmt.pubname", _p?.pubname); - _o.set(_j, "AlterPublicationStmt.options", _p?.options); - _o.set(_j, "AlterPublicationStmt.pubobjects", _p?.pubobjects); - _o.set(_j, "AlterPublicationStmt.for_all_tables", _p?.for_all_tables); - _o.set(_j, "AlterPublicationStmt.action", _p?.action); - return _j; - }, - createSubscriptionStmt(_p?: CreateSubscriptionStmt["CreateSubscriptionStmt"]): CreateSubscriptionStmt { - const _j = ({ - CreateSubscriptionStmt: {} - } as CreateSubscriptionStmt); - _o.set(_j, "CreateSubscriptionStmt.subname", _p?.subname); - _o.set(_j, "CreateSubscriptionStmt.conninfo", _p?.conninfo); - _o.set(_j, "CreateSubscriptionStmt.publication", _p?.publication); - _o.set(_j, "CreateSubscriptionStmt.options", _p?.options); - return _j; - }, - alterSubscriptionStmt(_p?: AlterSubscriptionStmt["AlterSubscriptionStmt"]): AlterSubscriptionStmt { - const _j = ({ - AlterSubscriptionStmt: {} - } as AlterSubscriptionStmt); - _o.set(_j, "AlterSubscriptionStmt.kind", _p?.kind); - _o.set(_j, "AlterSubscriptionStmt.subname", _p?.subname); - _o.set(_j, "AlterSubscriptionStmt.conninfo", _p?.conninfo); - _o.set(_j, "AlterSubscriptionStmt.publication", _p?.publication); - _o.set(_j, "AlterSubscriptionStmt.options", _p?.options); - return _j; - }, - dropSubscriptionStmt(_p?: DropSubscriptionStmt["DropSubscriptionStmt"]): DropSubscriptionStmt { - const _j = ({ - DropSubscriptionStmt: {} - } as DropSubscriptionStmt); - _o.set(_j, "DropSubscriptionStmt.subname", _p?.subname); - _o.set(_j, "DropSubscriptionStmt.missing_ok", _p?.missing_ok); - _o.set(_j, "DropSubscriptionStmt.behavior", _p?.behavior); - return _j; - }, - scanToken(_p?: ScanToken["ScanToken"]): ScanToken { - const _j = ({ - ScanToken: {} - } as ScanToken); - _o.set(_j, "ScanToken.start", _p?.start); - _o.set(_j, "ScanToken.end", _p?.end); - _o.set(_j, "ScanToken.token", _p?.token); - _o.set(_j, "ScanToken.keywordKind", _p?.keywordKind); + columnRef(_p?: ColumnRef): ColumnRef { + const _j = ({} as ColumnRef); + _o.set(_j, "fields", _p?.fields); + _o.set(_j, "location", _p?.location); + return _j; + }, + paramRef(_p?: ParamRef): ParamRef { + const _j = ({} as ParamRef); + _o.set(_j, "number", _p?.number); + _o.set(_j, "location", _p?.location); + return _j; + }, + aExpr(_p?: A_Expr): A_Expr { + const _j = ({} as A_Expr); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "name", _p?.name); + _o.set(_j, "lexpr", _p?.lexpr); + _o.set(_j, "rexpr", _p?.rexpr); + _o.set(_j, "location", _p?.location); + return _j; + }, + typeCast(_p?: TypeCast): TypeCast { + const _j = ({} as TypeCast); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "location", _p?.location); + return _j; + }, + collateClause(_p?: CollateClause): CollateClause { + const _j = ({} as CollateClause); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "collname", _p?.collname); + _o.set(_j, "location", _p?.location); + return _j; + }, + roleSpec(_p?: RoleSpec): RoleSpec { + const _j = ({} as RoleSpec); + _o.set(_j, "roletype", _p?.roletype); + _o.set(_j, "rolename", _p?.rolename); + _o.set(_j, "location", _p?.location); + return _j; + }, + funcCall(_p?: FuncCall): FuncCall { + const _j = ({} as FuncCall); + _o.set(_j, "funcname", _p?.funcname); + _o.set(_j, "args", _p?.args); + _o.set(_j, "agg_order", _p?.agg_order); + _o.set(_j, "agg_filter", _p?.agg_filter); + _o.set(_j, "over", _p?.over); + _o.set(_j, "agg_within_group", _p?.agg_within_group); + _o.set(_j, "agg_star", _p?.agg_star); + _o.set(_j, "agg_distinct", _p?.agg_distinct); + _o.set(_j, "func_variadic", _p?.func_variadic); + _o.set(_j, "funcformat", _p?.funcformat); + _o.set(_j, "location", _p?.location); + return _j; + }, + aStar(_p?: A_Star): A_Star { + const _j = ({} as A_Star); + return _j; + }, + aIndices(_p?: A_Indices): A_Indices { + const _j = ({} as A_Indices); + _o.set(_j, "is_slice", _p?.is_slice); + _o.set(_j, "lidx", _p?.lidx); + _o.set(_j, "uidx", _p?.uidx); + return _j; + }, + aIndirection(_p?: A_Indirection): A_Indirection { + const _j = ({} as A_Indirection); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "indirection", _p?.indirection); + return _j; + }, + aArrayExpr(_p?: A_ArrayExpr): A_ArrayExpr { + const _j = ({} as A_ArrayExpr); + _o.set(_j, "elements", _p?.elements); + _o.set(_j, "location", _p?.location); + return _j; + }, + resTarget(_p?: ResTarget): ResTarget { + const _j = ({} as ResTarget); + _o.set(_j, "name", _p?.name); + _o.set(_j, "indirection", _p?.indirection); + _o.set(_j, "val", _p?.val); + _o.set(_j, "location", _p?.location); + return _j; + }, + multiAssignRef(_p?: MultiAssignRef): MultiAssignRef { + const _j = ({} as MultiAssignRef); + _o.set(_j, "source", _p?.source); + _o.set(_j, "colno", _p?.colno); + _o.set(_j, "ncolumns", _p?.ncolumns); + return _j; + }, + sortBy(_p?: SortBy): SortBy { + const _j = ({} as SortBy); + _o.set(_j, "node", _p?.node); + _o.set(_j, "sortby_dir", _p?.sortby_dir); + _o.set(_j, "sortby_nulls", _p?.sortby_nulls); + _o.set(_j, "useOp", _p?.useOp); + _o.set(_j, "location", _p?.location); + return _j; + }, + windowDef(_p?: WindowDef): WindowDef { + const _j = ({} as WindowDef); + _o.set(_j, "name", _p?.name); + _o.set(_j, "refname", _p?.refname); + _o.set(_j, "partitionClause", _p?.partitionClause); + _o.set(_j, "orderClause", _p?.orderClause); + _o.set(_j, "frameOptions", _p?.frameOptions); + _o.set(_j, "startOffset", _p?.startOffset); + _o.set(_j, "endOffset", _p?.endOffset); + _o.set(_j, "location", _p?.location); + return _j; + }, + rangeSubselect(_p?: RangeSubselect): RangeSubselect { + const _j = ({} as RangeSubselect); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "subquery", _p?.subquery); + _o.set(_j, "alias", _p?.alias); + return _j; + }, + rangeFunction(_p?: RangeFunction): RangeFunction { + const _j = ({} as RangeFunction); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "ordinality", _p?.ordinality); + _o.set(_j, "is_rowsfrom", _p?.is_rowsfrom); + _o.set(_j, "functions", _p?.functions); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "coldeflist", _p?.coldeflist); + return _j; + }, + rangeTableFunc(_p?: RangeTableFunc): RangeTableFunc { + const _j = ({} as RangeTableFunc); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "docexpr", _p?.docexpr); + _o.set(_j, "rowexpr", _p?.rowexpr); + _o.set(_j, "namespaces", _p?.namespaces); + _o.set(_j, "columns", _p?.columns); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "location", _p?.location); + return _j; + }, + rangeTableFuncCol(_p?: RangeTableFuncCol): RangeTableFuncCol { + const _j = ({} as RangeTableFuncCol); + _o.set(_j, "colname", _p?.colname); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "for_ordinality", _p?.for_ordinality); + _o.set(_j, "is_not_null", _p?.is_not_null); + _o.set(_j, "colexpr", _p?.colexpr); + _o.set(_j, "coldefexpr", _p?.coldefexpr); + _o.set(_j, "location", _p?.location); + return _j; + }, + rangeTableSample(_p?: RangeTableSample): RangeTableSample { + const _j = ({} as RangeTableSample); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "method", _p?.method); + _o.set(_j, "args", _p?.args); + _o.set(_j, "repeatable", _p?.repeatable); + _o.set(_j, "location", _p?.location); + return _j; + }, + columnDef(_p?: ColumnDef): ColumnDef { + const _j = ({} as ColumnDef); + _o.set(_j, "colname", _p?.colname); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "compression", _p?.compression); + _o.set(_j, "inhcount", _p?.inhcount); + _o.set(_j, "is_local", _p?.is_local); + _o.set(_j, "is_not_null", _p?.is_not_null); + _o.set(_j, "is_from_type", _p?.is_from_type); + _o.set(_j, "storage", _p?.storage); + _o.set(_j, "storage_name", _p?.storage_name); + _o.set(_j, "raw_default", _p?.raw_default); + _o.set(_j, "cooked_default", _p?.cooked_default); + _o.set(_j, "identity", _p?.identity); + _o.set(_j, "identitySequence", _p?.identitySequence); + _o.set(_j, "generated", _p?.generated); + _o.set(_j, "collClause", _p?.collClause); + _o.set(_j, "collOid", _p?.collOid); + _o.set(_j, "constraints", _p?.constraints); + _o.set(_j, "fdwoptions", _p?.fdwoptions); + _o.set(_j, "location", _p?.location); + return _j; + }, + tableLikeClause(_p?: TableLikeClause): TableLikeClause { + const _j = ({} as TableLikeClause); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "options", _p?.options); + _o.set(_j, "relationOid", _p?.relationOid); + return _j; + }, + indexElem(_p?: IndexElem): IndexElem { + const _j = ({} as IndexElem); + _o.set(_j, "name", _p?.name); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "indexcolname", _p?.indexcolname); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "opclass", _p?.opclass); + _o.set(_j, "opclassopts", _p?.opclassopts); + _o.set(_j, "ordering", _p?.ordering); + _o.set(_j, "nulls_ordering", _p?.nulls_ordering); + return _j; + }, + defElem(_p?: DefElem): DefElem { + const _j = ({} as DefElem); + _o.set(_j, "defnamespace", _p?.defnamespace); + _o.set(_j, "defname", _p?.defname); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "defaction", _p?.defaction); + _o.set(_j, "location", _p?.location); + return _j; + }, + lockingClause(_p?: LockingClause): LockingClause { + const _j = ({} as LockingClause); + _o.set(_j, "lockedRels", _p?.lockedRels); + _o.set(_j, "strength", _p?.strength); + _o.set(_j, "waitPolicy", _p?.waitPolicy); + return _j; + }, + xmlSerialize(_p?: XmlSerialize): XmlSerialize { + const _j = ({} as XmlSerialize); + _o.set(_j, "xmloption", _p?.xmloption); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "indent", _p?.indent); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionElem(_p?: PartitionElem): PartitionElem { + const _j = ({} as PartitionElem); + _o.set(_j, "name", _p?.name); + _o.set(_j, "expr", _p?.expr); + _o.set(_j, "collation", _p?.collation); + _o.set(_j, "opclass", _p?.opclass); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionSpec(_p?: PartitionSpec): PartitionSpec { + const _j = ({} as PartitionSpec); + _o.set(_j, "strategy", _p?.strategy); + _o.set(_j, "partParams", _p?.partParams); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionBoundSpec(_p?: PartitionBoundSpec): PartitionBoundSpec { + const _j = ({} as PartitionBoundSpec); + _o.set(_j, "strategy", _p?.strategy); + _o.set(_j, "is_default", _p?.is_default); + _o.set(_j, "modulus", _p?.modulus); + _o.set(_j, "remainder", _p?.remainder); + _o.set(_j, "listdatums", _p?.listdatums); + _o.set(_j, "lowerdatums", _p?.lowerdatums); + _o.set(_j, "upperdatums", _p?.upperdatums); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionRangeDatum(_p?: PartitionRangeDatum): PartitionRangeDatum { + const _j = ({} as PartitionRangeDatum); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "value", _p?.value); + _o.set(_j, "location", _p?.location); + return _j; + }, + partitionCmd(_p?: PartitionCmd): PartitionCmd { + const _j = ({} as PartitionCmd); + _o.set(_j, "name", _p?.name); + _o.set(_j, "bound", _p?.bound); + _o.set(_j, "concurrent", _p?.concurrent); + return _j; + }, + rangeTblEntry(_p?: RangeTblEntry): RangeTblEntry { + const _j = ({} as RangeTblEntry); + _o.set(_j, "rtekind", _p?.rtekind); + _o.set(_j, "relid", _p?.relid); + _o.set(_j, "relkind", _p?.relkind); + _o.set(_j, "rellockmode", _p?.rellockmode); + _o.set(_j, "tablesample", _p?.tablesample); + _o.set(_j, "perminfoindex", _p?.perminfoindex); + _o.set(_j, "subquery", _p?.subquery); + _o.set(_j, "security_barrier", _p?.security_barrier); + _o.set(_j, "jointype", _p?.jointype); + _o.set(_j, "joinmergedcols", _p?.joinmergedcols); + _o.set(_j, "joinaliasvars", _p?.joinaliasvars); + _o.set(_j, "joinleftcols", _p?.joinleftcols); + _o.set(_j, "joinrightcols", _p?.joinrightcols); + _o.set(_j, "join_using_alias", _p?.join_using_alias); + _o.set(_j, "functions", _p?.functions); + _o.set(_j, "funcordinality", _p?.funcordinality); + _o.set(_j, "tablefunc", _p?.tablefunc); + _o.set(_j, "values_lists", _p?.values_lists); + _o.set(_j, "ctename", _p?.ctename); + _o.set(_j, "ctelevelsup", _p?.ctelevelsup); + _o.set(_j, "self_reference", _p?.self_reference); + _o.set(_j, "coltypes", _p?.coltypes); + _o.set(_j, "coltypmods", _p?.coltypmods); + _o.set(_j, "colcollations", _p?.colcollations); + _o.set(_j, "enrname", _p?.enrname); + _o.set(_j, "enrtuples", _p?.enrtuples); + _o.set(_j, "alias", _p?.alias); + _o.set(_j, "eref", _p?.eref); + _o.set(_j, "lateral", _p?.lateral); + _o.set(_j, "inh", _p?.inh); + _o.set(_j, "inFromCl", _p?.inFromCl); + _o.set(_j, "securityQuals", _p?.securityQuals); + return _j; + }, + rtePermissionInfo(_p?: RTEPermissionInfo): RTEPermissionInfo { + const _j = ({} as RTEPermissionInfo); + _o.set(_j, "relid", _p?.relid); + _o.set(_j, "inh", _p?.inh); + _o.set(_j, "requiredPerms", _p?.requiredPerms); + _o.set(_j, "checkAsUser", _p?.checkAsUser); + _o.set(_j, "selectedCols", _p?.selectedCols); + _o.set(_j, "insertedCols", _p?.insertedCols); + _o.set(_j, "updatedCols", _p?.updatedCols); + return _j; + }, + rangeTblFunction(_p?: RangeTblFunction): RangeTblFunction { + const _j = ({} as RangeTblFunction); + _o.set(_j, "funcexpr", _p?.funcexpr); + _o.set(_j, "funccolcount", _p?.funccolcount); + _o.set(_j, "funccolnames", _p?.funccolnames); + _o.set(_j, "funccoltypes", _p?.funccoltypes); + _o.set(_j, "funccoltypmods", _p?.funccoltypmods); + _o.set(_j, "funccolcollations", _p?.funccolcollations); + _o.set(_j, "funcparams", _p?.funcparams); + return _j; + }, + tableSampleClause(_p?: TableSampleClause): TableSampleClause { + const _j = ({} as TableSampleClause); + _o.set(_j, "tsmhandler", _p?.tsmhandler); + _o.set(_j, "args", _p?.args); + _o.set(_j, "repeatable", _p?.repeatable); + return _j; + }, + withCheckOption(_p?: WithCheckOption): WithCheckOption { + const _j = ({} as WithCheckOption); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "relname", _p?.relname); + _o.set(_j, "polname", _p?.polname); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "cascaded", _p?.cascaded); + return _j; + }, + sortGroupClause(_p?: SortGroupClause): SortGroupClause { + const _j = ({} as SortGroupClause); + _o.set(_j, "tleSortGroupRef", _p?.tleSortGroupRef); + _o.set(_j, "eqop", _p?.eqop); + _o.set(_j, "sortop", _p?.sortop); + _o.set(_j, "nulls_first", _p?.nulls_first); + _o.set(_j, "hashable", _p?.hashable); + return _j; + }, + groupingSet(_p?: GroupingSet): GroupingSet { + const _j = ({} as GroupingSet); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "content", _p?.content); + _o.set(_j, "location", _p?.location); + return _j; + }, + windowClause(_p?: WindowClause): WindowClause { + const _j = ({} as WindowClause); + _o.set(_j, "name", _p?.name); + _o.set(_j, "refname", _p?.refname); + _o.set(_j, "partitionClause", _p?.partitionClause); + _o.set(_j, "orderClause", _p?.orderClause); + _o.set(_j, "frameOptions", _p?.frameOptions); + _o.set(_j, "startOffset", _p?.startOffset); + _o.set(_j, "endOffset", _p?.endOffset); + _o.set(_j, "runCondition", _p?.runCondition); + _o.set(_j, "startInRangeFunc", _p?.startInRangeFunc); + _o.set(_j, "endInRangeFunc", _p?.endInRangeFunc); + _o.set(_j, "inRangeColl", _p?.inRangeColl); + _o.set(_j, "inRangeAsc", _p?.inRangeAsc); + _o.set(_j, "inRangeNullsFirst", _p?.inRangeNullsFirst); + _o.set(_j, "winref", _p?.winref); + _o.set(_j, "copiedOrder", _p?.copiedOrder); + return _j; + }, + rowMarkClause(_p?: RowMarkClause): RowMarkClause { + const _j = ({} as RowMarkClause); + _o.set(_j, "rti", _p?.rti); + _o.set(_j, "strength", _p?.strength); + _o.set(_j, "waitPolicy", _p?.waitPolicy); + _o.set(_j, "pushedDown", _p?.pushedDown); + return _j; + }, + withClause(_p?: WithClause): WithClause { + const _j = ({} as WithClause); + _o.set(_j, "ctes", _p?.ctes); + _o.set(_j, "recursive", _p?.recursive); + _o.set(_j, "location", _p?.location); + return _j; + }, + inferClause(_p?: InferClause): InferClause { + const _j = ({} as InferClause); + _o.set(_j, "indexElems", _p?.indexElems); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "conname", _p?.conname); + _o.set(_j, "location", _p?.location); + return _j; + }, + onConflictClause(_p?: OnConflictClause): OnConflictClause { + const _j = ({} as OnConflictClause); + _o.set(_j, "action", _p?.action); + _o.set(_j, "infer", _p?.infer); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "location", _p?.location); + return _j; + }, + cteSearchClause(_p?: CTESearchClause): CTESearchClause { + const _j = ({} as CTESearchClause); + _o.set(_j, "search_col_list", _p?.search_col_list); + _o.set(_j, "search_breadth_first", _p?.search_breadth_first); + _o.set(_j, "search_seq_column", _p?.search_seq_column); + _o.set(_j, "location", _p?.location); + return _j; + }, + cteCycleClause(_p?: CTECycleClause): CTECycleClause { + const _j = ({} as CTECycleClause); + _o.set(_j, "cycle_col_list", _p?.cycle_col_list); + _o.set(_j, "cycle_mark_column", _p?.cycle_mark_column); + _o.set(_j, "cycle_mark_value", _p?.cycle_mark_value); + _o.set(_j, "cycle_mark_default", _p?.cycle_mark_default); + _o.set(_j, "cycle_path_column", _p?.cycle_path_column); + _o.set(_j, "location", _p?.location); + _o.set(_j, "cycle_mark_type", _p?.cycle_mark_type); + _o.set(_j, "cycle_mark_typmod", _p?.cycle_mark_typmod); + _o.set(_j, "cycle_mark_collation", _p?.cycle_mark_collation); + _o.set(_j, "cycle_mark_neop", _p?.cycle_mark_neop); + return _j; + }, + commonTableExpr(_p?: CommonTableExpr): CommonTableExpr { + const _j = ({} as CommonTableExpr); + _o.set(_j, "ctename", _p?.ctename); + _o.set(_j, "aliascolnames", _p?.aliascolnames); + _o.set(_j, "ctematerialized", _p?.ctematerialized); + _o.set(_j, "ctequery", _p?.ctequery); + _o.set(_j, "search_clause", _p?.search_clause); + _o.set(_j, "cycle_clause", _p?.cycle_clause); + _o.set(_j, "location", _p?.location); + _o.set(_j, "cterecursive", _p?.cterecursive); + _o.set(_j, "cterefcount", _p?.cterefcount); + _o.set(_j, "ctecolnames", _p?.ctecolnames); + _o.set(_j, "ctecoltypes", _p?.ctecoltypes); + _o.set(_j, "ctecoltypmods", _p?.ctecoltypmods); + _o.set(_j, "ctecolcollations", _p?.ctecolcollations); + return _j; + }, + mergeWhenClause(_p?: MergeWhenClause): MergeWhenClause { + const _j = ({} as MergeWhenClause); + _o.set(_j, "matched", _p?.matched); + _o.set(_j, "commandType", _p?.commandType); + _o.set(_j, "override", _p?.override); + _o.set(_j, "condition", _p?.condition); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "values", _p?.values); + return _j; + }, + mergeAction(_p?: MergeAction): MergeAction { + const _j = ({} as MergeAction); + _o.set(_j, "matched", _p?.matched); + _o.set(_j, "commandType", _p?.commandType); + _o.set(_j, "override", _p?.override); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "updateColnos", _p?.updateColnos); + return _j; + }, + triggerTransition(_p?: TriggerTransition): TriggerTransition { + const _j = ({} as TriggerTransition); + _o.set(_j, "name", _p?.name); + _o.set(_j, "isNew", _p?.isNew); + _o.set(_j, "isTable", _p?.isTable); + return _j; + }, + jsonOutput(_p?: JsonOutput): JsonOutput { + const _j = ({} as JsonOutput); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "returning", _p?.returning); + return _j; + }, + jsonKeyValue(_p?: JsonKeyValue): JsonKeyValue { + const _j = ({} as JsonKeyValue); + _o.set(_j, "key", _p?.key); + _o.set(_j, "value", _p?.value); + return _j; + }, + jsonObjectConstructor(_p?: JsonObjectConstructor): JsonObjectConstructor { + const _j = ({} as JsonObjectConstructor); + _o.set(_j, "exprs", _p?.exprs); + _o.set(_j, "output", _p?.output); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "unique", _p?.unique); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonArrayConstructor(_p?: JsonArrayConstructor): JsonArrayConstructor { + const _j = ({} as JsonArrayConstructor); + _o.set(_j, "exprs", _p?.exprs); + _o.set(_j, "output", _p?.output); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonArrayQueryConstructor(_p?: JsonArrayQueryConstructor): JsonArrayQueryConstructor { + const _j = ({} as JsonArrayQueryConstructor); + _o.set(_j, "query", _p?.query); + _o.set(_j, "output", _p?.output); + _o.set(_j, "format", _p?.format); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonAggConstructor(_p?: JsonAggConstructor): JsonAggConstructor { + const _j = ({} as JsonAggConstructor); + _o.set(_j, "output", _p?.output); + _o.set(_j, "agg_filter", _p?.agg_filter); + _o.set(_j, "agg_order", _p?.agg_order); + _o.set(_j, "over", _p?.over); + _o.set(_j, "location", _p?.location); + return _j; + }, + jsonObjectAgg(_p?: JsonObjectAgg): JsonObjectAgg { + const _j = ({} as JsonObjectAgg); + _o.set(_j, "constructor", _p?.constructor); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + _o.set(_j, "unique", _p?.unique); + return _j; + }, + jsonArrayAgg(_p?: JsonArrayAgg): JsonArrayAgg { + const _j = ({} as JsonArrayAgg); + _o.set(_j, "constructor", _p?.constructor); + _o.set(_j, "arg", _p?.arg); + _o.set(_j, "absent_on_null", _p?.absent_on_null); + return _j; + }, + rawStmt(_p?: RawStmt): RawStmt { + const _j = ({} as RawStmt); + _o.set(_j, "stmt", _p?.stmt); + _o.set(_j, "stmt_location", _p?.stmt_location); + _o.set(_j, "stmt_len", _p?.stmt_len); + return _j; + }, + insertStmt(_p?: InsertStmt): InsertStmt { + const _j = ({} as InsertStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "cols", _p?.cols); + _o.set(_j, "selectStmt", _p?.selectStmt); + _o.set(_j, "onConflictClause", _p?.onConflictClause); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "withClause", _p?.withClause); + _o.set(_j, "override", _p?.override); + return _j; + }, + deleteStmt(_p?: DeleteStmt): DeleteStmt { + const _j = ({} as DeleteStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "usingClause", _p?.usingClause); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "withClause", _p?.withClause); + return _j; + }, + updateStmt(_p?: UpdateStmt): UpdateStmt { + const _j = ({} as UpdateStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "fromClause", _p?.fromClause); + _o.set(_j, "returningList", _p?.returningList); + _o.set(_j, "withClause", _p?.withClause); + return _j; + }, + mergeStmt(_p?: MergeStmt): MergeStmt { + const _j = ({} as MergeStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "sourceRelation", _p?.sourceRelation); + _o.set(_j, "joinCondition", _p?.joinCondition); + _o.set(_j, "mergeWhenClauses", _p?.mergeWhenClauses); + _o.set(_j, "withClause", _p?.withClause); + return _j; + }, + selectStmt(_p?: SelectStmt): SelectStmt { + const _j = ({} as SelectStmt); + _o.set(_j, "distinctClause", _p?.distinctClause); + _o.set(_j, "intoClause", _p?.intoClause); + _o.set(_j, "targetList", _p?.targetList); + _o.set(_j, "fromClause", _p?.fromClause); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "groupClause", _p?.groupClause); + _o.set(_j, "groupDistinct", _p?.groupDistinct); + _o.set(_j, "havingClause", _p?.havingClause); + _o.set(_j, "windowClause", _p?.windowClause); + _o.set(_j, "valuesLists", _p?.valuesLists); + _o.set(_j, "sortClause", _p?.sortClause); + _o.set(_j, "limitOffset", _p?.limitOffset); + _o.set(_j, "limitCount", _p?.limitCount); + _o.set(_j, "limitOption", _p?.limitOption); + _o.set(_j, "lockingClause", _p?.lockingClause); + _o.set(_j, "withClause", _p?.withClause); + _o.set(_j, "op", _p?.op); + _o.set(_j, "all", _p?.all); + _o.set(_j, "larg", _p?.larg); + _o.set(_j, "rarg", _p?.rarg); + return _j; + }, + setOperationStmt(_p?: SetOperationStmt): SetOperationStmt { + const _j = ({} as SetOperationStmt); + _o.set(_j, "op", _p?.op); + _o.set(_j, "all", _p?.all); + _o.set(_j, "larg", _p?.larg); + _o.set(_j, "rarg", _p?.rarg); + _o.set(_j, "colTypes", _p?.colTypes); + _o.set(_j, "colTypmods", _p?.colTypmods); + _o.set(_j, "colCollations", _p?.colCollations); + _o.set(_j, "groupClauses", _p?.groupClauses); + return _j; + }, + returnStmt(_p?: ReturnStmt): ReturnStmt { + const _j = ({} as ReturnStmt); + _o.set(_j, "returnval", _p?.returnval); + return _j; + }, + plAssignStmt(_p?: PLAssignStmt): PLAssignStmt { + const _j = ({} as PLAssignStmt); + _o.set(_j, "name", _p?.name); + _o.set(_j, "indirection", _p?.indirection); + _o.set(_j, "nnames", _p?.nnames); + _o.set(_j, "val", _p?.val); + _o.set(_j, "location", _p?.location); + return _j; + }, + createSchemaStmt(_p?: CreateSchemaStmt): CreateSchemaStmt { + const _j = ({} as CreateSchemaStmt); + _o.set(_j, "schemaname", _p?.schemaname); + _o.set(_j, "authrole", _p?.authrole); + _o.set(_j, "schemaElts", _p?.schemaElts); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + alterTableStmt(_p?: AlterTableStmt): AlterTableStmt { + const _j = ({} as AlterTableStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "cmds", _p?.cmds); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + replicaIdentityStmt(_p?: ReplicaIdentityStmt): ReplicaIdentityStmt { + const _j = ({} as ReplicaIdentityStmt); + _o.set(_j, "identity_type", _p?.identity_type); + _o.set(_j, "name", _p?.name); + return _j; + }, + alterTableCmd(_p?: AlterTableCmd): AlterTableCmd { + const _j = ({} as AlterTableCmd); + _o.set(_j, "subtype", _p?.subtype); + _o.set(_j, "name", _p?.name); + _o.set(_j, "num", _p?.num); + _o.set(_j, "newowner", _p?.newowner); + _o.set(_j, "def", _p?.def); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "recurse", _p?.recurse); + return _j; + }, + alterCollationStmt(_p?: AlterCollationStmt): AlterCollationStmt { + const _j = ({} as AlterCollationStmt); + _o.set(_j, "collname", _p?.collname); + return _j; + }, + alterDomainStmt(_p?: AlterDomainStmt): AlterDomainStmt { + const _j = ({} as AlterDomainStmt); + _o.set(_j, "subtype", _p?.subtype); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "name", _p?.name); + _o.set(_j, "def", _p?.def); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + grantStmt(_p?: GrantStmt): GrantStmt { + const _j = ({} as GrantStmt); + _o.set(_j, "is_grant", _p?.is_grant); + _o.set(_j, "targtype", _p?.targtype); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "objects", _p?.objects); + _o.set(_j, "privileges", _p?.privileges); + _o.set(_j, "grantees", _p?.grantees); + _o.set(_j, "grant_option", _p?.grant_option); + _o.set(_j, "grantor", _p?.grantor); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + objectWithArgs(_p?: ObjectWithArgs): ObjectWithArgs { + const _j = ({} as ObjectWithArgs); + _o.set(_j, "objname", _p?.objname); + _o.set(_j, "objargs", _p?.objargs); + _o.set(_j, "objfuncargs", _p?.objfuncargs); + _o.set(_j, "args_unspecified", _p?.args_unspecified); + return _j; + }, + accessPriv(_p?: AccessPriv): AccessPriv { + const _j = ({} as AccessPriv); + _o.set(_j, "priv_name", _p?.priv_name); + _o.set(_j, "cols", _p?.cols); + return _j; + }, + grantRoleStmt(_p?: GrantRoleStmt): GrantRoleStmt { + const _j = ({} as GrantRoleStmt); + _o.set(_j, "granted_roles", _p?.granted_roles); + _o.set(_j, "grantee_roles", _p?.grantee_roles); + _o.set(_j, "is_grant", _p?.is_grant); + _o.set(_j, "opt", _p?.opt); + _o.set(_j, "grantor", _p?.grantor); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + alterDefaultPrivilegesStmt(_p?: AlterDefaultPrivilegesStmt): AlterDefaultPrivilegesStmt { + const _j = ({} as AlterDefaultPrivilegesStmt); + _o.set(_j, "options", _p?.options); + _o.set(_j, "action", _p?.action); + return _j; + }, + copyStmt(_p?: CopyStmt): CopyStmt { + const _j = ({} as CopyStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "query", _p?.query); + _o.set(_j, "attlist", _p?.attlist); + _o.set(_j, "is_from", _p?.is_from); + _o.set(_j, "is_program", _p?.is_program); + _o.set(_j, "filename", _p?.filename); + _o.set(_j, "options", _p?.options); + _o.set(_j, "whereClause", _p?.whereClause); + return _j; + }, + variableSetStmt(_p?: VariableSetStmt): VariableSetStmt { + const _j = ({} as VariableSetStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "name", _p?.name); + _o.set(_j, "args", _p?.args); + _o.set(_j, "is_local", _p?.is_local); + return _j; + }, + variableShowStmt(_p?: VariableShowStmt): VariableShowStmt { + const _j = ({} as VariableShowStmt); + _o.set(_j, "name", _p?.name); + return _j; + }, + createStmt(_p?: CreateStmt): CreateStmt { + const _j = ({} as CreateStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "tableElts", _p?.tableElts); + _o.set(_j, "inhRelations", _p?.inhRelations); + _o.set(_j, "partbound", _p?.partbound); + _o.set(_j, "partspec", _p?.partspec); + _o.set(_j, "ofTypename", _p?.ofTypename); + _o.set(_j, "constraints", _p?.constraints); + _o.set(_j, "options", _p?.options); + _o.set(_j, "oncommit", _p?.oncommit); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "accessMethod", _p?.accessMethod); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + constraint(_p?: Constraint): Constraint { + const _j = ({} as Constraint); + _o.set(_j, "contype", _p?.contype); + _o.set(_j, "conname", _p?.conname); + _o.set(_j, "deferrable", _p?.deferrable); + _o.set(_j, "initdeferred", _p?.initdeferred); + _o.set(_j, "location", _p?.location); + _o.set(_j, "is_no_inherit", _p?.is_no_inherit); + _o.set(_j, "raw_expr", _p?.raw_expr); + _o.set(_j, "cooked_expr", _p?.cooked_expr); + _o.set(_j, "generated_when", _p?.generated_when); + _o.set(_j, "nulls_not_distinct", _p?.nulls_not_distinct); + _o.set(_j, "keys", _p?.keys); + _o.set(_j, "including", _p?.including); + _o.set(_j, "exclusions", _p?.exclusions); + _o.set(_j, "options", _p?.options); + _o.set(_j, "indexname", _p?.indexname); + _o.set(_j, "indexspace", _p?.indexspace); + _o.set(_j, "reset_default_tblspc", _p?.reset_default_tblspc); + _o.set(_j, "access_method", _p?.access_method); + _o.set(_j, "where_clause", _p?.where_clause); + _o.set(_j, "pktable", _p?.pktable); + _o.set(_j, "fk_attrs", _p?.fk_attrs); + _o.set(_j, "pk_attrs", _p?.pk_attrs); + _o.set(_j, "fk_matchtype", _p?.fk_matchtype); + _o.set(_j, "fk_upd_action", _p?.fk_upd_action); + _o.set(_j, "fk_del_action", _p?.fk_del_action); + _o.set(_j, "fk_del_set_cols", _p?.fk_del_set_cols); + _o.set(_j, "old_conpfeqop", _p?.old_conpfeqop); + _o.set(_j, "old_pktable_oid", _p?.old_pktable_oid); + _o.set(_j, "skip_validation", _p?.skip_validation); + _o.set(_j, "initially_valid", _p?.initially_valid); + return _j; + }, + createTableSpaceStmt(_p?: CreateTableSpaceStmt): CreateTableSpaceStmt { + const _j = ({} as CreateTableSpaceStmt); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "owner", _p?.owner); + _o.set(_j, "location", _p?.location); + _o.set(_j, "options", _p?.options); + return _j; + }, + dropTableSpaceStmt(_p?: DropTableSpaceStmt): DropTableSpaceStmt { + const _j = ({} as DropTableSpaceStmt); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + alterTableSpaceOptionsStmt(_p?: AlterTableSpaceOptionsStmt): AlterTableSpaceOptionsStmt { + const _j = ({} as AlterTableSpaceOptionsStmt); + _o.set(_j, "tablespacename", _p?.tablespacename); + _o.set(_j, "options", _p?.options); + _o.set(_j, "isReset", _p?.isReset); + return _j; + }, + alterTableMoveAllStmt(_p?: AlterTableMoveAllStmt): AlterTableMoveAllStmt { + const _j = ({} as AlterTableMoveAllStmt); + _o.set(_j, "orig_tablespacename", _p?.orig_tablespacename); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "new_tablespacename", _p?.new_tablespacename); + _o.set(_j, "nowait", _p?.nowait); + return _j; + }, + createExtensionStmt(_p?: CreateExtensionStmt): CreateExtensionStmt { + const _j = ({} as CreateExtensionStmt); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterExtensionStmt(_p?: AlterExtensionStmt): AlterExtensionStmt { + const _j = ({} as AlterExtensionStmt); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterExtensionContentsStmt(_p?: AlterExtensionContentsStmt): AlterExtensionContentsStmt { + const _j = ({} as AlterExtensionContentsStmt); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "action", _p?.action); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "object", _p?.object); + return _j; + }, + createFdwStmt(_p?: CreateFdwStmt): CreateFdwStmt { + const _j = ({} as CreateFdwStmt); + _o.set(_j, "fdwname", _p?.fdwname); + _o.set(_j, "func_options", _p?.func_options); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterFdwStmt(_p?: AlterFdwStmt): AlterFdwStmt { + const _j = ({} as AlterFdwStmt); + _o.set(_j, "fdwname", _p?.fdwname); + _o.set(_j, "func_options", _p?.func_options); + _o.set(_j, "options", _p?.options); + return _j; + }, + createForeignServerStmt(_p?: CreateForeignServerStmt): CreateForeignServerStmt { + const _j = ({} as CreateForeignServerStmt); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "servertype", _p?.servertype); + _o.set(_j, "version", _p?.version); + _o.set(_j, "fdwname", _p?.fdwname); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterForeignServerStmt(_p?: AlterForeignServerStmt): AlterForeignServerStmt { + const _j = ({} as AlterForeignServerStmt); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "version", _p?.version); + _o.set(_j, "options", _p?.options); + _o.set(_j, "has_version", _p?.has_version); + return _j; + }, + createForeignTableStmt(_p?: CreateForeignTableStmt): CreateForeignTableStmt { + const _j = ({} as CreateForeignTableStmt); + _o.set(_j, "base", _p?.base); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "options", _p?.options); + return _j; + }, + createUserMappingStmt(_p?: CreateUserMappingStmt): CreateUserMappingStmt { + const _j = ({} as CreateUserMappingStmt); + _o.set(_j, "user", _p?.user); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterUserMappingStmt(_p?: AlterUserMappingStmt): AlterUserMappingStmt { + const _j = ({} as AlterUserMappingStmt); + _o.set(_j, "user", _p?.user); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "options", _p?.options); + return _j; + }, + dropUserMappingStmt(_p?: DropUserMappingStmt): DropUserMappingStmt { + const _j = ({} as DropUserMappingStmt); + _o.set(_j, "user", _p?.user); + _o.set(_j, "servername", _p?.servername); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + importForeignSchemaStmt(_p?: ImportForeignSchemaStmt): ImportForeignSchemaStmt { + const _j = ({} as ImportForeignSchemaStmt); + _o.set(_j, "server_name", _p?.server_name); + _o.set(_j, "remote_schema", _p?.remote_schema); + _o.set(_j, "local_schema", _p?.local_schema); + _o.set(_j, "list_type", _p?.list_type); + _o.set(_j, "table_list", _p?.table_list); + _o.set(_j, "options", _p?.options); + return _j; + }, + createPolicyStmt(_p?: CreatePolicyStmt): CreatePolicyStmt { + const _j = ({} as CreatePolicyStmt); + _o.set(_j, "policy_name", _p?.policy_name); + _o.set(_j, "table", _p?.table); + _o.set(_j, "cmd_name", _p?.cmd_name); + _o.set(_j, "permissive", _p?.permissive); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "with_check", _p?.with_check); + return _j; + }, + alterPolicyStmt(_p?: AlterPolicyStmt): AlterPolicyStmt { + const _j = ({} as AlterPolicyStmt); + _o.set(_j, "policy_name", _p?.policy_name); + _o.set(_j, "table", _p?.table); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "qual", _p?.qual); + _o.set(_j, "with_check", _p?.with_check); + return _j; + }, + createAmStmt(_p?: CreateAmStmt): CreateAmStmt { + const _j = ({} as CreateAmStmt); + _o.set(_j, "amname", _p?.amname); + _o.set(_j, "handler_name", _p?.handler_name); + _o.set(_j, "amtype", _p?.amtype); + return _j; + }, + createTrigStmt(_p?: CreateTrigStmt): CreateTrigStmt { + const _j = ({} as CreateTrigStmt); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "isconstraint", _p?.isconstraint); + _o.set(_j, "trigname", _p?.trigname); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "funcname", _p?.funcname); + _o.set(_j, "args", _p?.args); + _o.set(_j, "row", _p?.row); + _o.set(_j, "timing", _p?.timing); + _o.set(_j, "events", _p?.events); + _o.set(_j, "columns", _p?.columns); + _o.set(_j, "whenClause", _p?.whenClause); + _o.set(_j, "transitionRels", _p?.transitionRels); + _o.set(_j, "deferrable", _p?.deferrable); + _o.set(_j, "initdeferred", _p?.initdeferred); + _o.set(_j, "constrrel", _p?.constrrel); + return _j; + }, + createEventTrigStmt(_p?: CreateEventTrigStmt): CreateEventTrigStmt { + const _j = ({} as CreateEventTrigStmt); + _o.set(_j, "trigname", _p?.trigname); + _o.set(_j, "eventname", _p?.eventname); + _o.set(_j, "whenclause", _p?.whenclause); + _o.set(_j, "funcname", _p?.funcname); + return _j; + }, + alterEventTrigStmt(_p?: AlterEventTrigStmt): AlterEventTrigStmt { + const _j = ({} as AlterEventTrigStmt); + _o.set(_j, "trigname", _p?.trigname); + _o.set(_j, "tgenabled", _p?.tgenabled); + return _j; + }, + createpLangStmt(_p?: CreatePLangStmt): CreatePLangStmt { + const _j = ({} as CreatePLangStmt); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "plname", _p?.plname); + _o.set(_j, "plhandler", _p?.plhandler); + _o.set(_j, "plinline", _p?.plinline); + _o.set(_j, "plvalidator", _p?.plvalidator); + _o.set(_j, "pltrusted", _p?.pltrusted); + return _j; + }, + createRoleStmt(_p?: CreateRoleStmt): CreateRoleStmt { + const _j = ({} as CreateRoleStmt); + _o.set(_j, "stmt_type", _p?.stmt_type); + _o.set(_j, "role", _p?.role); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterRoleStmt(_p?: AlterRoleStmt): AlterRoleStmt { + const _j = ({} as AlterRoleStmt); + _o.set(_j, "role", _p?.role); + _o.set(_j, "options", _p?.options); + _o.set(_j, "action", _p?.action); + return _j; + }, + alterRoleSetStmt(_p?: AlterRoleSetStmt): AlterRoleSetStmt { + const _j = ({} as AlterRoleSetStmt); + _o.set(_j, "role", _p?.role); + _o.set(_j, "database", _p?.database); + _o.set(_j, "setstmt", _p?.setstmt); + return _j; + }, + dropRoleStmt(_p?: DropRoleStmt): DropRoleStmt { + const _j = ({} as DropRoleStmt); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + createSeqStmt(_p?: CreateSeqStmt): CreateSeqStmt { + const _j = ({} as CreateSeqStmt); + _o.set(_j, "sequence", _p?.sequence); + _o.set(_j, "options", _p?.options); + _o.set(_j, "ownerId", _p?.ownerId); + _o.set(_j, "for_identity", _p?.for_identity); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + alterSeqStmt(_p?: AlterSeqStmt): AlterSeqStmt { + const _j = ({} as AlterSeqStmt); + _o.set(_j, "sequence", _p?.sequence); + _o.set(_j, "options", _p?.options); + _o.set(_j, "for_identity", _p?.for_identity); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + defineStmt(_p?: DefineStmt): DefineStmt { + const _j = ({} as DefineStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "oldstyle", _p?.oldstyle); + _o.set(_j, "defnames", _p?.defnames); + _o.set(_j, "args", _p?.args); + _o.set(_j, "definition", _p?.definition); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "replace", _p?.replace); + return _j; + }, + createDomainStmt(_p?: CreateDomainStmt): CreateDomainStmt { + const _j = ({} as CreateDomainStmt); + _o.set(_j, "domainname", _p?.domainname); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "collClause", _p?.collClause); + _o.set(_j, "constraints", _p?.constraints); + return _j; + }, + createOpClassStmt(_p?: CreateOpClassStmt): CreateOpClassStmt { + const _j = ({} as CreateOpClassStmt); + _o.set(_j, "opclassname", _p?.opclassname); + _o.set(_j, "opfamilyname", _p?.opfamilyname); + _o.set(_j, "amname", _p?.amname); + _o.set(_j, "datatype", _p?.datatype); + _o.set(_j, "items", _p?.items); + _o.set(_j, "isDefault", _p?.isDefault); + return _j; + }, + createOpClassItem(_p?: CreateOpClassItem): CreateOpClassItem { + const _j = ({} as CreateOpClassItem); + _o.set(_j, "itemtype", _p?.itemtype); + _o.set(_j, "name", _p?.name); + _o.set(_j, "number", _p?.number); + _o.set(_j, "order_family", _p?.order_family); + _o.set(_j, "class_args", _p?.class_args); + _o.set(_j, "storedtype", _p?.storedtype); + return _j; + }, + createOpFamilyStmt(_p?: CreateOpFamilyStmt): CreateOpFamilyStmt { + const _j = ({} as CreateOpFamilyStmt); + _o.set(_j, "opfamilyname", _p?.opfamilyname); + _o.set(_j, "amname", _p?.amname); + return _j; + }, + alterOpFamilyStmt(_p?: AlterOpFamilyStmt): AlterOpFamilyStmt { + const _j = ({} as AlterOpFamilyStmt); + _o.set(_j, "opfamilyname", _p?.opfamilyname); + _o.set(_j, "amname", _p?.amname); + _o.set(_j, "isDrop", _p?.isDrop); + _o.set(_j, "items", _p?.items); + return _j; + }, + dropStmt(_p?: DropStmt): DropStmt { + const _j = ({} as DropStmt); + _o.set(_j, "objects", _p?.objects); + _o.set(_j, "removeType", _p?.removeType); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "concurrent", _p?.concurrent); + return _j; + }, + truncateStmt(_p?: TruncateStmt): TruncateStmt { + const _j = ({} as TruncateStmt); + _o.set(_j, "relations", _p?.relations); + _o.set(_j, "restart_seqs", _p?.restart_seqs); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + commentStmt(_p?: CommentStmt): CommentStmt { + const _j = ({} as CommentStmt); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "object", _p?.object); + _o.set(_j, "comment", _p?.comment); + return _j; + }, + secLabelStmt(_p?: SecLabelStmt): SecLabelStmt { + const _j = ({} as SecLabelStmt); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "object", _p?.object); + _o.set(_j, "provider", _p?.provider); + _o.set(_j, "label", _p?.label); + return _j; + }, + declareCursorStmt(_p?: DeclareCursorStmt): DeclareCursorStmt { + const _j = ({} as DeclareCursorStmt); + _o.set(_j, "portalname", _p?.portalname); + _o.set(_j, "options", _p?.options); + _o.set(_j, "query", _p?.query); + return _j; + }, + closePortalStmt(_p?: ClosePortalStmt): ClosePortalStmt { + const _j = ({} as ClosePortalStmt); + _o.set(_j, "portalname", _p?.portalname); + return _j; + }, + fetchStmt(_p?: FetchStmt): FetchStmt { + const _j = ({} as FetchStmt); + _o.set(_j, "direction", _p?.direction); + _o.set(_j, "howMany", _p?.howMany); + _o.set(_j, "portalname", _p?.portalname); + _o.set(_j, "ismove", _p?.ismove); + return _j; + }, + indexStmt(_p?: IndexStmt): IndexStmt { + const _j = ({} as IndexStmt); + _o.set(_j, "idxname", _p?.idxname); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "accessMethod", _p?.accessMethod); + _o.set(_j, "tableSpace", _p?.tableSpace); + _o.set(_j, "indexParams", _p?.indexParams); + _o.set(_j, "indexIncludingParams", _p?.indexIncludingParams); + _o.set(_j, "options", _p?.options); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "excludeOpNames", _p?.excludeOpNames); + _o.set(_j, "idxcomment", _p?.idxcomment); + _o.set(_j, "indexOid", _p?.indexOid); + _o.set(_j, "oldNumber", _p?.oldNumber); + _o.set(_j, "oldCreateSubid", _p?.oldCreateSubid); + _o.set(_j, "oldFirstRelfilelocatorSubid", _p?.oldFirstRelfilelocatorSubid); + _o.set(_j, "unique", _p?.unique); + _o.set(_j, "nulls_not_distinct", _p?.nulls_not_distinct); + _o.set(_j, "primary", _p?.primary); + _o.set(_j, "isconstraint", _p?.isconstraint); + _o.set(_j, "deferrable", _p?.deferrable); + _o.set(_j, "initdeferred", _p?.initdeferred); + _o.set(_j, "transformed", _p?.transformed); + _o.set(_j, "concurrent", _p?.concurrent); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + _o.set(_j, "reset_default_tblspc", _p?.reset_default_tblspc); + return _j; + }, + createStatsStmt(_p?: CreateStatsStmt): CreateStatsStmt { + const _j = ({} as CreateStatsStmt); + _o.set(_j, "defnames", _p?.defnames); + _o.set(_j, "stat_types", _p?.stat_types); + _o.set(_j, "exprs", _p?.exprs); + _o.set(_j, "relations", _p?.relations); + _o.set(_j, "stxcomment", _p?.stxcomment); + _o.set(_j, "transformed", _p?.transformed); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + statsElem(_p?: StatsElem): StatsElem { + const _j = ({} as StatsElem); + _o.set(_j, "name", _p?.name); + _o.set(_j, "expr", _p?.expr); + return _j; + }, + alterStatsStmt(_p?: AlterStatsStmt): AlterStatsStmt { + const _j = ({} as AlterStatsStmt); + _o.set(_j, "defnames", _p?.defnames); + _o.set(_j, "stxstattarget", _p?.stxstattarget); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + createFunctionStmt(_p?: CreateFunctionStmt): CreateFunctionStmt { + const _j = ({} as CreateFunctionStmt); + _o.set(_j, "is_procedure", _p?.is_procedure); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "funcname", _p?.funcname); + _o.set(_j, "parameters", _p?.parameters); + _o.set(_j, "returnType", _p?.returnType); + _o.set(_j, "options", _p?.options); + _o.set(_j, "sql_body", _p?.sql_body); + return _j; + }, + functionParameter(_p?: FunctionParameter): FunctionParameter { + const _j = ({} as FunctionParameter); + _o.set(_j, "name", _p?.name); + _o.set(_j, "argType", _p?.argType); + _o.set(_j, "mode", _p?.mode); + _o.set(_j, "defexpr", _p?.defexpr); + return _j; + }, + alterFunctionStmt(_p?: AlterFunctionStmt): AlterFunctionStmt { + const _j = ({} as AlterFunctionStmt); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "func", _p?.func); + _o.set(_j, "actions", _p?.actions); + return _j; + }, + doStmt(_p?: DoStmt): DoStmt { + const _j = ({} as DoStmt); + _o.set(_j, "args", _p?.args); + return _j; + }, + inlineCodeBlock(_p?: InlineCodeBlock): InlineCodeBlock { + const _j = ({} as InlineCodeBlock); + _o.set(_j, "source_text", _p?.source_text); + _o.set(_j, "langOid", _p?.langOid); + _o.set(_j, "langIsTrusted", _p?.langIsTrusted); + _o.set(_j, "atomic", _p?.atomic); + return _j; + }, + callStmt(_p?: CallStmt): CallStmt { + const _j = ({} as CallStmt); + _o.set(_j, "funccall", _p?.funccall); + _o.set(_j, "funcexpr", _p?.funcexpr); + _o.set(_j, "outargs", _p?.outargs); + return _j; + }, + callContext(_p?: CallContext): CallContext { + const _j = ({} as CallContext); + _o.set(_j, "atomic", _p?.atomic); + return _j; + }, + renameStmt(_p?: RenameStmt): RenameStmt { + const _j = ({} as RenameStmt); + _o.set(_j, "renameType", _p?.renameType); + _o.set(_j, "relationType", _p?.relationType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "newname", _p?.newname); + _o.set(_j, "behavior", _p?.behavior); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + alterObjectDependsStmt(_p?: AlterObjectDependsStmt): AlterObjectDependsStmt { + const _j = ({} as AlterObjectDependsStmt); + _o.set(_j, "objectType", _p?.objectType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "extname", _p?.extname); + _o.set(_j, "remove", _p?.remove); + return _j; + }, + alterObjectSchemaStmt(_p?: AlterObjectSchemaStmt): AlterObjectSchemaStmt { + const _j = ({} as AlterObjectSchemaStmt); + _o.set(_j, "objectType", _p?.objectType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "newschema", _p?.newschema); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + alterOwnerStmt(_p?: AlterOwnerStmt): AlterOwnerStmt { + const _j = ({} as AlterOwnerStmt); + _o.set(_j, "objectType", _p?.objectType); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "object", _p?.object); + _o.set(_j, "newowner", _p?.newowner); + return _j; + }, + alterOperatorStmt(_p?: AlterOperatorStmt): AlterOperatorStmt { + const _j = ({} as AlterOperatorStmt); + _o.set(_j, "opername", _p?.opername); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterTypeStmt(_p?: AlterTypeStmt): AlterTypeStmt { + const _j = ({} as AlterTypeStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "options", _p?.options); + return _j; + }, + ruleStmt(_p?: RuleStmt): RuleStmt { + const _j = ({} as RuleStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "rulename", _p?.rulename); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "event", _p?.event); + _o.set(_j, "instead", _p?.instead); + _o.set(_j, "actions", _p?.actions); + _o.set(_j, "replace", _p?.replace); + return _j; + }, + notifyStmt(_p?: NotifyStmt): NotifyStmt { + const _j = ({} as NotifyStmt); + _o.set(_j, "conditionname", _p?.conditionname); + _o.set(_j, "payload", _p?.payload); + return _j; + }, + listenStmt(_p?: ListenStmt): ListenStmt { + const _j = ({} as ListenStmt); + _o.set(_j, "conditionname", _p?.conditionname); + return _j; + }, + unlistenStmt(_p?: UnlistenStmt): UnlistenStmt { + const _j = ({} as UnlistenStmt); + _o.set(_j, "conditionname", _p?.conditionname); + return _j; + }, + transactionStmt(_p?: TransactionStmt): TransactionStmt { + const _j = ({} as TransactionStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "options", _p?.options); + _o.set(_j, "savepoint_name", _p?.savepoint_name); + _o.set(_j, "gid", _p?.gid); + _o.set(_j, "chain", _p?.chain); + return _j; + }, + compositeTypeStmt(_p?: CompositeTypeStmt): CompositeTypeStmt { + const _j = ({} as CompositeTypeStmt); + _o.set(_j, "typevar", _p?.typevar); + _o.set(_j, "coldeflist", _p?.coldeflist); + return _j; + }, + createEnumStmt(_p?: CreateEnumStmt): CreateEnumStmt { + const _j = ({} as CreateEnumStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "vals", _p?.vals); + return _j; + }, + createRangeStmt(_p?: CreateRangeStmt): CreateRangeStmt { + const _j = ({} as CreateRangeStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "params", _p?.params); + return _j; + }, + alterEnumStmt(_p?: AlterEnumStmt): AlterEnumStmt { + const _j = ({} as AlterEnumStmt); + _o.set(_j, "typeName", _p?.typeName); + _o.set(_j, "oldVal", _p?.oldVal); + _o.set(_j, "newVal", _p?.newVal); + _o.set(_j, "newValNeighbor", _p?.newValNeighbor); + _o.set(_j, "newValIsAfter", _p?.newValIsAfter); + _o.set(_j, "skipIfNewValExists", _p?.skipIfNewValExists); + return _j; + }, + viewStmt(_p?: ViewStmt): ViewStmt { + const _j = ({} as ViewStmt); + _o.set(_j, "view", _p?.view); + _o.set(_j, "aliases", _p?.aliases); + _o.set(_j, "query", _p?.query); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "options", _p?.options); + _o.set(_j, "withCheckOption", _p?.withCheckOption); + return _j; + }, + loadStmt(_p?: LoadStmt): LoadStmt { + const _j = ({} as LoadStmt); + _o.set(_j, "filename", _p?.filename); + return _j; + }, + createdbStmt(_p?: CreatedbStmt): CreatedbStmt { + const _j = ({} as CreatedbStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterDatabaseStmt(_p?: AlterDatabaseStmt): AlterDatabaseStmt { + const _j = ({} as AlterDatabaseStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterDatabaseRefreshCollStmt(_p?: AlterDatabaseRefreshCollStmt): AlterDatabaseRefreshCollStmt { + const _j = ({} as AlterDatabaseRefreshCollStmt); + _o.set(_j, "dbname", _p?.dbname); + return _j; + }, + alterDatabaseSetStmt(_p?: AlterDatabaseSetStmt): AlterDatabaseSetStmt { + const _j = ({} as AlterDatabaseSetStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "setstmt", _p?.setstmt); + return _j; + }, + dropdbStmt(_p?: DropdbStmt): DropdbStmt { + const _j = ({} as DropdbStmt); + _o.set(_j, "dbname", _p?.dbname); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterSystemStmt(_p?: AlterSystemStmt): AlterSystemStmt { + const _j = ({} as AlterSystemStmt); + _o.set(_j, "setstmt", _p?.setstmt); + return _j; + }, + clusterStmt(_p?: ClusterStmt): ClusterStmt { + const _j = ({} as ClusterStmt); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "indexname", _p?.indexname); + _o.set(_j, "params", _p?.params); + return _j; + }, + vacuumStmt(_p?: VacuumStmt): VacuumStmt { + const _j = ({} as VacuumStmt); + _o.set(_j, "options", _p?.options); + _o.set(_j, "rels", _p?.rels); + _o.set(_j, "is_vacuumcmd", _p?.is_vacuumcmd); + return _j; + }, + vacuumRelation(_p?: VacuumRelation): VacuumRelation { + const _j = ({} as VacuumRelation); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "oid", _p?.oid); + _o.set(_j, "va_cols", _p?.va_cols); + return _j; + }, + explainStmt(_p?: ExplainStmt): ExplainStmt { + const _j = ({} as ExplainStmt); + _o.set(_j, "query", _p?.query); + _o.set(_j, "options", _p?.options); + return _j; + }, + createTableAsStmt(_p?: CreateTableAsStmt): CreateTableAsStmt { + const _j = ({} as CreateTableAsStmt); + _o.set(_j, "query", _p?.query); + _o.set(_j, "into", _p?.into); + _o.set(_j, "objtype", _p?.objtype); + _o.set(_j, "is_select_into", _p?.is_select_into); + _o.set(_j, "if_not_exists", _p?.if_not_exists); + return _j; + }, + refreshMatViewStmt(_p?: RefreshMatViewStmt): RefreshMatViewStmt { + const _j = ({} as RefreshMatViewStmt); + _o.set(_j, "concurrent", _p?.concurrent); + _o.set(_j, "skipData", _p?.skipData); + _o.set(_j, "relation", _p?.relation); + return _j; + }, + checkPointStmt(_p?: CheckPointStmt): CheckPointStmt { + const _j = ({} as CheckPointStmt); + return _j; + }, + discardStmt(_p?: DiscardStmt): DiscardStmt { + const _j = ({} as DiscardStmt); + _o.set(_j, "target", _p?.target); + return _j; + }, + lockStmt(_p?: LockStmt): LockStmt { + const _j = ({} as LockStmt); + _o.set(_j, "relations", _p?.relations); + _o.set(_j, "mode", _p?.mode); + _o.set(_j, "nowait", _p?.nowait); + return _j; + }, + constraintsSetStmt(_p?: ConstraintsSetStmt): ConstraintsSetStmt { + const _j = ({} as ConstraintsSetStmt); + _o.set(_j, "constraints", _p?.constraints); + _o.set(_j, "deferred", _p?.deferred); + return _j; + }, + reindexStmt(_p?: ReindexStmt): ReindexStmt { + const _j = ({} as ReindexStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "name", _p?.name); + _o.set(_j, "params", _p?.params); + return _j; + }, + createConversionStmt(_p?: CreateConversionStmt): CreateConversionStmt { + const _j = ({} as CreateConversionStmt); + _o.set(_j, "conversion_name", _p?.conversion_name); + _o.set(_j, "for_encoding_name", _p?.for_encoding_name); + _o.set(_j, "to_encoding_name", _p?.to_encoding_name); + _o.set(_j, "func_name", _p?.func_name); + _o.set(_j, "def", _p?.def); + return _j; + }, + createCastStmt(_p?: CreateCastStmt): CreateCastStmt { + const _j = ({} as CreateCastStmt); + _o.set(_j, "sourcetype", _p?.sourcetype); + _o.set(_j, "targettype", _p?.targettype); + _o.set(_j, "func", _p?.func); + _o.set(_j, "context", _p?.context); + _o.set(_j, "inout", _p?.inout); + return _j; + }, + createTransformStmt(_p?: CreateTransformStmt): CreateTransformStmt { + const _j = ({} as CreateTransformStmt); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "type_name", _p?.type_name); + _o.set(_j, "lang", _p?.lang); + _o.set(_j, "fromsql", _p?.fromsql); + _o.set(_j, "tosql", _p?.tosql); + return _j; + }, + prepareStmt(_p?: PrepareStmt): PrepareStmt { + const _j = ({} as PrepareStmt); + _o.set(_j, "name", _p?.name); + _o.set(_j, "argtypes", _p?.argtypes); + _o.set(_j, "query", _p?.query); + return _j; + }, + executeStmt(_p?: ExecuteStmt): ExecuteStmt { + const _j = ({} as ExecuteStmt); + _o.set(_j, "name", _p?.name); + _o.set(_j, "params", _p?.params); + return _j; + }, + deallocateStmt(_p?: DeallocateStmt): DeallocateStmt { + const _j = ({} as DeallocateStmt); + _o.set(_j, "name", _p?.name); + return _j; + }, + dropOwnedStmt(_p?: DropOwnedStmt): DropOwnedStmt { + const _j = ({} as DropOwnedStmt); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + reassignOwnedStmt(_p?: ReassignOwnedStmt): ReassignOwnedStmt { + const _j = ({} as ReassignOwnedStmt); + _o.set(_j, "roles", _p?.roles); + _o.set(_j, "newrole", _p?.newrole); + return _j; + }, + altertsDictionaryStmt(_p?: AlterTSDictionaryStmt): AlterTSDictionaryStmt { + const _j = ({} as AlterTSDictionaryStmt); + _o.set(_j, "dictname", _p?.dictname); + _o.set(_j, "options", _p?.options); + return _j; + }, + altertsConfigurationStmt(_p?: AlterTSConfigurationStmt): AlterTSConfigurationStmt { + const _j = ({} as AlterTSConfigurationStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "cfgname", _p?.cfgname); + _o.set(_j, "tokentype", _p?.tokentype); + _o.set(_j, "dicts", _p?.dicts); + _o.set(_j, "override", _p?.override); + _o.set(_j, "replace", _p?.replace); + _o.set(_j, "missing_ok", _p?.missing_ok); + return _j; + }, + publicationTable(_p?: PublicationTable): PublicationTable { + const _j = ({} as PublicationTable); + _o.set(_j, "relation", _p?.relation); + _o.set(_j, "whereClause", _p?.whereClause); + _o.set(_j, "columns", _p?.columns); + return _j; + }, + publicationObjSpec(_p?: PublicationObjSpec): PublicationObjSpec { + const _j = ({} as PublicationObjSpec); + _o.set(_j, "pubobjtype", _p?.pubobjtype); + _o.set(_j, "name", _p?.name); + _o.set(_j, "pubtable", _p?.pubtable); + _o.set(_j, "location", _p?.location); + return _j; + }, + createPublicationStmt(_p?: CreatePublicationStmt): CreatePublicationStmt { + const _j = ({} as CreatePublicationStmt); + _o.set(_j, "pubname", _p?.pubname); + _o.set(_j, "options", _p?.options); + _o.set(_j, "pubobjects", _p?.pubobjects); + _o.set(_j, "for_all_tables", _p?.for_all_tables); + return _j; + }, + alterPublicationStmt(_p?: AlterPublicationStmt): AlterPublicationStmt { + const _j = ({} as AlterPublicationStmt); + _o.set(_j, "pubname", _p?.pubname); + _o.set(_j, "options", _p?.options); + _o.set(_j, "pubobjects", _p?.pubobjects); + _o.set(_j, "for_all_tables", _p?.for_all_tables); + _o.set(_j, "action", _p?.action); + return _j; + }, + createSubscriptionStmt(_p?: CreateSubscriptionStmt): CreateSubscriptionStmt { + const _j = ({} as CreateSubscriptionStmt); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "conninfo", _p?.conninfo); + _o.set(_j, "publication", _p?.publication); + _o.set(_j, "options", _p?.options); + return _j; + }, + alterSubscriptionStmt(_p?: AlterSubscriptionStmt): AlterSubscriptionStmt { + const _j = ({} as AlterSubscriptionStmt); + _o.set(_j, "kind", _p?.kind); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "conninfo", _p?.conninfo); + _o.set(_j, "publication", _p?.publication); + _o.set(_j, "options", _p?.options); + return _j; + }, + dropSubscriptionStmt(_p?: DropSubscriptionStmt): DropSubscriptionStmt { + const _j = ({} as DropSubscriptionStmt); + _o.set(_j, "subname", _p?.subname); + _o.set(_j, "missing_ok", _p?.missing_ok); + _o.set(_j, "behavior", _p?.behavior); + return _j; + }, + scanToken(_p?: ScanToken): ScanToken { + const _j = ({} as ScanToken); + _o.set(_j, "start", _p?.start); + _o.set(_j, "end", _p?.end); + _o.set(_j, "token", _p?.token); + _o.set(_j, "keywordKind", _p?.keywordKind); return _j; } };", @@ -16124,678 +15108,548 @@ export interface ScanResult { }; } export interface Integer { - Integer: { - ival?: number; - }; + ival?: number; } export interface Float { - Float: { - fval?: string; - }; + fval?: string; } export interface Boolean { - Boolean: { - boolval?: boolean; - }; + boolval?: boolean; } export interface String { - String: { - sval?: string; - }; + sval?: string; } export interface BitString { - BitString: { - bsval?: string; - }; + bsval?: string; } export interface List { - List: { - items?: Node[]; - }; + items?: Node[]; } export interface OidList { - OidList: { - items?: Node[]; - }; + items?: Node[]; } export interface IntList { - IntList: { - items?: Node[]; - }; + items?: Node[]; } export interface A_Const { - A_Const: { - ival?: Integer; - fval?: Float; - boolval?: Boolean; - sval?: String; - bsval?: BitString; - isnull?: boolean; - location?: number; - }; + ival?: Integer; + fval?: Float; + boolval?: Boolean; + sval?: String; + bsval?: BitString; + isnull?: boolean; + location?: number; } export interface Alias { - Alias: { - aliasname?: string; - colnames?: Node[]; - }; + aliasname?: string; + colnames?: Node[]; } export interface RangeVar { - RangeVar: { - catalogname?: string; - schemaname?: string; - relname?: string; - inh?: boolean; - relpersistence?: string; - alias?: Alias; - location?: number; - }; + catalogname?: string; + schemaname?: string; + relname?: string; + inh?: boolean; + relpersistence?: string; + alias?: Alias; + location?: number; } export interface TableFunc { - TableFunc: { - ns_uris?: Node[]; - ns_names?: Node[]; - docexpr?: Node; - rowexpr?: Node; - colnames?: Node[]; - coltypes?: Node[]; - coltypmods?: Node[]; - colcollations?: Node[]; - colexprs?: Node[]; - coldefexprs?: Node[]; - notnulls?: bigint[]; - ordinalitycol?: number; - location?: number; - }; + ns_uris?: Node[]; + ns_names?: Node[]; + docexpr?: Node; + rowexpr?: Node; + colnames?: Node[]; + coltypes?: Node[]; + coltypmods?: Node[]; + colcollations?: Node[]; + colexprs?: Node[]; + coldefexprs?: Node[]; + notnulls?: bigint[]; + ordinalitycol?: number; + location?: number; } export interface IntoClause { - IntoClause: { - rel?: RangeVar; - colNames?: Node[]; - accessMethod?: string; - options?: Node[]; - onCommit?: OnCommitAction; - tableSpaceName?: string; - viewQuery?: Node; - skipData?: boolean; - }; + rel?: RangeVar; + colNames?: Node[]; + accessMethod?: string; + options?: Node[]; + onCommit?: OnCommitAction; + tableSpaceName?: string; + viewQuery?: Node; + skipData?: boolean; } export interface Var { - Var: { - xpr?: Node; - varno?: number; - varattno?: number; - vartype?: number; - vartypmod?: number; - varcollid?: number; - varnullingrels?: bigint[]; - varlevelsup?: number; - location?: number; - }; + xpr?: Node; + varno?: number; + varattno?: number; + vartype?: number; + vartypmod?: number; + varcollid?: number; + varnullingrels?: bigint[]; + varlevelsup?: number; + location?: number; } export interface Param { - Param: { - xpr?: Node; - paramkind?: ParamKind; - paramid?: number; - paramtype?: number; - paramtypmod?: number; - paramcollid?: number; - location?: number; - }; + xpr?: Node; + paramkind?: ParamKind; + paramid?: number; + paramtype?: number; + paramtypmod?: number; + paramcollid?: number; + location?: number; } export interface Aggref { - Aggref: { - xpr?: Node; - aggfnoid?: number; - aggtype?: number; - aggcollid?: number; - inputcollid?: number; - aggargtypes?: Node[]; - aggdirectargs?: Node[]; - args?: Node[]; - aggorder?: Node[]; - aggdistinct?: Node[]; - aggfilter?: Node; - aggstar?: boolean; - aggvariadic?: boolean; - aggkind?: string; - agglevelsup?: number; - aggsplit?: AggSplit; - aggno?: number; - aggtransno?: number; - location?: number; - }; + xpr?: Node; + aggfnoid?: number; + aggtype?: number; + aggcollid?: number; + inputcollid?: number; + aggargtypes?: Node[]; + aggdirectargs?: Node[]; + args?: Node[]; + aggorder?: Node[]; + aggdistinct?: Node[]; + aggfilter?: Node; + aggstar?: boolean; + aggvariadic?: boolean; + aggkind?: string; + agglevelsup?: number; + aggsplit?: AggSplit; + aggno?: number; + aggtransno?: number; + location?: number; } export interface GroupingFunc { - GroupingFunc: { - xpr?: Node; - args?: Node[]; - refs?: Node[]; - agglevelsup?: number; - location?: number; - }; + xpr?: Node; + args?: Node[]; + refs?: Node[]; + agglevelsup?: number; + location?: number; } export interface WindowFunc { - WindowFunc: { - xpr?: Node; - winfnoid?: number; - wintype?: number; - wincollid?: number; - inputcollid?: number; - args?: Node[]; - aggfilter?: Node; - winref?: number; - winstar?: boolean; - winagg?: boolean; - location?: number; - }; + xpr?: Node; + winfnoid?: number; + wintype?: number; + wincollid?: number; + inputcollid?: number; + args?: Node[]; + aggfilter?: Node; + winref?: number; + winstar?: boolean; + winagg?: boolean; + location?: number; } export interface SubscriptingRef { - SubscriptingRef: { - xpr?: Node; - refcontainertype?: number; - refelemtype?: number; - refrestype?: number; - reftypmod?: number; - refcollid?: number; - refupperindexpr?: Node[]; - reflowerindexpr?: Node[]; - refexpr?: Node; - refassgnexpr?: Node; - }; + xpr?: Node; + refcontainertype?: number; + refelemtype?: number; + refrestype?: number; + reftypmod?: number; + refcollid?: number; + refupperindexpr?: Node[]; + reflowerindexpr?: Node[]; + refexpr?: Node; + refassgnexpr?: Node; } export interface FuncExpr { - FuncExpr: { - xpr?: Node; - funcid?: number; - funcresulttype?: number; - funcretset?: boolean; - funcvariadic?: boolean; - funcformat?: CoercionForm; - funccollid?: number; - inputcollid?: number; - args?: Node[]; - location?: number; - }; + xpr?: Node; + funcid?: number; + funcresulttype?: number; + funcretset?: boolean; + funcvariadic?: boolean; + funcformat?: CoercionForm; + funccollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; } export interface NamedArgExpr { - NamedArgExpr: { - xpr?: Node; - arg?: Node; - name?: string; - argnumber?: number; - location?: number; - }; + xpr?: Node; + arg?: Node; + name?: string; + argnumber?: number; + location?: number; } export interface OpExpr { - OpExpr: { - xpr?: Node; - opno?: number; - opresulttype?: number; - opretset?: boolean; - opcollid?: number; - inputcollid?: number; - args?: Node[]; - location?: number; - }; + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; } export interface DistinctExpr { - DistinctExpr: { - xpr?: Node; - opno?: number; - opresulttype?: number; - opretset?: boolean; - opcollid?: number; - inputcollid?: number; - args?: Node[]; - location?: number; - }; + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; } export interface NullIfExpr { - NullIfExpr: { - xpr?: Node; - opno?: number; - opresulttype?: number; - opretset?: boolean; - opcollid?: number; - inputcollid?: number; - args?: Node[]; - location?: number; - }; + xpr?: Node; + opno?: number; + opresulttype?: number; + opretset?: boolean; + opcollid?: number; + inputcollid?: number; + args?: Node[]; + location?: number; } export interface ScalarArrayOpExpr { - ScalarArrayOpExpr: { - xpr?: Node; - opno?: number; - useOr?: boolean; - inputcollid?: number; - args?: Node[]; - location?: number; - }; + xpr?: Node; + opno?: number; + useOr?: boolean; + inputcollid?: number; + args?: Node[]; + location?: number; } export interface BoolExpr { - BoolExpr: { - xpr?: Node; - boolop?: BoolExprType; - args?: Node[]; - location?: number; - }; + xpr?: Node; + boolop?: BoolExprType; + args?: Node[]; + location?: number; } export interface SubLink { - SubLink: { - xpr?: Node; - subLinkType?: SubLinkType; - subLinkId?: number; - testexpr?: Node; - operName?: Node[]; - subselect?: Node; - location?: number; - }; + xpr?: Node; + subLinkType?: SubLinkType; + subLinkId?: number; + testexpr?: Node; + operName?: Node[]; + subselect?: Node; + location?: number; } export interface SubPlan { - SubPlan: { - xpr?: Node; - subLinkType?: SubLinkType; - testexpr?: Node; - paramIds?: Node[]; - plan_id?: number; - plan_name?: string; - firstColType?: number; - firstColTypmod?: number; - firstColCollation?: number; - useHashTable?: boolean; - unknownEqFalse?: boolean; - parallel_safe?: boolean; - setParam?: Node[]; - parParam?: Node[]; - args?: Node[]; - startup_cost?: number; - per_call_cost?: number; - }; + xpr?: Node; + subLinkType?: SubLinkType; + testexpr?: Node; + paramIds?: Node[]; + plan_id?: number; + plan_name?: string; + firstColType?: number; + firstColTypmod?: number; + firstColCollation?: number; + useHashTable?: boolean; + unknownEqFalse?: boolean; + parallel_safe?: boolean; + setParam?: Node[]; + parParam?: Node[]; + args?: Node[]; + startup_cost?: number; + per_call_cost?: number; } export interface AlternativeSubPlan { - AlternativeSubPlan: { - xpr?: Node; - subplans?: Node[]; - }; + xpr?: Node; + subplans?: Node[]; } export interface FieldSelect { - FieldSelect: { - xpr?: Node; - arg?: Node; - fieldnum?: number; - resulttype?: number; - resulttypmod?: number; - resultcollid?: number; - }; + xpr?: Node; + arg?: Node; + fieldnum?: number; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; } export interface FieldStore { - FieldStore: { - xpr?: Node; - arg?: Node; - newvals?: Node[]; - fieldnums?: Node[]; - resulttype?: number; - }; + xpr?: Node; + arg?: Node; + newvals?: Node[]; + fieldnums?: Node[]; + resulttype?: number; } export interface RelabelType { - RelabelType: { - xpr?: Node; - arg?: Node; - resulttype?: number; - resulttypmod?: number; - resultcollid?: number; - relabelformat?: CoercionForm; - location?: number; - }; + xpr?: Node; + arg?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + relabelformat?: CoercionForm; + location?: number; } export interface CoerceViaIO { - CoerceViaIO: { - xpr?: Node; - arg?: Node; - resulttype?: number; - resultcollid?: number; - coerceformat?: CoercionForm; - location?: number; - }; + xpr?: Node; + arg?: Node; + resulttype?: number; + resultcollid?: number; + coerceformat?: CoercionForm; + location?: number; } export interface ArrayCoerceExpr { - ArrayCoerceExpr: { - xpr?: Node; - arg?: Node; - elemexpr?: Node; - resulttype?: number; - resulttypmod?: number; - resultcollid?: number; - coerceformat?: CoercionForm; - location?: number; - }; + xpr?: Node; + arg?: Node; + elemexpr?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + coerceformat?: CoercionForm; + location?: number; } export interface ConvertRowtypeExpr { - ConvertRowtypeExpr: { - xpr?: Node; - arg?: Node; - resulttype?: number; - convertformat?: CoercionForm; - location?: number; - }; + xpr?: Node; + arg?: Node; + resulttype?: number; + convertformat?: CoercionForm; + location?: number; } export interface CollateExpr { - CollateExpr: { - xpr?: Node; - arg?: Node; - collOid?: number; - location?: number; - }; + xpr?: Node; + arg?: Node; + collOid?: number; + location?: number; } export interface CaseExpr { - CaseExpr: { - xpr?: Node; - casetype?: number; - casecollid?: number; - arg?: Node; - args?: Node[]; - defresult?: Node; - location?: number; - }; + xpr?: Node; + casetype?: number; + casecollid?: number; + arg?: Node; + args?: Node[]; + defresult?: Node; + location?: number; } export interface CaseWhen { - CaseWhen: { - xpr?: Node; - expr?: Node; - result?: Node; - location?: number; - }; + xpr?: Node; + expr?: Node; + result?: Node; + location?: number; } export interface CaseTestExpr { - CaseTestExpr: { - xpr?: Node; - typeId?: number; - typeMod?: number; - collation?: number; - }; + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; } export interface ArrayExpr { - ArrayExpr: { - xpr?: Node; - array_typeid?: number; - array_collid?: number; - element_typeid?: number; - elements?: Node[]; - multidims?: boolean; - location?: number; - }; + xpr?: Node; + array_typeid?: number; + array_collid?: number; + element_typeid?: number; + elements?: Node[]; + multidims?: boolean; + location?: number; } export interface RowExpr { - RowExpr: { - xpr?: Node; - args?: Node[]; - row_typeid?: number; - row_format?: CoercionForm; - colnames?: Node[]; - location?: number; - }; + xpr?: Node; + args?: Node[]; + row_typeid?: number; + row_format?: CoercionForm; + colnames?: Node[]; + location?: number; } export interface RowCompareExpr { - RowCompareExpr: { - xpr?: Node; - rctype?: RowCompareType; - opnos?: Node[]; - opfamilies?: Node[]; - inputcollids?: Node[]; - largs?: Node[]; - rargs?: Node[]; - }; + xpr?: Node; + rctype?: RowCompareType; + opnos?: Node[]; + opfamilies?: Node[]; + inputcollids?: Node[]; + largs?: Node[]; + rargs?: Node[]; } export interface CoalesceExpr { - CoalesceExpr: { - xpr?: Node; - coalescetype?: number; - coalescecollid?: number; - args?: Node[]; - location?: number; - }; + xpr?: Node; + coalescetype?: number; + coalescecollid?: number; + args?: Node[]; + location?: number; } export interface MinMaxExpr { - MinMaxExpr: { - xpr?: Node; - minmaxtype?: number; - minmaxcollid?: number; - inputcollid?: number; - op?: MinMaxOp; - args?: Node[]; - location?: number; - }; + xpr?: Node; + minmaxtype?: number; + minmaxcollid?: number; + inputcollid?: number; + op?: MinMaxOp; + args?: Node[]; + location?: number; } export interface SQLValueFunction { - SQLValueFunction: { - xpr?: Node; - op?: SQLValueFunctionOp; - type?: number; - typmod?: number; - location?: number; - }; + xpr?: Node; + op?: SQLValueFunctionOp; + type?: number; + typmod?: number; + location?: number; } export interface XmlExpr { - XmlExpr: { - xpr?: Node; - op?: XmlExprOp; - name?: string; - named_args?: Node[]; - arg_names?: Node[]; - args?: Node[]; - xmloption?: XmlOptionType; - indent?: boolean; - type?: number; - typmod?: number; - location?: number; - }; + xpr?: Node; + op?: XmlExprOp; + name?: string; + named_args?: Node[]; + arg_names?: Node[]; + args?: Node[]; + xmloption?: XmlOptionType; + indent?: boolean; + type?: number; + typmod?: number; + location?: number; } export interface JsonFormat { - JsonFormat: { - format_type?: JsonFormatType; - encoding?: JsonEncoding; - location?: number; - }; + format_type?: JsonFormatType; + encoding?: JsonEncoding; + location?: number; } export interface JsonReturning { - JsonReturning: { - format?: JsonFormat; - typid?: number; - typmod?: number; - }; + format?: JsonFormat; + typid?: number; + typmod?: number; } export interface JsonValueExpr { - JsonValueExpr: { - raw_expr?: Node; - formatted_expr?: Node; - format?: JsonFormat; - }; + raw_expr?: Node; + formatted_expr?: Node; + format?: JsonFormat; } export interface JsonConstructorExpr { - JsonConstructorExpr: { - xpr?: Node; - type?: JsonConstructorType; - args?: Node[]; - func?: Node; - coercion?: Node; - returning?: JsonReturning; - absent_on_null?: boolean; - unique?: boolean; - location?: number; - }; + xpr?: Node; + type?: JsonConstructorType; + args?: Node[]; + func?: Node; + coercion?: Node; + returning?: JsonReturning; + absent_on_null?: boolean; + unique?: boolean; + location?: number; } export interface JsonIsPredicate { - JsonIsPredicate: { - expr?: Node; - format?: JsonFormat; - item_type?: JsonValueType; - unique_keys?: boolean; - location?: number; - }; + expr?: Node; + format?: JsonFormat; + item_type?: JsonValueType; + unique_keys?: boolean; + location?: number; } export interface NullTest { - NullTest: { - xpr?: Node; - arg?: Node; - nulltesttype?: NullTestType; - argisrow?: boolean; - location?: number; - }; + xpr?: Node; + arg?: Node; + nulltesttype?: NullTestType; + argisrow?: boolean; + location?: number; } export interface BooleanTest { - BooleanTest: { - xpr?: Node; - arg?: Node; - booltesttype?: BoolTestType; - location?: number; - }; + xpr?: Node; + arg?: Node; + booltesttype?: BoolTestType; + location?: number; } export interface CoerceToDomain { - CoerceToDomain: { - xpr?: Node; - arg?: Node; - resulttype?: number; - resulttypmod?: number; - resultcollid?: number; - coercionformat?: CoercionForm; - location?: number; - }; + xpr?: Node; + arg?: Node; + resulttype?: number; + resulttypmod?: number; + resultcollid?: number; + coercionformat?: CoercionForm; + location?: number; } export interface CoerceToDomainValue { - CoerceToDomainValue: { - xpr?: Node; - typeId?: number; - typeMod?: number; - collation?: number; - location?: number; - }; + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; + location?: number; } export interface SetToDefault { - SetToDefault: { - xpr?: Node; - typeId?: number; - typeMod?: number; - collation?: number; - location?: number; - }; + xpr?: Node; + typeId?: number; + typeMod?: number; + collation?: number; + location?: number; } export interface CurrentOfExpr { - CurrentOfExpr: { - xpr?: Node; - cvarno?: number; - cursor_name?: string; - cursor_param?: number; - }; + xpr?: Node; + cvarno?: number; + cursor_name?: string; + cursor_param?: number; } export interface NextValueExpr { - NextValueExpr: { - xpr?: Node; - seqid?: number; - typeId?: number; - }; + xpr?: Node; + seqid?: number; + typeId?: number; } export interface InferenceElem { - InferenceElem: { - xpr?: Node; - expr?: Node; - infercollid?: number; - inferopclass?: number; - }; + xpr?: Node; + expr?: Node; + infercollid?: number; + inferopclass?: number; } export interface TargetEntry { - TargetEntry: { - xpr?: Node; - expr?: Node; - resno?: number; - resname?: string; - ressortgroupref?: number; - resorigtbl?: number; - resorigcol?: number; - resjunk?: boolean; - }; + xpr?: Node; + expr?: Node; + resno?: number; + resname?: string; + ressortgroupref?: number; + resorigtbl?: number; + resorigcol?: number; + resjunk?: boolean; } export interface RangeTblRef { - RangeTblRef: { - rtindex?: number; - }; + rtindex?: number; } export interface JoinExpr { - JoinExpr: { - jointype?: JoinType; - isNatural?: boolean; - larg?: Node; - rarg?: Node; - usingClause?: Node[]; - join_using_alias?: Alias; - quals?: Node; - alias?: Alias; - rtindex?: number; - }; + jointype?: JoinType; + isNatural?: boolean; + larg?: Node; + rarg?: Node; + usingClause?: Node[]; + join_using_alias?: Alias; + quals?: Node; + alias?: Alias; + rtindex?: number; } export interface FromExpr { - FromExpr: { - fromlist?: Node[]; - quals?: Node; - }; + fromlist?: Node[]; + quals?: Node; } export interface OnConflictExpr { - OnConflictExpr: { - action?: OnConflictAction; - arbiterElems?: Node[]; - arbiterWhere?: Node; - constraint?: number; - onConflictSet?: Node[]; - onConflictWhere?: Node; - exclRelIndex?: number; - exclRelTlist?: Node[]; - }; + action?: OnConflictAction; + arbiterElems?: Node[]; + arbiterWhere?: Node; + constraint?: number; + onConflictSet?: Node[]; + onConflictWhere?: Node; + exclRelIndex?: number; + exclRelTlist?: Node[]; } export interface Query { - Query: { - commandType?: CmdType; - querySource?: QuerySource; - canSetTag?: boolean; - utilityStmt?: Node; - resultRelation?: number; - hasAggs?: boolean; - hasWindowFuncs?: boolean; - hasTargetSRFs?: boolean; - hasSubLinks?: boolean; - hasDistinctOn?: boolean; - hasRecursive?: boolean; - hasModifyingCTE?: boolean; - hasForUpdate?: boolean; - hasRowSecurity?: boolean; - isReturn?: boolean; - cteList?: Node[]; - rtable?: Node[]; - rteperminfos?: Node[]; - jointree?: FromExpr; - mergeActionList?: Node[]; - mergeUseOuterJoin?: boolean; - targetList?: Node[]; - override?: OverridingKind; - onConflict?: OnConflictExpr; - returningList?: Node[]; - groupClause?: Node[]; - groupDistinct?: boolean; - groupingSets?: Node[]; - havingQual?: Node; - windowClause?: Node[]; - distinctClause?: Node[]; - sortClause?: Node[]; - limitOffset?: Node; - limitCount?: Node; - limitOption?: LimitOption; - rowMarks?: Node[]; - setOperations?: Node; - constraintDeps?: Node[]; - withCheckOptions?: Node[]; - stmt_location?: number; - stmt_len?: number; - }; + commandType?: CmdType; + querySource?: QuerySource; + canSetTag?: boolean; + utilityStmt?: Node; + resultRelation?: number; + hasAggs?: boolean; + hasWindowFuncs?: boolean; + hasTargetSRFs?: boolean; + hasSubLinks?: boolean; + hasDistinctOn?: boolean; + hasRecursive?: boolean; + hasModifyingCTE?: boolean; + hasForUpdate?: boolean; + hasRowSecurity?: boolean; + isReturn?: boolean; + cteList?: Node[]; + rtable?: Node[]; + rteperminfos?: Node[]; + jointree?: FromExpr; + mergeActionList?: Node[]; + mergeUseOuterJoin?: boolean; + targetList?: Node[]; + override?: OverridingKind; + onConflict?: OnConflictExpr; + returningList?: Node[]; + groupClause?: Node[]; + groupDistinct?: boolean; + groupingSets?: Node[]; + havingQual?: Node; + windowClause?: Node[]; + distinctClause?: Node[]; + sortClause?: Node[]; + limitOffset?: Node; + limitCount?: Node; + limitOption?: LimitOption; + rowMarks?: Node[]; + setOperations?: Node; + constraintDeps?: Node[]; + withCheckOptions?: Node[]; + stmt_location?: number; + stmt_len?: number; } export interface TypeName { names?: Node[]; @@ -16808,1617 +15662,1245 @@ export interface TypeName { location?: number; } export interface ColumnRef { - ColumnRef: { - fields?: Node[]; - location?: number; - }; + fields?: Node[]; + location?: number; } export interface ParamRef { - ParamRef: { - number?: number; - location?: number; - }; + number?: number; + location?: number; } export interface A_Expr { - A_Expr: { - kind?: A_Expr_Kind; - name?: Node[]; - lexpr?: Node; - rexpr?: Node; - location?: number; - }; + kind?: A_Expr_Kind; + name?: Node[]; + lexpr?: Node; + rexpr?: Node; + location?: number; } export interface TypeCast { - TypeCast: { - arg?: Node; - typeName?: TypeName; - location?: number; - }; + arg?: Node; + typeName?: TypeName; + location?: number; } export interface CollateClause { - CollateClause: { - arg?: Node; - collname?: Node[]; - location?: number; - }; + arg?: Node; + collname?: Node[]; + location?: number; } export interface RoleSpec { - RoleSpec: { - roletype?: RoleSpecType; - rolename?: string; - location?: number; - }; + roletype?: RoleSpecType; + rolename?: string; + location?: number; } export interface FuncCall { - FuncCall: { - funcname?: Node[]; - args?: Node[]; - agg_order?: Node[]; - agg_filter?: Node; - over?: WindowDef; - agg_within_group?: boolean; - agg_star?: boolean; - agg_distinct?: boolean; - func_variadic?: boolean; - funcformat?: CoercionForm; - location?: number; - }; -} -export interface A_Star { - A_Star: {}; + funcname?: Node[]; + args?: Node[]; + agg_order?: Node[]; + agg_filter?: Node; + over?: WindowDef; + agg_within_group?: boolean; + agg_star?: boolean; + agg_distinct?: boolean; + func_variadic?: boolean; + funcformat?: CoercionForm; + location?: number; } +export interface A_Star {} export interface A_Indices { - A_Indices: { - is_slice?: boolean; - lidx?: Node; - uidx?: Node; - }; + is_slice?: boolean; + lidx?: Node; + uidx?: Node; } export interface A_Indirection { - A_Indirection: { - arg?: Node; - indirection?: Node[]; - }; + arg?: Node; + indirection?: Node[]; } export interface A_ArrayExpr { - A_ArrayExpr: { - elements?: Node[]; - location?: number; - }; + elements?: Node[]; + location?: number; } export interface ResTarget { - ResTarget: { - name?: string; - indirection?: Node[]; - val?: Node; - location?: number; - }; + name?: string; + indirection?: Node[]; + val?: Node; + location?: number; } export interface MultiAssignRef { - MultiAssignRef: { - source?: Node; - colno?: number; - ncolumns?: number; - }; + source?: Node; + colno?: number; + ncolumns?: number; } export interface SortBy { - SortBy: { - node?: Node; - sortby_dir?: SortByDir; - sortby_nulls?: SortByNulls; - useOp?: Node[]; - location?: number; - }; + node?: Node; + sortby_dir?: SortByDir; + sortby_nulls?: SortByNulls; + useOp?: Node[]; + location?: number; } export interface WindowDef { - WindowDef: { - name?: string; - refname?: string; - partitionClause?: Node[]; - orderClause?: Node[]; - frameOptions?: number; - startOffset?: Node; - endOffset?: Node; - location?: number; - }; + name?: string; + refname?: string; + partitionClause?: Node[]; + orderClause?: Node[]; + frameOptions?: number; + startOffset?: Node; + endOffset?: Node; + location?: number; } export interface RangeSubselect { - RangeSubselect: { - lateral?: boolean; - subquery?: Node; - alias?: Alias; - }; + lateral?: boolean; + subquery?: Node; + alias?: Alias; } export interface RangeFunction { - RangeFunction: { - lateral?: boolean; - ordinality?: boolean; - is_rowsfrom?: boolean; - functions?: Node[]; - alias?: Alias; - coldeflist?: Node[]; - }; + lateral?: boolean; + ordinality?: boolean; + is_rowsfrom?: boolean; + functions?: Node[]; + alias?: Alias; + coldeflist?: Node[]; } export interface RangeTableFunc { - RangeTableFunc: { - lateral?: boolean; - docexpr?: Node; - rowexpr?: Node; - namespaces?: Node[]; - columns?: Node[]; - alias?: Alias; - location?: number; - }; + lateral?: boolean; + docexpr?: Node; + rowexpr?: Node; + namespaces?: Node[]; + columns?: Node[]; + alias?: Alias; + location?: number; } export interface RangeTableFuncCol { - RangeTableFuncCol: { - colname?: string; - typeName?: TypeName; - for_ordinality?: boolean; - is_not_null?: boolean; - colexpr?: Node; - coldefexpr?: Node; - location?: number; - }; + colname?: string; + typeName?: TypeName; + for_ordinality?: boolean; + is_not_null?: boolean; + colexpr?: Node; + coldefexpr?: Node; + location?: number; } export interface RangeTableSample { - RangeTableSample: { - relation?: Node; - method?: Node[]; - args?: Node[]; - repeatable?: Node; - location?: number; - }; + relation?: Node; + method?: Node[]; + args?: Node[]; + repeatable?: Node; + location?: number; } export interface ColumnDef { - ColumnDef: { - colname?: string; - typeName?: TypeName; - compression?: string; - inhcount?: number; - is_local?: boolean; - is_not_null?: boolean; - is_from_type?: boolean; - storage?: string; - storage_name?: string; - raw_default?: Node; - cooked_default?: Node; - identity?: string; - identitySequence?: RangeVar; - generated?: string; - collClause?: CollateClause; - collOid?: number; - constraints?: Node[]; - fdwoptions?: Node[]; - location?: number; - }; + colname?: string; + typeName?: TypeName; + compression?: string; + inhcount?: number; + is_local?: boolean; + is_not_null?: boolean; + is_from_type?: boolean; + storage?: string; + storage_name?: string; + raw_default?: Node; + cooked_default?: Node; + identity?: string; + identitySequence?: RangeVar; + generated?: string; + collClause?: CollateClause; + collOid?: number; + constraints?: Node[]; + fdwoptions?: Node[]; + location?: number; } export interface TableLikeClause { - TableLikeClause: { - relation?: RangeVar; - options?: number; - relationOid?: number; - }; + relation?: RangeVar; + options?: number; + relationOid?: number; } export interface IndexElem { - IndexElem: { - name?: string; - expr?: Node; - indexcolname?: string; - collation?: Node[]; - opclass?: Node[]; - opclassopts?: Node[]; - ordering?: SortByDir; - nulls_ordering?: SortByNulls; - }; + name?: string; + expr?: Node; + indexcolname?: string; + collation?: Node[]; + opclass?: Node[]; + opclassopts?: Node[]; + ordering?: SortByDir; + nulls_ordering?: SortByNulls; } export interface DefElem { - DefElem: { - defnamespace?: string; - defname?: string; - arg?: Node; - defaction?: DefElemAction; - location?: number; - }; + defnamespace?: string; + defname?: string; + arg?: Node; + defaction?: DefElemAction; + location?: number; } export interface LockingClause { - LockingClause: { - lockedRels?: Node[]; - strength?: LockClauseStrength; - waitPolicy?: LockWaitPolicy; - }; + lockedRels?: Node[]; + strength?: LockClauseStrength; + waitPolicy?: LockWaitPolicy; } export interface XmlSerialize { - XmlSerialize: { - xmloption?: XmlOptionType; - expr?: Node; - typeName?: TypeName; - indent?: boolean; - location?: number; - }; + xmloption?: XmlOptionType; + expr?: Node; + typeName?: TypeName; + indent?: boolean; + location?: number; } export interface PartitionElem { - PartitionElem: { - name?: string; - expr?: Node; - collation?: Node[]; - opclass?: Node[]; - location?: number; - }; + name?: string; + expr?: Node; + collation?: Node[]; + opclass?: Node[]; + location?: number; } export interface PartitionSpec { - PartitionSpec: { - strategy?: PartitionStrategy; - partParams?: Node[]; - location?: number; - }; + strategy?: PartitionStrategy; + partParams?: Node[]; + location?: number; } export interface PartitionBoundSpec { - PartitionBoundSpec: { - strategy?: string; - is_default?: boolean; - modulus?: number; - remainder?: number; - listdatums?: Node[]; - lowerdatums?: Node[]; - upperdatums?: Node[]; - location?: number; - }; + strategy?: string; + is_default?: boolean; + modulus?: number; + remainder?: number; + listdatums?: Node[]; + lowerdatums?: Node[]; + upperdatums?: Node[]; + location?: number; } export interface PartitionRangeDatum { - PartitionRangeDatum: { - kind?: PartitionRangeDatumKind; - value?: Node; - location?: number; - }; + kind?: PartitionRangeDatumKind; + value?: Node; + location?: number; } export interface PartitionCmd { - PartitionCmd: { - name?: RangeVar; - bound?: PartitionBoundSpec; - concurrent?: boolean; - }; + name?: RangeVar; + bound?: PartitionBoundSpec; + concurrent?: boolean; } export interface RangeTblEntry { - RangeTblEntry: { - rtekind?: RTEKind; - relid?: number; - relkind?: string; - rellockmode?: number; - tablesample?: TableSampleClause; - perminfoindex?: number; - subquery?: Query; - security_barrier?: boolean; - jointype?: JoinType; - joinmergedcols?: number; - joinaliasvars?: Node[]; - joinleftcols?: Node[]; - joinrightcols?: Node[]; - join_using_alias?: Alias; - functions?: Node[]; - funcordinality?: boolean; - tablefunc?: TableFunc; - values_lists?: Node[]; - ctename?: string; - ctelevelsup?: number; - self_reference?: boolean; - coltypes?: Node[]; - coltypmods?: Node[]; - colcollations?: Node[]; - enrname?: string; - enrtuples?: number; - alias?: Alias; - eref?: Alias; - lateral?: boolean; - inh?: boolean; - inFromCl?: boolean; - securityQuals?: Node[]; - }; + rtekind?: RTEKind; + relid?: number; + relkind?: string; + rellockmode?: number; + tablesample?: TableSampleClause; + perminfoindex?: number; + subquery?: Query; + security_barrier?: boolean; + jointype?: JoinType; + joinmergedcols?: number; + joinaliasvars?: Node[]; + joinleftcols?: Node[]; + joinrightcols?: Node[]; + join_using_alias?: Alias; + functions?: Node[]; + funcordinality?: boolean; + tablefunc?: TableFunc; + values_lists?: Node[]; + ctename?: string; + ctelevelsup?: number; + self_reference?: boolean; + coltypes?: Node[]; + coltypmods?: Node[]; + colcollations?: Node[]; + enrname?: string; + enrtuples?: number; + alias?: Alias; + eref?: Alias; + lateral?: boolean; + inh?: boolean; + inFromCl?: boolean; + securityQuals?: Node[]; } export interface RTEPermissionInfo { - RTEPermissionInfo: { - relid?: number; - inh?: boolean; - requiredPerms?: bigint; - checkAsUser?: number; - selectedCols?: bigint[]; - insertedCols?: bigint[]; - updatedCols?: bigint[]; - }; + relid?: number; + inh?: boolean; + requiredPerms?: bigint; + checkAsUser?: number; + selectedCols?: bigint[]; + insertedCols?: bigint[]; + updatedCols?: bigint[]; } export interface RangeTblFunction { - RangeTblFunction: { - funcexpr?: Node; - funccolcount?: number; - funccolnames?: Node[]; - funccoltypes?: Node[]; - funccoltypmods?: Node[]; - funccolcollations?: Node[]; - funcparams?: bigint[]; - }; + funcexpr?: Node; + funccolcount?: number; + funccolnames?: Node[]; + funccoltypes?: Node[]; + funccoltypmods?: Node[]; + funccolcollations?: Node[]; + funcparams?: bigint[]; } export interface TableSampleClause { - TableSampleClause: { - tsmhandler?: number; - args?: Node[]; - repeatable?: Node; - }; + tsmhandler?: number; + args?: Node[]; + repeatable?: Node; } export interface WithCheckOption { - WithCheckOption: { - kind?: WCOKind; - relname?: string; - polname?: string; - qual?: Node; - cascaded?: boolean; - }; + kind?: WCOKind; + relname?: string; + polname?: string; + qual?: Node; + cascaded?: boolean; } export interface SortGroupClause { - SortGroupClause: { - tleSortGroupRef?: number; - eqop?: number; - sortop?: number; - nulls_first?: boolean; - hashable?: boolean; - }; + tleSortGroupRef?: number; + eqop?: number; + sortop?: number; + nulls_first?: boolean; + hashable?: boolean; } export interface GroupingSet { - GroupingSet: { - kind?: GroupingSetKind; - content?: Node[]; - location?: number; - }; + kind?: GroupingSetKind; + content?: Node[]; + location?: number; } export interface WindowClause { - WindowClause: { - name?: string; - refname?: string; - partitionClause?: Node[]; - orderClause?: Node[]; - frameOptions?: number; - startOffset?: Node; - endOffset?: Node; - runCondition?: Node[]; - startInRangeFunc?: number; - endInRangeFunc?: number; - inRangeColl?: number; - inRangeAsc?: boolean; - inRangeNullsFirst?: boolean; - winref?: number; - copiedOrder?: boolean; - }; + name?: string; + refname?: string; + partitionClause?: Node[]; + orderClause?: Node[]; + frameOptions?: number; + startOffset?: Node; + endOffset?: Node; + runCondition?: Node[]; + startInRangeFunc?: number; + endInRangeFunc?: number; + inRangeColl?: number; + inRangeAsc?: boolean; + inRangeNullsFirst?: boolean; + winref?: number; + copiedOrder?: boolean; } export interface RowMarkClause { - RowMarkClause: { - rti?: number; - strength?: LockClauseStrength; - waitPolicy?: LockWaitPolicy; - pushedDown?: boolean; - }; + rti?: number; + strength?: LockClauseStrength; + waitPolicy?: LockWaitPolicy; + pushedDown?: boolean; } export interface WithClause { - WithClause: { - ctes?: Node[]; - recursive?: boolean; - location?: number; - }; + ctes?: Node[]; + recursive?: boolean; + location?: number; } export interface InferClause { - InferClause: { - indexElems?: Node[]; - whereClause?: Node; - conname?: string; - location?: number; - }; + indexElems?: Node[]; + whereClause?: Node; + conname?: string; + location?: number; } export interface OnConflictClause { - OnConflictClause: { - action?: OnConflictAction; - infer?: InferClause; - targetList?: Node[]; - whereClause?: Node; - location?: number; - }; + action?: OnConflictAction; + infer?: InferClause; + targetList?: Node[]; + whereClause?: Node; + location?: number; } export interface CTESearchClause { - CTESearchClause: { - search_col_list?: Node[]; - search_breadth_first?: boolean; - search_seq_column?: string; - location?: number; - }; + search_col_list?: Node[]; + search_breadth_first?: boolean; + search_seq_column?: string; + location?: number; } export interface CTECycleClause { - CTECycleClause: { - cycle_col_list?: Node[]; - cycle_mark_column?: string; - cycle_mark_value?: Node; - cycle_mark_default?: Node; - cycle_path_column?: string; - location?: number; - cycle_mark_type?: number; - cycle_mark_typmod?: number; - cycle_mark_collation?: number; - cycle_mark_neop?: number; - }; + cycle_col_list?: Node[]; + cycle_mark_column?: string; + cycle_mark_value?: Node; + cycle_mark_default?: Node; + cycle_path_column?: string; + location?: number; + cycle_mark_type?: number; + cycle_mark_typmod?: number; + cycle_mark_collation?: number; + cycle_mark_neop?: number; } export interface CommonTableExpr { - CommonTableExpr: { - ctename?: string; - aliascolnames?: Node[]; - ctematerialized?: CTEMaterialize; - ctequery?: Node; - search_clause?: CTESearchClause; - cycle_clause?: CTECycleClause; - location?: number; - cterecursive?: boolean; - cterefcount?: number; - ctecolnames?: Node[]; - ctecoltypes?: Node[]; - ctecoltypmods?: Node[]; - ctecolcollations?: Node[]; - }; + ctename?: string; + aliascolnames?: Node[]; + ctematerialized?: CTEMaterialize; + ctequery?: Node; + search_clause?: CTESearchClause; + cycle_clause?: CTECycleClause; + location?: number; + cterecursive?: boolean; + cterefcount?: number; + ctecolnames?: Node[]; + ctecoltypes?: Node[]; + ctecoltypmods?: Node[]; + ctecolcollations?: Node[]; } export interface MergeWhenClause { - MergeWhenClause: { - matched?: boolean; - commandType?: CmdType; - override?: OverridingKind; - condition?: Node; - targetList?: Node[]; - values?: Node[]; - }; + matched?: boolean; + commandType?: CmdType; + override?: OverridingKind; + condition?: Node; + targetList?: Node[]; + values?: Node[]; } export interface MergeAction { - MergeAction: { - matched?: boolean; - commandType?: CmdType; - override?: OverridingKind; - qual?: Node; - targetList?: Node[]; - updateColnos?: Node[]; - }; + matched?: boolean; + commandType?: CmdType; + override?: OverridingKind; + qual?: Node; + targetList?: Node[]; + updateColnos?: Node[]; } export interface TriggerTransition { - TriggerTransition: { - name?: string; - isNew?: boolean; - isTable?: boolean; - }; + name?: string; + isNew?: boolean; + isTable?: boolean; } export interface JsonOutput { - JsonOutput: { - typeName?: TypeName; - returning?: JsonReturning; - }; + typeName?: TypeName; + returning?: JsonReturning; } export interface JsonKeyValue { - JsonKeyValue: { - key?: Node; - value?: JsonValueExpr; - }; + key?: Node; + value?: JsonValueExpr; } export interface JsonObjectConstructor { - JsonObjectConstructor: { - exprs?: Node[]; - output?: JsonOutput; - absent_on_null?: boolean; - unique?: boolean; - location?: number; - }; + exprs?: Node[]; + output?: JsonOutput; + absent_on_null?: boolean; + unique?: boolean; + location?: number; } export interface JsonArrayConstructor { - JsonArrayConstructor: { - exprs?: Node[]; - output?: JsonOutput; - absent_on_null?: boolean; - location?: number; - }; + exprs?: Node[]; + output?: JsonOutput; + absent_on_null?: boolean; + location?: number; } export interface JsonArrayQueryConstructor { - JsonArrayQueryConstructor: { - query?: Node; - output?: JsonOutput; - format?: JsonFormat; - absent_on_null?: boolean; - location?: number; - }; + query?: Node; + output?: JsonOutput; + format?: JsonFormat; + absent_on_null?: boolean; + location?: number; } export interface JsonAggConstructor { - JsonAggConstructor: { - output?: JsonOutput; - agg_filter?: Node; - agg_order?: Node[]; - over?: WindowDef; - location?: number; - }; + output?: JsonOutput; + agg_filter?: Node; + agg_order?: Node[]; + over?: WindowDef; + location?: number; } export interface JsonObjectAgg { - JsonObjectAgg: { - constructor?: JsonAggConstructor; - arg?: JsonKeyValue; - absent_on_null?: boolean; - unique?: boolean; - }; + constructor?: JsonAggConstructor; + arg?: JsonKeyValue; + absent_on_null?: boolean; + unique?: boolean; } export interface JsonArrayAgg { - JsonArrayAgg: { - constructor?: JsonAggConstructor; - arg?: JsonValueExpr; - absent_on_null?: boolean; - }; + constructor?: JsonAggConstructor; + arg?: JsonValueExpr; + absent_on_null?: boolean; } export interface RawStmt { - RawStmt: { - stmt?: Node; - stmt_location?: number; - stmt_len?: number; - }; + stmt?: Node; + stmt_location?: number; + stmt_len?: number; } export interface InsertStmt { - InsertStmt: { - relation?: RangeVar; - cols?: Node[]; - selectStmt?: Node; - onConflictClause?: OnConflictClause; - returningList?: Node[]; - withClause?: WithClause; - override?: OverridingKind; - }; + relation?: RangeVar; + cols?: Node[]; + selectStmt?: Node; + onConflictClause?: OnConflictClause; + returningList?: Node[]; + withClause?: WithClause; + override?: OverridingKind; } export interface DeleteStmt { - DeleteStmt: { - relation?: RangeVar; - usingClause?: Node[]; - whereClause?: Node; - returningList?: Node[]; - withClause?: WithClause; - }; + relation?: RangeVar; + usingClause?: Node[]; + whereClause?: Node; + returningList?: Node[]; + withClause?: WithClause; } export interface UpdateStmt { - UpdateStmt: { - relation?: RangeVar; - targetList?: Node[]; - whereClause?: Node; - fromClause?: Node[]; - returningList?: Node[]; - withClause?: WithClause; - }; + relation?: RangeVar; + targetList?: Node[]; + whereClause?: Node; + fromClause?: Node[]; + returningList?: Node[]; + withClause?: WithClause; } export interface MergeStmt { - MergeStmt: { - relation?: RangeVar; - sourceRelation?: Node; - joinCondition?: Node; - mergeWhenClauses?: Node[]; - withClause?: WithClause; - }; + relation?: RangeVar; + sourceRelation?: Node; + joinCondition?: Node; + mergeWhenClauses?: Node[]; + withClause?: WithClause; } export interface SelectStmt { - SelectStmt: { - distinctClause?: Node[]; - intoClause?: IntoClause; - targetList?: Node[]; - fromClause?: Node[]; - whereClause?: Node; - groupClause?: Node[]; - groupDistinct?: boolean; - havingClause?: Node; - windowClause?: Node[]; - valuesLists?: Node[]; - sortClause?: Node[]; - limitOffset?: Node; - limitCount?: Node; - limitOption?: LimitOption; - lockingClause?: Node[]; - withClause?: WithClause; - op?: SetOperation; - all?: boolean; - larg?: SelectStmt; - rarg?: SelectStmt; - }; + distinctClause?: Node[]; + intoClause?: IntoClause; + targetList?: Node[]; + fromClause?: Node[]; + whereClause?: Node; + groupClause?: Node[]; + groupDistinct?: boolean; + havingClause?: Node; + windowClause?: Node[]; + valuesLists?: Node[]; + sortClause?: Node[]; + limitOffset?: Node; + limitCount?: Node; + limitOption?: LimitOption; + lockingClause?: Node[]; + withClause?: WithClause; + op?: SetOperation; + all?: boolean; + larg?: SelectStmt; + rarg?: SelectStmt; } export interface SetOperationStmt { - SetOperationStmt: { - op?: SetOperation; - all?: boolean; - larg?: Node; - rarg?: Node; - colTypes?: Node[]; - colTypmods?: Node[]; - colCollations?: Node[]; - groupClauses?: Node[]; - }; + op?: SetOperation; + all?: boolean; + larg?: Node; + rarg?: Node; + colTypes?: Node[]; + colTypmods?: Node[]; + colCollations?: Node[]; + groupClauses?: Node[]; } export interface ReturnStmt { - ReturnStmt: { - returnval?: Node; - }; + returnval?: Node; } export interface PLAssignStmt { - PLAssignStmt: { - name?: string; - indirection?: Node[]; - nnames?: number; - val?: SelectStmt; - location?: number; - }; + name?: string; + indirection?: Node[]; + nnames?: number; + val?: SelectStmt; + location?: number; } export interface CreateSchemaStmt { - CreateSchemaStmt: { - schemaname?: string; - authrole?: RoleSpec; - schemaElts?: Node[]; - if_not_exists?: boolean; - }; + schemaname?: string; + authrole?: RoleSpec; + schemaElts?: Node[]; + if_not_exists?: boolean; } export interface AlterTableStmt { - AlterTableStmt: { - relation?: RangeVar; - cmds?: Node[]; - objtype?: ObjectType; - missing_ok?: boolean; - }; + relation?: RangeVar; + cmds?: Node[]; + objtype?: ObjectType; + missing_ok?: boolean; } export interface ReplicaIdentityStmt { - ReplicaIdentityStmt: { - identity_type?: string; - name?: string; - }; + identity_type?: string; + name?: string; } export interface AlterTableCmd { - AlterTableCmd: { - subtype?: AlterTableType; - name?: string; - num?: number; - newowner?: RoleSpec; - def?: Node; - behavior?: DropBehavior; - missing_ok?: boolean; - recurse?: boolean; - }; + subtype?: AlterTableType; + name?: string; + num?: number; + newowner?: RoleSpec; + def?: Node; + behavior?: DropBehavior; + missing_ok?: boolean; + recurse?: boolean; } export interface AlterCollationStmt { - AlterCollationStmt: { - collname?: Node[]; - }; + collname?: Node[]; } export interface AlterDomainStmt { - AlterDomainStmt: { - subtype?: string; - typeName?: Node[]; - name?: string; - def?: Node; - behavior?: DropBehavior; - missing_ok?: boolean; - }; + subtype?: string; + typeName?: Node[]; + name?: string; + def?: Node; + behavior?: DropBehavior; + missing_ok?: boolean; } export interface GrantStmt { - GrantStmt: { - is_grant?: boolean; - targtype?: GrantTargetType; - objtype?: ObjectType; - objects?: Node[]; - privileges?: Node[]; - grantees?: Node[]; - grant_option?: boolean; - grantor?: RoleSpec; - behavior?: DropBehavior; - }; + is_grant?: boolean; + targtype?: GrantTargetType; + objtype?: ObjectType; + objects?: Node[]; + privileges?: Node[]; + grantees?: Node[]; + grant_option?: boolean; + grantor?: RoleSpec; + behavior?: DropBehavior; } export interface ObjectWithArgs { - ObjectWithArgs: { - objname?: Node[]; - objargs?: Node[]; - objfuncargs?: Node[]; - args_unspecified?: boolean; - }; + objname?: Node[]; + objargs?: Node[]; + objfuncargs?: Node[]; + args_unspecified?: boolean; } export interface AccessPriv { - AccessPriv: { - priv_name?: string; - cols?: Node[]; - }; + priv_name?: string; + cols?: Node[]; } export interface GrantRoleStmt { - GrantRoleStmt: { - granted_roles?: Node[]; - grantee_roles?: Node[]; - is_grant?: boolean; - opt?: Node[]; - grantor?: RoleSpec; - behavior?: DropBehavior; - }; + granted_roles?: Node[]; + grantee_roles?: Node[]; + is_grant?: boolean; + opt?: Node[]; + grantor?: RoleSpec; + behavior?: DropBehavior; } export interface AlterDefaultPrivilegesStmt { - AlterDefaultPrivilegesStmt: { - options?: Node[]; - action?: GrantStmt; - }; + options?: Node[]; + action?: GrantStmt; } export interface CopyStmt { - CopyStmt: { - relation?: RangeVar; - query?: Node; - attlist?: Node[]; - is_from?: boolean; - is_program?: boolean; - filename?: string; - options?: Node[]; - whereClause?: Node; - }; + relation?: RangeVar; + query?: Node; + attlist?: Node[]; + is_from?: boolean; + is_program?: boolean; + filename?: string; + options?: Node[]; + whereClause?: Node; } export interface VariableSetStmt { - VariableSetStmt: { - kind?: VariableSetKind; - name?: string; - args?: Node[]; - is_local?: boolean; - }; + kind?: VariableSetKind; + name?: string; + args?: Node[]; + is_local?: boolean; } export interface VariableShowStmt { - VariableShowStmt: { - name?: string; - }; + name?: string; } export interface CreateStmt { - CreateStmt: { - relation?: RangeVar; - tableElts?: Node[]; - inhRelations?: Node[]; - partbound?: PartitionBoundSpec; - partspec?: PartitionSpec; - ofTypename?: TypeName; - constraints?: Node[]; - options?: Node[]; - oncommit?: OnCommitAction; - tablespacename?: string; - accessMethod?: string; - if_not_exists?: boolean; - }; + relation?: RangeVar; + tableElts?: Node[]; + inhRelations?: Node[]; + partbound?: PartitionBoundSpec; + partspec?: PartitionSpec; + ofTypename?: TypeName; + constraints?: Node[]; + options?: Node[]; + oncommit?: OnCommitAction; + tablespacename?: string; + accessMethod?: string; + if_not_exists?: boolean; } export interface Constraint { - Constraint: { - contype?: ConstrType; - conname?: string; - deferrable?: boolean; - initdeferred?: boolean; - location?: number; - is_no_inherit?: boolean; - raw_expr?: Node; - cooked_expr?: string; - generated_when?: string; - nulls_not_distinct?: boolean; - keys?: Node[]; - including?: Node[]; - exclusions?: Node[]; - options?: Node[]; - indexname?: string; - indexspace?: string; - reset_default_tblspc?: boolean; - access_method?: string; - where_clause?: Node; - pktable?: RangeVar; - fk_attrs?: Node[]; - pk_attrs?: Node[]; - fk_matchtype?: string; - fk_upd_action?: string; - fk_del_action?: string; - fk_del_set_cols?: Node[]; - old_conpfeqop?: Node[]; - old_pktable_oid?: number; - skip_validation?: boolean; - initially_valid?: boolean; - }; + contype?: ConstrType; + conname?: string; + deferrable?: boolean; + initdeferred?: boolean; + location?: number; + is_no_inherit?: boolean; + raw_expr?: Node; + cooked_expr?: string; + generated_when?: string; + nulls_not_distinct?: boolean; + keys?: Node[]; + including?: Node[]; + exclusions?: Node[]; + options?: Node[]; + indexname?: string; + indexspace?: string; + reset_default_tblspc?: boolean; + access_method?: string; + where_clause?: Node; + pktable?: RangeVar; + fk_attrs?: Node[]; + pk_attrs?: Node[]; + fk_matchtype?: string; + fk_upd_action?: string; + fk_del_action?: string; + fk_del_set_cols?: Node[]; + old_conpfeqop?: Node[]; + old_pktable_oid?: number; + skip_validation?: boolean; + initially_valid?: boolean; } export interface CreateTableSpaceStmt { - CreateTableSpaceStmt: { - tablespacename?: string; - owner?: RoleSpec; - location?: string; - options?: Node[]; - }; + tablespacename?: string; + owner?: RoleSpec; + location?: string; + options?: Node[]; } export interface DropTableSpaceStmt { - DropTableSpaceStmt: { - tablespacename?: string; - missing_ok?: boolean; - }; + tablespacename?: string; + missing_ok?: boolean; } export interface AlterTableSpaceOptionsStmt { - AlterTableSpaceOptionsStmt: { - tablespacename?: string; - options?: Node[]; - isReset?: boolean; - }; + tablespacename?: string; + options?: Node[]; + isReset?: boolean; } export interface AlterTableMoveAllStmt { - AlterTableMoveAllStmt: { - orig_tablespacename?: string; - objtype?: ObjectType; - roles?: Node[]; - new_tablespacename?: string; - nowait?: boolean; - }; + orig_tablespacename?: string; + objtype?: ObjectType; + roles?: Node[]; + new_tablespacename?: string; + nowait?: boolean; } export interface CreateExtensionStmt { - CreateExtensionStmt: { - extname?: string; - if_not_exists?: boolean; - options?: Node[]; - }; + extname?: string; + if_not_exists?: boolean; + options?: Node[]; } export interface AlterExtensionStmt { - AlterExtensionStmt: { - extname?: string; - options?: Node[]; - }; + extname?: string; + options?: Node[]; } export interface AlterExtensionContentsStmt { - AlterExtensionContentsStmt: { - extname?: string; - action?: number; - objtype?: ObjectType; - object?: Node; - }; + extname?: string; + action?: number; + objtype?: ObjectType; + object?: Node; } export interface CreateFdwStmt { - CreateFdwStmt: { - fdwname?: string; - func_options?: Node[]; - options?: Node[]; - }; + fdwname?: string; + func_options?: Node[]; + options?: Node[]; } export interface AlterFdwStmt { - AlterFdwStmt: { - fdwname?: string; - func_options?: Node[]; - options?: Node[]; - }; + fdwname?: string; + func_options?: Node[]; + options?: Node[]; } export interface CreateForeignServerStmt { - CreateForeignServerStmt: { - servername?: string; - servertype?: string; - version?: string; - fdwname?: string; - if_not_exists?: boolean; - options?: Node[]; - }; + servername?: string; + servertype?: string; + version?: string; + fdwname?: string; + if_not_exists?: boolean; + options?: Node[]; } export interface AlterForeignServerStmt { - AlterForeignServerStmt: { - servername?: string; - version?: string; - options?: Node[]; - has_version?: boolean; - }; + servername?: string; + version?: string; + options?: Node[]; + has_version?: boolean; } export interface CreateForeignTableStmt { - CreateForeignTableStmt: { - base?: CreateStmt; - servername?: string; - options?: Node[]; - }; + base?: CreateStmt; + servername?: string; + options?: Node[]; } export interface CreateUserMappingStmt { - CreateUserMappingStmt: { - user?: RoleSpec; - servername?: string; - if_not_exists?: boolean; - options?: Node[]; - }; + user?: RoleSpec; + servername?: string; + if_not_exists?: boolean; + options?: Node[]; } export interface AlterUserMappingStmt { - AlterUserMappingStmt: { - user?: RoleSpec; - servername?: string; - options?: Node[]; - }; + user?: RoleSpec; + servername?: string; + options?: Node[]; } export interface DropUserMappingStmt { - DropUserMappingStmt: { - user?: RoleSpec; - servername?: string; - missing_ok?: boolean; - }; + user?: RoleSpec; + servername?: string; + missing_ok?: boolean; } export interface ImportForeignSchemaStmt { - ImportForeignSchemaStmt: { - server_name?: string; - remote_schema?: string; - local_schema?: string; - list_type?: ImportForeignSchemaType; - table_list?: Node[]; - options?: Node[]; - }; + server_name?: string; + remote_schema?: string; + local_schema?: string; + list_type?: ImportForeignSchemaType; + table_list?: Node[]; + options?: Node[]; } export interface CreatePolicyStmt { - CreatePolicyStmt: { - policy_name?: string; - table?: RangeVar; - cmd_name?: string; - permissive?: boolean; - roles?: Node[]; - qual?: Node; - with_check?: Node; - }; + policy_name?: string; + table?: RangeVar; + cmd_name?: string; + permissive?: boolean; + roles?: Node[]; + qual?: Node; + with_check?: Node; } export interface AlterPolicyStmt { - AlterPolicyStmt: { - policy_name?: string; - table?: RangeVar; - roles?: Node[]; - qual?: Node; - with_check?: Node; - }; + policy_name?: string; + table?: RangeVar; + roles?: Node[]; + qual?: Node; + with_check?: Node; } export interface CreateAmStmt { - CreateAmStmt: { - amname?: string; - handler_name?: Node[]; - amtype?: string; - }; + amname?: string; + handler_name?: Node[]; + amtype?: string; } export interface CreateTrigStmt { - CreateTrigStmt: { - replace?: boolean; - isconstraint?: boolean; - trigname?: string; - relation?: RangeVar; - funcname?: Node[]; - args?: Node[]; - row?: boolean; - timing?: number; - events?: number; - columns?: Node[]; - whenClause?: Node; - transitionRels?: Node[]; - deferrable?: boolean; - initdeferred?: boolean; - constrrel?: RangeVar; - }; + replace?: boolean; + isconstraint?: boolean; + trigname?: string; + relation?: RangeVar; + funcname?: Node[]; + args?: Node[]; + row?: boolean; + timing?: number; + events?: number; + columns?: Node[]; + whenClause?: Node; + transitionRels?: Node[]; + deferrable?: boolean; + initdeferred?: boolean; + constrrel?: RangeVar; } export interface CreateEventTrigStmt { - CreateEventTrigStmt: { - trigname?: string; - eventname?: string; - whenclause?: Node[]; - funcname?: Node[]; - }; + trigname?: string; + eventname?: string; + whenclause?: Node[]; + funcname?: Node[]; } export interface AlterEventTrigStmt { - AlterEventTrigStmt: { - trigname?: string; - tgenabled?: string; - }; + trigname?: string; + tgenabled?: string; } export interface CreatePLangStmt { - CreatePLangStmt: { - replace?: boolean; - plname?: string; - plhandler?: Node[]; - plinline?: Node[]; - plvalidator?: Node[]; - pltrusted?: boolean; - }; + replace?: boolean; + plname?: string; + plhandler?: Node[]; + plinline?: Node[]; + plvalidator?: Node[]; + pltrusted?: boolean; } export interface CreateRoleStmt { - CreateRoleStmt: { - stmt_type?: RoleStmtType; - role?: string; - options?: Node[]; - }; + stmt_type?: RoleStmtType; + role?: string; + options?: Node[]; } export interface AlterRoleStmt { - AlterRoleStmt: { - role?: RoleSpec; - options?: Node[]; - action?: number; - }; + role?: RoleSpec; + options?: Node[]; + action?: number; } export interface AlterRoleSetStmt { - AlterRoleSetStmt: { - role?: RoleSpec; - database?: string; - setstmt?: VariableSetStmt; - }; + role?: RoleSpec; + database?: string; + setstmt?: VariableSetStmt; } export interface DropRoleStmt { - DropRoleStmt: { - roles?: Node[]; - missing_ok?: boolean; - }; + roles?: Node[]; + missing_ok?: boolean; } export interface CreateSeqStmt { - CreateSeqStmt: { - sequence?: RangeVar; - options?: Node[]; - ownerId?: number; - for_identity?: boolean; - if_not_exists?: boolean; - }; + sequence?: RangeVar; + options?: Node[]; + ownerId?: number; + for_identity?: boolean; + if_not_exists?: boolean; } export interface AlterSeqStmt { - AlterSeqStmt: { - sequence?: RangeVar; - options?: Node[]; - for_identity?: boolean; - missing_ok?: boolean; - }; + sequence?: RangeVar; + options?: Node[]; + for_identity?: boolean; + missing_ok?: boolean; } export interface DefineStmt { - DefineStmt: { - kind?: ObjectType; - oldstyle?: boolean; - defnames?: Node[]; - args?: Node[]; - definition?: Node[]; - if_not_exists?: boolean; - replace?: boolean; - }; + kind?: ObjectType; + oldstyle?: boolean; + defnames?: Node[]; + args?: Node[]; + definition?: Node[]; + if_not_exists?: boolean; + replace?: boolean; } export interface CreateDomainStmt { - CreateDomainStmt: { - domainname?: Node[]; - typeName?: TypeName; - collClause?: CollateClause; - constraints?: Node[]; - }; + domainname?: Node[]; + typeName?: TypeName; + collClause?: CollateClause; + constraints?: Node[]; } export interface CreateOpClassStmt { - CreateOpClassStmt: { - opclassname?: Node[]; - opfamilyname?: Node[]; - amname?: string; - datatype?: TypeName; - items?: Node[]; - isDefault?: boolean; - }; + opclassname?: Node[]; + opfamilyname?: Node[]; + amname?: string; + datatype?: TypeName; + items?: Node[]; + isDefault?: boolean; } export interface CreateOpClassItem { - CreateOpClassItem: { - itemtype?: number; - name?: ObjectWithArgs; - number?: number; - order_family?: Node[]; - class_args?: Node[]; - storedtype?: TypeName; - }; + itemtype?: number; + name?: ObjectWithArgs; + number?: number; + order_family?: Node[]; + class_args?: Node[]; + storedtype?: TypeName; } export interface CreateOpFamilyStmt { - CreateOpFamilyStmt: { - opfamilyname?: Node[]; - amname?: string; - }; + opfamilyname?: Node[]; + amname?: string; } export interface AlterOpFamilyStmt { - AlterOpFamilyStmt: { - opfamilyname?: Node[]; - amname?: string; - isDrop?: boolean; - items?: Node[]; - }; + opfamilyname?: Node[]; + amname?: string; + isDrop?: boolean; + items?: Node[]; } export interface DropStmt { - DropStmt: { - objects?: Node[]; - removeType?: ObjectType; - behavior?: DropBehavior; - missing_ok?: boolean; - concurrent?: boolean; - }; + objects?: Node[]; + removeType?: ObjectType; + behavior?: DropBehavior; + missing_ok?: boolean; + concurrent?: boolean; } export interface TruncateStmt { - TruncateStmt: { - relations?: Node[]; - restart_seqs?: boolean; - behavior?: DropBehavior; - }; + relations?: Node[]; + restart_seqs?: boolean; + behavior?: DropBehavior; } export interface CommentStmt { - CommentStmt: { - objtype?: ObjectType; - object?: Node; - comment?: string; - }; + objtype?: ObjectType; + object?: Node; + comment?: string; } export interface SecLabelStmt { - SecLabelStmt: { - objtype?: ObjectType; - object?: Node; - provider?: string; - label?: string; - }; + objtype?: ObjectType; + object?: Node; + provider?: string; + label?: string; } export interface DeclareCursorStmt { - DeclareCursorStmt: { - portalname?: string; - options?: number; - query?: Node; - }; + portalname?: string; + options?: number; + query?: Node; } export interface ClosePortalStmt { - ClosePortalStmt: { - portalname?: string; - }; + portalname?: string; } export interface FetchStmt { - FetchStmt: { - direction?: FetchDirection; - howMany?: bigint; - portalname?: string; - ismove?: boolean; - }; + direction?: FetchDirection; + howMany?: bigint; + portalname?: string; + ismove?: boolean; } export interface IndexStmt { - IndexStmt: { - idxname?: string; - relation?: RangeVar; - accessMethod?: string; - tableSpace?: string; - indexParams?: Node[]; - indexIncludingParams?: Node[]; - options?: Node[]; - whereClause?: Node; - excludeOpNames?: Node[]; - idxcomment?: string; - indexOid?: number; - oldNumber?: number; - oldCreateSubid?: number; - oldFirstRelfilelocatorSubid?: number; - unique?: boolean; - nulls_not_distinct?: boolean; - primary?: boolean; - isconstraint?: boolean; - deferrable?: boolean; - initdeferred?: boolean; - transformed?: boolean; - concurrent?: boolean; - if_not_exists?: boolean; - reset_default_tblspc?: boolean; - }; + idxname?: string; + relation?: RangeVar; + accessMethod?: string; + tableSpace?: string; + indexParams?: Node[]; + indexIncludingParams?: Node[]; + options?: Node[]; + whereClause?: Node; + excludeOpNames?: Node[]; + idxcomment?: string; + indexOid?: number; + oldNumber?: number; + oldCreateSubid?: number; + oldFirstRelfilelocatorSubid?: number; + unique?: boolean; + nulls_not_distinct?: boolean; + primary?: boolean; + isconstraint?: boolean; + deferrable?: boolean; + initdeferred?: boolean; + transformed?: boolean; + concurrent?: boolean; + if_not_exists?: boolean; + reset_default_tblspc?: boolean; } export interface CreateStatsStmt { - CreateStatsStmt: { - defnames?: Node[]; - stat_types?: Node[]; - exprs?: Node[]; - relations?: Node[]; - stxcomment?: string; - transformed?: boolean; - if_not_exists?: boolean; - }; + defnames?: Node[]; + stat_types?: Node[]; + exprs?: Node[]; + relations?: Node[]; + stxcomment?: string; + transformed?: boolean; + if_not_exists?: boolean; } export interface StatsElem { - StatsElem: { - name?: string; - expr?: Node; - }; + name?: string; + expr?: Node; } export interface AlterStatsStmt { - AlterStatsStmt: { - defnames?: Node[]; - stxstattarget?: number; - missing_ok?: boolean; - }; + defnames?: Node[]; + stxstattarget?: number; + missing_ok?: boolean; } export interface CreateFunctionStmt { - CreateFunctionStmt: { - is_procedure?: boolean; - replace?: boolean; - funcname?: Node[]; - parameters?: Node[]; - returnType?: TypeName; - options?: Node[]; - sql_body?: Node; - }; + is_procedure?: boolean; + replace?: boolean; + funcname?: Node[]; + parameters?: Node[]; + returnType?: TypeName; + options?: Node[]; + sql_body?: Node; } export interface FunctionParameter { - FunctionParameter: { - name?: string; - argType?: TypeName; - mode?: FunctionParameterMode; - defexpr?: Node; - }; + name?: string; + argType?: TypeName; + mode?: FunctionParameterMode; + defexpr?: Node; } export interface AlterFunctionStmt { - AlterFunctionStmt: { - objtype?: ObjectType; - func?: ObjectWithArgs; - actions?: Node[]; - }; + objtype?: ObjectType; + func?: ObjectWithArgs; + actions?: Node[]; } export interface DoStmt { - DoStmt: { - args?: Node[]; - }; + args?: Node[]; } export interface InlineCodeBlock { - InlineCodeBlock: { - source_text?: string; - langOid?: number; - langIsTrusted?: boolean; - atomic?: boolean; - }; + source_text?: string; + langOid?: number; + langIsTrusted?: boolean; + atomic?: boolean; } export interface CallStmt { - CallStmt: { - funccall?: FuncCall; - funcexpr?: FuncExpr; - outargs?: Node[]; - }; + funccall?: FuncCall; + funcexpr?: FuncExpr; + outargs?: Node[]; } export interface CallContext { - CallContext: { - atomic?: boolean; - }; + atomic?: boolean; } export interface RenameStmt { - RenameStmt: { - renameType?: ObjectType; - relationType?: ObjectType; - relation?: RangeVar; - object?: Node; - subname?: string; - newname?: string; - behavior?: DropBehavior; - missing_ok?: boolean; - }; + renameType?: ObjectType; + relationType?: ObjectType; + relation?: RangeVar; + object?: Node; + subname?: string; + newname?: string; + behavior?: DropBehavior; + missing_ok?: boolean; } export interface AlterObjectDependsStmt { - AlterObjectDependsStmt: { - objectType?: ObjectType; - relation?: RangeVar; - object?: Node; - extname?: String; - remove?: boolean; - }; + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + extname?: String; + remove?: boolean; } export interface AlterObjectSchemaStmt { - AlterObjectSchemaStmt: { - objectType?: ObjectType; - relation?: RangeVar; - object?: Node; - newschema?: string; - missing_ok?: boolean; - }; + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + newschema?: string; + missing_ok?: boolean; } export interface AlterOwnerStmt { - AlterOwnerStmt: { - objectType?: ObjectType; - relation?: RangeVar; - object?: Node; - newowner?: RoleSpec; - }; + objectType?: ObjectType; + relation?: RangeVar; + object?: Node; + newowner?: RoleSpec; } export interface AlterOperatorStmt { - AlterOperatorStmt: { - opername?: ObjectWithArgs; - options?: Node[]; - }; + opername?: ObjectWithArgs; + options?: Node[]; } export interface AlterTypeStmt { - AlterTypeStmt: { - typeName?: Node[]; - options?: Node[]; - }; + typeName?: Node[]; + options?: Node[]; } export interface RuleStmt { - RuleStmt: { - relation?: RangeVar; - rulename?: string; - whereClause?: Node; - event?: CmdType; - instead?: boolean; - actions?: Node[]; - replace?: boolean; - }; + relation?: RangeVar; + rulename?: string; + whereClause?: Node; + event?: CmdType; + instead?: boolean; + actions?: Node[]; + replace?: boolean; } export interface NotifyStmt { - NotifyStmt: { - conditionname?: string; - payload?: string; - }; + conditionname?: string; + payload?: string; } export interface ListenStmt { - ListenStmt: { - conditionname?: string; - }; + conditionname?: string; } export interface UnlistenStmt { - UnlistenStmt: { - conditionname?: string; - }; + conditionname?: string; } export interface TransactionStmt { - TransactionStmt: { - kind?: TransactionStmtKind; - options?: Node[]; - savepoint_name?: string; - gid?: string; - chain?: boolean; - }; + kind?: TransactionStmtKind; + options?: Node[]; + savepoint_name?: string; + gid?: string; + chain?: boolean; } export interface CompositeTypeStmt { - CompositeTypeStmt: { - typevar?: RangeVar; - coldeflist?: Node[]; - }; + typevar?: RangeVar; + coldeflist?: Node[]; } export interface CreateEnumStmt { - CreateEnumStmt: { - typeName?: Node[]; - vals?: Node[]; - }; + typeName?: Node[]; + vals?: Node[]; } export interface CreateRangeStmt { - CreateRangeStmt: { - typeName?: Node[]; - params?: Node[]; - }; + typeName?: Node[]; + params?: Node[]; } export interface AlterEnumStmt { - AlterEnumStmt: { - typeName?: Node[]; - oldVal?: string; - newVal?: string; - newValNeighbor?: string; - newValIsAfter?: boolean; - skipIfNewValExists?: boolean; - }; + typeName?: Node[]; + oldVal?: string; + newVal?: string; + newValNeighbor?: string; + newValIsAfter?: boolean; + skipIfNewValExists?: boolean; } export interface ViewStmt { - ViewStmt: { - view?: RangeVar; - aliases?: Node[]; - query?: Node; - replace?: boolean; - options?: Node[]; - withCheckOption?: ViewCheckOption; - }; + view?: RangeVar; + aliases?: Node[]; + query?: Node; + replace?: boolean; + options?: Node[]; + withCheckOption?: ViewCheckOption; } export interface LoadStmt { - LoadStmt: { - filename?: string; - }; + filename?: string; } export interface CreatedbStmt { - CreatedbStmt: { - dbname?: string; - options?: Node[]; - }; + dbname?: string; + options?: Node[]; } export interface AlterDatabaseStmt { - AlterDatabaseStmt: { - dbname?: string; - options?: Node[]; - }; + dbname?: string; + options?: Node[]; } export interface AlterDatabaseRefreshCollStmt { - AlterDatabaseRefreshCollStmt: { - dbname?: string; - }; + dbname?: string; } export interface AlterDatabaseSetStmt { - AlterDatabaseSetStmt: { - dbname?: string; - setstmt?: VariableSetStmt; - }; + dbname?: string; + setstmt?: VariableSetStmt; } export interface DropdbStmt { - DropdbStmt: { - dbname?: string; - missing_ok?: boolean; - options?: Node[]; - }; + dbname?: string; + missing_ok?: boolean; + options?: Node[]; } export interface AlterSystemStmt { - AlterSystemStmt: { - setstmt?: VariableSetStmt; - }; + setstmt?: VariableSetStmt; } export interface ClusterStmt { - ClusterStmt: { - relation?: RangeVar; - indexname?: string; - params?: Node[]; - }; + relation?: RangeVar; + indexname?: string; + params?: Node[]; } export interface VacuumStmt { - VacuumStmt: { - options?: Node[]; - rels?: Node[]; - is_vacuumcmd?: boolean; - }; + options?: Node[]; + rels?: Node[]; + is_vacuumcmd?: boolean; } export interface VacuumRelation { - VacuumRelation: { - relation?: RangeVar; - oid?: number; - va_cols?: Node[]; - }; + relation?: RangeVar; + oid?: number; + va_cols?: Node[]; } export interface ExplainStmt { - ExplainStmt: { - query?: Node; - options?: Node[]; - }; + query?: Node; + options?: Node[]; } export interface CreateTableAsStmt { - CreateTableAsStmt: { - query?: Node; - into?: IntoClause; - objtype?: ObjectType; - is_select_into?: boolean; - if_not_exists?: boolean; - }; + query?: Node; + into?: IntoClause; + objtype?: ObjectType; + is_select_into?: boolean; + if_not_exists?: boolean; } export interface RefreshMatViewStmt { - RefreshMatViewStmt: { - concurrent?: boolean; - skipData?: boolean; - relation?: RangeVar; - }; -} -export interface CheckPointStmt { - CheckPointStmt: {}; + concurrent?: boolean; + skipData?: boolean; + relation?: RangeVar; } +export interface CheckPointStmt {} export interface DiscardStmt { - DiscardStmt: { - target?: DiscardMode; - }; + target?: DiscardMode; } export interface LockStmt { - LockStmt: { - relations?: Node[]; - mode?: number; - nowait?: boolean; - }; + relations?: Node[]; + mode?: number; + nowait?: boolean; } export interface ConstraintsSetStmt { - ConstraintsSetStmt: { - constraints?: Node[]; - deferred?: boolean; - }; + constraints?: Node[]; + deferred?: boolean; } export interface ReindexStmt { - ReindexStmt: { - kind?: ReindexObjectType; - relation?: RangeVar; - name?: string; - params?: Node[]; - }; + kind?: ReindexObjectType; + relation?: RangeVar; + name?: string; + params?: Node[]; } export interface CreateConversionStmt { - CreateConversionStmt: { - conversion_name?: Node[]; - for_encoding_name?: string; - to_encoding_name?: string; - func_name?: Node[]; - def?: boolean; - }; + conversion_name?: Node[]; + for_encoding_name?: string; + to_encoding_name?: string; + func_name?: Node[]; + def?: boolean; } export interface CreateCastStmt { - CreateCastStmt: { - sourcetype?: TypeName; - targettype?: TypeName; - func?: ObjectWithArgs; - context?: CoercionContext; - inout?: boolean; - }; + sourcetype?: TypeName; + targettype?: TypeName; + func?: ObjectWithArgs; + context?: CoercionContext; + inout?: boolean; } export interface CreateTransformStmt { - CreateTransformStmt: { - replace?: boolean; - type_name?: TypeName; - lang?: string; - fromsql?: ObjectWithArgs; - tosql?: ObjectWithArgs; - }; + replace?: boolean; + type_name?: TypeName; + lang?: string; + fromsql?: ObjectWithArgs; + tosql?: ObjectWithArgs; } export interface PrepareStmt { - PrepareStmt: { - name?: string; - argtypes?: Node[]; - query?: Node; - }; + name?: string; + argtypes?: Node[]; + query?: Node; } export interface ExecuteStmt { - ExecuteStmt: { - name?: string; - params?: Node[]; - }; + name?: string; + params?: Node[]; } export interface DeallocateStmt { - DeallocateStmt: { - name?: string; - }; + name?: string; } export interface DropOwnedStmt { - DropOwnedStmt: { - roles?: Node[]; - behavior?: DropBehavior; - }; + roles?: Node[]; + behavior?: DropBehavior; } export interface ReassignOwnedStmt { - ReassignOwnedStmt: { - roles?: Node[]; - newrole?: RoleSpec; - }; + roles?: Node[]; + newrole?: RoleSpec; } export interface AlterTSDictionaryStmt { - AlterTSDictionaryStmt: { - dictname?: Node[]; - options?: Node[]; - }; + dictname?: Node[]; + options?: Node[]; } export interface AlterTSConfigurationStmt { - AlterTSConfigurationStmt: { - kind?: AlterTSConfigType; - cfgname?: Node[]; - tokentype?: Node[]; - dicts?: Node[]; - override?: boolean; - replace?: boolean; - missing_ok?: boolean; - }; + kind?: AlterTSConfigType; + cfgname?: Node[]; + tokentype?: Node[]; + dicts?: Node[]; + override?: boolean; + replace?: boolean; + missing_ok?: boolean; } export interface PublicationTable { - PublicationTable: { - relation?: RangeVar; - whereClause?: Node; - columns?: Node[]; - }; + relation?: RangeVar; + whereClause?: Node; + columns?: Node[]; } export interface PublicationObjSpec { - PublicationObjSpec: { - pubobjtype?: PublicationObjSpecType; - name?: string; - pubtable?: PublicationTable; - location?: number; - }; + pubobjtype?: PublicationObjSpecType; + name?: string; + pubtable?: PublicationTable; + location?: number; } export interface CreatePublicationStmt { - CreatePublicationStmt: { - pubname?: string; - options?: Node[]; - pubobjects?: Node[]; - for_all_tables?: boolean; - }; + pubname?: string; + options?: Node[]; + pubobjects?: Node[]; + for_all_tables?: boolean; } export interface AlterPublicationStmt { - AlterPublicationStmt: { - pubname?: string; - options?: Node[]; - pubobjects?: Node[]; - for_all_tables?: boolean; - action?: AlterPublicationAction; - }; + pubname?: string; + options?: Node[]; + pubobjects?: Node[]; + for_all_tables?: boolean; + action?: AlterPublicationAction; } export interface CreateSubscriptionStmt { - CreateSubscriptionStmt: { - subname?: string; - conninfo?: string; - publication?: Node[]; - options?: Node[]; - }; + subname?: string; + conninfo?: string; + publication?: Node[]; + options?: Node[]; } export interface AlterSubscriptionStmt { - AlterSubscriptionStmt: { - kind?: AlterSubscriptionType; - subname?: string; - conninfo?: string; - publication?: Node[]; - options?: Node[]; - }; + kind?: AlterSubscriptionType; + subname?: string; + conninfo?: string; + publication?: Node[]; + options?: Node[]; } export interface DropSubscriptionStmt { - DropSubscriptionStmt: { - subname?: string; - missing_ok?: boolean; - behavior?: DropBehavior; - }; + subname?: string; + missing_ok?: boolean; + behavior?: DropBehavior; } export interface ScanToken { ScanToken: { diff --git a/packages/parser/__tests__/runtime-schema.test.ts b/packages/parser/__tests__/runtime-schema.test.ts new file mode 100644 index 0000000..233cc3a --- /dev/null +++ b/packages/parser/__tests__/runtime-schema.test.ts @@ -0,0 +1,112 @@ +import { parseAndSnap } from '../test-utils'; + +describe('runtime-schema', () => { + it('json format enabled', () => { + parseAndSnap('runtime-schema/json/enabled', { + runtimeSchema: { + enabled: true, + format: 'json', + filename: 'runtime-schema' + } + }); + }); + + it('typescript format enabled', () => { + parseAndSnap('runtime-schema/typescript/enabled', { + runtimeSchema: { + enabled: true, + format: 'typescript', + filename: 'runtime-schema' + } + }); + }); + + it('custom filename json', () => { + parseAndSnap('runtime-schema/json/custom-filename', { + runtimeSchema: { + enabled: true, + format: 'json', + filename: 'custom-node-specs' + } + }); + }); + + it('custom filename typescript', () => { + parseAndSnap('runtime-schema/typescript/custom-filename', { + runtimeSchema: { + enabled: true, + format: 'typescript', + filename: 'custom-node-specs' + } + }); + }); + + it('disabled runtime schema', () => { + parseAndSnap('runtime-schema/disabled', { + runtimeSchema: { + enabled: false + }, + types: { + enabled: true + } + }); + }); + + it('runtime schema with all features enabled', () => { + parseAndSnap('runtime-schema/full-features', { + runtimeSchema: { + enabled: true, + format: 'json', + filename: 'complete-schema' + }, + types: { + enabled: true, + wrapped: { + enabled: true + } + }, + enums: { + enabled: true + }, + utils: { + astHelpers: { + enabled: true + } + } + }); + }); + + it('runtime schema with typescript and all features', () => { + parseAndSnap('runtime-schema/typescript/full-features', { + runtimeSchema: { + enabled: true, + format: 'typescript', + filename: 'complete-schema' + }, + types: { + enabled: true, + wrapped: { + enabled: true + } + }, + enums: { + enabled: true + }, + utils: { + astHelpers: { + enabled: true + } + } + }); + }); + + it('runtime schema with latest proto', () => { + parseAndSnap('runtime-schema/latest-proto', { + runtimeSchema: { + enabled: true, + format: 'json', + filename: 'latest-schema' + } + }, '17-latest.proto'); + }); +}); diff --git a/packages/parser/package.json b/packages/parser/package.json index 262b046..0f189ee 100644 --- a/packages/parser/package.json +++ b/packages/parser/package.json @@ -85,6 +85,7 @@ "deepmerge": "4.3.1", "nested-obj": "^0.0.1", "node-html-parser": "6.1.12", - "recast": "0.23.6" + "recast": "0.23.6", + "strfy-js": "^3.0.1" } } diff --git a/packages/parser/src/ast/types/types.ts b/packages/parser/src/ast/types/types.ts index beaf387..210d524 100644 --- a/packages/parser/src/ast/types/types.ts +++ b/packages/parser/src/ast/types/types.ts @@ -2,7 +2,7 @@ import { Type, Field } from '@launchql/protobufjs'; import * as t from '@babel/types'; import { createNamedImport, createNamedImportAsSuffix, getFieldName, toSpecialCamelCase } from '../../utils'; import { PgProtoParserOptions } from '../../options'; -import { NODE_TYPE, SPECIAL_TYPES } from '../../constants'; +import { NODE_TYPE } from '../../constants'; import { resolveTypeName } from './utils'; export const generateTypeImports = (types: Type[], source: string, suffix?: string) => { @@ -17,22 +17,9 @@ export const generateAstHelperMethods = (types: Type[]): t.ExportDefaultDeclarat const param = t.identifier('_p'); param.optional = true; + param.typeAnnotation = t.tsTypeAnnotation(t.tsTypeReference(t.identifier(typeName))); - if (!SPECIAL_TYPES.includes(type.name)) { - param.typeAnnotation = t.tsTypeAnnotation( - t.tsIndexedAccessType( - t.tsTypeReference(t.identifier(typeName)), - t.tsLiteralType(t.stringLiteral(typeName)) - ) - ); - } else { - param.typeAnnotation = t.tsTypeAnnotation(t.tsTypeReference(t.identifier(typeName))); - } - - let init: any = [t.objectProperty(t.identifier(typeName), t.objectExpression([]))]; - if (SPECIAL_TYPES.includes(typeName)) { - init = []; - } + let init: any = []; // @ts-ignore const fields: Field[] = type.fields; @@ -54,7 +41,7 @@ export const generateAstHelperMethods = (types: Type[]): t.ExportDefaultDeclarat t.memberExpression(t.identifier('_o'), t.identifier('set')), [ t.identifier('_j'), - t.stringLiteral(SPECIAL_TYPES.includes(typeName) ? fieldName : `${typeName}.${fieldName}`), + t.stringLiteral(fieldName), t.optionalMemberExpression( t.identifier('_p'), t.identifier(fieldName), @@ -182,10 +169,11 @@ export const convertTypeToTsInterface = ( } export const convertTypeToWrappedTsInterface = ( type: Type, - options: PgProtoParserOptions + options: PgProtoParserOptions, + isWrappedTypeFn: (typeName: string) => boolean ) => { const typeName = type.name; - if (SPECIAL_TYPES.includes(typeName)) return convertTypeToTsInterface(type, options); + if (isWrappedTypeFn(typeName)) return convertTypeToTsInterface(type, options); const properties = extractTypeFieldsAsTsProperties(type, options); @@ -213,4 +201,4 @@ export const generateTypeImportSpecifiers = (types: Type[], options: PgProtoPars const importDeclaration = t.importDeclaration(importSpecifiers, t.stringLiteral(options.utils.astHelpers.wrappedTypesSource)); return importDeclaration; -} \ No newline at end of file +} diff --git a/packages/parser/src/constants.ts b/packages/parser/src/constants.ts index e7af3ed..da91350 100644 --- a/packages/parser/src/constants.ts +++ b/packages/parser/src/constants.ts @@ -1,4 +1 @@ -export const SPECIAL_TYPES = ['TypeName']; -// export const SPECIAL_TYPES = ['TypeName', 'RangeVar']; - -export const NODE_TYPE = 'Node'; \ No newline at end of file +export const NODE_TYPE = 'Node'; diff --git a/packages/parser/src/options/defaults.ts b/packages/parser/src/options/defaults.ts index 60f95d9..e2adeda 100644 --- a/packages/parser/src/options/defaults.ts +++ b/packages/parser/src/options/defaults.ts @@ -44,6 +44,11 @@ export const defaultPgProtoParserOptions: PgProtoParserOptions = { }, removeUndefinedAt0: true }, + runtimeSchema: { + enabled: false, + filename: 'runtime-schema', + format: 'json' + }, parser: { keepCase: false, alternateCommentMode: true, @@ -55,4 +60,4 @@ export const getOptionsWithDefaults = (options: PgProtoParserOptions): PgProtoPa // If an element at the same key is present for both x and y in deepmerge(x,y), the value from y will appear in the result. options = deepmerge(defaultPgProtoParserOptions, options ?? {}); return options; -}; \ No newline at end of file +}; diff --git a/packages/parser/src/options/types.ts b/packages/parser/src/options/types.ts index 1733d84..96f7024 100644 --- a/packages/parser/src/options/types.ts +++ b/packages/parser/src/options/types.ts @@ -62,6 +62,14 @@ export interface PgProtoStoreOptions { } }; + // Options related to runtime schema generation. + runtimeSchema?: { + // Whether to generate runtime schema for AST nodes + enabled?: boolean; + filename?: string; + format?: 'json' | 'typescript'; + }; + // Options related to enumeration handling. enums?: { // Whether to include TypeScript enums. diff --git a/packages/parser/src/runtime-schema/README.md b/packages/parser/src/runtime-schema/README.md new file mode 100644 index 0000000..5978a3a --- /dev/null +++ b/packages/parser/src/runtime-schema/README.md @@ -0,0 +1,91 @@ +# Runtime Schema Generator + +This module provides runtime schema generation for PostgreSQL AST nodes based on protobuf definitions. + +## Overview + +The runtime schema system extracts metadata from protobuf definitions to create a comprehensive schema that describes: +- All AST node types and their structure +- Which types are wrapped (listed in Node.oneof) +- Field specifications including type, optionality, and array status +- Node field detection for AST references + +## Usage + +### Basic Usage + +```typescript +import { RuntimeSchemaGenerator } from './generator'; +import { NodeSpec } from './types'; + +const generator = new RuntimeSchemaGenerator(protoRoot); +const nodeSpecs: NodeSpec[] = generator.generateNodeSpecs(); +``` + +### Integration with Parser + +```typescript +import { PgProtoParser } from '../parser'; + +const options = { + outDir: './output', + runtimeSchema: { + enabled: true, + filename: 'ast-schema', + format: 'json' // or 'typescript' + } +}; + +const parser = new PgProtoParser('./proto/pg_query.proto', options); +parser.write(); +``` + +## Generated Schema Structure + +### NodeSpec + +Each AST node type is represented by a NodeSpec: + +```typescript +interface NodeSpec { + name: string; // e.g. "CreateStmt" + wrapped: boolean; // true if listed in Node.oneof + fields: FieldSpec[]; // all fields for this type +} +``` + +### FieldSpec + +Each field within a node is represented by a FieldSpec: + +```typescript +interface FieldSpec { + name: string; // field name + type: string; // field type (e.g. "RangeVar", "string", "Node") + isNode: boolean; // true if field references AST nodes + isArray: boolean; // true if field is repeated + optional: boolean; // true if field is optional +} +``` + +## CLI Tool + +A CLI tool is available for generating runtime schemas: + +```bash +pg-proto-parser runtime-schema --inFile --outDir +``` + +For more options, see the CLI documentation or run: +```bash +pg-proto-parser runtime-schema --help +``` + +## Applications + +The runtime schema enables: +- Dynamic AST validation +- Automated deparser generation +- GUI tools for AST manipulation +- Runtime type introspection +- Advanced code analysis tools diff --git a/packages/parser/src/runtime-schema/generator.ts b/packages/parser/src/runtime-schema/generator.ts new file mode 100644 index 0000000..c7411ba --- /dev/null +++ b/packages/parser/src/runtime-schema/generator.ts @@ -0,0 +1,84 @@ +import { Type, Field, Enum, Namespace, ReflectionObject } from '@launchql/protobufjs'; +import { NodeSpec, FieldSpec } from './types'; + +export class RuntimeSchemaGenerator { + private root: Namespace; + private wrappedTypes: Set = new Set(); + + constructor(root: Namespace) { + this.root = root; + this.extractWrappedTypes(); + } + + private extractWrappedTypes(): void { + const nodeType = this.root.lookupType('Node'); + if (nodeType && nodeType.oneofs && nodeType.oneofs.node) { + const oneof = nodeType.oneofs.node; + for (const fieldName of oneof.fieldsArray.map(f => f.name)) { + const field = nodeType.fields[fieldName]; + if (field && field.type) { + this.wrappedTypes.add(field.type); + } + } + } + } + + public generateNodeSpecs(): NodeSpec[] { + const nodeSpecs: NodeSpec[] = []; + + const pgQueryNamespace = this.root.nested?.pg_query; + if (pgQueryNamespace && pgQueryNamespace instanceof Namespace && pgQueryNamespace.nestedArray) { + pgQueryNamespace.nestedArray.forEach((nested) => { + if (nested instanceof Type && nested.name !== 'Node') { + const nodeSpec = this.createNodeSpec(nested); + if (nodeSpec) { + nodeSpecs.push(nodeSpec); + } + } + }); + } + + return nodeSpecs.sort((a, b) => a.name.localeCompare(b.name)); + } + + private createNodeSpec(type: Type): NodeSpec | null { + const fields: FieldSpec[] = []; + + Object.values(type.fields).forEach((field) => { + const fieldSpec = this.createFieldSpec(field); + if (fieldSpec) { + fields.push(fieldSpec); + } + }); + + return { + name: type.name, + wrapped: this.wrappedTypes.has(type.name), + fields: fields.sort((a, b) => a.name.localeCompare(b.name)) + }; + } + + private createFieldSpec(field: Field): FieldSpec | null { + const fieldName = field.name; + const isArray = field.repeated || false; + const optional = !field.required; + const fieldType = field.type; + const isNode = fieldType === 'Node' || this.wrappedTypes.has(fieldType); + + return { + name: fieldName, + type: fieldType, + isNode, + isArray, + optional + }; + } + + public getWrappedTypes(): string[] { + return Array.from(this.wrappedTypes).sort(); + } + + public getWrappedTypesCount(): number { + return this.wrappedTypes.size; + } +} diff --git a/packages/parser/src/runtime-schema/index.ts b/packages/parser/src/runtime-schema/index.ts new file mode 100644 index 0000000..24b8cc1 --- /dev/null +++ b/packages/parser/src/runtime-schema/index.ts @@ -0,0 +1,2 @@ +export { RuntimeSchemaGenerator } from './generator'; +export type { NodeSpec, FieldSpec, RuntimeSchemaOptions } from './types'; diff --git a/packages/parser/src/runtime-schema/types.ts b/packages/parser/src/runtime-schema/types.ts new file mode 100644 index 0000000..ed4a6ad --- /dev/null +++ b/packages/parser/src/runtime-schema/types.ts @@ -0,0 +1,19 @@ +export interface FieldSpec { + name: string; + type: string; + isNode: boolean; + isArray: boolean; + optional: boolean; +} + +export interface NodeSpec { + name: string; + wrapped: boolean; + fields: FieldSpec[]; +} + +export interface RuntimeSchemaOptions { + enabled?: boolean; + filename?: string; + format?: 'json' | 'typescript'; +} diff --git a/packages/parser/src/store.ts b/packages/parser/src/store.ts index 9d52c0a..c884d77 100644 --- a/packages/parser/src/store.ts +++ b/packages/parser/src/store.ts @@ -1,6 +1,8 @@ import { Service, Type, Field, Enum, Namespace, ReflectionObject } from '@launchql/protobufjs'; import { generateEnumImports, generateAstHelperMethods, generateTypeImportSpecifiers, generateEnumValueFunctions, convertEnumToTsUnionType, convertEnumToTsEnumDeclaration, generateNodeUnionType, convertTypeToTsInterface, convertTypeToWrappedTsInterface } from './ast'; +import { RuntimeSchemaGenerator } from './runtime-schema'; import { generateEnum2IntJSON, generateEnum2StrJSON } from './ast/enums/enums-json'; +import { jsStringify } from 'strfy-js'; import { sync as mkdirp } from 'mkdirp'; import { join } from 'path'; import { getOptionsWithDefaults, PgProtoStoreOptions } from './options'; @@ -28,6 +30,7 @@ export class ProtoStore implements IProtoStore { fields: Field[]; enums: Enum[]; namespaces: Namespace[]; + private _runtimeSchema?: any[]; constructor( root: ReflectionObject, @@ -78,7 +81,7 @@ export class ProtoStore implements IProtoStore { decrement = 1; continue; } - newValues[key] = value - decrement; + newValues[key] = (value as number) - decrement; } clone.values = newValues; @@ -95,6 +98,7 @@ export class ProtoStore implements IProtoStore { this.writeEnums(); this.writeUtilsEnums(); this.writeAstHelpers(); + this.writeRuntimeSchema(); } writeEnumsJSON() { @@ -148,7 +152,7 @@ export class ProtoStore implements IProtoStore { ); const node = generateNodeUnionType(this.options, typesToProcess); const types = typesToProcess.reduce((m, type) => { - return [...m, convertTypeToWrappedTsInterface(type, this.options)] + return [...m, convertTypeToWrappedTsInterface(type, this.options, (typeName: string) => this.isWrappedType(typeName))] }, []); this.writeCodeToFile(this.options.types.wrapped.filename, [ enumImports, @@ -197,6 +201,76 @@ export class ProtoStore implements IProtoStore { } } + writeRuntimeSchema() { + if (!this.options.runtimeSchema?.enabled) { + return; + } + + const generator = new RuntimeSchemaGenerator(this.root as Namespace); + const nodeSpecs = generator.generateNodeSpecs(); + const format = this.options.runtimeSchema.format || 'json'; + const filename = this.options.runtimeSchema.filename || 'runtime-schema'; + + if (format === 'json') { + const jsonContent = JSON.stringify(nodeSpecs, null, 2); + const outFile = join(this.options.outDir, `${filename}.json`); + writeFileToDisk(outFile, jsonContent, this.options); + } else if (format === 'typescript') { + const tsContent = this.generateRuntimeSchemaTypeScript(nodeSpecs); + const outFile = join(this.options.outDir, `${filename}.ts`); + writeFileToDisk(outFile, tsContent, this.options); + } + } + + getRuntimeSchema() { + if (!this._runtimeSchema) { + const generator = new RuntimeSchemaGenerator(this.root as Namespace); + this._runtimeSchema = generator.generateNodeSpecs(); + } + return this._runtimeSchema; + } + + isWrappedType(typeName: string): boolean { + const schema = this.getRuntimeSchema(); + const nodeSpec = schema.find(spec => spec.name === typeName); + return nodeSpec ? nodeSpec.wrapped : false; + } + + generateRuntimeSchemaTypeScript(nodeSpecs: any[]): string { + const interfaceDefinitions = [ + 'export interface FieldSpec {', + ' name: string;', + ' type: string;', + ' isNode: boolean;', + ' isArray: boolean;', + ' optional: boolean;', + '}', + '', + 'export interface NodeSpec {', + ' name: string;', + ' wrapped: boolean;', + ' fields: FieldSpec[];', + '}', + '' + ]; + + const exportStatement = `export const runtimeSchema: NodeSpec[] = ${jsStringify(nodeSpecs, { + space: 2, + camelCase: true, + quotes: 'single' + })};`; + + return [ + this.options.includeHeader ? this.getHeader() : '', + ...interfaceDefinitions, + exportStatement + ].filter(Boolean).join('\n'); + } + + getHeader(): string { + return `// Generated by pg-proto-parser`; + } + writeFile(filename: string, content: string) { const file = join(this.options.outDir, filename); writeFileToDisk(file, content, this.options); diff --git a/packages/parser/types/ast/types/types.d.ts b/packages/parser/types/ast/types/types.d.ts index f5afc9c..3d72229 100644 --- a/packages/parser/types/ast/types/types.d.ts +++ b/packages/parser/types/ast/types/types.d.ts @@ -2,9 +2,9 @@ import { Type } from '@launchql/protobufjs'; import * as t from '@babel/types'; import { PgProtoParserOptions } from '../../options'; export declare const generateTypeImports: (types: Type[], source: string, suffix?: string) => t.ImportDeclaration; -export declare const generateAstHelperMethods: (types: Type[]) => t.ExportDefaultDeclaration; +export declare const generateAstHelperMethods: (types: Type[], isWrappedTypeFn: (typeName: string) => boolean) => t.ExportDefaultDeclaration; export declare const generateNodeUnionType: (options: PgProtoParserOptions, types: Type[]) => t.ExportNamedDeclaration; export declare const generateNodeUnionTypeObjectKeys: (types: Type[]) => t.ExportNamedDeclaration; export declare const convertTypeToTsInterface: (type: Type, options: PgProtoParserOptions) => t.ExportNamedDeclaration; -export declare const convertTypeToWrappedTsInterface: (type: Type, options: PgProtoParserOptions) => t.ExportNamedDeclaration; +export declare const convertTypeToWrappedTsInterface: (type: Type, options: PgProtoParserOptions, isWrappedTypeFn: (typeName: string) => boolean) => t.ExportNamedDeclaration; export declare const generateTypeImportSpecifiers: (types: Type[], options: PgProtoParserOptions) => t.ImportDeclaration; diff --git a/packages/parser/types/constants.d.ts b/packages/parser/types/constants.d.ts index 3d9da5e..20e2430 100644 --- a/packages/parser/types/constants.d.ts +++ b/packages/parser/types/constants.d.ts @@ -1,2 +1 @@ -export declare const SPECIAL_TYPES: string[]; export declare const NODE_TYPE = "Node"; diff --git a/packages/parser/types/options/types.d.ts b/packages/parser/types/options/types.d.ts index 17d6653..1c68210 100644 --- a/packages/parser/types/options/types.d.ts +++ b/packages/parser/types/options/types.d.ts @@ -32,6 +32,11 @@ export interface PgProtoStoreOptions { filename?: string; }; }; + runtimeSchema?: { + enabled?: boolean; + filename?: string; + format?: 'json' | 'typescript'; + }; enums?: { enabled?: boolean; filename?: string; diff --git a/packages/parser/types/runtime-schema/generator.d.ts b/packages/parser/types/runtime-schema/generator.d.ts new file mode 100644 index 0000000..abf9aa8 --- /dev/null +++ b/packages/parser/types/runtime-schema/generator.d.ts @@ -0,0 +1,13 @@ +import { Namespace } from '@launchql/protobufjs'; +import { NodeSpec } from './types'; +export declare class RuntimeSchemaGenerator { + private root; + private wrappedTypes; + constructor(root: Namespace); + private extractWrappedTypes; + generateNodeSpecs(): NodeSpec[]; + private createNodeSpec; + private createFieldSpec; + getWrappedTypes(): string[]; + getWrappedTypesCount(): number; +} diff --git a/packages/parser/types/runtime-schema/index.d.ts b/packages/parser/types/runtime-schema/index.d.ts new file mode 100644 index 0000000..24b8cc1 --- /dev/null +++ b/packages/parser/types/runtime-schema/index.d.ts @@ -0,0 +1,2 @@ +export { RuntimeSchemaGenerator } from './generator'; +export type { NodeSpec, FieldSpec, RuntimeSchemaOptions } from './types'; diff --git a/packages/parser/types/runtime-schema/types.d.ts b/packages/parser/types/runtime-schema/types.d.ts new file mode 100644 index 0000000..4913fad --- /dev/null +++ b/packages/parser/types/runtime-schema/types.d.ts @@ -0,0 +1,17 @@ +export interface FieldSpec { + name: string; + type: string; + isNode: boolean; + isArray: boolean; + optional: boolean; +} +export interface NodeSpec { + name: string; + wrapped: boolean; + fields: FieldSpec[]; +} +export interface RuntimeSchemaOptions { + enabled?: boolean; + filename?: string; + format?: 'json' | 'typescript'; +} diff --git a/packages/parser/types/store.d.ts b/packages/parser/types/store.d.ts index 029834c..88e8bad 100644 --- a/packages/parser/types/store.d.ts +++ b/packages/parser/types/store.d.ts @@ -19,6 +19,7 @@ export declare class ProtoStore implements IProtoStore { fields: Field[]; enums: Enum[]; namespaces: Namespace[]; + private _runtimeSchema?; constructor(root: ReflectionObject, options?: PgProtoStoreOptions); _parse(node: ReflectionObject, name?: string): void; _processEnum(enumNode: Enum): Enum; @@ -32,6 +33,11 @@ export declare class ProtoStore implements IProtoStore { writeEnums(): void; writeUtilsEnums(): void; writeAstHelpers(): void; + writeRuntimeSchema(): void; + getRuntimeSchema(): any[]; + isWrappedType(typeName: string): boolean; + generateRuntimeSchemaTypeScript(nodeSpecs: any[]): string; + getHeader(): string; writeFile(filename: string, content: string): void; writeCodeToFile(filename: string, nodes: t.Node[]): void; } diff --git a/yarn.lock b/yarn.lock index 0a72cae..9139f48 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4,12 +4,12 @@ "@aashutoshrathi/word-wrap@^1.2.3": version "1.2.6" - resolved "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz#bd9154aec9983f77b3a034ecaa015c2e4201f6cf" + resolved "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz" integrity sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA== "@ampproject/remapping@^2.2.0": version "2.3.0" - resolved "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz#ed441b6fa600072520ce18b43d2c8cc8caecc7f4" + resolved "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz" integrity sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw== dependencies: "@jridgewell/gen-mapping" "^0.3.5" @@ -17,7 +17,7 @@ "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.23.5", "@babel/code-frame@^7.24.1", "@babel/code-frame@^7.24.2": version "7.24.2" - resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.2.tgz#718b4b19841809a58b29b68cde80bc5e1aa6d9ae" + resolved "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.2.tgz" integrity sha512-y5+tLQyV8pg3fsiln67BVLD1P13Eg4lh5RW9mF0zUuvLrv9uIQ4MCL+CRT+FTsBlBjcIan6PGsLcBN0m3ClUyQ== dependencies: "@babel/highlight" "^7.24.2" @@ -25,12 +25,12 @@ "@babel/compat-data@^7.23.5": version "7.24.1" - resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.1.tgz#31c1f66435f2a9c329bb5716a6d6186c516c3742" + resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.24.1.tgz" integrity sha512-Pc65opHDliVpRHuKfzI+gSA4zcgr65O4cl64fFJIWEEh8JoHIHh0Oez1Eo8Arz8zq/JhgKodQaxEwUPRtZylVA== -"@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.23.9": +"@babel/core@^7.0.0", "@babel/core@^7.0.0-0", "@babel/core@^7.11.6", "@babel/core@^7.12.3", "@babel/core@^7.23.9", "@babel/core@^7.8.0", "@babel/core@>=7.0.0-beta.0 <8": version "7.24.3" - resolved "https://registry.npmjs.org/@babel/core/-/core-7.24.3.tgz#568864247ea10fbd4eff04dda1e05f9e2ea985c3" + resolved "https://registry.npmjs.org/@babel/core/-/core-7.24.3.tgz" integrity sha512-5FcvN1JHw2sHJChotgx8Ek0lyuh4kCKelgMTTqhYJJtloNvUfpAFMeNQUtdlIaktwrSV9LtCdqwk48wL2wBacQ== dependencies: "@ampproject/remapping" "^2.2.0" @@ -51,7 +51,7 @@ "@babel/generator@^7.23.6", "@babel/generator@^7.24.1", "@babel/generator@^7.7.2": version "7.24.1" - resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.24.1.tgz#e67e06f68568a4ebf194d1c6014235344f0476d0" + resolved "https://registry.npmjs.org/@babel/generator/-/generator-7.24.1.tgz" integrity sha512-DfCRfZsBcrPEHUfuBMgbJ1Ut01Y/itOs+hY2nFLgqsqXd52/iSiVq5TITtUasIUgm+IIKdY2/1I7auiQOEeC9A== dependencies: "@babel/types" "^7.24.0" @@ -61,7 +61,7 @@ "@babel/helper-compilation-targets@^7.23.6": version "7.23.6" - resolved "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz#4d79069b16cbcf1461289eccfbbd81501ae39991" + resolved "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz" integrity sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ== dependencies: "@babel/compat-data" "^7.23.5" @@ -72,12 +72,12 @@ "@babel/helper-environment-visitor@^7.22.20": version "7.22.20" - resolved "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz#96159db61d34a29dba454c959f5ae4a649ba9167" + resolved "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz" integrity sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA== "@babel/helper-function-name@^7.23.0": version "7.23.0" - resolved "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz#1f9a3cdbd5b2698a670c30d2735f9af95ed52759" + resolved "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz" integrity sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw== dependencies: "@babel/template" "^7.22.15" @@ -85,21 +85,21 @@ "@babel/helper-hoist-variables@^7.22.5": version "7.22.5" - resolved "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz#c01a007dac05c085914e8fb652b339db50d823bb" + resolved "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz" integrity sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw== dependencies: "@babel/types" "^7.22.5" "@babel/helper-module-imports@^7.22.15": version "7.24.3" - resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.3.tgz#6ac476e6d168c7c23ff3ba3cf4f7841d46ac8128" + resolved "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.3.tgz" integrity sha512-viKb0F9f2s0BCS22QSF308z/+1YWKV/76mwt61NBzS5izMzDPwdq1pTrzf+Li3npBWX9KdQbkeCt1jSAM7lZqg== dependencies: "@babel/types" "^7.24.0" "@babel/helper-module-transforms@^7.23.3": version "7.23.3" - resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz#d7d12c3c5d30af5b3c0fcab2a6d5217773e2d0f1" + resolved "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz" integrity sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ== dependencies: "@babel/helper-environment-visitor" "^7.22.20" @@ -110,41 +110,41 @@ "@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.24.0", "@babel/helper-plugin-utils@^7.8.0": version "7.24.0" - resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.0.tgz#945681931a52f15ce879fd5b86ce2dae6d3d7f2a" + resolved "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.0.tgz" integrity sha512-9cUznXMG0+FxRuJfvL82QlTqIzhVW9sL0KjMPHhAOOvpQGL8QtdxnBKILjBqxlHyliz0yCa1G903ZXI/FuHy2w== "@babel/helper-simple-access@^7.22.5": version "7.22.5" - resolved "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz#4938357dc7d782b80ed6dbb03a0fba3d22b1d5de" + resolved "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz" integrity sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w== dependencies: "@babel/types" "^7.22.5" "@babel/helper-split-export-declaration@^7.22.6": version "7.22.6" - resolved "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz#322c61b7310c0997fe4c323955667f18fcefb91c" + resolved "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz" integrity sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g== dependencies: "@babel/types" "^7.22.5" "@babel/helper-string-parser@^7.23.4": version "7.24.1" - resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.1.tgz#f99c36d3593db9540705d0739a1f10b5e20c696e" + resolved "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.1.tgz" integrity sha512-2ofRCjnnA9y+wk8b9IAREroeUP02KHp431N2mhKniy2yKIDKpbrHv9eXwm8cBeWQYcJmzv5qKCu65P47eCF7CQ== "@babel/helper-validator-identifier@^7.22.20": version "7.22.20" - resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz#c4ae002c61d2879e724581d96665583dbc1dc0e0" + resolved "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz" integrity sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A== "@babel/helper-validator-option@^7.23.5": version "7.23.5" - resolved "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz#907a3fbd4523426285365d1206c423c4c5520307" + resolved "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz" integrity sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw== "@babel/helpers@^7.24.1": version "7.24.1" - resolved "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.1.tgz#183e44714b9eba36c3038e442516587b1e0a1a94" + resolved "https://registry.npmjs.org/@babel/helpers/-/helpers-7.24.1.tgz" integrity sha512-BpU09QqEe6ZCHuIHFphEFgvNSrubve1FtyMton26ekZ85gRGi6LrTF7zArARp2YvyFxloeiRmtSCq5sjh1WqIg== dependencies: "@babel/template" "^7.24.0" @@ -153,7 +153,7 @@ "@babel/highlight@^7.24.2": version "7.24.2" - resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.2.tgz#3f539503efc83d3c59080a10e6634306e0370d26" + resolved "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.2.tgz" integrity sha512-Yac1ao4flkTxTteCDZLEvdxg2fZfz1v8M4QpaGypq/WPDqg3ijHYbDfs+LG5hvzSoqaSZ9/Z9lKSP3CjZjv+pA== dependencies: "@babel/helper-validator-identifier" "^7.22.20" @@ -163,124 +163,119 @@ "@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.23.6", "@babel/parser@^7.23.9", "@babel/parser@^7.24.0", "@babel/parser@^7.24.1": version "7.24.1" - resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.24.1.tgz#1e416d3627393fab1cb5b0f2f1796a100ae9133a" + resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.24.1.tgz" integrity sha512-Zo9c7N3xdOIQrNip7Lc9wvRPzlRtovHVE4lkz8WEDr7uYh/GMQhSiIgFxGIArRHYdJE5kxtZjAf8rT0xhdLCzg== -"@babel/parser@^7.20.15": - version "7.24.5" - resolved "https://registry.npmjs.org/@babel/parser/-/parser-7.24.5.tgz#4a4d5ab4315579e5398a82dcf636ca80c3392790" - integrity sha512-EOv5IK8arwh3LI47dz1b0tKUb/1uhHAnHJOrjgtQMIpu1uXd9mlFrJg9IUgGUgZ41Ch0K8REPTYpO7B76b4vJg== - "@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz" integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw== dependencies: "@babel/helper-plugin-utils" "^7.8.0" "@babel/plugin-syntax-bigint@^7.8.3": version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz#4c9a6f669f5d0cdf1b90a1671e9a146be5300cea" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz" integrity sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg== dependencies: "@babel/helper-plugin-utils" "^7.8.0" "@babel/plugin-syntax-class-properties@^7.8.3": version "7.12.13" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz#b5c987274c4a3a82b89714796931a6b53544ae10" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz" integrity sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA== dependencies: "@babel/helper-plugin-utils" "^7.12.13" "@babel/plugin-syntax-import-meta@^7.8.3": version "7.10.4" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz" integrity sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g== dependencies: "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-json-strings@^7.8.3": version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz" integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA== dependencies: "@babel/helper-plugin-utils" "^7.8.0" "@babel/plugin-syntax-jsx@^7.7.2": version "7.24.1" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.24.1.tgz#3f6ca04b8c841811dbc3c5c5f837934e0d626c10" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.24.1.tgz" integrity sha512-2eCtxZXf+kbkMIsXS4poTvT4Yu5rXiRa+9xGVT56raghjmBTKMpFNc9R4IDiB4emao9eO22Ox7CxuJG7BgExqA== dependencies: "@babel/helper-plugin-utils" "^7.24.0" "@babel/plugin-syntax-logical-assignment-operators@^7.8.3": version "7.10.4" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz" integrity sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig== dependencies: "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz#167ed70368886081f74b5c36c65a88c03b66d1a9" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz" integrity sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ== dependencies: "@babel/helper-plugin-utils" "^7.8.0" "@babel/plugin-syntax-numeric-separator@^7.8.3": version "7.10.4" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz#b9b070b3e33570cd9fd07ba7fa91c0dd37b9af97" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz" integrity sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug== dependencies: "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-object-rest-spread@^7.8.3": version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz" integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== dependencies: "@babel/helper-plugin-utils" "^7.8.0" "@babel/plugin-syntax-optional-catch-binding@^7.8.3": version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz" integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q== dependencies: "@babel/helper-plugin-utils" "^7.8.0" "@babel/plugin-syntax-optional-chaining@^7.8.3": version "7.8.3" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz" integrity sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg== dependencies: "@babel/helper-plugin-utils" "^7.8.0" "@babel/plugin-syntax-top-level-await@^7.8.3": version "7.14.5" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz#c1cfdadc35a646240001f06138247b741c34d94c" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz" integrity sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw== dependencies: "@babel/helper-plugin-utils" "^7.14.5" "@babel/plugin-syntax-typescript@^7.7.2": version "7.24.1" - resolved "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.24.1.tgz#b3bcc51f396d15f3591683f90239de143c076844" + resolved "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.24.1.tgz" integrity sha512-Yhnmvy5HZEnHUty6i++gcfH1/l68AHnItFHnaCv6hn9dNh0hQvvQJsxpi4BMBFN5DLeHBuucT/0DgzXif/OyRw== dependencies: "@babel/helper-plugin-utils" "^7.24.0" "@babel/template@^7.22.15", "@babel/template@^7.24.0", "@babel/template@^7.3.3": version "7.24.0" - resolved "https://registry.npmjs.org/@babel/template/-/template-7.24.0.tgz#c6a524aa93a4a05d66aaf31654258fae69d87d50" + resolved "https://registry.npmjs.org/@babel/template/-/template-7.24.0.tgz" integrity sha512-Bkf2q8lMB0AFpX0NFEqSbx1OkTHf0f+0j82mkw+ZpzBnkk7e9Ql0891vlfgi+kHwOk8tQjiQHpqh4LaSa0fKEA== dependencies: "@babel/code-frame" "^7.23.5" "@babel/parser" "^7.24.0" "@babel/types" "^7.24.0" -"@babel/traverse@7.24.1", "@babel/traverse@^7.24.1": +"@babel/traverse@^7.24.1", "@babel/traverse@7.24.1": version "7.24.1" - resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.1.tgz#d65c36ac9dd17282175d1e4a3c49d5b7988f530c" + resolved "https://registry.npmjs.org/@babel/traverse/-/traverse-7.24.1.tgz" integrity sha512-xuU6o9m68KeqZbQuDt2TcKSxUw/mrsvavlEqQ1leZ/B+C9tk6E4sRWy97WaXgvq5E+nU3cXMxv3WKOCanVMCmQ== dependencies: "@babel/code-frame" "^7.24.1" @@ -294,9 +289,9 @@ debug "^4.3.1" globals "^11.1.0" -"@babel/types@7.24.0", "@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.24.0", "@babel/types@^7.3.3": +"@babel/types@^7.0.0", "@babel/types@^7.20.7", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.24.0", "@babel/types@^7.3.3", "@babel/types@7.24.0": version "7.24.0" - resolved "https://registry.npmjs.org/@babel/types/-/types-7.24.0.tgz#3b951f435a92e7333eba05b7566fd297960ea1bf" + resolved "https://registry.npmjs.org/@babel/types/-/types-7.24.0.tgz" integrity sha512-+j7a5c253RfKh8iABBhywc8NSfP5LURe7Uh4qpsh6jc+aLJguvmIUBdjSdEMQv2bENrCR5MfRdjGo7vzS/ob7w== dependencies: "@babel/helper-string-parser" "^7.23.4" @@ -305,31 +300,31 @@ "@bcoe/v8-coverage@^0.2.3": version "0.2.3" - resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" + resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== "@cspotcode/source-map-support@^0.8.0": version "0.8.1" - resolved "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz#00629c35a688e05a88b1cda684fb9d5e73f000a1" + resolved "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz" integrity sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw== dependencies: "@jridgewell/trace-mapping" "0.3.9" "@eslint-community/eslint-utils@^4.2.0": version "4.4.0" - resolved "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59" + resolved "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz" integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA== dependencies: eslint-visitor-keys "^3.3.0" "@eslint-community/regexpp@^4.4.0": version "4.10.0" - resolved "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.0.tgz#548f6de556857c8bb73bbee70c35dc82a2e74d63" + resolved "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.0.tgz" integrity sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA== "@eslint/eslintrc@^2.0.2": version "2.1.4" - resolved "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz#388a269f0f25c1b6adc317b5a2c55714894c70ad" + resolved "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz" integrity sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ== dependencies: ajv "^6.12.4" @@ -344,17 +339,12 @@ "@eslint/js@8.38.0": version "8.38.0" - resolved "https://registry.npmjs.org/@eslint/js/-/js-8.38.0.tgz#73a8a0d8aa8a8e6fe270431c5e72ae91b5337892" + resolved "https://registry.npmjs.org/@eslint/js/-/js-8.38.0.tgz" integrity sha512-IoD2MfUnOV58ghIHCiil01PcohxjbYR/qCxsoC+xNgUwh1EY8jOOrYmu3d3a71+tJJ23uscEV4X2HJWMsPJu4g== -"@gar/promisify@^1.1.3": - version "1.1.3" - resolved "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz#555193ab2e3bb3b6adc3d551c9c030d9e860daf6" - integrity sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw== - "@humanwhocodes/config-array@^0.11.8": version "0.11.14" - resolved "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz#d78e481a039f7566ecc9660b4ea7fe6b1fec442b" + resolved "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz" integrity sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg== dependencies: "@humanwhocodes/object-schema" "^2.0.2" @@ -363,22 +353,17 @@ "@humanwhocodes/module-importer@^1.0.1": version "1.0.1" - resolved "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c" + resolved "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz" integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA== "@humanwhocodes/object-schema@^2.0.2": version "2.0.2" - resolved "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz#d9fae00a2d5cb40f92cfe64b47ad749fbc38f917" + resolved "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz" integrity sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw== -"@hutson/parse-repository-url@^3.0.0": - version "3.0.2" - resolved "https://registry.npmjs.org/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz#98c23c950a3d9b6c8f0daed06da6c3af06981340" - integrity sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q== - "@isaacs/cliui@^8.0.2": version "8.0.2" - resolved "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550" + resolved "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz" integrity sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA== dependencies: string-width "^5.1.2" @@ -390,7 +375,7 @@ "@istanbuljs/load-nyc-config@^1.0.0": version "1.1.0" - resolved "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced" + resolved "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz" integrity sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ== dependencies: camelcase "^5.3.1" @@ -401,12 +386,12 @@ "@istanbuljs/schema@^0.1.2", "@istanbuljs/schema@^0.1.3": version "0.1.3" - resolved "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98" + resolved "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz" integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== "@jest/console@^29.7.0": version "29.7.0" - resolved "https://registry.npmjs.org/@jest/console/-/console-29.7.0.tgz#cd4822dbdb84529265c5a2bdb529a3c9cc950ffc" + resolved "https://registry.npmjs.org/@jest/console/-/console-29.7.0.tgz" integrity sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg== dependencies: "@jest/types" "^29.6.3" @@ -418,7 +403,7 @@ "@jest/core@^29.5.0", "@jest/core@^29.7.0": version "29.7.0" - resolved "https://registry.npmjs.org/@jest/core/-/core-29.7.0.tgz#b6cccc239f30ff36609658c5a5e2291757ce448f" + resolved "https://registry.npmjs.org/@jest/core/-/core-29.7.0.tgz" integrity sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg== dependencies: "@jest/console" "^29.7.0" @@ -452,7 +437,7 @@ "@jest/environment@^29.7.0": version "29.7.0" - resolved "https://registry.npmjs.org/@jest/environment/-/environment-29.7.0.tgz#24d61f54ff1f786f3cd4073b4b94416383baf2a7" + resolved "https://registry.npmjs.org/@jest/environment/-/environment-29.7.0.tgz" integrity sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw== dependencies: "@jest/fake-timers" "^29.7.0" @@ -462,14 +447,14 @@ "@jest/expect-utils@^29.7.0": version "29.7.0" - resolved "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.7.0.tgz#023efe5d26a8a70f21677d0a1afc0f0a44e3a1c6" + resolved "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.7.0.tgz" integrity sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA== dependencies: jest-get-type "^29.6.3" "@jest/expect@^29.7.0": version "29.7.0" - resolved "https://registry.npmjs.org/@jest/expect/-/expect-29.7.0.tgz#76a3edb0cb753b70dfbfe23283510d3d45432bf2" + resolved "https://registry.npmjs.org/@jest/expect/-/expect-29.7.0.tgz" integrity sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ== dependencies: expect "^29.7.0" @@ -477,7 +462,7 @@ "@jest/fake-timers@^29.7.0": version "29.7.0" - resolved "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.7.0.tgz#fd91bf1fffb16d7d0d24a426ab1a47a49881a565" + resolved "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.7.0.tgz" integrity sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ== dependencies: "@jest/types" "^29.6.3" @@ -489,7 +474,7 @@ "@jest/globals@^29.7.0": version "29.7.0" - resolved "https://registry.npmjs.org/@jest/globals/-/globals-29.7.0.tgz#8d9290f9ec47ff772607fa864ca1d5a2efae1d4d" + resolved "https://registry.npmjs.org/@jest/globals/-/globals-29.7.0.tgz" integrity sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ== dependencies: "@jest/environment" "^29.7.0" @@ -499,7 +484,7 @@ "@jest/reporters@^29.7.0": version "29.7.0" - resolved "https://registry.npmjs.org/@jest/reporters/-/reporters-29.7.0.tgz#04b262ecb3b8faa83b0b3d321623972393e8f4c7" + resolved "https://registry.npmjs.org/@jest/reporters/-/reporters-29.7.0.tgz" integrity sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg== dependencies: "@bcoe/v8-coverage" "^0.2.3" @@ -529,14 +514,14 @@ "@jest/schemas@^29.6.3": version "29.6.3" - resolved "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz#430b5ce8a4e0044a7e3819663305a7b3091c8e03" + resolved "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz" integrity sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA== dependencies: "@sinclair/typebox" "^0.27.8" "@jest/source-map@^29.6.3": version "29.6.3" - resolved "https://registry.npmjs.org/@jest/source-map/-/source-map-29.6.3.tgz#d90ba772095cf37a34a5eb9413f1b562a08554c4" + resolved "https://registry.npmjs.org/@jest/source-map/-/source-map-29.6.3.tgz" integrity sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw== dependencies: "@jridgewell/trace-mapping" "^0.3.18" @@ -545,7 +530,7 @@ "@jest/test-result@^29.7.0": version "29.7.0" - resolved "https://registry.npmjs.org/@jest/test-result/-/test-result-29.7.0.tgz#8db9a80aa1a097bb2262572686734baed9b1657c" + resolved "https://registry.npmjs.org/@jest/test-result/-/test-result-29.7.0.tgz" integrity sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA== dependencies: "@jest/console" "^29.7.0" @@ -555,7 +540,7 @@ "@jest/test-sequencer@^29.7.0": version "29.7.0" - resolved "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-29.7.0.tgz#6cef977ce1d39834a3aea887a1726628a6f072ce" + resolved "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-29.7.0.tgz" integrity sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw== dependencies: "@jest/test-result" "^29.7.0" @@ -563,30 +548,9 @@ jest-haste-map "^29.7.0" slash "^3.0.0" -"@jest/transform@29.5.0": - version "29.5.0" - resolved "https://registry.npmjs.org/@jest/transform/-/transform-29.5.0.tgz#cf9c872d0965f0cbd32f1458aa44a2b1988b00f9" - integrity sha512-8vbeZWqLJOvHaDfeMuoHITGKSz5qWc9u04lnWrQE3VyuSw604PzQM824ZeX9XSjUCeDiE3GuxZe5UKa8J61NQw== - dependencies: - "@babel/core" "^7.11.6" - "@jest/types" "^29.5.0" - "@jridgewell/trace-mapping" "^0.3.15" - babel-plugin-istanbul "^6.1.1" - chalk "^4.0.0" - convert-source-map "^2.0.0" - fast-json-stable-stringify "^2.1.0" - graceful-fs "^4.2.9" - jest-haste-map "^29.5.0" - jest-regex-util "^29.4.3" - jest-util "^29.5.0" - micromatch "^4.0.4" - pirates "^4.0.4" - slash "^3.0.0" - write-file-atomic "^4.0.2" - "@jest/transform@^29.7.0": version "29.7.0" - resolved "https://registry.npmjs.org/@jest/transform/-/transform-29.7.0.tgz#df2dd9c346c7d7768b8a06639994640c642e284c" + resolved "https://registry.npmjs.org/@jest/transform/-/transform-29.7.0.tgz" integrity sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw== dependencies: "@babel/core" "^7.11.6" @@ -605,9 +569,9 @@ slash "^3.0.0" write-file-atomic "^4.0.2" -"@jest/types@^29.5.0", "@jest/types@^29.6.3": +"@jest/types@^29.0.0", "@jest/types@^29.5.0", "@jest/types@^29.6.3": version "29.6.3" - resolved "https://registry.npmjs.org/@jest/types/-/types-29.6.3.tgz#1131f8cf634e7e84c5e77bab12f052af585fba59" + resolved "https://registry.npmjs.org/@jest/types/-/types-29.6.3.tgz" integrity sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw== dependencies: "@jest/schemas" "^29.6.3" @@ -619,7 +583,7 @@ "@jridgewell/gen-mapping@^0.3.5": version "0.3.5" - resolved "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz#dcce6aff74bdf6dad1a95802b69b04a2fcb1fb36" + resolved "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz" integrity sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg== dependencies: "@jridgewell/set-array" "^1.2.1" @@ -628,61 +592,38 @@ "@jridgewell/resolve-uri@^3.0.3", "@jridgewell/resolve-uri@^3.1.0": version "3.1.2" - resolved "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz#7a0ee601f60f99a20c7c7c5ff0c80388c1189bd6" + resolved "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz" integrity sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw== "@jridgewell/set-array@^1.2.1": version "1.2.1" - resolved "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz#558fb6472ed16a4c850b889530e6b36438c49280" + resolved "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz" integrity sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A== "@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.14": version "1.4.15" - resolved "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32" + resolved "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz" integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg== -"@jridgewell/trace-mapping@0.3.9": - version "0.3.9" - resolved "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz#6534fd5933a53ba7cbf3a17615e273a0d1273ff9" - integrity sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ== - dependencies: - "@jridgewell/resolve-uri" "^3.0.3" - "@jridgewell/sourcemap-codec" "^1.4.10" - -"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.15", "@jridgewell/trace-mapping@^0.3.18", "@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25": +"@jridgewell/trace-mapping@^0.3.12", "@jridgewell/trace-mapping@^0.3.18", "@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25": version "0.3.25" - resolved "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz#15f190e98895f3fc23276ee14bc76b675c2e50f0" + resolved "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz" integrity sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ== dependencies: "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" -"@jsdoc/salty@^0.2.1": - version "0.2.8" - resolved "https://registry.npmjs.org/@jsdoc/salty/-/salty-0.2.8.tgz#8d29923a9429694a437a50ab75004b576131d597" - integrity sha512-5e+SFVavj1ORKlKaKr2BmTOekmXbelU7dC0cDkQLqag7xfuTPuGMUFx7KWJuv4bYZrTsoL2Z18VVCOKYxzoHcg== - dependencies: - lodash "^4.17.21" - -"@launchql/protobufjs-cli@1.1.5": - version "1.1.5" - resolved "https://registry.npmjs.org/@launchql/protobufjs-cli/-/protobufjs-cli-1.1.5.tgz#bdcd08179377d2edcd0009b7d82530b0183f615f" - integrity sha512-k9Zr2Ny0CKlBGV5w+1ZBgsN2sQMKdbCwYSM1Ogo/het+S3YgYFbddyIz8us/z/2EDuuexGNCVaXsU8+wRTCDng== +"@jridgewell/trace-mapping@0.3.9": + version "0.3.9" + resolved "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz" + integrity sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ== dependencies: - chalk "^4.0.0" - escodegen "^1.13.0" - espree "^9.0.0" - estraverse "^5.1.0" - glob "^8.0.0" - jsdoc "^4.0.0" - minimist "^1.2.0" - semver "^7.1.2" - tmp "^0.2.1" - uglify-js "^3.7.7" + "@jridgewell/resolve-uri" "^3.0.3" + "@jridgewell/sourcemap-codec" "^1.4.10" "@launchql/protobufjs@7.2.6": version "7.2.6" - resolved "https://registry.npmjs.org/@launchql/protobufjs/-/protobufjs-7.2.6.tgz#f8b8fe02ca411d496390064eb398ba5245ca4e22" + resolved "https://registry.npmjs.org/@launchql/protobufjs/-/protobufjs-7.2.6.tgz" integrity sha512-vwi1nG2/heVFsIMHQU1KxTjUp5c757CTtRAZn/jutApCkFlle1iv8tzM/DHlSZJKDldxaYqnNYTg0pTyp8Bbtg== dependencies: "@protobufjs/aspromise" "^1.1.2" @@ -698,353 +639,55 @@ "@types/node" ">=13.7.0" long "^5.0.0" -"@lerna/child-process@7.0.2": - version "7.0.2" - resolved "https://registry.npmjs.org/@lerna/child-process/-/child-process-7.0.2.tgz#0ea270dcc34cbece6b5319f1d4a24733060883bd" - integrity sha512-15lMrNBL/pvREMJPSfIPieaBtyyapDco/TNjALLEL53JGzO9g8rj5PipfE9h5ILx8aq/GaP17XCh209aVCun/w== - dependencies: - chalk "^4.1.0" - execa "^5.0.0" - strong-log-transformer "^2.1.0" - -"@lerna/create@7.0.2": - version "7.0.2" - resolved "https://registry.npmjs.org/@lerna/create/-/create-7.0.2.tgz#a9335b889b54a456b3efc953f109aaf1d134b40a" - integrity sha512-1arGpEpWbWmci1MyaGKvP2SqCAPFWpLqZp0swckianX1kx1mso9B16BWFvcHhU57zCD0Co/z+jX+02UEzZGP7Q== - dependencies: - "@lerna/child-process" "7.0.2" - dedent "0.7.0" - fs-extra "^11.1.1" - init-package-json "5.0.0" - npm-package-arg "8.1.1" - p-reduce "^2.1.0" - pacote "^15.2.0" - pify "5.0.0" - semver "^7.3.4" - slash "^3.0.0" - validate-npm-package-license "^3.0.4" - validate-npm-package-name "5.0.0" - yargs-parser "20.2.4" - "@nodelib/fs.scandir@2.1.5": version "2.1.5" - resolved "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" + resolved "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz" integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== dependencies: "@nodelib/fs.stat" "2.0.5" run-parallel "^1.1.9" -"@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2": +"@nodelib/fs.stat@2.0.5": version "2.0.5" - resolved "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b" + resolved "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz" integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== -"@nodelib/fs.walk@^1.2.3", "@nodelib/fs.walk@^1.2.8": +"@nodelib/fs.walk@^1.2.8": version "1.2.8" - resolved "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a" + resolved "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz" integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== dependencies: "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" -"@npmcli/fs@^2.1.0": - version "2.1.2" - resolved "https://registry.npmjs.org/@npmcli/fs/-/fs-2.1.2.tgz#a9e2541a4a2fec2e69c29b35e6060973da79b865" - integrity sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ== - dependencies: - "@gar/promisify" "^1.1.3" - semver "^7.3.5" - -"@npmcli/fs@^3.1.0": - version "3.1.0" - resolved "https://registry.npmjs.org/@npmcli/fs/-/fs-3.1.0.tgz#233d43a25a91d68c3a863ba0da6a3f00924a173e" - integrity sha512-7kZUAaLscfgbwBQRbvdMYaZOWyMEcPTH/tJjnyAWJ/dvvs9Ef+CERx/qJb9GExJpl1qipaDGn7KqHnFGGixd0w== - dependencies: - semver "^7.3.5" - -"@npmcli/git@^4.0.0": - version "4.1.0" - resolved "https://registry.npmjs.org/@npmcli/git/-/git-4.1.0.tgz#ab0ad3fd82bc4d8c1351b6c62f0fa56e8fe6afa6" - integrity sha512-9hwoB3gStVfa0N31ymBmrX+GuDGdVA/QWShZVqE0HK2Af+7QGGrCTbZia/SW0ImUTjTne7SP91qxDmtXvDHRPQ== - dependencies: - "@npmcli/promise-spawn" "^6.0.0" - lru-cache "^7.4.4" - npm-pick-manifest "^8.0.0" - proc-log "^3.0.0" - promise-inflight "^1.0.1" - promise-retry "^2.0.1" - semver "^7.3.5" - which "^3.0.0" - -"@npmcli/installed-package-contents@^2.0.1": - version "2.0.2" - resolved "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-2.0.2.tgz#bfd817eccd9e8df200919e73f57f9e3d9e4f9e33" - integrity sha512-xACzLPhnfD51GKvTOOuNX2/V4G4mz9/1I2MfDoye9kBM3RYe5g2YbscsaGoTlaWqkxeiapBWyseULVKpSVHtKQ== - dependencies: - npm-bundled "^3.0.0" - npm-normalize-package-bin "^3.0.0" - -"@npmcli/move-file@^2.0.0": - version "2.0.1" - resolved "https://registry.npmjs.org/@npmcli/move-file/-/move-file-2.0.1.tgz#26f6bdc379d87f75e55739bab89db525b06100e4" - integrity sha512-mJd2Z5TjYWq/ttPLLGqArdtnC74J6bOzg4rMDnN+p1xTacZ2yPRCk2y0oSWQtygLR9YVQXgOcONrwtnk3JupxQ== - dependencies: - mkdirp "^1.0.4" - rimraf "^3.0.2" - -"@npmcli/node-gyp@^3.0.0": - version "3.0.0" - resolved "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-3.0.0.tgz#101b2d0490ef1aa20ed460e4c0813f0db560545a" - integrity sha512-gp8pRXC2oOxu0DUE1/M3bYtb1b3/DbJ5aM113+XJBgfXdussRAsX0YOrOhdd8WvnAR6auDBvJomGAkLKA5ydxA== - -"@npmcli/promise-spawn@^6.0.0", "@npmcli/promise-spawn@^6.0.1": - version "6.0.2" - resolved "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-6.0.2.tgz#c8bc4fa2bd0f01cb979d8798ba038f314cfa70f2" - integrity sha512-gGq0NJkIGSwdbUt4yhdF8ZrmkGKVz9vAdVzpOfnom+V8PLSmSOVhZwbNvZZS1EYcJN5hzzKBxmmVVAInM6HQLg== - dependencies: - which "^3.0.0" - -"@npmcli/run-script@6.0.2", "@npmcli/run-script@^6.0.0": - version "6.0.2" - resolved "https://registry.npmjs.org/@npmcli/run-script/-/run-script-6.0.2.tgz#a25452d45ee7f7fb8c16dfaf9624423c0c0eb885" - integrity sha512-NCcr1uQo1k5U+SYlnIrbAh3cxy+OQT1VtqiAbxdymSlptbzBb62AjH2xXgjNCoP073hoa1CfCAcwoZ8k96C4nA== - dependencies: - "@npmcli/node-gyp" "^3.0.0" - "@npmcli/promise-spawn" "^6.0.0" - node-gyp "^9.0.0" - read-package-json-fast "^3.0.0" - which "^3.0.0" - -"@nrwl/devkit@16.10.0": - version "16.10.0" - resolved "https://registry.npmjs.org/@nrwl/devkit/-/devkit-16.10.0.tgz#ac8c5b4db00f12c4b817c937be2f7c4eb8f2593c" - integrity sha512-fRloARtsDQoQgQ7HKEy0RJiusg/HSygnmg4gX/0n/Z+SUS+4KoZzvHjXc6T5ZdEiSjvLypJ+HBM8dQzIcVACPQ== - dependencies: - "@nx/devkit" "16.10.0" - -"@nrwl/tao@16.10.0": - version "16.10.0" - resolved "https://registry.npmjs.org/@nrwl/tao/-/tao-16.10.0.tgz#94642a0380709b8e387e1e33705a5a9624933375" - integrity sha512-QNAanpINbr+Pod6e1xNgFbzK1x5wmZl+jMocgiEFXZ67KHvmbD6MAQQr0MMz+GPhIu7EE4QCTLTyCEMlAG+K5Q== - dependencies: - nx "16.10.0" - tslib "^2.3.0" - -"@nx/devkit@16.10.0", "@nx/devkit@>=16.1.3 < 17": - version "16.10.0" - resolved "https://registry.npmjs.org/@nx/devkit/-/devkit-16.10.0.tgz#7e466be2dee2dcb1ccaf286786ca2a0a639aa007" - integrity sha512-IvKQqRJFDDiaj33SPfGd3ckNHhHi6ceEoqCbAP4UuMXOPPVOX6H0KVk+9tknkPb48B7jWIw6/AgOeWkBxPRO5w== - dependencies: - "@nrwl/devkit" "16.10.0" - ejs "^3.1.7" - enquirer "~2.3.6" - ignore "^5.0.4" - semver "7.5.3" - tmp "~0.2.1" - tslib "^2.3.0" - -"@nx/nx-darwin-arm64@16.10.0": - version "16.10.0" - resolved "https://registry.npmjs.org/@nx/nx-darwin-arm64/-/nx-darwin-arm64-16.10.0.tgz#0c73010cac7a502549483b12bad347da9014e6f1" - integrity sha512-YF+MIpeuwFkyvM5OwgY/rTNRpgVAI/YiR0yTYCZR+X3AAvP775IVlusNgQ3oedTBRUzyRnI4Tknj1WniENFsvQ== - -"@nx/nx-darwin-x64@16.10.0": - version "16.10.0" - resolved "https://registry.npmjs.org/@nx/nx-darwin-x64/-/nx-darwin-x64-16.10.0.tgz#2ccf270418d552fd0a8e0d6089aee4944315adaa" - integrity sha512-ypi6YxwXgb0kg2ixKXE3pwf5myVNUgWf1CsV5OzVccCM8NzheMO51KDXTDmEpXdzUsfT0AkO1sk5GZeCjhVONg== - -"@nx/nx-freebsd-x64@16.10.0": - version "16.10.0" - resolved "https://registry.npmjs.org/@nx/nx-freebsd-x64/-/nx-freebsd-x64-16.10.0.tgz#c3ee6914256e69493fed9355b0d6661d0e86da44" - integrity sha512-UeEYFDmdbbDkTQamqvtU8ibgu5jQLgFF1ruNb/U4Ywvwutw2d4ruOMl2e0u9hiNja9NFFAnDbvzrDcMo7jYqYw== - -"@nx/nx-linux-arm-gnueabihf@16.10.0": - version "16.10.0" - resolved "https://registry.npmjs.org/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-16.10.0.tgz#a961eccbb38acb2da7fc125b29d1fead0b39152f" - integrity sha512-WV3XUC2DB6/+bz1sx+d1Ai9q2Cdr+kTZRN50SOkfmZUQyEBaF6DRYpx/a4ahhxH3ktpNfyY8Maa9OEYxGCBkQA== - -"@nx/nx-linux-arm64-gnu@16.10.0": - version "16.10.0" - resolved "https://registry.npmjs.org/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-16.10.0.tgz#795f20072549d03822b5c4639ef438e473dbb541" - integrity sha512-aWIkOUw995V3ItfpAi5FuxQ+1e9EWLS1cjWM1jmeuo+5WtaKToJn5itgQOkvSlPz+HSLgM3VfXMvOFALNk125g== - -"@nx/nx-linux-arm64-musl@16.10.0": - version "16.10.0" - resolved "https://registry.npmjs.org/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-16.10.0.tgz#f2428ee6dbe2b2c326e8973f76c97666def33607" - integrity sha512-uO6Gg+irqpVcCKMcEPIQcTFZ+tDI02AZkqkP7koQAjniLEappd8DnUBSQdcn53T086pHpdc264X/ZEpXFfrKWQ== - -"@nx/nx-linux-x64-gnu@16.10.0": - version "16.10.0" - resolved "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-16.10.0.tgz#d36c2bcf94d49eaa24e3880ddaf6f1f617de539b" - integrity sha512-134PW/u/arNFAQKpqMJniC7irbChMPz+W+qtyKPAUXE0XFKPa7c1GtlI/wK2dvP9qJDZ6bKf0KtA0U/m2HMUOA== - -"@nx/nx-linux-x64-musl@16.10.0": - version "16.10.0" - resolved "https://registry.npmjs.org/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-16.10.0.tgz#78bd2ab97a583b3d4ea3387b67fd7b136907493c" - integrity sha512-q8sINYLdIJxK/iUx9vRk5jWAWb/2O0PAbOJFwv4qkxBv4rLoN7y+otgCZ5v0xfx/zztFgk/oNY4lg5xYjIso2Q== - -"@nx/nx-win32-arm64-msvc@16.10.0": - version "16.10.0" - resolved "https://registry.npmjs.org/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-16.10.0.tgz#ef20ec8d0c83d66e73e20df12d2c788b8f866396" - integrity sha512-moJkL9kcqxUdJSRpG7dET3UeLIciwrfP08mzBQ12ewo8K8FzxU8ZUsTIVVdNrwt01CXOdXoweGfdQLjJ4qTURA== - -"@nx/nx-win32-x64-msvc@16.10.0": - version "16.10.0" - resolved "https://registry.npmjs.org/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-16.10.0.tgz#7410a51d0f8be631eec9552f01b2e5946285927c" - integrity sha512-5iV2NKZnzxJwZZ4DM5JVbRG/nkhAbzEskKaLBB82PmYGKzaDHuMHP1lcPoD/rtYMlowZgNA/RQndfKvPBPwmXA== - -"@octokit/auth-token@^3.0.0": - version "3.0.4" - resolved "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-3.0.4.tgz#70e941ba742bdd2b49bdb7393e821dea8520a3db" - integrity sha512-TWFX7cZF2LXoCvdmJWY7XVPi74aSY0+FfBZNSXEXFkMpjcqsQwDSYVv5FhRFaI0V1ECnwbz4j59T/G+rXNWaIQ== - -"@octokit/core@^4.2.1": - version "4.2.4" - resolved "https://registry.npmjs.org/@octokit/core/-/core-4.2.4.tgz#d8769ec2b43ff37cc3ea89ec4681a20ba58ef907" - integrity sha512-rYKilwgzQ7/imScn3M9/pFfUf4I1AZEH3KhyJmtPdE2zfaXAn2mFfUy4FbKewzc2We5y/LlKLj36fWJLKC2SIQ== - dependencies: - "@octokit/auth-token" "^3.0.0" - "@octokit/graphql" "^5.0.0" - "@octokit/request" "^6.0.0" - "@octokit/request-error" "^3.0.0" - "@octokit/types" "^9.0.0" - before-after-hook "^2.2.0" - universal-user-agent "^6.0.0" - -"@octokit/endpoint@^7.0.0": - version "7.0.6" - resolved "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-7.0.6.tgz#791f65d3937555141fb6c08f91d618a7d645f1e2" - integrity sha512-5L4fseVRUsDFGR00tMWD/Trdeeihn999rTMGRMC1G/Ldi1uWlWJzI98H4Iak5DB/RVvQuyMYKqSK/R6mbSOQyg== - dependencies: - "@octokit/types" "^9.0.0" - is-plain-object "^5.0.0" - universal-user-agent "^6.0.0" - -"@octokit/graphql@^5.0.0": - version "5.0.6" - resolved "https://registry.npmjs.org/@octokit/graphql/-/graphql-5.0.6.tgz#9eac411ac4353ccc5d3fca7d76736e6888c5d248" - integrity sha512-Fxyxdy/JH0MnIB5h+UQ3yCoh1FG4kWXfFKkpWqjZHw/p+Kc8Y44Hu/kCgNBT6nU1shNumEchmW/sUO1JuQnPcw== - dependencies: - "@octokit/request" "^6.0.0" - "@octokit/types" "^9.0.0" - universal-user-agent "^6.0.0" - -"@octokit/openapi-types@^18.0.0": - version "18.1.1" - resolved "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-18.1.1.tgz#09bdfdabfd8e16d16324326da5148010d765f009" - integrity sha512-VRaeH8nCDtF5aXWnjPuEMIYf1itK/s3JYyJcWFJT8X9pSNnBtriDf7wlEWsGuhPLl4QIH4xM8fqTXDwJ3Mu6sw== - -"@octokit/plugin-enterprise-rest@6.0.1": - version "6.0.1" - resolved "https://registry.npmjs.org/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-6.0.1.tgz#e07896739618dab8da7d4077c658003775f95437" - integrity sha512-93uGjlhUD+iNg1iWhUENAtJata6w5nE+V4urXOAlIXdco6xNZtUSfYY8dzp3Udy74aqO/B5UZL80x/YMa5PKRw== - -"@octokit/plugin-paginate-rest@^6.1.2": - version "6.1.2" - resolved "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-6.1.2.tgz#f86456a7a1fe9e58fec6385a85cf1b34072341f8" - integrity sha512-qhrmtQeHU/IivxucOV1bbI/xZyC/iOBhclokv7Sut5vnejAIAEXVcGQeRpQlU39E0WwK9lNvJHphHri/DB6lbQ== - dependencies: - "@octokit/tsconfig" "^1.0.2" - "@octokit/types" "^9.2.3" - -"@octokit/plugin-request-log@^1.0.4": - version "1.0.4" - resolved "https://registry.npmjs.org/@octokit/plugin-request-log/-/plugin-request-log-1.0.4.tgz#5e50ed7083a613816b1e4a28aeec5fb7f1462e85" - integrity sha512-mLUsMkgP7K/cnFEw07kWqXGF5LKrOkD+lhCrKvPHXWDywAwuDUeDwWBpc69XK3pNX0uKiVt8g5z96PJ6z9xCFA== - -"@octokit/plugin-rest-endpoint-methods@^7.1.2": - version "7.2.3" - resolved "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-7.2.3.tgz#37a84b171a6cb6658816c82c4082ac3512021797" - integrity sha512-I5Gml6kTAkzVlN7KCtjOM+Ruwe/rQppp0QU372K1GP7kNOYEKe8Xn5BW4sE62JAHdwpq95OQK/qGNyKQMUzVgA== - dependencies: - "@octokit/types" "^10.0.0" - -"@octokit/request-error@^3.0.0": - version "3.0.3" - resolved "https://registry.npmjs.org/@octokit/request-error/-/request-error-3.0.3.tgz#ef3dd08b8e964e53e55d471acfe00baa892b9c69" - integrity sha512-crqw3V5Iy2uOU5Np+8M/YexTlT8zxCfI+qu+LxUB7SZpje4Qmx3mub5DfEKSO8Ylyk0aogi6TYdf6kxzh2BguQ== - dependencies: - "@octokit/types" "^9.0.0" - deprecation "^2.0.0" - once "^1.4.0" - -"@octokit/request@^6.0.0": - version "6.2.8" - resolved "https://registry.npmjs.org/@octokit/request/-/request-6.2.8.tgz#aaf480b32ab2b210e9dadd8271d187c93171d8eb" - integrity sha512-ow4+pkVQ+6XVVsekSYBzJC0VTVvh/FCTUUgTsboGq+DTeWdyIFV8WSCdo0RIxk6wSkBTHqIK1mYuY7nOBXOchw== - dependencies: - "@octokit/endpoint" "^7.0.0" - "@octokit/request-error" "^3.0.0" - "@octokit/types" "^9.0.0" - is-plain-object "^5.0.0" - node-fetch "^2.6.7" - universal-user-agent "^6.0.0" - -"@octokit/rest@19.0.11": - version "19.0.11" - resolved "https://registry.npmjs.org/@octokit/rest/-/rest-19.0.11.tgz#2ae01634fed4bd1fca5b642767205ed3fd36177c" - integrity sha512-m2a9VhaP5/tUw8FwfnW2ICXlXpLPIqxtg3XcAiGMLj/Xhw3RSBfZ8le/466ktO1Gcjr8oXudGnHhxV1TXJgFxw== - dependencies: - "@octokit/core" "^4.2.1" - "@octokit/plugin-paginate-rest" "^6.1.2" - "@octokit/plugin-request-log" "^1.0.4" - "@octokit/plugin-rest-endpoint-methods" "^7.1.2" - -"@octokit/tsconfig@^1.0.2": - version "1.0.2" - resolved "https://registry.npmjs.org/@octokit/tsconfig/-/tsconfig-1.0.2.tgz#59b024d6f3c0ed82f00d08ead5b3750469125af7" - integrity sha512-I0vDR0rdtP8p2lGMzvsJzbhdOWy405HcGovrspJ8RRibHnyRgggUSNO5AIox5LmqiwmatHKYsvj6VGFHkqS7lA== - -"@octokit/types@^10.0.0": - version "10.0.0" - resolved "https://registry.npmjs.org/@octokit/types/-/types-10.0.0.tgz#7ee19c464ea4ada306c43f1a45d444000f419a4a" - integrity sha512-Vm8IddVmhCgU1fxC1eyinpwqzXPEYu0NrYzD3YZjlGjyftdLBTeqNblRC0jmJmgxbJIsQlyogVeGnrNaaMVzIg== - dependencies: - "@octokit/openapi-types" "^18.0.0" - -"@octokit/types@^9.0.0", "@octokit/types@^9.2.3": - version "9.3.2" - resolved "https://registry.npmjs.org/@octokit/types/-/types-9.3.2.tgz#3f5f89903b69f6a2d196d78ec35f888c0013cac5" - integrity sha512-D4iHGTdAnEEVsB8fl95m1hiz7D5YiRdQ9b/OEb3BYRVwbLsGHcRVPz+u+BgRLNk0Q0/4iZCBqDN96j2XNxfXrA== - dependencies: - "@octokit/openapi-types" "^18.0.0" - -"@parcel/watcher@2.0.4": - version "2.0.4" - resolved "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.0.4.tgz#f300fef4cc38008ff4b8c29d92588eced3ce014b" - integrity sha512-cTDi+FUDBIUOBKEtj+nhiJ71AZVlkAsQFuGQTun5tV9mwQBQgZvhCzG+URPQc8myeN32yRVZEfVAPCs1RW+Jvg== - dependencies: - node-addon-api "^3.2.1" - node-gyp-build "^4.3.0" - "@pkgjs/parseargs@^0.11.0": version "0.11.0" - resolved "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" + resolved "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz" integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== "@protobufjs/aspromise@^1.1.1", "@protobufjs/aspromise@^1.1.2": version "1.1.2" - resolved "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz#9b8b0cc663d669a7d8f6f5d0893a14d348f30fbf" + resolved "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz" integrity sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ== "@protobufjs/base64@^1.1.2": version "1.1.2" - resolved "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz#4c85730e59b9a1f1f349047dbf24296034bb2735" + resolved "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz" integrity sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg== "@protobufjs/codegen@^2.0.4": version "2.0.4" - resolved "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz#7ef37f0d010fb028ad1ad59722e506d9262815cb" + resolved "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz" integrity sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg== "@protobufjs/eventemitter@^1.1.0": version "1.1.0" - resolved "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz#355cbc98bafad5978f9ed095f397621f1d066b70" + resolved "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz" integrity sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q== "@protobufjs/fetch@^1.1.0": version "1.1.0" - resolved "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz#ba99fb598614af65700c1619ff06d454b0d84c45" + resolved "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz" integrity sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ== dependencies: "@protobufjs/aspromise" "^1.1.1" @@ -1052,118 +695,71 @@ "@protobufjs/float@^1.0.2": version "1.0.2" - resolved "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz#5e9e1abdcb73fc0a7cb8b291df78c8cbd97b87d1" + resolved "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz" integrity sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ== "@protobufjs/inquire@^1.1.0": version "1.1.0" - resolved "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz#ff200e3e7cf2429e2dcafc1140828e8cc638f089" + resolved "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz" integrity sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q== "@protobufjs/path@^1.1.2": version "1.1.2" - resolved "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz#6cc2b20c5c9ad6ad0dccfd21ca7673d8d7fbf68d" + resolved "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz" integrity sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA== "@protobufjs/pool@^1.1.0": version "1.1.0" - resolved "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz#09fd15f2d6d3abfa9b65bc366506d6ad7846ff54" + resolved "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz" integrity sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw== "@protobufjs/utf8@^1.1.0": version "1.1.0" - resolved "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" + resolved "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz" integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== -"@sigstore/bundle@^1.1.0": - version "1.1.0" - resolved "https://registry.npmjs.org/@sigstore/bundle/-/bundle-1.1.0.tgz#17f8d813b09348b16eeed66a8cf1c3d6bd3d04f1" - integrity sha512-PFutXEy0SmQxYI4texPw3dd2KewuNqv7OuK1ZFtY2fM754yhvG2KdgwIhRnoEE2uHdtdGNQ8s0lb94dW9sELog== - dependencies: - "@sigstore/protobuf-specs" "^0.2.0" - -"@sigstore/protobuf-specs@^0.2.0": - version "0.2.1" - resolved "https://registry.npmjs.org/@sigstore/protobuf-specs/-/protobuf-specs-0.2.1.tgz#be9ef4f3c38052c43bd399d3f792c97ff9e2277b" - integrity sha512-XTWVxnWJu+c1oCshMLwnKvz8ZQJJDVOlciMfgpJBQbThVjKTCG8dwyhgLngBD2KN0ap9F/gOV8rFDEx8uh7R2A== - -"@sigstore/sign@^1.0.0": - version "1.0.0" - resolved "https://registry.npmjs.org/@sigstore/sign/-/sign-1.0.0.tgz#6b08ebc2f6c92aa5acb07a49784cb6738796f7b4" - integrity sha512-INxFVNQteLtcfGmcoldzV6Je0sbbfh9I16DM4yJPw3j5+TFP8X6uIiA18mvpEa9yyeycAKgPmOA3X9hVdVTPUA== - dependencies: - "@sigstore/bundle" "^1.1.0" - "@sigstore/protobuf-specs" "^0.2.0" - make-fetch-happen "^11.0.1" - -"@sigstore/tuf@^1.0.3": - version "1.0.3" - resolved "https://registry.npmjs.org/@sigstore/tuf/-/tuf-1.0.3.tgz#2a65986772ede996485728f027b0514c0b70b160" - integrity sha512-2bRovzs0nJZFlCN3rXirE4gwxCn97JNjMmwpecqlbgV9WcxX7WRuIrgzx/X7Ib7MYRbyUTpBYE0s2x6AmZXnlg== - dependencies: - "@sigstore/protobuf-specs" "^0.2.0" - tuf-js "^1.1.7" - "@sinclair/typebox@^0.27.8": version "0.27.8" - resolved "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz#6667fac16c436b5434a387a34dedb013198f6e6e" + resolved "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz" integrity sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA== "@sinonjs/commons@^3.0.0": version "3.0.1" - resolved "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz#1029357e44ca901a615585f6d27738dbc89084cd" + resolved "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz" integrity sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ== dependencies: type-detect "4.0.8" "@sinonjs/fake-timers@^10.0.2": version "10.3.0" - resolved "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz#55fdff1ecab9f354019129daf4df0dd4d923ea66" + resolved "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz" integrity sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA== dependencies: "@sinonjs/commons" "^3.0.0" -"@tootallnate/once@2": - version "2.0.0" - resolved "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf" - integrity sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A== - "@tsconfig/node10@^1.0.7": version "1.0.9" - resolved "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz#df4907fc07a886922637b15e02d4cebc4c0021b2" + resolved "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.9.tgz" integrity sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA== "@tsconfig/node12@^1.0.7": version "1.0.11" - resolved "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz#ee3def1f27d9ed66dac6e46a295cffb0152e058d" + resolved "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz" integrity sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag== "@tsconfig/node14@^1.0.0": version "1.0.3" - resolved "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz#e4386316284f00b98435bf40f72f75a09dabf6c1" + resolved "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz" integrity sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow== "@tsconfig/node16@^1.0.2": version "1.0.4" - resolved "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz#0b92dcc0cc1c81f6f306a381f28e31b1a56536e9" + resolved "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz" integrity sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA== -"@tufjs/canonical-json@1.0.0": - version "1.0.0" - resolved "https://registry.npmjs.org/@tufjs/canonical-json/-/canonical-json-1.0.0.tgz#eade9fd1f537993bc1f0949f3aea276ecc4fab31" - integrity sha512-QTnf++uxunWvG2z3UFNzAoQPHxnSXOwtaI3iJ+AohhV+5vONuArPjJE7aPXPVXfXJsqrVbZBu9b81AJoSd09IQ== - -"@tufjs/models@1.0.4": - version "1.0.4" - resolved "https://registry.npmjs.org/@tufjs/models/-/models-1.0.4.tgz#5a689630f6b9dbda338d4b208019336562f176ef" - integrity sha512-qaGV9ltJP0EO25YfFUPhxRVK0evXFIAGicsVXuRim4Ed9cjPxYhNnNJ49SFmbeLgtxpslIkX317IgpfcHPVj/A== - dependencies: - "@tufjs/canonical-json" "1.0.0" - minimatch "^9.0.0" - "@types/babel__core@^7.1.14": version "7.20.5" - resolved "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz#3df15f27ba85319caa07ba08d0721889bb39c017" + resolved "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz" integrity sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA== dependencies: "@babel/parser" "^7.20.7" @@ -1174,14 +770,14 @@ "@types/babel__generator@*": version "7.6.8" - resolved "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.8.tgz#f836c61f48b1346e7d2b0d93c6dacc5b9535d3ab" + resolved "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.8.tgz" integrity sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw== dependencies: "@babel/types" "^7.0.0" "@types/babel__template@*": version "7.4.4" - resolved "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz#5672513701c1b2199bc6dad636a9d7491586766f" + resolved "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz" integrity sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A== dependencies: "@babel/parser" "^7.1.0" @@ -1189,180 +785,87 @@ "@types/babel__traverse@*", "@types/babel__traverse@^7.0.6": version "7.20.5" - resolved "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.5.tgz#7b7502be0aa80cc4ef22978846b983edaafcd4dd" + resolved "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.5.tgz" integrity sha512-WXCyOcRtH37HAUkpXhUduaxdm82b4GSlyTqajXviN4EfiuPgNYR109xMCKvpl6zPIpua0DGlMEDCq+g8EdoheQ== dependencies: "@babel/types" "^7.20.7" "@types/graceful-fs@^4.1.3": version "4.1.9" - resolved "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz#2a06bc0f68a20ab37b3e36aa238be6abdf49e8b4" + resolved "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz" integrity sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ== dependencies: "@types/node" "*" "@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": version "2.0.6" - resolved "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz#7739c232a1fee9b4d3ce8985f314c0c6d33549d7" + resolved "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz" integrity sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w== "@types/istanbul-lib-report@*": version "3.0.3" - resolved "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz#53047614ae72e19fc0401d872de3ae2b4ce350bf" + resolved "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz" integrity sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA== dependencies: "@types/istanbul-lib-coverage" "*" "@types/istanbul-reports@^3.0.0": version "3.0.4" - resolved "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz#0f03e3d2f670fbdac586e34b433783070cc16f54" + resolved "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz" integrity sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ== dependencies: "@types/istanbul-lib-report" "*" "@types/jest@^29.5.0": version "29.5.12" - resolved "https://registry.npmjs.org/@types/jest/-/jest-29.5.12.tgz#7f7dc6eb4cf246d2474ed78744b05d06ce025544" + resolved "https://registry.npmjs.org/@types/jest/-/jest-29.5.12.tgz" integrity sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw== dependencies: expect "^29.0.0" pretty-format "^29.0.0" -"@types/linkify-it@^5": - version "5.0.0" - resolved "https://registry.npmjs.org/@types/linkify-it/-/linkify-it-5.0.0.tgz#21413001973106cda1c3a9b91eedd4ccd5469d76" - integrity sha512-sVDA58zAw4eWAffKOaQH5/5j3XeayukzDk+ewSsnv3p4yJEZHCCzMDiZM8e0OUrRvmpGZ85jf4yDHkHsgBNr9Q== - -"@types/markdown-it@^14.1.1": - version "14.1.1" - resolved "https://registry.npmjs.org/@types/markdown-it/-/markdown-it-14.1.1.tgz#06bafb7a4e3f77b62b1f308acf7df76687887e0b" - integrity sha512-4NpsnpYl2Gt1ljyBGrKMxFYAYvpqbnnkgP/i/g+NLpjEUa3obn1XJCur9YbEXKDAkaXqsR1LbDnGEJ0MmKFxfg== - dependencies: - "@types/linkify-it" "^5" - "@types/mdurl" "^2" - -"@types/mdurl@^2": - version "2.0.0" - resolved "https://registry.npmjs.org/@types/mdurl/-/mdurl-2.0.0.tgz#d43878b5b20222682163ae6f897b20447233bdfd" - integrity sha512-RGdgjQUZba5p6QEFAVx2OGb8rQDL/cPRG7GiedRzMcJ1tYnUANBncjbSB1NRGwbvjcPeikRABz2nshyPk1bhWg== - -"@types/minimatch@^3.0.3": - version "3.0.5" - resolved "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz#1001cc5e6a3704b83c236027e77f2f58ea010f40" - integrity sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ== - -"@types/minimist@^1.2.0": - version "1.2.5" - resolved "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.5.tgz#ec10755e871497bcd83efe927e43ec46e8c0747e" - integrity sha512-hov8bUuiLiyFPGyFPE1lwWhmzYbirOXQNNo40+y3zow8aFVTeyn3VWL0VFFfdNddA8S4Vf0Tc062rzyNr7Paag== - "@types/node@*", "@types/node@>=13.7.0": version "20.11.30" - resolved "https://registry.npmjs.org/@types/node/-/node-20.11.30.tgz#9c33467fc23167a347e73834f788f4b9f399d66f" + resolved "https://registry.npmjs.org/@types/node/-/node-20.11.30.tgz" integrity sha512-dHM6ZxwlmuZaRmUPfv1p+KrdD1Dci04FbdEm/9wEMouFqxYoFl5aMkt0VMAUtYRQDyYvD41WJLukhq/ha3YuTw== dependencies: undici-types "~5.26.4" -"@types/normalize-package-data@^2.4.0": - version "2.4.4" - resolved "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz#56e2cc26c397c038fab0e3a917a12d5c5909e901" - integrity sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA== - "@types/stack-utils@^2.0.0": version "2.0.3" - resolved "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz#6209321eb2c1712a7e7466422b8cb1fc0d9dd5d8" + resolved "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz" integrity sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw== "@types/yargs-parser@*": version "21.0.3" - resolved "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz#815e30b786d2e8f0dcd85fd5bcf5e1a04d008f15" + resolved "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz" integrity sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ== "@types/yargs@^17.0.8": version "17.0.32" - resolved "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.32.tgz#030774723a2f7faafebf645f4e5a48371dca6229" + resolved "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.32.tgz" integrity sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog== dependencies: "@types/yargs-parser" "*" -"@yarnpkg/lockfile@^1.1.0": - version "1.1.0" - resolved "https://registry.npmjs.org/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz#e77a97fbd345b76d83245edcd17d393b1b41fb31" - integrity sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ== - -"@yarnpkg/parsers@3.0.0-rc.46": - version "3.0.0-rc.46" - resolved "https://registry.npmjs.org/@yarnpkg/parsers/-/parsers-3.0.0-rc.46.tgz#03f8363111efc0ea670e53b0282cd3ef62de4e01" - integrity sha512-aiATs7pSutzda/rq8fnuPwTglyVwjM22bNnK2ZgjrpAjQHSSl3lztd2f9evst1W/qnC58DRz7T7QndUDumAR4Q== - dependencies: - js-yaml "^3.10.0" - tslib "^2.4.0" - -"@zkochan/js-yaml@0.0.6": - version "0.0.6" - resolved "https://registry.npmjs.org/@zkochan/js-yaml/-/js-yaml-0.0.6.tgz#975f0b306e705e28b8068a07737fa46d3fc04826" - integrity sha512-nzvgl3VfhcELQ8LyVrYOru+UtAy1nrygk2+AGbTm8a5YcO6o8lSjAT+pfg3vJWxIoZKOUhrK6UU7xW/+00kQrg== - dependencies: - argparse "^2.0.1" - -JSONStream@^1.3.5: - version "1.3.5" - resolved "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0" - integrity sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ== - dependencies: - jsonparse "^1.2.0" - through ">=2.2.7 <3" - -abbrev@^1.0.0: - version "1.1.1" - resolved "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" - integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== - acorn-jsx@^5.3.2: version "5.3.2" - resolved "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" + resolved "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz" integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== acorn-walk@^8.1.1: version "8.3.2" - resolved "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.2.tgz#7703af9415f1b6db9315d6895503862e231d34aa" + resolved "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.2.tgz" integrity sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A== -acorn@^8.4.1, acorn@^8.9.0: +"acorn@^6.0.0 || ^7.0.0 || ^8.0.0", acorn@^8.4.1, acorn@^8.9.0: version "8.11.3" - resolved "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz#71e0b14e13a4ec160724b38fb7b0f233b1b81d7a" + resolved "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz" integrity sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg== -add-stream@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/add-stream/-/add-stream-1.0.0.tgz#6a7990437ca736d5e1288db92bd3266d5f5cb2aa" - integrity sha512-qQLMr+8o0WC4FZGQTcJiKBVC59JylcPSrTtk6usvmIDFUOCKegapy1VHQwRbFMOFyb/inzUVqHs+eMYKDM1YeQ== - -agent-base@6, agent-base@^6.0.2: - version "6.0.2" - resolved "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" - integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ== - dependencies: - debug "4" - -agentkeepalive@^4.2.1: - version "4.5.0" - resolved "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.5.0.tgz#2673ad1389b3c418c5a20c5d7364f93ca04be923" - integrity sha512-5GG/5IbQQpC9FpkRGsSvZI5QYeSCzlJHdpBQntCsuTOxhKD8lqKhrleg2Yi7yvMIf82Ycmmqln9U8V9qwEiJew== - dependencies: - humanize-ms "^1.2.1" - -aggregate-error@^3.0.0: - version "3.1.0" - resolved "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a" - integrity sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA== - dependencies: - clean-stack "^2.0.0" - indent-string "^4.0.0" - ajv@^6.10.0, ajv@^6.12.4: version "6.12.6" - resolved "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" + resolved "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz" integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== dependencies: fast-deep-equal "^3.1.1" @@ -1370,144 +873,89 @@ ajv@^6.10.0, ajv@^6.12.4: json-schema-traverse "^0.4.1" uri-js "^4.2.2" -ansi-colors@^4.1.1: - version "4.1.3" - resolved "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz#37611340eb2243e70cc604cad35d63270d48781b" - integrity sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw== - ansi-escapes@^4.2.1: version "4.3.2" - resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e" + resolved "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz" integrity sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ== dependencies: type-fest "^0.21.3" ansi-regex@^5.0.1: version "5.0.1" - resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" + resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz" integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== ansi-regex@^6.0.1: version "6.0.1" - resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz#3183e38fae9a65d7cb5e53945cd5897d0260a06a" + resolved "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz" integrity sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA== ansi-styles@^3.2.1: version "3.2.1" - resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz" integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== dependencies: color-convert "^1.9.0" -ansi-styles@^4.0.0, ansi-styles@^4.1.0: +ansi-styles@^4.0.0: + version "4.3.0" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz" + integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== + dependencies: + color-convert "^2.0.1" + +ansi-styles@^4.1.0: version "4.3.0" - resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz" integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== dependencies: color-convert "^2.0.1" ansi-styles@^5.0.0: version "5.2.0" - resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz" integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== ansi-styles@^6.1.0: version "6.2.1" - resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5" + resolved "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz" integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug== anymatch@^3.0.3: version "3.1.3" - resolved "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" + resolved "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz" integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== dependencies: normalize-path "^3.0.0" picomatch "^2.0.4" -"aproba@^1.0.3 || ^2.0.0": - version "2.0.0" - resolved "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz#52520b8ae5b569215b354efc0caa3fe1e45a8adc" - integrity sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ== - -are-we-there-yet@^3.0.0: - version "3.0.1" - resolved "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz#679df222b278c64f2cdba1175cdc00b0d96164bd" - integrity sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg== - dependencies: - delegates "^1.0.0" - readable-stream "^3.6.0" - arg@^4.1.0: version "4.1.3" - resolved "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz#269fc7ad5b8e42cb63c896d5666017261c144089" + resolved "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz" integrity sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA== argparse@^1.0.7: version "1.0.10" - resolved "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" + resolved "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz" integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== dependencies: sprintf-js "~1.0.2" argparse@^2.0.1: version "2.0.1" - resolved "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" + resolved "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz" integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== -array-differ@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/array-differ/-/array-differ-3.0.0.tgz#3cbb3d0f316810eafcc47624734237d6aee4ae6b" - integrity sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg== - -array-ify@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/array-ify/-/array-ify-1.0.0.tgz#9e528762b4a9066ad163a6962a364418e9626ece" - integrity sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng== - -array-union@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" - integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== - -arrify@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" - integrity sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA== - -arrify@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz#c9655e9331e0abcd588d2a7cad7e9956f66701fa" - integrity sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug== - ast-types@^0.16.1: version "0.16.1" - resolved "https://registry.npmjs.org/ast-types/-/ast-types-0.16.1.tgz#7a9da1617c9081bc121faafe91711b4c8bb81da2" + resolved "https://registry.npmjs.org/ast-types/-/ast-types-0.16.1.tgz" integrity sha512-6t10qk83GOG8p0vKmaCr8eiilZwO171AvbROMtvvNiwrTly62t+7XkA8RdIIVbpMhCASAsxgAzdRSwh6nw/5Dg== dependencies: tslib "^2.0.1" -async@^3.2.3: - version "3.2.5" - resolved "https://registry.npmjs.org/async/-/async-3.2.5.tgz#ebd52a8fdaf7a2289a24df399f8d8485c8a46b66" - integrity sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg== - -asynckit@^0.4.0: - version "0.4.0" - resolved "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" - integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q== - -axios@^1.0.0: - version "1.6.8" - resolved "https://registry.npmjs.org/axios/-/axios-1.6.8.tgz#66d294951f5d988a00e87a0ffb955316a619ea66" - integrity sha512-v/ZHtJDU39mDpyBoFVkETcd/uNdxrWRrg3bKpOKzXFA6Bvqopts6ALSMU3y6ijYxbw2B+wPrIv46egTzJXCLGQ== - dependencies: - follow-redirects "^1.15.6" - form-data "^4.0.0" - proxy-from-env "^1.1.0" - -babel-jest@^29.7.0: +babel-jest@^29.0.0, babel-jest@^29.7.0: version "29.7.0" - resolved "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz#f4369919225b684c56085998ac63dbd05be020d5" + resolved "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz" integrity sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg== dependencies: "@jest/transform" "^29.7.0" @@ -1520,7 +968,7 @@ babel-jest@^29.7.0: babel-plugin-istanbul@^6.1.1: version "6.1.1" - resolved "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz#fa88ec59232fd9b4e36dbbc540a8ec9a9b47da73" + resolved "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz" integrity sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA== dependencies: "@babel/helper-plugin-utils" "^7.0.0" @@ -1531,7 +979,7 @@ babel-plugin-istanbul@^6.1.1: babel-plugin-jest-hoist@^29.6.3: version "29.6.3" - resolved "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz#aadbe943464182a8922c3c927c3067ff40d24626" + resolved "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz" integrity sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg== dependencies: "@babel/template" "^7.3.3" @@ -1541,7 +989,7 @@ babel-plugin-jest-hoist@^29.6.3: babel-preset-current-node-syntax@^1.0.0: version "1.0.1" - resolved "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz#b4399239b89b2a011f9ddbe3e4f401fc40cff73b" + resolved "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz" integrity sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ== dependencies: "@babel/plugin-syntax-async-generators" "^7.8.4" @@ -1559,7 +1007,7 @@ babel-preset-current-node-syntax@^1.0.0: babel-preset-jest@^29.6.3: version "29.6.3" - resolved "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz#fa05fa510e7d493896d7b0dd2033601c840f171c" + resolved "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz" integrity sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA== dependencies: babel-plugin-jest-hoist "^29.6.3" @@ -1567,41 +1015,17 @@ babel-preset-jest@^29.6.3: balanced-match@^1.0.0: version "1.0.2" - resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" + resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz" integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== -base64-js@^1.3.1: - version "1.5.1" - resolved "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" - integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== - -before-after-hook@^2.2.0: - version "2.2.3" - resolved "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.3.tgz#c51e809c81a4e354084422b9b26bad88249c517c" - integrity sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ== - -bl@^4.0.3, bl@^4.1.0: - version "4.1.0" - resolved "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz#451535264182bec2fbbc83a62ab98cf11d9f7b3a" - integrity sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w== - dependencies: - buffer "^5.5.0" - inherits "^2.0.4" - readable-stream "^3.4.0" - -bluebird@^3.7.2: - version "3.7.2" - resolved "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" - integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== - boolbase@^1.0.0: version "1.0.0" - resolved "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" + resolved "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz" integrity sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww== brace-expansion@^1.1.7: version "1.1.11" - resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" + resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz" integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== dependencies: balanced-match "^1.0.0" @@ -1609,21 +1033,21 @@ brace-expansion@^1.1.7: brace-expansion@^2.0.1: version "2.0.1" - resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz#1edc459e0f0c548486ecf9fc99f2221364b9a0ae" + resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz" integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA== dependencies: balanced-match "^1.0.0" -braces@^3.0.2: - version "3.0.2" - resolved "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" - integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== +braces@^3.0.3: + version "3.0.3" + resolved "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz" + integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA== dependencies: - fill-range "^7.0.1" + fill-range "^7.1.1" -browserslist@^4.22.2: +browserslist@^4.22.2, "browserslist@>= 4.21.0": version "4.23.0" - resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.23.0.tgz#8f3acc2bbe73af7213399430890f86c63a5674ab" + resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.23.0.tgz" integrity sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ== dependencies: caniuse-lite "^1.0.30001587" @@ -1633,151 +1057,60 @@ browserslist@^4.22.2: bs-logger@0.x: version "0.2.6" - resolved "https://registry.npmjs.org/bs-logger/-/bs-logger-0.2.6.tgz#eb7d365307a72cf974cc6cda76b68354ad336bd8" + resolved "https://registry.npmjs.org/bs-logger/-/bs-logger-0.2.6.tgz" integrity sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog== dependencies: fast-json-stable-stringify "2.x" bser@2.1.1: version "2.1.1" - resolved "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz#e6787da20ece9d07998533cfd9de6f5c38f4bc05" + resolved "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz" integrity sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ== dependencies: node-int64 "^0.4.0" buffer-from@^1.0.0: version "1.1.2" - resolved "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" + resolved "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== -buffer@^5.5.0: - version "5.7.1" - resolved "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" - integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== - dependencies: - base64-js "^1.3.1" - ieee754 "^1.1.13" - -builtins@^1.0.3: - version "1.0.3" - resolved "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88" - integrity sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ== - -builtins@^5.0.0: - version "5.0.1" - resolved "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz#87f6db9ab0458be728564fa81d876d8d74552fa9" - integrity sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ== - dependencies: - semver "^7.0.0" - -byte-size@8.1.1: - version "8.1.1" - resolved "https://registry.npmjs.org/byte-size/-/byte-size-8.1.1.tgz#3424608c62d59de5bfda05d31e0313c6174842ae" - integrity sha512-tUkzZWK0M/qdoLEqikxBWe4kumyuwjl3HO6zHTr4yEI23EojPtLYXdG1+AQY7MN0cGyNDvEaJ8wiYQm6P2bPxg== - -cacache@^16.1.0: - version "16.1.3" - resolved "https://registry.npmjs.org/cacache/-/cacache-16.1.3.tgz#a02b9f34ecfaf9a78c9f4bc16fceb94d5d67a38e" - integrity sha512-/+Emcj9DAXxX4cwlLmRI9c166RuL3w30zp4R7Joiv2cQTtTtA+jeuCAjH3ZlGnYS3tKENSrKhAzVVP9GVyzeYQ== - dependencies: - "@npmcli/fs" "^2.1.0" - "@npmcli/move-file" "^2.0.0" - chownr "^2.0.0" - fs-minipass "^2.1.0" - glob "^8.0.1" - infer-owner "^1.0.4" - lru-cache "^7.7.1" - minipass "^3.1.6" - minipass-collect "^1.0.2" - minipass-flush "^1.0.5" - minipass-pipeline "^1.2.4" - mkdirp "^1.0.4" - p-map "^4.0.0" - promise-inflight "^1.0.1" - rimraf "^3.0.2" - ssri "^9.0.0" - tar "^6.1.11" - unique-filename "^2.0.0" - -cacache@^17.0.0: - version "17.1.4" - resolved "https://registry.npmjs.org/cacache/-/cacache-17.1.4.tgz#b3ff381580b47e85c6e64f801101508e26604b35" - integrity sha512-/aJwG2l3ZMJ1xNAnqbMpA40of9dj/pIH3QfiuQSqjfPJF747VR0J/bHn+/KdNnHKc6XQcWt/AfRSBft82W1d2A== - dependencies: - "@npmcli/fs" "^3.1.0" - fs-minipass "^3.0.0" - glob "^10.2.2" - lru-cache "^7.7.1" - minipass "^7.0.3" - minipass-collect "^1.0.2" - minipass-flush "^1.0.5" - minipass-pipeline "^1.2.4" - p-map "^4.0.0" - ssri "^10.0.0" - tar "^6.1.11" - unique-filename "^3.0.0" - callsites@^3.0.0: version "3.1.0" - resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" + resolved "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz" integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== -camelcase-keys@^6.2.2: - version "6.2.2" - resolved "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz#5e755d6ba51aa223ec7d3d52f25778210f9dc3c0" - integrity sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg== - dependencies: - camelcase "^5.3.1" - map-obj "^4.0.0" - quick-lru "^4.0.1" - camelcase@^5.3.1: version "5.3.1" - resolved "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" + resolved "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz" integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== camelcase@^6.2.0: version "6.3.0" - resolved "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" + resolved "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz" integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== caniuse-lite@^1.0.30001587: version "1.0.30001599" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001599.tgz#571cf4f3f1506df9bf41fcbb6d10d5d017817bce" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001599.tgz" integrity sha512-LRAQHZ4yT1+f9LemSMeqdMpMxZcc4RMWdj4tiFe3G8tNkWK+E58g+/tzotb5cU6TbcVJLr4fySiAW7XmxQvZQA== case@1.6.3: version "1.6.3" - resolved "https://registry.npmjs.org/case/-/case-1.6.3.tgz#0a4386e3e9825351ca2e6216c60467ff5f1ea1c9" + resolved "https://registry.npmjs.org/case/-/case-1.6.3.tgz" integrity sha512-mzDSXIPaFwVDvZAHqZ9VlbyF4yyXRuX6IvB06WvPYkqJVO24kX1PPhv9bfpKNFZyxYFmmgo03HUiD8iklmJYRQ== -catharsis@^0.9.0: - version "0.9.0" - resolved "https://registry.npmjs.org/catharsis/-/catharsis-0.9.0.tgz#40382a168be0e6da308c277d3a2b3eb40c7d2121" - integrity sha512-prMTQVpcns/tzFgFVkVp6ak6RykZyWb3gu8ckUpd6YkTlacOd3DXGJjIpD4Q6zJirizvaiAjSSHlOsA+6sNh2A== - dependencies: - lodash "^4.17.15" - -chalk@4.1.0: - version "4.1.0" - resolved "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a" - integrity sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A== - dependencies: - ansi-styles "^4.1.0" - supports-color "^7.1.0" - chalk@^2.4.2: version "2.4.2" - resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" + resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== dependencies: ansi-styles "^3.2.1" escape-string-regexp "^1.0.5" supports-color "^5.3.0" -chalk@^4.0.0, chalk@^4.0.2, chalk@^4.1.0, chalk@^4.1.1: +chalk@^4.0.0: version "4.1.2" - resolved "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" + resolved "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz" integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== dependencies: ansi-styles "^4.1.0" @@ -1785,271 +1118,75 @@ chalk@^4.0.0, chalk@^4.0.2, chalk@^4.1.0, chalk@^4.1.1: char-regex@^1.0.2: version "1.0.2" - resolved "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf" + resolved "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz" integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw== -chardet@^0.7.0: - version "0.7.0" - resolved "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" - integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== - -chownr@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece" - integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ== - -ci-info@^3.2.0, ci-info@^3.6.1: +ci-info@^3.2.0: version "3.9.0" - resolved "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz#4279a62028a7b1f262f3473fc9605f5e218c59b4" + resolved "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz" integrity sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ== cjs-module-lexer@^1.0.0: version "1.2.3" - resolved "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.2.3.tgz#6c370ab19f8a3394e318fe682686ec0ac684d107" + resolved "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.2.3.tgz" integrity sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ== -clean-stack@^2.0.0: - version "2.2.0" - resolved "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" - integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== - -cli-cursor@3.1.0, cli-cursor@^3.1.0: - version "3.1.0" - resolved "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307" - integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== - dependencies: - restore-cursor "^3.1.0" - -cli-spinners@2.6.1: - version "2.6.1" - resolved "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.6.1.tgz#adc954ebe281c37a6319bfa401e6dd2488ffb70d" - integrity sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g== - -cli-spinners@^2.5.0: - version "2.9.2" - resolved "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.2.tgz#1773a8f4b9c4d6ac31563df53b3fc1d79462fe41" - integrity sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg== - -cli-width@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz#a2f48437a2caa9a22436e794bf071ec9e61cedf6" - integrity sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw== - -cliui@^7.0.2: - version "7.0.4" - resolved "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" - integrity sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ== - dependencies: - string-width "^4.2.0" - strip-ansi "^6.0.0" - wrap-ansi "^7.0.0" - cliui@^8.0.1: version "8.0.1" - resolved "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz#0c04b075db02cbfe60dc8e6cf2f5486b1a3608aa" + resolved "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz" integrity sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ== dependencies: string-width "^4.2.0" strip-ansi "^6.0.1" wrap-ansi "^7.0.0" -clone-deep@4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz#c19fd9bdbbf85942b4fd979c84dcf7d5f07c2387" - integrity sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ== - dependencies: - is-plain-object "^2.0.4" - kind-of "^6.0.2" - shallow-clone "^3.0.0" - -clone@^1.0.2: - version "1.0.4" - resolved "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" - integrity sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg== - -cmd-shim@6.0.1: - version "6.0.1" - resolved "https://registry.npmjs.org/cmd-shim/-/cmd-shim-6.0.1.tgz#a65878080548e1dca760b3aea1e21ed05194da9d" - integrity sha512-S9iI9y0nKR4hwEQsVWpyxld/6kRfGepGfzff83FcaiEBpmvlbA2nnGe7Cylgrx2f/p1P5S5wpRm9oL8z1PbS3Q== - co@^4.6.0: version "4.6.0" - resolved "https://registry.npmjs.org/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" + resolved "https://registry.npmjs.org/co/-/co-4.6.0.tgz" integrity sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ== collect-v8-coverage@^1.0.0: version "1.0.2" - resolved "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz#c0b29bcd33bcd0779a1344c2136051e6afd3d9e9" + resolved "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz" integrity sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q== color-convert@^1.9.0: version "1.9.3" - resolved "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" + resolved "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz" integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== dependencies: color-name "1.1.3" color-convert@^2.0.1: version "2.0.1" - resolved "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" + resolved "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz" integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== dependencies: color-name "~1.1.4" -color-name@1.1.3: - version "1.1.3" - resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" - integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== - color-name@~1.1.4: version "1.1.4" - resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" + resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== -color-support@^1.1.3: +color-name@1.1.3: version "1.1.3" - resolved "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2" - integrity sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg== - -columnify@1.6.0: - version "1.6.0" - resolved "https://registry.npmjs.org/columnify/-/columnify-1.6.0.tgz#6989531713c9008bb29735e61e37acf5bd553cf3" - integrity sha512-lomjuFZKfM6MSAnV9aCZC9sc0qGbmZdfygNv+nCpqVkSKdCxCklLtd16O0EILGkImHw9ZpHkAnHaB+8Zxq5W6Q== - dependencies: - strip-ansi "^6.0.1" - wcwidth "^1.0.0" - -combined-stream@^1.0.8: - version "1.0.8" - resolved "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" - integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== - dependencies: - delayed-stream "~1.0.0" - -compare-func@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz#fb65e75edbddfd2e568554e8b5b05fff7a51fcb3" - integrity sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA== - dependencies: - array-ify "^1.0.0" - dot-prop "^5.1.0" + resolved "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz" + integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== concat-map@0.0.1: version "0.0.1" - resolved "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" + resolved "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz" integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== -concat-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz#414cf5af790a48c60ab9be4527d56d5e41133cb1" - integrity sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A== - dependencies: - buffer-from "^1.0.0" - inherits "^2.0.3" - readable-stream "^3.0.2" - typedarray "^0.0.6" - -console-control-strings@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" - integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ== - -conventional-changelog-angular@6.0.0: - version "6.0.0" - resolved "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-6.0.0.tgz#a9a9494c28b7165889144fd5b91573c4aa9ca541" - integrity sha512-6qLgrBF4gueoC7AFVHu51nHL9pF9FRjXrH+ceVf7WmAfH3gs+gEYOkvxhjMPjZu57I4AGUGoNTY8V7Hrgf1uqg== - dependencies: - compare-func "^2.0.0" - -conventional-changelog-core@5.0.1: - version "5.0.1" - resolved "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-5.0.1.tgz#3c331b155d5b9850f47b4760aeddfc983a92ad49" - integrity sha512-Rvi5pH+LvgsqGwZPZ3Cq/tz4ty7mjijhr3qR4m9IBXNbxGGYgTVVO+duXzz9aArmHxFtwZ+LRkrNIMDQzgoY4A== - dependencies: - add-stream "^1.0.0" - conventional-changelog-writer "^6.0.0" - conventional-commits-parser "^4.0.0" - dateformat "^3.0.3" - get-pkg-repo "^4.2.1" - git-raw-commits "^3.0.0" - git-remote-origin-url "^2.0.0" - git-semver-tags "^5.0.0" - normalize-package-data "^3.0.3" - read-pkg "^3.0.0" - read-pkg-up "^3.0.0" - -conventional-changelog-preset-loader@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-3.0.0.tgz#14975ef759d22515d6eabae6396c2ae721d4c105" - integrity sha512-qy9XbdSLmVnwnvzEisjxdDiLA4OmV3o8db+Zdg4WiFw14fP3B6XNz98X0swPPpkTd/pc1K7+adKgEDM1JCUMiA== - -conventional-changelog-writer@^6.0.0: - version "6.0.1" - resolved "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-6.0.1.tgz#d8d3bb5e1f6230caed969dcc762b1c368a8f7b01" - integrity sha512-359t9aHorPw+U+nHzUXHS5ZnPBOizRxfQsWT5ZDHBfvfxQOAik+yfuhKXG66CN5LEWPpMNnIMHUTCKeYNprvHQ== - dependencies: - conventional-commits-filter "^3.0.0" - dateformat "^3.0.3" - handlebars "^4.7.7" - json-stringify-safe "^5.0.1" - meow "^8.1.2" - semver "^7.0.0" - split "^1.0.1" - -conventional-commits-filter@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-3.0.0.tgz#bf1113266151dd64c49cd269e3eb7d71d7015ee2" - integrity sha512-1ymej8b5LouPx9Ox0Dw/qAO2dVdfpRFq28e5Y0jJEU8ZrLdy0vOSkkIInwmxErFGhg6SALro60ZrwYFVTUDo4Q== - dependencies: - lodash.ismatch "^4.4.0" - modify-values "^1.0.1" - -conventional-commits-parser@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-4.0.0.tgz#02ae1178a381304839bce7cea9da5f1b549ae505" - integrity sha512-WRv5j1FsVM5FISJkoYMR6tPk07fkKT0UodruX4je86V4owk451yjXAKzKAPOs9l7y59E2viHUS9eQ+dfUA9NSg== - dependencies: - JSONStream "^1.3.5" - is-text-path "^1.0.1" - meow "^8.1.2" - split2 "^3.2.2" - -conventional-recommended-bump@7.0.1: - version "7.0.1" - resolved "https://registry.npmjs.org/conventional-recommended-bump/-/conventional-recommended-bump-7.0.1.tgz#ec01f6c7f5d0e2491c2d89488b0d757393392424" - integrity sha512-Ft79FF4SlOFvX4PkwFDRnaNiIVX7YbmqGU0RwccUaiGvgp3S0a8ipR2/Qxk31vclDNM+GSdJOVs2KrsUCjblVA== - dependencies: - concat-stream "^2.0.0" - conventional-changelog-preset-loader "^3.0.0" - conventional-commits-filter "^3.0.0" - conventional-commits-parser "^4.0.0" - git-raw-commits "^3.0.0" - git-semver-tags "^5.0.0" - meow "^8.1.2" - convert-source-map@^2.0.0: version "2.0.0" - resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a" + resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz" integrity sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg== -core-util-is@~1.0.0: - version "1.0.3" - resolved "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" - integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== - -cosmiconfig@^8.2.0: - version "8.3.6" - resolved "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-8.3.6.tgz#060a2b871d66dba6c8538ea1118ba1ac16f5fae3" - integrity sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA== - dependencies: - import-fresh "^3.3.0" - js-yaml "^4.1.0" - parse-json "^5.2.0" - path-type "^4.0.0" - create-jest@^29.7.0: version "29.7.0" - resolved "https://registry.npmjs.org/create-jest/-/create-jest-29.7.0.tgz#a355c5b3cb1e1af02ba177fe7afd7feee49a5320" + resolved "https://registry.npmjs.org/create-jest/-/create-jest-29.7.0.tgz" integrity sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q== dependencies: "@jest/types" "^29.6.3" @@ -2062,12 +1199,12 @@ create-jest@^29.7.0: create-require@^1.1.0: version "1.1.1" - resolved "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" + resolved "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz" integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ== cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3: version "7.0.3" - resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" + resolved "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz" integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== dependencies: path-key "^3.1.0" @@ -2076,7 +1213,7 @@ cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3: css-select@^5.1.0: version "5.1.0" - resolved "https://registry.npmjs.org/css-select/-/css-select-5.1.0.tgz#b8ebd6554c3637ccc76688804ad3f6a6fdaea8a6" + resolved "https://registry.npmjs.org/css-select/-/css-select-5.1.0.tgz" integrity sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg== dependencies: boolbase "^1.0.0" @@ -2087,123 +1224,56 @@ css-select@^5.1.0: css-what@^6.1.0: version "6.1.0" - resolved "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz#fb5effcf76f1ddea2c81bdfaa4de44e79bac70f4" + resolved "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz" integrity sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw== -dargs@^7.0.0: - version "7.0.0" - resolved "https://registry.npmjs.org/dargs/-/dargs-7.0.0.tgz#04015c41de0bcb69ec84050f3d9be0caf8d6d5cc" - integrity sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg== - -dateformat@^3.0.3: - version "3.0.3" - resolved "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" - integrity sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q== - -debug@4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.3, debug@^4.3.4: +debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2: version "4.3.4" - resolved "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" + resolved "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz" integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== dependencies: ms "2.1.2" -decamelize-keys@^1.1.0: - version "1.1.1" - resolved "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.1.tgz#04a2d523b2f18d80d0158a43b895d56dff8d19d8" - integrity sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg== - dependencies: - decamelize "^1.1.0" - map-obj "^1.0.0" - -decamelize@^1.1.0: - version "1.2.0" - resolved "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" - integrity sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA== - -dedent@0.7.0: - version "0.7.0" - resolved "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" - integrity sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA== - dedent@^1.0.0: version "1.5.1" - resolved "https://registry.npmjs.org/dedent/-/dedent-1.5.1.tgz#4f3fc94c8b711e9bb2800d185cd6ad20f2a90aff" + resolved "https://registry.npmjs.org/dedent/-/dedent-1.5.1.tgz" integrity sha512-+LxW+KLWxu3HW3M2w2ympwtqPrqYRzU8fqi6Fhd18fBALe15blJPI/I4+UHveMVG6lJqB4JNd4UG0S5cnVHwIg== -deep-is@^0.1.3, deep-is@~0.1.3: +deep-is@^0.1.3: version "0.1.4" - resolved "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" + resolved "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz" integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== -deepmerge@4.3.1, deepmerge@^4.2.2, deepmerge@^4.3.1: +deepmerge@^4.2.2, deepmerge@4.3.1: version "4.3.1" - resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz#44b5f2147cd3b00d4b56137685966f26fd25dd4a" + resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz" integrity sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A== -defaults@^1.0.3: - version "1.0.4" - resolved "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz#b0b02062c1e2aa62ff5d9528f0f98baa90978d7a" - integrity sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A== - dependencies: - clone "^1.0.2" - -define-lazy-prop@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz#3f7ae421129bcaaac9bc74905c98a0009ec9ee7f" - integrity sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og== - -delayed-stream@~1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" - integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== - -delegates@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" - integrity sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ== - -deprecation@^2.0.0: - version "2.3.1" - resolved "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919" - integrity sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ== - -detect-indent@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz#3871cc0a6a002e8c3e5b3cf7f336264675f06b9d" - integrity sha512-rlpvsxUtM0PQvy9iZe640/IWwWYyBsTApREbA1pHOpmOUIl9MkP/U4z7vTtg4Oaojvqhxt7sdufnT0EzGaR31g== - detect-newline@^3.0.0: version "3.1.0" - resolved "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" + resolved "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz" integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA== diff-sequences@^29.6.3: version "29.6.3" - resolved "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz#4deaf894d11407c51efc8418012f9e70b84ea921" + resolved "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz" integrity sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q== diff@^4.0.1: version "4.0.2" - resolved "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d" + resolved "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz" integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A== -dir-glob@^3.0.1: - version "3.0.1" - resolved "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" - integrity sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA== - dependencies: - path-type "^4.0.0" - doctrine@^3.0.0: version "3.0.0" - resolved "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961" + resolved "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz" integrity sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w== dependencies: esutils "^2.0.2" dom-serializer@^2.0.0: version "2.0.0" - resolved "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz#e41b802e1eedf9f6cae183ce5e622d789d7d8e53" + resolved "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz" integrity sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg== dependencies: domelementtype "^2.3.0" @@ -2212,174 +1282,97 @@ dom-serializer@^2.0.0: domelementtype@^2.3.0: version "2.3.0" - resolved "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz#5c45e8e869952626331d7aab326d01daf65d589d" + resolved "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz" integrity sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw== domhandler@^5.0.2, domhandler@^5.0.3: version "5.0.3" - resolved "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz#cc385f7f751f1d1fc650c21374804254538c7d31" + resolved "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz" integrity sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w== dependencies: domelementtype "^2.3.0" domutils@^3.0.1: version "3.1.0" - resolved "https://registry.npmjs.org/domutils/-/domutils-3.1.0.tgz#c47f551278d3dc4b0b1ab8cbb42d751a6f0d824e" + resolved "https://registry.npmjs.org/domutils/-/domutils-3.1.0.tgz" integrity sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA== dependencies: dom-serializer "^2.0.0" domelementtype "^2.3.0" domhandler "^5.0.3" -dot-prop@^5.1.0: - version "5.3.0" - resolved "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz#90ccce708cd9cd82cc4dc8c3ddd9abdd55b20e88" - integrity sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q== - dependencies: - is-obj "^2.0.0" - -dotenv-expand@~10.0.0: - version "10.0.0" - resolved "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-10.0.0.tgz#12605d00fb0af6d0a592e6558585784032e4ef37" - integrity sha512-GopVGCpVS1UKH75VKHGuQFqS1Gusej0z4FyQkPdwjil2gNIv+LNsqBlboOzpJFZKVT95GkCyWJbBSdFEFUWI2A== - -dotenv@~16.3.1: - version "16.3.2" - resolved "https://registry.npmjs.org/dotenv/-/dotenv-16.3.2.tgz#3cb611ce5a63002dbabf7c281bc331f69d28f03f" - integrity sha512-HTlk5nmhkm8F6JcdXvHIzaorzCoziNQT9mGxLPVXW8wJF1TiGSL60ZGB4gHWabHOaMmWmhvk2/lPHfnBiT78AQ== - -duplexer@^0.1.1: - version "0.1.2" - resolved "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz#3abe43aef3835f8ae077d136ddce0f276b0400e6" - integrity sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg== - eastasianwidth@^0.2.0: version "0.2.0" - resolved "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" + resolved "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz" integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== -ejs@^3.1.7: - version "3.1.9" - resolved "https://registry.npmjs.org/ejs/-/ejs-3.1.9.tgz#03c9e8777fe12686a9effcef22303ca3d8eeb361" - integrity sha512-rC+QVNMJWv+MtPgkt0y+0rVEIdbtxVADApW9JXrUVlzHetgcyczP/E7DJmWJ4fJCZF2cPcBk0laWO9ZHMG3DmQ== - dependencies: - jake "^10.8.5" - electron-to-chromium@^1.4.668: version "1.4.714" - resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.714.tgz#708fdc8d5bdec824e41fe8b1b0e10af508a10946" + resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.714.tgz" integrity sha512-OfnVHt+nMRH9Ua5koH/2gKlCAXbG+u1yXwLKyBVqNboBV34ZTwb846RUe8K5mtE1uhz0BXoMarZ13JCQr+sBtQ== emittery@^0.13.1: version "0.13.1" - resolved "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz#c04b8c3457490e0847ae51fced3af52d338e3dad" + resolved "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz" integrity sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ== emoji-regex@^8.0.0: version "8.0.0" - resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" + resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz" integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== emoji-regex@^9.2.2: version "9.2.2" - resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72" + resolved "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz" integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== -encoding@^0.1.13: - version "0.1.13" - resolved "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz#56574afdd791f54a8e9b2785c0582a2d26210fa9" - integrity sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A== - dependencies: - iconv-lite "^0.6.2" - -end-of-stream@^1.4.1: - version "1.4.4" - resolved "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" - integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== - dependencies: - once "^1.4.0" - -enquirer@~2.3.6: - version "2.3.6" - resolved "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz#2a7fe5dd634a1e4125a975ec994ff5456dc3734d" - integrity sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg== - dependencies: - ansi-colors "^4.1.1" - -entities@^4.2.0, entities@^4.4.0: +entities@^4.2.0: version "4.5.0" - resolved "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz#5d268ea5e7113ec74c4d033b79ea5a35a488fb48" + resolved "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz" integrity sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw== -env-paths@^2.2.0: - version "2.2.1" - resolved "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz#420399d416ce1fbe9bc0a07c62fa68d67fd0f8f2" - integrity sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A== - -envinfo@7.8.1: - version "7.8.1" - resolved "https://registry.npmjs.org/envinfo/-/envinfo-7.8.1.tgz#06377e3e5f4d379fea7ac592d5ad8927e0c4d475" - integrity sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw== - -err-code@^2.0.2: - version "2.0.3" - resolved "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz#23c2f3b756ffdfc608d30e27c9a941024807e7f9" - integrity sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA== - error-ex@^1.3.1: version "1.3.2" - resolved "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" + resolved "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz" integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== dependencies: is-arrayish "^0.2.1" escalade@^3.1.1: version "3.1.2" - resolved "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz#54076e9ab29ea5bf3d8f1ed62acffbb88272df27" + resolved "https://registry.npmjs.org/escalade/-/escalade-3.1.2.tgz" integrity sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA== escape-string-regexp@^1.0.5: version "1.0.5" - resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz" integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== escape-string-regexp@^2.0.0: version "2.0.0" - resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz" integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w== escape-string-regexp@^4.0.0: version "4.0.0" - resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" + resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz" integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== -escodegen@^1.13.0: - version "1.14.3" - resolved "https://registry.npmjs.org/escodegen/-/escodegen-1.14.3.tgz#4e7b81fba61581dc97582ed78cab7f0e8d63f503" - integrity sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw== - dependencies: - esprima "^4.0.1" - estraverse "^4.2.0" - esutils "^2.0.2" - optionator "^0.8.1" - optionalDependencies: - source-map "~0.6.1" - eslint-config-prettier@^8.8.0: version "8.10.0" - resolved "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.10.0.tgz#3a06a662130807e2502fc3ff8b4143d8a0658e11" + resolved "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.10.0.tgz" integrity sha512-SM8AMJdeQqRYT9O9zguiruQZaN7+z+E4eAP9oiLNGKMtomwaB1E9dcgUD6ZAn/eQAb52USbvezbiljfZUhbJcg== eslint-plugin-prettier@^4.0.0: version "4.2.1" - resolved "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz#651cbb88b1dab98bfd42f017a12fa6b2d993f94b" + resolved "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz" integrity sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ== dependencies: prettier-linter-helpers "^1.0.0" eslint-scope@^7.1.1: version "7.2.2" - resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz#deb4f92563390f32006894af62a22dba1c46423f" + resolved "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz" integrity sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg== dependencies: esrecurse "^4.3.0" @@ -2387,12 +1380,12 @@ eslint-scope@^7.1.1: eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.0, eslint-visitor-keys@^3.4.1: version "3.4.3" - resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800" + resolved "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz" integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== -eslint@8.38.0: +"eslint@^6.0.0 || ^7.0.0 || >=8.0.0", eslint@>=7.0.0, eslint@>=7.28.0, eslint@8.38.0: version "8.38.0" - resolved "https://registry.npmjs.org/eslint/-/eslint-8.38.0.tgz#a62c6f36e548a5574dd35728ac3c6209bd1e2f1a" + resolved "https://registry.npmjs.org/eslint/-/eslint-8.38.0.tgz" integrity sha512-pIdsD2jwlUGf/U38Jv97t8lq6HpaU/G9NKbYmpWpZGw3LdTNhZLbJePqxOXGB5+JEKfOPU/XLxYxFh03nr1KTg== dependencies: "@eslint-community/eslint-utils" "^4.2.0" @@ -2436,72 +1429,47 @@ eslint@8.38.0: strip-json-comments "^3.1.0" text-table "^0.2.0" -espree@^9.0.0, espree@^9.5.1, espree@^9.6.0: +espree@^9.5.1, espree@^9.6.0: version "9.6.1" - resolved "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz#a2a17b8e434690a5432f2f8018ce71d331a48c6f" + resolved "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz" integrity sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ== dependencies: acorn "^8.9.0" acorn-jsx "^5.3.2" eslint-visitor-keys "^3.4.1" -esprima@4.0.1, esprima@^4.0.0, esprima@^4.0.1, esprima@~4.0.0: +esprima@^4.0.0, esprima@~4.0.0, esprima@4.0.1: version "4.0.1" - resolved "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" + resolved "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz" integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== esquery@^1.4.2: version "1.5.0" - resolved "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz#6ce17738de8577694edd7361c57182ac8cb0db0b" + resolved "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz" integrity sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg== dependencies: estraverse "^5.1.0" esrecurse@^4.3.0: version "4.3.0" - resolved "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921" + resolved "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz" integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== dependencies: estraverse "^5.2.0" -estraverse@^4.2.0: - version "4.3.0" - resolved "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" - integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== - estraverse@^5.1.0, estraverse@^5.2.0: version "5.3.0" - resolved "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" + resolved "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz" integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== esutils@^2.0.2: version "2.0.3" - resolved "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" + resolved "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz" integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== -eventemitter3@^4.0.4: - version "4.0.7" - resolved "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" - integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== - -execa@5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/execa/-/execa-5.0.0.tgz#4029b0007998a841fbd1032e5f4de86a3c1e3376" - integrity sha512-ov6w/2LCiuyO4RLYGdpFGjkcs0wMTgGE8PrkTHikeUy5iJekXyPIKUjifk5CsE0pt7sMCrMZ3YNqoCj6idQOnQ== - dependencies: - cross-spawn "^7.0.3" - get-stream "^6.0.0" - human-signals "^2.1.0" - is-stream "^2.0.0" - merge-stream "^2.0.0" - npm-run-path "^4.0.1" - onetime "^5.1.2" - signal-exit "^3.0.3" - strip-final-newline "^2.0.0" - execa@^5.0.0: version "5.1.1" - resolved "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" + resolved "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz" integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== dependencies: cross-spawn "^7.0.3" @@ -2516,12 +1484,12 @@ execa@^5.0.0: exit@^0.1.2: version "0.1.2" - resolved "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" + resolved "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz" integrity sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ== expect@^29.0.0, expect@^29.7.0: version "29.7.0" - resolved "https://registry.npmjs.org/expect/-/expect-29.7.0.tgz#578874590dcb3214514084c08115d8aee61e11bc" + resolved "https://registry.npmjs.org/expect/-/expect-29.7.0.tgz" integrity sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw== dependencies: "@jest/expect-utils" "^29.7.0" @@ -2530,103 +1498,57 @@ expect@^29.0.0, expect@^29.7.0: jest-message-util "^29.7.0" jest-util "^29.7.0" -exponential-backoff@^3.1.1: - version "3.1.1" - resolved "https://registry.npmjs.org/exponential-backoff/-/exponential-backoff-3.1.1.tgz#64ac7526fe341ab18a39016cd22c787d01e00bf6" - integrity sha512-dX7e/LHVJ6W3DE1MHWi9S1EYzDESENfLrYohG2G++ovZrYOkm4Knwa0mc1cn84xJOR4KEU0WSchhLbd0UklbHw== - -external-editor@^3.0.3: - version "3.1.0" - resolved "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz#cb03f740befae03ea4d283caed2741a83f335495" - integrity sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew== - dependencies: - chardet "^0.7.0" - iconv-lite "^0.4.24" - tmp "^0.0.33" - fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: version "3.1.3" - resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" + resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz" integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== fast-diff@^1.1.2: version "1.3.0" - resolved "https://registry.npmjs.org/fast-diff/-/fast-diff-1.3.0.tgz#ece407fa550a64d638536cd727e129c61616e0f0" + resolved "https://registry.npmjs.org/fast-diff/-/fast-diff-1.3.0.tgz" integrity sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw== -fast-glob@^3.2.9: - version "3.3.2" - resolved "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz#a904501e57cfdd2ffcded45e99a54fef55e46129" - integrity sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow== - dependencies: - "@nodelib/fs.stat" "^2.0.2" - "@nodelib/fs.walk" "^1.2.3" - glob-parent "^5.1.2" - merge2 "^1.3.0" - micromatch "^4.0.4" - -fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0, fast-json-stable-stringify@^2.1.0: +fast-json-stable-stringify@^2.0.0, fast-json-stable-stringify@^2.1.0, fast-json-stable-stringify@2.x: version "2.1.0" - resolved "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" + resolved "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz" integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== -fast-levenshtein@^2.0.6, fast-levenshtein@~2.0.6: +fast-levenshtein@^2.0.6: version "2.0.6" - resolved "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" + resolved "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz" integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw== fastq@^1.6.0: version "1.17.1" - resolved "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz#2a523f07a4e7b1e81a42b91b8bf2254107753b47" + resolved "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz" integrity sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w== dependencies: reusify "^1.0.4" fb-watchman@^2.0.0: version "2.0.2" - resolved "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz#e9524ee6b5c77e9e5001af0f85f3adbb8623255c" + resolved "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz" integrity sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA== dependencies: bser "2.1.1" -figures@3.2.0, figures@^3.0.0: - version "3.2.0" - resolved "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af" - integrity sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg== - dependencies: - escape-string-regexp "^1.0.5" - file-entry-cache@^6.0.1: version "6.0.1" - resolved "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027" + resolved "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz" integrity sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg== dependencies: flat-cache "^3.0.4" -filelist@^1.0.4: - version "1.0.4" - resolved "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz#f78978a1e944775ff9e62e744424f215e58352b5" - integrity sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q== - dependencies: - minimatch "^5.0.1" - -fill-range@^7.0.1: - version "7.0.1" - resolved "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" - integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== +fill-range@^7.1.1: + version "7.1.1" + resolved "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz" + integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg== dependencies: to-regex-range "^5.0.1" -find-up@^2.0.0: - version "2.1.0" - resolved "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" - integrity sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ== - dependencies: - locate-path "^2.0.0" - find-up@^4.0.0, find-up@^4.1.0: version "4.1.0" - resolved "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" + resolved "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz" integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== dependencies: locate-path "^5.0.0" @@ -2634,7 +1556,7 @@ find-up@^4.0.0, find-up@^4.1.0: find-up@^5.0.0: version "5.0.0" - resolved "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" + resolved "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz" integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== dependencies: locate-path "^6.0.0" @@ -2642,229 +1564,66 @@ find-up@^5.0.0: flat-cache@^3.0.4: version "3.2.0" - resolved "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz#2c0c2d5040c99b1632771a9d105725c0115363ee" + resolved "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz" integrity sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw== dependencies: flatted "^3.2.9" keyv "^4.5.3" rimraf "^3.0.2" -flat@^5.0.2: - version "5.0.2" - resolved "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz#8ca6fe332069ffa9d324c327198c598259ceb241" - integrity sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ== - flatted@^3.2.9: version "3.3.1" - resolved "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz#21db470729a6734d4997002f439cb308987f567a" + resolved "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz" integrity sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw== -follow-redirects@^1.15.6: - version "1.15.6" - resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz#7f815c0cda4249c74ff09e95ef97c23b5fd0399b" - integrity sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA== - foreground-child@^3.1.0: version "3.1.1" - resolved "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz#1d173e776d75d2772fed08efe4a0de1ea1b12d0d" + resolved "https://registry.npmjs.org/foreground-child/-/foreground-child-3.1.1.tgz" integrity sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg== dependencies: cross-spawn "^7.0.0" signal-exit "^4.0.1" -form-data@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" - integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== - dependencies: - asynckit "^0.4.0" - combined-stream "^1.0.8" - mime-types "^2.1.12" - -fs-constants@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" - integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== - -fs-extra@^11.1.0, fs-extra@^11.1.1: - version "11.2.0" - resolved "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz#e70e17dfad64232287d01929399e0ea7c86b0e5b" - integrity sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw== - dependencies: - graceful-fs "^4.2.0" - jsonfile "^6.0.1" - universalify "^2.0.0" - -fs-minipass@^2.0.0, fs-minipass@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb" - integrity sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg== - dependencies: - minipass "^3.0.0" - -fs-minipass@^3.0.0: - version "3.0.3" - resolved "https://registry.npmjs.org/fs-minipass/-/fs-minipass-3.0.3.tgz#79a85981c4dc120065e96f62086bf6f9dc26cc54" - integrity sha512-XUBA9XClHbnJWSfBzjkm6RvPsyg3sryZt06BEQoXcF7EK/xpGaQYJgQKDJSUH5SGZ76Y7pFx1QBnXz09rU5Fbw== - dependencies: - minipass "^7.0.3" - fs.realpath@^1.0.0: version "1.0.0" - resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" + resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz" integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== -fsevents@^2.3.2: - version "2.3.3" - resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" - integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== - function-bind@^1.1.2: version "1.1.2" - resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" + resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz" integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== -gauge@^4.0.3: - version "4.0.4" - resolved "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz#52ff0652f2bbf607a989793d53b751bef2328dce" - integrity sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg== - dependencies: - aproba "^1.0.3 || ^2.0.0" - color-support "^1.1.3" - console-control-strings "^1.1.0" - has-unicode "^2.0.1" - signal-exit "^3.0.7" - string-width "^4.2.3" - strip-ansi "^6.0.1" - wide-align "^1.1.5" - gensync@^1.0.0-beta.2: version "1.0.0-beta.2" - resolved "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" + resolved "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz" integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== get-caller-file@^2.0.5: version "2.0.5" - resolved "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" + resolved "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== get-package-type@^0.1.0: version "0.1.0" - resolved "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a" + resolved "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz" integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== -get-pkg-repo@^4.2.1: - version "4.2.1" - resolved "https://registry.npmjs.org/get-pkg-repo/-/get-pkg-repo-4.2.1.tgz#75973e1c8050c73f48190c52047c4cee3acbf385" - integrity sha512-2+QbHjFRfGB74v/pYWjd5OhU3TDIC2Gv/YKUTk/tCvAz0pkn/Mz6P3uByuBimLOcPvN2jYdScl3xGFSrx0jEcA== - dependencies: - "@hutson/parse-repository-url" "^3.0.0" - hosted-git-info "^4.0.0" - through2 "^2.0.0" - yargs "^16.2.0" - -get-port@5.1.1: - version "5.1.1" - resolved "https://registry.npmjs.org/get-port/-/get-port-5.1.1.tgz#0469ed07563479de6efb986baf053dcd7d4e3193" - integrity sha512-g/Q1aTSDOxFpchXC4i8ZWvxA1lnPqx/JHqcpIw0/LX9T8x/GBbi6YnlN5nhaKIFkT8oFsscUKgDJYxfwfS6QsQ== - -get-stream@6.0.0: - version "6.0.0" - resolved "https://registry.npmjs.org/get-stream/-/get-stream-6.0.0.tgz#3e0012cb6827319da2706e601a1583e8629a6718" - integrity sha512-A1B3Bh1UmL0bidM/YX2NsCOTnGJePL9rO/M+Mw3m9f2gUpfokS0hi5Eah0WSUEWZdZhIZtMjkIYS7mDfOqNHbg== - get-stream@^6.0.0: version "6.0.1" - resolved "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" + resolved "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz" integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== -git-raw-commits@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-3.0.0.tgz#5432f053a9744f67e8db03dbc48add81252cfdeb" - integrity sha512-b5OHmZ3vAgGrDn/X0kS+9qCfNKWe4K/jFnhwzVWWg0/k5eLa3060tZShrRg8Dja5kPc+YjS0Gc6y7cRr44Lpjw== - dependencies: - dargs "^7.0.0" - meow "^8.1.2" - split2 "^3.2.2" - -git-remote-origin-url@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz#5282659dae2107145a11126112ad3216ec5fa65f" - integrity sha512-eU+GGrZgccNJcsDH5LkXR3PB9M958hxc7sbA8DFJjrv9j4L2P/eZfKhM+QD6wyzpiv+b1BpK0XrYCxkovtjSLw== - dependencies: - gitconfiglocal "^1.0.0" - pify "^2.3.0" - -git-semver-tags@^5.0.0: - version "5.0.1" - resolved "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-5.0.1.tgz#db748aa0e43d313bf38dcd68624d8443234e1c15" - integrity sha512-hIvOeZwRbQ+7YEUmCkHqo8FOLQZCEn18yevLHADlFPZY02KJGsu5FZt9YW/lybfK2uhWFI7Qg/07LekJiTv7iA== - dependencies: - meow "^8.1.2" - semver "^7.0.0" - -git-up@^7.0.0: - version "7.0.0" - resolved "https://registry.npmjs.org/git-up/-/git-up-7.0.0.tgz#bace30786e36f56ea341b6f69adfd83286337467" - integrity sha512-ONdIrbBCFusq1Oy0sC71F5azx8bVkvtZtMJAsv+a6lz5YAmbNnLD6HAB4gptHZVLPR8S2/kVN6Gab7lryq5+lQ== - dependencies: - is-ssh "^1.4.0" - parse-url "^8.1.0" - -git-url-parse@13.1.0: - version "13.1.0" - resolved "https://registry.npmjs.org/git-url-parse/-/git-url-parse-13.1.0.tgz#07e136b5baa08d59fabdf0e33170de425adf07b4" - integrity sha512-5FvPJP/70WkIprlUZ33bm4UAaFdjcLkJLpWft1BeZKqwR0uhhNGoKwlUaPtVb4LxCSQ++erHapRak9kWGj+FCA== - dependencies: - git-up "^7.0.0" - -gitconfiglocal@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz#41d045f3851a5ea88f03f24ca1c6178114464b9b" - integrity sha512-spLUXeTAVHxDtKsJc8FkFVgFtMdEN9qPGpL23VfSHx4fP4+Ds097IXLvymbnDH8FnmxX5Nr9bPw3A+AQ6mWEaQ== - dependencies: - ini "^1.3.2" - -glob-parent@5.1.2, glob-parent@^5.1.2: - version "5.1.2" - resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" - integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== - dependencies: - is-glob "^4.0.1" - glob-parent@^6.0.2: version "6.0.2" - resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3" + resolved "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz" integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A== dependencies: is-glob "^4.0.3" -glob@7.1.4: - version "7.1.4" - resolved "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255" - integrity sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.0.4" - once "^1.3.0" - path-is-absolute "^1.0.0" - -glob@8.0.3: - version "8.0.3" - resolved "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz#415c6eb2deed9e502c68fa44a272e6da6eeca42e" - integrity sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^5.0.1" - once "^1.3.0" - -glob@^10.0.0, glob@^10.2.2: +glob@^10.0.0: version "10.3.10" - resolved "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz#0351ebb809fd187fe421ab96af83d3a70715df4b" + resolved "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz" integrity sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g== dependencies: foreground-child "^3.1.0" @@ -2873,9 +1632,9 @@ glob@^10.0.0, glob@^10.2.2: minipass "^5.0.0 || ^6.0.2 || ^7.0.0" path-scurry "^1.10.1" -glob@^7.1.3, glob@^7.1.4: +glob@^7.1.3: version "7.2.3" - resolved "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" + resolved "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz" integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== dependencies: fs.realpath "^1.0.0" @@ -2885,219 +1644,99 @@ glob@^7.1.3, glob@^7.1.4: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^8.0.0, glob@^8.0.1: - version "8.1.0" - resolved "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz#d388f656593ef708ee3e34640fdfb99a9fd1c33e" - integrity sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ== +glob@^7.1.4: + version "7.2.3" + resolved "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz" + integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== dependencies: fs.realpath "^1.0.0" inflight "^1.0.4" inherits "2" - minimatch "^5.0.1" + minimatch "^3.1.1" once "^1.3.0" + path-is-absolute "^1.0.0" -glob@^9.2.0: - version "9.3.5" - resolved "https://registry.npmjs.org/glob/-/glob-9.3.5.tgz#ca2ed8ca452781a3009685607fdf025a899dfe21" - integrity sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q== +glob@8.0.3: + version "8.0.3" + resolved "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz" + integrity sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ== dependencies: fs.realpath "^1.0.0" - minimatch "^8.0.2" - minipass "^4.2.4" - path-scurry "^1.6.1" + inflight "^1.0.4" + inherits "2" + minimatch "^5.0.1" + once "^1.3.0" globals@^11.1.0: version "11.12.0" - resolved "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" + resolved "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz" integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== globals@^13.19.0: version "13.24.0" - resolved "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz#8432a19d78ce0c1e833949c36adb345400bb1171" + resolved "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz" integrity sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ== dependencies: type-fest "^0.20.2" -globby@11.1.0: - version "11.1.0" - resolved "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" - integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== - dependencies: - array-union "^2.1.0" - dir-glob "^3.0.1" - fast-glob "^3.2.9" - ignore "^5.2.0" - merge2 "^1.4.1" - slash "^3.0.0" - -graceful-fs@4.2.11, graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9, graceful-fs@^4.2.0, graceful-fs@^4.2.6, graceful-fs@^4.2.9: +graceful-fs@^4.2.9: version "4.2.11" - resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" + resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz" integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== grapheme-splitter@^1.0.4: version "1.0.4" - resolved "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz#9cf3a665c6247479896834af35cf1dbb4400767e" + resolved "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz" integrity sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ== -handlebars@^4.7.7: - version "4.7.8" - resolved "https://registry.npmjs.org/handlebars/-/handlebars-4.7.8.tgz#41c42c18b1be2365439188c77c6afae71c0cd9e9" - integrity sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ== - dependencies: - minimist "^1.2.5" - neo-async "^2.6.2" - source-map "^0.6.1" - wordwrap "^1.0.0" - optionalDependencies: - uglify-js "^3.1.4" - -hard-rejection@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz#1c6eda5c1685c63942766d79bb40ae773cecd883" - integrity sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA== - has-flag@^3.0.0: version "3.0.0" - resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + resolved "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz" integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== has-flag@^4.0.0: version "4.0.0" - resolved "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" + resolved "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz" integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== -has-unicode@2.0.1, has-unicode@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" - integrity sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ== - hasown@^2.0.0: version "2.0.2" - resolved "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003" + resolved "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz" integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ== dependencies: function-bind "^1.1.2" he@1.2.0: version "1.2.0" - resolved "https://registry.npmjs.org/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" + resolved "https://registry.npmjs.org/he/-/he-1.2.0.tgz" integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw== -hosted-git-info@^2.1.4: - version "2.8.9" - resolved "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9" - integrity sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw== - -hosted-git-info@^3.0.6: - version "3.0.8" - resolved "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz#6e35d4cc87af2c5f816e4cb9ce350ba87a3f370d" - integrity sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw== - dependencies: - lru-cache "^6.0.0" - -hosted-git-info@^4.0.0, hosted-git-info@^4.0.1: - version "4.1.0" - resolved "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz#827b82867e9ff1c8d0c4d9d53880397d2c86d224" - integrity sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA== - dependencies: - lru-cache "^6.0.0" - -hosted-git-info@^6.0.0: - version "6.1.1" - resolved "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-6.1.1.tgz#629442c7889a69c05de604d52996b74fe6f26d58" - integrity sha512-r0EI+HBMcXadMrugk0GCQ+6BQV39PiWAZVfq7oIckeGiN7sjRGyQxPdft3nQekFTCQbYxLBH+/axZMeH8UX6+w== - dependencies: - lru-cache "^7.5.1" - html-escaper@^2.0.0: version "2.0.2" - resolved "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453" + resolved "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz" integrity sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg== -http-cache-semantics@^4.1.0, http-cache-semantics@^4.1.1: - version "4.1.1" - resolved "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz#abe02fcb2985460bf0323be664436ec3476a6d5a" - integrity sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ== - -http-proxy-agent@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz#5129800203520d434f142bc78ff3c170800f2b43" - integrity sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w== - dependencies: - "@tootallnate/once" "2" - agent-base "6" - debug "4" - -https-proxy-agent@^5.0.0: - version "5.0.1" - resolved "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" - integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA== - dependencies: - agent-base "6" - debug "4" - human-signals@^2.1.0: version "2.1.0" - resolved "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" + resolved "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz" integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== -humanize-ms@^1.2.1: - version "1.2.1" - resolved "https://registry.npmjs.org/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed" - integrity sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ== - dependencies: - ms "^2.0.0" - -iconv-lite@^0.4.24: - version "0.4.24" - resolved "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" - integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== - dependencies: - safer-buffer ">= 2.1.2 < 3" - -iconv-lite@^0.6.2: - version "0.6.3" - resolved "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501" - integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== - dependencies: - safer-buffer ">= 2.1.2 < 3.0.0" - -ieee754@^1.1.13: - version "1.2.1" - resolved "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" - integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== - -ignore-walk@^5.0.1: - version "5.0.1" - resolved "https://registry.npmjs.org/ignore-walk/-/ignore-walk-5.0.1.tgz#5f199e23e1288f518d90358d461387788a154776" - integrity sha512-yemi4pMf51WKT7khInJqAvsIGzoqYXblnsz0ql8tM+yi1EKYTY1evX4NAbJrLL/Aanr2HyZeluqU+Oi7MGHokw== - dependencies: - minimatch "^5.0.1" - -ignore-walk@^6.0.0: - version "6.0.4" - resolved "https://registry.npmjs.org/ignore-walk/-/ignore-walk-6.0.4.tgz#89950be94b4f522225eb63a13c56badb639190e9" - integrity sha512-t7sv42WkwFkyKbivUCglsQW5YWMskWtbEf4MNKX5u/CCWHKSPzN4FtBQGsQZgCLbxOzpVlcbWVK5KB3auIOjSw== - dependencies: - minimatch "^9.0.0" - -ignore@^5.0.4, ignore@^5.2.0: +ignore@^5.2.0: version "5.3.1" - resolved "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz#5073e554cd42c5b33b394375f538b8593e34d4ef" + resolved "https://registry.npmjs.org/ignore/-/ignore-5.3.1.tgz" integrity sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw== -import-fresh@^3.0.0, import-fresh@^3.2.1, import-fresh@^3.3.0: +import-fresh@^3.0.0, import-fresh@^3.2.1: version "3.3.0" - resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" + resolved "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz" integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== dependencies: parent-module "^1.0.0" resolve-from "^4.0.0" -import-local@3.1.0, import-local@^3.0.2: +import-local@^3.0.2: version "3.1.0" - resolved "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz#b4479df8a5fd44f6cdce24070675676063c95cb4" + resolved "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz" integrity sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg== dependencies: pkg-dir "^4.2.0" @@ -3105,236 +1744,84 @@ import-local@3.1.0, import-local@^3.0.2: imurmurhash@^0.1.4: version "0.1.4" - resolved "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" + resolved "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz" integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== -indent-string@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" - integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== - -infer-owner@^1.0.4: - version "1.0.4" - resolved "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz#c4cefcaa8e51051c2a40ba2ce8a3d27295af9467" - integrity sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A== - inflight@^1.0.4: version "1.0.6" - resolved "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" + resolved "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz" integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== dependencies: once "^1.3.0" wrappy "1" -inherits@2, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.3: +inherits@2: version "2.0.4" - resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" + resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== -ini@^1.3.2, ini@^1.3.8: - version "1.3.8" - resolved "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" - integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== - -init-package-json@5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/init-package-json/-/init-package-json-5.0.0.tgz#030cf0ea9c84cfc1b0dc2e898b45d171393e4b40" - integrity sha512-kBhlSheBfYmq3e0L1ii+VKe3zBTLL5lDCDWR+f9dLmEGSB3MqLlMlsolubSsyI88Bg6EA+BIMlomAnQ1SwgQBw== - dependencies: - npm-package-arg "^10.0.0" - promzard "^1.0.0" - read "^2.0.0" - read-package-json "^6.0.0" - semver "^7.3.5" - validate-npm-package-license "^3.0.4" - validate-npm-package-name "^5.0.0" - -inquirer@^8.2.4: - version "8.2.6" - resolved "https://registry.npmjs.org/inquirer/-/inquirer-8.2.6.tgz#733b74888195d8d400a67ac332011b5fae5ea562" - integrity sha512-M1WuAmb7pn9zdFRtQYk26ZBoY043Sse0wVDdk4Bppr+JOXyQYybdtvK+l9wUibhtjdjvtoiNy8tk+EgsYIUqKg== - dependencies: - ansi-escapes "^4.2.1" - chalk "^4.1.1" - cli-cursor "^3.1.0" - cli-width "^3.0.0" - external-editor "^3.0.3" - figures "^3.0.0" - lodash "^4.17.21" - mute-stream "0.0.8" - ora "^5.4.1" - run-async "^2.4.0" - rxjs "^7.5.5" - string-width "^4.1.0" - strip-ansi "^6.0.0" - through "^2.3.6" - wrap-ansi "^6.0.1" - -inquirerer@1.9.0: - version "1.9.0" - resolved "https://registry.npmjs.org/inquirerer/-/inquirerer-1.9.0.tgz#108071773a28ea5b950271572ac3051f34e0c92e" - integrity sha512-/LAn/F70YvRQZWz9r1q1seoO2oRMiSCSK8xKHGlkNebSibx5FppUKZLEjXgkCy1tgccas933q/Y7qNccFxrYkw== - dependencies: - chalk "^4.1.0" - deepmerge "^4.3.1" - js-yaml "^4.1.0" - minimist "^1.2.8" - -ip-address@^9.0.5: - version "9.0.5" - resolved "https://registry.npmjs.org/ip-address/-/ip-address-9.0.5.tgz#117a960819b08780c3bd1f14ef3c1cc1d3f3ea5a" - integrity sha512-zHtQzGojZXTwZTHQqra+ETKd4Sn3vgi7uBmlPoXVWZqYvuKmtI0l/VZTjqGmJY9x88GGOaZ9+G9ES8hC4T4X8g== - dependencies: - jsbn "1.1.0" - sprintf-js "^1.1.3" - is-arrayish@^0.2.1: version "0.2.1" - resolved "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" + resolved "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz" integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== -is-ci@3.0.1: - version "3.0.1" - resolved "https://registry.npmjs.org/is-ci/-/is-ci-3.0.1.tgz#db6ecbed1bd659c43dac0f45661e7674103d1867" - integrity sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ== - dependencies: - ci-info "^3.2.0" - -is-core-module@^2.13.0, is-core-module@^2.5.0, is-core-module@^2.8.1: +is-core-module@^2.13.0: version "2.13.1" - resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz#ad0d7532c6fea9da1ebdc82742d74525c6273384" + resolved "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz" integrity sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw== dependencies: hasown "^2.0.0" -is-docker@^2.0.0, is-docker@^2.1.1: - version "2.2.1" - resolved "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa" - integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ== - is-extglob@^2.1.1: version "2.1.1" - resolved "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" + resolved "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz" integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== is-fullwidth-code-point@^3.0.0: version "3.0.0" - resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" + resolved "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz" integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== is-generator-fn@^2.0.0: version "2.1.0" - resolved "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118" + resolved "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz" integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ== -is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3: +is-glob@^4.0.0, is-glob@^4.0.3: version "4.0.3" - resolved "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" + resolved "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz" integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== dependencies: is-extglob "^2.1.1" -is-interactive@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz#cea6e6ae5c870a7b0a0004070b7b587e0252912e" - integrity sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w== - -is-lambda@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz#3d9877899e6a53efc0160504cde15f82e6f061d5" - integrity sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ== - is-number@^7.0.0: version "7.0.0" - resolved "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" + resolved "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz" integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== -is-obj@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982" - integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w== - is-path-inside@^3.0.3: version "3.0.3" - resolved "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283" + resolved "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz" integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== -is-plain-obj@^1.0.0, is-plain-obj@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" - integrity sha512-yvkRyxmFKEOQ4pNXCmJG5AEQNlXJS5LaONXo5/cLdTZdWvsZ1ioJEonLGAosKlMWE8lwUy/bJzMjcw8az73+Fg== - -is-plain-object@^2.0.4: - version "2.0.4" - resolved "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" - integrity sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og== - dependencies: - isobject "^3.0.1" - -is-plain-object@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz#4427f50ab3429e9025ea7d52e9043a9ef4159344" - integrity sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q== - -is-ssh@^1.4.0: - version "1.4.0" - resolved "https://registry.npmjs.org/is-ssh/-/is-ssh-1.4.0.tgz#4f8220601d2839d8fa624b3106f8e8884f01b8b2" - integrity sha512-x7+VxdxOdlV3CYpjvRLBv5Lo9OJerlYanjwFrPR9fuGPjCiNiCzFgAWpiLAohSbsnH4ZAys3SBh+hq5rJosxUQ== - dependencies: - protocols "^2.0.1" - -is-stream@2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz#bde9c32680d6fae04129d6ac9d921ce7815f78e3" - integrity sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw== - is-stream@^2.0.0: version "2.0.1" - resolved "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" + resolved "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz" integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== -is-text-path@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz#4e1aa0fb51bfbcb3e92688001397202c1775b66e" - integrity sha512-xFuJpne9oFz5qDaodwmmG08e3CawH/2ZV8Qqza1Ko7Sk8POWbkRdwIoAWVhqvq0XeUzANEhKo2n0IXUGBm7A/w== - dependencies: - text-extensions "^1.0.0" - -is-unicode-supported@^0.1.0: - version "0.1.0" - resolved "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7" - integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw== - -is-wsl@^2.2.0: - version "2.2.0" - resolved "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" - integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww== - dependencies: - is-docker "^2.0.0" - -isarray@~1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" - integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ== - isexe@^2.0.0: version "2.0.0" - resolved "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" + resolved "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz" integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== -isobject@^3.0.1: - version "3.0.1" - resolved "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" - integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg== - istanbul-lib-coverage@^3.0.0, istanbul-lib-coverage@^3.2.0: version "3.2.2" - resolved "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz#2d166c4b0644d43a39f04bf6c2edd1e585f31756" + resolved "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz" integrity sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg== istanbul-lib-instrument@^5.0.4: version "5.2.1" - resolved "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz#d10c8885c2125574e1c231cacadf955675e1ce3d" + resolved "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz" integrity sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg== dependencies: "@babel/core" "^7.12.3" @@ -3345,7 +1832,7 @@ istanbul-lib-instrument@^5.0.4: istanbul-lib-instrument@^6.0.0: version "6.0.2" - resolved "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.2.tgz#91655936cf7380e4e473383081e38478b69993b1" + resolved "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.2.tgz" integrity sha512-1WUsZ9R1lA0HtBSohTkm39WTPlNKSJ5iFk7UwqXkBLoHQT+hfqPsfsTDVuZdKGaBwn7din9bS7SsnoAr943hvw== dependencies: "@babel/core" "^7.23.9" @@ -3356,7 +1843,7 @@ istanbul-lib-instrument@^6.0.0: istanbul-lib-report@^3.0.0: version "3.0.1" - resolved "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz#908305bac9a5bd175ac6a74489eafd0fc2445a7d" + resolved "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz" integrity sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw== dependencies: istanbul-lib-coverage "^3.0.0" @@ -3365,7 +1852,7 @@ istanbul-lib-report@^3.0.0: istanbul-lib-source-maps@^4.0.0: version "4.0.1" - resolved "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz#895f3a709fcfba34c6de5a42939022f3e4358551" + resolved "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz" integrity sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw== dependencies: debug "^4.1.1" @@ -3374,7 +1861,7 @@ istanbul-lib-source-maps@^4.0.0: istanbul-reports@^3.1.3: version "3.1.7" - resolved "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.7.tgz#daed12b9e1dca518e15c056e1e537e741280fa0b" + resolved "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.7.tgz" integrity sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g== dependencies: html-escaper "^2.0.0" @@ -3382,26 +1869,16 @@ istanbul-reports@^3.1.3: jackspeak@^2.3.5: version "2.3.6" - resolved "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz#647ecc472238aee4b06ac0e461acc21a8c505ca8" + resolved "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz" integrity sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ== dependencies: "@isaacs/cliui" "^8.0.2" optionalDependencies: "@pkgjs/parseargs" "^0.11.0" -jake@^10.8.5: - version "10.8.7" - resolved "https://registry.npmjs.org/jake/-/jake-10.8.7.tgz#63a32821177940c33f356e0ba44ff9d34e1c7d8f" - integrity sha512-ZDi3aP+fG/LchyBzUM804VjddnwfSfsdeYkwt8NcbKRvo4rFkjhs456iLFn3k2ZUWvNe4i48WACDbza8fhq2+w== - dependencies: - async "^3.2.3" - chalk "^4.0.2" - filelist "^1.0.4" - minimatch "^3.1.2" - jest-changed-files@^29.7.0: version "29.7.0" - resolved "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-29.7.0.tgz#1c06d07e77c78e1585d020424dedc10d6e17ac3a" + resolved "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-29.7.0.tgz" integrity sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w== dependencies: execa "^5.0.0" @@ -3410,7 +1887,7 @@ jest-changed-files@^29.7.0: jest-circus@^29.7.0: version "29.7.0" - resolved "https://registry.npmjs.org/jest-circus/-/jest-circus-29.7.0.tgz#b6817a45fcc835d8b16d5962d0c026473ee3668a" + resolved "https://registry.npmjs.org/jest-circus/-/jest-circus-29.7.0.tgz" integrity sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw== dependencies: "@jest/environment" "^29.7.0" @@ -3434,9 +1911,9 @@ jest-circus@^29.7.0: slash "^3.0.0" stack-utils "^2.0.3" -jest-cli@^29.5.0, jest-cli@^29.7.0: +jest-cli@^29.5.0: version "29.7.0" - resolved "https://registry.npmjs.org/jest-cli/-/jest-cli-29.7.0.tgz#5592c940798e0cae677eec169264f2d839a37995" + resolved "https://registry.npmjs.org/jest-cli/-/jest-cli-29.7.0.tgz" integrity sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg== dependencies: "@jest/core" "^29.7.0" @@ -3453,7 +1930,7 @@ jest-cli@^29.5.0, jest-cli@^29.7.0: jest-config@^29.7.0: version "29.7.0" - resolved "https://registry.npmjs.org/jest-config/-/jest-config-29.7.0.tgz#bcbda8806dbcc01b1e316a46bb74085a84b0245f" + resolved "https://registry.npmjs.org/jest-config/-/jest-config-29.7.0.tgz" integrity sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ== dependencies: "@babel/core" "^7.11.6" @@ -3479,9 +1956,9 @@ jest-config@^29.7.0: slash "^3.0.0" strip-json-comments "^3.1.1" -"jest-diff@>=29.4.3 < 30", jest-diff@^29.4.1, jest-diff@^29.7.0: +jest-diff@^29.7.0: version "29.7.0" - resolved "https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz#017934a66ebb7ecf6f205e84699be10afd70458a" + resolved "https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz" integrity sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw== dependencies: chalk "^4.0.0" @@ -3491,14 +1968,14 @@ jest-config@^29.7.0: jest-docblock@^29.7.0: version "29.7.0" - resolved "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.7.0.tgz#8fddb6adc3cdc955c93e2a87f61cfd350d5d119a" + resolved "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.7.0.tgz" integrity sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g== dependencies: detect-newline "^3.0.0" jest-each@^29.7.0: version "29.7.0" - resolved "https://registry.npmjs.org/jest-each/-/jest-each-29.7.0.tgz#162a9b3f2328bdd991beaabffbb74745e56577d1" + resolved "https://registry.npmjs.org/jest-each/-/jest-each-29.7.0.tgz" integrity sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ== dependencies: "@jest/types" "^29.6.3" @@ -3509,7 +1986,7 @@ jest-each@^29.7.0: jest-environment-node@^29.7.0: version "29.7.0" - resolved "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.7.0.tgz#0b93e111dda8ec120bc8300e6d1fb9576e164376" + resolved "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.7.0.tgz" integrity sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw== dependencies: "@jest/environment" "^29.7.0" @@ -3521,12 +1998,12 @@ jest-environment-node@^29.7.0: jest-get-type@^29.6.3: version "29.6.3" - resolved "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.6.3.tgz#36f499fdcea197c1045a127319c0481723908fd1" + resolved "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.6.3.tgz" integrity sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw== -jest-haste-map@^29.5.0, jest-haste-map@^29.7.0: +jest-haste-map@^29.7.0: version "29.7.0" - resolved "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.7.0.tgz#3c2396524482f5a0506376e6c858c3bbcc17b104" + resolved "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.7.0.tgz" integrity sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA== dependencies: "@jest/types" "^29.6.3" @@ -3545,12 +2022,12 @@ jest-haste-map@^29.5.0, jest-haste-map@^29.7.0: jest-in-case@1.0.2: version "1.0.2" - resolved "https://registry.npmjs.org/jest-in-case/-/jest-in-case-1.0.2.tgz#56744b5af33222bd0abab70cf919f1d170ab75cc" + resolved "https://registry.npmjs.org/jest-in-case/-/jest-in-case-1.0.2.tgz" integrity sha512-2DE6Gdwnh5jkCYTePWoQinF+zne3lCADibXoYJEt8PS84JaRug0CyAOrEgzMxbzln3YcSY2PBeru7ct4tbflYA== jest-leak-detector@^29.7.0: version "29.7.0" - resolved "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz#5b7ec0dadfdfec0ca383dc9aa016d36b5ea4c728" + resolved "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz" integrity sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw== dependencies: jest-get-type "^29.6.3" @@ -3558,7 +2035,7 @@ jest-leak-detector@^29.7.0: jest-matcher-utils@^29.7.0: version "29.7.0" - resolved "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz#ae8fec79ff249fd592ce80e3ee474e83a6c44f12" + resolved "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz" integrity sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g== dependencies: chalk "^4.0.0" @@ -3568,7 +2045,7 @@ jest-matcher-utils@^29.7.0: jest-message-util@^29.7.0: version "29.7.0" - resolved "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.7.0.tgz#8bc392e204e95dfe7564abbe72a404e28e51f7f3" + resolved "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.7.0.tgz" integrity sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w== dependencies: "@babel/code-frame" "^7.12.13" @@ -3583,7 +2060,7 @@ jest-message-util@^29.7.0: jest-mock@^29.7.0: version "29.7.0" - resolved "https://registry.npmjs.org/jest-mock/-/jest-mock-29.7.0.tgz#4e836cf60e99c6fcfabe9f99d017f3fdd50a6347" + resolved "https://registry.npmjs.org/jest-mock/-/jest-mock-29.7.0.tgz" integrity sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw== dependencies: "@jest/types" "^29.6.3" @@ -3592,25 +2069,25 @@ jest-mock@^29.7.0: jest-pnp-resolver@^1.2.2: version "1.2.3" - resolved "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz#930b1546164d4ad5937d5540e711d4d38d4cad2e" + resolved "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz" integrity sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w== -jest-regex-util@^29.4.3, jest-regex-util@^29.6.3: +jest-regex-util@^29.6.3: version "29.6.3" - resolved "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.6.3.tgz#4a556d9c776af68e1c5f48194f4d0327d24e8a52" + resolved "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.6.3.tgz" integrity sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg== jest-resolve-dependencies@^29.7.0: version "29.7.0" - resolved "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-29.7.0.tgz#1b04f2c095f37fc776ff40803dc92921b1e88428" + resolved "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-29.7.0.tgz" integrity sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA== dependencies: jest-regex-util "^29.6.3" jest-snapshot "^29.7.0" -jest-resolve@^29.7.0: +jest-resolve@*, jest-resolve@^29.7.0: version "29.7.0" - resolved "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.7.0.tgz#64d6a8992dd26f635ab0c01e5eef4399c6bcbc30" + resolved "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.7.0.tgz" integrity sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA== dependencies: chalk "^4.0.0" @@ -3625,7 +2102,7 @@ jest-resolve@^29.7.0: jest-runner@^29.7.0: version "29.7.0" - resolved "https://registry.npmjs.org/jest-runner/-/jest-runner-29.7.0.tgz#809af072d408a53dcfd2e849a4c976d3132f718e" + resolved "https://registry.npmjs.org/jest-runner/-/jest-runner-29.7.0.tgz" integrity sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ== dependencies: "@jest/console" "^29.7.0" @@ -3652,7 +2129,7 @@ jest-runner@^29.7.0: jest-runtime@^29.7.0: version "29.7.0" - resolved "https://registry.npmjs.org/jest-runtime/-/jest-runtime-29.7.0.tgz#efecb3141cf7d3767a3a0cc8f7c9990587d3d817" + resolved "https://registry.npmjs.org/jest-runtime/-/jest-runtime-29.7.0.tgz" integrity sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ== dependencies: "@jest/environment" "^29.7.0" @@ -3680,7 +2157,7 @@ jest-runtime@^29.7.0: jest-snapshot@^29.7.0: version "29.7.0" - resolved "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.7.0.tgz#c2c574c3f51865da1bb329036778a69bf88a6be5" + resolved "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.7.0.tgz" integrity sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw== dependencies: "@babel/core" "^7.11.6" @@ -3704,9 +2181,9 @@ jest-snapshot@^29.7.0: pretty-format "^29.7.0" semver "^7.5.3" -jest-util@^29.0.0, jest-util@^29.5.0, jest-util@^29.7.0: +jest-util@^29.0.0, jest-util@^29.7.0: version "29.7.0" - resolved "https://registry.npmjs.org/jest-util/-/jest-util-29.7.0.tgz#23c2b62bfb22be82b44de98055802ff3710fc0bc" + resolved "https://registry.npmjs.org/jest-util/-/jest-util-29.7.0.tgz" integrity sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA== dependencies: "@jest/types" "^29.6.3" @@ -3718,7 +2195,7 @@ jest-util@^29.0.0, jest-util@^29.5.0, jest-util@^29.7.0: jest-validate@^29.7.0: version "29.7.0" - resolved "https://registry.npmjs.org/jest-validate/-/jest-validate-29.7.0.tgz#7bf705511c64da591d46b15fce41400d52147d9c" + resolved "https://registry.npmjs.org/jest-validate/-/jest-validate-29.7.0.tgz" integrity sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw== dependencies: "@jest/types" "^29.6.3" @@ -3730,7 +2207,7 @@ jest-validate@^29.7.0: jest-watcher@^29.7.0: version "29.7.0" - resolved "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.7.0.tgz#7810d30d619c3a62093223ce6bb359ca1b28a2f2" + resolved "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.7.0.tgz" integrity sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g== dependencies: "@jest/test-result" "^29.7.0" @@ -3744,7 +2221,7 @@ jest-watcher@^29.7.0: jest-worker@^29.7.0: version "29.7.0" - resolved "https://registry.npmjs.org/jest-worker/-/jest-worker-29.7.0.tgz#acad073acbbaeb7262bd5389e1bcf43e10058d4a" + resolved "https://registry.npmjs.org/jest-worker/-/jest-worker-29.7.0.tgz" integrity sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw== dependencies: "@types/node" "*" @@ -3752,9 +2229,9 @@ jest-worker@^29.7.0: merge-stream "^2.0.0" supports-color "^8.0.0" -jest@29.5.0: +jest@^29.0.0, jest@^29.5.0, jest@29.5.0: version "29.5.0" - resolved "https://registry.npmjs.org/jest/-/jest-29.5.0.tgz#f75157622f5ce7ad53028f2f8888ab53e1f1f24e" + resolved "https://registry.npmjs.org/jest/-/jest-29.5.0.tgz" integrity sha512-juMg3he2uru1QoXX078zTa7pO85QyB9xajZc6bU+d9yEGwrKX6+vGmJQ3UdVZsvTEUARIdObzH68QItim6OSSQ== dependencies: "@jest/core" "^29.5.0" @@ -3762,819 +2239,232 @@ jest@29.5.0: import-local "^3.0.2" jest-cli "^29.5.0" -jest@^29.5.0: - version "29.7.0" - resolved "https://registry.npmjs.org/jest/-/jest-29.7.0.tgz#994676fc24177f088f1c5e3737f5697204ff2613" - integrity sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw== - dependencies: - "@jest/core" "^29.7.0" - "@jest/types" "^29.6.3" - import-local "^3.0.2" - jest-cli "^29.7.0" - js-sdsl@^4.1.4: version "4.4.2" - resolved "https://registry.npmjs.org/js-sdsl/-/js-sdsl-4.4.2.tgz#2e3c031b1f47d3aca8b775532e3ebb0818e7f847" + resolved "https://registry.npmjs.org/js-sdsl/-/js-sdsl-4.4.2.tgz" integrity sha512-dwXFwByc/ajSV6m5bcKAPwe4yDDF6D614pxmIi5odytzxRlwqF6nwoiCek80Ixc7Cvma5awClxrzFtxCQvcM8w== js-tokens@^4.0.0: version "4.0.0" - resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" + resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz" integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== -js-yaml@4.1.0, js-yaml@^4.1.0: - version "4.1.0" - resolved "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" - integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== - dependencies: - argparse "^2.0.1" - -js-yaml@^3.10.0, js-yaml@^3.13.1: +js-yaml@^3.13.1: version "3.14.1" - resolved "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537" + resolved "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz" integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== dependencies: argparse "^1.0.7" esprima "^4.0.0" -js2xmlparser@^4.0.2: - version "4.0.2" - resolved "https://registry.npmjs.org/js2xmlparser/-/js2xmlparser-4.0.2.tgz#2a1fdf01e90585ef2ae872a01bc169c6a8d5e60a" - integrity sha512-6n4D8gLlLf1n5mNLQPRfViYzu9RATblzPEtm1SthMX1Pjao0r9YI9nw7ZIfRxQMERS87mcswrg+r/OYrPRX6jA== +js-yaml@^4.1.0: + version "4.1.0" + resolved "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz" + integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== dependencies: - xmlcreate "^2.0.4" - -jsbn@1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/jsbn/-/jsbn-1.1.0.tgz#b01307cb29b618a1ed26ec79e911f803c4da0040" - integrity sha512-4bYVV3aAMtDTTu4+xsDYa6sy9GyJ69/amsu9sYF2zqjiEoZA5xJi3BrfX3uY+/IekIu7MwdObdbDWpoZdBv3/A== - -jsdoc@^4.0.0: - version "4.0.3" - resolved "https://registry.npmjs.org/jsdoc/-/jsdoc-4.0.3.tgz#bfee86c6a82f6823e12b5e8be698fd99ae46c061" - integrity sha512-Nu7Sf35kXJ1MWDZIMAuATRQTg1iIPdzh7tqJ6jjvaU/GfDf+qi5UV8zJR3Mo+/pYFvm8mzay4+6O5EWigaQBQw== - dependencies: - "@babel/parser" "^7.20.15" - "@jsdoc/salty" "^0.2.1" - "@types/markdown-it" "^14.1.1" - bluebird "^3.7.2" - catharsis "^0.9.0" - escape-string-regexp "^2.0.0" - js2xmlparser "^4.0.2" - klaw "^3.0.0" - markdown-it "^14.1.0" - markdown-it-anchor "^8.6.7" - marked "^4.0.10" - mkdirp "^1.0.4" - requizzle "^0.2.3" - strip-json-comments "^3.1.0" - underscore "~1.13.2" + argparse "^2.0.1" jsesc@^2.5.1: version "2.5.2" - resolved "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" + resolved "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz" integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== json-buffer@3.0.1: version "3.0.1" - resolved "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz#9338802a30d3b6605fbe0613e094008ca8c05a13" + resolved "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz" integrity sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ== -json-parse-better-errors@^1.0.1: - version "1.0.2" - resolved "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" - integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== - json-parse-even-better-errors@^2.3.0: version "2.3.1" - resolved "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" + resolved "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz" integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== -json-parse-even-better-errors@^3.0.0: - version "3.0.1" - resolved "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-3.0.1.tgz#02bb29fb5da90b5444581749c22cedd3597c6cb0" - integrity sha512-aatBvbL26wVUCLmbWdCpeu9iF5wOyWpagiKkInA+kfws3sWdBrTnsvN2CKcyCYyUrc7rebNBlK6+kteg7ksecg== - json-schema-traverse@^0.4.1: version "0.4.1" - resolved "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" + resolved "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz" integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== json-stable-stringify-without-jsonify@^1.0.1: version "1.0.1" - resolved "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" + resolved "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz" integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw== -json-stringify-safe@^5.0.1: - version "5.0.1" - resolved "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" - integrity sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA== - -json5@^2.2.2, json5@^2.2.3: +json5@^2.2.3: version "2.2.3" - resolved "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" + resolved "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz" integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== -jsonc-parser@3.2.0: - version "3.2.0" - resolved "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz#31ff3f4c2b9793f89c67212627c51c6394f88e76" - integrity sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w== - -jsonfile@^6.0.1: - version "6.1.0" - resolved "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae" - integrity sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ== - dependencies: - universalify "^2.0.0" - optionalDependencies: - graceful-fs "^4.1.6" - -jsonparse@^1.2.0, jsonparse@^1.3.1: - version "1.3.1" - resolved "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" - integrity sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg== - keyv@^4.5.3: version "4.5.4" - resolved "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz#a879a99e29452f942439f2a405e3af8b31d4de93" + resolved "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz" integrity sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw== dependencies: json-buffer "3.0.1" -kind-of@^6.0.2, kind-of@^6.0.3: - version "6.0.3" - resolved "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" - integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== - -klaw@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/klaw/-/klaw-3.0.0.tgz#b11bec9cf2492f06756d6e809ab73a2910259146" - integrity sha512-0Fo5oir+O9jnXu5EefYbVK+mHMBeEVEy2cmctR1O1NECcCkPRreJKrS6Qt/j3KC2C148Dfo9i3pCmCMsdqGr0g== - dependencies: - graceful-fs "^4.1.9" - kleur@^3.0.3: version "3.0.3" - resolved "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" + resolved "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz" integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== -lerna@7.0.2: - version "7.0.2" - resolved "https://registry.npmjs.org/lerna/-/lerna-7.0.2.tgz#45e844bfca72d12cc285c9a00f6f2cfb341bed05" - integrity sha512-omFpf1pTiaObC2YOC7K+euaDwhQA9CyKN1kXxmlSwaSkh8b8QTs4SC8jp3oNeXfcHpVS1ttuuz98AvQvJD46wA== - dependencies: - "@lerna/child-process" "7.0.2" - "@lerna/create" "7.0.2" - "@npmcli/run-script" "6.0.2" - "@nx/devkit" ">=16.1.3 < 17" - "@octokit/plugin-enterprise-rest" "6.0.1" - "@octokit/rest" "19.0.11" - byte-size "8.1.1" - chalk "4.1.0" - clone-deep "4.0.1" - cmd-shim "6.0.1" - columnify "1.6.0" - conventional-changelog-angular "6.0.0" - conventional-changelog-core "5.0.1" - conventional-recommended-bump "7.0.1" - cosmiconfig "^8.2.0" - dedent "0.7.0" - envinfo "7.8.1" - execa "5.0.0" - fs-extra "^11.1.1" - get-port "5.1.1" - get-stream "6.0.0" - git-url-parse "13.1.0" - glob-parent "5.1.2" - globby "11.1.0" - graceful-fs "4.2.11" - has-unicode "2.0.1" - import-local "3.1.0" - ini "^1.3.8" - init-package-json "5.0.0" - inquirer "^8.2.4" - is-ci "3.0.1" - is-stream "2.0.0" - jest-diff ">=29.4.3 < 30" - js-yaml "4.1.0" - libnpmaccess "7.0.2" - libnpmpublish "7.3.0" - load-json-file "6.2.0" - make-dir "3.1.0" - minimatch "3.0.5" - multimatch "5.0.0" - node-fetch "2.6.7" - npm-package-arg "8.1.1" - npm-packlist "5.1.1" - npm-registry-fetch "^14.0.5" - npmlog "^6.0.2" - nx ">=16.1.3 < 17" - p-map "4.0.0" - p-map-series "2.1.0" - p-pipe "3.1.0" - p-queue "6.6.2" - p-reduce "2.1.0" - p-waterfall "2.1.1" - pacote "^15.2.0" - pify "5.0.0" - read-cmd-shim "4.0.0" - read-package-json "6.0.4" - resolve-from "5.0.0" - rimraf "^4.4.1" - semver "^7.3.8" - signal-exit "3.0.7" - slash "3.0.0" - ssri "^9.0.1" - strong-log-transformer "2.1.0" - tar "6.1.11" - temp-dir "1.0.0" - typescript ">=3 < 6" - upath "2.0.1" - uuid "^9.0.0" - validate-npm-package-license "3.0.4" - validate-npm-package-name "5.0.0" - write-file-atomic "5.0.1" - write-pkg "4.0.0" - yargs "16.2.0" - yargs-parser "20.2.4" - leven@^3.1.0: version "3.1.0" - resolved "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2" + resolved "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz" integrity sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A== levn@^0.4.1: version "0.4.1" - resolved "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade" + resolved "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz" integrity sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ== dependencies: prelude-ls "^1.2.1" type-check "~0.4.0" -levn@~0.3.0: - version "0.3.0" - resolved "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" - integrity sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA== - dependencies: - prelude-ls "~1.1.2" - type-check "~0.3.2" - -libnpmaccess@7.0.2: - version "7.0.2" - resolved "https://registry.npmjs.org/libnpmaccess/-/libnpmaccess-7.0.2.tgz#7f056c8c933dd9c8ba771fa6493556b53c5aac52" - integrity sha512-vHBVMw1JFMTgEk15zRsJuSAg7QtGGHpUSEfnbcRL1/gTBag9iEfJbyjpDmdJmwMhvpoLoNBtdAUCdGnaP32hhw== - dependencies: - npm-package-arg "^10.1.0" - npm-registry-fetch "^14.0.3" - -libnpmpublish@7.3.0: - version "7.3.0" - resolved "https://registry.npmjs.org/libnpmpublish/-/libnpmpublish-7.3.0.tgz#2ceb2b36866d75a6cd7b4aa748808169f4d17e37" - integrity sha512-fHUxw5VJhZCNSls0KLNEG0mCD2PN1i14gH5elGOgiVnU3VgTcRahagYP2LKI1m0tFCJ+XrAm0zVYyF5RCbXzcg== - dependencies: - ci-info "^3.6.1" - normalize-package-data "^5.0.0" - npm-package-arg "^10.1.0" - npm-registry-fetch "^14.0.3" - proc-log "^3.0.0" - semver "^7.3.7" - sigstore "^1.4.0" - ssri "^10.0.1" - lines-and-columns@^1.1.6: version "1.2.4" - resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" + resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz" integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== -lines-and-columns@~2.0.3: - version "2.0.4" - resolved "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-2.0.4.tgz#d00318855905d2660d8c0822e3f5a4715855fc42" - integrity sha512-wM1+Z03eypVAVUCE7QdSqpVIvelbOakn1M0bPDoA4SGWPx3sNDVUiMo3L6To6WWGClB7VyXnhQ4Sn7gxiJbE6A== - -linkify-it@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/linkify-it/-/linkify-it-5.0.0.tgz#9ef238bfa6dc70bd8e7f9572b52d369af569b421" - integrity sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ== - dependencies: - uc.micro "^2.0.0" - -load-json-file@6.2.0: - version "6.2.0" - resolved "https://registry.npmjs.org/load-json-file/-/load-json-file-6.2.0.tgz#5c7770b42cafa97074ca2848707c61662f4251a1" - integrity sha512-gUD/epcRms75Cw8RT1pUdHugZYM5ce64ucs2GEISABwkRsOQr0q2wm/MV2TKThycIe5e0ytRweW2RZxclogCdQ== - dependencies: - graceful-fs "^4.1.15" - parse-json "^5.0.0" - strip-bom "^4.0.0" - type-fest "^0.6.0" - -load-json-file@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b" - integrity sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw== - dependencies: - graceful-fs "^4.1.2" - parse-json "^4.0.0" - pify "^3.0.0" - strip-bom "^3.0.0" - -locate-path@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e" - integrity sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA== - dependencies: - p-locate "^2.0.0" - path-exists "^3.0.0" - locate-path@^5.0.0: version "5.0.0" - resolved "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0" + resolved "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz" integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g== dependencies: p-locate "^4.1.0" locate-path@^6.0.0: version "6.0.0" - resolved "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286" + resolved "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz" integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== dependencies: p-locate "^5.0.0" -lodash.ismatch@^4.4.0: - version "4.4.0" - resolved "https://registry.npmjs.org/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz#756cb5150ca3ba6f11085a78849645f188f85f37" - integrity sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g== - lodash.memoize@4.x: version "4.1.2" - resolved "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" + resolved "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz" integrity sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag== lodash.merge@^4.6.2: version "4.6.2" - resolved "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" + resolved "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz" integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== -lodash@^4.17.15, lodash@^4.17.21: - version "4.17.21" - resolved "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" - integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== - -log-symbols@^4.1.0: - version "4.1.0" - resolved "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz#3fbdbb95b4683ac9fc785111e792e558d4abd503" - integrity sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg== - dependencies: - chalk "^4.1.0" - is-unicode-supported "^0.1.0" - long@^5.0.0: version "5.2.3" - resolved "https://registry.npmjs.org/long/-/long-5.2.3.tgz#a3ba97f3877cf1d778eccbcb048525ebb77499e1" + resolved "https://registry.npmjs.org/long/-/long-5.2.3.tgz" integrity sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q== +lru-cache@^10.2.0: + version "10.2.0" + resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.0.tgz" + integrity sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q== + lru-cache@^5.1.1: version "5.1.1" - resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" + resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz" integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w== dependencies: yallist "^3.0.2" lru-cache@^6.0.0: version "6.0.0" - resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" + resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz" integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== dependencies: yallist "^4.0.0" -lru-cache@^7.4.4, lru-cache@^7.5.1, lru-cache@^7.7.1: - version "7.18.3" - resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-7.18.3.tgz#f793896e0fd0e954a59dfdd82f0773808df6aa89" - integrity sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA== - -"lru-cache@^9.1.1 || ^10.0.0": - version "10.2.0" - resolved "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.0.tgz#0bd445ca57363465900f4d1f9bd8db343a4d95c3" - integrity sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q== - -make-dir@3.1.0: - version "3.1.0" - resolved "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f" - integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw== - dependencies: - semver "^6.0.0" - -make-dir@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" - integrity sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA== - dependencies: - pify "^4.0.1" - semver "^5.6.0" - make-dir@^4.0.0: version "4.0.0" - resolved "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz#c3c2307a771277cd9638305f915c29ae741b614e" + resolved "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz" integrity sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw== dependencies: semver "^7.5.3" -make-error@1.x, make-error@^1.1.1: +make-error@^1.1.1, make-error@1.x: version "1.3.6" - resolved "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" + resolved "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz" integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== -make-fetch-happen@^10.0.3: - version "10.2.1" - resolved "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-10.2.1.tgz#f5e3835c5e9817b617f2770870d9492d28678164" - integrity sha512-NgOPbRiaQM10DYXvN3/hhGVI2M5MtITFryzBGxHM5p4wnFxsVCbxkrBrDsk+EZ5OB4jEOT7AjDxtdF+KVEFT7w== - dependencies: - agentkeepalive "^4.2.1" - cacache "^16.1.0" - http-cache-semantics "^4.1.0" - http-proxy-agent "^5.0.0" - https-proxy-agent "^5.0.0" - is-lambda "^1.0.1" - lru-cache "^7.7.1" - minipass "^3.1.6" - minipass-collect "^1.0.2" - minipass-fetch "^2.0.3" - minipass-flush "^1.0.5" - minipass-pipeline "^1.2.4" - negotiator "^0.6.3" - promise-retry "^2.0.1" - socks-proxy-agent "^7.0.0" - ssri "^9.0.0" - -make-fetch-happen@^11.0.0, make-fetch-happen@^11.0.1, make-fetch-happen@^11.1.1: - version "11.1.1" - resolved "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-11.1.1.tgz#85ceb98079584a9523d4bf71d32996e7e208549f" - integrity sha512-rLWS7GCSTcEujjVBs2YqG7Y4643u8ucvCJeSRqiLYhesrDuzeuFIk37xREzAsfQaqzl8b9rNCE4m6J8tvX4Q8w== - dependencies: - agentkeepalive "^4.2.1" - cacache "^17.0.0" - http-cache-semantics "^4.1.1" - http-proxy-agent "^5.0.0" - https-proxy-agent "^5.0.0" - is-lambda "^1.0.1" - lru-cache "^7.7.1" - minipass "^5.0.0" - minipass-fetch "^3.0.0" - minipass-flush "^1.0.5" - minipass-pipeline "^1.2.4" - negotiator "^0.6.3" - promise-retry "^2.0.1" - socks-proxy-agent "^7.0.0" - ssri "^10.0.0" - makeerror@1.0.12: version "1.0.12" - resolved "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz#3e5dd2079a82e812e983cc6610c4a2cb0eaa801a" + resolved "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz" integrity sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg== dependencies: tmpl "1.0.5" -map-obj@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d" - integrity sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg== - -map-obj@^4.0.0: - version "4.3.0" - resolved "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz#9304f906e93faae70880da102a9f1df0ea8bb05a" - integrity sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ== - -markdown-it-anchor@^8.6.7: - version "8.6.7" - resolved "https://registry.npmjs.org/markdown-it-anchor/-/markdown-it-anchor-8.6.7.tgz#ee6926daf3ad1ed5e4e3968b1740eef1c6399634" - integrity sha512-FlCHFwNnutLgVTflOYHPW2pPcl2AACqVzExlkGQNsi4CJgqOHN7YTgDd4LuhgN1BFO3TS0vLAruV1Td6dwWPJA== - -markdown-it@^14.1.0: - version "14.1.0" - resolved "https://registry.npmjs.org/markdown-it/-/markdown-it-14.1.0.tgz#3c3c5992883c633db4714ccb4d7b5935d98b7d45" - integrity sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg== - dependencies: - argparse "^2.0.1" - entities "^4.4.0" - linkify-it "^5.0.0" - mdurl "^2.0.0" - punycode.js "^2.3.1" - uc.micro "^2.1.0" - -marked@^4.0.10: - version "4.3.0" - resolved "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz#796362821b019f734054582038b116481b456cf3" - integrity sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A== - -mdurl@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/mdurl/-/mdurl-2.0.0.tgz#80676ec0433025dd3e17ee983d0fe8de5a2237e0" - integrity sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w== - -meow@^8.1.2: - version "8.1.2" - resolved "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz#bcbe45bda0ee1729d350c03cffc8395a36c4e897" - integrity sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q== - dependencies: - "@types/minimist" "^1.2.0" - camelcase-keys "^6.2.2" - decamelize-keys "^1.1.0" - hard-rejection "^2.1.0" - minimist-options "4.1.0" - normalize-package-data "^3.0.0" - read-pkg-up "^7.0.1" - redent "^3.0.0" - trim-newlines "^3.0.0" - type-fest "^0.18.0" - yargs-parser "^20.2.3" - merge-stream@^2.0.0: version "2.0.0" - resolved "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" + resolved "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz" integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== -merge2@^1.3.0, merge2@^1.4.1: - version "1.4.1" - resolved "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" - integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== - micromatch@^4.0.4: - version "4.0.5" - resolved "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" - integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== + version "4.0.8" + resolved "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz" + integrity sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA== dependencies: - braces "^3.0.2" + braces "^3.0.3" picomatch "^2.3.1" -mime-db@1.52.0: - version "1.52.0" - resolved "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" - integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== - -mime-types@^2.1.12: - version "2.1.35" - resolved "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" - integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== - dependencies: - mime-db "1.52.0" - mimic-fn@^2.1.0: version "2.1.0" - resolved "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" + resolved "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz" integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== -min-indent@^1.0.0: - version "1.0.1" - resolved "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869" - integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg== - -minimatch@3.0.5: - version "3.0.5" - resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.0.5.tgz#4da8f1290ee0f0f8e83d60ca69f8f134068604a3" - integrity sha512-tUpxzX0VAzJHjLu0xUfFv1gwVp9ba3IOuRAVH2EGuRW8a5emA2FlACLqiT/lDVtS1W+TGNwqz3sWaNyLgDJWuw== - dependencies: - brace-expansion "^1.1.7" - minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: version "3.1.2" - resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" + resolved "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz" integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== dependencies: brace-expansion "^1.1.7" minimatch@^5.0.1: version "5.1.6" - resolved "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz#1cfcb8cf5522ea69952cd2af95ae09477f122a96" + resolved "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz" integrity sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g== dependencies: brace-expansion "^2.0.1" -minimatch@^8.0.2: - version "8.0.4" - resolved "https://registry.npmjs.org/minimatch/-/minimatch-8.0.4.tgz#847c1b25c014d4e9a7f68aaf63dedd668a626229" - integrity sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA== - dependencies: - brace-expansion "^2.0.1" - -minimatch@^9.0.0, minimatch@^9.0.1: +minimatch@^9.0.1: version "9.0.3" - resolved "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz#a6e00c3de44c3a542bfaae70abfc22420a6da825" + resolved "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz" integrity sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg== dependencies: brace-expansion "^2.0.1" -minimist-options@4.1.0: - version "4.1.0" - resolved "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz#c0655713c53a8a2ebd77ffa247d342c40f010619" - integrity sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A== - dependencies: - arrify "^1.0.1" - is-plain-obj "^1.1.0" - kind-of "^6.0.3" - -minimist@1.2.8, minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6, minimist@^1.2.8: - version "1.2.8" - resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" - integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== - -minipass-collect@^1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz#22b813bf745dc6edba2576b940022ad6edc8c617" - integrity sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA== - dependencies: - minipass "^3.0.0" - -minipass-fetch@^2.0.3: - version "2.1.2" - resolved "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-2.1.2.tgz#95560b50c472d81a3bc76f20ede80eaed76d8add" - integrity sha512-LT49Zi2/WMROHYoqGgdlQIZh8mLPZmOrN2NdJjMXxYe4nkN6FUyuPuOAOedNJDrx0IRGg9+4guZewtp8hE6TxA== - dependencies: - minipass "^3.1.6" - minipass-sized "^1.0.3" - minizlib "^2.1.2" - optionalDependencies: - encoding "^0.1.13" - -minipass-fetch@^3.0.0: - version "3.0.4" - resolved "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-3.0.4.tgz#4d4d9b9f34053af6c6e597a64be8e66e42bf45b7" - integrity sha512-jHAqnA728uUpIaFm7NWsCnqKT6UqZz7GcI/bDpPATuwYyKwJwW0remxSCxUlKiEty+eopHGa3oc8WxgQ1FFJqg== - dependencies: - minipass "^7.0.3" - minipass-sized "^1.0.3" - minizlib "^2.1.2" - optionalDependencies: - encoding "^0.1.13" - -minipass-flush@^1.0.5: - version "1.0.5" - resolved "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz#82e7135d7e89a50ffe64610a787953c4c4cbb373" - integrity sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw== - dependencies: - minipass "^3.0.0" - -minipass-json-stream@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/minipass-json-stream/-/minipass-json-stream-1.0.1.tgz#7edbb92588fbfc2ff1db2fc10397acb7b6b44aa7" - integrity sha512-ODqY18UZt/I8k+b7rl2AENgbWE8IDYam+undIJONvigAz8KR5GWblsFTEfQs0WODsjbSXWlm+JHEv8Gr6Tfdbg== - dependencies: - jsonparse "^1.3.1" - minipass "^3.0.0" - -minipass-pipeline@^1.2.4: - version "1.2.4" - resolved "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz#68472f79711c084657c067c5c6ad93cddea8214c" - integrity sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A== - dependencies: - minipass "^3.0.0" - -minipass-sized@^1.0.3: - version "1.0.3" - resolved "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz#70ee5a7c5052070afacfbc22977ea79def353b70" - integrity sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g== - dependencies: - minipass "^3.0.0" - -minipass@^3.0.0, minipass@^3.1.1, minipass@^3.1.6: - version "3.3.6" - resolved "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz#7bba384db3a1520d18c9c0e5251c3444e95dd94a" - integrity sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw== +minimatch@^9.0.4: + version "9.0.5" + resolved "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz" + integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow== dependencies: - yallist "^4.0.0" - -minipass@^4.2.4: - version "4.2.8" - resolved "https://registry.npmjs.org/minipass/-/minipass-4.2.8.tgz#f0010f64393ecfc1d1ccb5f582bcaf45f48e1a3a" - integrity sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ== - -minipass@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz#3e9788ffb90b694a5d0ec94479a45b5d8738133d" - integrity sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ== + brace-expansion "^2.0.1" -"minipass@^5.0.0 || ^6.0.2 || ^7.0.0", minipass@^7.0.3: +"minipass@^5.0.0 || ^6.0.2 || ^7.0.0": version "7.0.4" - resolved "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz#dbce03740f50a4786ba994c1fb908844d27b038c" + resolved "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz" integrity sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ== -minizlib@^2.1.1, minizlib@^2.1.2: - version "2.1.2" - resolved "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931" - integrity sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg== - dependencies: - minipass "^3.0.0" - yallist "^4.0.0" - mkdirp@3.0.1: version "3.0.1" - resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.1.tgz#e44e4c5607fb279c168241713cc6e0fea9adcb50" + resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.1.tgz" integrity sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg== -mkdirp@^1.0.3, mkdirp@^1.0.4: - version "1.0.4" - resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" - integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== - -modify-values@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022" - integrity sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw== - ms@2.1.2: version "2.1.2" - resolved "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" + resolved "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -ms@^2.0.0: - version "2.1.3" - resolved "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" - integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== - -multimatch@5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/multimatch/-/multimatch-5.0.0.tgz#932b800963cea7a31a033328fa1e0c3a1874dbe6" - integrity sha512-ypMKuglUrZUD99Tk2bUQ+xNQj43lPEfAeX2o9cTteAmShXy2VHDJpuwu1o0xqoKCt9jLVAvwyFKdLTPXKAfJyA== - dependencies: - "@types/minimatch" "^3.0.3" - array-differ "^3.0.0" - array-union "^2.1.0" - arrify "^2.0.1" - minimatch "^3.0.4" - -mute-stream@0.0.8: - version "0.0.8" - resolved "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" - integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== - -mute-stream@~1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/mute-stream/-/mute-stream-1.0.0.tgz#e31bd9fe62f0aed23520aa4324ea6671531e013e" - integrity sha512-avsJQhyd+680gKXyG/sQc0nXaC6rBkPOfyHYcFb9+hdkqQkR9bdnkJ0AMZhke0oesPqIO+mFFJ+IdBc7mst4IA== - natural-compare@^1.4.0: version "1.4.0" - resolved "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" + resolved "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz" integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== -negotiator@^0.6.3: - version "0.6.3" - resolved "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" - integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== - -neo-async@^2.6.2: - version "2.6.2" - resolved "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" - integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== - nested-obj@^0.0.1: version "0.0.1" - resolved "https://registry.npmjs.org/nested-obj/-/nested-obj-0.0.1.tgz#efe1da127c3d00826fa10ec25673e0f9ec1224fd" + resolved "https://registry.npmjs.org/nested-obj/-/nested-obj-0.0.1.tgz" integrity sha512-kB1WKTng+IePQhZVs1UXtFaHBx4QEM5a0XKGAzYfCKvdx5DhNjCytNDWMUGpNNpHLotln+tiwcA52kWCIgGq1Q== -node-addon-api@^3.2.1: - version "3.2.1" - resolved "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz#81325e0a2117789c0128dab65e7e38f07ceba161" - integrity sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A== - -node-fetch@2.6.7: - version "2.6.7" - resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad" - integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== - dependencies: - whatwg-url "^5.0.0" - -node-fetch@^2.6.7: - version "2.7.0" - resolved "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" - integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== - dependencies: - whatwg-url "^5.0.0" - -node-gyp-build@^4.3.0: - version "4.8.0" - resolved "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.8.0.tgz#3fee9c1731df4581a3f9ead74664369ff00d26dd" - integrity sha512-u6fs2AEUljNho3EYTJNBfImO5QTo/J/1Etd+NVdCj7qWKUSN/bSLkZwhDv7I+w/MSC6qJ4cknepkAYykDdK8og== - -node-gyp@^9.0.0: - version "9.4.1" - resolved "https://registry.npmjs.org/node-gyp/-/node-gyp-9.4.1.tgz#8a1023e0d6766ecb52764cc3a734b36ff275e185" - integrity sha512-OQkWKbjQKbGkMf/xqI1jjy3oCTgMKJac58G2+bjZb3fza6gW2YrCSdMQYaoTb70crvE//Gngr4f0AgVHmqHvBQ== - dependencies: - env-paths "^2.2.0" - exponential-backoff "^3.1.1" - glob "^7.1.4" - graceful-fs "^4.2.6" - make-fetch-happen "^10.0.3" - nopt "^6.0.0" - npmlog "^6.0.0" - rimraf "^3.0.2" - semver "^7.3.5" - tar "^6.1.2" - which "^2.0.2" - node-html-parser@6.1.12: version "6.1.12" - resolved "https://registry.npmjs.org/node-html-parser/-/node-html-parser-6.1.12.tgz#6138f805d0ad7a6b5ef415bcd91bca07374bf575" + resolved "https://registry.npmjs.org/node-html-parser/-/node-html-parser-6.1.12.tgz" integrity sha512-/bT/Ncmv+fbMGX96XG9g05vFt43m/+SYKIs9oAemQVYyVcZmDAI2Xq/SbNcpOA35eF0Zk2av3Ksf+Xk8Vt8abA== dependencies: css-select "^5.1.0" @@ -4582,266 +2472,50 @@ node-html-parser@6.1.12: node-int64@^0.4.0: version "0.4.0" - resolved "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" + resolved "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz" integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== -node-machine-id@1.1.12: - version "1.1.12" - resolved "https://registry.npmjs.org/node-machine-id/-/node-machine-id-1.1.12.tgz#37904eee1e59b320bb9c5d6c0a59f3b469cb6267" - integrity sha512-QNABxbrPa3qEIfrE6GOJ7BYIuignnJw7iQ2YPbc3Nla1HzRJjXzZOiikfF8m7eAMfichLt3M4VgLOetqgDmgGQ== - node-releases@^2.0.14: version "2.0.14" - resolved "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz#2ffb053bceb8b2be8495ece1ab6ce600c4461b0b" + resolved "https://registry.npmjs.org/node-releases/-/node-releases-2.0.14.tgz" integrity sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw== -nopt@^6.0.0: - version "6.0.0" - resolved "https://registry.npmjs.org/nopt/-/nopt-6.0.0.tgz#245801d8ebf409c6df22ab9d95b65e1309cdb16d" - integrity sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g== - dependencies: - abbrev "^1.0.0" - -normalize-package-data@^2.3.2, normalize-package-data@^2.5.0: - version "2.5.0" - resolved "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" - integrity sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA== - dependencies: - hosted-git-info "^2.1.4" - resolve "^1.10.0" - semver "2 || 3 || 4 || 5" - validate-npm-package-license "^3.0.1" - -normalize-package-data@^3.0.0, normalize-package-data@^3.0.3: - version "3.0.3" - resolved "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz#dbcc3e2da59509a0983422884cd172eefdfa525e" - integrity sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA== - dependencies: - hosted-git-info "^4.0.1" - is-core-module "^2.5.0" - semver "^7.3.4" - validate-npm-package-license "^3.0.1" - -normalize-package-data@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-5.0.0.tgz#abcb8d7e724c40d88462b84982f7cbf6859b4588" - integrity sha512-h9iPVIfrVZ9wVYQnxFgtw1ugSvGEMOlyPWWtm8BMJhnwyEL/FLbYbTY3V3PpjI/BUK67n9PEWDu6eHzu1fB15Q== - dependencies: - hosted-git-info "^6.0.0" - is-core-module "^2.8.1" - semver "^7.3.5" - validate-npm-package-license "^3.0.4" - normalize-path@^3.0.0: version "3.0.0" - resolved "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" + resolved "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz" integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== -npm-bundled@^1.1.2: - version "1.1.2" - resolved "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.2.tgz#944c78789bd739035b70baa2ca5cc32b8d860bc1" - integrity sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ== - dependencies: - npm-normalize-package-bin "^1.0.1" - -npm-bundled@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/npm-bundled/-/npm-bundled-3.0.0.tgz#7e8e2f8bb26b794265028491be60321a25a39db7" - integrity sha512-Vq0eyEQy+elFpzsKjMss9kxqb9tG3YHg4dsyWuUENuzvSUWe1TCnW/vV9FkhvBk/brEDoDiVd+M1Btosa6ImdQ== - dependencies: - npm-normalize-package-bin "^3.0.0" - -npm-install-checks@^6.0.0: - version "6.3.0" - resolved "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.3.0.tgz#046552d8920e801fa9f919cad569545d60e826fe" - integrity sha512-W29RiK/xtpCGqn6f3ixfRYGk+zRyr+Ew9F2E20BfXxT5/euLdA/Nm7fO7OeTGuAmTs30cpgInyJ0cYe708YTZw== - dependencies: - semver "^7.1.1" - -npm-normalize-package-bin@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz#6e79a41f23fd235c0623218228da7d9c23b8f6e2" - integrity sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA== - -npm-normalize-package-bin@^3.0.0: - version "3.0.1" - resolved "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-3.0.1.tgz#25447e32a9a7de1f51362c61a559233b89947832" - integrity sha512-dMxCf+zZ+3zeQZXKxmyuCKlIDPGuv8EF940xbkC4kQVDTtqoh6rJFO+JTKSA6/Rwi0getWmtuy4Itup0AMcaDQ== - -npm-package-arg@8.1.1: - version "8.1.1" - resolved "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.1.tgz#00ebf16ac395c63318e67ce66780a06db6df1b04" - integrity sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg== - dependencies: - hosted-git-info "^3.0.6" - semver "^7.0.0" - validate-npm-package-name "^3.0.0" - -npm-package-arg@^10.0.0, npm-package-arg@^10.1.0: - version "10.1.0" - resolved "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-10.1.0.tgz#827d1260a683806685d17193073cc152d3c7e9b1" - integrity sha512-uFyyCEmgBfZTtrKk/5xDfHp6+MdrqGotX/VoOyEEl3mBwiEE5FlBaePanazJSVMPT7vKepcjYBY2ztg9A3yPIA== - dependencies: - hosted-git-info "^6.0.0" - proc-log "^3.0.0" - semver "^7.3.5" - validate-npm-package-name "^5.0.0" - -npm-packlist@5.1.1: - version "5.1.1" - resolved "https://registry.npmjs.org/npm-packlist/-/npm-packlist-5.1.1.tgz#79bcaf22a26b6c30aa4dd66b976d69cc286800e0" - integrity sha512-UfpSvQ5YKwctmodvPPkK6Fwk603aoVsf8AEbmVKAEECrfvL8SSe1A2YIwrJ6xmTHAITKPwwZsWo7WwEbNk0kxw== - dependencies: - glob "^8.0.1" - ignore-walk "^5.0.1" - npm-bundled "^1.1.2" - npm-normalize-package-bin "^1.0.1" - -npm-packlist@^7.0.0: - version "7.0.4" - resolved "https://registry.npmjs.org/npm-packlist/-/npm-packlist-7.0.4.tgz#033bf74110eb74daf2910dc75144411999c5ff32" - integrity sha512-d6RGEuRrNS5/N84iglPivjaJPxhDbZmlbTwTDX2IbcRHG5bZCdtysYMhwiPvcF4GisXHGn7xsxv+GQ7T/02M5Q== - dependencies: - ignore-walk "^6.0.0" - -npm-pick-manifest@^8.0.0: - version "8.0.2" - resolved "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-8.0.2.tgz#2159778d9c7360420c925c1a2287b5a884c713aa" - integrity sha512-1dKY+86/AIiq1tkKVD3l0WI+Gd3vkknVGAggsFeBkTvbhMQ1OND/LKkYv4JtXPKUJ8bOTCyLiqEg2P6QNdK+Gg== - dependencies: - npm-install-checks "^6.0.0" - npm-normalize-package-bin "^3.0.0" - npm-package-arg "^10.0.0" - semver "^7.3.5" - -npm-registry-fetch@^14.0.0, npm-registry-fetch@^14.0.3, npm-registry-fetch@^14.0.5: - version "14.0.5" - resolved "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-14.0.5.tgz#fe7169957ba4986a4853a650278ee02e568d115d" - integrity sha512-kIDMIo4aBm6xg7jOttupWZamsZRkAqMqwqqbVXnUqstY5+tapvv6bkH/qMR76jdgV+YljEUCyWx3hRYMrJiAgA== - dependencies: - make-fetch-happen "^11.0.0" - minipass "^5.0.0" - minipass-fetch "^3.0.0" - minipass-json-stream "^1.0.1" - minizlib "^2.1.2" - npm-package-arg "^10.0.0" - proc-log "^3.0.0" - npm-run-path@^4.0.1: version "4.0.1" - resolved "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" + resolved "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz" integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== dependencies: path-key "^3.0.0" -npmlog@^6.0.0, npmlog@^6.0.2: - version "6.0.2" - resolved "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz#c8166017a42f2dea92d6453168dd865186a70830" - integrity sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg== - dependencies: - are-we-there-yet "^3.0.0" - console-control-strings "^1.1.0" - gauge "^4.0.3" - set-blocking "^2.0.0" - nth-check@^2.0.1: version "2.1.1" - resolved "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz#c9eab428effce36cd6b92c924bdb000ef1f1ed1d" + resolved "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz" integrity sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w== dependencies: boolbase "^1.0.0" -nx@16.10.0, "nx@>=16.1.3 < 17": - version "16.10.0" - resolved "https://registry.npmjs.org/nx/-/nx-16.10.0.tgz#b070461f7de0a3d7988bd78558ea84cda3543ace" - integrity sha512-gZl4iCC0Hx0Qe1VWmO4Bkeul2nttuXdPpfnlcDKSACGu3ZIo+uySqwOF8yBAxSTIf8xe2JRhgzJN1aFkuezEBg== - dependencies: - "@nrwl/tao" "16.10.0" - "@parcel/watcher" "2.0.4" - "@yarnpkg/lockfile" "^1.1.0" - "@yarnpkg/parsers" "3.0.0-rc.46" - "@zkochan/js-yaml" "0.0.6" - axios "^1.0.0" - chalk "^4.1.0" - cli-cursor "3.1.0" - cli-spinners "2.6.1" - cliui "^8.0.1" - dotenv "~16.3.1" - dotenv-expand "~10.0.0" - enquirer "~2.3.6" - figures "3.2.0" - flat "^5.0.2" - fs-extra "^11.1.0" - glob "7.1.4" - ignore "^5.0.4" - jest-diff "^29.4.1" - js-yaml "4.1.0" - jsonc-parser "3.2.0" - lines-and-columns "~2.0.3" - minimatch "3.0.5" - node-machine-id "1.1.12" - npm-run-path "^4.0.1" - open "^8.4.0" - semver "7.5.3" - string-width "^4.2.3" - strong-log-transformer "^2.1.0" - tar-stream "~2.2.0" - tmp "~0.2.1" - tsconfig-paths "^4.1.2" - tslib "^2.3.0" - v8-compile-cache "2.3.0" - yargs "^17.6.2" - yargs-parser "21.1.1" - optionalDependencies: - "@nx/nx-darwin-arm64" "16.10.0" - "@nx/nx-darwin-x64" "16.10.0" - "@nx/nx-freebsd-x64" "16.10.0" - "@nx/nx-linux-arm-gnueabihf" "16.10.0" - "@nx/nx-linux-arm64-gnu" "16.10.0" - "@nx/nx-linux-arm64-musl" "16.10.0" - "@nx/nx-linux-x64-gnu" "16.10.0" - "@nx/nx-linux-x64-musl" "16.10.0" - "@nx/nx-win32-arm64-msvc" "16.10.0" - "@nx/nx-win32-x64-msvc" "16.10.0" - -once@^1.3.0, once@^1.4.0: +once@^1.3.0: version "1.4.0" - resolved "https://registry.npmjs.org/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" + resolved "https://registry.npmjs.org/once/-/once-1.4.0.tgz" integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== dependencies: wrappy "1" -onetime@^5.1.0, onetime@^5.1.2: +onetime@^5.1.2: version "5.1.2" - resolved "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" + resolved "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz" integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== dependencies: mimic-fn "^2.1.0" -open@^8.4.0: - version "8.4.2" - resolved "https://registry.npmjs.org/open/-/open-8.4.2.tgz#5b5ffe2a8f793dcd2aad73e550cb87b59cb084f9" - integrity sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ== - dependencies: - define-lazy-prop "^2.0.0" - is-docker "^2.1.1" - is-wsl "^2.2.0" - -optionator@^0.8.1: - version "0.8.3" - resolved "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495" - integrity sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA== - dependencies: - deep-is "~0.1.3" - fast-levenshtein "~2.0.6" - levn "~0.3.0" - prelude-ls "~1.1.2" - type-check "~0.3.2" - word-wrap "~1.2.3" - optionator@^0.9.1: version "0.9.3" - resolved "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz#007397d44ed1872fdc6ed31360190f81814e2c64" + resolved "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz" integrity sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg== dependencies: "@aashutoshrathi/word-wrap" "^1.2.3" @@ -4851,169 +2525,49 @@ optionator@^0.9.1: prelude-ls "^1.2.1" type-check "^0.4.0" -ora@^5.4.1: - version "5.4.1" - resolved "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz#1b2678426af4ac4a509008e5e4ac9e9959db9e18" - integrity sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ== - dependencies: - bl "^4.1.0" - chalk "^4.1.0" - cli-cursor "^3.1.0" - cli-spinners "^2.5.0" - is-interactive "^1.0.0" - is-unicode-supported "^0.1.0" - log-symbols "^4.1.0" - strip-ansi "^6.0.0" - wcwidth "^1.0.1" - -os-tmpdir@~1.0.2: - version "1.0.2" - resolved "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" - integrity sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g== - -p-finally@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" - integrity sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow== - -p-limit@^1.1.0: - version "1.3.0" - resolved "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8" - integrity sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q== - dependencies: - p-try "^1.0.0" - p-limit@^2.2.0: version "2.3.0" - resolved "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" + resolved "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz" integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== dependencies: p-try "^2.0.0" p-limit@^3.0.2, p-limit@^3.1.0: version "3.1.0" - resolved "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" + resolved "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz" integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== dependencies: yocto-queue "^0.1.0" -p-locate@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" - integrity sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg== - dependencies: - p-limit "^1.1.0" - p-locate@^4.1.0: version "4.1.0" - resolved "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07" + resolved "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz" integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A== dependencies: p-limit "^2.2.0" p-locate@^5.0.0: version "5.0.0" - resolved "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834" + resolved "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz" integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== dependencies: p-limit "^3.0.2" -p-map-series@2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/p-map-series/-/p-map-series-2.1.0.tgz#7560d4c452d9da0c07e692fdbfe6e2c81a2a91f2" - integrity sha512-RpYIIK1zXSNEOdwxcfe7FdvGcs7+y5n8rifMhMNWvaxRNMPINJHF5GDeuVxWqnfrcHPSCnp7Oo5yNXHId9Av2Q== - -p-map@4.0.0, p-map@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b" - integrity sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ== - dependencies: - aggregate-error "^3.0.0" - -p-pipe@3.1.0: - version "3.1.0" - resolved "https://registry.npmjs.org/p-pipe/-/p-pipe-3.1.0.tgz#48b57c922aa2e1af6a6404cb7c6bf0eb9cc8e60e" - integrity sha512-08pj8ATpzMR0Y80x50yJHn37NF6vjrqHutASaX5LiH5npS9XPvrUmscd9MF5R4fuYRHOxQR1FfMIlF7AzwoPqw== - -p-queue@6.6.2: - version "6.6.2" - resolved "https://registry.npmjs.org/p-queue/-/p-queue-6.6.2.tgz#2068a9dcf8e67dd0ec3e7a2bcb76810faa85e426" - integrity sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ== - dependencies: - eventemitter3 "^4.0.4" - p-timeout "^3.2.0" - -p-reduce@2.1.0, p-reduce@^2.0.0, p-reduce@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/p-reduce/-/p-reduce-2.1.0.tgz#09408da49507c6c274faa31f28df334bc712b64a" - integrity sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw== - -p-timeout@^3.2.0: - version "3.2.0" - resolved "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz#c7e17abc971d2a7962ef83626b35d635acf23dfe" - integrity sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg== - dependencies: - p-finally "^1.0.0" - -p-try@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" - integrity sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww== - p-try@^2.0.0: version "2.2.0" - resolved "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" + resolved "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz" integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== -p-waterfall@2.1.1: - version "2.1.1" - resolved "https://registry.npmjs.org/p-waterfall/-/p-waterfall-2.1.1.tgz#63153a774f472ccdc4eb281cdb2967fcf158b2ee" - integrity sha512-RRTnDb2TBG/epPRI2yYXsimO0v3BXC8Yd3ogr1545IaqKK17VGhbWVeGGN+XfCm/08OK8635nH31c8bATkHuSw== - dependencies: - p-reduce "^2.0.0" - -pacote@^15.2.0: - version "15.2.0" - resolved "https://registry.npmjs.org/pacote/-/pacote-15.2.0.tgz#0f0dfcc3e60c7b39121b2ac612bf8596e95344d3" - integrity sha512-rJVZeIwHTUta23sIZgEIM62WYwbmGbThdbnkt81ravBplQv+HjyroqnLRNH2+sLJHcGZmLRmhPwACqhfTcOmnA== - dependencies: - "@npmcli/git" "^4.0.0" - "@npmcli/installed-package-contents" "^2.0.1" - "@npmcli/promise-spawn" "^6.0.1" - "@npmcli/run-script" "^6.0.0" - cacache "^17.0.0" - fs-minipass "^3.0.0" - minipass "^5.0.0" - npm-package-arg "^10.0.0" - npm-packlist "^7.0.0" - npm-pick-manifest "^8.0.0" - npm-registry-fetch "^14.0.0" - proc-log "^3.0.0" - promise-retry "^2.0.1" - read-package-json "^6.0.0" - read-package-json-fast "^3.0.0" - sigstore "^1.3.0" - ssri "^10.0.0" - tar "^6.1.11" - parent-module@^1.0.0: version "1.0.1" - resolved "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" + resolved "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz" integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== dependencies: callsites "^3.0.0" -parse-json@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0" - integrity sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw== - dependencies: - error-ex "^1.3.1" - json-parse-better-errors "^1.0.1" - -parse-json@^5.0.0, parse-json@^5.2.0: +parse-json@^5.2.0: version "5.2.0" - resolved "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" + resolved "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz" integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== dependencies: "@babel/code-frame" "^7.0.0" @@ -5021,312 +2575,129 @@ parse-json@^5.0.0, parse-json@^5.2.0: json-parse-even-better-errors "^2.3.0" lines-and-columns "^1.1.6" -parse-path@^7.0.0: - version "7.0.0" - resolved "https://registry.npmjs.org/parse-path/-/parse-path-7.0.0.tgz#605a2d58d0a749c8594405d8cc3a2bf76d16099b" - integrity sha512-Euf9GG8WT9CdqwuWJGdf3RkUcTBArppHABkO7Lm8IzRQp0e2r/kkFnmhu4TSK30Wcu5rVAZLmfPKSBBi9tWFog== - dependencies: - protocols "^2.0.0" - -parse-url@^8.1.0: - version "8.1.0" - resolved "https://registry.npmjs.org/parse-url/-/parse-url-8.1.0.tgz#972e0827ed4b57fc85f0ea6b0d839f0d8a57a57d" - integrity sha512-xDvOoLU5XRrcOZvnI6b8zA6n9O9ejNk/GExuz1yBuWUGn9KA97GI6HTs6u02wKara1CeVmZhH+0TZFdWScR89w== - dependencies: - parse-path "^7.0.0" - -path-exists@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" - integrity sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ== - path-exists@^4.0.0: version "4.0.0" - resolved "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" + resolved "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz" integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== path-is-absolute@^1.0.0: version "1.0.1" - resolved "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" + resolved "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz" integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== path-key@^3.0.0, path-key@^3.1.0: version "3.1.1" - resolved "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" + resolved "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz" integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== path-parse@^1.0.7: version "1.0.7" - resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" + resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz" integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== -path-scurry@^1.10.1, path-scurry@^1.6.1: - version "1.10.1" - resolved "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz#9ba6bf5aa8500fe9fd67df4f0d9483b2b0bfc698" - integrity sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ== +path-scurry@^1.10.1: + version "1.11.1" + resolved "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz" + integrity sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA== dependencies: - lru-cache "^9.1.1 || ^10.0.0" + lru-cache "^10.2.0" minipass "^5.0.0 || ^6.0.2 || ^7.0.0" -path-type@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f" - integrity sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg== - dependencies: - pify "^3.0.0" - -path-type@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" - integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== +"pg-proto-parser@file:/home/ubuntu/pg-proto-parser/packages/parser": + version "1.24.0" + resolved "file:packages/parser" + dependencies: + "@babel/generator" "^7.23.6" + "@babel/parser" "^7.23.6" + "@babel/traverse" "7.24.1" + "@babel/types" "7.24.0" + "@launchql/protobufjs" "7.2.6" + case "1.6.3" + deepmerge "4.3.1" + nested-obj "^0.0.1" + node-html-parser "6.1.12" + recast "0.23.6" + strfy-js "^3.0.1" picocolors@^1.0.0: version "1.0.0" - resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" + resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz" integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== picomatch@^2.0.4, picomatch@^2.2.3, picomatch@^2.3.1: version "2.3.1" - resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" + resolved "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz" integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== -pify@5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/pify/-/pify-5.0.0.tgz#1f5eca3f5e87ebec28cc6d54a0e4aaf00acc127f" - integrity sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA== - -pify@^2.3.0: - version "2.3.0" - resolved "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" - integrity sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog== - -pify@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" - integrity sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg== - -pify@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231" - integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g== - pirates@^4.0.4: version "4.0.6" - resolved "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz#3018ae32ecfcff6c29ba2267cbf21166ac1f36b9" + resolved "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz" integrity sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg== pkg-dir@^4.2.0: version "4.2.0" - resolved "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" + resolved "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz" integrity sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ== dependencies: find-up "^4.0.0" prelude-ls@^1.2.1: version "1.2.1" - resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" + resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz" integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== -prelude-ls@~1.1.2: - version "1.1.2" - resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" - integrity sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w== - prettier-linter-helpers@^1.0.0: version "1.0.0" - resolved "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz#d23d41fe1375646de2d0104d3454a3008802cf7b" + resolved "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz" integrity sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w== dependencies: fast-diff "^1.1.2" -prettier@2.8.7: +prettier@^2.8.7, prettier@>=2.0.0, prettier@2.8.7: version "2.8.7" - resolved "https://registry.npmjs.org/prettier/-/prettier-2.8.7.tgz#bb79fc8729308549d28fe3a98fce73d2c0656450" + resolved "https://registry.npmjs.org/prettier/-/prettier-2.8.7.tgz" integrity sha512-yPngTo3aXUUmyuTjeTUT75txrf+aMh9FiD7q9ZE/i6r0bPb22g4FsE6Y338PQX1bmfy08i9QQCB7/rcUAVntfw== -prettier@^2.8.7: - version "2.8.8" - resolved "https://registry.npmjs.org/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da" - integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q== - pretty-format@^29.0.0, pretty-format@^29.7.0: version "29.7.0" - resolved "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz#ca42c758310f365bfa71a0bda0a807160b776812" + resolved "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz" integrity sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ== dependencies: "@jest/schemas" "^29.6.3" ansi-styles "^5.0.0" react-is "^18.0.0" -proc-log@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/proc-log/-/proc-log-3.0.0.tgz#fb05ef83ccd64fd7b20bbe9c8c1070fc08338dd8" - integrity sha512-++Vn7NS4Xf9NacaU9Xq3URUuqZETPsf8L4j5/ckhaRYsfPeRyzGw+iDjFhV/Jr3uNmTvvddEJFWh5R1gRgUH8A== - -process-nextick-args@~2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" - integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== - -promise-inflight@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" - integrity sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g== - -promise-retry@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz#ff747a13620ab57ba688f5fc67855410c370da22" - integrity sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g== - dependencies: - err-code "^2.0.2" - retry "^0.12.0" - prompts@^2.0.1: version "2.4.2" - resolved "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz#7b57e73b3a48029ad10ebd44f74b01722a4cb069" + resolved "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz" integrity sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q== dependencies: kleur "^3.0.3" sisteransi "^1.0.5" -promzard@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/promzard/-/promzard-1.0.0.tgz#3246f8e6c9895a77c0549cefb65828ac0f6c006b" - integrity sha512-KQVDEubSUHGSt5xLakaToDFrSoZhStB8dXLzk2xvwR67gJktrHFvpR63oZgHyK19WKbHFLXJqCPXdVR3aBP8Ig== - dependencies: - read "^2.0.0" - -protocols@^2.0.0, protocols@^2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/protocols/-/protocols-2.0.1.tgz#8f155da3fc0f32644e83c5782c8e8212ccf70a86" - integrity sha512-/XJ368cyBJ7fzLMwLKv1e4vLxOju2MNAIokcr7meSaNcVbWz/CPcW22cP04mwxOErdA5mwjA8Q6w/cdAQxVn7Q== - -proxy-from-env@^1.1.0: - version "1.1.0" - resolved "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" - integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== - -punycode.js@^2.3.1: - version "2.3.1" - resolved "https://registry.npmjs.org/punycode.js/-/punycode.js-2.3.1.tgz#6b53e56ad75588234e79f4affa90972c7dd8cdb7" - integrity sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA== - punycode@^2.1.0: version "2.3.1" - resolved "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5" + resolved "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz" integrity sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg== pure-rand@^6.0.0: version "6.1.0" - resolved "https://registry.npmjs.org/pure-rand/-/pure-rand-6.1.0.tgz#d173cf23258231976ccbdb05247c9787957604f2" + resolved "https://registry.npmjs.org/pure-rand/-/pure-rand-6.1.0.tgz" integrity sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA== queue-microtask@^1.2.2: version "1.2.3" - resolved "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" + resolved "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz" integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== -quick-lru@^4.0.1: - version "4.0.1" - resolved "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz#5b8878f113a58217848c6482026c73e1ba57727f" - integrity sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g== - react-is@^18.0.0: version "18.2.0" - resolved "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b" + resolved "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz" integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w== -read-cmd-shim@4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-4.0.0.tgz#640a08b473a49043e394ae0c7a34dd822c73b9bb" - integrity sha512-yILWifhaSEEytfXI76kB9xEEiG1AiozaCJZ83A87ytjRiN+jVibXjedjCRNjoZviinhG+4UkalO3mWTd8u5O0Q== - -read-package-json-fast@^3.0.0: - version "3.0.2" - resolved "https://registry.npmjs.org/read-package-json-fast/-/read-package-json-fast-3.0.2.tgz#394908a9725dc7a5f14e70c8e7556dff1d2b1049" - integrity sha512-0J+Msgym3vrLOUB3hzQCuZHII0xkNGCtz/HJH9xZshwv9DbDwkw1KaE3gx/e2J5rpEY5rtOy6cyhKOPrkP7FZw== - dependencies: - json-parse-even-better-errors "^3.0.0" - npm-normalize-package-bin "^3.0.0" - -read-package-json@6.0.4, read-package-json@^6.0.0: - version "6.0.4" - resolved "https://registry.npmjs.org/read-package-json/-/read-package-json-6.0.4.tgz#90318824ec456c287437ea79595f4c2854708836" - integrity sha512-AEtWXYfopBj2z5N5PbkAOeNHRPUg5q+Nen7QLxV8M2zJq1ym6/lCz3fYNTCXe19puu2d06jfHhrP7v/S2PtMMw== - dependencies: - glob "^10.2.2" - json-parse-even-better-errors "^3.0.0" - normalize-package-data "^5.0.0" - npm-normalize-package-bin "^3.0.0" - -read-pkg-up@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-3.0.0.tgz#3ed496685dba0f8fe118d0691dc51f4a1ff96f07" - integrity sha512-YFzFrVvpC6frF1sz8psoHDBGF7fLPc+llq/8NB43oagqWkx8ar5zYtsTORtOjw9W2RHLpWP+zTWwBvf1bCmcSw== - dependencies: - find-up "^2.0.0" - read-pkg "^3.0.0" - -read-pkg-up@^7.0.1: - version "7.0.1" - resolved "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz#f3a6135758459733ae2b95638056e1854e7ef507" - integrity sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg== - dependencies: - find-up "^4.1.0" - read-pkg "^5.2.0" - type-fest "^0.8.1" - -read-pkg@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz#9cbc686978fee65d16c00e2b19c237fcf6e38389" - integrity sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA== - dependencies: - load-json-file "^4.0.0" - normalize-package-data "^2.3.2" - path-type "^3.0.0" - -read-pkg@^5.2.0: - version "5.2.0" - resolved "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz#7bf295438ca5a33e56cd30e053b34ee7250c93cc" - integrity sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg== - dependencies: - "@types/normalize-package-data" "^2.4.0" - normalize-package-data "^2.5.0" - parse-json "^5.0.0" - type-fest "^0.6.0" - -read@^2.0.0: - version "2.1.0" - resolved "https://registry.npmjs.org/read/-/read-2.1.0.tgz#69409372c54fe3381092bc363a00650b6ac37218" - integrity sha512-bvxi1QLJHcaywCAEsAk4DG3nVoqiY2Csps3qzWalhj5hFqRn1d/OixkFXtLO1PrgHUcAP0FNaSY/5GYNfENFFQ== - dependencies: - mute-stream "~1.0.0" - -readable-stream@^3.0.0, readable-stream@^3.0.2, readable-stream@^3.1.1, readable-stream@^3.4.0, readable-stream@^3.6.0: - version "3.6.2" - resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967" - integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA== - dependencies: - inherits "^2.0.3" - string_decoder "^1.1.1" - util-deprecate "^1.0.1" - -readable-stream@~2.3.6: - version "2.3.8" - resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz#91125e8042bba1b9887f49345f6277027ce8be9b" - integrity sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA== - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.3" - isarray "~1.0.0" - process-nextick-args "~2.0.0" - safe-buffer "~5.1.1" - string_decoder "~1.1.1" - util-deprecate "~1.0.1" - recast@0.23.6: version "0.23.6" - resolved "https://registry.npmjs.org/recast/-/recast-0.23.6.tgz#198fba74f66143a30acc81929302d214ce4e3bfa" + resolved "https://registry.npmjs.org/recast/-/recast-0.23.6.tgz" integrity sha512-9FHoNjX1yjuesMwuthAmPKabxYQdOgihFYmT5ebXfYGBcnqXZf3WOVz+5foEZ8Y83P4ZY6yQD5GMmtV+pgCCAQ== dependencies: ast-types "^0.16.1" @@ -5335,241 +2706,122 @@ recast@0.23.6: tiny-invariant "^1.3.3" tslib "^2.0.1" -redent@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz#e557b7998316bb53c9f1f56fa626352c6963059f" - integrity sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg== - dependencies: - indent-string "^4.0.0" - strip-indent "^3.0.0" - require-directory@^2.1.1: version "2.1.1" - resolved "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" + resolved "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz" integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q== -requizzle@^0.2.3: - version "0.2.4" - resolved "https://registry.npmjs.org/requizzle/-/requizzle-0.2.4.tgz#319eb658b28c370f0c20f968fa8ceab98c13d27c" - integrity sha512-JRrFk1D4OQ4SqovXOgdav+K8EAhSB/LJZqCz8tbX0KObcdeM15Ss59ozWMBWmmINMagCwmqn4ZNryUGpBsl6Jw== - dependencies: - lodash "^4.17.21" - resolve-cwd@^3.0.0: version "3.0.0" - resolved "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d" + resolved "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz" integrity sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg== dependencies: resolve-from "^5.0.0" -resolve-from@5.0.0, resolve-from@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" - integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== - resolve-from@^4.0.0: version "4.0.0" - resolved "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" + resolved "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz" integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== +resolve-from@^5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz" + integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== + resolve.exports@^2.0.0: version "2.0.2" - resolved "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.2.tgz#f8c934b8e6a13f539e38b7098e2e36134f01e800" + resolved "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.2.tgz" integrity sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg== -resolve@^1.10.0, resolve@^1.20.0: +resolve@^1.20.0: version "1.22.8" - resolved "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz#b6c87a9f2aa06dfab52e3d70ac8cde321fa5a48d" + resolved "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz" integrity sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw== dependencies: is-core-module "^2.13.0" path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" -restore-cursor@^3.1.0: - version "3.1.0" - resolved "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" - integrity sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA== - dependencies: - onetime "^5.1.0" - signal-exit "^3.0.2" - -retry@^0.12.0: - version "0.12.0" - resolved "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" - integrity sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow== - reusify@^1.0.4: version "1.0.4" - resolved "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" + resolved "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz" integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== -rimraf@5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/rimraf/-/rimraf-5.0.0.tgz#5bda14e410d7e4dd522154891395802ce032c2cb" - integrity sha512-Jf9llaP+RvaEVS5nPShYFhtXIrb3LRKP281ib3So0KkeZKo2wIKyq0Re7TOSwanasA423PSr6CCIL4bP6T040g== - dependencies: - glob "^10.0.0" - rimraf@^3.0.2: version "3.0.2" - resolved "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" + resolved "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz" integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== dependencies: glob "^7.1.3" -rimraf@^4.4.1: - version "4.4.1" - resolved "https://registry.npmjs.org/rimraf/-/rimraf-4.4.1.tgz#bd33364f67021c5b79e93d7f4fa0568c7c21b755" - integrity sha512-Gk8NlF062+T9CqNGn6h4tls3k6T1+/nXdOcSZVikNVtlRdYpA7wRJJMoXmuvOnLW844rPjdQ7JgXCYM6PPC/og== +rimraf@5.0.0: + version "5.0.0" + resolved "https://registry.npmjs.org/rimraf/-/rimraf-5.0.0.tgz" + integrity sha512-Jf9llaP+RvaEVS5nPShYFhtXIrb3LRKP281ib3So0KkeZKo2wIKyq0Re7TOSwanasA423PSr6CCIL4bP6T040g== dependencies: - glob "^9.2.0" - -run-async@^2.4.0: - version "2.4.1" - resolved "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455" - integrity sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ== + glob "^10.0.0" run-parallel@^1.1.9: version "1.2.0" - resolved "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee" + resolved "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz" integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA== dependencies: queue-microtask "^1.2.2" -rxjs@^7.5.5: - version "7.8.1" - resolved "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz#6f6f3d99ea8044291efd92e7c7fcf562c4057543" - integrity sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg== - dependencies: - tslib "^2.1.0" - -safe-buffer@~5.1.0, safe-buffer@~5.1.1: - version "5.1.2" - resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" - integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== - -safe-buffer@~5.2.0: - version "5.2.1" - resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" - integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== - -"safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0": - version "2.1.2" - resolved "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" - integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== - -"semver@2 || 3 || 4 || 5", semver@^5.6.0: - version "5.7.2" - resolved "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8" - integrity sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g== - -semver@7.5.3: - version "7.5.3" - resolved "https://registry.npmjs.org/semver/-/semver-7.5.3.tgz#161ce8c2c6b4b3bdca6caadc9fa3317a4c4fe88e" - integrity sha512-QBlUtyVk/5EeHbi7X0fw6liDZc7BBmEaSYn01fMU1OUYbf6GPsbTtd8WmnqbI20SeycoHSeiybkE/q1Q+qlThQ== - dependencies: - lru-cache "^6.0.0" - -semver@^6.0.0, semver@^6.3.0, semver@^6.3.1: +semver@^6.3.0, semver@^6.3.1: version "6.3.1" - resolved "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" + resolved "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz" integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== -semver@^7.0.0, semver@^7.1.1, semver@^7.1.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@^7.3.8, semver@^7.5.3, semver@^7.5.4: +semver@^7.5.3: version "7.6.0" - resolved "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz#1a46a4db4bffcccd97b743b5005c8325f23d4e2d" + resolved "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz" integrity sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg== dependencies: lru-cache "^6.0.0" -set-blocking@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" - integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== - -shallow-clone@^3.0.0: - version "3.0.1" - resolved "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz#8f2981ad92531f55035b01fb230769a40e02efa3" - integrity sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA== +semver@^7.5.4: + version "7.6.0" + resolved "https://registry.npmjs.org/semver/-/semver-7.6.0.tgz" + integrity sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg== dependencies: - kind-of "^6.0.2" + lru-cache "^6.0.0" shebang-command@^2.0.0: version "2.0.0" - resolved "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" + resolved "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz" integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== dependencies: shebang-regex "^3.0.0" shebang-regex@^3.0.0: version "3.0.0" - resolved "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" + resolved "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz" integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== -signal-exit@3.0.7, signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7: +signal-exit@^3.0.3, signal-exit@^3.0.7: version "3.0.7" - resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" + resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz" integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== signal-exit@^4.0.1: version "4.1.0" - resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04" + resolved "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz" integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw== -sigstore@^1.3.0, sigstore@^1.4.0: - version "1.9.0" - resolved "https://registry.npmjs.org/sigstore/-/sigstore-1.9.0.tgz#1e7ad8933aa99b75c6898ddd0eeebc3eb0d59875" - integrity sha512-0Zjz0oe37d08VeOtBIuB6cRriqXse2e8w+7yIy2XSXjshRKxbc2KkhXjL229jXSxEm7UbcjS76wcJDGQddVI9A== - dependencies: - "@sigstore/bundle" "^1.1.0" - "@sigstore/protobuf-specs" "^0.2.0" - "@sigstore/sign" "^1.0.0" - "@sigstore/tuf" "^1.0.3" - make-fetch-happen "^11.0.1" - sisteransi@^1.0.5: version "1.0.5" - resolved "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" + resolved "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz" integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg== -slash@3.0.0, slash@^3.0.0: +slash@^3.0.0: version "3.0.0" - resolved "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" + resolved "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz" integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== -smart-buffer@^4.2.0: - version "4.2.0" - resolved "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz#6e1d71fa4f18c05f7d0ff216dd16a481d0e8d9ae" - integrity sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg== - -socks-proxy-agent@^7.0.0: - version "7.0.0" - resolved "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-7.0.0.tgz#dc069ecf34436621acb41e3efa66ca1b5fed15b6" - integrity sha512-Fgl0YPZ902wEsAyiQ+idGd1A7rSFx/ayC1CQVMw5P+EQx2V0SgpGtf6OKFhVjPflPUl9YMmEOnmfjCdMUsygww== - dependencies: - agent-base "^6.0.2" - debug "^4.3.3" - socks "^2.6.2" - -socks@^2.6.2: - version "2.8.1" - resolved "https://registry.npmjs.org/socks/-/socks-2.8.1.tgz#22c7d9dd7882649043cba0eafb49ae144e3457af" - integrity sha512-B6w7tkwNid7ToxjZ08rQMT8M9BJAf8DKx8Ft4NivzH0zBUfd6jldGcisJn/RLgxcX3FPNDdNQCUEMMT79b+oCQ== - dependencies: - ip-address "^9.0.5" - smart-buffer "^4.2.0" - -sort-keys@^2.0.0: - version "2.0.0" - resolved "https://registry.npmjs.org/sort-keys/-/sort-keys-2.0.0.tgz#658535584861ec97d730d6cf41822e1f56684128" - integrity sha512-/dPCrG1s3ePpWm6yBbxZq5Be1dXGLyLn9Z791chDC3NFrpkVbWGzkBwPN1knaciexFXgRJ7hzdnwZ4stHSDmjg== - dependencies: - is-plain-obj "^1.0.0" - source-map-support@0.5.13: version "0.5.13" - resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz#31b24a9c2e73c2de85066c0feb7d44767ed52932" + resolved "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz" integrity sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w== dependencies: buffer-from "^1.0.0" @@ -5577,91 +2829,48 @@ source-map-support@0.5.13: source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1: version "0.6.1" - resolved "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" + resolved "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz" integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== -spdx-correct@^3.0.0: - version "3.2.0" - resolved "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz#4f5ab0668f0059e34f9c00dce331784a12de4e9c" - integrity sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA== - dependencies: - spdx-expression-parse "^3.0.0" - spdx-license-ids "^3.0.0" - -spdx-exceptions@^2.1.0: - version "2.5.0" - resolved "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.5.0.tgz#5d607d27fc806f66d7b64a766650fa890f04ed66" - integrity sha512-PiU42r+xO4UbUS1buo3LPJkjlO7430Xn5SVAhdpzzsPHsjbYVflnnFdATgabnLude+Cqu25p6N+g2lw/PFsa4w== - -spdx-expression-parse@^3.0.0: - version "3.0.1" - resolved "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz#cf70f50482eefdc98e3ce0a6833e4a53ceeba679" - integrity sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q== - dependencies: - spdx-exceptions "^2.1.0" - spdx-license-ids "^3.0.0" - -spdx-license-ids@^3.0.0: - version "3.0.17" - resolved "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.17.tgz#887da8aa73218e51a1d917502d79863161a93f9c" - integrity sha512-sh8PWc/ftMqAAdFiBu6Fy6JUOYjqDJBJvIhpfDMyHrr0Rbp5liZqd4TjtQ/RgfLjKFZb+LMx5hpml5qOWy0qvg== - -split2@^3.2.2: - version "3.2.2" - resolved "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz#bf2cf2a37d838312c249c89206fd7a17dd12365f" - integrity sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg== - dependencies: - readable-stream "^3.0.0" - -split@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/split/-/split-1.0.1.tgz#605bd9be303aa59fb35f9229fbea0ddec9ea07d9" - integrity sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg== - dependencies: - through "2" - -sprintf-js@^1.1.3: - version "1.1.3" - resolved "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz#4914b903a2f8b685d17fdf78a70e917e872e444a" - integrity sha512-Oo+0REFV59/rz3gfJNKQiBlwfHaSESl1pcGyABQsnnIfWOFt6JNj5gCog2U6MLZ//IGYD+nA8nI+mTShREReaA== - sprintf-js@~1.0.2: version "1.0.3" - resolved "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" + resolved "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz" integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g== -ssri@^10.0.0, ssri@^10.0.1: - version "10.0.5" - resolved "https://registry.npmjs.org/ssri/-/ssri-10.0.5.tgz#e49efcd6e36385196cb515d3a2ad6c3f0265ef8c" - integrity sha512-bSf16tAFkGeRlUNDjXu8FzaMQt6g2HZJrun7mtMbIPOddxt3GLMSz5VWUWcqTJUPfLEaDIepGxv+bYQW49596A== - dependencies: - minipass "^7.0.3" - -ssri@^9.0.0, ssri@^9.0.1: - version "9.0.1" - resolved "https://registry.npmjs.org/ssri/-/ssri-9.0.1.tgz#544d4c357a8d7b71a19700074b6883fcb4eae057" - integrity sha512-o57Wcn66jMQvfHG1FlYbWeZWW/dHZhJXjpIcTfXldXEk5nz5lStPo3mK0OJQfGR3RbZUlbISexbljkJzuEj/8Q== - dependencies: - minipass "^3.1.1" - stack-utils@^2.0.3: version "2.0.6" - resolved "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz#aaf0748169c02fc33c8232abccf933f54a1cc34f" + resolved "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz" integrity sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ== dependencies: escape-string-regexp "^2.0.0" +strfy-js@^3.0.1: + version "3.0.1" + resolved "https://registry.npmjs.org/strfy-js/-/strfy-js-3.0.1.tgz" + integrity sha512-GVN7Kz2mZ8ZSXyo5neALGObmah+JVw/nr8zNapzNtrObO+tcW0wOmlOBfRdux+XfIaA/87qe5MWXtscE7VeY+g== + dependencies: + minimatch "^9.0.4" + string-length@^4.0.1: version "4.0.2" - resolved "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz#a8a8dc7bd5c1a82b9b3c8b87e125f66871b6e57a" + resolved "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz" integrity sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ== dependencies: char-regex "^1.0.2" strip-ansi "^6.0.0" -"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0": + version "4.2.3" + resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" - resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== dependencies: emoji-regex "^8.0.0" @@ -5670,222 +2879,114 @@ string-length@^4.0.1: string-width@^5.0.1, string-width@^5.1.2: version "5.1.2" - resolved "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" + resolved "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz" integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA== dependencies: eastasianwidth "^0.2.0" emoji-regex "^9.2.2" strip-ansi "^7.0.1" -string_decoder@^1.1.1: - version "1.3.0" - resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" - integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== - dependencies: - safe-buffer "~5.2.0" - -string_decoder@~1.1.1: - version "1.1.1" - resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" - integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": + version "6.0.1" + resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== dependencies: - safe-buffer "~5.1.0" + ansi-regex "^5.0.1" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: +strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" - resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== dependencies: ansi-regex "^5.0.1" strip-ansi@^7.0.1: version "7.1.0" - resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" + resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz" integrity sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ== dependencies: ansi-regex "^6.0.1" -strip-bom@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" - integrity sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA== - strip-bom@^4.0.0: version "4.0.0" - resolved "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz#9c3505c1db45bcedca3d9cf7a16f5c5aa3901878" + resolved "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz" integrity sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w== strip-final-newline@^2.0.0: version "2.0.0" - resolved "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" + resolved "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz" integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== -strip-indent@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz#c32e1cee940b6b3432c771bc2c54bcce73cd3001" - integrity sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ== - dependencies: - min-indent "^1.0.0" - strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: version "3.1.1" - resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" + resolved "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz" integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== -strong-log-transformer@2.1.0, strong-log-transformer@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/strong-log-transformer/-/strong-log-transformer-2.1.0.tgz#0f5ed78d325e0421ac6f90f7f10e691d6ae3ae10" - integrity sha512-B3Hgul+z0L9a236FAUC9iZsL+nVHgoCJnqCbN588DjYxvGXaXaaFbfmQ/JhvKjZwsOukuR72XbHv71Qkug0HxA== - dependencies: - duplexer "^0.1.1" - minimist "^1.2.0" - through "^2.3.4" - supports-color@^5.3.0: version "5.5.0" - resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz" integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== dependencies: has-flag "^3.0.0" supports-color@^7.1.0: version "7.2.0" - resolved "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz" integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== dependencies: has-flag "^4.0.0" supports-color@^8.0.0: version "8.1.1" - resolved "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" + resolved "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz" integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== dependencies: has-flag "^4.0.0" supports-preserve-symlinks-flag@^1.0.0: version "1.0.0" - resolved "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" + resolved "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz" integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== -tar-stream@~2.2.0: - version "2.2.0" - resolved "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz#acad84c284136b060dc3faa64474aa9aebd77287" - integrity sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ== - dependencies: - bl "^4.0.3" - end-of-stream "^1.4.1" - fs-constants "^1.0.0" - inherits "^2.0.3" - readable-stream "^3.1.1" - -tar@6.1.11: - version "6.1.11" - resolved "https://registry.npmjs.org/tar/-/tar-6.1.11.tgz#6760a38f003afa1b2ffd0ffe9e9abbd0eab3d621" - integrity sha512-an/KZQzQUkZCkuoAA64hM92X0Urb6VpRhAFllDzz44U2mcD5scmT3zBc4VgVpkugF580+DQn8eAFSyoQt0tznA== - dependencies: - chownr "^2.0.0" - fs-minipass "^2.0.0" - minipass "^3.0.0" - minizlib "^2.1.1" - mkdirp "^1.0.3" - yallist "^4.0.0" - -tar@^6.1.11, tar@^6.1.2: - version "6.2.0" - resolved "https://registry.npmjs.org/tar/-/tar-6.2.0.tgz#b14ce49a79cb1cd23bc9b016302dea5474493f73" - integrity sha512-/Wo7DcT0u5HUV486xg675HtjNd3BXZ6xDbzsCUZPt5iw8bTQ63bP0Raut3mvro9u+CUyq7YQd8Cx55fsZXxqLQ== - dependencies: - chownr "^2.0.0" - fs-minipass "^2.0.0" - minipass "^5.0.0" - minizlib "^2.1.1" - mkdirp "^1.0.3" - yallist "^4.0.0" - -temp-dir@1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/temp-dir/-/temp-dir-1.0.0.tgz#0a7c0ea26d3a39afa7e0ebea9c1fc0bc4daa011d" - integrity sha512-xZFXEGbG7SNC3itwBzI3RYjq/cEhBkx2hJuKGIUOcEULmkQExXiHat2z/qkISYsuR+IKumhEfKKbV5qXmhICFQ== - test-exclude@^6.0.0: version "6.0.0" - resolved "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz#04a8698661d805ea6fa293b6cb9e63ac044ef15e" + resolved "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz" integrity sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w== dependencies: "@istanbuljs/schema" "^0.1.2" glob "^7.1.4" minimatch "^3.0.4" -text-extensions@^1.0.0: - version "1.9.0" - resolved "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz#1853e45fee39c945ce6f6c36b2d659b5aabc2a26" - integrity sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ== - text-table@^0.2.0: version "0.2.0" - resolved "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" + resolved "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz" integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw== -through2@^2.0.0: - version "2.0.5" - resolved "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd" - integrity sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ== - dependencies: - readable-stream "~2.3.6" - xtend "~4.0.1" - -through@2, "through@>=2.2.7 <3", through@^2.3.4, through@^2.3.6: - version "2.3.8" - resolved "https://registry.npmjs.org/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" - integrity sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg== - tiny-invariant@^1.3.3: version "1.3.3" - resolved "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.3.tgz#46680b7a873a0d5d10005995eb90a70d74d60127" + resolved "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.3.3.tgz" integrity sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg== -tmp@^0.0.33: - version "0.0.33" - resolved "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" - integrity sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw== - dependencies: - os-tmpdir "~1.0.2" - -tmp@^0.2.1, tmp@~0.2.1: - version "0.2.3" - resolved "https://registry.npmjs.org/tmp/-/tmp-0.2.3.tgz#eb783cc22bc1e8bebd0671476d46ea4eb32a79ae" - integrity sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w== - tmpl@1.0.5: version "1.0.5" - resolved "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc" + resolved "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz" integrity sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw== to-fast-properties@^2.0.0: version "2.0.0" - resolved "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" + resolved "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz" integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== to-regex-range@^5.0.1: version "5.0.1" - resolved "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" + resolved "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz" integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== dependencies: is-number "^7.0.0" -tr46@~0.0.3: - version "0.0.3" - resolved "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" - integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== - -trim-newlines@^3.0.0: - version "3.0.1" - resolved "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz#260a5d962d8b752425b32f3a7db0dcacd176c144" - integrity sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw== - ts-jest@^29.1.0: version "29.1.2" - resolved "https://registry.npmjs.org/ts-jest/-/ts-jest-29.1.2.tgz#7613d8c81c43c8cb312c6904027257e814c40e09" + resolved "https://registry.npmjs.org/ts-jest/-/ts-jest-29.1.2.tgz" integrity sha512-br6GJoH/WUX4pu7FbZXuWGKGNDuU7b8Uj77g/Sp7puZV6EXzuByl6JrECvm0MzVzSTkSHWTihsXt+5XYER5b+g== dependencies: bs-logger "0.x" @@ -5897,9 +2998,9 @@ ts-jest@^29.1.0: semver "^7.5.3" yargs-parser "^21.0.1" -ts-node@10.9.2: +ts-node@>=9.0.0, ts-node@10.9.2: version "10.9.2" - resolved "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz#70f021c9e185bccdca820e26dc413805c101c71f" + resolved "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz" integrity sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ== dependencies: "@cspotcode/source-map-support" "^0.8.0" @@ -5916,154 +3017,46 @@ ts-node@10.9.2: v8-compile-cache-lib "^3.0.1" yn "3.1.1" -tsconfig-paths@^4.1.2: - version "4.2.0" - resolved "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.2.0.tgz#ef78e19039133446d244beac0fd6a1632e2d107c" - integrity sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg== - dependencies: - json5 "^2.2.2" - minimist "^1.2.6" - strip-bom "^3.0.0" - -tslib@^2.0.1, tslib@^2.1.0, tslib@^2.3.0, tslib@^2.4.0: +tslib@^2.0.1: version "2.6.2" - resolved "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" + resolved "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz" integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== -tuf-js@^1.1.7: - version "1.1.7" - resolved "https://registry.npmjs.org/tuf-js/-/tuf-js-1.1.7.tgz#21b7ae92a9373015be77dfe0cb282a80ec3bbe43" - integrity sha512-i3P9Kgw3ytjELUfpuKVDNBJvk4u5bXL6gskv572mcevPbSKCV3zt3djhmlEQ65yERjIbOSncy7U4cQJaB1CBCg== - dependencies: - "@tufjs/models" "1.0.4" - debug "^4.3.4" - make-fetch-happen "^11.1.1" - type-check@^0.4.0, type-check@~0.4.0: version "0.4.0" - resolved "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1" + resolved "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz" integrity sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew== dependencies: prelude-ls "^1.2.1" -type-check@~0.3.2: - version "0.3.2" - resolved "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72" - integrity sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg== - dependencies: - prelude-ls "~1.1.2" - type-detect@4.0.8: version "4.0.8" - resolved "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" + resolved "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz" integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== -type-fest@^0.18.0: - version "0.18.1" - resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.18.1.tgz#db4bc151a4a2cf4eebf9add5db75508db6cc841f" - integrity sha512-OIAYXk8+ISY+qTOwkHtKqzAuxchoMiD9Udx+FSGQDuiRR+PJKJHc2NJAXlbhkGwTt/4/nKZxELY1w3ReWOL8mw== - type-fest@^0.20.2: version "0.20.2" - resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4" + resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz" integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ== type-fest@^0.21.3: version "0.21.3" - resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" + resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz" integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== -type-fest@^0.4.1: - version "0.4.1" - resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.4.1.tgz#8bdf77743385d8a4f13ba95f610f5ccd68c728f8" - integrity sha512-IwzA/LSfD2vC1/YDYMv/zHP4rDF1usCwllsDpbolT3D4fUepIO7f9K70jjmUewU/LmGUKJcwcVtDCpnKk4BPMw== - -type-fest@^0.6.0: - version "0.6.0" - resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz#8d2a2370d3df886eb5c90ada1c5bf6188acf838b" - integrity sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg== - -type-fest@^0.8.1: - version "0.8.1" - resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" - integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA== - -typedarray@^0.0.6: - version "0.0.6" - resolved "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" - integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== - -"typescript@>=3 < 6", typescript@^5.0.4: +typescript@^5.0.4, typescript@>=2.7, "typescript@>=4.3 <6": version "5.4.3" - resolved "https://registry.npmjs.org/typescript/-/typescript-5.4.3.tgz#5c6fedd4c87bee01cd7a528a30145521f8e0feff" + resolved "https://registry.npmjs.org/typescript/-/typescript-5.4.3.tgz" integrity sha512-KrPd3PKaCLr78MalgiwJnA25Nm8HAmdwN3mYUYZgG/wizIo9EainNVQI9/yDavtVFRN2h3k8uf3GLHuhDMgEHg== -uc.micro@^2.0.0, uc.micro@^2.1.0: - version "2.1.0" - resolved "https://registry.npmjs.org/uc.micro/-/uc.micro-2.1.0.tgz#f8d3f7d0ec4c3dea35a7e3c8efa4cb8b45c9e7ee" - integrity sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A== - -uglify-js@^3.1.4, uglify-js@^3.7.7: - version "3.17.4" - resolved "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz#61678cf5fa3f5b7eb789bb345df29afb8257c22c" - integrity sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g== - -underscore@~1.13.2: - version "1.13.6" - resolved "https://registry.npmjs.org/underscore/-/underscore-1.13.6.tgz#04786a1f589dc6c09f761fc5f45b89e935136441" - integrity sha512-+A5Sja4HP1M08MaXya7p5LvjuM7K6q/2EaC0+iovj/wOcMsTzMvDFbasi/oSapiwOlt252IqsKqPjCl7huKS0A== - undici-types@~5.26.4: version "5.26.5" - resolved "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" + resolved "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz" integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== -unique-filename@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/unique-filename/-/unique-filename-2.0.1.tgz#e785f8675a9a7589e0ac77e0b5c34d2eaeac6da2" - integrity sha512-ODWHtkkdx3IAR+veKxFV+VBkUMcN+FaqzUUd7IZzt+0zhDZFPFxhlqwPF3YQvMHx1TD0tdgYl+kuPnJ8E6ql7A== - dependencies: - unique-slug "^3.0.0" - -unique-filename@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/unique-filename/-/unique-filename-3.0.0.tgz#48ba7a5a16849f5080d26c760c86cf5cf05770ea" - integrity sha512-afXhuC55wkAmZ0P18QsVE6kp8JaxrEokN2HGIoIVv2ijHQd419H0+6EigAFcIzXeMIkcIkNBpB3L/DXB3cTS/g== - dependencies: - unique-slug "^4.0.0" - -unique-slug@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/unique-slug/-/unique-slug-3.0.0.tgz#6d347cf57c8a7a7a6044aabd0e2d74e4d76dc7c9" - integrity sha512-8EyMynh679x/0gqE9fT9oilG+qEt+ibFyqjuVTsZn1+CMxH+XLlpvr2UZx4nVcCwTpx81nICr2JQFkM+HPLq4w== - dependencies: - imurmurhash "^0.1.4" - -unique-slug@^4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/unique-slug/-/unique-slug-4.0.0.tgz#6bae6bb16be91351badd24cdce741f892a6532e3" - integrity sha512-WrcA6AyEfqDX5bWige/4NQfPZMtASNVxdmWR76WESYQVAACSgWcR6e9i0mofqqBxYFtL4oAxPIptY73/0YE1DQ== - dependencies: - imurmurhash "^0.1.4" - -universal-user-agent@^6.0.0: - version "6.0.1" - resolved "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.1.tgz#15f20f55da3c930c57bddbf1734c6654d5fd35aa" - integrity sha512-yCzhz6FN2wU1NiiQRogkTQszlQSlpWaw8SvVegAc+bDxbzHgh1vX8uIe8OYyMH6DwH+sdTJsgMl36+mSMdRJIQ== - -universalify@^2.0.0: - version "2.0.1" - resolved "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz#168efc2180964e6386d061e094df61afe239b18d" - integrity sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw== - -upath@2.0.1: - version "2.0.1" - resolved "https://registry.npmjs.org/upath/-/upath-2.0.1.tgz#50c73dea68d6f6b990f51d279ce6081665d61a8b" - integrity sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w== - update-browserslist-db@^1.0.13: version "1.0.13" - resolved "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz#3c5e4f5c083661bd38ef64b6328c26ed6c8248c4" + resolved "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz" integrity sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg== dependencies: escalade "^3.1.1" @@ -6071,133 +3064,52 @@ update-browserslist-db@^1.0.13: uri-js@^4.2.2: version "4.4.1" - resolved "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" + resolved "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz" integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== dependencies: punycode "^2.1.0" -util-deprecate@^1.0.1, util-deprecate@~1.0.1: - version "1.0.2" - resolved "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" - integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== - -uuid@^9.0.0: - version "9.0.1" - resolved "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz#e188d4c8853cc722220392c424cd637f32293f30" - integrity sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA== - v8-compile-cache-lib@^3.0.1: version "3.0.1" - resolved "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf" + resolved "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz" integrity sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg== -v8-compile-cache@2.3.0: - version "2.3.0" - resolved "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee" - integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA== - v8-to-istanbul@^9.0.1: version "9.2.0" - resolved "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.2.0.tgz#2ed7644a245cddd83d4e087b9b33b3e62dfd10ad" + resolved "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.2.0.tgz" integrity sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA== dependencies: "@jridgewell/trace-mapping" "^0.3.12" "@types/istanbul-lib-coverage" "^2.0.1" convert-source-map "^2.0.0" -validate-npm-package-license@3.0.4, validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.4: - version "3.0.4" - resolved "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" - integrity sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew== - dependencies: - spdx-correct "^3.0.0" - spdx-expression-parse "^3.0.0" - -validate-npm-package-name@5.0.0, validate-npm-package-name@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-5.0.0.tgz#f16afd48318e6f90a1ec101377fa0384cfc8c713" - integrity sha512-YuKoXDAhBYxY7SfOKxHBDoSyENFeW5VvIIQp2TGQuit8gpK6MnWaQelBKxso72DoxTZfZdcP3W90LqpSkgPzLQ== - dependencies: - builtins "^5.0.0" - -validate-npm-package-name@^3.0.0: - version "3.0.0" - resolved "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz#5fa912d81eb7d0c74afc140de7317f0ca7df437e" - integrity sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw== - dependencies: - builtins "^1.0.3" - walker@^1.0.8: version "1.0.8" - resolved "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz#bd498db477afe573dc04185f011d3ab8a8d7653f" + resolved "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz" integrity sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ== dependencies: makeerror "1.0.12" -wcwidth@^1.0.0, wcwidth@^1.0.1: - version "1.0.1" - resolved "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8" - integrity sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg== - dependencies: - defaults "^1.0.3" - -webidl-conversions@^3.0.0: - version "3.0.1" - resolved "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" - integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== - -whatwg-url@^5.0.0: - version "5.0.0" - resolved "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d" - integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw== - dependencies: - tr46 "~0.0.3" - webidl-conversions "^3.0.0" - -which@^2.0.1, which@^2.0.2: +which@^2.0.1: version "2.0.2" - resolved "https://registry.npmjs.org/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" + resolved "https://registry.npmjs.org/which/-/which-2.0.2.tgz" integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== dependencies: isexe "^2.0.0" -which@^3.0.0: - version "3.0.1" - resolved "https://registry.npmjs.org/which/-/which-3.0.1.tgz#89f1cd0c23f629a8105ffe69b8172791c87b4be1" - integrity sha512-XA1b62dzQzLfaEOSQFTCOd5KFf/1VSzZo7/7TUjnya6u0vGGKzU96UQBZTAThCb2j4/xjBAyii1OhRLJEivHvg== - dependencies: - isexe "^2.0.0" - -wide-align@^1.1.5: - version "1.1.5" - resolved "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz#df1d4c206854369ecf3c9a4898f1b23fbd9d15d3" - integrity sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg== - dependencies: - string-width "^1.0.2 || 2 || 3 || 4" - -word-wrap@~1.2.3: - version "1.2.5" - resolved "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz#d2c45c6dd4fbce621a66f136cbe328afd0410b34" - integrity sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA== - -wordwrap@^1.0.0: - version "1.0.0" - resolved "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" - integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q== - -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": version "7.0.0" - resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== dependencies: ansi-styles "^4.0.0" string-width "^4.1.0" strip-ansi "^6.0.0" -wrap-ansi@^6.0.1: - version "6.2.0" - resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" - integrity sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA== +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== dependencies: ansi-styles "^4.0.0" string-width "^4.1.0" @@ -6205,7 +3117,7 @@ wrap-ansi@^6.0.1: wrap-ansi@^8.1.0: version "8.1.0" - resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" + resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz" integrity sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ== dependencies: ansi-styles "^6.1.0" @@ -6214,111 +3126,45 @@ wrap-ansi@^8.1.0: wrappy@1: version "1.0.2" - resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" + resolved "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz" integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== -write-file-atomic@5.0.1: - version "5.0.1" - resolved "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz#68df4717c55c6fa4281a7860b4c2ba0a6d2b11e7" - integrity sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw== - dependencies: - imurmurhash "^0.1.4" - signal-exit "^4.0.1" - -write-file-atomic@^2.4.2: - version "2.4.3" - resolved "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.3.tgz#1fd2e9ae1df3e75b8d8c367443c692d4ca81f481" - integrity sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ== - dependencies: - graceful-fs "^4.1.11" - imurmurhash "^0.1.4" - signal-exit "^3.0.2" - write-file-atomic@^4.0.2: version "4.0.2" - resolved "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz#a9df01ae5b77858a027fd2e80768ee433555fcfd" + resolved "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz" integrity sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg== dependencies: imurmurhash "^0.1.4" signal-exit "^3.0.7" -write-json-file@^3.2.0: - version "3.2.0" - resolved "https://registry.npmjs.org/write-json-file/-/write-json-file-3.2.0.tgz#65bbdc9ecd8a1458e15952770ccbadfcff5fe62a" - integrity sha512-3xZqT7Byc2uORAatYiP3DHUUAVEkNOswEWNs9H5KXiicRTvzYzYqKjYc4G7p+8pltvAw641lVByKVtMpf+4sYQ== - dependencies: - detect-indent "^5.0.0" - graceful-fs "^4.1.15" - make-dir "^2.1.0" - pify "^4.0.1" - sort-keys "^2.0.0" - write-file-atomic "^2.4.2" - -write-pkg@4.0.0: - version "4.0.0" - resolved "https://registry.npmjs.org/write-pkg/-/write-pkg-4.0.0.tgz#675cc04ef6c11faacbbc7771b24c0abbf2a20039" - integrity sha512-v2UQ+50TNf2rNHJ8NyWttfm/EJUBWMJcx6ZTYZr6Qp52uuegWw/lBkCtCbnYZEmPRNL61m+u67dAmGxo+HTULA== - dependencies: - sort-keys "^2.0.0" - type-fest "^0.4.1" - write-json-file "^3.2.0" - -xmlcreate@^2.0.4: - version "2.0.4" - resolved "https://registry.npmjs.org/xmlcreate/-/xmlcreate-2.0.4.tgz#0c5ab0f99cdd02a81065fa9cd8f8ae87624889be" - integrity sha512-nquOebG4sngPmGPICTS5EnxqhKbCmz5Ox5hsszI2T6U5qdrJizBc+0ilYSEjTSzU0yZcmvppztXe/5Al5fUwdg== - -xtend@~4.0.1: - version "4.0.2" - resolved "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" - integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== - y18n@^5.0.5: version "5.0.8" - resolved "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" + resolved "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz" integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== yallist@^3.0.2: version "3.1.1" - resolved "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" + resolved "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz" integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== yallist@^4.0.0: version "4.0.0" - resolved "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" + resolved "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== -yargs-parser@20.2.4: - version "20.2.4" - resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz#b42890f14566796f85ae8e3a25290d205f154a54" - integrity sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA== - -yargs-parser@21.1.1, yargs-parser@^21.0.1, yargs-parser@^21.1.1: +yargs-parser@^21.0.1: version "21.1.1" - resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" + resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz" integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== -yargs-parser@^20.2.2, yargs-parser@^20.2.3: - version "20.2.9" - resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" - integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== - -yargs@16.2.0, yargs@^16.2.0: - version "16.2.0" - resolved "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" - integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== - dependencies: - cliui "^7.0.2" - escalade "^3.1.1" - get-caller-file "^2.0.5" - require-directory "^2.1.1" - string-width "^4.2.0" - y18n "^5.0.5" - yargs-parser "^20.2.2" +yargs-parser@^21.1.1: + version "21.1.1" + resolved "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz" + integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== -yargs@^17.3.1, yargs@^17.6.2: +yargs@^17.3.1: version "17.7.2" - resolved "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269" + resolved "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz" integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w== dependencies: cliui "^8.0.1" @@ -6331,10 +3177,10 @@ yargs@^17.3.1, yargs@^17.6.2: yn@3.1.1: version "3.1.1" - resolved "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50" + resolved "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz" integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q== yocto-queue@^0.1.0: version "0.1.0" - resolved "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" + resolved "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz" integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==