/** * Custom mutation operations * @generated by @constructive-io/graphql-codegen * DO NOT EDIT - changes will be overwritten */ import { OrmClient } from '../client'; import { QueryBuilder } from '../query-builder'; import type { InferSelectResult, StrictSelect } from '../select-types'; import type { InitEmptyRepoInput, InsertNodeAtPathInput, ProvisionBucketInput, SetDataAtPathInput, InitEmptyRepoPayload, InsertNodeAtPathPayload, ProvisionBucketPayload, SetDataAtPathPayload, InitEmptyRepoPayloadSelect, InsertNodeAtPathPayloadSelect, ProvisionBucketPayloadSelect, SetDataAtPathPayloadSelect } from '../input-types'; export interface InitEmptyRepoVariables { input: InitEmptyRepoInput; } export interface InsertNodeAtPathVariables { input: InsertNodeAtPathInput; } /** * Variables for provisionBucket * Provision an S3 bucket for a logical bucket in the database. Reads the bucket config via RLS, then creates and configures the S3 bucket with the appropriate privacy policies, CORS rules, and lifecycle settings. */ export interface ProvisionBucketVariables { input: ProvisionBucketInput; } export interface SetDataAtPathVariables { input: SetDataAtPathInput; } export declare function createMutationOperations(client: OrmClient): { initEmptyRepo: (args: InitEmptyRepoVariables, options: { select: S; } & StrictSelect) => QueryBuilder<{ initEmptyRepo: InferSelectResult | null; }>; insertNodeAtPath: (args: InsertNodeAtPathVariables, options: { select: S; } & StrictSelect) => QueryBuilder<{ insertNodeAtPath: InferSelectResult | null; }>; provisionBucket: (args: ProvisionBucketVariables, options: { select: S; } & StrictSelect) => QueryBuilder<{ provisionBucket: InferSelectResult | null; }>; setDataAtPath: (args: SetDataAtPathVariables, options: { select: S; } & StrictSelect) => QueryBuilder<{ setDataAtPath: InferSelectResult | null; }>; };