// ⚠️ GENERATED FILE - DO NOT EDIT // This file is automatically generated by 'prisma-next contract emit'. // To regenerate, run: prisma-next contract emit import type { QueryOperationTypes as PgAdapterQueryOps } from '@prisma-next/adapter-postgres/operation-types'; import type { Bit, Char, CodecTypes as PgTypes, Interval, JsonValue, Numeric, Time, Timestamp, Timestamptz, Timetz, VarBit, Varchar, } from '@prisma-next/target-postgres/codec-types'; import type { ContractWithTypeMaps, TypeMaps as TypeMapsType, } from '@prisma-next/sql-contract/types'; import type { Contract as ContractType, ExecutionHashBase, NamespaceId, ProfileHashBase, StorageHashBase, } from '@prisma-next/contract/types'; export type StorageHash = StorageHashBase<'sha256:1856d476008cdfac9fd383f74be8015f6cb313515966c3c6cba4067f5bc15858'>; export type ExecutionHash = ExecutionHashBase; export type ProfileHash = ProfileHashBase<'sha256:9c8aa3114e84ed3b7ea2bd57526d9c2e1bf7c5292be694e9d3801f566fda7ccb'>; export type CodecTypes = PgTypes; export type LaneCodecTypes = CodecTypes; export type QueryOperationTypes = PgAdapterQueryOps; type DefaultLiteralValue = CodecId extends keyof CodecTypes ? CodecTypes[CodecId]['output'] : _Encoded; export type FieldOutputTypes = { readonly auth: { readonly AuditLogEntries: { readonly id: CodecTypes['pg/uuid@1']['output']; readonly instanceId: CodecTypes['pg/uuid@1']['output'] | null; readonly payload: CodecTypes['pg/json@1']['output'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly ipAddress: Varchar<64>; }; readonly AuthIdentity: { readonly id: CodecTypes['pg/uuid@1']['output']; readonly providerId: CodecTypes['pg/text@1']['output']; readonly userId: CodecTypes['pg/uuid@1']['output']; readonly identityData: CodecTypes['pg/jsonb@1']['output']; readonly provider: CodecTypes['pg/text@1']['output']; readonly lastSignInAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly updatedAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly email: CodecTypes['pg/text@1']['output'] | null; }; readonly AuthSession: { readonly id: CodecTypes['pg/uuid@1']['output']; readonly userId: CodecTypes['pg/uuid@1']['output']; readonly createdAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly updatedAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly factorId: CodecTypes['pg/uuid@1']['output'] | null; readonly aal: 'aal1' | 'aal2' | 'aal3' | null; readonly notAfter: CodecTypes['pg/timestamptz@1']['output'] | null; readonly refreshedAt: CodecTypes['pg/timestamp@1']['output'] | null; readonly userAgent: CodecTypes['pg/text@1']['output'] | null; readonly ip: CodecTypes['pg/inet@1']['output'] | null; readonly tag: CodecTypes['pg/text@1']['output'] | null; readonly oauthClientId: CodecTypes['pg/uuid@1']['output'] | null; readonly refreshTokenHmacKey: CodecTypes['pg/text@1']['output'] | null; readonly refreshTokenCounter: CodecTypes['pg/int8@1']['output'] | null; readonly scopes: CodecTypes['pg/text@1']['output'] | null; }; readonly AuthUser: { readonly id: CodecTypes['pg/uuid@1']['output']; readonly instanceId: CodecTypes['pg/uuid@1']['output'] | null; readonly aud: Varchar<255> | null; readonly role: Varchar<255> | null; readonly email: Varchar<255> | null; readonly encryptedPassword: Varchar<255> | null; readonly emailConfirmedAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly invitedAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly confirmationToken: Varchar<255> | null; readonly confirmationSentAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly recoveryToken: Varchar<255> | null; readonly recoverySentAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly emailChangeTokenNew: Varchar<255> | null; readonly emailChange: Varchar<255> | null; readonly emailChangeSentAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly lastSignInAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly rawAppMetaData: CodecTypes['pg/jsonb@1']['output'] | null; readonly rawUserMetaData: CodecTypes['pg/jsonb@1']['output'] | null; readonly isSuperAdmin: CodecTypes['pg/bool@1']['output'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly updatedAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly phone: CodecTypes['pg/text@1']['output'] | null; readonly phoneConfirmedAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly phoneChange: CodecTypes['pg/text@1']['output'] | null; readonly phoneChangeToken: Varchar<255> | null; readonly phoneChangeSentAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly confirmedAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly emailChangeTokenCurrent: Varchar<255> | null; readonly emailChangeConfirmStatus: CodecTypes['pg/int2@1']['output'] | null; readonly bannedUntil: CodecTypes['pg/timestamptz@1']['output'] | null; readonly reauthenticationToken: Varchar<255> | null; readonly reauthenticationSentAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly isSsoUser: CodecTypes['pg/bool@1']['output']; readonly deletedAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly isAnonymous: CodecTypes['pg/bool@1']['output']; }; readonly CustomOauthProviders: { readonly id: CodecTypes['pg/uuid@1']['output']; readonly providerType: CodecTypes['pg/text@1']['output']; readonly identifier: CodecTypes['pg/text@1']['output']; readonly name: CodecTypes['pg/text@1']['output']; readonly clientId: CodecTypes['pg/text@1']['output']; readonly clientSecret: CodecTypes['pg/text@1']['output']; readonly acceptableClientIds: ReadonlyArray; readonly scopes: ReadonlyArray; readonly pkceEnabled: CodecTypes['pg/bool@1']['output']; readonly attributeMapping: CodecTypes['pg/jsonb@1']['output']; readonly authorizationParams: CodecTypes['pg/jsonb@1']['output']; readonly enabled: CodecTypes['pg/bool@1']['output']; readonly emailOptional: CodecTypes['pg/bool@1']['output']; readonly issuer: CodecTypes['pg/text@1']['output'] | null; readonly discoveryUrl: CodecTypes['pg/text@1']['output'] | null; readonly skipNonceCheck: CodecTypes['pg/bool@1']['output']; readonly cachedDiscovery: CodecTypes['pg/jsonb@1']['output'] | null; readonly discoveryCachedAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly authorizationUrl: CodecTypes['pg/text@1']['output'] | null; readonly tokenUrl: CodecTypes['pg/text@1']['output'] | null; readonly userinfoUrl: CodecTypes['pg/text@1']['output'] | null; readonly jwksUri: CodecTypes['pg/text@1']['output'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['output']; readonly updatedAt: CodecTypes['pg/timestamptz@1']['output']; }; readonly FlowState: { readonly id: CodecTypes['pg/uuid@1']['output']; readonly userId: CodecTypes['pg/uuid@1']['output'] | null; readonly authCode: CodecTypes['pg/text@1']['output'] | null; readonly codeChallengeMethod: 's256' | 'plain' | null; readonly codeChallenge: CodecTypes['pg/text@1']['output'] | null; readonly providerType: CodecTypes['pg/text@1']['output']; readonly providerAccessToken: CodecTypes['pg/text@1']['output'] | null; readonly providerRefreshToken: CodecTypes['pg/text@1']['output'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly updatedAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly authenticationMethod: CodecTypes['pg/text@1']['output']; readonly authCodeIssuedAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly inviteToken: CodecTypes['pg/text@1']['output'] | null; readonly referrer: CodecTypes['pg/text@1']['output'] | null; readonly oauthClientStateId: CodecTypes['pg/uuid@1']['output'] | null; readonly linkingTargetId: CodecTypes['pg/uuid@1']['output'] | null; readonly emailOptional: CodecTypes['pg/bool@1']['output']; }; readonly Instances: { readonly id: CodecTypes['pg/uuid@1']['output']; readonly uuid: CodecTypes['pg/uuid@1']['output'] | null; readonly rawBaseConfig: CodecTypes['pg/text@1']['output'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly updatedAt: CodecTypes['pg/timestamptz@1']['output'] | null; }; readonly MfaAmrClaims: { readonly id: CodecTypes['pg/uuid@1']['output']; readonly sessionId: CodecTypes['pg/uuid@1']['output']; readonly createdAt: CodecTypes['pg/timestamptz@1']['output']; readonly updatedAt: CodecTypes['pg/timestamptz@1']['output']; readonly authenticationMethod: CodecTypes['pg/text@1']['output']; }; readonly MfaChallenges: { readonly id: CodecTypes['pg/uuid@1']['output']; readonly factorId: CodecTypes['pg/uuid@1']['output']; readonly createdAt: CodecTypes['pg/timestamptz@1']['output']; readonly verifiedAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly ipAddress: CodecTypes['pg/inet@1']['output']; readonly otpCode: CodecTypes['pg/text@1']['output'] | null; readonly webAuthnSessionData: CodecTypes['pg/jsonb@1']['output'] | null; }; readonly MfaFactors: { readonly id: CodecTypes['pg/uuid@1']['output']; readonly userId: CodecTypes['pg/uuid@1']['output']; readonly friendlyName: CodecTypes['pg/text@1']['output'] | null; readonly factorType: 'totp' | 'webauthn' | 'phone'; readonly status: 'unverified' | 'verified'; readonly createdAt: CodecTypes['pg/timestamptz@1']['output']; readonly updatedAt: CodecTypes['pg/timestamptz@1']['output']; readonly secret: CodecTypes['pg/text@1']['output'] | null; readonly phone: CodecTypes['pg/text@1']['output'] | null; readonly lastChallengedAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly webAuthnCredential: CodecTypes['pg/jsonb@1']['output'] | null; readonly webAuthnAaguid: CodecTypes['pg/uuid@1']['output'] | null; readonly lastWebauthnChallengeData: CodecTypes['pg/jsonb@1']['output'] | null; }; readonly OauthAuthorizations: { readonly id: CodecTypes['pg/uuid@1']['output']; readonly authorizationId: CodecTypes['pg/text@1']['output']; readonly clientId: CodecTypes['pg/uuid@1']['output']; readonly userId: CodecTypes['pg/uuid@1']['output'] | null; readonly redirectUri: CodecTypes['pg/text@1']['output']; readonly scope: CodecTypes['pg/text@1']['output']; readonly state: CodecTypes['pg/text@1']['output'] | null; readonly resource: CodecTypes['pg/text@1']['output'] | null; readonly codeChallenge: CodecTypes['pg/text@1']['output'] | null; readonly codeChallengeMethod: 's256' | 'plain' | null; readonly responseType: 'code'; readonly status: 'pending' | 'approved' | 'denied' | 'expired'; readonly authorizationCode: CodecTypes['pg/text@1']['output'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['output']; readonly expiresAt: CodecTypes['pg/timestamptz@1']['output']; readonly approvedAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly nonce: CodecTypes['pg/text@1']['output'] | null; }; readonly OauthClients: { readonly id: CodecTypes['pg/uuid@1']['output']; readonly clientSecretHash: CodecTypes['pg/text@1']['output'] | null; readonly registrationType: 'dynamic' | 'manual'; readonly redirectUris: CodecTypes['pg/text@1']['output']; readonly grantTypes: CodecTypes['pg/text@1']['output']; readonly clientName: CodecTypes['pg/text@1']['output'] | null; readonly clientUri: CodecTypes['pg/text@1']['output'] | null; readonly logoUri: CodecTypes['pg/text@1']['output'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['output']; readonly updatedAt: CodecTypes['pg/timestamptz@1']['output']; readonly deletedAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly clientType: 'public' | 'confidential'; readonly tokenEndpointAuthMethod: CodecTypes['pg/text@1']['output']; }; readonly OauthClientStates: { readonly id: CodecTypes['pg/uuid@1']['output']; readonly providerType: CodecTypes['pg/text@1']['output']; readonly codeVerifier: CodecTypes['pg/text@1']['output'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['output']; }; readonly OauthConsents: { readonly id: CodecTypes['pg/uuid@1']['output']; readonly userId: CodecTypes['pg/uuid@1']['output']; readonly clientId: CodecTypes['pg/uuid@1']['output']; readonly scopes: CodecTypes['pg/text@1']['output']; readonly grantedAt: CodecTypes['pg/timestamptz@1']['output']; readonly revokedAt: CodecTypes['pg/timestamptz@1']['output'] | null; }; readonly OneTimeTokens: { readonly id: CodecTypes['pg/uuid@1']['output']; readonly userId: CodecTypes['pg/uuid@1']['output']; readonly tokenType: | 'confirmation_token' | 'reauthentication_token' | 'recovery_token' | 'email_change_token_new' | 'email_change_token_current' | 'phone_change_token'; readonly tokenHash: CodecTypes['pg/text@1']['output']; readonly relatesTo: CodecTypes['pg/text@1']['output']; readonly createdAt: CodecTypes['pg/timestamp@1']['output']; readonly updatedAt: CodecTypes['pg/timestamp@1']['output']; }; readonly RefreshTokens: { readonly id: CodecTypes['pg/int8@1']['output']; readonly instanceId: CodecTypes['pg/uuid@1']['output'] | null; readonly token: Varchar<255> | null; readonly userId: Varchar<255> | null; readonly revoked: CodecTypes['pg/bool@1']['output'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly updatedAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly parent: Varchar<255> | null; readonly sessionId: CodecTypes['pg/uuid@1']['output'] | null; }; readonly SamlProviders: { readonly id: CodecTypes['pg/uuid@1']['output']; readonly ssoProviderId: CodecTypes['pg/uuid@1']['output']; readonly entityId: CodecTypes['pg/text@1']['output']; readonly metadataXml: CodecTypes['pg/text@1']['output']; readonly metadataUrl: CodecTypes['pg/text@1']['output'] | null; readonly attributeMapping: CodecTypes['pg/jsonb@1']['output'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly updatedAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly nameIdFormat: CodecTypes['pg/text@1']['output'] | null; }; readonly SamlRelayStates: { readonly id: CodecTypes['pg/uuid@1']['output']; readonly ssoProviderId: CodecTypes['pg/uuid@1']['output']; readonly requestId: CodecTypes['pg/text@1']['output']; readonly forEmail: CodecTypes['pg/text@1']['output'] | null; readonly redirectTo: CodecTypes['pg/text@1']['output'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly updatedAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly flowStateId: CodecTypes['pg/uuid@1']['output'] | null; }; readonly SchemaMigrations: { readonly version: Varchar<255> }; readonly SsoDomains: { readonly id: CodecTypes['pg/uuid@1']['output']; readonly ssoProviderId: CodecTypes['pg/uuid@1']['output']; readonly domain: CodecTypes['pg/text@1']['output']; readonly createdAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly updatedAt: CodecTypes['pg/timestamptz@1']['output'] | null; }; readonly SsoProviders: { readonly id: CodecTypes['pg/uuid@1']['output']; readonly resourceId: CodecTypes['pg/text@1']['output'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly updatedAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly disabled: CodecTypes['pg/bool@1']['output'] | null; }; readonly WebauthnChallenges: { readonly id: CodecTypes['pg/uuid@1']['output']; readonly userId: CodecTypes['pg/uuid@1']['output'] | null; readonly challengeType: CodecTypes['pg/text@1']['output']; readonly sessionData: CodecTypes['pg/jsonb@1']['output']; readonly createdAt: CodecTypes['pg/timestamptz@1']['output']; readonly expiresAt: CodecTypes['pg/timestamptz@1']['output']; }; readonly WebauthnCredentials: { readonly id: CodecTypes['pg/uuid@1']['output']; readonly userId: CodecTypes['pg/uuid@1']['output']; readonly credentialId: CodecTypes['pg/bytea@1']['output']; readonly publicKey: CodecTypes['pg/bytea@1']['output']; readonly attestationType: CodecTypes['pg/text@1']['output']; readonly aaguid: CodecTypes['pg/uuid@1']['output'] | null; readonly signCount: CodecTypes['pg/int8@1']['output']; readonly transports: CodecTypes['pg/jsonb@1']['output']; readonly backupEligible: CodecTypes['pg/bool@1']['output']; readonly backedUp: CodecTypes['pg/bool@1']['output']; readonly friendlyName: CodecTypes['pg/text@1']['output']; readonly createdAt: CodecTypes['pg/timestamptz@1']['output']; readonly updatedAt: CodecTypes['pg/timestamptz@1']['output']; readonly lastUsedAt: CodecTypes['pg/timestamptz@1']['output'] | null; }; }; readonly storage: { readonly BucketsAnalytics: { readonly id: CodecTypes['pg/uuid@1']['output']; readonly name: CodecTypes['pg/text@1']['output']; readonly _type: 'STANDARD' | 'ANALYTICS' | 'VECTOR'; readonly format: CodecTypes['pg/text@1']['output']; readonly createdAt: CodecTypes['pg/timestamptz@1']['output']; readonly updatedAt: CodecTypes['pg/timestamptz@1']['output']; readonly deletedAt: CodecTypes['pg/timestamptz@1']['output'] | null; }; readonly BucketsVectors: { readonly id: CodecTypes['pg/text@1']['output']; readonly _type: 'STANDARD' | 'ANALYTICS' | 'VECTOR'; readonly createdAt: CodecTypes['pg/timestamptz@1']['output']; readonly updatedAt: CodecTypes['pg/timestamptz@1']['output']; }; readonly IcebergNamespaces: { readonly id: CodecTypes['pg/uuid@1']['output']; readonly bucketName: CodecTypes['pg/text@1']['output']; readonly name: CodecTypes['pg/text@1']['output']; readonly createdAt: CodecTypes['pg/timestamptz@1']['output']; readonly updatedAt: CodecTypes['pg/timestamptz@1']['output']; readonly metadata: CodecTypes['pg/jsonb@1']['output']; readonly catalogId: CodecTypes['pg/uuid@1']['output']; }; readonly IcebergTables: { readonly id: CodecTypes['pg/uuid@1']['output']; readonly namespaceId: CodecTypes['pg/uuid@1']['output']; readonly bucketName: CodecTypes['pg/text@1']['output']; readonly name: CodecTypes['pg/text@1']['output']; readonly location: CodecTypes['pg/text@1']['output']; readonly createdAt: CodecTypes['pg/timestamptz@1']['output']; readonly updatedAt: CodecTypes['pg/timestamptz@1']['output']; readonly remoteTableId: CodecTypes['pg/text@1']['output'] | null; readonly shardKey: CodecTypes['pg/text@1']['output'] | null; readonly shardId: CodecTypes['pg/text@1']['output'] | null; readonly catalogId: CodecTypes['pg/uuid@1']['output']; }; readonly Migrations: { readonly id: CodecTypes['pg/int4@1']['output']; readonly name: Varchar<100>; readonly hash: Varchar<40>; readonly executedAt: CodecTypes['pg/timestamp@1']['output'] | null; }; readonly S3MultipartUploads: { readonly id: CodecTypes['pg/text@1']['output']; readonly inProgressSize: CodecTypes['pg/int8@1']['output']; readonly uploadSignature: CodecTypes['pg/text@1']['output']; readonly bucketId: CodecTypes['pg/text@1']['output']; readonly key: CodecTypes['pg/text@1']['output']; readonly version: CodecTypes['pg/text@1']['output']; readonly ownerId: CodecTypes['pg/text@1']['output'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['output']; readonly userMetadata: CodecTypes['pg/jsonb@1']['output'] | null; readonly metadata: CodecTypes['pg/jsonb@1']['output'] | null; }; readonly S3MultipartUploadsParts: { readonly id: CodecTypes['pg/uuid@1']['output']; readonly uploadId: CodecTypes['pg/text@1']['output']; readonly size: CodecTypes['pg/int8@1']['output']; readonly partNumber: CodecTypes['pg/int4@1']['output']; readonly bucketId: CodecTypes['pg/text@1']['output']; readonly key: CodecTypes['pg/text@1']['output']; readonly etag: CodecTypes['pg/text@1']['output']; readonly ownerId: CodecTypes['pg/text@1']['output'] | null; readonly version: CodecTypes['pg/text@1']['output']; readonly createdAt: CodecTypes['pg/timestamptz@1']['output']; }; readonly StorageBucket: { readonly id: CodecTypes['pg/text@1']['output']; readonly name: CodecTypes['pg/text@1']['output']; readonly owner: CodecTypes['pg/uuid@1']['output'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly updatedAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly public: CodecTypes['pg/bool@1']['output'] | null; readonly avifAutodetection: CodecTypes['pg/bool@1']['output'] | null; readonly fileSizeLimit: CodecTypes['pg/int8@1']['output'] | null; readonly ownerId: CodecTypes['pg/text@1']['output'] | null; readonly _type: 'STANDARD' | 'ANALYTICS' | 'VECTOR'; }; readonly StorageObject: { readonly id: CodecTypes['pg/uuid@1']['output']; readonly bucketId: CodecTypes['pg/text@1']['output'] | null; readonly name: CodecTypes['pg/text@1']['output'] | null; readonly owner: CodecTypes['pg/uuid@1']['output'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly updatedAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly lastAccessedAt: CodecTypes['pg/timestamptz@1']['output'] | null; readonly metadata: CodecTypes['pg/jsonb@1']['output'] | null; readonly version: CodecTypes['pg/text@1']['output'] | null; readonly ownerId: CodecTypes['pg/text@1']['output'] | null; readonly userMetadata: CodecTypes['pg/jsonb@1']['output'] | null; }; readonly VectorIndexes: { readonly id: CodecTypes['pg/text@1']['output']; readonly name: CodecTypes['pg/text@1']['output']; readonly bucketId: CodecTypes['pg/text@1']['output']; readonly dataType: CodecTypes['pg/text@1']['output']; readonly dimension: CodecTypes['pg/int4@1']['output']; readonly distanceMetric: CodecTypes['pg/text@1']['output']; readonly metadataConfiguration: CodecTypes['pg/jsonb@1']['output'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['output']; readonly updatedAt: CodecTypes['pg/timestamptz@1']['output']; }; }; }; export type FieldInputTypes = { readonly auth: { readonly AuditLogEntries: { readonly id: CodecTypes['pg/uuid@1']['input']; readonly instanceId: CodecTypes['pg/uuid@1']['input'] | null; readonly payload: CodecTypes['pg/json@1']['input'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly ipAddress: CodecTypes['sql/varchar@1']['input']; }; readonly AuthIdentity: { readonly id: CodecTypes['pg/uuid@1']['input']; readonly providerId: CodecTypes['pg/text@1']['input']; readonly userId: CodecTypes['pg/uuid@1']['input']; readonly identityData: CodecTypes['pg/jsonb@1']['input']; readonly provider: CodecTypes['pg/text@1']['input']; readonly lastSignInAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly updatedAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly email: CodecTypes['pg/text@1']['input'] | null; }; readonly AuthSession: { readonly id: CodecTypes['pg/uuid@1']['input']; readonly userId: CodecTypes['pg/uuid@1']['input']; readonly createdAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly updatedAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly factorId: CodecTypes['pg/uuid@1']['input'] | null; readonly aal: 'aal1' | 'aal2' | 'aal3' | null; readonly notAfter: CodecTypes['pg/timestamptz@1']['input'] | null; readonly refreshedAt: CodecTypes['pg/timestamp@1']['input'] | null; readonly userAgent: CodecTypes['pg/text@1']['input'] | null; readonly ip: CodecTypes['pg/inet@1']['input'] | null; readonly tag: CodecTypes['pg/text@1']['input'] | null; readonly oauthClientId: CodecTypes['pg/uuid@1']['input'] | null; readonly refreshTokenHmacKey: CodecTypes['pg/text@1']['input'] | null; readonly refreshTokenCounter: CodecTypes['pg/int8@1']['input'] | null; readonly scopes: CodecTypes['pg/text@1']['input'] | null; }; readonly AuthUser: { readonly id: CodecTypes['pg/uuid@1']['input']; readonly instanceId: CodecTypes['pg/uuid@1']['input'] | null; readonly aud: CodecTypes['sql/varchar@1']['input'] | null; readonly role: CodecTypes['sql/varchar@1']['input'] | null; readonly email: CodecTypes['sql/varchar@1']['input'] | null; readonly encryptedPassword: CodecTypes['sql/varchar@1']['input'] | null; readonly emailConfirmedAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly invitedAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly confirmationToken: CodecTypes['sql/varchar@1']['input'] | null; readonly confirmationSentAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly recoveryToken: CodecTypes['sql/varchar@1']['input'] | null; readonly recoverySentAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly emailChangeTokenNew: CodecTypes['sql/varchar@1']['input'] | null; readonly emailChange: CodecTypes['sql/varchar@1']['input'] | null; readonly emailChangeSentAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly lastSignInAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly rawAppMetaData: CodecTypes['pg/jsonb@1']['input'] | null; readonly rawUserMetaData: CodecTypes['pg/jsonb@1']['input'] | null; readonly isSuperAdmin: CodecTypes['pg/bool@1']['input'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly updatedAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly phone: CodecTypes['pg/text@1']['input'] | null; readonly phoneConfirmedAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly phoneChange: CodecTypes['pg/text@1']['input'] | null; readonly phoneChangeToken: CodecTypes['sql/varchar@1']['input'] | null; readonly phoneChangeSentAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly confirmedAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly emailChangeTokenCurrent: CodecTypes['sql/varchar@1']['input'] | null; readonly emailChangeConfirmStatus: CodecTypes['pg/int2@1']['input'] | null; readonly bannedUntil: CodecTypes['pg/timestamptz@1']['input'] | null; readonly reauthenticationToken: CodecTypes['sql/varchar@1']['input'] | null; readonly reauthenticationSentAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly isSsoUser: CodecTypes['pg/bool@1']['input']; readonly deletedAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly isAnonymous: CodecTypes['pg/bool@1']['input']; }; readonly CustomOauthProviders: { readonly id: CodecTypes['pg/uuid@1']['input']; readonly providerType: CodecTypes['pg/text@1']['input']; readonly identifier: CodecTypes['pg/text@1']['input']; readonly name: CodecTypes['pg/text@1']['input']; readonly clientId: CodecTypes['pg/text@1']['input']; readonly clientSecret: CodecTypes['pg/text@1']['input']; readonly acceptableClientIds: ReadonlyArray; readonly scopes: ReadonlyArray; readonly pkceEnabled: CodecTypes['pg/bool@1']['input']; readonly attributeMapping: CodecTypes['pg/jsonb@1']['input']; readonly authorizationParams: CodecTypes['pg/jsonb@1']['input']; readonly enabled: CodecTypes['pg/bool@1']['input']; readonly emailOptional: CodecTypes['pg/bool@1']['input']; readonly issuer: CodecTypes['pg/text@1']['input'] | null; readonly discoveryUrl: CodecTypes['pg/text@1']['input'] | null; readonly skipNonceCheck: CodecTypes['pg/bool@1']['input']; readonly cachedDiscovery: CodecTypes['pg/jsonb@1']['input'] | null; readonly discoveryCachedAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly authorizationUrl: CodecTypes['pg/text@1']['input'] | null; readonly tokenUrl: CodecTypes['pg/text@1']['input'] | null; readonly userinfoUrl: CodecTypes['pg/text@1']['input'] | null; readonly jwksUri: CodecTypes['pg/text@1']['input'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['input']; readonly updatedAt: CodecTypes['pg/timestamptz@1']['input']; }; readonly FlowState: { readonly id: CodecTypes['pg/uuid@1']['input']; readonly userId: CodecTypes['pg/uuid@1']['input'] | null; readonly authCode: CodecTypes['pg/text@1']['input'] | null; readonly codeChallengeMethod: 's256' | 'plain' | null; readonly codeChallenge: CodecTypes['pg/text@1']['input'] | null; readonly providerType: CodecTypes['pg/text@1']['input']; readonly providerAccessToken: CodecTypes['pg/text@1']['input'] | null; readonly providerRefreshToken: CodecTypes['pg/text@1']['input'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly updatedAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly authenticationMethod: CodecTypes['pg/text@1']['input']; readonly authCodeIssuedAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly inviteToken: CodecTypes['pg/text@1']['input'] | null; readonly referrer: CodecTypes['pg/text@1']['input'] | null; readonly oauthClientStateId: CodecTypes['pg/uuid@1']['input'] | null; readonly linkingTargetId: CodecTypes['pg/uuid@1']['input'] | null; readonly emailOptional: CodecTypes['pg/bool@1']['input']; }; readonly Instances: { readonly id: CodecTypes['pg/uuid@1']['input']; readonly uuid: CodecTypes['pg/uuid@1']['input'] | null; readonly rawBaseConfig: CodecTypes['pg/text@1']['input'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly updatedAt: CodecTypes['pg/timestamptz@1']['input'] | null; }; readonly MfaAmrClaims: { readonly id: CodecTypes['pg/uuid@1']['input']; readonly sessionId: CodecTypes['pg/uuid@1']['input']; readonly createdAt: CodecTypes['pg/timestamptz@1']['input']; readonly updatedAt: CodecTypes['pg/timestamptz@1']['input']; readonly authenticationMethod: CodecTypes['pg/text@1']['input']; }; readonly MfaChallenges: { readonly id: CodecTypes['pg/uuid@1']['input']; readonly factorId: CodecTypes['pg/uuid@1']['input']; readonly createdAt: CodecTypes['pg/timestamptz@1']['input']; readonly verifiedAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly ipAddress: CodecTypes['pg/inet@1']['input']; readonly otpCode: CodecTypes['pg/text@1']['input'] | null; readonly webAuthnSessionData: CodecTypes['pg/jsonb@1']['input'] | null; }; readonly MfaFactors: { readonly id: CodecTypes['pg/uuid@1']['input']; readonly userId: CodecTypes['pg/uuid@1']['input']; readonly friendlyName: CodecTypes['pg/text@1']['input'] | null; readonly factorType: 'totp' | 'webauthn' | 'phone'; readonly status: 'unverified' | 'verified'; readonly createdAt: CodecTypes['pg/timestamptz@1']['input']; readonly updatedAt: CodecTypes['pg/timestamptz@1']['input']; readonly secret: CodecTypes['pg/text@1']['input'] | null; readonly phone: CodecTypes['pg/text@1']['input'] | null; readonly lastChallengedAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly webAuthnCredential: CodecTypes['pg/jsonb@1']['input'] | null; readonly webAuthnAaguid: CodecTypes['pg/uuid@1']['input'] | null; readonly lastWebauthnChallengeData: CodecTypes['pg/jsonb@1']['input'] | null; }; readonly OauthAuthorizations: { readonly id: CodecTypes['pg/uuid@1']['input']; readonly authorizationId: CodecTypes['pg/text@1']['input']; readonly clientId: CodecTypes['pg/uuid@1']['input']; readonly userId: CodecTypes['pg/uuid@1']['input'] | null; readonly redirectUri: CodecTypes['pg/text@1']['input']; readonly scope: CodecTypes['pg/text@1']['input']; readonly state: CodecTypes['pg/text@1']['input'] | null; readonly resource: CodecTypes['pg/text@1']['input'] | null; readonly codeChallenge: CodecTypes['pg/text@1']['input'] | null; readonly codeChallengeMethod: 's256' | 'plain' | null; readonly responseType: 'code'; readonly status: 'pending' | 'approved' | 'denied' | 'expired'; readonly authorizationCode: CodecTypes['pg/text@1']['input'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['input']; readonly expiresAt: CodecTypes['pg/timestamptz@1']['input']; readonly approvedAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly nonce: CodecTypes['pg/text@1']['input'] | null; }; readonly OauthClients: { readonly id: CodecTypes['pg/uuid@1']['input']; readonly clientSecretHash: CodecTypes['pg/text@1']['input'] | null; readonly registrationType: 'dynamic' | 'manual'; readonly redirectUris: CodecTypes['pg/text@1']['input']; readonly grantTypes: CodecTypes['pg/text@1']['input']; readonly clientName: CodecTypes['pg/text@1']['input'] | null; readonly clientUri: CodecTypes['pg/text@1']['input'] | null; readonly logoUri: CodecTypes['pg/text@1']['input'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['input']; readonly updatedAt: CodecTypes['pg/timestamptz@1']['input']; readonly deletedAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly clientType: 'public' | 'confidential'; readonly tokenEndpointAuthMethod: CodecTypes['pg/text@1']['input']; }; readonly OauthClientStates: { readonly id: CodecTypes['pg/uuid@1']['input']; readonly providerType: CodecTypes['pg/text@1']['input']; readonly codeVerifier: CodecTypes['pg/text@1']['input'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['input']; }; readonly OauthConsents: { readonly id: CodecTypes['pg/uuid@1']['input']; readonly userId: CodecTypes['pg/uuid@1']['input']; readonly clientId: CodecTypes['pg/uuid@1']['input']; readonly scopes: CodecTypes['pg/text@1']['input']; readonly grantedAt: CodecTypes['pg/timestamptz@1']['input']; readonly revokedAt: CodecTypes['pg/timestamptz@1']['input'] | null; }; readonly OneTimeTokens: { readonly id: CodecTypes['pg/uuid@1']['input']; readonly userId: CodecTypes['pg/uuid@1']['input']; readonly tokenType: | 'confirmation_token' | 'reauthentication_token' | 'recovery_token' | 'email_change_token_new' | 'email_change_token_current' | 'phone_change_token'; readonly tokenHash: CodecTypes['pg/text@1']['input']; readonly relatesTo: CodecTypes['pg/text@1']['input']; readonly createdAt: CodecTypes['pg/timestamp@1']['input']; readonly updatedAt: CodecTypes['pg/timestamp@1']['input']; }; readonly RefreshTokens: { readonly id: CodecTypes['pg/int8@1']['input']; readonly instanceId: CodecTypes['pg/uuid@1']['input'] | null; readonly token: CodecTypes['sql/varchar@1']['input'] | null; readonly userId: CodecTypes['sql/varchar@1']['input'] | null; readonly revoked: CodecTypes['pg/bool@1']['input'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly updatedAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly parent: CodecTypes['sql/varchar@1']['input'] | null; readonly sessionId: CodecTypes['pg/uuid@1']['input'] | null; }; readonly SamlProviders: { readonly id: CodecTypes['pg/uuid@1']['input']; readonly ssoProviderId: CodecTypes['pg/uuid@1']['input']; readonly entityId: CodecTypes['pg/text@1']['input']; readonly metadataXml: CodecTypes['pg/text@1']['input']; readonly metadataUrl: CodecTypes['pg/text@1']['input'] | null; readonly attributeMapping: CodecTypes['pg/jsonb@1']['input'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly updatedAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly nameIdFormat: CodecTypes['pg/text@1']['input'] | null; }; readonly SamlRelayStates: { readonly id: CodecTypes['pg/uuid@1']['input']; readonly ssoProviderId: CodecTypes['pg/uuid@1']['input']; readonly requestId: CodecTypes['pg/text@1']['input']; readonly forEmail: CodecTypes['pg/text@1']['input'] | null; readonly redirectTo: CodecTypes['pg/text@1']['input'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly updatedAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly flowStateId: CodecTypes['pg/uuid@1']['input'] | null; }; readonly SchemaMigrations: { readonly version: CodecTypes['sql/varchar@1']['input'] }; readonly SsoDomains: { readonly id: CodecTypes['pg/uuid@1']['input']; readonly ssoProviderId: CodecTypes['pg/uuid@1']['input']; readonly domain: CodecTypes['pg/text@1']['input']; readonly createdAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly updatedAt: CodecTypes['pg/timestamptz@1']['input'] | null; }; readonly SsoProviders: { readonly id: CodecTypes['pg/uuid@1']['input']; readonly resourceId: CodecTypes['pg/text@1']['input'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly updatedAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly disabled: CodecTypes['pg/bool@1']['input'] | null; }; readonly WebauthnChallenges: { readonly id: CodecTypes['pg/uuid@1']['input']; readonly userId: CodecTypes['pg/uuid@1']['input'] | null; readonly challengeType: CodecTypes['pg/text@1']['input']; readonly sessionData: CodecTypes['pg/jsonb@1']['input']; readonly createdAt: CodecTypes['pg/timestamptz@1']['input']; readonly expiresAt: CodecTypes['pg/timestamptz@1']['input']; }; readonly WebauthnCredentials: { readonly id: CodecTypes['pg/uuid@1']['input']; readonly userId: CodecTypes['pg/uuid@1']['input']; readonly credentialId: CodecTypes['pg/bytea@1']['input']; readonly publicKey: CodecTypes['pg/bytea@1']['input']; readonly attestationType: CodecTypes['pg/text@1']['input']; readonly aaguid: CodecTypes['pg/uuid@1']['input'] | null; readonly signCount: CodecTypes['pg/int8@1']['input']; readonly transports: CodecTypes['pg/jsonb@1']['input']; readonly backupEligible: CodecTypes['pg/bool@1']['input']; readonly backedUp: CodecTypes['pg/bool@1']['input']; readonly friendlyName: CodecTypes['pg/text@1']['input']; readonly createdAt: CodecTypes['pg/timestamptz@1']['input']; readonly updatedAt: CodecTypes['pg/timestamptz@1']['input']; readonly lastUsedAt: CodecTypes['pg/timestamptz@1']['input'] | null; }; }; readonly storage: { readonly BucketsAnalytics: { readonly id: CodecTypes['pg/uuid@1']['input']; readonly name: CodecTypes['pg/text@1']['input']; readonly _type: 'STANDARD' | 'ANALYTICS' | 'VECTOR'; readonly format: CodecTypes['pg/text@1']['input']; readonly createdAt: CodecTypes['pg/timestamptz@1']['input']; readonly updatedAt: CodecTypes['pg/timestamptz@1']['input']; readonly deletedAt: CodecTypes['pg/timestamptz@1']['input'] | null; }; readonly BucketsVectors: { readonly id: CodecTypes['pg/text@1']['input']; readonly _type: 'STANDARD' | 'ANALYTICS' | 'VECTOR'; readonly createdAt: CodecTypes['pg/timestamptz@1']['input']; readonly updatedAt: CodecTypes['pg/timestamptz@1']['input']; }; readonly IcebergNamespaces: { readonly id: CodecTypes['pg/uuid@1']['input']; readonly bucketName: CodecTypes['pg/text@1']['input']; readonly name: CodecTypes['pg/text@1']['input']; readonly createdAt: CodecTypes['pg/timestamptz@1']['input']; readonly updatedAt: CodecTypes['pg/timestamptz@1']['input']; readonly metadata: CodecTypes['pg/jsonb@1']['input']; readonly catalogId: CodecTypes['pg/uuid@1']['input']; }; readonly IcebergTables: { readonly id: CodecTypes['pg/uuid@1']['input']; readonly namespaceId: CodecTypes['pg/uuid@1']['input']; readonly bucketName: CodecTypes['pg/text@1']['input']; readonly name: CodecTypes['pg/text@1']['input']; readonly location: CodecTypes['pg/text@1']['input']; readonly createdAt: CodecTypes['pg/timestamptz@1']['input']; readonly updatedAt: CodecTypes['pg/timestamptz@1']['input']; readonly remoteTableId: CodecTypes['pg/text@1']['input'] | null; readonly shardKey: CodecTypes['pg/text@1']['input'] | null; readonly shardId: CodecTypes['pg/text@1']['input'] | null; readonly catalogId: CodecTypes['pg/uuid@1']['input']; }; readonly Migrations: { readonly id: CodecTypes['pg/int4@1']['input']; readonly name: CodecTypes['sql/varchar@1']['input']; readonly hash: CodecTypes['sql/varchar@1']['input']; readonly executedAt: CodecTypes['pg/timestamp@1']['input'] | null; }; readonly S3MultipartUploads: { readonly id: CodecTypes['pg/text@1']['input']; readonly inProgressSize: CodecTypes['pg/int8@1']['input']; readonly uploadSignature: CodecTypes['pg/text@1']['input']; readonly bucketId: CodecTypes['pg/text@1']['input']; readonly key: CodecTypes['pg/text@1']['input']; readonly version: CodecTypes['pg/text@1']['input']; readonly ownerId: CodecTypes['pg/text@1']['input'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['input']; readonly userMetadata: CodecTypes['pg/jsonb@1']['input'] | null; readonly metadata: CodecTypes['pg/jsonb@1']['input'] | null; }; readonly S3MultipartUploadsParts: { readonly id: CodecTypes['pg/uuid@1']['input']; readonly uploadId: CodecTypes['pg/text@1']['input']; readonly size: CodecTypes['pg/int8@1']['input']; readonly partNumber: CodecTypes['pg/int4@1']['input']; readonly bucketId: CodecTypes['pg/text@1']['input']; readonly key: CodecTypes['pg/text@1']['input']; readonly etag: CodecTypes['pg/text@1']['input']; readonly ownerId: CodecTypes['pg/text@1']['input'] | null; readonly version: CodecTypes['pg/text@1']['input']; readonly createdAt: CodecTypes['pg/timestamptz@1']['input']; }; readonly StorageBucket: { readonly id: CodecTypes['pg/text@1']['input']; readonly name: CodecTypes['pg/text@1']['input']; readonly owner: CodecTypes['pg/uuid@1']['input'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly updatedAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly public: CodecTypes['pg/bool@1']['input'] | null; readonly avifAutodetection: CodecTypes['pg/bool@1']['input'] | null; readonly fileSizeLimit: CodecTypes['pg/int8@1']['input'] | null; readonly ownerId: CodecTypes['pg/text@1']['input'] | null; readonly _type: 'STANDARD' | 'ANALYTICS' | 'VECTOR'; }; readonly StorageObject: { readonly id: CodecTypes['pg/uuid@1']['input']; readonly bucketId: CodecTypes['pg/text@1']['input'] | null; readonly name: CodecTypes['pg/text@1']['input'] | null; readonly owner: CodecTypes['pg/uuid@1']['input'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly updatedAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly lastAccessedAt: CodecTypes['pg/timestamptz@1']['input'] | null; readonly metadata: CodecTypes['pg/jsonb@1']['input'] | null; readonly version: CodecTypes['pg/text@1']['input'] | null; readonly ownerId: CodecTypes['pg/text@1']['input'] | null; readonly userMetadata: CodecTypes['pg/jsonb@1']['input'] | null; }; readonly VectorIndexes: { readonly id: CodecTypes['pg/text@1']['input']; readonly name: CodecTypes['pg/text@1']['input']; readonly bucketId: CodecTypes['pg/text@1']['input']; readonly dataType: CodecTypes['pg/text@1']['input']; readonly dimension: CodecTypes['pg/int4@1']['input']; readonly distanceMetric: CodecTypes['pg/text@1']['input']; readonly metadataConfiguration: CodecTypes['pg/jsonb@1']['input'] | null; readonly createdAt: CodecTypes['pg/timestamptz@1']['input']; readonly updatedAt: CodecTypes['pg/timestamptz@1']['input']; }; }; }; export type StorageColumnTypes = { readonly __unbound__: {}; readonly auth: { readonly audit_log_entries: { readonly created_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly id: CodecTypes['pg/uuid@1']['output']; readonly instance_id: CodecTypes['pg/uuid@1']['output'] | null; readonly ip_address: Varchar<64>; readonly payload: CodecTypes['pg/json@1']['output'] | null; }; readonly custom_oauth_providers: { readonly acceptable_client_ids: ReadonlyArray; readonly attribute_mapping: CodecTypes['pg/jsonb@1']['output']; readonly authorization_params: CodecTypes['pg/jsonb@1']['output']; readonly authorization_url: CodecTypes['pg/text@1']['output'] | null; readonly cached_discovery: CodecTypes['pg/jsonb@1']['output'] | null; readonly client_id: CodecTypes['pg/text@1']['output']; readonly client_secret: CodecTypes['pg/text@1']['output']; readonly created_at: CodecTypes['pg/timestamptz@1']['output']; readonly discovery_cached_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly discovery_url: CodecTypes['pg/text@1']['output'] | null; readonly email_optional: CodecTypes['pg/bool@1']['output']; readonly enabled: CodecTypes['pg/bool@1']['output']; readonly id: CodecTypes['pg/uuid@1']['output']; readonly identifier: CodecTypes['pg/text@1']['output']; readonly issuer: CodecTypes['pg/text@1']['output'] | null; readonly jwks_uri: CodecTypes['pg/text@1']['output'] | null; readonly name: CodecTypes['pg/text@1']['output']; readonly pkce_enabled: CodecTypes['pg/bool@1']['output']; readonly provider_type: CodecTypes['pg/text@1']['output']; readonly scopes: ReadonlyArray; readonly skip_nonce_check: CodecTypes['pg/bool@1']['output']; readonly token_url: CodecTypes['pg/text@1']['output'] | null; readonly updated_at: CodecTypes['pg/timestamptz@1']['output']; readonly userinfo_url: CodecTypes['pg/text@1']['output'] | null; }; readonly flow_state: { readonly auth_code: CodecTypes['pg/text@1']['output'] | null; readonly auth_code_issued_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly authentication_method: CodecTypes['pg/text@1']['output']; readonly code_challenge: CodecTypes['pg/text@1']['output'] | null; readonly code_challenge_method: 's256' | 'plain' | null; readonly created_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly email_optional: CodecTypes['pg/bool@1']['output']; readonly id: CodecTypes['pg/uuid@1']['output']; readonly invite_token: CodecTypes['pg/text@1']['output'] | null; readonly linking_target_id: CodecTypes['pg/uuid@1']['output'] | null; readonly oauth_client_state_id: CodecTypes['pg/uuid@1']['output'] | null; readonly provider_access_token: CodecTypes['pg/text@1']['output'] | null; readonly provider_refresh_token: CodecTypes['pg/text@1']['output'] | null; readonly provider_type: CodecTypes['pg/text@1']['output']; readonly referrer: CodecTypes['pg/text@1']['output'] | null; readonly updated_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly user_id: CodecTypes['pg/uuid@1']['output'] | null; }; readonly identities: { readonly created_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly email: CodecTypes['pg/text@1']['output'] | null; readonly id: CodecTypes['pg/uuid@1']['output']; readonly identity_data: CodecTypes['pg/jsonb@1']['output']; readonly last_sign_in_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly provider: CodecTypes['pg/text@1']['output']; readonly provider_id: CodecTypes['pg/text@1']['output']; readonly updated_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly user_id: CodecTypes['pg/uuid@1']['output']; }; readonly instances: { readonly created_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly id: CodecTypes['pg/uuid@1']['output']; readonly raw_base_config: CodecTypes['pg/text@1']['output'] | null; readonly updated_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly uuid: CodecTypes['pg/uuid@1']['output'] | null; }; readonly mfa_amr_claims: { readonly authentication_method: CodecTypes['pg/text@1']['output']; readonly created_at: CodecTypes['pg/timestamptz@1']['output']; readonly id: CodecTypes['pg/uuid@1']['output']; readonly session_id: CodecTypes['pg/uuid@1']['output']; readonly updated_at: CodecTypes['pg/timestamptz@1']['output']; }; readonly mfa_challenges: { readonly created_at: CodecTypes['pg/timestamptz@1']['output']; readonly factor_id: CodecTypes['pg/uuid@1']['output']; readonly id: CodecTypes['pg/uuid@1']['output']; readonly ip_address: CodecTypes['pg/inet@1']['output']; readonly otp_code: CodecTypes['pg/text@1']['output'] | null; readonly verified_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly web_authn_session_data: CodecTypes['pg/jsonb@1']['output'] | null; }; readonly mfa_factors: { readonly created_at: CodecTypes['pg/timestamptz@1']['output']; readonly factor_type: 'totp' | 'webauthn' | 'phone'; readonly friendly_name: CodecTypes['pg/text@1']['output'] | null; readonly id: CodecTypes['pg/uuid@1']['output']; readonly last_challenged_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly last_webauthn_challenge_data: CodecTypes['pg/jsonb@1']['output'] | null; readonly phone: CodecTypes['pg/text@1']['output'] | null; readonly secret: CodecTypes['pg/text@1']['output'] | null; readonly status: 'unverified' | 'verified'; readonly updated_at: CodecTypes['pg/timestamptz@1']['output']; readonly user_id: CodecTypes['pg/uuid@1']['output']; readonly web_authn_aaguid: CodecTypes['pg/uuid@1']['output'] | null; readonly web_authn_credential: CodecTypes['pg/jsonb@1']['output'] | null; }; readonly oauth_authorizations: { readonly approved_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly authorization_code: CodecTypes['pg/text@1']['output'] | null; readonly authorization_id: CodecTypes['pg/text@1']['output']; readonly client_id: CodecTypes['pg/uuid@1']['output']; readonly code_challenge: CodecTypes['pg/text@1']['output'] | null; readonly code_challenge_method: 's256' | 'plain' | null; readonly created_at: CodecTypes['pg/timestamptz@1']['output']; readonly expires_at: CodecTypes['pg/timestamptz@1']['output']; readonly id: CodecTypes['pg/uuid@1']['output']; readonly nonce: CodecTypes['pg/text@1']['output'] | null; readonly redirect_uri: CodecTypes['pg/text@1']['output']; readonly resource: CodecTypes['pg/text@1']['output'] | null; readonly response_type: 'code'; readonly scope: CodecTypes['pg/text@1']['output']; readonly state: CodecTypes['pg/text@1']['output'] | null; readonly status: 'pending' | 'approved' | 'denied' | 'expired'; readonly user_id: CodecTypes['pg/uuid@1']['output'] | null; }; readonly oauth_client_states: { readonly code_verifier: CodecTypes['pg/text@1']['output'] | null; readonly created_at: CodecTypes['pg/timestamptz@1']['output']; readonly id: CodecTypes['pg/uuid@1']['output']; readonly provider_type: CodecTypes['pg/text@1']['output']; }; readonly oauth_clients: { readonly client_name: CodecTypes['pg/text@1']['output'] | null; readonly client_secret_hash: CodecTypes['pg/text@1']['output'] | null; readonly client_type: 'public' | 'confidential'; readonly client_uri: CodecTypes['pg/text@1']['output'] | null; readonly created_at: CodecTypes['pg/timestamptz@1']['output']; readonly deleted_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly grant_types: CodecTypes['pg/text@1']['output']; readonly id: CodecTypes['pg/uuid@1']['output']; readonly logo_uri: CodecTypes['pg/text@1']['output'] | null; readonly redirect_uris: CodecTypes['pg/text@1']['output']; readonly registration_type: 'dynamic' | 'manual'; readonly token_endpoint_auth_method: CodecTypes['pg/text@1']['output']; readonly updated_at: CodecTypes['pg/timestamptz@1']['output']; }; readonly oauth_consents: { readonly client_id: CodecTypes['pg/uuid@1']['output']; readonly granted_at: CodecTypes['pg/timestamptz@1']['output']; readonly id: CodecTypes['pg/uuid@1']['output']; readonly revoked_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly scopes: CodecTypes['pg/text@1']['output']; readonly user_id: CodecTypes['pg/uuid@1']['output']; }; readonly one_time_tokens: { readonly created_at: CodecTypes['pg/timestamp@1']['output']; readonly id: CodecTypes['pg/uuid@1']['output']; readonly relates_to: CodecTypes['pg/text@1']['output']; readonly token_hash: CodecTypes['pg/text@1']['output']; readonly token_type: | 'confirmation_token' | 'reauthentication_token' | 'recovery_token' | 'email_change_token_new' | 'email_change_token_current' | 'phone_change_token'; readonly updated_at: CodecTypes['pg/timestamp@1']['output']; readonly user_id: CodecTypes['pg/uuid@1']['output']; }; readonly refresh_tokens: { readonly created_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly id: CodecTypes['pg/int8@1']['output']; readonly instance_id: CodecTypes['pg/uuid@1']['output'] | null; readonly parent: Varchar<255> | null; readonly revoked: CodecTypes['pg/bool@1']['output'] | null; readonly session_id: CodecTypes['pg/uuid@1']['output'] | null; readonly token: Varchar<255> | null; readonly updated_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly user_id: Varchar<255> | null; }; readonly saml_providers: { readonly attribute_mapping: CodecTypes['pg/jsonb@1']['output'] | null; readonly created_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly entity_id: CodecTypes['pg/text@1']['output']; readonly id: CodecTypes['pg/uuid@1']['output']; readonly metadata_url: CodecTypes['pg/text@1']['output'] | null; readonly metadata_xml: CodecTypes['pg/text@1']['output']; readonly name_id_format: CodecTypes['pg/text@1']['output'] | null; readonly sso_provider_id: CodecTypes['pg/uuid@1']['output']; readonly updated_at: CodecTypes['pg/timestamptz@1']['output'] | null; }; readonly saml_relay_states: { readonly created_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly flow_state_id: CodecTypes['pg/uuid@1']['output'] | null; readonly for_email: CodecTypes['pg/text@1']['output'] | null; readonly id: CodecTypes['pg/uuid@1']['output']; readonly redirect_to: CodecTypes['pg/text@1']['output'] | null; readonly request_id: CodecTypes['pg/text@1']['output']; readonly sso_provider_id: CodecTypes['pg/uuid@1']['output']; readonly updated_at: CodecTypes['pg/timestamptz@1']['output'] | null; }; readonly schema_migrations: { readonly version: Varchar<255> }; readonly sessions: { readonly aal: 'aal1' | 'aal2' | 'aal3' | null; readonly created_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly factor_id: CodecTypes['pg/uuid@1']['output'] | null; readonly id: CodecTypes['pg/uuid@1']['output']; readonly ip: CodecTypes['pg/inet@1']['output'] | null; readonly not_after: CodecTypes['pg/timestamptz@1']['output'] | null; readonly oauth_client_id: CodecTypes['pg/uuid@1']['output'] | null; readonly refresh_token_counter: CodecTypes['pg/int8@1']['output'] | null; readonly refresh_token_hmac_key: CodecTypes['pg/text@1']['output'] | null; readonly refreshed_at: CodecTypes['pg/timestamp@1']['output'] | null; readonly scopes: CodecTypes['pg/text@1']['output'] | null; readonly tag: CodecTypes['pg/text@1']['output'] | null; readonly updated_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly user_agent: CodecTypes['pg/text@1']['output'] | null; readonly user_id: CodecTypes['pg/uuid@1']['output']; }; readonly sso_domains: { readonly created_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly domain: CodecTypes['pg/text@1']['output']; readonly id: CodecTypes['pg/uuid@1']['output']; readonly sso_provider_id: CodecTypes['pg/uuid@1']['output']; readonly updated_at: CodecTypes['pg/timestamptz@1']['output'] | null; }; readonly sso_providers: { readonly created_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly disabled: CodecTypes['pg/bool@1']['output'] | null; readonly id: CodecTypes['pg/uuid@1']['output']; readonly resource_id: CodecTypes['pg/text@1']['output'] | null; readonly updated_at: CodecTypes['pg/timestamptz@1']['output'] | null; }; readonly users: { readonly aud: Varchar<255> | null; readonly banned_until: CodecTypes['pg/timestamptz@1']['output'] | null; readonly confirmation_sent_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly confirmation_token: Varchar<255> | null; readonly confirmed_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly created_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly deleted_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly email: Varchar<255> | null; readonly email_change: Varchar<255> | null; readonly email_change_confirm_status: CodecTypes['pg/int2@1']['output'] | null; readonly email_change_sent_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly email_change_token_current: Varchar<255> | null; readonly email_change_token_new: Varchar<255> | null; readonly email_confirmed_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly encrypted_password: Varchar<255> | null; readonly id: CodecTypes['pg/uuid@1']['output']; readonly instance_id: CodecTypes['pg/uuid@1']['output'] | null; readonly invited_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly is_anonymous: CodecTypes['pg/bool@1']['output']; readonly is_sso_user: CodecTypes['pg/bool@1']['output']; readonly is_super_admin: CodecTypes['pg/bool@1']['output'] | null; readonly last_sign_in_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly phone: CodecTypes['pg/text@1']['output'] | null; readonly phone_change: CodecTypes['pg/text@1']['output'] | null; readonly phone_change_sent_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly phone_change_token: Varchar<255> | null; readonly phone_confirmed_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly raw_app_meta_data: CodecTypes['pg/jsonb@1']['output'] | null; readonly raw_user_meta_data: CodecTypes['pg/jsonb@1']['output'] | null; readonly reauthentication_sent_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly reauthentication_token: Varchar<255> | null; readonly recovery_sent_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly recovery_token: Varchar<255> | null; readonly role: Varchar<255> | null; readonly updated_at: CodecTypes['pg/timestamptz@1']['output'] | null; }; readonly webauthn_challenges: { readonly challenge_type: CodecTypes['pg/text@1']['output']; readonly created_at: CodecTypes['pg/timestamptz@1']['output']; readonly expires_at: CodecTypes['pg/timestamptz@1']['output']; readonly id: CodecTypes['pg/uuid@1']['output']; readonly session_data: CodecTypes['pg/jsonb@1']['output']; readonly user_id: CodecTypes['pg/uuid@1']['output'] | null; }; readonly webauthn_credentials: { readonly aaguid: CodecTypes['pg/uuid@1']['output'] | null; readonly attestation_type: CodecTypes['pg/text@1']['output']; readonly backed_up: CodecTypes['pg/bool@1']['output']; readonly backup_eligible: CodecTypes['pg/bool@1']['output']; readonly created_at: CodecTypes['pg/timestamptz@1']['output']; readonly credential_id: CodecTypes['pg/bytea@1']['output']; readonly friendly_name: CodecTypes['pg/text@1']['output']; readonly id: CodecTypes['pg/uuid@1']['output']; readonly last_used_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly public_key: CodecTypes['pg/bytea@1']['output']; readonly sign_count: CodecTypes['pg/int8@1']['output']; readonly transports: CodecTypes['pg/jsonb@1']['output']; readonly updated_at: CodecTypes['pg/timestamptz@1']['output']; readonly user_id: CodecTypes['pg/uuid@1']['output']; }; }; readonly public: {}; readonly storage: { readonly buckets: { readonly avif_autodetection: CodecTypes['pg/bool@1']['output'] | null; readonly created_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly file_size_limit: CodecTypes['pg/int8@1']['output'] | null; readonly id: CodecTypes['pg/text@1']['output']; readonly name: CodecTypes['pg/text@1']['output']; readonly owner: CodecTypes['pg/uuid@1']['output'] | null; readonly owner_id: CodecTypes['pg/text@1']['output'] | null; readonly public: CodecTypes['pg/bool@1']['output'] | null; readonly type: 'STANDARD' | 'ANALYTICS' | 'VECTOR'; readonly updated_at: CodecTypes['pg/timestamptz@1']['output'] | null; }; readonly buckets_analytics: { readonly created_at: CodecTypes['pg/timestamptz@1']['output']; readonly deleted_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly format: CodecTypes['pg/text@1']['output']; readonly id: CodecTypes['pg/uuid@1']['output']; readonly name: CodecTypes['pg/text@1']['output']; readonly type: 'STANDARD' | 'ANALYTICS' | 'VECTOR'; readonly updated_at: CodecTypes['pg/timestamptz@1']['output']; }; readonly buckets_vectors: { readonly created_at: CodecTypes['pg/timestamptz@1']['output']; readonly id: CodecTypes['pg/text@1']['output']; readonly type: 'STANDARD' | 'ANALYTICS' | 'VECTOR'; readonly updated_at: CodecTypes['pg/timestamptz@1']['output']; }; readonly iceberg_namespaces: { readonly bucket_name: CodecTypes['pg/text@1']['output']; readonly catalog_id: CodecTypes['pg/uuid@1']['output']; readonly created_at: CodecTypes['pg/timestamptz@1']['output']; readonly id: CodecTypes['pg/uuid@1']['output']; readonly metadata: CodecTypes['pg/jsonb@1']['output']; readonly name: CodecTypes['pg/text@1']['output']; readonly updated_at: CodecTypes['pg/timestamptz@1']['output']; }; readonly iceberg_tables: { readonly bucket_name: CodecTypes['pg/text@1']['output']; readonly catalog_id: CodecTypes['pg/uuid@1']['output']; readonly created_at: CodecTypes['pg/timestamptz@1']['output']; readonly id: CodecTypes['pg/uuid@1']['output']; readonly location: CodecTypes['pg/text@1']['output']; readonly name: CodecTypes['pg/text@1']['output']; readonly namespace_id: CodecTypes['pg/uuid@1']['output']; readonly remote_table_id: CodecTypes['pg/text@1']['output'] | null; readonly shard_id: CodecTypes['pg/text@1']['output'] | null; readonly shard_key: CodecTypes['pg/text@1']['output'] | null; readonly updated_at: CodecTypes['pg/timestamptz@1']['output']; }; readonly migrations: { readonly executed_at: CodecTypes['pg/timestamp@1']['output'] | null; readonly hash: Varchar<40>; readonly id: CodecTypes['pg/int4@1']['output']; readonly name: Varchar<100>; }; readonly objects: { readonly bucket_id: CodecTypes['pg/text@1']['output'] | null; readonly created_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly id: CodecTypes['pg/uuid@1']['output']; readonly last_accessed_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly metadata: CodecTypes['pg/jsonb@1']['output'] | null; readonly name: CodecTypes['pg/text@1']['output'] | null; readonly owner: CodecTypes['pg/uuid@1']['output'] | null; readonly owner_id: CodecTypes['pg/text@1']['output'] | null; readonly updated_at: CodecTypes['pg/timestamptz@1']['output'] | null; readonly user_metadata: CodecTypes['pg/jsonb@1']['output'] | null; readonly version: CodecTypes['pg/text@1']['output'] | null; }; readonly s3_multipart_uploads: { readonly bucket_id: CodecTypes['pg/text@1']['output']; readonly created_at: CodecTypes['pg/timestamptz@1']['output']; readonly id: CodecTypes['pg/text@1']['output']; readonly in_progress_size: CodecTypes['pg/int8@1']['output']; readonly key: CodecTypes['pg/text@1']['output']; readonly metadata: CodecTypes['pg/jsonb@1']['output'] | null; readonly owner_id: CodecTypes['pg/text@1']['output'] | null; readonly upload_signature: CodecTypes['pg/text@1']['output']; readonly user_metadata: CodecTypes['pg/jsonb@1']['output'] | null; readonly version: CodecTypes['pg/text@1']['output']; }; readonly s3_multipart_uploads_parts: { readonly bucket_id: CodecTypes['pg/text@1']['output']; readonly created_at: CodecTypes['pg/timestamptz@1']['output']; readonly etag: CodecTypes['pg/text@1']['output']; readonly id: CodecTypes['pg/uuid@1']['output']; readonly key: CodecTypes['pg/text@1']['output']; readonly owner_id: CodecTypes['pg/text@1']['output'] | null; readonly part_number: CodecTypes['pg/int4@1']['output']; readonly size: CodecTypes['pg/int8@1']['output']; readonly upload_id: CodecTypes['pg/text@1']['output']; readonly version: CodecTypes['pg/text@1']['output']; }; readonly vector_indexes: { readonly bucket_id: CodecTypes['pg/text@1']['output']; readonly created_at: CodecTypes['pg/timestamptz@1']['output']; readonly data_type: CodecTypes['pg/text@1']['output']; readonly dimension: CodecTypes['pg/int4@1']['output']; readonly distance_metric: CodecTypes['pg/text@1']['output']; readonly id: CodecTypes['pg/text@1']['output']; readonly metadata_configuration: CodecTypes['pg/jsonb@1']['output'] | null; readonly name: CodecTypes['pg/text@1']['output']; readonly updated_at: CodecTypes['pg/timestamptz@1']['output']; }; }; }; export type StorageColumnInputTypes = { readonly __unbound__: {}; readonly auth: { readonly audit_log_entries: { readonly created_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly id: CodecTypes['pg/uuid@1']['input']; readonly instance_id: CodecTypes['pg/uuid@1']['input'] | null; readonly ip_address: CodecTypes['sql/varchar@1']['input']; readonly payload: CodecTypes['pg/json@1']['input'] | null; }; readonly custom_oauth_providers: { readonly acceptable_client_ids: ReadonlyArray; readonly attribute_mapping: CodecTypes['pg/jsonb@1']['input']; readonly authorization_params: CodecTypes['pg/jsonb@1']['input']; readonly authorization_url: CodecTypes['pg/text@1']['input'] | null; readonly cached_discovery: CodecTypes['pg/jsonb@1']['input'] | null; readonly client_id: CodecTypes['pg/text@1']['input']; readonly client_secret: CodecTypes['pg/text@1']['input']; readonly created_at: CodecTypes['pg/timestamptz@1']['input']; readonly discovery_cached_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly discovery_url: CodecTypes['pg/text@1']['input'] | null; readonly email_optional: CodecTypes['pg/bool@1']['input']; readonly enabled: CodecTypes['pg/bool@1']['input']; readonly id: CodecTypes['pg/uuid@1']['input']; readonly identifier: CodecTypes['pg/text@1']['input']; readonly issuer: CodecTypes['pg/text@1']['input'] | null; readonly jwks_uri: CodecTypes['pg/text@1']['input'] | null; readonly name: CodecTypes['pg/text@1']['input']; readonly pkce_enabled: CodecTypes['pg/bool@1']['input']; readonly provider_type: CodecTypes['pg/text@1']['input']; readonly scopes: ReadonlyArray; readonly skip_nonce_check: CodecTypes['pg/bool@1']['input']; readonly token_url: CodecTypes['pg/text@1']['input'] | null; readonly updated_at: CodecTypes['pg/timestamptz@1']['input']; readonly userinfo_url: CodecTypes['pg/text@1']['input'] | null; }; readonly flow_state: { readonly auth_code: CodecTypes['pg/text@1']['input'] | null; readonly auth_code_issued_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly authentication_method: CodecTypes['pg/text@1']['input']; readonly code_challenge: CodecTypes['pg/text@1']['input'] | null; readonly code_challenge_method: 's256' | 'plain' | null; readonly created_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly email_optional: CodecTypes['pg/bool@1']['input']; readonly id: CodecTypes['pg/uuid@1']['input']; readonly invite_token: CodecTypes['pg/text@1']['input'] | null; readonly linking_target_id: CodecTypes['pg/uuid@1']['input'] | null; readonly oauth_client_state_id: CodecTypes['pg/uuid@1']['input'] | null; readonly provider_access_token: CodecTypes['pg/text@1']['input'] | null; readonly provider_refresh_token: CodecTypes['pg/text@1']['input'] | null; readonly provider_type: CodecTypes['pg/text@1']['input']; readonly referrer: CodecTypes['pg/text@1']['input'] | null; readonly updated_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly user_id: CodecTypes['pg/uuid@1']['input'] | null; }; readonly identities: { readonly created_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly email: CodecTypes['pg/text@1']['input'] | null; readonly id: CodecTypes['pg/uuid@1']['input']; readonly identity_data: CodecTypes['pg/jsonb@1']['input']; readonly last_sign_in_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly provider: CodecTypes['pg/text@1']['input']; readonly provider_id: CodecTypes['pg/text@1']['input']; readonly updated_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly user_id: CodecTypes['pg/uuid@1']['input']; }; readonly instances: { readonly created_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly id: CodecTypes['pg/uuid@1']['input']; readonly raw_base_config: CodecTypes['pg/text@1']['input'] | null; readonly updated_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly uuid: CodecTypes['pg/uuid@1']['input'] | null; }; readonly mfa_amr_claims: { readonly authentication_method: CodecTypes['pg/text@1']['input']; readonly created_at: CodecTypes['pg/timestamptz@1']['input']; readonly id: CodecTypes['pg/uuid@1']['input']; readonly session_id: CodecTypes['pg/uuid@1']['input']; readonly updated_at: CodecTypes['pg/timestamptz@1']['input']; }; readonly mfa_challenges: { readonly created_at: CodecTypes['pg/timestamptz@1']['input']; readonly factor_id: CodecTypes['pg/uuid@1']['input']; readonly id: CodecTypes['pg/uuid@1']['input']; readonly ip_address: CodecTypes['pg/inet@1']['input']; readonly otp_code: CodecTypes['pg/text@1']['input'] | null; readonly verified_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly web_authn_session_data: CodecTypes['pg/jsonb@1']['input'] | null; }; readonly mfa_factors: { readonly created_at: CodecTypes['pg/timestamptz@1']['input']; readonly factor_type: 'totp' | 'webauthn' | 'phone'; readonly friendly_name: CodecTypes['pg/text@1']['input'] | null; readonly id: CodecTypes['pg/uuid@1']['input']; readonly last_challenged_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly last_webauthn_challenge_data: CodecTypes['pg/jsonb@1']['input'] | null; readonly phone: CodecTypes['pg/text@1']['input'] | null; readonly secret: CodecTypes['pg/text@1']['input'] | null; readonly status: 'unverified' | 'verified'; readonly updated_at: CodecTypes['pg/timestamptz@1']['input']; readonly user_id: CodecTypes['pg/uuid@1']['input']; readonly web_authn_aaguid: CodecTypes['pg/uuid@1']['input'] | null; readonly web_authn_credential: CodecTypes['pg/jsonb@1']['input'] | null; }; readonly oauth_authorizations: { readonly approved_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly authorization_code: CodecTypes['pg/text@1']['input'] | null; readonly authorization_id: CodecTypes['pg/text@1']['input']; readonly client_id: CodecTypes['pg/uuid@1']['input']; readonly code_challenge: CodecTypes['pg/text@1']['input'] | null; readonly code_challenge_method: 's256' | 'plain' | null; readonly created_at: CodecTypes['pg/timestamptz@1']['input']; readonly expires_at: CodecTypes['pg/timestamptz@1']['input']; readonly id: CodecTypes['pg/uuid@1']['input']; readonly nonce: CodecTypes['pg/text@1']['input'] | null; readonly redirect_uri: CodecTypes['pg/text@1']['input']; readonly resource: CodecTypes['pg/text@1']['input'] | null; readonly response_type: 'code'; readonly scope: CodecTypes['pg/text@1']['input']; readonly state: CodecTypes['pg/text@1']['input'] | null; readonly status: 'pending' | 'approved' | 'denied' | 'expired'; readonly user_id: CodecTypes['pg/uuid@1']['input'] | null; }; readonly oauth_client_states: { readonly code_verifier: CodecTypes['pg/text@1']['input'] | null; readonly created_at: CodecTypes['pg/timestamptz@1']['input']; readonly id: CodecTypes['pg/uuid@1']['input']; readonly provider_type: CodecTypes['pg/text@1']['input']; }; readonly oauth_clients: { readonly client_name: CodecTypes['pg/text@1']['input'] | null; readonly client_secret_hash: CodecTypes['pg/text@1']['input'] | null; readonly client_type: 'public' | 'confidential'; readonly client_uri: CodecTypes['pg/text@1']['input'] | null; readonly created_at: CodecTypes['pg/timestamptz@1']['input']; readonly deleted_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly grant_types: CodecTypes['pg/text@1']['input']; readonly id: CodecTypes['pg/uuid@1']['input']; readonly logo_uri: CodecTypes['pg/text@1']['input'] | null; readonly redirect_uris: CodecTypes['pg/text@1']['input']; readonly registration_type: 'dynamic' | 'manual'; readonly token_endpoint_auth_method: CodecTypes['pg/text@1']['input']; readonly updated_at: CodecTypes['pg/timestamptz@1']['input']; }; readonly oauth_consents: { readonly client_id: CodecTypes['pg/uuid@1']['input']; readonly granted_at: CodecTypes['pg/timestamptz@1']['input']; readonly id: CodecTypes['pg/uuid@1']['input']; readonly revoked_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly scopes: CodecTypes['pg/text@1']['input']; readonly user_id: CodecTypes['pg/uuid@1']['input']; }; readonly one_time_tokens: { readonly created_at: CodecTypes['pg/timestamp@1']['input']; readonly id: CodecTypes['pg/uuid@1']['input']; readonly relates_to: CodecTypes['pg/text@1']['input']; readonly token_hash: CodecTypes['pg/text@1']['input']; readonly token_type: | 'confirmation_token' | 'reauthentication_token' | 'recovery_token' | 'email_change_token_new' | 'email_change_token_current' | 'phone_change_token'; readonly updated_at: CodecTypes['pg/timestamp@1']['input']; readonly user_id: CodecTypes['pg/uuid@1']['input']; }; readonly refresh_tokens: { readonly created_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly id: CodecTypes['pg/int8@1']['input']; readonly instance_id: CodecTypes['pg/uuid@1']['input'] | null; readonly parent: CodecTypes['sql/varchar@1']['input'] | null; readonly revoked: CodecTypes['pg/bool@1']['input'] | null; readonly session_id: CodecTypes['pg/uuid@1']['input'] | null; readonly token: CodecTypes['sql/varchar@1']['input'] | null; readonly updated_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly user_id: CodecTypes['sql/varchar@1']['input'] | null; }; readonly saml_providers: { readonly attribute_mapping: CodecTypes['pg/jsonb@1']['input'] | null; readonly created_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly entity_id: CodecTypes['pg/text@1']['input']; readonly id: CodecTypes['pg/uuid@1']['input']; readonly metadata_url: CodecTypes['pg/text@1']['input'] | null; readonly metadata_xml: CodecTypes['pg/text@1']['input']; readonly name_id_format: CodecTypes['pg/text@1']['input'] | null; readonly sso_provider_id: CodecTypes['pg/uuid@1']['input']; readonly updated_at: CodecTypes['pg/timestamptz@1']['input'] | null; }; readonly saml_relay_states: { readonly created_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly flow_state_id: CodecTypes['pg/uuid@1']['input'] | null; readonly for_email: CodecTypes['pg/text@1']['input'] | null; readonly id: CodecTypes['pg/uuid@1']['input']; readonly redirect_to: CodecTypes['pg/text@1']['input'] | null; readonly request_id: CodecTypes['pg/text@1']['input']; readonly sso_provider_id: CodecTypes['pg/uuid@1']['input']; readonly updated_at: CodecTypes['pg/timestamptz@1']['input'] | null; }; readonly schema_migrations: { readonly version: CodecTypes['sql/varchar@1']['input'] }; readonly sessions: { readonly aal: 'aal1' | 'aal2' | 'aal3' | null; readonly created_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly factor_id: CodecTypes['pg/uuid@1']['input'] | null; readonly id: CodecTypes['pg/uuid@1']['input']; readonly ip: CodecTypes['pg/inet@1']['input'] | null; readonly not_after: CodecTypes['pg/timestamptz@1']['input'] | null; readonly oauth_client_id: CodecTypes['pg/uuid@1']['input'] | null; readonly refresh_token_counter: CodecTypes['pg/int8@1']['input'] | null; readonly refresh_token_hmac_key: CodecTypes['pg/text@1']['input'] | null; readonly refreshed_at: CodecTypes['pg/timestamp@1']['input'] | null; readonly scopes: CodecTypes['pg/text@1']['input'] | null; readonly tag: CodecTypes['pg/text@1']['input'] | null; readonly updated_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly user_agent: CodecTypes['pg/text@1']['input'] | null; readonly user_id: CodecTypes['pg/uuid@1']['input']; }; readonly sso_domains: { readonly created_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly domain: CodecTypes['pg/text@1']['input']; readonly id: CodecTypes['pg/uuid@1']['input']; readonly sso_provider_id: CodecTypes['pg/uuid@1']['input']; readonly updated_at: CodecTypes['pg/timestamptz@1']['input'] | null; }; readonly sso_providers: { readonly created_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly disabled: CodecTypes['pg/bool@1']['input'] | null; readonly id: CodecTypes['pg/uuid@1']['input']; readonly resource_id: CodecTypes['pg/text@1']['input'] | null; readonly updated_at: CodecTypes['pg/timestamptz@1']['input'] | null; }; readonly users: { readonly aud: CodecTypes['sql/varchar@1']['input'] | null; readonly banned_until: CodecTypes['pg/timestamptz@1']['input'] | null; readonly confirmation_sent_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly confirmation_token: CodecTypes['sql/varchar@1']['input'] | null; readonly confirmed_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly created_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly deleted_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly email: CodecTypes['sql/varchar@1']['input'] | null; readonly email_change: CodecTypes['sql/varchar@1']['input'] | null; readonly email_change_confirm_status: CodecTypes['pg/int2@1']['input'] | null; readonly email_change_sent_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly email_change_token_current: CodecTypes['sql/varchar@1']['input'] | null; readonly email_change_token_new: CodecTypes['sql/varchar@1']['input'] | null; readonly email_confirmed_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly encrypted_password: CodecTypes['sql/varchar@1']['input'] | null; readonly id: CodecTypes['pg/uuid@1']['input']; readonly instance_id: CodecTypes['pg/uuid@1']['input'] | null; readonly invited_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly is_anonymous: CodecTypes['pg/bool@1']['input']; readonly is_sso_user: CodecTypes['pg/bool@1']['input']; readonly is_super_admin: CodecTypes['pg/bool@1']['input'] | null; readonly last_sign_in_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly phone: CodecTypes['pg/text@1']['input'] | null; readonly phone_change: CodecTypes['pg/text@1']['input'] | null; readonly phone_change_sent_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly phone_change_token: CodecTypes['sql/varchar@1']['input'] | null; readonly phone_confirmed_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly raw_app_meta_data: CodecTypes['pg/jsonb@1']['input'] | null; readonly raw_user_meta_data: CodecTypes['pg/jsonb@1']['input'] | null; readonly reauthentication_sent_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly reauthentication_token: CodecTypes['sql/varchar@1']['input'] | null; readonly recovery_sent_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly recovery_token: CodecTypes['sql/varchar@1']['input'] | null; readonly role: CodecTypes['sql/varchar@1']['input'] | null; readonly updated_at: CodecTypes['pg/timestamptz@1']['input'] | null; }; readonly webauthn_challenges: { readonly challenge_type: CodecTypes['pg/text@1']['input']; readonly created_at: CodecTypes['pg/timestamptz@1']['input']; readonly expires_at: CodecTypes['pg/timestamptz@1']['input']; readonly id: CodecTypes['pg/uuid@1']['input']; readonly session_data: CodecTypes['pg/jsonb@1']['input']; readonly user_id: CodecTypes['pg/uuid@1']['input'] | null; }; readonly webauthn_credentials: { readonly aaguid: CodecTypes['pg/uuid@1']['input'] | null; readonly attestation_type: CodecTypes['pg/text@1']['input']; readonly backed_up: CodecTypes['pg/bool@1']['input']; readonly backup_eligible: CodecTypes['pg/bool@1']['input']; readonly created_at: CodecTypes['pg/timestamptz@1']['input']; readonly credential_id: CodecTypes['pg/bytea@1']['input']; readonly friendly_name: CodecTypes['pg/text@1']['input']; readonly id: CodecTypes['pg/uuid@1']['input']; readonly last_used_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly public_key: CodecTypes['pg/bytea@1']['input']; readonly sign_count: CodecTypes['pg/int8@1']['input']; readonly transports: CodecTypes['pg/jsonb@1']['input']; readonly updated_at: CodecTypes['pg/timestamptz@1']['input']; readonly user_id: CodecTypes['pg/uuid@1']['input']; }; }; readonly public: {}; readonly storage: { readonly buckets: { readonly avif_autodetection: CodecTypes['pg/bool@1']['input'] | null; readonly created_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly file_size_limit: CodecTypes['pg/int8@1']['input'] | null; readonly id: CodecTypes['pg/text@1']['input']; readonly name: CodecTypes['pg/text@1']['input']; readonly owner: CodecTypes['pg/uuid@1']['input'] | null; readonly owner_id: CodecTypes['pg/text@1']['input'] | null; readonly public: CodecTypes['pg/bool@1']['input'] | null; readonly type: 'STANDARD' | 'ANALYTICS' | 'VECTOR'; readonly updated_at: CodecTypes['pg/timestamptz@1']['input'] | null; }; readonly buckets_analytics: { readonly created_at: CodecTypes['pg/timestamptz@1']['input']; readonly deleted_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly format: CodecTypes['pg/text@1']['input']; readonly id: CodecTypes['pg/uuid@1']['input']; readonly name: CodecTypes['pg/text@1']['input']; readonly type: 'STANDARD' | 'ANALYTICS' | 'VECTOR'; readonly updated_at: CodecTypes['pg/timestamptz@1']['input']; }; readonly buckets_vectors: { readonly created_at: CodecTypes['pg/timestamptz@1']['input']; readonly id: CodecTypes['pg/text@1']['input']; readonly type: 'STANDARD' | 'ANALYTICS' | 'VECTOR'; readonly updated_at: CodecTypes['pg/timestamptz@1']['input']; }; readonly iceberg_namespaces: { readonly bucket_name: CodecTypes['pg/text@1']['input']; readonly catalog_id: CodecTypes['pg/uuid@1']['input']; readonly created_at: CodecTypes['pg/timestamptz@1']['input']; readonly id: CodecTypes['pg/uuid@1']['input']; readonly metadata: CodecTypes['pg/jsonb@1']['input']; readonly name: CodecTypes['pg/text@1']['input']; readonly updated_at: CodecTypes['pg/timestamptz@1']['input']; }; readonly iceberg_tables: { readonly bucket_name: CodecTypes['pg/text@1']['input']; readonly catalog_id: CodecTypes['pg/uuid@1']['input']; readonly created_at: CodecTypes['pg/timestamptz@1']['input']; readonly id: CodecTypes['pg/uuid@1']['input']; readonly location: CodecTypes['pg/text@1']['input']; readonly name: CodecTypes['pg/text@1']['input']; readonly namespace_id: CodecTypes['pg/uuid@1']['input']; readonly remote_table_id: CodecTypes['pg/text@1']['input'] | null; readonly shard_id: CodecTypes['pg/text@1']['input'] | null; readonly shard_key: CodecTypes['pg/text@1']['input'] | null; readonly updated_at: CodecTypes['pg/timestamptz@1']['input']; }; readonly migrations: { readonly executed_at: CodecTypes['pg/timestamp@1']['input'] | null; readonly hash: CodecTypes['sql/varchar@1']['input']; readonly id: CodecTypes['pg/int4@1']['input']; readonly name: CodecTypes['sql/varchar@1']['input']; }; readonly objects: { readonly bucket_id: CodecTypes['pg/text@1']['input'] | null; readonly created_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly id: CodecTypes['pg/uuid@1']['input']; readonly last_accessed_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly metadata: CodecTypes['pg/jsonb@1']['input'] | null; readonly name: CodecTypes['pg/text@1']['input'] | null; readonly owner: CodecTypes['pg/uuid@1']['input'] | null; readonly owner_id: CodecTypes['pg/text@1']['input'] | null; readonly updated_at: CodecTypes['pg/timestamptz@1']['input'] | null; readonly user_metadata: CodecTypes['pg/jsonb@1']['input'] | null; readonly version: CodecTypes['pg/text@1']['input'] | null; }; readonly s3_multipart_uploads: { readonly bucket_id: CodecTypes['pg/text@1']['input']; readonly created_at: CodecTypes['pg/timestamptz@1']['input']; readonly id: CodecTypes['pg/text@1']['input']; readonly in_progress_size: CodecTypes['pg/int8@1']['input']; readonly key: CodecTypes['pg/text@1']['input']; readonly metadata: CodecTypes['pg/jsonb@1']['input'] | null; readonly owner_id: CodecTypes['pg/text@1']['input'] | null; readonly upload_signature: CodecTypes['pg/text@1']['input']; readonly user_metadata: CodecTypes['pg/jsonb@1']['input'] | null; readonly version: CodecTypes['pg/text@1']['input']; }; readonly s3_multipart_uploads_parts: { readonly bucket_id: CodecTypes['pg/text@1']['input']; readonly created_at: CodecTypes['pg/timestamptz@1']['input']; readonly etag: CodecTypes['pg/text@1']['input']; readonly id: CodecTypes['pg/uuid@1']['input']; readonly key: CodecTypes['pg/text@1']['input']; readonly owner_id: CodecTypes['pg/text@1']['input'] | null; readonly part_number: CodecTypes['pg/int4@1']['input']; readonly size: CodecTypes['pg/int8@1']['input']; readonly upload_id: CodecTypes['pg/text@1']['input']; readonly version: CodecTypes['pg/text@1']['input']; }; readonly vector_indexes: { readonly bucket_id: CodecTypes['pg/text@1']['input']; readonly created_at: CodecTypes['pg/timestamptz@1']['input']; readonly data_type: CodecTypes['pg/text@1']['input']; readonly dimension: CodecTypes['pg/int4@1']['input']; readonly distance_metric: CodecTypes['pg/text@1']['input']; readonly id: CodecTypes['pg/text@1']['input']; readonly metadata_configuration: CodecTypes['pg/jsonb@1']['input'] | null; readonly name: CodecTypes['pg/text@1']['input']; readonly updated_at: CodecTypes['pg/timestamptz@1']['input']; }; }; }; export type TypeMaps = TypeMapsType< CodecTypes, QueryOperationTypes, FieldOutputTypes, FieldInputTypes, StorageColumnTypes, StorageColumnInputTypes >; type ContractBase = Omit< ContractType<{ readonly namespaces: { readonly __unbound__: { readonly id: '__unbound__'; readonly kind: 'postgres-unbound-schema'; readonly entries: { readonly table: {} }; }; readonly auth: { readonly id: 'auth'; readonly kind: 'postgres-schema'; readonly entries: { readonly table: { readonly audit_log_entries: { columns: { readonly id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly instance_id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: true; readonly typeRef: 'Id'; }; readonly payload: { readonly nativeType: 'json'; readonly codecId: 'pg/json@1'; readonly nullable: true; readonly typeRef: 'Payload'; }; readonly created_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly ip_address: { readonly nativeType: 'character varying'; readonly codecId: 'sql/varchar@1'; readonly nullable: false; readonly default: { readonly kind: 'literal'; readonly value: DefaultLiteralValue<'sql/varchar@1', ''>; }; readonly typeRef: 'IpAddress2'; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'audit_log_entries_pkey'; }; uniques: readonly []; indexes: readonly [ { readonly columns: readonly ['instance_id']; readonly name: 'audit_logs_instance_id_idx'; }, ]; foreignKeys: readonly []; }; readonly custom_oauth_providers: { columns: { readonly id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'gen_random_uuid()'; }; readonly typeRef: 'Id'; }; readonly provider_type: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly identifier: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly name: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly client_id: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly client_secret: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly acceptable_client_ids: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; readonly default: { readonly kind: 'literal'; readonly value: DefaultLiteralValue<'pg/text@1', readonly []>; }; }; readonly scopes: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; readonly default: { readonly kind: 'literal'; readonly value: DefaultLiteralValue<'pg/text@1', readonly []>; }; }; readonly pkce_enabled: { readonly nativeType: 'bool'; readonly codecId: 'pg/bool@1'; readonly nullable: false; readonly default: { readonly kind: 'literal'; readonly value: DefaultLiteralValue<'pg/bool@1', true>; }; }; readonly attribute_mapping: { readonly nativeType: 'jsonb'; readonly codecId: 'pg/jsonb@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: "'{}'::jsonb"; }; }; readonly authorization_params: { readonly nativeType: 'jsonb'; readonly codecId: 'pg/jsonb@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: "'{}'::jsonb"; }; }; readonly enabled: { readonly nativeType: 'bool'; readonly codecId: 'pg/bool@1'; readonly nullable: false; readonly default: { readonly kind: 'literal'; readonly value: DefaultLiteralValue<'pg/bool@1', true>; }; }; readonly email_optional: { readonly nativeType: 'bool'; readonly codecId: 'pg/bool@1'; readonly nullable: false; readonly default: { readonly kind: 'literal'; readonly value: DefaultLiteralValue<'pg/bool@1', false>; }; }; readonly issuer: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly discovery_url: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly skip_nonce_check: { readonly nativeType: 'bool'; readonly codecId: 'pg/bool@1'; readonly nullable: false; readonly default: { readonly kind: 'literal'; readonly value: DefaultLiteralValue<'pg/bool@1', false>; }; }; readonly cached_discovery: { readonly nativeType: 'jsonb'; readonly codecId: 'pg/jsonb@1'; readonly nullable: true; }; readonly discovery_cached_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly authorization_url: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly token_url: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly userinfo_url: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly jwks_uri: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly created_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; }; readonly updated_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'custom_oauth_providers_pkey'; }; uniques: readonly [ { readonly columns: readonly ['identifier']; readonly name: 'custom_oauth_providers_identifier_key'; }, ]; indexes: readonly [ { readonly columns: readonly ['created_at']; readonly name: 'custom_oauth_providers_created_at_idx'; }, { readonly columns: readonly ['enabled']; readonly name: 'custom_oauth_providers_enabled_idx'; }, { readonly columns: readonly ['identifier']; readonly name: 'custom_oauth_providers_identifier_idx'; }, { readonly columns: readonly ['provider_type']; readonly name: 'custom_oauth_providers_provider_type_idx'; }, ]; foreignKeys: readonly []; }; readonly flow_state: { columns: { readonly id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly user_id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: true; readonly typeRef: 'Id'; }; readonly auth_code: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly code_challenge_method: { readonly nativeType: 'auth.code_challenge_method'; readonly codecId: 'pg/enum@1'; readonly nullable: true; readonly typeParams: { readonly typeName: 'auth.code_challenge_method' }; }; readonly code_challenge: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly provider_type: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly provider_access_token: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly provider_refresh_token: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly created_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly updated_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly authentication_method: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly auth_code_issued_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly invite_token: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly referrer: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly oauth_client_state_id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: true; readonly typeRef: 'Id'; }; readonly linking_target_id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: true; readonly typeRef: 'Id'; }; readonly email_optional: { readonly nativeType: 'bool'; readonly codecId: 'pg/bool@1'; readonly nullable: false; readonly default: { readonly kind: 'literal'; readonly value: DefaultLiteralValue<'pg/bool@1', false>; }; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'flow_state_pkey' }; uniques: readonly []; indexes: readonly [ { readonly columns: readonly ['created_at']; readonly name: 'flow_state_created_at_idx'; }, { readonly columns: readonly ['auth_code']; readonly name: 'idx_auth_code' }, { readonly columns: readonly ['user_id', 'authentication_method']; readonly name: 'idx_user_id_auth_method'; }, ]; foreignKeys: readonly []; }; readonly identities: { columns: { readonly id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'gen_random_uuid()'; }; readonly typeRef: 'Id'; }; readonly provider_id: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly user_id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly identity_data: { readonly nativeType: 'jsonb'; readonly codecId: 'pg/jsonb@1'; readonly nullable: false; }; readonly provider: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly last_sign_in_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly created_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly updated_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly email: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'identities_pkey' }; uniques: readonly [ { readonly columns: readonly ['provider_id', 'provider']; readonly name: 'identities_provider_id_provider_unique'; }, ]; indexes: readonly [ { readonly columns: readonly ['email']; readonly name: 'identities_email_idx' }, { readonly columns: readonly ['user_id']; readonly name: 'identities_user_id_idx' }, ]; foreignKeys: readonly [ { readonly source: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'identities'; readonly columns: readonly ['user_id']; }; readonly target: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'users'; readonly columns: readonly ['id']; }; readonly name: 'identities_user_id_fkey'; }, ]; }; readonly instances: { columns: { readonly id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly uuid: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: true; readonly typeRef: 'Id'; }; readonly raw_base_config: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly created_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly updated_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'instances_pkey' }; uniques: readonly []; indexes: readonly []; foreignKeys: readonly []; }; readonly mfa_amr_claims: { columns: { readonly id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly session_id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly created_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: false; }; readonly updated_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: false; }; readonly authentication_method: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'amr_id_pk' }; uniques: readonly [ { readonly columns: readonly ['session_id', 'authentication_method']; readonly name: 'mfa_amr_claims_session_id_authentication_method_pkey'; }, ]; indexes: readonly []; foreignKeys: readonly [ { readonly source: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'mfa_amr_claims'; readonly columns: readonly ['session_id']; }; readonly target: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'sessions'; readonly columns: readonly ['id']; }; readonly name: 'mfa_amr_claims_session_id_fkey'; }, ]; }; readonly mfa_challenges: { columns: { readonly id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly factor_id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly created_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: false; }; readonly verified_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly ip_address: { readonly nativeType: 'inet'; readonly codecId: 'pg/inet@1'; readonly nullable: false; readonly typeRef: 'IpAddress'; }; readonly otp_code: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly web_authn_session_data: { readonly nativeType: 'jsonb'; readonly codecId: 'pg/jsonb@1'; readonly nullable: true; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'mfa_challenges_pkey'; }; uniques: readonly []; indexes: readonly [ { readonly columns: readonly ['created_at']; readonly name: 'mfa_challenge_created_at_idx'; }, ]; foreignKeys: readonly [ { readonly source: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'mfa_challenges'; readonly columns: readonly ['factor_id']; }; readonly target: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'mfa_factors'; readonly columns: readonly ['id']; }; readonly name: 'mfa_challenges_auth_factor_id_fkey'; }, ]; }; readonly mfa_factors: { columns: { readonly id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly user_id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly friendly_name: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly factor_type: { readonly nativeType: 'auth.factor_type'; readonly codecId: 'pg/enum@1'; readonly nullable: false; readonly typeParams: { readonly typeName: 'auth.factor_type' }; }; readonly status: { readonly nativeType: 'auth.factor_status'; readonly codecId: 'pg/enum@1'; readonly nullable: false; readonly typeParams: { readonly typeName: 'auth.factor_status' }; }; readonly created_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: false; }; readonly updated_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: false; }; readonly secret: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly phone: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly last_challenged_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly web_authn_credential: { readonly nativeType: 'jsonb'; readonly codecId: 'pg/jsonb@1'; readonly nullable: true; }; readonly web_authn_aaguid: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: true; readonly typeRef: 'Id'; }; readonly last_webauthn_challenge_data: { readonly nativeType: 'jsonb'; readonly codecId: 'pg/jsonb@1'; readonly nullable: true; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'mfa_factors_pkey' }; uniques: readonly [ { readonly columns: readonly ['last_challenged_at']; readonly name: 'mfa_factors_last_challenged_at_key'; }, ]; indexes: readonly [ { readonly columns: readonly ['user_id', 'created_at']; readonly name: 'factor_id_created_at_idx'; }, { readonly columns: readonly ['user_id']; readonly name: 'mfa_factors_user_id_idx'; }, ]; foreignKeys: readonly [ { readonly source: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'mfa_factors'; readonly columns: readonly ['user_id']; }; readonly target: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'users'; readonly columns: readonly ['id']; }; readonly name: 'mfa_factors_user_id_fkey'; }, ]; }; readonly oauth_authorizations: { columns: { readonly id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly authorization_id: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly client_id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly user_id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: true; readonly typeRef: 'Id'; }; readonly redirect_uri: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly scope: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly state: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly resource: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly code_challenge: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly code_challenge_method: { readonly nativeType: 'auth.code_challenge_method'; readonly codecId: 'pg/enum@1'; readonly nullable: true; readonly typeParams: { readonly typeName: 'auth.code_challenge_method' }; }; readonly response_type: { readonly nativeType: 'auth.oauth_response_type'; readonly codecId: 'pg/enum@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: "'code'::auth.oauth_response_type"; }; readonly typeParams: { readonly typeName: 'auth.oauth_response_type' }; }; readonly status: { readonly nativeType: 'auth.oauth_authorization_status'; readonly codecId: 'pg/enum@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: "'pending'::auth.oauth_authorization_status"; }; readonly typeParams: { readonly typeName: 'auth.oauth_authorization_status' }; }; readonly authorization_code: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly created_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; }; readonly expires_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: "(now() + '00:03:00'::interval)"; }; }; readonly approved_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly nonce: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'oauth_authorizations_pkey'; }; uniques: readonly [ { readonly columns: readonly ['authorization_id']; readonly name: 'oauth_authorizations_authorization_id_key'; }, { readonly columns: readonly ['authorization_code']; readonly name: 'oauth_authorizations_authorization_code_key'; }, ]; indexes: readonly [ { readonly columns: readonly ['expires_at']; readonly name: 'oauth_auth_pending_exp_idx'; }, ]; foreignKeys: readonly [ { readonly source: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'oauth_authorizations'; readonly columns: readonly ['client_id']; }; readonly target: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'oauth_clients'; readonly columns: readonly ['id']; }; readonly name: 'oauth_authorizations_client_id_fkey'; }, { readonly source: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'oauth_authorizations'; readonly columns: readonly ['user_id']; }; readonly target: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'users'; readonly columns: readonly ['id']; }; readonly name: 'oauth_authorizations_user_id_fkey'; }, ]; }; readonly oauth_client_states: { columns: { readonly id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly provider_type: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly code_verifier: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly created_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: false; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'oauth_client_states_pkey'; }; uniques: readonly []; indexes: readonly [ { readonly columns: readonly ['created_at']; readonly name: 'idx_oauth_client_states_created_at'; }, ]; foreignKeys: readonly []; }; readonly oauth_clients: { columns: { readonly id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly client_secret_hash: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly registration_type: { readonly nativeType: 'auth.oauth_registration_type'; readonly codecId: 'pg/enum@1'; readonly nullable: false; readonly typeParams: { readonly typeName: 'auth.oauth_registration_type' }; }; readonly redirect_uris: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly grant_types: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly client_name: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly client_uri: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly logo_uri: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly created_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; }; readonly updated_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; }; readonly deleted_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly client_type: { readonly nativeType: 'auth.oauth_client_type'; readonly codecId: 'pg/enum@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: "'confidential'::auth.oauth_client_type"; }; readonly typeParams: { readonly typeName: 'auth.oauth_client_type' }; }; readonly token_endpoint_auth_method: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'oauth_clients_pkey'; }; uniques: readonly []; indexes: readonly [ { readonly columns: readonly ['deleted_at']; readonly name: 'oauth_clients_deleted_at_idx'; }, ]; foreignKeys: readonly []; }; readonly oauth_consents: { columns: { readonly id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly user_id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly client_id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly scopes: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly granted_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; }; readonly revoked_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'oauth_consents_pkey'; }; uniques: readonly [ { readonly columns: readonly ['user_id', 'client_id']; readonly name: 'oauth_consents_user_client_unique'; }, ]; indexes: readonly [ { readonly columns: readonly ['client_id']; readonly name: 'oauth_consents_active_client_idx'; }, { readonly columns: readonly ['user_id', 'client_id']; readonly name: 'oauth_consents_active_user_client_idx'; }, { readonly columns: readonly ['user_id', 'granted_at']; readonly name: 'oauth_consents_user_order_idx'; }, ]; foreignKeys: readonly [ { readonly source: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'oauth_consents'; readonly columns: readonly ['client_id']; }; readonly target: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'oauth_clients'; readonly columns: readonly ['id']; }; readonly name: 'oauth_consents_client_id_fkey'; }, { readonly source: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'oauth_consents'; readonly columns: readonly ['user_id']; }; readonly target: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'users'; readonly columns: readonly ['id']; }; readonly name: 'oauth_consents_user_id_fkey'; }, ]; }; readonly one_time_tokens: { columns: { readonly id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly user_id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly token_type: { readonly nativeType: 'auth.one_time_token_type'; readonly codecId: 'pg/enum@1'; readonly nullable: false; readonly typeParams: { readonly typeName: 'auth.one_time_token_type' }; }; readonly token_hash: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly relates_to: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly created_at: { readonly nativeType: 'timestamp'; readonly codecId: 'pg/timestamp@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; readonly typeRef: 'CreatedAt'; }; readonly updated_at: { readonly nativeType: 'timestamp'; readonly codecId: 'pg/timestamp@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; readonly typeRef: 'CreatedAt'; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'one_time_tokens_pkey'; }; uniques: readonly []; indexes: readonly [ { readonly columns: readonly ['relates_to']; readonly name: 'one_time_tokens_relates_to_hash_idx'; readonly type: 'hash'; }, { readonly columns: readonly ['token_hash']; readonly name: 'one_time_tokens_token_hash_hash_idx'; readonly type: 'hash'; }, ]; foreignKeys: readonly [ { readonly source: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'one_time_tokens'; readonly columns: readonly ['user_id']; }; readonly target: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'users'; readonly columns: readonly ['id']; }; readonly name: 'one_time_tokens_user_id_fkey'; }, ]; }; readonly refresh_tokens: { columns: { readonly id: { readonly nativeType: 'int8'; readonly codecId: 'pg/int8@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'autoincrement()'; }; }; readonly instance_id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: true; readonly typeRef: 'Id'; }; readonly token: { readonly nativeType: 'character varying'; readonly codecId: 'sql/varchar@1'; readonly nullable: true; readonly typeRef: 'Parent'; }; readonly user_id: { readonly nativeType: 'character varying'; readonly codecId: 'sql/varchar@1'; readonly nullable: true; readonly typeRef: 'Parent'; }; readonly revoked: { readonly nativeType: 'bool'; readonly codecId: 'pg/bool@1'; readonly nullable: true; }; readonly created_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly updated_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly parent: { readonly nativeType: 'character varying'; readonly codecId: 'sql/varchar@1'; readonly nullable: true; readonly typeRef: 'Parent'; }; readonly session_id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: true; readonly typeRef: 'Id'; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'refresh_tokens_pkey'; }; uniques: readonly [ { readonly columns: readonly ['token']; readonly name: 'refresh_tokens_token_unique'; }, ]; indexes: readonly [ { readonly columns: readonly ['instance_id']; readonly name: 'refresh_tokens_instance_id_idx'; }, { readonly columns: readonly ['instance_id', 'user_id']; readonly name: 'refresh_tokens_instance_id_user_id_idx'; }, { readonly columns: readonly ['parent']; readonly name: 'refresh_tokens_parent_idx'; }, { readonly columns: readonly ['session_id', 'revoked']; readonly name: 'refresh_tokens_session_id_revoked_idx'; }, { readonly columns: readonly ['updated_at']; readonly name: 'refresh_tokens_updated_at_idx'; }, ]; foreignKeys: readonly [ { readonly source: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'refresh_tokens'; readonly columns: readonly ['session_id']; }; readonly target: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'sessions'; readonly columns: readonly ['id']; }; readonly name: 'refresh_tokens_session_id_fkey'; }, ]; }; readonly saml_providers: { columns: { readonly id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly sso_provider_id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly entity_id: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly metadata_xml: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly metadata_url: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly attribute_mapping: { readonly nativeType: 'jsonb'; readonly codecId: 'pg/jsonb@1'; readonly nullable: true; }; readonly created_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly updated_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly name_id_format: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'saml_providers_pkey'; }; uniques: readonly [ { readonly columns: readonly ['entity_id']; readonly name: 'saml_providers_entity_id_key'; }, ]; indexes: readonly [ { readonly columns: readonly ['sso_provider_id']; readonly name: 'saml_providers_sso_provider_id_idx'; }, ]; foreignKeys: readonly [ { readonly source: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'saml_providers'; readonly columns: readonly ['sso_provider_id']; }; readonly target: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'sso_providers'; readonly columns: readonly ['id']; }; readonly name: 'saml_providers_sso_provider_id_fkey'; }, ]; }; readonly saml_relay_states: { columns: { readonly id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly sso_provider_id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly request_id: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly for_email: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly redirect_to: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly created_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly updated_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly flow_state_id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: true; readonly typeRef: 'Id'; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'saml_relay_states_pkey'; }; uniques: readonly []; indexes: readonly [ { readonly columns: readonly ['created_at']; readonly name: 'saml_relay_states_created_at_idx'; }, { readonly columns: readonly ['for_email']; readonly name: 'saml_relay_states_for_email_idx'; }, { readonly columns: readonly ['sso_provider_id']; readonly name: 'saml_relay_states_sso_provider_id_idx'; }, ]; foreignKeys: readonly [ { readonly source: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'saml_relay_states'; readonly columns: readonly ['flow_state_id']; }; readonly target: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'flow_state'; readonly columns: readonly ['id']; }; readonly name: 'saml_relay_states_flow_state_id_fkey'; }, { readonly source: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'saml_relay_states'; readonly columns: readonly ['sso_provider_id']; }; readonly target: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'sso_providers'; readonly columns: readonly ['id']; }; readonly name: 'saml_relay_states_sso_provider_id_fkey'; }, ]; }; readonly schema_migrations: { columns: { readonly version: { readonly nativeType: 'character varying'; readonly codecId: 'sql/varchar@1'; readonly nullable: false; readonly typeRef: 'Parent'; }; }; primaryKey: { readonly columns: readonly ['version']; readonly name: 'schema_migrations_pkey'; }; uniques: readonly []; indexes: readonly []; foreignKeys: readonly []; }; readonly sessions: { columns: { readonly id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly user_id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly created_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly updated_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly factor_id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: true; readonly typeRef: 'Id'; }; readonly aal: { readonly nativeType: 'auth.aal_level'; readonly codecId: 'pg/enum@1'; readonly nullable: true; readonly typeParams: { readonly typeName: 'auth.aal_level' }; }; readonly not_after: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly refreshed_at: { readonly nativeType: 'timestamp'; readonly codecId: 'pg/timestamp@1'; readonly nullable: true; readonly typeRef: 'CreatedAt'; }; readonly user_agent: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly ip: { readonly nativeType: 'inet'; readonly codecId: 'pg/inet@1'; readonly nullable: true; readonly typeRef: 'IpAddress'; }; readonly tag: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly oauth_client_id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: true; readonly typeRef: 'Id'; }; readonly refresh_token_hmac_key: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly refresh_token_counter: { readonly nativeType: 'int8'; readonly codecId: 'pg/int8@1'; readonly nullable: true; }; readonly scopes: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'sessions_pkey' }; uniques: readonly []; indexes: readonly [ { readonly columns: readonly ['not_after']; readonly name: 'sessions_not_after_idx'; }, { readonly columns: readonly ['oauth_client_id']; readonly name: 'sessions_oauth_client_id_idx'; }, { readonly columns: readonly ['user_id']; readonly name: 'sessions_user_id_idx' }, { readonly columns: readonly ['user_id', 'created_at']; readonly name: 'user_id_created_at_idx'; }, ]; foreignKeys: readonly [ { readonly source: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'sessions'; readonly columns: readonly ['oauth_client_id']; }; readonly target: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'oauth_clients'; readonly columns: readonly ['id']; }; readonly name: 'sessions_oauth_client_id_fkey'; }, { readonly source: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'sessions'; readonly columns: readonly ['user_id']; }; readonly target: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'users'; readonly columns: readonly ['id']; }; readonly name: 'sessions_user_id_fkey'; }, ]; }; readonly sso_domains: { columns: { readonly id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly sso_provider_id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly domain: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly created_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly updated_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'sso_domains_pkey' }; uniques: readonly []; indexes: readonly [ { readonly columns: readonly ['sso_provider_id']; readonly name: 'sso_domains_sso_provider_id_idx'; }, ]; foreignKeys: readonly [ { readonly source: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'sso_domains'; readonly columns: readonly ['sso_provider_id']; }; readonly target: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'sso_providers'; readonly columns: readonly ['id']; }; readonly name: 'sso_domains_sso_provider_id_fkey'; }, ]; }; readonly sso_providers: { columns: { readonly id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly resource_id: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly created_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly updated_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly disabled: { readonly nativeType: 'bool'; readonly codecId: 'pg/bool@1'; readonly nullable: true; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'sso_providers_pkey'; }; uniques: readonly []; indexes: readonly [ { readonly columns: readonly ['resource_id']; readonly name: 'sso_providers_resource_id_pattern_idx'; }, ]; foreignKeys: readonly []; }; readonly users: { columns: { readonly id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly instance_id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: true; readonly typeRef: 'Id'; }; readonly aud: { readonly nativeType: 'character varying'; readonly codecId: 'sql/varchar@1'; readonly nullable: true; readonly typeRef: 'Parent'; }; readonly role: { readonly nativeType: 'character varying'; readonly codecId: 'sql/varchar@1'; readonly nullable: true; readonly typeRef: 'Parent'; }; readonly email: { readonly nativeType: 'character varying'; readonly codecId: 'sql/varchar@1'; readonly nullable: true; readonly typeRef: 'Parent'; }; readonly encrypted_password: { readonly nativeType: 'character varying'; readonly codecId: 'sql/varchar@1'; readonly nullable: true; readonly typeRef: 'Parent'; }; readonly email_confirmed_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly invited_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly confirmation_token: { readonly nativeType: 'character varying'; readonly codecId: 'sql/varchar@1'; readonly nullable: true; readonly typeRef: 'Parent'; }; readonly confirmation_sent_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly recovery_token: { readonly nativeType: 'character varying'; readonly codecId: 'sql/varchar@1'; readonly nullable: true; readonly typeRef: 'Parent'; }; readonly recovery_sent_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly email_change_token_new: { readonly nativeType: 'character varying'; readonly codecId: 'sql/varchar@1'; readonly nullable: true; readonly typeRef: 'Parent'; }; readonly email_change: { readonly nativeType: 'character varying'; readonly codecId: 'sql/varchar@1'; readonly nullable: true; readonly typeRef: 'Parent'; }; readonly email_change_sent_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly last_sign_in_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly raw_app_meta_data: { readonly nativeType: 'jsonb'; readonly codecId: 'pg/jsonb@1'; readonly nullable: true; }; readonly raw_user_meta_data: { readonly nativeType: 'jsonb'; readonly codecId: 'pg/jsonb@1'; readonly nullable: true; }; readonly is_super_admin: { readonly nativeType: 'bool'; readonly codecId: 'pg/bool@1'; readonly nullable: true; }; readonly created_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly updated_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly phone: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly phone_confirmed_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly phone_change: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; readonly default: { readonly kind: 'literal'; readonly value: DefaultLiteralValue<'pg/text@1', ''>; }; }; readonly phone_change_token: { readonly nativeType: 'character varying'; readonly codecId: 'sql/varchar@1'; readonly nullable: true; readonly default: { readonly kind: 'literal'; readonly value: DefaultLiteralValue<'sql/varchar@1', ''>; }; readonly typeRef: 'Parent'; }; readonly phone_change_sent_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly confirmed_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly email_change_token_current: { readonly nativeType: 'character varying'; readonly codecId: 'sql/varchar@1'; readonly nullable: true; readonly default: { readonly kind: 'literal'; readonly value: DefaultLiteralValue<'sql/varchar@1', ''>; }; readonly typeRef: 'Parent'; }; readonly email_change_confirm_status: { readonly nativeType: 'int2'; readonly codecId: 'pg/int2@1'; readonly nullable: true; readonly default: { readonly kind: 'literal'; readonly value: DefaultLiteralValue<'pg/int2@1', 0>; }; readonly typeRef: 'EmailChangeConfirmStatus'; }; readonly banned_until: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly reauthentication_token: { readonly nativeType: 'character varying'; readonly codecId: 'sql/varchar@1'; readonly nullable: true; readonly default: { readonly kind: 'literal'; readonly value: DefaultLiteralValue<'sql/varchar@1', ''>; }; readonly typeRef: 'Parent'; }; readonly reauthentication_sent_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly is_sso_user: { readonly nativeType: 'bool'; readonly codecId: 'pg/bool@1'; readonly nullable: false; readonly default: { readonly kind: 'literal'; readonly value: DefaultLiteralValue<'pg/bool@1', false>; }; }; readonly deleted_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; readonly is_anonymous: { readonly nativeType: 'bool'; readonly codecId: 'pg/bool@1'; readonly nullable: false; readonly default: { readonly kind: 'literal'; readonly value: DefaultLiteralValue<'pg/bool@1', false>; }; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'users_pkey' }; uniques: readonly [ { readonly columns: readonly ['phone']; readonly name: 'users_phone_key' }, ]; indexes: readonly [ { readonly columns: readonly ['instance_id']; readonly name: 'users_instance_id_idx'; }, { readonly columns: readonly ['is_anonymous']; readonly name: 'users_is_anonymous_idx'; }, ]; foreignKeys: readonly []; }; readonly webauthn_challenges: { columns: { readonly id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'gen_random_uuid()'; }; readonly typeRef: 'Id'; }; readonly user_id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: true; readonly typeRef: 'Id'; }; readonly challenge_type: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly session_data: { readonly nativeType: 'jsonb'; readonly codecId: 'pg/jsonb@1'; readonly nullable: false; }; readonly created_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; }; readonly expires_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: false; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'webauthn_challenges_pkey'; }; uniques: readonly []; indexes: readonly [ { readonly columns: readonly ['expires_at']; readonly name: 'webauthn_challenges_expires_at_idx'; }, { readonly columns: readonly ['user_id']; readonly name: 'webauthn_challenges_user_id_idx'; }, ]; foreignKeys: readonly [ { readonly source: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'webauthn_challenges'; readonly columns: readonly ['user_id']; }; readonly target: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'users'; readonly columns: readonly ['id']; }; readonly name: 'webauthn_challenges_user_id_fkey'; }, ]; }; readonly webauthn_credentials: { columns: { readonly id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'gen_random_uuid()'; }; readonly typeRef: 'Id'; }; readonly user_id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly credential_id: { readonly nativeType: 'bytea'; readonly codecId: 'pg/bytea@1'; readonly nullable: false; }; readonly public_key: { readonly nativeType: 'bytea'; readonly codecId: 'pg/bytea@1'; readonly nullable: false; }; readonly attestation_type: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; readonly default: { readonly kind: 'literal'; readonly value: DefaultLiteralValue<'pg/text@1', ''>; }; }; readonly aaguid: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: true; readonly typeRef: 'Id'; }; readonly sign_count: { readonly nativeType: 'int8'; readonly codecId: 'pg/int8@1'; readonly nullable: false; readonly default: { readonly kind: 'literal'; readonly value: DefaultLiteralValue<'pg/int8@1', 0>; }; }; readonly transports: { readonly nativeType: 'jsonb'; readonly codecId: 'pg/jsonb@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: "'[]'::jsonb"; }; }; readonly backup_eligible: { readonly nativeType: 'bool'; readonly codecId: 'pg/bool@1'; readonly nullable: false; readonly default: { readonly kind: 'literal'; readonly value: DefaultLiteralValue<'pg/bool@1', false>; }; }; readonly backed_up: { readonly nativeType: 'bool'; readonly codecId: 'pg/bool@1'; readonly nullable: false; readonly default: { readonly kind: 'literal'; readonly value: DefaultLiteralValue<'pg/bool@1', false>; }; }; readonly friendly_name: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; readonly default: { readonly kind: 'literal'; readonly value: DefaultLiteralValue<'pg/text@1', ''>; }; }; readonly created_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; }; readonly updated_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; }; readonly last_used_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'webauthn_credentials_pkey'; }; uniques: readonly []; indexes: readonly [ { readonly columns: readonly ['user_id']; readonly name: 'webauthn_credentials_user_id_idx'; }, ]; foreignKeys: readonly [ { readonly source: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'webauthn_credentials'; readonly columns: readonly ['user_id']; }; readonly target: { readonly namespaceId: 'auth' & NamespaceId; readonly tableName: 'users'; readonly columns: readonly ['id']; }; readonly name: 'webauthn_credentials_user_id_fkey'; }, ]; }; }; readonly valueSet: { readonly AalLevel: { readonly kind: 'valueSet'; readonly values: readonly ['aal1', 'aal2', 'aal3']; }; readonly CodeChallengeMethod: { readonly kind: 'valueSet'; readonly values: readonly ['s256', 'plain']; }; readonly FactorStatus: { readonly kind: 'valueSet'; readonly values: readonly ['unverified', 'verified']; }; readonly FactorType: { readonly kind: 'valueSet'; readonly values: readonly ['totp', 'webauthn', 'phone']; }; readonly OauthAuthorizationStatus: { readonly kind: 'valueSet'; readonly values: readonly ['pending', 'approved', 'denied', 'expired']; }; readonly OauthClientType: { readonly kind: 'valueSet'; readonly values: readonly ['public', 'confidential']; }; readonly OauthRegistrationType: { readonly kind: 'valueSet'; readonly values: readonly ['dynamic', 'manual']; }; readonly OauthResponseType: { readonly kind: 'valueSet'; readonly values: readonly ['code']; }; readonly OneTimeTokenType: { readonly kind: 'valueSet'; readonly values: readonly [ 'confirmation_token', 'reauthentication_token', 'recovery_token', 'email_change_token_new', 'email_change_token_current', 'phone_change_token', ]; }; }; }; }; readonly public: { readonly id: 'public'; readonly kind: 'postgres-schema'; readonly entries: { readonly table: {} }; }; readonly storage: { readonly id: 'storage'; readonly kind: 'postgres-schema'; readonly entries: { readonly table: { readonly buckets: { columns: { readonly id: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly name: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly owner: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: true; readonly typeRef: 'Id'; }; readonly created_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; }; readonly updated_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; }; readonly public: { readonly nativeType: 'bool'; readonly codecId: 'pg/bool@1'; readonly nullable: true; readonly default: { readonly kind: 'literal'; readonly value: DefaultLiteralValue<'pg/bool@1', false>; }; }; readonly avif_autodetection: { readonly nativeType: 'bool'; readonly codecId: 'pg/bool@1'; readonly nullable: true; readonly default: { readonly kind: 'literal'; readonly value: DefaultLiteralValue<'pg/bool@1', false>; }; }; readonly file_size_limit: { readonly nativeType: 'int8'; readonly codecId: 'pg/int8@1'; readonly nullable: true; }; readonly owner_id: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly type: { readonly nativeType: 'storage.buckettype'; readonly codecId: 'pg/enum@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: "'STANDARD'::storage.buckettype"; }; readonly typeParams: { readonly typeName: 'storage.buckettype' }; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'buckets_pkey' }; uniques: readonly []; indexes: readonly []; foreignKeys: readonly []; }; readonly buckets_analytics: { columns: { readonly id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'gen_random_uuid()'; }; readonly typeRef: 'Id'; }; readonly name: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly type: { readonly nativeType: 'storage.buckettype'; readonly codecId: 'pg/enum@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: "'ANALYTICS'::storage.buckettype"; }; readonly typeParams: { readonly typeName: 'storage.buckettype' }; }; readonly format: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; readonly default: { readonly kind: 'literal'; readonly value: DefaultLiteralValue<'pg/text@1', 'ICEBERG'>; }; }; readonly created_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; }; readonly updated_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; }; readonly deleted_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'buckets_analytics_pkey'; }; uniques: readonly []; indexes: readonly []; foreignKeys: readonly []; }; readonly buckets_vectors: { columns: { readonly id: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly type: { readonly nativeType: 'storage.buckettype'; readonly codecId: 'pg/enum@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: "'VECTOR'::storage.buckettype"; }; readonly typeParams: { readonly typeName: 'storage.buckettype' }; }; readonly created_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; }; readonly updated_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'buckets_vectors_pkey'; }; uniques: readonly []; indexes: readonly []; foreignKeys: readonly []; }; readonly iceberg_namespaces: { columns: { readonly id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'gen_random_uuid()'; }; readonly typeRef: 'Id'; }; readonly bucket_name: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly name: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly created_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; }; readonly updated_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; }; readonly metadata: { readonly nativeType: 'jsonb'; readonly codecId: 'pg/jsonb@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: "'{}'::jsonb"; }; }; readonly catalog_id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'iceberg_namespaces_pkey'; }; uniques: readonly []; indexes: readonly []; foreignKeys: readonly [ { readonly source: { readonly namespaceId: 'storage' & NamespaceId; readonly tableName: 'iceberg_namespaces'; readonly columns: readonly ['catalog_id']; }; readonly target: { readonly namespaceId: 'storage' & NamespaceId; readonly tableName: 'buckets_analytics'; readonly columns: readonly ['id']; }; readonly name: 'iceberg_namespaces_catalog_id_fkey'; }, ]; }; readonly iceberg_tables: { columns: { readonly id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'gen_random_uuid()'; }; readonly typeRef: 'Id'; }; readonly namespace_id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; readonly bucket_name: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly name: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly location: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly created_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; }; readonly updated_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; }; readonly remote_table_id: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly shard_key: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly shard_id: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly catalog_id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly typeRef: 'Id'; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'iceberg_tables_pkey'; }; uniques: readonly []; indexes: readonly []; foreignKeys: readonly [ { readonly source: { readonly namespaceId: 'storage' & NamespaceId; readonly tableName: 'iceberg_tables'; readonly columns: readonly ['catalog_id']; }; readonly target: { readonly namespaceId: 'storage' & NamespaceId; readonly tableName: 'buckets_analytics'; readonly columns: readonly ['id']; }; readonly name: 'iceberg_tables_catalog_id_fkey'; }, { readonly source: { readonly namespaceId: 'storage' & NamespaceId; readonly tableName: 'iceberg_tables'; readonly columns: readonly ['namespace_id']; }; readonly target: { readonly namespaceId: 'storage' & NamespaceId; readonly tableName: 'iceberg_namespaces'; readonly columns: readonly ['id']; }; readonly name: 'iceberg_tables_namespace_id_fkey'; }, ]; }; readonly migrations: { columns: { readonly id: { readonly nativeType: 'int4'; readonly codecId: 'pg/int4@1'; readonly nullable: false; }; readonly name: { readonly nativeType: 'character varying'; readonly codecId: 'sql/varchar@1'; readonly nullable: false; readonly typeRef: 'Name'; }; readonly hash: { readonly nativeType: 'character varying'; readonly codecId: 'sql/varchar@1'; readonly nullable: false; readonly typeRef: 'Hash'; }; readonly executed_at: { readonly nativeType: 'timestamp'; readonly codecId: 'pg/timestamp@1'; readonly nullable: true; readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; readonly typeRef: 'CreatedAt'; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'migrations_pkey' }; uniques: readonly [ { readonly columns: readonly ['name']; readonly name: 'migrations_name_key' }, ]; indexes: readonly []; foreignKeys: readonly []; }; readonly objects: { columns: { readonly id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'gen_random_uuid()'; }; readonly typeRef: 'Id'; }; readonly bucket_id: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly name: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly owner: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: true; readonly typeRef: 'Id'; }; readonly created_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; }; readonly updated_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; }; readonly last_accessed_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: true; readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; }; readonly metadata: { readonly nativeType: 'jsonb'; readonly codecId: 'pg/jsonb@1'; readonly nullable: true; }; readonly version: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly owner_id: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly user_metadata: { readonly nativeType: 'jsonb'; readonly codecId: 'pg/jsonb@1'; readonly nullable: true; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'objects_pkey' }; uniques: readonly []; indexes: readonly [ { readonly columns: readonly ['name']; readonly name: 'name_prefix_search' }, ]; foreignKeys: readonly [ { readonly source: { readonly namespaceId: 'storage' & NamespaceId; readonly tableName: 'objects'; readonly columns: readonly ['bucket_id']; }; readonly target: { readonly namespaceId: 'storage' & NamespaceId; readonly tableName: 'buckets'; readonly columns: readonly ['id']; }; readonly name: 'objects_bucketId_fkey'; }, ]; }; readonly s3_multipart_uploads: { columns: { readonly id: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly in_progress_size: { readonly nativeType: 'int8'; readonly codecId: 'pg/int8@1'; readonly nullable: false; readonly default: { readonly kind: 'literal'; readonly value: DefaultLiteralValue<'pg/int8@1', 0>; }; }; readonly upload_signature: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly bucket_id: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly key: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly version: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly owner_id: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly created_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; }; readonly user_metadata: { readonly nativeType: 'jsonb'; readonly codecId: 'pg/jsonb@1'; readonly nullable: true; }; readonly metadata: { readonly nativeType: 'jsonb'; readonly codecId: 'pg/jsonb@1'; readonly nullable: true; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 's3_multipart_uploads_pkey'; }; uniques: readonly []; indexes: readonly [ { readonly columns: readonly ['bucket_id', 'key', 'created_at']; readonly name: 'idx_multipart_uploads_list'; }, ]; foreignKeys: readonly [ { readonly source: { readonly namespaceId: 'storage' & NamespaceId; readonly tableName: 's3_multipart_uploads'; readonly columns: readonly ['bucket_id']; }; readonly target: { readonly namespaceId: 'storage' & NamespaceId; readonly tableName: 'buckets'; readonly columns: readonly ['id']; }; readonly name: 's3_multipart_uploads_bucket_id_fkey'; }, ]; }; readonly s3_multipart_uploads_parts: { columns: { readonly id: { readonly nativeType: 'uuid'; readonly codecId: 'pg/uuid@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'gen_random_uuid()'; }; readonly typeRef: 'Id'; }; readonly upload_id: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly size: { readonly nativeType: 'int8'; readonly codecId: 'pg/int8@1'; readonly nullable: false; readonly default: { readonly kind: 'literal'; readonly value: DefaultLiteralValue<'pg/int8@1', 0>; }; }; readonly part_number: { readonly nativeType: 'int4'; readonly codecId: 'pg/int4@1'; readonly nullable: false; }; readonly bucket_id: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly key: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly etag: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly owner_id: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: true; }; readonly version: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly created_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 's3_multipart_uploads_parts_pkey'; }; uniques: readonly []; indexes: readonly []; foreignKeys: readonly [ { readonly source: { readonly namespaceId: 'storage' & NamespaceId; readonly tableName: 's3_multipart_uploads_parts'; readonly columns: readonly ['bucket_id']; }; readonly target: { readonly namespaceId: 'storage' & NamespaceId; readonly tableName: 'buckets'; readonly columns: readonly ['id']; }; readonly name: 's3_multipart_uploads_parts_bucket_id_fkey'; }, { readonly source: { readonly namespaceId: 'storage' & NamespaceId; readonly tableName: 's3_multipart_uploads_parts'; readonly columns: readonly ['upload_id']; }; readonly target: { readonly namespaceId: 'storage' & NamespaceId; readonly tableName: 's3_multipart_uploads'; readonly columns: readonly ['id']; }; readonly name: 's3_multipart_uploads_parts_upload_id_fkey'; }, ]; }; readonly vector_indexes: { columns: { readonly id: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'gen_random_uuid()'; }; }; readonly name: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly bucket_id: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly data_type: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly dimension: { readonly nativeType: 'int4'; readonly codecId: 'pg/int4@1'; readonly nullable: false; }; readonly distance_metric: { readonly nativeType: 'text'; readonly codecId: 'pg/text@1'; readonly nullable: false; }; readonly metadata_configuration: { readonly nativeType: 'jsonb'; readonly codecId: 'pg/jsonb@1'; readonly nullable: true; }; readonly created_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; }; readonly updated_at: { readonly nativeType: 'timestamptz'; readonly codecId: 'pg/timestamptz@1'; readonly nullable: false; readonly default: { readonly kind: 'function'; readonly expression: 'now()' }; }; }; primaryKey: { readonly columns: readonly ['id']; readonly name: 'vector_indexes_pkey'; }; uniques: readonly []; indexes: readonly []; foreignKeys: readonly [ { readonly source: { readonly namespaceId: 'storage' & NamespaceId; readonly tableName: 'vector_indexes'; readonly columns: readonly ['bucket_id']; }; readonly target: { readonly namespaceId: 'storage' & NamespaceId; readonly tableName: 'buckets_vectors'; readonly columns: readonly ['id']; }; readonly name: 'vector_indexes_bucket_id_fkey'; }, ]; }; }; readonly valueSet: { readonly Buckettype: { readonly kind: 'valueSet'; readonly values: readonly ['STANDARD', 'ANALYTICS', 'VECTOR']; }; }; }; }; }; readonly types: { readonly CreatedAt: { readonly kind: 'codec-instance'; readonly codecId: 'pg/timestamp@1'; readonly nativeType: 'timestamp'; readonly typeParams: Record; }; readonly EmailChangeConfirmStatus: { readonly kind: 'codec-instance'; readonly codecId: 'pg/int2@1'; readonly nativeType: 'int2'; readonly typeParams: Record; }; readonly Hash: { readonly kind: 'codec-instance'; readonly codecId: 'sql/varchar@1'; readonly nativeType: 'character varying'; readonly typeParams: { readonly length: 40 }; }; readonly Id: { readonly kind: 'codec-instance'; readonly codecId: 'pg/uuid@1'; readonly nativeType: 'uuid'; readonly typeParams: Record; }; readonly IpAddress: { readonly kind: 'codec-instance'; readonly codecId: 'pg/inet@1'; readonly nativeType: 'inet'; readonly typeParams: Record; }; readonly IpAddress2: { readonly kind: 'codec-instance'; readonly codecId: 'sql/varchar@1'; readonly nativeType: 'character varying'; readonly typeParams: { readonly length: 64 }; }; readonly Name: { readonly kind: 'codec-instance'; readonly codecId: 'sql/varchar@1'; readonly nativeType: 'character varying'; readonly typeParams: { readonly length: 100 }; }; readonly Parent: { readonly kind: 'codec-instance'; readonly codecId: 'sql/varchar@1'; readonly nativeType: 'character varying'; readonly typeParams: { readonly length: 255 }; }; readonly Payload: { readonly kind: 'codec-instance'; readonly codecId: 'pg/json@1'; readonly nativeType: 'json'; readonly typeParams: Record; }; }; readonly storageHash: StorageHash; }>, 'roots' | 'domain' > & { readonly target: 'postgres'; readonly targetFamily: 'sql'; readonly roots: { readonly audit_log_entries: { readonly namespace: 'auth' & NamespaceId; readonly model: 'AuditLogEntries'; }; readonly users: { readonly namespace: 'auth' & NamespaceId; readonly model: 'AuthUser' }; readonly identities: { readonly namespace: 'auth' & NamespaceId; readonly model: 'AuthIdentity'; }; readonly oauth_clients: { readonly namespace: 'auth' & NamespaceId; readonly model: 'OauthClients'; }; readonly sessions: { readonly namespace: 'auth' & NamespaceId; readonly model: 'AuthSession' }; readonly custom_oauth_providers: { readonly namespace: 'auth' & NamespaceId; readonly model: 'CustomOauthProviders'; }; readonly flow_state: { readonly namespace: 'auth' & NamespaceId; readonly model: 'FlowState' }; readonly instances: { readonly namespace: 'auth' & NamespaceId; readonly model: 'Instances' }; readonly mfa_amr_claims: { readonly namespace: 'auth' & NamespaceId; readonly model: 'MfaAmrClaims'; }; readonly mfa_factors: { readonly namespace: 'auth' & NamespaceId; readonly model: 'MfaFactors'; }; readonly mfa_challenges: { readonly namespace: 'auth' & NamespaceId; readonly model: 'MfaChallenges'; }; readonly oauth_authorizations: { readonly namespace: 'auth' & NamespaceId; readonly model: 'OauthAuthorizations'; }; readonly oauth_client_states: { readonly namespace: 'auth' & NamespaceId; readonly model: 'OauthClientStates'; }; readonly oauth_consents: { readonly namespace: 'auth' & NamespaceId; readonly model: 'OauthConsents'; }; readonly one_time_tokens: { readonly namespace: 'auth' & NamespaceId; readonly model: 'OneTimeTokens'; }; readonly refresh_tokens: { readonly namespace: 'auth' & NamespaceId; readonly model: 'RefreshTokens'; }; readonly sso_providers: { readonly namespace: 'auth' & NamespaceId; readonly model: 'SsoProviders'; }; readonly saml_providers: { readonly namespace: 'auth' & NamespaceId; readonly model: 'SamlProviders'; }; readonly saml_relay_states: { readonly namespace: 'auth' & NamespaceId; readonly model: 'SamlRelayStates'; }; readonly schema_migrations: { readonly namespace: 'auth' & NamespaceId; readonly model: 'SchemaMigrations'; }; readonly sso_domains: { readonly namespace: 'auth' & NamespaceId; readonly model: 'SsoDomains'; }; readonly webauthn_challenges: { readonly namespace: 'auth' & NamespaceId; readonly model: 'WebauthnChallenges'; }; readonly webauthn_credentials: { readonly namespace: 'auth' & NamespaceId; readonly model: 'WebauthnCredentials'; }; readonly buckets_analytics: { readonly namespace: 'storage' & NamespaceId; readonly model: 'BucketsAnalytics'; }; readonly buckets_vectors: { readonly namespace: 'storage' & NamespaceId; readonly model: 'BucketsVectors'; }; readonly iceberg_namespaces: { readonly namespace: 'storage' & NamespaceId; readonly model: 'IcebergNamespaces'; }; readonly iceberg_tables: { readonly namespace: 'storage' & NamespaceId; readonly model: 'IcebergTables'; }; readonly migrations: { readonly namespace: 'storage' & NamespaceId; readonly model: 'Migrations'; }; readonly buckets: { readonly namespace: 'storage' & NamespaceId; readonly model: 'StorageBucket'; }; readonly s3_multipart_uploads: { readonly namespace: 'storage' & NamespaceId; readonly model: 'S3MultipartUploads'; }; readonly s3_multipart_uploads_parts: { readonly namespace: 'storage' & NamespaceId; readonly model: 'S3MultipartUploadsParts'; }; readonly objects: { readonly namespace: 'storage' & NamespaceId; readonly model: 'StorageObject'; }; readonly vector_indexes: { readonly namespace: 'storage' & NamespaceId; readonly model: 'VectorIndexes'; }; }; readonly domain: { readonly namespaces: { readonly auth: { readonly models: { readonly AuditLogEntries: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly instanceId: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly payload: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/json@1' }; }; readonly createdAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly ipAddress: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'sql/varchar@1' }; }; }; readonly relations: Record; readonly storage: { readonly table: 'audit_log_entries'; readonly namespaceId: 'auth'; readonly fields: { readonly id: { readonly column: 'id' }; readonly instanceId: { readonly column: 'instance_id' }; readonly payload: { readonly column: 'payload' }; readonly createdAt: { readonly column: 'created_at' }; readonly ipAddress: { readonly column: 'ip_address' }; }; }; }; readonly AuthIdentity: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly providerId: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly userId: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly identityData: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/jsonb@1' }; }; readonly provider: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly lastSignInAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly createdAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly updatedAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly email: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; }; readonly relations: { readonly user: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'AuthUser'; }; readonly cardinality: 'N:1'; readonly on: { readonly localFields: readonly ['userId']; readonly targetFields: readonly ['id']; }; }; }; readonly storage: { readonly table: 'identities'; readonly namespaceId: 'auth'; readonly fields: { readonly id: { readonly column: 'id' }; readonly providerId: { readonly column: 'provider_id' }; readonly userId: { readonly column: 'user_id' }; readonly identityData: { readonly column: 'identity_data' }; readonly provider: { readonly column: 'provider' }; readonly lastSignInAt: { readonly column: 'last_sign_in_at' }; readonly createdAt: { readonly column: 'created_at' }; readonly updatedAt: { readonly column: 'updated_at' }; readonly email: { readonly column: 'email' }; }; }; }; readonly AuthSession: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly userId: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly createdAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly updatedAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly factorId: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly aal: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/enum@1'; readonly typeParams: { readonly typeName: 'auth.aal_level' }; }; }; readonly notAfter: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly refreshedAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamp@1' }; }; readonly userAgent: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly ip: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/inet@1' }; }; readonly tag: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly oauthClientId: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly refreshTokenHmacKey: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly refreshTokenCounter: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/int8@1' }; }; readonly scopes: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; }; readonly relations: { readonly mfaAmrClaims: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'MfaAmrClaims'; }; readonly cardinality: '1:N'; readonly on: { readonly localFields: readonly ['id']; readonly targetFields: readonly ['sessionId']; }; }; readonly oauthClient: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'OauthClients'; }; readonly cardinality: 'N:1'; readonly on: { readonly localFields: readonly ['oauthClientId']; readonly targetFields: readonly ['id']; }; }; readonly refreshTokens: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'RefreshTokens'; }; readonly cardinality: '1:N'; readonly on: { readonly localFields: readonly ['id']; readonly targetFields: readonly ['sessionId']; }; }; readonly user: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'AuthUser'; }; readonly cardinality: 'N:1'; readonly on: { readonly localFields: readonly ['userId']; readonly targetFields: readonly ['id']; }; }; }; readonly storage: { readonly table: 'sessions'; readonly namespaceId: 'auth'; readonly fields: { readonly id: { readonly column: 'id' }; readonly userId: { readonly column: 'user_id' }; readonly createdAt: { readonly column: 'created_at' }; readonly updatedAt: { readonly column: 'updated_at' }; readonly factorId: { readonly column: 'factor_id' }; readonly aal: { readonly column: 'aal' }; readonly notAfter: { readonly column: 'not_after' }; readonly refreshedAt: { readonly column: 'refreshed_at' }; readonly userAgent: { readonly column: 'user_agent' }; readonly ip: { readonly column: 'ip' }; readonly tag: { readonly column: 'tag' }; readonly oauthClientId: { readonly column: 'oauth_client_id' }; readonly refreshTokenHmacKey: { readonly column: 'refresh_token_hmac_key' }; readonly refreshTokenCounter: { readonly column: 'refresh_token_counter' }; readonly scopes: { readonly column: 'scopes' }; }; }; }; readonly AuthUser: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly instanceId: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly aud: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'sql/varchar@1' }; }; readonly role: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'sql/varchar@1' }; }; readonly email: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'sql/varchar@1' }; }; readonly encryptedPassword: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'sql/varchar@1' }; }; readonly emailConfirmedAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly invitedAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly confirmationToken: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'sql/varchar@1' }; }; readonly confirmationSentAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly recoveryToken: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'sql/varchar@1' }; }; readonly recoverySentAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly emailChangeTokenNew: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'sql/varchar@1' }; }; readonly emailChange: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'sql/varchar@1' }; }; readonly emailChangeSentAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly lastSignInAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly rawAppMetaData: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/jsonb@1' }; }; readonly rawUserMetaData: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/jsonb@1' }; }; readonly isSuperAdmin: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/bool@1' }; }; readonly createdAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly updatedAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly phone: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly phoneConfirmedAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly phoneChange: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly phoneChangeToken: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'sql/varchar@1' }; }; readonly phoneChangeSentAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly confirmedAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly emailChangeTokenCurrent: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'sql/varchar@1' }; }; readonly emailChangeConfirmStatus: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/int2@1' }; }; readonly bannedUntil: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly reauthenticationToken: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'sql/varchar@1' }; }; readonly reauthenticationSentAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly isSsoUser: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/bool@1' }; }; readonly deletedAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly isAnonymous: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/bool@1' }; }; }; readonly relations: { readonly identities: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'AuthIdentity'; }; readonly cardinality: '1:N'; readonly on: { readonly localFields: readonly ['id']; readonly targetFields: readonly ['userId']; }; }; readonly mfaFactors: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'MfaFactors'; }; readonly cardinality: '1:N'; readonly on: { readonly localFields: readonly ['id']; readonly targetFields: readonly ['userId']; }; }; readonly oauthAuthorizations: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'OauthAuthorizations'; }; readonly cardinality: '1:N'; readonly on: { readonly localFields: readonly ['id']; readonly targetFields: readonly ['userId']; }; }; readonly oauthConsents: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'OauthConsents'; }; readonly cardinality: '1:N'; readonly on: { readonly localFields: readonly ['id']; readonly targetFields: readonly ['userId']; }; }; readonly oneTimeTokens: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'OneTimeTokens'; }; readonly cardinality: '1:N'; readonly on: { readonly localFields: readonly ['id']; readonly targetFields: readonly ['userId']; }; }; readonly sessions: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'AuthSession'; }; readonly cardinality: '1:N'; readonly on: { readonly localFields: readonly ['id']; readonly targetFields: readonly ['userId']; }; }; readonly webauthnChallenges: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'WebauthnChallenges'; }; readonly cardinality: '1:N'; readonly on: { readonly localFields: readonly ['id']; readonly targetFields: readonly ['userId']; }; }; readonly webauthnCredentials: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'WebauthnCredentials'; }; readonly cardinality: '1:N'; readonly on: { readonly localFields: readonly ['id']; readonly targetFields: readonly ['userId']; }; }; }; readonly storage: { readonly table: 'users'; readonly namespaceId: 'auth'; readonly fields: { readonly id: { readonly column: 'id' }; readonly instanceId: { readonly column: 'instance_id' }; readonly aud: { readonly column: 'aud' }; readonly role: { readonly column: 'role' }; readonly email: { readonly column: 'email' }; readonly encryptedPassword: { readonly column: 'encrypted_password' }; readonly emailConfirmedAt: { readonly column: 'email_confirmed_at' }; readonly invitedAt: { readonly column: 'invited_at' }; readonly confirmationToken: { readonly column: 'confirmation_token' }; readonly confirmationSentAt: { readonly column: 'confirmation_sent_at' }; readonly recoveryToken: { readonly column: 'recovery_token' }; readonly recoverySentAt: { readonly column: 'recovery_sent_at' }; readonly emailChangeTokenNew: { readonly column: 'email_change_token_new' }; readonly emailChange: { readonly column: 'email_change' }; readonly emailChangeSentAt: { readonly column: 'email_change_sent_at' }; readonly lastSignInAt: { readonly column: 'last_sign_in_at' }; readonly rawAppMetaData: { readonly column: 'raw_app_meta_data' }; readonly rawUserMetaData: { readonly column: 'raw_user_meta_data' }; readonly isSuperAdmin: { readonly column: 'is_super_admin' }; readonly createdAt: { readonly column: 'created_at' }; readonly updatedAt: { readonly column: 'updated_at' }; readonly phone: { readonly column: 'phone' }; readonly phoneConfirmedAt: { readonly column: 'phone_confirmed_at' }; readonly phoneChange: { readonly column: 'phone_change' }; readonly phoneChangeToken: { readonly column: 'phone_change_token' }; readonly phoneChangeSentAt: { readonly column: 'phone_change_sent_at' }; readonly confirmedAt: { readonly column: 'confirmed_at' }; readonly emailChangeTokenCurrent: { readonly column: 'email_change_token_current' }; readonly emailChangeConfirmStatus: { readonly column: 'email_change_confirm_status'; }; readonly bannedUntil: { readonly column: 'banned_until' }; readonly reauthenticationToken: { readonly column: 'reauthentication_token' }; readonly reauthenticationSentAt: { readonly column: 'reauthentication_sent_at' }; readonly isSsoUser: { readonly column: 'is_sso_user' }; readonly deletedAt: { readonly column: 'deleted_at' }; readonly isAnonymous: { readonly column: 'is_anonymous' }; }; }; }; readonly CustomOauthProviders: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly providerType: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly identifier: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly name: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly clientId: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly clientSecret: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly acceptableClientIds: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; readonly many: true; }; readonly scopes: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; readonly many: true; }; readonly pkceEnabled: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/bool@1' }; }; readonly attributeMapping: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/jsonb@1' }; }; readonly authorizationParams: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/jsonb@1' }; }; readonly enabled: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/bool@1' }; }; readonly emailOptional: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/bool@1' }; }; readonly issuer: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly discoveryUrl: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly skipNonceCheck: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/bool@1' }; }; readonly cachedDiscovery: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/jsonb@1' }; }; readonly discoveryCachedAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly authorizationUrl: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly tokenUrl: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly userinfoUrl: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly jwksUri: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly createdAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly updatedAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; }; readonly relations: Record; readonly storage: { readonly table: 'custom_oauth_providers'; readonly namespaceId: 'auth'; readonly fields: { readonly id: { readonly column: 'id' }; readonly providerType: { readonly column: 'provider_type' }; readonly identifier: { readonly column: 'identifier' }; readonly name: { readonly column: 'name' }; readonly clientId: { readonly column: 'client_id' }; readonly clientSecret: { readonly column: 'client_secret' }; readonly acceptableClientIds: { readonly column: 'acceptable_client_ids' }; readonly scopes: { readonly column: 'scopes' }; readonly pkceEnabled: { readonly column: 'pkce_enabled' }; readonly attributeMapping: { readonly column: 'attribute_mapping' }; readonly authorizationParams: { readonly column: 'authorization_params' }; readonly enabled: { readonly column: 'enabled' }; readonly emailOptional: { readonly column: 'email_optional' }; readonly issuer: { readonly column: 'issuer' }; readonly discoveryUrl: { readonly column: 'discovery_url' }; readonly skipNonceCheck: { readonly column: 'skip_nonce_check' }; readonly cachedDiscovery: { readonly column: 'cached_discovery' }; readonly discoveryCachedAt: { readonly column: 'discovery_cached_at' }; readonly authorizationUrl: { readonly column: 'authorization_url' }; readonly tokenUrl: { readonly column: 'token_url' }; readonly userinfoUrl: { readonly column: 'userinfo_url' }; readonly jwksUri: { readonly column: 'jwks_uri' }; readonly createdAt: { readonly column: 'created_at' }; readonly updatedAt: { readonly column: 'updated_at' }; }; }; }; readonly FlowState: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly userId: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly authCode: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly codeChallengeMethod: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/enum@1'; readonly typeParams: { readonly typeName: 'auth.code_challenge_method' }; }; }; readonly codeChallenge: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly providerType: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly providerAccessToken: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly providerRefreshToken: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly createdAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly updatedAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly authenticationMethod: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly authCodeIssuedAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly inviteToken: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly referrer: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly oauthClientStateId: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly linkingTargetId: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly emailOptional: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/bool@1' }; }; }; readonly relations: { readonly samlRelayStates: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'SamlRelayStates'; }; readonly cardinality: '1:N'; readonly on: { readonly localFields: readonly ['id']; readonly targetFields: readonly ['flowStateId']; }; }; }; readonly storage: { readonly table: 'flow_state'; readonly namespaceId: 'auth'; readonly fields: { readonly id: { readonly column: 'id' }; readonly userId: { readonly column: 'user_id' }; readonly authCode: { readonly column: 'auth_code' }; readonly codeChallengeMethod: { readonly column: 'code_challenge_method' }; readonly codeChallenge: { readonly column: 'code_challenge' }; readonly providerType: { readonly column: 'provider_type' }; readonly providerAccessToken: { readonly column: 'provider_access_token' }; readonly providerRefreshToken: { readonly column: 'provider_refresh_token' }; readonly createdAt: { readonly column: 'created_at' }; readonly updatedAt: { readonly column: 'updated_at' }; readonly authenticationMethod: { readonly column: 'authentication_method' }; readonly authCodeIssuedAt: { readonly column: 'auth_code_issued_at' }; readonly inviteToken: { readonly column: 'invite_token' }; readonly referrer: { readonly column: 'referrer' }; readonly oauthClientStateId: { readonly column: 'oauth_client_state_id' }; readonly linkingTargetId: { readonly column: 'linking_target_id' }; readonly emailOptional: { readonly column: 'email_optional' }; }; }; }; readonly Instances: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly uuid: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly rawBaseConfig: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly createdAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly updatedAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; }; readonly relations: Record; readonly storage: { readonly table: 'instances'; readonly namespaceId: 'auth'; readonly fields: { readonly id: { readonly column: 'id' }; readonly uuid: { readonly column: 'uuid' }; readonly rawBaseConfig: { readonly column: 'raw_base_config' }; readonly createdAt: { readonly column: 'created_at' }; readonly updatedAt: { readonly column: 'updated_at' }; }; }; }; readonly MfaAmrClaims: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly sessionId: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly createdAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly updatedAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly authenticationMethod: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; }; readonly relations: { readonly session: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'AuthSession'; }; readonly cardinality: 'N:1'; readonly on: { readonly localFields: readonly ['sessionId']; readonly targetFields: readonly ['id']; }; }; }; readonly storage: { readonly table: 'mfa_amr_claims'; readonly namespaceId: 'auth'; readonly fields: { readonly id: { readonly column: 'id' }; readonly sessionId: { readonly column: 'session_id' }; readonly createdAt: { readonly column: 'created_at' }; readonly updatedAt: { readonly column: 'updated_at' }; readonly authenticationMethod: { readonly column: 'authentication_method' }; }; }; }; readonly MfaChallenges: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly factorId: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly createdAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly verifiedAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly ipAddress: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/inet@1' }; }; readonly otpCode: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly webAuthnSessionData: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/jsonb@1' }; }; }; readonly relations: { readonly factor: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'MfaFactors'; }; readonly cardinality: 'N:1'; readonly on: { readonly localFields: readonly ['factorId']; readonly targetFields: readonly ['id']; }; }; }; readonly storage: { readonly table: 'mfa_challenges'; readonly namespaceId: 'auth'; readonly fields: { readonly id: { readonly column: 'id' }; readonly factorId: { readonly column: 'factor_id' }; readonly createdAt: { readonly column: 'created_at' }; readonly verifiedAt: { readonly column: 'verified_at' }; readonly ipAddress: { readonly column: 'ip_address' }; readonly otpCode: { readonly column: 'otp_code' }; readonly webAuthnSessionData: { readonly column: 'web_authn_session_data' }; }; }; }; readonly MfaFactors: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly userId: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly friendlyName: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly factorType: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/enum@1'; readonly typeParams: { readonly typeName: 'auth.factor_type' }; }; }; readonly status: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/enum@1'; readonly typeParams: { readonly typeName: 'auth.factor_status' }; }; }; readonly createdAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly updatedAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly secret: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly phone: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly lastChallengedAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly webAuthnCredential: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/jsonb@1' }; }; readonly webAuthnAaguid: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly lastWebauthnChallengeData: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/jsonb@1' }; }; }; readonly relations: { readonly mfaChallenges: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'MfaChallenges'; }; readonly cardinality: '1:N'; readonly on: { readonly localFields: readonly ['id']; readonly targetFields: readonly ['factorId']; }; }; readonly user: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'AuthUser'; }; readonly cardinality: 'N:1'; readonly on: { readonly localFields: readonly ['userId']; readonly targetFields: readonly ['id']; }; }; }; readonly storage: { readonly table: 'mfa_factors'; readonly namespaceId: 'auth'; readonly fields: { readonly id: { readonly column: 'id' }; readonly userId: { readonly column: 'user_id' }; readonly friendlyName: { readonly column: 'friendly_name' }; readonly factorType: { readonly column: 'factor_type' }; readonly status: { readonly column: 'status' }; readonly createdAt: { readonly column: 'created_at' }; readonly updatedAt: { readonly column: 'updated_at' }; readonly secret: { readonly column: 'secret' }; readonly phone: { readonly column: 'phone' }; readonly lastChallengedAt: { readonly column: 'last_challenged_at' }; readonly webAuthnCredential: { readonly column: 'web_authn_credential' }; readonly webAuthnAaguid: { readonly column: 'web_authn_aaguid' }; readonly lastWebauthnChallengeData: { readonly column: 'last_webauthn_challenge_data'; }; }; }; }; readonly OauthAuthorizations: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly authorizationId: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly clientId: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly userId: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly redirectUri: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly scope: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly state: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly resource: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly codeChallenge: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly codeChallengeMethod: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/enum@1'; readonly typeParams: { readonly typeName: 'auth.code_challenge_method' }; }; }; readonly responseType: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/enum@1'; readonly typeParams: { readonly typeName: 'auth.oauth_response_type' }; }; }; readonly status: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/enum@1'; readonly typeParams: { readonly typeName: 'auth.oauth_authorization_status' }; }; }; readonly authorizationCode: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly createdAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly expiresAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly approvedAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly nonce: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; }; readonly relations: { readonly client: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'OauthClients'; }; readonly cardinality: 'N:1'; readonly on: { readonly localFields: readonly ['clientId']; readonly targetFields: readonly ['id']; }; }; readonly user: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'AuthUser'; }; readonly cardinality: 'N:1'; readonly on: { readonly localFields: readonly ['userId']; readonly targetFields: readonly ['id']; }; }; }; readonly storage: { readonly table: 'oauth_authorizations'; readonly namespaceId: 'auth'; readonly fields: { readonly id: { readonly column: 'id' }; readonly authorizationId: { readonly column: 'authorization_id' }; readonly clientId: { readonly column: 'client_id' }; readonly userId: { readonly column: 'user_id' }; readonly redirectUri: { readonly column: 'redirect_uri' }; readonly scope: { readonly column: 'scope' }; readonly state: { readonly column: 'state' }; readonly resource: { readonly column: 'resource' }; readonly codeChallenge: { readonly column: 'code_challenge' }; readonly codeChallengeMethod: { readonly column: 'code_challenge_method' }; readonly responseType: { readonly column: 'response_type' }; readonly status: { readonly column: 'status' }; readonly authorizationCode: { readonly column: 'authorization_code' }; readonly createdAt: { readonly column: 'created_at' }; readonly expiresAt: { readonly column: 'expires_at' }; readonly approvedAt: { readonly column: 'approved_at' }; readonly nonce: { readonly column: 'nonce' }; }; }; }; readonly OauthClients: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly clientSecretHash: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly registrationType: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/enum@1'; readonly typeParams: { readonly typeName: 'auth.oauth_registration_type' }; }; }; readonly redirectUris: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly grantTypes: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly clientName: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly clientUri: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly logoUri: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly createdAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly updatedAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly deletedAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly clientType: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/enum@1'; readonly typeParams: { readonly typeName: 'auth.oauth_client_type' }; }; }; readonly tokenEndpointAuthMethod: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; }; readonly relations: { readonly oauthAuthorizations: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'OauthAuthorizations'; }; readonly cardinality: '1:N'; readonly on: { readonly localFields: readonly ['id']; readonly targetFields: readonly ['clientId']; }; }; readonly oauthConsents: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'OauthConsents'; }; readonly cardinality: '1:N'; readonly on: { readonly localFields: readonly ['id']; readonly targetFields: readonly ['clientId']; }; }; readonly sessions: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'AuthSession'; }; readonly cardinality: '1:N'; readonly on: { readonly localFields: readonly ['id']; readonly targetFields: readonly ['oauthClientId']; }; }; }; readonly storage: { readonly table: 'oauth_clients'; readonly namespaceId: 'auth'; readonly fields: { readonly id: { readonly column: 'id' }; readonly clientSecretHash: { readonly column: 'client_secret_hash' }; readonly registrationType: { readonly column: 'registration_type' }; readonly redirectUris: { readonly column: 'redirect_uris' }; readonly grantTypes: { readonly column: 'grant_types' }; readonly clientName: { readonly column: 'client_name' }; readonly clientUri: { readonly column: 'client_uri' }; readonly logoUri: { readonly column: 'logo_uri' }; readonly createdAt: { readonly column: 'created_at' }; readonly updatedAt: { readonly column: 'updated_at' }; readonly deletedAt: { readonly column: 'deleted_at' }; readonly clientType: { readonly column: 'client_type' }; readonly tokenEndpointAuthMethod: { readonly column: 'token_endpoint_auth_method' }; }; }; }; readonly OauthClientStates: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly providerType: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly codeVerifier: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly createdAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; }; readonly relations: Record; readonly storage: { readonly table: 'oauth_client_states'; readonly namespaceId: 'auth'; readonly fields: { readonly id: { readonly column: 'id' }; readonly providerType: { readonly column: 'provider_type' }; readonly codeVerifier: { readonly column: 'code_verifier' }; readonly createdAt: { readonly column: 'created_at' }; }; }; }; readonly OauthConsents: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly userId: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly clientId: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly scopes: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly grantedAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly revokedAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; }; readonly relations: { readonly client: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'OauthClients'; }; readonly cardinality: 'N:1'; readonly on: { readonly localFields: readonly ['clientId']; readonly targetFields: readonly ['id']; }; }; readonly user: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'AuthUser'; }; readonly cardinality: 'N:1'; readonly on: { readonly localFields: readonly ['userId']; readonly targetFields: readonly ['id']; }; }; }; readonly storage: { readonly table: 'oauth_consents'; readonly namespaceId: 'auth'; readonly fields: { readonly id: { readonly column: 'id' }; readonly userId: { readonly column: 'user_id' }; readonly clientId: { readonly column: 'client_id' }; readonly scopes: { readonly column: 'scopes' }; readonly grantedAt: { readonly column: 'granted_at' }; readonly revokedAt: { readonly column: 'revoked_at' }; }; }; }; readonly OneTimeTokens: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly userId: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly tokenType: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/enum@1'; readonly typeParams: { readonly typeName: 'auth.one_time_token_type' }; }; }; readonly tokenHash: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly relatesTo: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly createdAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamp@1' }; }; readonly updatedAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamp@1' }; }; }; readonly relations: { readonly user: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'AuthUser'; }; readonly cardinality: 'N:1'; readonly on: { readonly localFields: readonly ['userId']; readonly targetFields: readonly ['id']; }; }; }; readonly storage: { readonly table: 'one_time_tokens'; readonly namespaceId: 'auth'; readonly fields: { readonly id: { readonly column: 'id' }; readonly userId: { readonly column: 'user_id' }; readonly tokenType: { readonly column: 'token_type' }; readonly tokenHash: { readonly column: 'token_hash' }; readonly relatesTo: { readonly column: 'relates_to' }; readonly createdAt: { readonly column: 'created_at' }; readonly updatedAt: { readonly column: 'updated_at' }; }; }; }; readonly RefreshTokens: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/int8@1' }; }; readonly instanceId: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly token: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'sql/varchar@1' }; }; readonly userId: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'sql/varchar@1' }; }; readonly revoked: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/bool@1' }; }; readonly createdAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly updatedAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly parent: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'sql/varchar@1' }; }; readonly sessionId: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; }; readonly relations: { readonly session: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'AuthSession'; }; readonly cardinality: 'N:1'; readonly on: { readonly localFields: readonly ['sessionId']; readonly targetFields: readonly ['id']; }; }; }; readonly storage: { readonly table: 'refresh_tokens'; readonly namespaceId: 'auth'; readonly fields: { readonly id: { readonly column: 'id' }; readonly instanceId: { readonly column: 'instance_id' }; readonly token: { readonly column: 'token' }; readonly userId: { readonly column: 'user_id' }; readonly revoked: { readonly column: 'revoked' }; readonly createdAt: { readonly column: 'created_at' }; readonly updatedAt: { readonly column: 'updated_at' }; readonly parent: { readonly column: 'parent' }; readonly sessionId: { readonly column: 'session_id' }; }; }; }; readonly SamlProviders: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly ssoProviderId: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly entityId: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly metadataXml: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly metadataUrl: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly attributeMapping: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/jsonb@1' }; }; readonly createdAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly updatedAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly nameIdFormat: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; }; readonly relations: { readonly ssoProvider: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'SsoProviders'; }; readonly cardinality: 'N:1'; readonly on: { readonly localFields: readonly ['ssoProviderId']; readonly targetFields: readonly ['id']; }; }; }; readonly storage: { readonly table: 'saml_providers'; readonly namespaceId: 'auth'; readonly fields: { readonly id: { readonly column: 'id' }; readonly ssoProviderId: { readonly column: 'sso_provider_id' }; readonly entityId: { readonly column: 'entity_id' }; readonly metadataXml: { readonly column: 'metadata_xml' }; readonly metadataUrl: { readonly column: 'metadata_url' }; readonly attributeMapping: { readonly column: 'attribute_mapping' }; readonly createdAt: { readonly column: 'created_at' }; readonly updatedAt: { readonly column: 'updated_at' }; readonly nameIdFormat: { readonly column: 'name_id_format' }; }; }; }; readonly SamlRelayStates: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly ssoProviderId: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly requestId: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly forEmail: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly redirectTo: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly createdAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly updatedAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly flowStateId: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; }; readonly relations: { readonly flowState: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'FlowState'; }; readonly cardinality: 'N:1'; readonly on: { readonly localFields: readonly ['flowStateId']; readonly targetFields: readonly ['id']; }; }; readonly ssoProvider: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'SsoProviders'; }; readonly cardinality: 'N:1'; readonly on: { readonly localFields: readonly ['ssoProviderId']; readonly targetFields: readonly ['id']; }; }; }; readonly storage: { readonly table: 'saml_relay_states'; readonly namespaceId: 'auth'; readonly fields: { readonly id: { readonly column: 'id' }; readonly ssoProviderId: { readonly column: 'sso_provider_id' }; readonly requestId: { readonly column: 'request_id' }; readonly forEmail: { readonly column: 'for_email' }; readonly redirectTo: { readonly column: 'redirect_to' }; readonly createdAt: { readonly column: 'created_at' }; readonly updatedAt: { readonly column: 'updated_at' }; readonly flowStateId: { readonly column: 'flow_state_id' }; }; }; }; readonly SchemaMigrations: { readonly fields: { readonly version: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'sql/varchar@1' }; }; }; readonly relations: Record; readonly storage: { readonly table: 'schema_migrations'; readonly namespaceId: 'auth'; readonly fields: { readonly version: { readonly column: 'version' } }; }; }; readonly SsoDomains: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly ssoProviderId: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly domain: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly createdAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly updatedAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; }; readonly relations: { readonly ssoProvider: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'SsoProviders'; }; readonly cardinality: 'N:1'; readonly on: { readonly localFields: readonly ['ssoProviderId']; readonly targetFields: readonly ['id']; }; }; }; readonly storage: { readonly table: 'sso_domains'; readonly namespaceId: 'auth'; readonly fields: { readonly id: { readonly column: 'id' }; readonly ssoProviderId: { readonly column: 'sso_provider_id' }; readonly domain: { readonly column: 'domain' }; readonly createdAt: { readonly column: 'created_at' }; readonly updatedAt: { readonly column: 'updated_at' }; }; }; }; readonly SsoProviders: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly resourceId: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly createdAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly updatedAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly disabled: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/bool@1' }; }; }; readonly relations: { readonly samlProviders: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'SamlProviders'; }; readonly cardinality: '1:N'; readonly on: { readonly localFields: readonly ['id']; readonly targetFields: readonly ['ssoProviderId']; }; }; readonly samlRelayStates: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'SamlRelayStates'; }; readonly cardinality: '1:N'; readonly on: { readonly localFields: readonly ['id']; readonly targetFields: readonly ['ssoProviderId']; }; }; readonly ssoDomains: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'SsoDomains'; }; readonly cardinality: '1:N'; readonly on: { readonly localFields: readonly ['id']; readonly targetFields: readonly ['ssoProviderId']; }; }; }; readonly storage: { readonly table: 'sso_providers'; readonly namespaceId: 'auth'; readonly fields: { readonly id: { readonly column: 'id' }; readonly resourceId: { readonly column: 'resource_id' }; readonly createdAt: { readonly column: 'created_at' }; readonly updatedAt: { readonly column: 'updated_at' }; readonly disabled: { readonly column: 'disabled' }; }; }; }; readonly WebauthnChallenges: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly userId: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly challengeType: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly sessionData: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/jsonb@1' }; }; readonly createdAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly expiresAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; }; readonly relations: { readonly user: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'AuthUser'; }; readonly cardinality: 'N:1'; readonly on: { readonly localFields: readonly ['userId']; readonly targetFields: readonly ['id']; }; }; }; readonly storage: { readonly table: 'webauthn_challenges'; readonly namespaceId: 'auth'; readonly fields: { readonly id: { readonly column: 'id' }; readonly userId: { readonly column: 'user_id' }; readonly challengeType: { readonly column: 'challenge_type' }; readonly sessionData: { readonly column: 'session_data' }; readonly createdAt: { readonly column: 'created_at' }; readonly expiresAt: { readonly column: 'expires_at' }; }; }; }; readonly WebauthnCredentials: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly userId: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly credentialId: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/bytea@1' }; }; readonly publicKey: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/bytea@1' }; }; readonly attestationType: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly aaguid: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly signCount: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/int8@1' }; }; readonly transports: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/jsonb@1' }; }; readonly backupEligible: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/bool@1' }; }; readonly backedUp: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/bool@1' }; }; readonly friendlyName: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly createdAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly updatedAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly lastUsedAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; }; readonly relations: { readonly user: { readonly to: { readonly namespace: 'auth' & NamespaceId; readonly model: 'AuthUser'; }; readonly cardinality: 'N:1'; readonly on: { readonly localFields: readonly ['userId']; readonly targetFields: readonly ['id']; }; }; }; readonly storage: { readonly table: 'webauthn_credentials'; readonly namespaceId: 'auth'; readonly fields: { readonly id: { readonly column: 'id' }; readonly userId: { readonly column: 'user_id' }; readonly credentialId: { readonly column: 'credential_id' }; readonly publicKey: { readonly column: 'public_key' }; readonly attestationType: { readonly column: 'attestation_type' }; readonly aaguid: { readonly column: 'aaguid' }; readonly signCount: { readonly column: 'sign_count' }; readonly transports: { readonly column: 'transports' }; readonly backupEligible: { readonly column: 'backup_eligible' }; readonly backedUp: { readonly column: 'backed_up' }; readonly friendlyName: { readonly column: 'friendly_name' }; readonly createdAt: { readonly column: 'created_at' }; readonly updatedAt: { readonly column: 'updated_at' }; readonly lastUsedAt: { readonly column: 'last_used_at' }; }; }; }; }; }; readonly storage: { readonly models: { readonly BucketsAnalytics: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly name: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly _type: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/enum@1'; readonly typeParams: { readonly typeName: 'storage.buckettype' }; }; }; readonly format: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly createdAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly updatedAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly deletedAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; }; readonly relations: { readonly icebergNamespaces: { readonly to: { readonly namespace: 'storage' & NamespaceId; readonly model: 'IcebergNamespaces'; }; readonly cardinality: '1:N'; readonly on: { readonly localFields: readonly ['id']; readonly targetFields: readonly ['catalogId']; }; }; readonly icebergTables: { readonly to: { readonly namespace: 'storage' & NamespaceId; readonly model: 'IcebergTables'; }; readonly cardinality: '1:N'; readonly on: { readonly localFields: readonly ['id']; readonly targetFields: readonly ['catalogId']; }; }; }; readonly storage: { readonly table: 'buckets_analytics'; readonly namespaceId: 'storage'; readonly fields: { readonly id: { readonly column: 'id' }; readonly name: { readonly column: 'name' }; readonly _type: { readonly column: 'type' }; readonly format: { readonly column: 'format' }; readonly createdAt: { readonly column: 'created_at' }; readonly updatedAt: { readonly column: 'updated_at' }; readonly deletedAt: { readonly column: 'deleted_at' }; }; }; }; readonly BucketsVectors: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly _type: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/enum@1'; readonly typeParams: { readonly typeName: 'storage.buckettype' }; }; }; readonly createdAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly updatedAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; }; readonly relations: { readonly vectorIndexes: { readonly to: { readonly namespace: 'storage' & NamespaceId; readonly model: 'VectorIndexes'; }; readonly cardinality: '1:N'; readonly on: { readonly localFields: readonly ['id']; readonly targetFields: readonly ['bucketId']; }; }; }; readonly storage: { readonly table: 'buckets_vectors'; readonly namespaceId: 'storage'; readonly fields: { readonly id: { readonly column: 'id' }; readonly _type: { readonly column: 'type' }; readonly createdAt: { readonly column: 'created_at' }; readonly updatedAt: { readonly column: 'updated_at' }; }; }; }; readonly IcebergNamespaces: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly bucketName: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly name: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly createdAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly updatedAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly metadata: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/jsonb@1' }; }; readonly catalogId: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; }; readonly relations: { readonly catalog: { readonly to: { readonly namespace: 'storage' & NamespaceId; readonly model: 'BucketsAnalytics'; }; readonly cardinality: 'N:1'; readonly on: { readonly localFields: readonly ['catalogId']; readonly targetFields: readonly ['id']; }; }; readonly icebergTables: { readonly to: { readonly namespace: 'storage' & NamespaceId; readonly model: 'IcebergTables'; }; readonly cardinality: '1:N'; readonly on: { readonly localFields: readonly ['id']; readonly targetFields: readonly ['namespaceId']; }; }; }; readonly storage: { readonly table: 'iceberg_namespaces'; readonly namespaceId: 'storage'; readonly fields: { readonly id: { readonly column: 'id' }; readonly bucketName: { readonly column: 'bucket_name' }; readonly name: { readonly column: 'name' }; readonly createdAt: { readonly column: 'created_at' }; readonly updatedAt: { readonly column: 'updated_at' }; readonly metadata: { readonly column: 'metadata' }; readonly catalogId: { readonly column: 'catalog_id' }; }; }; }; readonly IcebergTables: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly namespaceId: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly bucketName: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly name: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly location: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly createdAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly updatedAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly remoteTableId: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly shardKey: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly shardId: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly catalogId: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; }; readonly relations: { readonly catalog: { readonly to: { readonly namespace: 'storage' & NamespaceId; readonly model: 'BucketsAnalytics'; }; readonly cardinality: 'N:1'; readonly on: { readonly localFields: readonly ['catalogId']; readonly targetFields: readonly ['id']; }; }; readonly namespace: { readonly to: { readonly namespace: 'storage' & NamespaceId; readonly model: 'IcebergNamespaces'; }; readonly cardinality: 'N:1'; readonly on: { readonly localFields: readonly ['namespaceId']; readonly targetFields: readonly ['id']; }; }; }; readonly storage: { readonly table: 'iceberg_tables'; readonly namespaceId: 'storage'; readonly fields: { readonly id: { readonly column: 'id' }; readonly namespaceId: { readonly column: 'namespace_id' }; readonly bucketName: { readonly column: 'bucket_name' }; readonly name: { readonly column: 'name' }; readonly location: { readonly column: 'location' }; readonly createdAt: { readonly column: 'created_at' }; readonly updatedAt: { readonly column: 'updated_at' }; readonly remoteTableId: { readonly column: 'remote_table_id' }; readonly shardKey: { readonly column: 'shard_key' }; readonly shardId: { readonly column: 'shard_id' }; readonly catalogId: { readonly column: 'catalog_id' }; }; }; }; readonly Migrations: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/int4@1' }; }; readonly name: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'sql/varchar@1' }; }; readonly hash: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'sql/varchar@1' }; }; readonly executedAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamp@1' }; }; }; readonly relations: Record; readonly storage: { readonly table: 'migrations'; readonly namespaceId: 'storage'; readonly fields: { readonly id: { readonly column: 'id' }; readonly name: { readonly column: 'name' }; readonly hash: { readonly column: 'hash' }; readonly executedAt: { readonly column: 'executed_at' }; }; }; }; readonly S3MultipartUploads: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly inProgressSize: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/int8@1' }; }; readonly uploadSignature: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly bucketId: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly key: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly version: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly ownerId: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly createdAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly userMetadata: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/jsonb@1' }; }; readonly metadata: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/jsonb@1' }; }; }; readonly relations: { readonly bucket: { readonly to: { readonly namespace: 'storage' & NamespaceId; readonly model: 'StorageBucket'; }; readonly cardinality: 'N:1'; readonly on: { readonly localFields: readonly ['bucketId']; readonly targetFields: readonly ['id']; }; }; readonly s3MultipartUploadsParts: { readonly to: { readonly namespace: 'storage' & NamespaceId; readonly model: 'S3MultipartUploadsParts'; }; readonly cardinality: '1:N'; readonly on: { readonly localFields: readonly ['id']; readonly targetFields: readonly ['uploadId']; }; }; }; readonly storage: { readonly table: 's3_multipart_uploads'; readonly namespaceId: 'storage'; readonly fields: { readonly id: { readonly column: 'id' }; readonly inProgressSize: { readonly column: 'in_progress_size' }; readonly uploadSignature: { readonly column: 'upload_signature' }; readonly bucketId: { readonly column: 'bucket_id' }; readonly key: { readonly column: 'key' }; readonly version: { readonly column: 'version' }; readonly ownerId: { readonly column: 'owner_id' }; readonly createdAt: { readonly column: 'created_at' }; readonly userMetadata: { readonly column: 'user_metadata' }; readonly metadata: { readonly column: 'metadata' }; }; }; }; readonly S3MultipartUploadsParts: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly uploadId: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly size: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/int8@1' }; }; readonly partNumber: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/int4@1' }; }; readonly bucketId: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly key: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly etag: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly ownerId: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly version: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly createdAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; }; readonly relations: { readonly bucket: { readonly to: { readonly namespace: 'storage' & NamespaceId; readonly model: 'StorageBucket'; }; readonly cardinality: 'N:1'; readonly on: { readonly localFields: readonly ['bucketId']; readonly targetFields: readonly ['id']; }; }; readonly upload: { readonly to: { readonly namespace: 'storage' & NamespaceId; readonly model: 'S3MultipartUploads'; }; readonly cardinality: 'N:1'; readonly on: { readonly localFields: readonly ['uploadId']; readonly targetFields: readonly ['id']; }; }; }; readonly storage: { readonly table: 's3_multipart_uploads_parts'; readonly namespaceId: 'storage'; readonly fields: { readonly id: { readonly column: 'id' }; readonly uploadId: { readonly column: 'upload_id' }; readonly size: { readonly column: 'size' }; readonly partNumber: { readonly column: 'part_number' }; readonly bucketId: { readonly column: 'bucket_id' }; readonly key: { readonly column: 'key' }; readonly etag: { readonly column: 'etag' }; readonly ownerId: { readonly column: 'owner_id' }; readonly version: { readonly column: 'version' }; readonly createdAt: { readonly column: 'created_at' }; }; }; }; readonly StorageBucket: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly name: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly owner: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly createdAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly updatedAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly public: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/bool@1' }; }; readonly avifAutodetection: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/bool@1' }; }; readonly fileSizeLimit: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/int8@1' }; }; readonly ownerId: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly _type: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/enum@1'; readonly typeParams: { readonly typeName: 'storage.buckettype' }; }; }; }; readonly relations: { readonly objects: { readonly to: { readonly namespace: 'storage' & NamespaceId; readonly model: 'StorageObject'; }; readonly cardinality: '1:N'; readonly on: { readonly localFields: readonly ['id']; readonly targetFields: readonly ['bucketId']; }; }; readonly s3MultipartUploads: { readonly to: { readonly namespace: 'storage' & NamespaceId; readonly model: 'S3MultipartUploads'; }; readonly cardinality: '1:N'; readonly on: { readonly localFields: readonly ['id']; readonly targetFields: readonly ['bucketId']; }; }; readonly s3MultipartUploadsParts: { readonly to: { readonly namespace: 'storage' & NamespaceId; readonly model: 'S3MultipartUploadsParts'; }; readonly cardinality: '1:N'; readonly on: { readonly localFields: readonly ['id']; readonly targetFields: readonly ['bucketId']; }; }; }; readonly storage: { readonly table: 'buckets'; readonly namespaceId: 'storage'; readonly fields: { readonly id: { readonly column: 'id' }; readonly name: { readonly column: 'name' }; readonly owner: { readonly column: 'owner' }; readonly createdAt: { readonly column: 'created_at' }; readonly updatedAt: { readonly column: 'updated_at' }; readonly public: { readonly column: 'public' }; readonly avifAutodetection: { readonly column: 'avif_autodetection' }; readonly fileSizeLimit: { readonly column: 'file_size_limit' }; readonly ownerId: { readonly column: 'owner_id' }; readonly _type: { readonly column: 'type' }; }; }; }; readonly StorageObject: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly bucketId: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly name: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly owner: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/uuid@1' }; }; readonly createdAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly updatedAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly lastAccessedAt: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly metadata: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/jsonb@1' }; }; readonly version: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly ownerId: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly userMetadata: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/jsonb@1' }; }; }; readonly relations: { readonly bucket: { readonly to: { readonly namespace: 'storage' & NamespaceId; readonly model: 'StorageBucket'; }; readonly cardinality: 'N:1'; readonly on: { readonly localFields: readonly ['bucketId']; readonly targetFields: readonly ['id']; }; }; }; readonly storage: { readonly table: 'objects'; readonly namespaceId: 'storage'; readonly fields: { readonly id: { readonly column: 'id' }; readonly bucketId: { readonly column: 'bucket_id' }; readonly name: { readonly column: 'name' }; readonly owner: { readonly column: 'owner' }; readonly createdAt: { readonly column: 'created_at' }; readonly updatedAt: { readonly column: 'updated_at' }; readonly lastAccessedAt: { readonly column: 'last_accessed_at' }; readonly metadata: { readonly column: 'metadata' }; readonly version: { readonly column: 'version' }; readonly ownerId: { readonly column: 'owner_id' }; readonly userMetadata: { readonly column: 'user_metadata' }; }; }; }; readonly VectorIndexes: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly name: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly bucketId: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly dataType: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly dimension: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/int4@1' }; }; readonly distanceMetric: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly metadataConfiguration: { readonly nullable: true; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/jsonb@1' }; }; readonly createdAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; readonly updatedAt: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/timestamptz@1' }; }; }; readonly relations: { readonly bucket: { readonly to: { readonly namespace: 'storage' & NamespaceId; readonly model: 'BucketsVectors'; }; readonly cardinality: 'N:1'; readonly on: { readonly localFields: readonly ['bucketId']; readonly targetFields: readonly ['id']; }; }; }; readonly storage: { readonly table: 'vector_indexes'; readonly namespaceId: 'storage'; readonly fields: { readonly id: { readonly column: 'id' }; readonly name: { readonly column: 'name' }; readonly bucketId: { readonly column: 'bucket_id' }; readonly dataType: { readonly column: 'data_type' }; readonly dimension: { readonly column: 'dimension' }; readonly distanceMetric: { readonly column: 'distance_metric' }; readonly metadataConfiguration: { readonly column: 'metadata_configuration' }; readonly createdAt: { readonly column: 'created_at' }; readonly updatedAt: { readonly column: 'updated_at' }; }; }; }; }; }; }; }; readonly capabilities: { readonly postgres: { readonly distinctOn: true; readonly jsonAgg: true; readonly lateral: true; readonly limit: true; readonly orderBy: true; readonly returning: true; }; readonly sql: { readonly defaultInInsert: true; readonly enums: true; readonly lateral: true; readonly returning: true; readonly scalarList: true; }; }; readonly extensionPacks: {}; readonly meta: {}; readonly profileHash: ProfileHash; }; export type Contract = ContractWithTypeMaps; export type Namespaces = Contract['storage']['namespaces'];