/**
 * GraphQL schema types for custom operations
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { DbPreset, Namespace, NamespaceEvent, PlatformInfraCommit, PlatformInfraGetAllTreeNodesRecord, PlatformInfraObject, PlatformInfraRef, PlatformInfraStore, PlatformNamespace, PlatformNamespaceEvent, BooleanFilter, DatetimeFilter, JSONFilter, StringFilter, StringListFilter, UUIDFilter, UUIDListFilter } from './types';
/** Methods to use when ordering `DbPreset`. */
export type DbPresetOrderBy = 'ACTIVE_ASC' | 'ACTIVE_DESC' | 'COMMIT_ID_ASC' | 'COMMIT_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DEFINITION_ASC' | 'DEFINITION_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABEL_ASC' | 'LABEL_DESC' | 'MODULES_HASH_ASC' | 'MODULES_HASH_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SLUG_ASC' | 'SLUG_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
/** Methods to use when ordering `NamespaceEvent`. */
export type NamespaceEventOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
/** Methods to use when ordering `Namespace`. */
export type NamespaceOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_MANAGED_ASC' | 'IS_MANAGED_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'LAST_ERROR_ASC' | 'LAST_ERROR_DESC' | 'NAMESPACE_NAME_ASC' | 'NAMESPACE_NAME_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
/** Methods to use when ordering `PlatformInfraCommit`. */
export type PlatformInfraCommitOrderBy = 'AUTHOR_ID_ASC' | 'AUTHOR_ID_DESC' | 'COMMITTER_ID_ASC' | 'COMMITTER_ID_DESC' | 'DATE_ASC' | 'DATE_DESC' | 'ID_ASC' | 'ID_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'NATURAL' | 'PARENT_IDS_ASC' | 'PARENT_IDS_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SCOPE_ID_ASC' | 'SCOPE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC' | 'TREE_ID_ASC' | 'TREE_ID_DESC';
/** Methods to use when ordering `PlatformInfraObject`. */
export type PlatformInfraObjectOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATA_ASC' | 'DATA_DESC' | 'ID_ASC' | 'ID_DESC' | 'KIDS_ASC' | 'KIDS_DESC' | 'KTREE_ASC' | 'KTREE_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SCOPE_ID_ASC' | 'SCOPE_ID_DESC';
/** Methods to use when ordering `PlatformInfraRef`. */
export type PlatformInfraRefOrderBy = 'COMMIT_ID_ASC' | 'COMMIT_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SCOPE_ID_ASC' | 'SCOPE_ID_DESC' | 'STORE_ID_ASC' | 'STORE_ID_DESC';
/** Methods to use when ordering `PlatformInfraStore`. */
export type PlatformInfraStoreOrderBy = 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'HASH_ASC' | 'HASH_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'SCOPE_ID_ASC' | 'SCOPE_ID_DESC';
/** Methods to use when ordering `PlatformNamespaceEvent`. */
export type PlatformNamespaceEventOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'EVENT_TYPE_ASC' | 'EVENT_TYPE_DESC' | 'ID_ASC' | 'ID_DESC' | 'MESSAGE_ASC' | 'MESSAGE_DESC' | 'METADATA_ASC' | 'METADATA_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC';
/** Methods to use when ordering `PlatformNamespace`. */
export type PlatformNamespaceOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_ACTIVE_ASC' | 'IS_ACTIVE_DESC' | 'IS_MANAGED_ASC' | 'IS_MANAGED_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'LAST_ERROR_ASC' | 'LAST_ERROR_DESC' | 'NAMESPACE_NAME_ASC' | 'NAMESPACE_NAME_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
export interface CreateDbPresetInput {
    clientMutationId?: string;
    /** The `DbPreset` to be created by this mutation. */
    dbPreset: DbPresetInput;
}
export interface CreateNamespaceEventInput {
    clientMutationId?: string;
    /** The `NamespaceEvent` to be created by this mutation. */
    namespaceEvent: NamespaceEventInput;
}
export interface CreateNamespaceInput {
    clientMutationId?: string;
    /** The `Namespace` to be created by this mutation. */
    namespace: NamespaceInput;
}
export interface CreatePlatformInfraCommitInput {
    clientMutationId?: string;
    /** The `PlatformInfraCommit` to be created by this mutation. */
    platformInfraCommit: PlatformInfraCommitInput;
}
export interface CreatePlatformInfraObjectInput {
    clientMutationId?: string;
    /** The `PlatformInfraObject` to be created by this mutation. */
    platformInfraObject: PlatformInfraObjectInput;
}
export interface CreatePlatformInfraRefInput {
    clientMutationId?: string;
    /** The `PlatformInfraRef` to be created by this mutation. */
    platformInfraRef: PlatformInfraRefInput;
}
export interface CreatePlatformInfraStoreInput {
    clientMutationId?: string;
    /** The `PlatformInfraStore` to be created by this mutation. */
    platformInfraStore: PlatformInfraStoreInput;
}
export interface CreatePlatformNamespaceEventInput {
    clientMutationId?: string;
    /** The `PlatformNamespaceEvent` to be created by this mutation. */
    platformNamespaceEvent: PlatformNamespaceEventInput;
}
export interface CreatePlatformNamespaceInput {
    clientMutationId?: string;
    /** The `PlatformNamespace` to be created by this mutation. */
    platformNamespace: PlatformNamespaceInput;
}
/** A filter to be used against `DbPreset` object types. All fields are combined with a logical ‘and.’ */
export interface DbPresetFilter {
    /** Filter by the object’s `active` field. */
    active?: BooleanFilter;
    /** Checks for all expressions in this list. */
    and?: DbPresetFilter[];
    /** Filter by the object’s `commitId` field. */
    commitId?: UUIDFilter;
    /** Filter by the object’s `createdAt` field. */
    createdAt?: DatetimeFilter;
    /** Filter by the object’s `definition` field. */
    definition?: JSONFilter;
    /** Filter by the object’s `description` field. */
    description?: StringFilter;
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `label` field. */
    label?: StringFilter;
    /** Filter by the object’s `modulesHash` field. */
    modulesHash?: UUIDFilter;
    /** Negates the expression. */
    not?: DbPresetFilter;
    /** Checks for any expressions in this list. */
    or?: DbPresetFilter[];
    /** Filter by the object’s `slug` field. */
    slug?: StringFilter;
    /** Filter by the object’s `storeId` field. */
    storeId?: UUIDFilter;
    /** Filter by the object’s `updatedAt` field. */
    updatedAt?: DatetimeFilter;
}
/** An input for mutations affecting `DbPreset` */
export interface DbPresetInput {
    /** Whether this preset is selectable for new databases */
    active?: boolean;
    /** Infra store commit for the current definition (stamped by the versioned trigger on every write) */
    commitId?: string;
    /** Timestamp of preset creation */
    createdAt?: string;
    /** Preset definition (modules + options) — the readily-cached head; history lives in the infra store */
    definition: unknown;
    /** Human-readable description of the preset */
    description?: string;
    /** Unique preset identifier */
    id?: string;
    /** Human-readable preset name */
    label?: string;
    /** Content-address of definition->modules via metaschema_private.modules_hash (stamped by the versioned trigger); fast exact-match lookup key for provisioning requests */
    modulesHash?: string;
    /** Preset slug (unique per scope); the preset's path in the infra tree is [db_preset, slug] */
    slug: string;
    /** Infra Merkle store holding this preset's history (stamped by the versioned trigger) */
    storeId?: string;
    /** Timestamp of last modification */
    updatedAt?: string;
}
/** Represents an update to a `DbPreset`. Fields that are set will be updated. */
export interface DbPresetPatch {
    /** Whether this preset is selectable for new databases */
    active?: boolean;
    /** Infra store commit for the current definition (stamped by the versioned trigger on every write) */
    commitId?: string;
    /** Timestamp of preset creation */
    createdAt?: string;
    /** Preset definition (modules + options) — the readily-cached head; history lives in the infra store */
    definition?: unknown;
    /** Human-readable description of the preset */
    description?: string;
    /** Unique preset identifier */
    id?: string;
    /** Human-readable preset name */
    label?: string;
    /** Content-address of definition->modules via metaschema_private.modules_hash (stamped by the versioned trigger); fast exact-match lookup key for provisioning requests */
    modulesHash?: string;
    /** Preset slug (unique per scope); the preset's path in the infra tree is [db_preset, slug] */
    slug?: string;
    /** Infra Merkle store holding this preset's history (stamped by the versioned trigger) */
    storeId?: string;
    /** Timestamp of last modification */
    updatedAt?: string;
}
export interface DeleteDbPresetInput {
    clientMutationId?: string;
    /** Unique preset identifier */
    id: string;
}
export interface DeleteNamespaceEventInput {
    clientMutationId?: string;
    /** Event timestamp (partition key) */
    createdAt: string;
    /** Unique event identifier */
    id: string;
}
export interface DeleteNamespaceInput {
    clientMutationId?: string;
    id: string;
}
export interface DeletePlatformInfraCommitInput {
    clientMutationId?: string;
    /** Unique commit identifier */
    id: string;
    /** Opaque store partition key for the global tier */
    scopeId: string;
}
export interface DeletePlatformInfraObjectInput {
    clientMutationId?: string;
    /** Content-addressed UUID v5 — deterministic hash of (data, kids, ktree) */
    id: string;
    /** Opaque store partition key for the global tier */
    scopeId: string;
}
export interface DeletePlatformInfraRefInput {
    clientMutationId?: string;
    /** Unique ref identifier */
    id: string;
    /** Opaque store partition key for the global tier */
    scopeId: string;
}
export interface DeletePlatformInfraStoreInput {
    clientMutationId?: string;
    /** Unique store identifier */
    id: string;
}
export interface DeletePlatformNamespaceEventInput {
    clientMutationId?: string;
    /** Event timestamp (partition key) */
    createdAt: string;
    /** Unique event identifier */
    id: string;
}
export interface DeletePlatformNamespaceInput {
    clientMutationId?: string;
    id: string;
}
/** A filter to be used against `NamespaceEvent` object types. All fields are combined with a logical ‘and.’ */
export interface NamespaceEventFilter {
    /** Filter by the object’s `actorId` field. */
    actorId?: UUIDFilter;
    /** Checks for all expressions in this list. */
    and?: NamespaceEventFilter[];
    /** Filter by the object’s `createdAt` field. */
    createdAt?: DatetimeFilter;
    /** Filter by the object’s `databaseId` field. */
    databaseId?: UUIDFilter;
    /** Filter by the object’s `eventType` field. */
    eventType?: StringFilter;
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `message` field. */
    message?: StringFilter;
    /** Filter by the object’s `metadata` field. */
    metadata?: JSONFilter;
    /** Filter by the object’s `namespaceId` field. */
    namespaceId?: UUIDFilter;
    /** Negates the expression. */
    not?: NamespaceEventFilter;
    /** Checks for any expressions in this list. */
    or?: NamespaceEventFilter[];
}
/** An input for mutations affecting `NamespaceEvent` */
export interface NamespaceEventInput {
    /** User who triggered this event (NULL for system/automated) */
    actorId?: string;
    /** Event timestamp (partition key) */
    createdAt?: string;
    /** Database that owns this resource (database-scoped isolation) */
    databaseId: string;
    /** Event type: created, activated, deactivated, labels_updated, annotations_updated, renamed */
    eventType: string;
    /** Unique event identifier */
    id?: string;
    /** Human-readable description of the event */
    message?: string;
    /** Structured context (old/new values, labels diff, etc.) */
    metadata?: unknown;
    /** Namespace this event belongs to */
    namespaceId: string;
}
/** Represents an update to a `NamespaceEvent`. Fields that are set will be updated. */
export interface NamespaceEventPatch {
    /** User who triggered this event (NULL for system/automated) */
    actorId?: string;
    /** Event timestamp (partition key) */
    createdAt?: string;
    /** Database that owns this resource (database-scoped isolation) */
    databaseId?: string;
    /** Event type: created, activated, deactivated, labels_updated, annotations_updated, renamed */
    eventType?: string;
    /** Unique event identifier */
    id?: string;
    /** Human-readable description of the event */
    message?: string;
    /** Structured context (old/new values, labels diff, etc.) */
    metadata?: unknown;
    /** Namespace this event belongs to */
    namespaceId?: string;
}
/** A filter to be used against `Namespace` object types. All fields are combined with a logical ‘and.’ */
export interface NamespaceFilter {
    /** Checks for all expressions in this list. */
    and?: NamespaceFilter[];
    /** Filter by the object’s `annotations` field. */
    annotations?: JSONFilter;
    /** Filter by the object’s `createdAt` field. */
    createdAt?: DatetimeFilter;
    /** Filter by the object’s `databaseId` field. */
    databaseId?: UUIDFilter;
    /** Filter by the object’s `description` field. */
    description?: StringFilter;
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `isActive` field. */
    isActive?: BooleanFilter;
    /** Filter by the object’s `isManaged` field. */
    isManaged?: BooleanFilter;
    /** Filter by the object’s `labels` field. */
    labels?: JSONFilter;
    /** Filter by the object’s `lastError` field. */
    lastError?: StringFilter;
    /** Filter by the object’s `name` field. */
    name?: StringFilter;
    /** Filter by the object’s `namespaceName` field. */
    namespaceName?: StringFilter;
    /** Negates the expression. */
    not?: NamespaceFilter;
    /** Checks for any expressions in this list. */
    or?: NamespaceFilter[];
    /** Filter by the object’s `status` field. */
    status?: StringFilter;
    /** Filter by the object’s `updatedAt` field. */
    updatedAt?: DatetimeFilter;
}
/** An input for mutations affecting `Namespace` */
export interface NamespaceInput {
    /** Freeform metadata for tooling and operational notes */
    annotations?: unknown;
    createdAt?: string;
    /** Database that owns this resource (database-scoped isolation) */
    databaseId: string;
    /** Optional human-readable description of this namespace */
    description?: string;
    id?: string;
    /** Whether this namespace is active (soft-disable for filtering) */
    isActive?: boolean;
    /** true = provisioned by the platform via jobs, false = unmanaged/platform-native (bootstrapped externally) */
    isManaged?: boolean;
    /** Key/value pairs for selecting and filtering namespaces */
    labels?: unknown;
    /** Most recent provisioning or reconcile error message */
    lastError?: string;
    /** Human-readable namespace name (e.g. default, production, oauth) */
    name: string;
    /** Globally unique computed namespace identifier via inflection.underscore */
    namespaceName: string;
    /** Namespace provisioning lifecycle status: pending, provisioning, active, failed */
    status?: string;
    updatedAt?: string;
}
/** Represents an update to a `Namespace`. Fields that are set will be updated. */
export interface NamespacePatch {
    /** Freeform metadata for tooling and operational notes */
    annotations?: unknown;
    createdAt?: string;
    /** Database that owns this resource (database-scoped isolation) */
    databaseId?: string;
    /** Optional human-readable description of this namespace */
    description?: string;
    id?: string;
    /** Whether this namespace is active (soft-disable for filtering) */
    isActive?: boolean;
    /** true = provisioned by the platform via jobs, false = unmanaged/platform-native (bootstrapped externally) */
    isManaged?: boolean;
    /** Key/value pairs for selecting and filtering namespaces */
    labels?: unknown;
    /** Most recent provisioning or reconcile error message */
    lastError?: string;
    /** Human-readable namespace name (e.g. default, production, oauth) */
    name?: string;
    /** Globally unique computed namespace identifier via inflection.underscore */
    namespaceName?: string;
    /** Namespace provisioning lifecycle status: pending, provisioning, active, failed */
    status?: string;
    updatedAt?: string;
}
/** A filter to be used against `PlatformInfraCommit` object types. All fields are combined with a logical ‘and.’ */
export interface PlatformInfraCommitFilter {
    /** Checks for all expressions in this list. */
    and?: PlatformInfraCommitFilter[];
    /** Filter by the object’s `authorId` field. */
    authorId?: UUIDFilter;
    /** Filter by the object’s `committerId` field. */
    committerId?: UUIDFilter;
    /** Filter by the object’s `date` field. */
    date?: DatetimeFilter;
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `message` field. */
    message?: StringFilter;
    /** Negates the expression. */
    not?: PlatformInfraCommitFilter;
    /** Checks for any expressions in this list. */
    or?: PlatformInfraCommitFilter[];
    /** Filter by the object’s `parentIds` field. */
    parentIds?: UUIDListFilter;
    /** Filter by the object’s `scopeId` field. */
    scopeId?: UUIDFilter;
    /** Filter by the object’s `storeId` field. */
    storeId?: UUIDFilter;
    /** Filter by the object’s `treeId` field. */
    treeId?: UUIDFilter;
}
/** An input for mutations affecting `PlatformInfraCommit` */
export interface PlatformInfraCommitInput {
    /** User who authored the changes */
    authorId?: string;
    /** User who committed (may differ from author) */
    committerId?: string;
    /** Commit timestamp */
    date?: string;
    /** Unique commit identifier */
    id?: string;
    /** Optional commit message */
    message?: string;
    /** Parent commit IDs (supports merge commits) */
    parentIds?: string[];
    /** Opaque store partition key for the global tier */
    scopeId: string;
    /** Store this commit belongs to */
    storeId: string;
    /** Root object ID of the tree snapshot at this commit */
    treeId?: string;
}
/** Represents an update to a `PlatformInfraCommit`. Fields that are set will be updated. */
export interface PlatformInfraCommitPatch {
    /** User who authored the changes */
    authorId?: string;
    /** User who committed (may differ from author) */
    committerId?: string;
    /** Commit timestamp */
    date?: string;
    /** Unique commit identifier */
    id?: string;
    /** Optional commit message */
    message?: string;
    /** Parent commit IDs (supports merge commits) */
    parentIds?: string[];
    /** Opaque store partition key for the global tier */
    scopeId?: string;
    /** Store this commit belongs to */
    storeId?: string;
    /** Root object ID of the tree snapshot at this commit */
    treeId?: string;
}
export interface PlatformInfraInitEmptyRepoInput {
    clientMutationId?: string;
    sId?: string;
    storeId?: string;
}
export interface PlatformInfraInsertNodeAtPathInput {
    clientMutationId?: string;
    data?: unknown;
    kids?: string[];
    ktree?: string[];
    path?: string[];
    root?: string;
    sId?: string;
}
/** A filter to be used against `PlatformInfraObject` object types. All fields are combined with a logical ‘and.’ */
export interface PlatformInfraObjectFilter {
    /** Checks for all expressions in this list. */
    and?: PlatformInfraObjectFilter[];
    /** Filter by the object’s `createdAt` field. */
    createdAt?: DatetimeFilter;
    /** Filter by the object’s `data` field. */
    data?: JSONFilter;
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `kids` field. */
    kids?: UUIDListFilter;
    /** Filter by the object’s `ktree` field. */
    ktree?: StringListFilter;
    /** Negates the expression. */
    not?: PlatformInfraObjectFilter;
    /** Checks for any expressions in this list. */
    or?: PlatformInfraObjectFilter[];
    /** Filter by the object’s `scopeId` field. */
    scopeId?: UUIDFilter;
}
/** An input for mutations affecting `PlatformInfraObject` */
export interface PlatformInfraObjectInput {
    /** Timestamp of object creation */
    createdAt?: string;
    /** Payload data for this object node */
    data?: unknown;
    /** Content-addressed UUID v5 — deterministic hash of (data, kids, ktree) */
    id: string;
    /** Ordered array of child object IDs */
    kids?: string[];
    /** Ordered array of child path names (parallel to kids) */
    ktree?: string[];
    /** Opaque store partition key for the global tier */
    scopeId: string;
}
/** Represents an update to a `PlatformInfraObject`. Fields that are set will be updated. */
export interface PlatformInfraObjectPatch {
    /** Timestamp of object creation */
    createdAt?: string;
    /** Payload data for this object node */
    data?: unknown;
    /** Content-addressed UUID v5 — deterministic hash of (data, kids, ktree) */
    id?: string;
    /** Ordered array of child object IDs */
    kids?: string[];
    /** Ordered array of child path names (parallel to kids) */
    ktree?: string[];
    /** Opaque store partition key for the global tier */
    scopeId?: string;
}
/** A filter to be used against `PlatformInfraRef` object types. All fields are combined with a logical ‘and.’ */
export interface PlatformInfraRefFilter {
    /** Checks for all expressions in this list. */
    and?: PlatformInfraRefFilter[];
    /** Filter by the object’s `commitId` field. */
    commitId?: UUIDFilter;
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `name` field. */
    name?: StringFilter;
    /** Negates the expression. */
    not?: PlatformInfraRefFilter;
    /** Checks for any expressions in this list. */
    or?: PlatformInfraRefFilter[];
    /** Filter by the object’s `scopeId` field. */
    scopeId?: UUIDFilter;
    /** Filter by the object’s `storeId` field. */
    storeId?: UUIDFilter;
}
/** An input for mutations affecting `PlatformInfraRef` */
export interface PlatformInfraRefInput {
    /** Commit this ref points to */
    commitId?: string;
    /** Unique ref identifier */
    id?: string;
    /** Ref name (e.g. HEAD, main) */
    name: string;
    /** Opaque store partition key for the global tier */
    scopeId: string;
    /** Store this ref belongs to */
    storeId: string;
}
/** Represents an update to a `PlatformInfraRef`. Fields that are set will be updated. */
export interface PlatformInfraRefPatch {
    /** Commit this ref points to */
    commitId?: string;
    /** Unique ref identifier */
    id?: string;
    /** Ref name (e.g. HEAD, main) */
    name?: string;
    /** Opaque store partition key for the global tier */
    scopeId?: string;
    /** Store this ref belongs to */
    storeId?: string;
}
export interface PlatformInfraSetDataAtPathInput {
    clientMutationId?: string;
    data?: unknown;
    path?: string[];
    root?: string;
    sId?: string;
}
/** A filter to be used against `PlatformInfraStore` object types. All fields are combined with a logical ‘and.’ */
export interface PlatformInfraStoreFilter {
    /** Checks for all expressions in this list. */
    and?: PlatformInfraStoreFilter[];
    /** Filter by the object’s `createdAt` field. */
    createdAt?: DatetimeFilter;
    /** Filter by the object’s `hash` field. */
    hash?: UUIDFilter;
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `name` field. */
    name?: StringFilter;
    /** Negates the expression. */
    not?: PlatformInfraStoreFilter;
    /** Checks for any expressions in this list. */
    or?: PlatformInfraStoreFilter[];
    /** Filter by the object’s `scopeId` field. */
    scopeId?: UUIDFilter;
}
/** An input for mutations affecting `PlatformInfraStore` */
export interface PlatformInfraStoreInput {
    /** Timestamp of store creation */
    createdAt?: string;
    /** Current root object hash of this store */
    hash?: string;
    /** Unique store identifier */
    id?: string;
    /** Human-readable store name */
    name: string;
    /** Opaque store partition key for the global tier */
    scopeId: string;
}
/** Represents an update to a `PlatformInfraStore`. Fields that are set will be updated. */
export interface PlatformInfraStorePatch {
    /** Timestamp of store creation */
    createdAt?: string;
    /** Current root object hash of this store */
    hash?: string;
    /** Unique store identifier */
    id?: string;
    /** Human-readable store name */
    name?: string;
    /** Opaque store partition key for the global tier */
    scopeId?: string;
}
/** A filter to be used against `PlatformNamespaceEvent` object types. All fields are combined with a logical ‘and.’ */
export interface PlatformNamespaceEventFilter {
    /** Filter by the object’s `actorId` field. */
    actorId?: UUIDFilter;
    /** Checks for all expressions in this list. */
    and?: PlatformNamespaceEventFilter[];
    /** Filter by the object’s `createdAt` field. */
    createdAt?: DatetimeFilter;
    /** Filter by the object’s `eventType` field. */
    eventType?: StringFilter;
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `message` field. */
    message?: StringFilter;
    /** Filter by the object’s `metadata` field. */
    metadata?: JSONFilter;
    /** Filter by the object’s `namespaceId` field. */
    namespaceId?: UUIDFilter;
    /** Negates the expression. */
    not?: PlatformNamespaceEventFilter;
    /** Checks for any expressions in this list. */
    or?: PlatformNamespaceEventFilter[];
}
/** An input for mutations affecting `PlatformNamespaceEvent` */
export interface PlatformNamespaceEventInput {
    /** User who triggered this event (NULL for system/automated) */
    actorId?: string;
    /** Event timestamp (partition key) */
    createdAt?: string;
    /** Event type: created, activated, deactivated, labels_updated, annotations_updated, renamed */
    eventType: string;
    /** Unique event identifier */
    id?: string;
    /** Human-readable description of the event */
    message?: string;
    /** Structured context (old/new values, labels diff, etc.) */
    metadata?: unknown;
    /** Namespace this event belongs to */
    namespaceId: string;
}
/** Represents an update to a `PlatformNamespaceEvent`. Fields that are set will be updated. */
export interface PlatformNamespaceEventPatch {
    /** User who triggered this event (NULL for system/automated) */
    actorId?: string;
    /** Event timestamp (partition key) */
    createdAt?: string;
    /** Event type: created, activated, deactivated, labels_updated, annotations_updated, renamed */
    eventType?: string;
    /** Unique event identifier */
    id?: string;
    /** Human-readable description of the event */
    message?: string;
    /** Structured context (old/new values, labels diff, etc.) */
    metadata?: unknown;
    /** Namespace this event belongs to */
    namespaceId?: string;
}
/** A filter to be used against `PlatformNamespace` object types. All fields are combined with a logical ‘and.’ */
export interface PlatformNamespaceFilter {
    /** Checks for all expressions in this list. */
    and?: PlatformNamespaceFilter[];
    /** Filter by the object’s `annotations` field. */
    annotations?: JSONFilter;
    /** Filter by the object’s `createdAt` field. */
    createdAt?: DatetimeFilter;
    /** Filter by the object’s `description` field. */
    description?: StringFilter;
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `isActive` field. */
    isActive?: BooleanFilter;
    /** Filter by the object’s `isManaged` field. */
    isManaged?: BooleanFilter;
    /** Filter by the object’s `labels` field. */
    labels?: JSONFilter;
    /** Filter by the object’s `lastError` field. */
    lastError?: StringFilter;
    /** Filter by the object’s `name` field. */
    name?: StringFilter;
    /** Filter by the object’s `namespaceName` field. */
    namespaceName?: StringFilter;
    /** Negates the expression. */
    not?: PlatformNamespaceFilter;
    /** Checks for any expressions in this list. */
    or?: PlatformNamespaceFilter[];
    /** Filter by the object’s `status` field. */
    status?: StringFilter;
    /** Filter by the object’s `updatedAt` field. */
    updatedAt?: DatetimeFilter;
}
/** An input for mutations affecting `PlatformNamespace` */
export interface PlatformNamespaceInput {
    /** Freeform metadata for tooling and operational notes */
    annotations?: unknown;
    createdAt?: string;
    /** Optional human-readable description of this namespace */
    description?: string;
    id?: string;
    /** Whether this namespace is active (soft-disable for filtering) */
    isActive?: boolean;
    /** true = provisioned by the platform via jobs, false = unmanaged/platform-native (bootstrapped externally) */
    isManaged?: boolean;
    /** Key/value pairs for selecting and filtering namespaces */
    labels?: unknown;
    /** Most recent provisioning or reconcile error message */
    lastError?: string;
    /** Human-readable namespace name (e.g. default, production, oauth) */
    name: string;
    /** Globally unique computed namespace identifier via inflection.underscore */
    namespaceName: string;
    /** Namespace provisioning lifecycle status: pending, provisioning, active, failed */
    status?: string;
    updatedAt?: string;
}
/** Represents an update to a `PlatformNamespace`. Fields that are set will be updated. */
export interface PlatformNamespacePatch {
    /** Freeform metadata for tooling and operational notes */
    annotations?: unknown;
    createdAt?: string;
    /** Optional human-readable description of this namespace */
    description?: string;
    id?: string;
    /** Whether this namespace is active (soft-disable for filtering) */
    isActive?: boolean;
    /** true = provisioned by the platform via jobs, false = unmanaged/platform-native (bootstrapped externally) */
    isManaged?: boolean;
    /** Key/value pairs for selecting and filtering namespaces */
    labels?: unknown;
    /** Most recent provisioning or reconcile error message */
    lastError?: string;
    /** Human-readable namespace name (e.g. default, production, oauth) */
    name?: string;
    /** Globally unique computed namespace identifier via inflection.underscore */
    namespaceName?: string;
    /** Namespace provisioning lifecycle status: pending, provisioning, active, failed */
    status?: string;
    updatedAt?: string;
}
export interface ProvisionBucketInput {
    /** The logical bucket key (e.g., "public", "private") */
    bucketKey: string;
    /**
     * Owner entity ID for entity-scoped bucket provisioning.
     * Omit for app-level (database-wide) storage.
     */
    ownerId?: string;
}
export interface UpdateDbPresetInput {
    clientMutationId?: string;
    /** An object where the defined keys will be set on the `DbPreset` being updated. */
    dbPresetPatch: DbPresetPatch;
    /** Unique preset identifier */
    id: string;
}
export interface UpdateNamespaceEventInput {
    clientMutationId?: string;
    /** Event timestamp (partition key) */
    createdAt: string;
    /** Unique event identifier */
    id: string;
    /** An object where the defined keys will be set on the `NamespaceEvent` being updated. */
    namespaceEventPatch: NamespaceEventPatch;
}
export interface UpdateNamespaceInput {
    clientMutationId?: string;
    id: string;
    /** An object where the defined keys will be set on the `Namespace` being updated. */
    namespacePatch: NamespacePatch;
}
export interface UpdatePlatformInfraCommitInput {
    clientMutationId?: string;
    /** Unique commit identifier */
    id: string;
    /** An object where the defined keys will be set on the `PlatformInfraCommit` being updated. */
    platformInfraCommitPatch: PlatformInfraCommitPatch;
    /** Opaque store partition key for the global tier */
    scopeId: string;
}
export interface UpdatePlatformInfraObjectInput {
    clientMutationId?: string;
    /** Content-addressed UUID v5 — deterministic hash of (data, kids, ktree) */
    id: string;
    /** An object where the defined keys will be set on the `PlatformInfraObject` being updated. */
    platformInfraObjectPatch: PlatformInfraObjectPatch;
    /** Opaque store partition key for the global tier */
    scopeId: string;
}
export interface UpdatePlatformInfraRefInput {
    clientMutationId?: string;
    /** Unique ref identifier */
    id: string;
    /** An object where the defined keys will be set on the `PlatformInfraRef` being updated. */
    platformInfraRefPatch: PlatformInfraRefPatch;
    /** Opaque store partition key for the global tier */
    scopeId: string;
}
export interface UpdatePlatformInfraStoreInput {
    clientMutationId?: string;
    /** Unique store identifier */
    id: string;
    /** An object where the defined keys will be set on the `PlatformInfraStore` being updated. */
    platformInfraStorePatch: PlatformInfraStorePatch;
}
export interface UpdatePlatformNamespaceEventInput {
    clientMutationId?: string;
    /** Event timestamp (partition key) */
    createdAt: string;
    /** Unique event identifier */
    id: string;
    /** An object where the defined keys will be set on the `PlatformNamespaceEvent` being updated. */
    platformNamespaceEventPatch: PlatformNamespaceEventPatch;
}
export interface UpdatePlatformNamespaceInput {
    clientMutationId?: string;
    id: string;
    /** An object where the defined keys will be set on the `PlatformNamespace` being updated. */
    platformNamespacePatch: PlatformNamespacePatch;
}
/** Root meta schema type */
export interface MetaSchema {
    tables: MetaTable[];
}
/** A connection to a list of `DbPreset` values. */
export interface DbPresetConnection {
    edges: DbPresetEdge[];
    nodes: DbPreset[];
    pageInfo: PageInfo;
    totalCount: number;
}
/** A connection to a list of `NamespaceEvent` values. */
export interface NamespaceEventConnection {
    edges: NamespaceEventEdge[];
    nodes: NamespaceEvent[];
    pageInfo: PageInfo;
    totalCount: number;
}
/** A connection to a list of `Namespace` values. */
export interface NamespaceConnection {
    edges: NamespaceEdge[];
    nodes: Namespace[];
    pageInfo: PageInfo;
    totalCount: number;
}
/** A connection to a list of `PlatformInfraCommit` values. */
export interface PlatformInfraCommitConnection {
    edges: PlatformInfraCommitEdge[];
    nodes: PlatformInfraCommit[];
    pageInfo: PageInfo;
    totalCount: number;
}
/** A connection to a list of `PlatformInfraGetAllTreeNodesRecord` values. */
export interface PlatformInfraGetAllTreeNodesConnection {
    edges: PlatformInfraGetAllTreeNodesEdge[];
    nodes: PlatformInfraGetAllTreeNodesRecord[];
    pageInfo: PageInfo;
    totalCount: number;
}
/** A connection to a list of `PlatformInfraObject` values. */
export interface PlatformInfraObjectConnection {
    edges: PlatformInfraObjectEdge[];
    nodes: PlatformInfraObject[];
    pageInfo: PageInfo;
    totalCount: number;
}
/** A connection to a list of `PlatformInfraRef` values. */
export interface PlatformInfraRefConnection {
    edges: PlatformInfraRefEdge[];
    nodes: PlatformInfraRef[];
    pageInfo: PageInfo;
    totalCount: number;
}
/** A connection to a list of `PlatformInfraStore` values. */
export interface PlatformInfraStoreConnection {
    edges: PlatformInfraStoreEdge[];
    nodes: PlatformInfraStore[];
    pageInfo: PageInfo;
    totalCount: number;
}
/** A connection to a list of `PlatformNamespaceEvent` values. */
export interface PlatformNamespaceEventConnection {
    edges: PlatformNamespaceEventEdge[];
    nodes: PlatformNamespaceEvent[];
    pageInfo: PageInfo;
    totalCount: number;
}
/** A connection to a list of `PlatformNamespace` values. */
export interface PlatformNamespaceConnection {
    edges: PlatformNamespaceEdge[];
    nodes: PlatformNamespace[];
    pageInfo: PageInfo;
    totalCount: number;
}
export interface CreateDbPresetPayload {
    clientMutationId?: string | null;
    /** The `DbPreset` that was created by this mutation. */
    dbPreset?: DbPreset | null;
    dbPresetEdge?: DbPresetEdge | null;
}
export interface CreateNamespacePayload {
    clientMutationId?: string | null;
    /** The `Namespace` that was created by this mutation. */
    namespace?: Namespace | null;
    namespaceEdge?: NamespaceEdge | null;
}
export interface CreateNamespaceEventPayload {
    clientMutationId?: string | null;
    /** The `NamespaceEvent` that was created by this mutation. */
    namespaceEvent?: NamespaceEvent | null;
    namespaceEventEdge?: NamespaceEventEdge | null;
}
export interface CreatePlatformInfraCommitPayload {
    clientMutationId?: string | null;
    /** The `PlatformInfraCommit` that was created by this mutation. */
    platformInfraCommit?: PlatformInfraCommit | null;
    platformInfraCommitEdge?: PlatformInfraCommitEdge | null;
}
export interface CreatePlatformInfraObjectPayload {
    clientMutationId?: string | null;
    /** The `PlatformInfraObject` that was created by this mutation. */
    platformInfraObject?: PlatformInfraObject | null;
    platformInfraObjectEdge?: PlatformInfraObjectEdge | null;
}
export interface CreatePlatformInfraRefPayload {
    clientMutationId?: string | null;
    /** The `PlatformInfraRef` that was created by this mutation. */
    platformInfraRef?: PlatformInfraRef | null;
    platformInfraRefEdge?: PlatformInfraRefEdge | null;
}
export interface CreatePlatformInfraStorePayload {
    clientMutationId?: string | null;
    /** The `PlatformInfraStore` that was created by this mutation. */
    platformInfraStore?: PlatformInfraStore | null;
    platformInfraStoreEdge?: PlatformInfraStoreEdge | null;
}
export interface CreatePlatformNamespacePayload {
    clientMutationId?: string | null;
    /** The `PlatformNamespace` that was created by this mutation. */
    platformNamespace?: PlatformNamespace | null;
    platformNamespaceEdge?: PlatformNamespaceEdge | null;
}
export interface CreatePlatformNamespaceEventPayload {
    clientMutationId?: string | null;
    /** The `PlatformNamespaceEvent` that was created by this mutation. */
    platformNamespaceEvent?: PlatformNamespaceEvent | null;
    platformNamespaceEventEdge?: PlatformNamespaceEventEdge | null;
}
export interface DeleteDbPresetPayload {
    clientMutationId?: string | null;
    /** The `DbPreset` that was deleted by this mutation. */
    dbPreset?: DbPreset | null;
    dbPresetEdge?: DbPresetEdge | null;
}
export interface DeleteNamespacePayload {
    clientMutationId?: string | null;
    /** The `Namespace` that was deleted by this mutation. */
    namespace?: Namespace | null;
    namespaceEdge?: NamespaceEdge | null;
}
export interface DeleteNamespaceEventPayload {
    clientMutationId?: string | null;
    /** The `NamespaceEvent` that was deleted by this mutation. */
    namespaceEvent?: NamespaceEvent | null;
    namespaceEventEdge?: NamespaceEventEdge | null;
}
export interface DeletePlatformInfraCommitPayload {
    clientMutationId?: string | null;
    /** The `PlatformInfraCommit` that was deleted by this mutation. */
    platformInfraCommit?: PlatformInfraCommit | null;
    platformInfraCommitEdge?: PlatformInfraCommitEdge | null;
}
export interface DeletePlatformInfraObjectPayload {
    clientMutationId?: string | null;
    /** The `PlatformInfraObject` that was deleted by this mutation. */
    platformInfraObject?: PlatformInfraObject | null;
    platformInfraObjectEdge?: PlatformInfraObjectEdge | null;
}
export interface DeletePlatformInfraRefPayload {
    clientMutationId?: string | null;
    /** The `PlatformInfraRef` that was deleted by this mutation. */
    platformInfraRef?: PlatformInfraRef | null;
    platformInfraRefEdge?: PlatformInfraRefEdge | null;
}
export interface DeletePlatformInfraStorePayload {
    clientMutationId?: string | null;
    /** The `PlatformInfraStore` that was deleted by this mutation. */
    platformInfraStore?: PlatformInfraStore | null;
    platformInfraStoreEdge?: PlatformInfraStoreEdge | null;
}
export interface DeletePlatformNamespacePayload {
    clientMutationId?: string | null;
    /** The `PlatformNamespace` that was deleted by this mutation. */
    platformNamespace?: PlatformNamespace | null;
    platformNamespaceEdge?: PlatformNamespaceEdge | null;
}
export interface DeletePlatformNamespaceEventPayload {
    clientMutationId?: string | null;
    /** The `PlatformNamespaceEvent` that was deleted by this mutation. */
    platformNamespaceEvent?: PlatformNamespaceEvent | null;
    platformNamespaceEventEdge?: PlatformNamespaceEventEdge | null;
}
export interface PlatformInfraInitEmptyRepoPayload {
    clientMutationId?: string | null;
}
export interface PlatformInfraInsertNodeAtPathPayload {
    clientMutationId?: string | null;
    result?: string | null;
}
export interface PlatformInfraSetDataAtPathPayload {
    clientMutationId?: string | null;
    result?: string | null;
}
export interface ProvisionBucketPayload {
    /** The access type applied */
    accessType: string;
    /** The S3 bucket name that was provisioned */
    bucketName: string;
    /** The S3 endpoint (null for AWS S3 default) */
    endpoint?: string | null;
    /** Error message if provisioning failed */
    error?: string | null;
    /** The storage provider used */
    provider: string;
    /** Whether provisioning succeeded */
    success: boolean;
}
export interface UpdateDbPresetPayload {
    clientMutationId?: string | null;
    /** The `DbPreset` that was updated by this mutation. */
    dbPreset?: DbPreset | null;
    dbPresetEdge?: DbPresetEdge | null;
}
export interface UpdateNamespacePayload {
    clientMutationId?: string | null;
    /** The `Namespace` that was updated by this mutation. */
    namespace?: Namespace | null;
    namespaceEdge?: NamespaceEdge | null;
}
export interface UpdateNamespaceEventPayload {
    clientMutationId?: string | null;
    /** The `NamespaceEvent` that was updated by this mutation. */
    namespaceEvent?: NamespaceEvent | null;
    namespaceEventEdge?: NamespaceEventEdge | null;
}
export interface UpdatePlatformInfraCommitPayload {
    clientMutationId?: string | null;
    /** The `PlatformInfraCommit` that was updated by this mutation. */
    platformInfraCommit?: PlatformInfraCommit | null;
    platformInfraCommitEdge?: PlatformInfraCommitEdge | null;
}
export interface UpdatePlatformInfraObjectPayload {
    clientMutationId?: string | null;
    /** The `PlatformInfraObject` that was updated by this mutation. */
    platformInfraObject?: PlatformInfraObject | null;
    platformInfraObjectEdge?: PlatformInfraObjectEdge | null;
}
export interface UpdatePlatformInfraRefPayload {
    clientMutationId?: string | null;
    /** The `PlatformInfraRef` that was updated by this mutation. */
    platformInfraRef?: PlatformInfraRef | null;
    platformInfraRefEdge?: PlatformInfraRefEdge | null;
}
export interface UpdatePlatformInfraStorePayload {
    clientMutationId?: string | null;
    /** The `PlatformInfraStore` that was updated by this mutation. */
    platformInfraStore?: PlatformInfraStore | null;
    platformInfraStoreEdge?: PlatformInfraStoreEdge | null;
}
export interface UpdatePlatformNamespacePayload {
    clientMutationId?: string | null;
    /** The `PlatformNamespace` that was updated by this mutation. */
    platformNamespace?: PlatformNamespace | null;
    platformNamespaceEdge?: PlatformNamespaceEdge | null;
}
export interface UpdatePlatformNamespaceEventPayload {
    clientMutationId?: string | null;
    /** The `PlatformNamespaceEvent` that was updated by this mutation. */
    platformNamespaceEvent?: PlatformNamespaceEvent | null;
    platformNamespaceEventEdge?: PlatformNamespaceEventEdge | null;
}
/** Information about a database table */
export interface MetaTable {
    constraints: MetaConstraints;
    fields: MetaField[];
    foreignKeyConstraints: MetaForeignKeyConstraint[];
    /** i18n metadata (null if no @i18n tag) */
    i18n?: MetaI18n | null;
    indexes: MetaIndex[];
    inflection: MetaInflection;
    name: string;
    primaryKeyConstraints: MetaPrimaryKeyConstraint[];
    query: MetaQuery;
    /** Realtime metadata (null if no @realtime tag) */
    realtime?: MetaRealtime | null;
    relations: MetaRelations;
    schemaName: string;
    /** Search metadata (null if no search configured) */
    search?: MetaSearch | null;
    /** Storage metadata (null if not a storage table) */
    storage?: MetaStorage | null;
    uniqueConstraints: MetaUniqueConstraint[];
}
/** A `DbPreset` edge in the connection. */
export interface DbPresetEdge {
    cursor?: string | null;
    /** The `DbPreset` at the end of the edge. */
    node?: DbPreset | null;
}
/** Information about pagination in a connection. */
export interface PageInfo {
    /** When paginating forwards, the cursor to continue. */
    endCursor?: string | null;
    /** When paginating forwards, are there more items? */
    hasNextPage: boolean;
    /** When paginating backwards, are there more items? */
    hasPreviousPage: boolean;
    /** When paginating backwards, the cursor to continue. */
    startCursor?: string | null;
}
/** A `NamespaceEvent` edge in the connection. */
export interface NamespaceEventEdge {
    cursor?: string | null;
    /** The `NamespaceEvent` at the end of the edge. */
    node?: NamespaceEvent | null;
}
/** A `Namespace` edge in the connection. */
export interface NamespaceEdge {
    cursor?: string | null;
    /** The `Namespace` at the end of the edge. */
    node?: Namespace | null;
}
/** A `PlatformInfraCommit` edge in the connection. */
export interface PlatformInfraCommitEdge {
    cursor?: string | null;
    /** The `PlatformInfraCommit` at the end of the edge. */
    node?: PlatformInfraCommit | null;
}
/** A `PlatformInfraGetAllTreeNodesRecord` edge in the connection. */
export interface PlatformInfraGetAllTreeNodesEdge {
    cursor?: string | null;
    /** The `PlatformInfraGetAllTreeNodesRecord` at the end of the edge. */
    node?: PlatformInfraGetAllTreeNodesRecord | null;
}
/** A `PlatformInfraObject` edge in the connection. */
export interface PlatformInfraObjectEdge {
    cursor?: string | null;
    /** The `PlatformInfraObject` at the end of the edge. */
    node?: PlatformInfraObject | null;
}
/** A `PlatformInfraRef` edge in the connection. */
export interface PlatformInfraRefEdge {
    cursor?: string | null;
    /** The `PlatformInfraRef` at the end of the edge. */
    node?: PlatformInfraRef | null;
}
/** A `PlatformInfraStore` edge in the connection. */
export interface PlatformInfraStoreEdge {
    cursor?: string | null;
    /** The `PlatformInfraStore` at the end of the edge. */
    node?: PlatformInfraStore | null;
}
/** A `PlatformNamespaceEvent` edge in the connection. */
export interface PlatformNamespaceEventEdge {
    cursor?: string | null;
    /** The `PlatformNamespaceEvent` at the end of the edge. */
    node?: PlatformNamespaceEvent | null;
}
/** A `PlatformNamespace` edge in the connection. */
export interface PlatformNamespaceEdge {
    cursor?: string | null;
    /** The `PlatformNamespace` at the end of the edge. */
    node?: PlatformNamespace | null;
}
/** Table constraints */
export interface MetaConstraints {
    foreignKey: MetaForeignKeyConstraint[];
    primaryKey?: MetaPrimaryKeyConstraint | null;
    unique: MetaUniqueConstraint[];
}
/** Information about a table field/column */
export interface MetaField {
    description?: string | null;
    /** Enum metadata if this field has an enum type */
    enumValues?: MetaEnum | null;
    hasDefault: boolean;
    isForeignKey: boolean;
    isNotNull: boolean;
    isPrimaryKey: boolean;
    name: string;
    type: MetaType;
}
/** Information about a foreign key constraint */
export interface MetaForeignKeyConstraint {
    fields: MetaField[];
    name: string;
    refFields?: MetaField[] | null;
    refTable?: MetaRefTable | null;
    referencedFields: string[];
    referencedTable: string;
}
/** i18n metadata for a table with @i18n tag */
export interface MetaI18n {
    /** Fields that are translatable */
    translatableFields: MetaI18nField[];
    /** Name of the translation table */
    translationTable: string;
}
/** Information about a database index */
export interface MetaIndex {
    columns: string[];
    fields?: MetaField[] | null;
    isPrimary: boolean;
    isUnique: boolean;
    name: string;
}
/** Table inflection names */
export interface MetaInflection {
    allRows: string;
    conditionType: string;
    connection: string;
    createInputType: string;
    createPayloadType: string;
    deletePayloadType: string;
    edge: string;
    filterType?: string | null;
    orderByType: string;
    patchType?: string | null;
    tableType: string;
    updatePayloadType?: string | null;
}
/** Information about a primary key constraint */
export interface MetaPrimaryKeyConstraint {
    fields: MetaField[];
    name: string;
}
/** Table query/mutation names */
export interface MetaQuery {
    all: string;
    create?: string | null;
    delete?: string | null;
    one?: string | null;
    update?: string | null;
}
/** Realtime metadata for a table with @realtime tag */
export interface MetaRealtime {
    /** The generated subscription field name (e.g. onPostChanged) */
    subscriptionFieldName: string;
}
/** Table relations */
export interface MetaRelations {
    belongsTo: MetaBelongsToRelation[];
    has: MetaHasRelation[];
    hasMany: MetaHasRelation[];
    hasOne: MetaHasRelation[];
    manyToMany: MetaManyToManyRelation[];
}
/** Search metadata for a table */
export interface MetaSearch {
    /** Active search algorithms on this table */
    algorithms: string[];
    /** Searchable columns with their algorithm */
    columns: MetaSearchColumn[];
    /** Per-table search configuration */
    config?: MetaSearchConfig | null;
    /** Whether unifiedSearch composite filter is available */
    hasUnifiedSearch: boolean;
}
/** Storage metadata for a table */
export interface MetaStorage {
    /** Whether this table is a storage buckets table */
    isBucketsTable: boolean;
    /** Whether this table is a storage files table */
    isFilesTable: boolean;
}
/** Information about a unique constraint */
export interface MetaUniqueConstraint {
    fields: MetaField[];
    name: string;
}
/** Information about a PostgreSQL enum type */
export interface MetaEnum {
    /** The PostgreSQL enum type name */
    name: string;
    /** Allowed values for this enum */
    values: string[];
}
/** Information about a PostgreSQL type */
export interface MetaType {
    gqlType: string;
    hasDefault?: boolean | null;
    isArray: boolean;
    isNotNull?: boolean | null;
    pgType: string;
    subtype?: string | null;
}
/** Reference to a related table */
export interface MetaRefTable {
    name: string;
}
/** A translatable field */
export interface MetaI18nField {
    /** GraphQL field name */
    name: string;
    /** PostgreSQL column type (text, citext) */
    type: string;
}
/** A belongs-to (forward FK) relation */
export interface MetaBelongsToRelation {
    fieldName?: string | null;
    isUnique: boolean;
    keys: MetaField[];
    references: MetaRefTable;
    type?: string | null;
}
/** A has-one or has-many (reverse FK) relation */
export interface MetaHasRelation {
    fieldName?: string | null;
    isUnique: boolean;
    keys: MetaField[];
    referencedBy: MetaRefTable;
    type?: string | null;
}
/** A many-to-many relation via junction table */
export interface MetaManyToManyRelation {
    fieldName?: string | null;
    junctionLeftConstraint: MetaForeignKeyConstraint;
    junctionLeftKeyAttributes: MetaField[];
    junctionRightConstraint: MetaForeignKeyConstraint;
    junctionRightKeyAttributes: MetaField[];
    junctionTable: MetaRefTable;
    leftKeyAttributes: MetaField[];
    rightKeyAttributes: MetaField[];
    rightTable: MetaRefTable;
    type?: string | null;
}
/** A searchable column with its algorithm */
export interface MetaSearchColumn {
    /** Search algorithm: tsvector, bm25, trgm, or vector */
    algorithm: string;
    /** Column name (camelCase) */
    name: string;
}
/** Per-table search configuration from @searchConfig smart tag */
export interface MetaSearchConfig {
    /** Exponential decay factor per day */
    boostRecencyDecay?: number | null;
    /** Field used for recency decay */
    boostRecencyField?: string | null;
    /** Whether recency boosting is enabled */
    boostRecent: boolean;
    /** JSON-encoded per-adapter score weights */
    weights?: string | null;
}
