/**
 * GraphQL schema types for custom operations
 * @generated by @constructive-io/graphql-codegen
 * DO NOT EDIT - changes will be overwritten
 */
import type { Config, PlatformConfig, PlatformInternalSecret, PlatformSecret, Secret, DatetimeFilter, JSONFilter, StringFilter, UUIDFilter } from './types';
/** Methods to use when ordering `Config`. */
export type ConfigOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VALUE_ASC' | 'VALUE_DESC';
/** Methods to use when ordering `PlatformConfig`. */
export type PlatformConfigOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'EXPIRES_AT_ASC' | 'EXPIRES_AT_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'VALUE_ASC' | 'VALUE_DESC';
/** Methods to use when ordering `PlatformInternalSecret`. */
export type PlatformInternalSecretOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'RETIRED_AT_ASC' | 'RETIRED_AT_DESC' | 'ROTATED_AT_ASC' | 'ROTATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
/** Methods to use when ordering `PlatformSecret`. */
export type PlatformSecretOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'RETIRED_AT_ASC' | 'RETIRED_AT_DESC' | 'ROTATED_AT_ASC' | 'ROTATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
/** Methods to use when ordering `Secret`. */
export type SecretOrderBy = 'ANNOTATIONS_ASC' | 'ANNOTATIONS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'LABELS_ASC' | 'LABELS_DESC' | 'NAMESPACE_ID_ASC' | 'NAMESPACE_ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PROVIDER_ASC' | 'PROVIDER_DESC' | 'RETIRED_AT_ASC' | 'RETIRED_AT_DESC' | 'ROTATED_AT_ASC' | 'ROTATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
/** A filter to be used against `Config` object types. All fields are combined with a logical ‘and.’ */
export interface ConfigFilter {
    /** Checks for all expressions in this list. */
    and?: ConfigFilter[];
    /** 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 `expiresAt` field. */
    expiresAt?: DatetimeFilter;
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `labels` field. */
    labels?: JSONFilter;
    /** Filter by the object’s `name` field. */
    name?: StringFilter;
    /** Filter by the object’s `namespaceId` field. */
    namespaceId?: UUIDFilter;
    /** Negates the expression. */
    not?: ConfigFilter;
    /** Checks for any expressions in this list. */
    or?: ConfigFilter[];
    /** Filter by the object’s `provider` field. */
    provider?: StringFilter;
    /** Filter by the object’s `updatedAt` field. */
    updatedAt?: DatetimeFilter;
    /** Filter by the object’s `value` field. */
    value?: StringFilter;
}
/** An input for mutations affecting `Config` */
export interface ConfigInput {
    /** Freeform metadata for tooling and operational notes */
    annotations?: unknown;
    createdAt?: string;
    /** Database that owns this resource (database-scoped isolation) */
    databaseId: string;
    /** Human-readable note about this config entry */
    description?: string;
    /** Optional expiration timestamp for time-limited config entries */
    expiresAt?: string;
    /** Unique identifier for this config entry */
    id?: string;
    /** Key/value pairs for selecting/filtering config entries */
    labels?: unknown;
    /** Key name identifying the config entry */
    name: string;
    /** FK to namespaces — logical grouping for config entries */
    namespaceId: string;
    /** Integration provider slug (e.g. mailgun, postgres). Used by the UI to group config entries by integration. No FK. */
    provider?: string;
    updatedAt?: string;
    /** Plaintext config value */
    value?: string;
}
/** Represents an update to a `Config`. Fields that are set will be updated. */
export interface ConfigPatch {
    /** Freeform metadata for tooling and operational notes */
    annotations?: unknown;
    createdAt?: string;
    /** Database that owns this resource (database-scoped isolation) */
    databaseId?: string;
    /** Human-readable note about this config entry */
    description?: string;
    /** Optional expiration timestamp for time-limited config entries */
    expiresAt?: string;
    /** Unique identifier for this config entry */
    id?: string;
    /** Key/value pairs for selecting/filtering config entries */
    labels?: unknown;
    /** Key name identifying the config entry */
    name?: string;
    /** FK to namespaces — logical grouping for config entries */
    namespaceId?: string;
    /** Integration provider slug (e.g. mailgun, postgres). Used by the UI to group config entries by integration. No FK. */
    provider?: string;
    updatedAt?: string;
    /** Plaintext config value */
    value?: string;
}
export interface CreateConfigInput {
    clientMutationId?: string;
    /** The `Config` to be created by this mutation. */
    config: ConfigInput;
}
export interface CreatePlatformConfigInput {
    clientMutationId?: string;
    /** The `PlatformConfig` to be created by this mutation. */
    platformConfig: PlatformConfigInput;
}
export interface DeleteConfigInput {
    clientMutationId?: string;
    /** Unique identifier for this config entry */
    id: string;
}
export interface DeletePlatformConfigInput {
    clientMutationId?: string;
    /** Unique identifier for this config entry */
    id: string;
}
/** A filter to be used against `PlatformConfig` object types. All fields are combined with a logical ‘and.’ */
export interface PlatformConfigFilter {
    /** Checks for all expressions in this list. */
    and?: PlatformConfigFilter[];
    /** 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 `expiresAt` field. */
    expiresAt?: DatetimeFilter;
    /** Filter by the object’s `id` field. */
    id?: UUIDFilter;
    /** Filter by the object’s `labels` field. */
    labels?: JSONFilter;
    /** Filter by the object’s `name` field. */
    name?: StringFilter;
    /** Filter by the object’s `namespaceId` field. */
    namespaceId?: UUIDFilter;
    /** Negates the expression. */
    not?: PlatformConfigFilter;
    /** Checks for any expressions in this list. */
    or?: PlatformConfigFilter[];
    /** Filter by the object’s `provider` field. */
    provider?: StringFilter;
    /** Filter by the object’s `updatedAt` field. */
    updatedAt?: DatetimeFilter;
    /** Filter by the object’s `value` field. */
    value?: StringFilter;
}
/** An input for mutations affecting `PlatformConfig` */
export interface PlatformConfigInput {
    /** Freeform metadata for tooling and operational notes */
    annotations?: unknown;
    createdAt?: string;
    /** Human-readable note about this config entry */
    description?: string;
    /** Optional expiration timestamp for time-limited config entries */
    expiresAt?: string;
    /** Unique identifier for this config entry */
    id?: string;
    /** Key/value pairs for selecting/filtering config entries */
    labels?: unknown;
    /** Key name identifying the config entry */
    name: string;
    /** FK to namespaces — logical grouping for config entries */
    namespaceId: string;
    /** Integration provider slug (e.g. mailgun, postgres). Used by the UI to group config entries by integration. No FK. */
    provider?: string;
    updatedAt?: string;
    /** Plaintext config value */
    value?: string;
}
/** Represents an update to a `PlatformConfig`. Fields that are set will be updated. */
export interface PlatformConfigPatch {
    /** Freeform metadata for tooling and operational notes */
    annotations?: unknown;
    createdAt?: string;
    /** Human-readable note about this config entry */
    description?: string;
    /** Optional expiration timestamp for time-limited config entries */
    expiresAt?: string;
    /** Unique identifier for this config entry */
    id?: string;
    /** Key/value pairs for selecting/filtering config entries */
    labels?: unknown;
    /** Key name identifying the config entry */
    name?: string;
    /** FK to namespaces — logical grouping for config entries */
    namespaceId?: string;
    /** Integration provider slug (e.g. mailgun, postgres). Used by the UI to group config entries by integration. No FK. */
    provider?: string;
    updatedAt?: string;
    /** Plaintext config value */
    value?: string;
}
/** A filter to be used against `PlatformInternalSecret` object types. All fields are combined with a logical ‘and.’ */
export interface PlatformInternalSecretFilter {
    /** Checks for all expressions in this list. */
    and?: PlatformInternalSecretFilter[];
    /** 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 `labels` field. */
    labels?: JSONFilter;
    /** Filter by the object’s `name` field. */
    name?: StringFilter;
    /** Filter by the object’s `namespaceId` field. */
    namespaceId?: UUIDFilter;
    /** Negates the expression. */
    not?: PlatformInternalSecretFilter;
    /** Checks for any expressions in this list. */
    or?: PlatformInternalSecretFilter[];
    /** Filter by the object’s `retiredAt` field. */
    retiredAt?: DatetimeFilter;
    /** Filter by the object’s `rotatedAt` field. */
    rotatedAt?: DatetimeFilter;
    /** Filter by the object’s `updatedAt` field. */
    updatedAt?: DatetimeFilter;
}
export interface PlatformInternalSecretsDelInput {
    clientMutationId?: string;
    namespaceId?: string;
    secretName?: string;
}
export interface PlatformInternalSecretsRemoveArrayInput {
    clientMutationId?: string;
    namespaceId?: string;
    secretNames?: string[];
}
export interface PlatformInternalSecretsRotateInput {
    algo?: string;
    clientMutationId?: string;
    namespaceId?: string;
    secretName?: string;
    secretValue?: string;
}
export interface PlatformInternalSecretsSetInput {
    algo?: string;
    clientMutationId?: string;
    secretName?: string;
    secretNamespaceId?: string;
    secretValue?: string;
}
/** A filter to be used against `PlatformSecret` object types. All fields are combined with a logical ‘and.’ */
export interface PlatformSecretFilter {
    /** Checks for all expressions in this list. */
    and?: PlatformSecretFilter[];
    /** 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 `labels` field. */
    labels?: JSONFilter;
    /** Filter by the object’s `name` field. */
    name?: StringFilter;
    /** Filter by the object’s `namespaceId` field. */
    namespaceId?: UUIDFilter;
    /** Negates the expression. */
    not?: PlatformSecretFilter;
    /** Checks for any expressions in this list. */
    or?: PlatformSecretFilter[];
    /** Filter by the object’s `provider` field. */
    provider?: StringFilter;
    /** Filter by the object’s `retiredAt` field. */
    retiredAt?: DatetimeFilter;
    /** Filter by the object’s `rotatedAt` field. */
    rotatedAt?: DatetimeFilter;
    /** Filter by the object’s `updatedAt` field. */
    updatedAt?: DatetimeFilter;
}
export interface PlatformSecretsDelInput {
    clientMutationId?: string;
    namespaceId?: string;
    secretName?: string;
}
export interface PlatformSecretsRemoveArrayInput {
    clientMutationId?: string;
    namespaceId?: string;
    secretNames?: string[];
}
export interface PlatformSecretsRotateInput {
    algo?: string;
    clientMutationId?: string;
    namespaceId?: string;
    secretName?: string;
    secretValue?: string;
}
export interface PlatformSecretsSetInput {
    algo?: string;
    clientMutationId?: string;
    provider?: string;
    secretName?: string;
    secretNamespaceId?: string;
    secretValue?: 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;
}
/** A filter to be used against `Secret` object types. All fields are combined with a logical ‘and.’ */
export interface SecretFilter {
    /** Checks for all expressions in this list. */
    and?: SecretFilter[];
    /** 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 `labels` field. */
    labels?: JSONFilter;
    /** Filter by the object’s `name` field. */
    name?: StringFilter;
    /** Filter by the object’s `namespaceId` field. */
    namespaceId?: UUIDFilter;
    /** Negates the expression. */
    not?: SecretFilter;
    /** Checks for any expressions in this list. */
    or?: SecretFilter[];
    /** Filter by the object’s `provider` field. */
    provider?: StringFilter;
    /** Filter by the object’s `retiredAt` field. */
    retiredAt?: DatetimeFilter;
    /** Filter by the object’s `rotatedAt` field. */
    rotatedAt?: DatetimeFilter;
    /** Filter by the object’s `updatedAt` field. */
    updatedAt?: DatetimeFilter;
}
export interface UpdateConfigInput {
    clientMutationId?: string;
    /** An object where the defined keys will be set on the `Config` being updated. */
    configPatch: ConfigPatch;
    /** Unique identifier for this config entry */
    id: string;
}
export interface UpdatePlatformConfigInput {
    clientMutationId?: string;
    /** Unique identifier for this config entry */
    id: string;
    /** An object where the defined keys will be set on the `PlatformConfig` being updated. */
    platformConfigPatch: PlatformConfigPatch;
}
export interface _SecretsDelInput {
    clientMutationId?: string;
    databaseId?: string;
    namespaceId?: string;
    secretName?: string;
}
export interface _SecretsRemoveArrayInput {
    clientMutationId?: string;
    databaseId?: string;
    namespaceId?: string;
    secretNames?: string[];
}
export interface _SecretsRotateInput {
    algo?: string;
    clientMutationId?: string;
    databaseId?: string;
    namespaceId?: string;
    secretName?: string;
    secretValue?: string;
}
export interface _SecretsSetInput {
    algo?: string;
    clientMutationId?: string;
    provider?: string;
    scopeDatabaseId?: string;
    secretName?: string;
    secretNamespaceId?: string;
    secretValue?: string;
}
/** Root meta schema type */
export interface MetaSchema {
    tables: MetaTable[];
}
/** A connection to a list of `Config` values. */
export interface ConfigConnection {
    edges: ConfigEdge[];
    nodes: Config[];
    pageInfo: PageInfo;
    totalCount: number;
}
/** A connection to a list of `PlatformConfig` values. */
export interface PlatformConfigConnection {
    edges: PlatformConfigEdge[];
    nodes: PlatformConfig[];
    pageInfo: PageInfo;
    totalCount: number;
}
/** A connection to a list of `PlatformInternalSecret` values. */
export interface PlatformInternalSecretConnection {
    edges: PlatformInternalSecretEdge[];
    nodes: PlatformInternalSecret[];
    pageInfo: PageInfo;
    totalCount: number;
}
/** A connection to a list of `PlatformSecret` values. */
export interface PlatformSecretConnection {
    edges: PlatformSecretEdge[];
    nodes: PlatformSecret[];
    pageInfo: PageInfo;
    totalCount: number;
}
/** A connection to a list of `Secret` values. */
export interface SecretConnection {
    edges: SecretEdge[];
    nodes: Secret[];
    pageInfo: PageInfo;
    totalCount: number;
}
export interface _SecretsDelPayload {
    clientMutationId?: string | null;
}
export interface _SecretsRemoveArrayPayload {
    clientMutationId?: string | null;
}
export interface _SecretsRotatePayload {
    clientMutationId?: string | null;
    result?: boolean | null;
}
export interface _SecretsSetPayload {
    clientMutationId?: string | null;
    result?: boolean | null;
}
export interface CreateConfigPayload {
    clientMutationId?: string | null;
    /** The `Config` that was created by this mutation. */
    config?: Config | null;
    configEdge?: ConfigEdge | null;
}
export interface CreatePlatformConfigPayload {
    clientMutationId?: string | null;
    /** The `PlatformConfig` that was created by this mutation. */
    platformConfig?: PlatformConfig | null;
    platformConfigEdge?: PlatformConfigEdge | null;
}
export interface DeleteConfigPayload {
    clientMutationId?: string | null;
    /** The `Config` that was deleted by this mutation. */
    config?: Config | null;
    configEdge?: ConfigEdge | null;
}
export interface DeletePlatformConfigPayload {
    clientMutationId?: string | null;
    /** The `PlatformConfig` that was deleted by this mutation. */
    platformConfig?: PlatformConfig | null;
    platformConfigEdge?: PlatformConfigEdge | null;
}
export interface PlatformInternalSecretsDelPayload {
    clientMutationId?: string | null;
}
export interface PlatformInternalSecretsRemoveArrayPayload {
    clientMutationId?: string | null;
}
export interface PlatformInternalSecretsRotatePayload {
    clientMutationId?: string | null;
    result?: boolean | null;
}
export interface PlatformInternalSecretsSetPayload {
    clientMutationId?: string | null;
    result?: boolean | null;
}
export interface PlatformSecretsDelPayload {
    clientMutationId?: string | null;
}
export interface PlatformSecretsRemoveArrayPayload {
    clientMutationId?: string | null;
}
export interface PlatformSecretsRotatePayload {
    clientMutationId?: string | null;
    result?: boolean | null;
}
export interface PlatformSecretsSetPayload {
    clientMutationId?: string | null;
    result?: boolean | 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 UpdateConfigPayload {
    clientMutationId?: string | null;
    /** The `Config` that was updated by this mutation. */
    config?: Config | null;
    configEdge?: ConfigEdge | null;
}
export interface UpdatePlatformConfigPayload {
    clientMutationId?: string | null;
    /** The `PlatformConfig` that was updated by this mutation. */
    platformConfig?: PlatformConfig | null;
    platformConfigEdge?: PlatformConfigEdge | 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 `Config` edge in the connection. */
export interface ConfigEdge {
    cursor?: string | null;
    /** The `Config` at the end of the edge. */
    node?: Config | 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 `PlatformConfig` edge in the connection. */
export interface PlatformConfigEdge {
    cursor?: string | null;
    /** The `PlatformConfig` at the end of the edge. */
    node?: PlatformConfig | null;
}
/** A `PlatformInternalSecret` edge in the connection. */
export interface PlatformInternalSecretEdge {
    cursor?: string | null;
    /** The `PlatformInternalSecret` at the end of the edge. */
    node?: PlatformInternalSecret | null;
}
/** A `PlatformSecret` edge in the connection. */
export interface PlatformSecretEdge {
    cursor?: string | null;
    /** The `PlatformSecret` at the end of the edge. */
    node?: PlatformSecret | null;
}
/** A `Secret` edge in the connection. */
export interface SecretEdge {
    cursor?: string | null;
    /** The `Secret` at the end of the edge. */
    node?: Secret | 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;
}
