/** * 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 { PlatformInfraInitEmptyRepoInput, PlatformInfraInsertNodeAtPathInput, PlatformInfraSetDataAtPathInput, ProvisionBucketInput, PlatformInfraInitEmptyRepoPayload, PlatformInfraInsertNodeAtPathPayload, PlatformInfraSetDataAtPathPayload, ProvisionBucketPayload, PlatformInfraInitEmptyRepoPayloadSelect, PlatformInfraInsertNodeAtPathPayloadSelect, PlatformInfraSetDataAtPathPayloadSelect, ProvisionBucketPayloadSelect } from '../input-types'; export interface PlatformInfraInitEmptyRepoVariables { input: PlatformInfraInitEmptyRepoInput; } export interface PlatformInfraInsertNodeAtPathVariables { input: PlatformInfraInsertNodeAtPathInput; } export interface PlatformInfraSetDataAtPathVariables { input: PlatformInfraSetDataAtPathInput; } /** * 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 declare function createMutationOperations(client: OrmClient): { platformInfraInitEmptyRepo: (args: PlatformInfraInitEmptyRepoVariables, options: { select: S; } & StrictSelect) => QueryBuilder<{ platformInfraInitEmptyRepo: InferSelectResult | null; }>; platformInfraInsertNodeAtPath: (args: PlatformInfraInsertNodeAtPathVariables, options: { select: S; } & StrictSelect) => QueryBuilder<{ platformInfraInsertNodeAtPath: InferSelectResult | null; }>; platformInfraSetDataAtPath: (args: PlatformInfraSetDataAtPathVariables, options: { select: S; } & StrictSelect) => QueryBuilder<{ platformInfraSetDataAtPath: InferSelectResult | null; }>; provisionBucket: (args: ProvisionBucketVariables, options: { select: S; } & StrictSelect) => QueryBuilder<{ provisionBucket: InferSelectResult | null; }>; };