/** * Entity types and filter types * @generated by @constructive-io/graphql-codegen * DO NOT EDIT - changes will be overwritten */ import type { ApiExposureLevel, ObjectCategory } from './schema-types'; export type ConstructiveInternalTypeImage = unknown; export type FileVersion = unknown; export interface Api { anonRole: string | null; config: unknown | null; createdAt: string | null; databaseId: string | null; id: string | null; isPublished: boolean | null; name: string | null; roleName: string | null; serviceHostname: string | null; updatedAt: string | null; } export interface ApiSchema { apiId: string | null; createdAt: string | null; databaseId: string | null; id: string | null; schemaId: string | null; updatedAt: string | null; } export interface ApiSetting { apiId: string | null; createdAt: string | null; databaseId: string | null; enableAggregates: boolean | null; enableBulk: boolean | null; enableConnectionFilter: boolean | null; enableI18N: boolean | null; enableIntrospection: boolean | null; enableLlm: boolean | null; enableLtree: boolean | null; enableManyToMany: boolean | null; enablePostgis: boolean | null; enablePresignedUploads: boolean | null; enableRealtime: boolean | null; enableSearch: boolean | null; id: string | null; idleInTransactionTimeoutMs: string | null; lockTimeoutMs: string | null; maxConcurrentRequests: number | null; maxPageSize: number | null; maxQueryCost: number | null; maxQueryDepth: number | null; maxQueueWaitMs: number | null; maxRequestBytes: number | null; options: unknown | null; rateLimitBurst: number | null; rateLimitRpm: number | null; statementTimeoutMs: string | null; updatedAt: string | null; } export interface AstMigration { actionId: string | null; actionName: string | null; actorId: string | null; createdAt: string | null; databaseId: string | null; deploy: unknown | null; deploys: string | null; id: number | null; name: string | null; payload: unknown | null; requires: string[] | null; revert: unknown | null; verify: unknown | null; } export interface CheckConstraint { category: ObjectCategory | null; createdAt: string | null; databaseId: string | null; expr: unknown | null; fieldIds: string[] | null; id: string | null; initiallyDeferred: boolean | null; isDeferrable: boolean | null; name: string | null; smartTags: unknown | null; tableId: string | null; tags: string[] | null; type: string | null; updatedAt: string | null; } export interface CompositeType { attributes: unknown | null; category: ObjectCategory | null; databaseId: string | null; description: string | null; id: string | null; label: string | null; name: string | null; schemaId: string | null; smartTags: unknown | null; tags: string[] | null; } export interface CorsSetting { allowedOrigins: string[] | null; apiId: string | null; createdAt: string | null; databaseId: string | null; id: string | null; updatedAt: string | null; } export interface Database { createdAt: string | null; hash: string | null; id: string | null; label: string | null; name: string | null; ownerId: string | null; platform: boolean | null; suspendedAt: string | null; suspendedReason: string | null; updatedAt: string | null; } export interface DatabaseSetting { annotations: unknown | null; createdAt: string | null; creditsPerCent: number | null; databaseId: string | null; enableAggregates: boolean | null; enableBilling: boolean | null; enableBulk: boolean | null; enableConnectionFilter: boolean | null; enableI18N: boolean | null; enableIntrospection: boolean | null; enableLlm: boolean | null; enableLtree: boolean | null; enableManyToMany: boolean | null; enablePostgis: boolean | null; enablePresignedUploads: boolean | null; enableRealtime: boolean | null; enableSearch: boolean | null; id: string | null; idleInTransactionTimeoutMs: string | null; labels: unknown | null; lockTimeoutMs: string | null; maxConcurrentRequests: number | null; maxPageSize: number | null; maxQueryCost: number | null; maxQueryDepth: number | null; maxQueueWaitMs: number | null; maxRequestBytes: number | null; options: unknown | null; rateLimitBurst: number | null; rateLimitRpm: number | null; statementTimeoutMs: string | null; updatedAt: string | null; } export interface DatabaseTransfer { completedAt: string | null; createdAt: string | null; databaseId: string | null; expiresAt: string | null; id: string | null; initiatedBy: string | null; notes: string | null; sourceApproved: boolean | null; sourceApprovedAt: string | null; status: string | null; targetApproved: boolean | null; targetApprovedAt: string | null; targetOwnerId: string | null; updatedAt: string | null; } export interface DefaultPrivilege { databaseId: string | null; granteeName: string | null; id: string | null; isGrant: boolean | null; objectType: string | null; privilege: string | null; schemaId: string | null; } export interface Derive { createdAt: string | null; databaseId: string | null; id: string | null; includeGrants: boolean | null; includeMutations: boolean | null; kind: string | null; policyPrefix: string | null; sourceTableId: string | null; tableId: string | null; updatedAt: string | null; } export interface Domain { config: unknown | null; createdAt: string | null; createdByPrincipal: string | null; databaseId: string | null; hostname: string | null; id: string | null; isPublished: boolean | null; isWildcard: boolean | null; managed: boolean | null; parentHostname: string | null; tlsReadyAt: string | null; tlsSecretName: string | null; tlsStatus: string | null; updatedAt: string | null; updatedByPrincipal: string | null; verificationStatus: string | null; verifiedAt: string | null; } export interface DomainEvent { actorId: string | null; createdAt: string | null; databaseId: string | null; domainId: string | null; domainVerificationId: string | null; eventType: string | null; id: string | null; managedDomainId: string | null; message: string | null; metadata: unknown | null; updatedAt: string | null; } export interface DomainType { baseType: unknown | null; category: ObjectCategory | null; checkExpr: unknown | null; databaseId: string | null; defaultExpr: unknown | null; description: string | null; id: string | null; label: string | null; name: string | null; notNull: boolean | null; schemaId: string | null; smartTags: unknown | null; tags: string[] | null; } export interface DomainVerification { attempts: number | null; createdAt: string | null; databaseId: string | null; domainId: string | null; error: string | null; expiresAt: string | null; id: string | null; lastCheckedAt: string | null; managedDomainId: string | null; method: string | null; recordName: string | null; recordType: string | null; recordValue: string | null; status: string | null; updatedAt: string | null; verifiedAt: string | null; } export interface EmailIdentity { createdAt: string | null; databaseId: string | null; fromAddress: string | null; fromName: string | null; id: string | null; isActive: boolean | null; isDefault: boolean | null; name: string | null; providerAccountId: string | null; replyToAddress: string | null; supportAddress: string | null; transportMode: string | null; updatedAt: string | null; } export interface EmailProviderAccount { createdAt: string | null; credentialsSecretName: string | null; databaseId: string | null; id: string | null; isActive: boolean | null; name: string | null; provider: string | null; providerAccountName: string | null; region: string | null; smtpHost: string | null; smtpPort: number | null; smtpSecure: boolean | null; smtpUser: string | null; updatedAt: string | null; webhookSigningSecretName: string | null; } export interface EmailSiteIdentity { createdAt: string | null; databaseId: string | null; emailIdentityId: string | null; id: string | null; siteId: string | null; updatedAt: string | null; } export interface EmbeddingChunk { chunkOverlap: number | null; chunkSize: number | null; chunkStrategy: string | null; chunkingTaskName: string | null; chunksTableId: string | null; chunksTableName: string | null; contentFieldName: string | null; createdAt: string | null; databaseId: string | null; dimensions: number | null; embeddingFieldId: string | null; embeddingModel: string | null; embeddingProvider: string | null; enqueueChunkingJob: boolean | null; id: string | null; metadataFields: unknown | null; metric: string | null; parentFkFieldId: string | null; searchIndexes: unknown | null; sourceFields: unknown | null; tableId: string | null; updatedAt: string | null; } export interface Enum { category: ObjectCategory | null; databaseId: string | null; description: string | null; id: string | null; label: string | null; name: string | null; schemaId: string | null; smartTags: unknown | null; tags: string[] | null; values: string[] | null; } export interface ExclusionConstraint { accessMethod: string | null; category: ObjectCategory | null; createdAt: string | null; databaseId: string | null; elementExpr: unknown | null; fieldIds: string[] | null; id: string | null; name: string | null; operators: string[] | null; smartTags: unknown | null; tableId: string | null; tags: string[] | null; type: string | null; updatedAt: string | null; whereClause: unknown | null; } export interface FieldBehavior { createdAt: string | null; databaseId: string | null; fieldId: string | null; id: string | null; modifier: string | null; scope: string | null; sortOrder: number | null; updatedAt: string | null; } export interface Field { apiRequired: boolean | null; category: ObjectCategory | null; chk: unknown | null; chkExpr: unknown | null; createdAt: string | null; databaseId: string | null; defaultValue: unknown | null; description: string | null; fieldOrder: number | null; generationExpression: unknown | null; generationType: string | null; id: string | null; identityGeneration: string | null; identityOptions: unknown | null; isRequired: boolean | null; label: string | null; max: number | null; min: number | null; name: string | null; regexp: string | null; smartTags: unknown | null; tableId: string | null; tags: string[] | null; type: unknown | null; updatedAt: string | null; } export interface ForeignKeyConstraintBehavior { createdAt: string | null; databaseId: string | null; foreignKeyConstraintId: string | null; id: string | null; modifier: string | null; scope: string | null; sortOrder: number | null; updatedAt: string | null; } export interface ForeignKeyConstraint { category: ObjectCategory | null; createdAt: string | null; databaseId: string | null; deleteAction: string | null; deleteSetFieldIds: string[] | null; description: string | null; fieldIds: string[] | null; id: string | null; initiallyDeferred: boolean | null; isDeferrable: boolean | null; name: string | null; refFieldIds: string[] | null; refTableId: string | null; smartTags: unknown | null; tableId: string | null; tags: string[] | null; type: string | null; updateAction: string | null; updatedAt: string | null; withPeriod: boolean | null; } export interface FullTextSearch { createdAt: string | null; databaseId: string | null; fieldId: string | null; fieldIds: string[] | null; id: string | null; langColumn: string | null; langs: string[] | null; tableId: string | null; updatedAt: string | null; weights: string[] | null; } export interface Function { apiExposed: boolean | null; arguments: unknown | null; bodyAst: unknown | null; category: ObjectCategory | null; data: unknown | null; databaseId: string | null; functionType: string | null; id: string | null; isStrict: boolean | null; kind: string | null; name: string | null; returns: unknown | null; schemaId: string | null; securityInvoker: boolean | null; smartTags: unknown | null; tags: string[] | null; volatility: string | null; } export interface GetSitePreviewsRecord { commitId: string | null; name: string | null; } export interface IdentityProviderRegistry { authorizationUrl: string | null; displayName: string | null; issuerUrl: string | null; kind: string | null; scopes: string[] | null; slug: string | null; tokenUrl: string | null; userinfoUrl: string | null; } export interface Index { accessMethod: string | null; category: ObjectCategory | null; createdAt: string | null; databaseId: string | null; fieldIds: string[] | null; id: string | null; includeFieldIds: string[] | null; indexParams: unknown | null; isUnique: boolean | null; name: string | null; nullsNotDistinct: boolean | null; opClasses: string[] | null; options: unknown | null; smartTags: unknown | null; tableId: string | null; tags: string[] | null; updatedAt: string | null; whereClause: unknown | null; } export interface ListSuspendedDatabasesRecord { id: string | null; name: string | null; ownerId: string | null; suspendedAt: string | null; suspendedReason: string | null; } export interface ManagedDomain { allowPublicUsage: boolean | null; annotations: unknown | null; certStatus: string | null; createdAt: string | null; createdByPrincipal: string | null; databaseId: string | null; domain: string | null; id: string | null; isWildcard: boolean | null; publicPort: number | null; tlsReadyAt: string | null; tlsStatus: string | null; updatedAt: string | null; updatedByPrincipal: string | null; verificationStatus: string | null; verifiedAt: string | null; } export interface NodeTypeRegistry { category: string | null; description: string | null; displayName: string | null; name: string | null; parameterSchema: unknown | null; slug: string | null; tags: string[] | null; } export interface Page { commitId: string | null; content: unknown | null; createdAt: string | null; databaseId: string | null; id: string | null; seededFrom: unknown | null; siteId: string | null; slug: string | null; storeId: string | null; updatedAt: string | null; } export interface Partition { createdAt: string | null; databaseId: string | null; id: string | null; interval: string | null; isParented: boolean | null; namingPattern: string | null; partitionKeyId: string | null; premake: number | null; retention: string | null; retentionKeepTable: boolean | null; strategy: string | null; tableId: string | null; updatedAt: string | null; } export interface PlatformApi { anonRole: string | null; config: unknown | null; createdAt: string | null; id: string | null; isPublished: boolean | null; name: string | null; roleName: string | null; serviceHostname: string | null; updatedAt: string | null; } export interface PlatformApiSchema { apiId: string | null; createdAt: string | null; id: string | null; schemaId: string | null; updatedAt: string | null; } export interface PlatformApiSetting { apiId: string | null; createdAt: string | null; enableAggregates: boolean | null; enableBulk: boolean | null; enableConnectionFilter: boolean | null; enableI18N: boolean | null; enableIntrospection: boolean | null; enableLlm: boolean | null; enableLtree: boolean | null; enableManyToMany: boolean | null; enablePostgis: boolean | null; enablePresignedUploads: boolean | null; enableRealtime: boolean | null; enableSearch: boolean | null; id: string | null; idleInTransactionTimeoutMs: string | null; lockTimeoutMs: string | null; maxConcurrentRequests: number | null; maxPageSize: number | null; maxQueryCost: number | null; maxQueryDepth: number | null; maxQueueWaitMs: number | null; maxRequestBytes: number | null; options: unknown | null; rateLimitBurst: number | null; rateLimitRpm: number | null; statementTimeoutMs: string | null; updatedAt: string | null; } export interface PlatformCorsSetting { allowedOrigins: string[] | null; apiId: string | null; createdAt: string | null; id: string | null; updatedAt: string | null; } export interface PlatformDomain { config: unknown | null; createdAt: string | null; createdByPrincipal: string | null; hostname: string | null; id: string | null; isPublished: boolean | null; isWildcard: boolean | null; managed: boolean | null; parentHostname: string | null; tlsReadyAt: string | null; tlsSecretName: string | null; tlsStatus: string | null; updatedAt: string | null; updatedByPrincipal: string | null; verificationStatus: string | null; verifiedAt: string | null; } export interface PlatformDomainEvent { actorId: string | null; createdAt: string | null; domainId: string | null; domainVerificationId: string | null; eventType: string | null; id: string | null; managedDomainId: string | null; message: string | null; metadata: unknown | null; updatedAt: string | null; } export interface PlatformDomainVerification { attempts: number | null; createdAt: string | null; domainId: string | null; error: string | null; expiresAt: string | null; id: string | null; lastCheckedAt: string | null; managedDomainId: string | null; method: string | null; recordName: string | null; recordType: string | null; recordValue: string | null; status: string | null; updatedAt: string | null; verifiedAt: string | null; } export interface PlatformEmailIdentity { createdAt: string | null; fromAddress: string | null; fromName: string | null; id: string | null; isActive: boolean | null; isDefault: boolean | null; name: string | null; providerAccountId: string | null; replyToAddress: string | null; supportAddress: string | null; transportMode: string | null; updatedAt: string | null; } export interface PlatformEmailProviderAccount { createdAt: string | null; credentialsSecretName: string | null; id: string | null; isActive: boolean | null; name: string | null; provider: string | null; providerAccountName: string | null; region: string | null; smtpHost: string | null; smtpPort: number | null; smtpSecure: boolean | null; smtpUser: string | null; updatedAt: string | null; webhookSigningSecretName: string | null; } export interface PlatformEmailSiteIdentity { createdAt: string | null; emailIdentityId: string | null; id: string | null; siteId: string | null; updatedAt: string | null; } export interface PlatformGetSitePreviewsRecord { commitId: string | null; name: string | null; } export interface PlatformManagedDomain { allowPublicUsage: boolean | null; annotations: unknown | null; certStatus: string | null; createdAt: string | null; createdByPrincipal: string | null; domain: string | null; id: string | null; isWildcard: boolean | null; publicPort: number | null; tlsReadyAt: string | null; tlsStatus: string | null; updatedAt: string | null; updatedByPrincipal: string | null; verificationStatus: string | null; verifiedAt: string | null; } export interface PlatformPage { commitId: string | null; content: unknown | null; createdAt: string | null; id: string | null; seededFrom: unknown | null; siteId: string | null; slug: string | null; storeId: string | null; updatedAt: string | null; } export interface PlatformReservedSubdomain { createdAt: string | null; createdByPrincipal: string | null; id: string | null; label: string | null; match: string | null; reason: string | null; updatedAt: string | null; updatedByPrincipal: string | null; } export interface PlatformSiteAppLink { appStoreIdentityId: string | null; createdAt: string | null; id: string | null; pathComponents: string[] | null; siteId: string | null; updatedAt: string | null; webcredentials: boolean | null; } export interface PlatformSite { activeCommitId: string | null; bucketId: string | null; createdAt: string | null; createdByPrincipal: string | null; description: string | null; id: string | null; installationId: string | null; installationMemberSlug: string | null; isPublished: boolean | null; name: string | null; resourceId: string | null; title: string | null; updatedAt: string | null; updatedByPrincipal: string | null; } export interface PlatformSiteDeepLink { appPath: string | null; createdAt: string | null; fallbackUrl: string | null; id: string | null; metadata: unknown | null; pageId: string | null; siteId: string | null; slug: string | null; updatedAt: string | null; webPath: string | null; } export interface PlatformSiteErrorPage { createdAt: string | null; id: string | null; objectPath: string | null; siteId: string | null; statusCode: number | null; updatedAt: string | null; } export interface PlatformSiteMetadatum { appleTouchIcon: ConstructiveInternalTypeImage | null; appleTouchIconUrl: string | null; appleTouchIconVersions: FileVersion[] | null; canonicalUrl: string | null; commitId: string | null; createdAt: string | null; description: string | null; favicon: ConstructiveInternalTypeImage | null; faviconUrl: string | null; faviconVersions: FileVersion[] | null; id: string | null; logo: ConstructiveInternalTypeImage | null; logoUrl: string | null; logoVersions: FileVersion[] | null; ogImage: ConstructiveInternalTypeImage | null; ogImageUrl: string | null; ogImageVersions: FileVersion[] | null; robots: string | null; robotsSeededFrom: unknown | null; siteId: string | null; storeId: string | null; title: string | null; updatedAt: string | null; } export interface PlatformSiteModule { createdAt: string | null; data: unknown | null; id: string | null; isEnabled: boolean | null; name: string | null; position: number | null; siteId: string | null; updatedAt: string | null; } export interface PlatformSiteRelease { commitId: string | null; createdAt: string | null; id: string | null; manifest: unknown | null; siteId: string | null; storeId: string | null; updatedAt: string | null; } export interface PlatformSiteTheme { commitId: string | null; createdAt: string | null; id: string | null; isActive: boolean | null; name: string | null; siteId: string | null; storeId: string | null; theme: unknown | null; updatedAt: string | null; } export interface PlatformSiteWebConfig { cleanUrls: boolean | null; createdAt: string | null; id: string | null; indexDocument: string | null; metadata: unknown | null; siteId: string | null; spaFallback: boolean | null; updatedAt: string | null; } export interface Policy { category: ObjectCategory | null; columnRefs: string[] | null; createdAt: string | null; data: unknown | null; databaseId: string | null; derivedFromPolicyId: string | null; derivedFromTableId: string | null; disabled: boolean | null; granteeName: string | null; id: string | null; name: string | null; permissive: boolean | null; policyType: string | null; privilege: string | null; smartTags: unknown | null; tableId: string | null; tags: string[] | null; updatedAt: string | null; withCheck: unknown | null; } export interface PrimaryKeyConstraint { category: ObjectCategory | null; createdAt: string | null; databaseId: string | null; fieldIds: string[] | null; id: string | null; initiallyDeferred: boolean | null; isDeferrable: boolean | null; name: string | null; smartTags: unknown | null; tableId: string | null; tags: string[] | null; type: string | null; updatedAt: string | null; withoutOverlaps: boolean | null; } export interface PubkeySetting { createdAt: string | null; cryptoNetwork: string | null; databaseId: string | null; id: string | null; schemaId: string | null; signInRecordFailureFunctionId: string | null; signInRequestChallengeFunctionId: string | null; signInWithChallengeFunctionId: string | null; signUpWithKeyFunctionId: string | null; updatedAt: string | null; userField: string | null; } export interface Redirect { createdAt: string | null; databaseId: string | null; id: string | null; name: string | null; preservePath: boolean | null; preserveQuery: boolean | null; statusCode: number | null; toHost: string | null; toPath: string | null; updatedAt: string | null; } export interface RlsSetting { authenticateFunctionId: string | null; authenticateSchemaId: string | null; authenticateStrictFunctionId: string | null; createdAt: string | null; currentIpAddressFunctionId: string | null; currentRoleFunctionId: string | null; currentRoleIdFunctionId: string | null; currentUserAgentFunctionId: string | null; databaseId: string | null; id: string | null; roleSchemaId: string | null; updatedAt: string | null; } export interface Route { anonymous: boolean | null; config: unknown | null; createdAt: string | null; databaseId: string | null; domainId: string | null; id: string | null; isActive: boolean | null; method: string | null; path: string | null; previewRef: string | null; priority: number | null; servingSiteId: string | null; targetApiId: string | null; targetBucketId: string | null; targetFunctionId: string | null; targetRedirectId: string | null; targetServiceId: string | null; targetSiteId: string | null; updatedAt: string | null; } export interface Schema { apiExposure: ApiExposureLevel | null; category: ObjectCategory | null; createdAt: string | null; databaseId: string | null; description: string | null; id: string | null; isPublic: boolean | null; label: string | null; name: string | null; schemaName: string | null; smartTags: unknown | null; tags: string[] | null; updatedAt: string | null; } export interface SchemaGrant { createdAt: string | null; databaseId: string | null; granteeName: string | null; id: string | null; schemaId: string | null; updatedAt: string | null; } export interface SiteAppLink { appStoreIdentityId: string | null; createdAt: string | null; databaseId: string | null; id: string | null; pathComponents: string[] | null; siteId: string | null; updatedAt: string | null; webcredentials: boolean | null; } export interface Site { activeCommitId: string | null; bucketId: string | null; createdAt: string | null; createdByPrincipal: string | null; databaseId: string | null; description: string | null; id: string | null; installationId: string | null; installationMemberSlug: string | null; isPublished: boolean | null; name: string | null; resourceId: string | null; title: string | null; updatedAt: string | null; updatedByPrincipal: string | null; } export interface SiteDeepLink { appPath: string | null; createdAt: string | null; databaseId: string | null; fallbackUrl: string | null; id: string | null; metadata: unknown | null; pageId: string | null; siteId: string | null; slug: string | null; updatedAt: string | null; webPath: string | null; } export interface SiteErrorPage { createdAt: string | null; databaseId: string | null; id: string | null; objectPath: string | null; siteId: string | null; statusCode: number | null; updatedAt: string | null; } export interface SiteMetadatum { appleTouchIcon: ConstructiveInternalTypeImage | null; appleTouchIconUrl: string | null; appleTouchIconVersions: FileVersion[] | null; canonicalUrl: string | null; commitId: string | null; createdAt: string | null; databaseId: string | null; description: string | null; favicon: ConstructiveInternalTypeImage | null; faviconUrl: string | null; faviconVersions: FileVersion[] | null; id: string | null; logo: ConstructiveInternalTypeImage | null; logoUrl: string | null; logoVersions: FileVersion[] | null; ogImage: ConstructiveInternalTypeImage | null; ogImageUrl: string | null; ogImageVersions: FileVersion[] | null; robots: string | null; robotsSeededFrom: unknown | null; siteId: string | null; storeId: string | null; title: string | null; updatedAt: string | null; } export interface SiteModule { createdAt: string | null; data: unknown | null; databaseId: string | null; id: string | null; isEnabled: boolean | null; name: string | null; position: number | null; siteId: string | null; updatedAt: string | null; } export interface SiteRelease { commitId: string | null; createdAt: string | null; databaseId: string | null; id: string | null; manifest: unknown | null; siteId: string | null; storeId: string | null; updatedAt: string | null; } export interface SiteTheme { commitId: string | null; createdAt: string | null; databaseId: string | null; id: string | null; isActive: boolean | null; name: string | null; siteId: string | null; storeId: string | null; theme: unknown | null; updatedAt: string | null; } export interface SiteWebConfig { cleanUrls: boolean | null; createdAt: string | null; databaseId: string | null; id: string | null; indexDocument: string | null; metadata: unknown | null; siteId: string | null; spaFallback: boolean | null; updatedAt: string | null; } export interface SpatialRelation { category: ObjectCategory | null; createdAt: string | null; databaseId: string | null; fieldId: string | null; id: string | null; name: string | null; operator: string | null; paramName: string | null; refFieldId: string | null; refTableId: string | null; tableId: string | null; tags: string[] | null; updatedAt: string | null; } export interface SqlAction { actionId: string | null; actionName: string | null; actorId: string | null; content: string | null; createdAt: string | null; databaseId: string | null; deploy: string | null; deps: string[] | null; id: number | null; name: string | null; payload: unknown | null; revert: string | null; verify: string | null; } export interface TableBehavior { createdAt: string | null; databaseId: string | null; id: string | null; modifier: string | null; scope: string | null; sortOrder: number | null; tableId: string | null; updatedAt: string | null; } export interface Table { category: ObjectCategory | null; createdAt: string | null; databaseId: string | null; description: string | null; id: string | null; inheritsId: string | null; label: string | null; name: string | null; partitionKeyNames: string[] | null; partitionKeyTypes: string[] | null; partitionStrategy: string | null; partitioned: boolean | null; peoplestamps: boolean | null; pluralName: string | null; principalstamps: boolean | null; schemaId: string | null; singularName: string | null; smartTags: unknown | null; stepUp: unknown | null; tags: string[] | null; timestamps: boolean | null; updatedAt: string | null; useRls: boolean | null; } export interface TableGrant { createdAt: string | null; databaseId: string | null; fieldIds: string[] | null; granteeName: string | null; id: string | null; isGrant: boolean | null; privilege: string | null; tableId: string | null; updatedAt: string | null; } export interface Trigger { category: ObjectCategory | null; createdAt: string | null; databaseId: string | null; event: string | null; events: string[] | null; forEachRow: boolean | null; functionId: string | null; functionName: string | null; id: string | null; kind: string | null; name: string | null; smartTags: unknown | null; tableId: string | null; tags: string[] | null; timing: string | null; updatedAt: string | null; whenAst: unknown | null; } export interface TriggerFunction { code: string | null; createdAt: string | null; databaseId: string | null; id: string | null; name: string | null; updatedAt: string | null; } export interface UniqueConstraintBehavior { createdAt: string | null; databaseId: string | null; id: string | null; modifier: string | null; scope: string | null; sortOrder: number | null; uniqueConstraintId: string | null; updatedAt: string | null; } export interface UniqueConstraint { category: ObjectCategory | null; createdAt: string | null; databaseId: string | null; description: string | null; fieldIds: string[] | null; id: string | null; initiallyDeferred: boolean | null; isDeferrable: boolean | null; name: string | null; nullsNotDistinct: boolean | null; smartTags: unknown | null; tableId: string | null; tags: string[] | null; type: string | null; updatedAt: string | null; withoutOverlaps: boolean | null; } export interface ViewBehavior { createdAt: string | null; databaseId: string | null; id: string | null; modifier: string | null; scope: string | null; sortOrder: number | null; updatedAt: string | null; viewId: string | null; } export interface View { category: ObjectCategory | null; checkOption: string | null; data: unknown | null; databaseId: string | null; filterData: unknown | null; filterType: string | null; id: string | null; isReadOnly: boolean | null; name: string | null; schemaId: string | null; securityBarrier: boolean | null; securityInvoker: boolean | null; smartTags: unknown | null; tableId: string | null; tags: string[] | null; viewType: string | null; } export interface ViewGrant { databaseId: string | null; granteeName: string | null; id: string | null; isGrant: boolean | null; privilege: string | null; viewId: string | null; withGrantOption: boolean | null; } export interface ViewRule { action: string | null; databaseId: string | null; event: string | null; id: string | null; name: string | null; viewId: string | null; } export interface ViewTable { databaseId: string | null; id: string | null; joinOrder: number | null; tableId: string | null; viewId: string | null; } export interface WebauthnSetting { attestationType: string | null; challengeExpirySeconds: string | null; createdAt: string | null; credentialsSchemaId: string | null; credentialsTableId: string | null; databaseId: string | null; id: string | null; originAllowlist: string[] | null; requireUserVerification: boolean | null; residentKey: string | null; rpId: string | null; rpName: string | null; schemaId: string | null; sessionCredentialsTableId: string | null; sessionSecretsSchemaId: string | null; sessionSecretsTableId: string | null; sessionsSchemaId: string | null; sessionsTableId: string | null; updatedAt: string | null; userFieldId: string | null; } export interface StringFilter { isNull?: boolean; equalTo?: string; notEqualTo?: string; distinctFrom?: string; notDistinctFrom?: string; in?: string[]; notIn?: string[]; lessThan?: string; lessThanOrEqualTo?: string; greaterThan?: string; greaterThanOrEqualTo?: string; includes?: string; notIncludes?: string; includesInsensitive?: string; notIncludesInsensitive?: string; startsWith?: string; notStartsWith?: string; startsWithInsensitive?: string; notStartsWithInsensitive?: string; endsWith?: string; notEndsWith?: string; endsWithInsensitive?: string; notEndsWithInsensitive?: string; like?: string; notLike?: string; likeInsensitive?: string; notLikeInsensitive?: string; } export interface IntFilter { isNull?: boolean; equalTo?: number; notEqualTo?: number; distinctFrom?: number; notDistinctFrom?: number; in?: number[]; notIn?: number[]; lessThan?: number; lessThanOrEqualTo?: number; greaterThan?: number; greaterThanOrEqualTo?: number; } export interface FloatFilter { isNull?: boolean; equalTo?: number; notEqualTo?: number; distinctFrom?: number; notDistinctFrom?: number; in?: number[]; notIn?: number[]; lessThan?: number; lessThanOrEqualTo?: number; greaterThan?: number; greaterThanOrEqualTo?: number; } export interface BooleanFilter { isNull?: boolean; equalTo?: boolean; notEqualTo?: boolean; } export interface UUIDFilter { isNull?: boolean; equalTo?: string; notEqualTo?: string; distinctFrom?: string; notDistinctFrom?: string; in?: string[]; notIn?: string[]; } export interface DatetimeFilter { isNull?: boolean; equalTo?: string; notEqualTo?: string; distinctFrom?: string; notDistinctFrom?: string; in?: string[]; notIn?: string[]; lessThan?: string; lessThanOrEqualTo?: string; greaterThan?: string; greaterThanOrEqualTo?: string; } export interface DateFilter { isNull?: boolean; equalTo?: string; notEqualTo?: string; distinctFrom?: string; notDistinctFrom?: string; in?: string[]; notIn?: string[]; lessThan?: string; lessThanOrEqualTo?: string; greaterThan?: string; greaterThanOrEqualTo?: string; } export interface JSONFilter { isNull?: boolean; equalTo?: Record; notEqualTo?: Record; distinctFrom?: Record; notDistinctFrom?: Record; contains?: unknown; containedBy?: unknown; containsKey?: string; containsAllKeys?: string[]; containsAnyKeys?: string[]; } export interface BigIntFilter { isNull?: boolean; equalTo?: string; notEqualTo?: string; distinctFrom?: string; notDistinctFrom?: string; in?: string[]; notIn?: string[]; lessThan?: string; lessThanOrEqualTo?: string; greaterThan?: string; greaterThanOrEqualTo?: string; } export interface BigFloatFilter { isNull?: boolean; equalTo?: string; notEqualTo?: string; distinctFrom?: string; notDistinctFrom?: string; in?: string[]; notIn?: string[]; lessThan?: string; lessThanOrEqualTo?: string; greaterThan?: string; greaterThanOrEqualTo?: string; } export interface BitStringFilter { isNull?: boolean; equalTo?: string; notEqualTo?: string; } export interface InternetAddressFilter { isNull?: boolean; equalTo?: string; notEqualTo?: string; distinctFrom?: string; notDistinctFrom?: string; in?: string[]; notIn?: string[]; lessThan?: string; lessThanOrEqualTo?: string; greaterThan?: string; greaterThanOrEqualTo?: string; contains?: string; containedBy?: string; containsOrContainedBy?: string; } export interface FullTextFilter { matches?: string; } export interface VectorFilter { isNull?: boolean; equalTo?: number[]; notEqualTo?: number[]; distinctFrom?: number[]; notDistinctFrom?: number[]; } export interface StringListFilter { isNull?: boolean; equalTo?: string[]; notEqualTo?: string[]; distinctFrom?: string[]; notDistinctFrom?: string[]; lessThan?: string[]; lessThanOrEqualTo?: string[]; greaterThan?: string[]; greaterThanOrEqualTo?: string[]; contains?: string[]; containedBy?: string[]; overlaps?: string[]; anyEqualTo?: string; anyNotEqualTo?: string; anyLessThan?: string; anyLessThanOrEqualTo?: string; anyGreaterThan?: string; anyGreaterThanOrEqualTo?: string; } export interface IntListFilter { isNull?: boolean; equalTo?: number[]; notEqualTo?: number[]; distinctFrom?: number[]; notDistinctFrom?: number[]; lessThan?: number[]; lessThanOrEqualTo?: number[]; greaterThan?: number[]; greaterThanOrEqualTo?: number[]; contains?: number[]; containedBy?: number[]; overlaps?: number[]; anyEqualTo?: number; anyNotEqualTo?: number; anyLessThan?: number; anyLessThanOrEqualTo?: number; anyGreaterThan?: number; anyGreaterThanOrEqualTo?: number; } export interface UUIDListFilter { isNull?: boolean; equalTo?: string[]; notEqualTo?: string[]; distinctFrom?: string[]; notDistinctFrom?: string[]; lessThan?: string[]; lessThanOrEqualTo?: string[]; greaterThan?: string[]; greaterThanOrEqualTo?: string[]; contains?: string[]; containedBy?: string[]; overlaps?: string[]; anyEqualTo?: string; anyNotEqualTo?: string; anyLessThan?: string; anyLessThanOrEqualTo?: string; anyGreaterThan?: string; anyGreaterThanOrEqualTo?: string; }