// ⚠️ GENERATED FILE - DO NOT EDIT // This file is automatically generated by 'prisma contract emit'. // To regenerate, run: prisma contract emit import type { CodecTypes as PgTypes, ParameterizedOutputTypesForTypeParams as PgParameterizedOutputTypes, } from '@prisma/orm-postgres/target/codec-types'; import type { QueryOperationTypes as PgTargetQueryOps } from '@prisma/orm-postgres/target/operation-types'; import type { ColumnTypesFromStorage, ContractWithTypeMaps, RelationKeys, TypeMaps as TypeMapsType, } from '@prisma/orm-family-sql/contract/types'; import type { Contract as ContractType, ExecutionHashBase, FieldTypesFromDomain, NamespaceId, ProfileHashBase, StorageHashBase, } from '@prisma/orm-framework/contract/types'; export type StorageHash = StorageHashBase<'d8061f483a9ce709770f487310f97a4f5df1f8a31d3ba6ed82f267d1de12a517'>; export type ExecutionHash = ExecutionHashBase; export type ProfileHash = ProfileHashBase<'3916f444a8a17ad749191acf9e08dad97d1a327b88c2f1d45d12f240296aa8b2'>; export type CodecTypes = PgTypes; export type LaneCodecTypes = CodecTypes; export type QueryOperationTypes = PgTargetQueryOps; export type AggregateTypes = { readonly avg: { readonly byCodec: { readonly 'pg/float@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/float4@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/float8@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/int@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/int2@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/int4@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/interval-string@1': { readonly output: 'pg/interval-string@1'; readonly nullable: true; }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; readonly 'pg/time-temporal@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; readonly 'pg/unboundedint@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'sql/float@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'sql/int@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; }; }; readonly avgDecimal: { readonly byCodec: { readonly 'pg/int@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/int2@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/int4@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/unboundedint@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'sql/int@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; }; }; readonly count: { readonly byCodec: {}; readonly withoutInput: { readonly output: 'pg/int8number@1'; readonly nullable: false }; readonly anyInput: { readonly output: 'pg/int8number@1'; readonly nullable: false }; }; readonly countBigInt: { readonly byCodec: {}; readonly withoutInput: { readonly output: 'pg/int8@1'; readonly nullable: false }; readonly anyInput: { readonly output: 'pg/int8@1'; readonly nullable: false }; }; readonly max: { readonly byCodec: { readonly 'pg/char@1': { readonly output: 'pg/char@1'; readonly nullable: true }; readonly 'pg/date-string@1': { readonly output: 'pg/date-string@1'; readonly nullable: true }; readonly 'pg/date-temporal@1': { readonly output: 'pg/date-temporal@1'; readonly nullable: true; }; readonly 'pg/enum@1': { readonly output: 'pg/enum@1'; readonly nullable: true }; readonly 'pg/float@1': { readonly output: 'pg/float@1'; readonly nullable: true }; readonly 'pg/float4@1': { readonly output: 'pg/float4@1'; readonly nullable: true }; readonly 'pg/float8@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/inet@1': { readonly output: 'pg/inet@1'; readonly nullable: true }; readonly 'pg/int@1': { readonly output: 'pg/int@1'; readonly nullable: true }; readonly 'pg/int2@1': { readonly output: 'pg/int2@1'; readonly nullable: true }; readonly 'pg/int4@1': { readonly output: 'pg/int4@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; readonly 'pg/interval-string@1': { readonly output: 'pg/interval-string@1'; readonly nullable: true; }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/oid@1': { readonly output: 'pg/oid@1'; readonly nullable: true }; readonly 'pg/text-array@1': { readonly output: 'pg/text-array@1'; readonly nullable: true }; readonly 'pg/text@1': { readonly output: 'pg/text@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/time-string@1'; readonly nullable: true }; readonly 'pg/time-temporal@1': { readonly output: 'pg/time-temporal@1'; readonly nullable: true; }; readonly 'pg/timestamp-date@1': { readonly output: 'pg/timestamp-date@1'; readonly nullable: true; }; readonly 'pg/timestamp-instant@1': { readonly output: 'pg/timestamp-instant@1'; readonly nullable: true; }; readonly 'pg/timestamp-string@1': { readonly output: 'pg/timestamp-string@1'; readonly nullable: true; }; readonly 'pg/timestamp-temporal@1': { readonly output: 'pg/timestamp-temporal@1'; readonly nullable: true; }; readonly 'pg/timestamptz-date@1': { readonly output: 'pg/timestamptz-date@1'; readonly nullable: true; }; readonly 'pg/timestamptz-string@1': { readonly output: 'pg/timestamptz-string@1'; readonly nullable: true; }; readonly 'pg/timestamptz-temporal@1': { readonly output: 'pg/timestamptz-temporal@1'; readonly nullable: true; }; readonly 'pg/timetz@1': { readonly output: 'pg/timetz@1'; readonly nullable: true }; readonly 'pg/unboundedint@1': { readonly output: 'pg/unboundedint@1'; readonly nullable: true; }; readonly 'pg/varchar@1': { readonly output: 'pg/text@1'; readonly nullable: true }; readonly 'sql/char@1': { readonly output: 'sql/char@1'; readonly nullable: true }; readonly 'sql/float@1': { readonly output: 'sql/float@1'; readonly nullable: true }; readonly 'sql/int@1': { readonly output: 'sql/int@1'; readonly nullable: true }; readonly 'sql/text@1': { readonly output: 'sql/text@1'; readonly nullable: true }; readonly 'sql/varchar@1': { readonly output: 'pg/text@1'; readonly nullable: true }; }; }; readonly min: { readonly byCodec: { readonly 'pg/char@1': { readonly output: 'pg/char@1'; readonly nullable: true }; readonly 'pg/date-string@1': { readonly output: 'pg/date-string@1'; readonly nullable: true }; readonly 'pg/date-temporal@1': { readonly output: 'pg/date-temporal@1'; readonly nullable: true; }; readonly 'pg/enum@1': { readonly output: 'pg/enum@1'; readonly nullable: true }; readonly 'pg/float@1': { readonly output: 'pg/float@1'; readonly nullable: true }; readonly 'pg/float4@1': { readonly output: 'pg/float4@1'; readonly nullable: true }; readonly 'pg/float8@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/inet@1': { readonly output: 'pg/inet@1'; readonly nullable: true }; readonly 'pg/int@1': { readonly output: 'pg/int@1'; readonly nullable: true }; readonly 'pg/int2@1': { readonly output: 'pg/int2@1'; readonly nullable: true }; readonly 'pg/int4@1': { readonly output: 'pg/int4@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; readonly 'pg/interval-string@1': { readonly output: 'pg/interval-string@1'; readonly nullable: true; }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/oid@1': { readonly output: 'pg/oid@1'; readonly nullable: true }; readonly 'pg/text-array@1': { readonly output: 'pg/text-array@1'; readonly nullable: true }; readonly 'pg/text@1': { readonly output: 'pg/text@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/time-string@1'; readonly nullable: true }; readonly 'pg/time-temporal@1': { readonly output: 'pg/time-temporal@1'; readonly nullable: true; }; readonly 'pg/timestamp-date@1': { readonly output: 'pg/timestamp-date@1'; readonly nullable: true; }; readonly 'pg/timestamp-instant@1': { readonly output: 'pg/timestamp-instant@1'; readonly nullable: true; }; readonly 'pg/timestamp-string@1': { readonly output: 'pg/timestamp-string@1'; readonly nullable: true; }; readonly 'pg/timestamp-temporal@1': { readonly output: 'pg/timestamp-temporal@1'; readonly nullable: true; }; readonly 'pg/timestamptz-date@1': { readonly output: 'pg/timestamptz-date@1'; readonly nullable: true; }; readonly 'pg/timestamptz-string@1': { readonly output: 'pg/timestamptz-string@1'; readonly nullable: true; }; readonly 'pg/timestamptz-temporal@1': { readonly output: 'pg/timestamptz-temporal@1'; readonly nullable: true; }; readonly 'pg/timetz@1': { readonly output: 'pg/timetz@1'; readonly nullable: true }; readonly 'pg/unboundedint@1': { readonly output: 'pg/unboundedint@1'; readonly nullable: true; }; readonly 'pg/varchar@1': { readonly output: 'pg/text@1'; readonly nullable: true }; readonly 'sql/char@1': { readonly output: 'sql/char@1'; readonly nullable: true }; readonly 'sql/float@1': { readonly output: 'sql/float@1'; readonly nullable: true }; readonly 'sql/int@1': { readonly output: 'sql/int@1'; readonly nullable: true }; readonly 'sql/text@1': { readonly output: 'sql/text@1'; readonly nullable: true }; readonly 'sql/varchar@1': { readonly output: 'pg/text@1'; readonly nullable: true }; }; }; readonly sum: { readonly byCodec: { readonly 'pg/float@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/float4@1': { readonly output: 'pg/float4@1'; readonly nullable: true }; readonly 'pg/float8@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'pg/int@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; readonly 'pg/int2@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; readonly 'pg/int4@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; readonly 'pg/interval-string@1': { readonly output: 'pg/interval-string@1'; readonly nullable: true; }; readonly 'pg/interval@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; readonly 'pg/money@1': { readonly output: 'pg/money@1'; readonly nullable: true }; readonly 'pg/numeric@1': { readonly output: 'pg/numeric@1'; readonly nullable: true }; readonly 'pg/time-string@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; readonly 'pg/time-temporal@1': { readonly output: 'pg/interval@1'; readonly nullable: true }; readonly 'pg/unboundedint@1': { readonly output: 'pg/unboundedint@1'; readonly nullable: true; }; readonly 'sql/float@1': { readonly output: 'pg/float8@1'; readonly nullable: true }; readonly 'sql/int@1': { readonly output: 'pg/int8number@1'; readonly nullable: true }; }; }; readonly sumBigInt: { readonly byCodec: { readonly 'pg/int@1': { readonly output: 'pg/int8@1'; readonly nullable: true }; readonly 'pg/int2@1': { readonly output: 'pg/int8@1'; readonly nullable: true }; readonly 'pg/int4@1': { readonly output: 'pg/int8@1'; readonly nullable: true }; readonly 'pg/int8@1': { readonly output: 'pg/unboundedint@1'; readonly nullable: true }; readonly 'pg/int8number@1': { readonly output: 'pg/unboundedint@1'; readonly nullable: true }; readonly 'pg/unboundedint@1': { readonly output: 'pg/unboundedint@1'; readonly nullable: true; }; readonly 'sql/int@1': { readonly output: 'pg/int8@1'; readonly nullable: true }; }; }; }; type DefaultLiteralValue = CodecId extends keyof CodecTypes ? Encoded extends CodecTypes[CodecId]['json'] ? Encoded : CodecTypes[CodecId]['json'] : Encoded; type ParameterizedOutputTypeFunctions = PgParameterizedOutputTypes; type FieldTypeOverrides = { readonly inha: { readonly models: { readonly Task: { readonly type: { readonly output: 'bug' | 'chore' | 'feature'; readonly input: 'bug' | 'chore' | 'feature'; }; }; }; }; readonly inhb: { readonly models: { readonly Task: { readonly kind: { readonly output: 'b'; readonly input: 'b' } }; }; }; }; export type FieldOutputTypes = FieldTypesFromDomain< ContractBase['domain']['namespaces'], CodecTypes, ParameterizedOutputTypeFunctions, FieldTypeOverrides, 'output', ContractBase['storage']['namespaces'] >; export type FieldInputTypes = FieldTypesFromDomain< ContractBase['domain']['namespaces'], CodecTypes, ParameterizedOutputTypeFunctions, FieldTypeOverrides, 'input', ContractBase['storage']['namespaces'] >; type ColumnTypeOverrides = { readonly inha: { readonly task: { readonly type: { readonly output: 'bug' | 'chore' | 'feature'; readonly input: 'bug' | 'chore' | 'feature'; }; }; }; readonly inhb: { readonly task: { readonly kind: { readonly output: 'b'; readonly input: 'b' } }; }; }; export type StorageColumnTypes = ColumnTypesFromStorage< ContractBase['storage'], CodecTypes, ParameterizedOutputTypeFunctions, ColumnTypeOverrides, 'output' >; export type StorageColumnInputTypes = ColumnTypesFromStorage< ContractBase['storage'], CodecTypes, ParameterizedOutputTypeFunctions, ColumnTypeOverrides, 'input' >; export namespace Models { export type inha_Bug = { id: FieldOutputTypes['inha']['Task']['id']; title: FieldOutputTypes['inha']['Task']['title']; type: 'bug'; severity: FieldOutputTypes['inha']['Bug']['severity']; readonly [RelationKeys]?: never; }; export type inha_Feature = { id: FieldOutputTypes['inha']['Task']['id']; title: FieldOutputTypes['inha']['Task']['title']; type: 'feature'; priority: FieldOutputTypes['inha']['Feature']['priority']; readonly [RelationKeys]?: never; }; export type inha_Task = { id: FieldOutputTypes['inha']['Task']['id']; title: FieldOutputTypes['inha']['Task']['title']; type: 'bug' | 'chore' | 'feature'; readonly [RelationKeys]?: never; }; export type inha_AnyTask = inha_Bug | inhb_Chore | inha_Feature; export type inhb_Bug = { id: FieldOutputTypes['inhb']['Task']['id']; kind: 'b'; label: FieldOutputTypes['inhb']['Task']['label']; level: FieldOutputTypes['inhb']['Bug']['level']; readonly [RelationKeys]?: never; }; export type inhb_Chore = { id: FieldOutputTypes['inha']['Task']['id']; title: FieldOutputTypes['inha']['Task']['title']; type: 'chore'; note: FieldOutputTypes['inhb']['Chore']['note']; readonly [RelationKeys]?: never; }; export type inhb_Task = { id: FieldOutputTypes['inhb']['Task']['id']; kind: 'b'; label: FieldOutputTypes['inhb']['Task']['label']; readonly [RelationKeys]?: never; }; export type inhb_AnyTask = inhb_Bug; } export declare const models: { inha: { Bug: Models.inha_Bug; Feature: Models.inha_Feature; Task: Models.inha_Task; AnyTask: Models.inha_AnyTask; }; inhb: { Bug: Models.inhb_Bug; Chore: Models.inhb_Chore; Task: Models.inhb_Task; AnyTask: Models.inhb_AnyTask; }; }; export type TypeMaps = TypeMapsType< CodecTypes, QueryOperationTypes, FieldOutputTypes, FieldInputTypes, StorageColumnTypes, StorageColumnInputTypes, AggregateTypes >; type ContractBase = Omit< ContractType<{ readonly namespaces: { readonly inha: { readonly id: 'inha'; readonly kind: 'postgres-schema'; readonly entries: { readonly table: { readonly feature: { columns: { readonly id: { readonly dataType: 'pg/text'; readonly codecId: 'pg/text@1'; readonly nullable: false; readonly many: false; }; readonly priority: { readonly dataType: 'pg/int4'; readonly codecId: 'pg/int4@1'; readonly nullable: false; readonly many: false; }; }; primaryKey: { readonly columns: readonly ['id'] }; uniques: readonly []; indexes: readonly []; foreignKeys: readonly [ { readonly source: { readonly namespaceId: 'inha' & NamespaceId; readonly tableName: 'feature'; readonly columns: readonly ['id']; }; readonly target: { readonly namespaceId: 'inha' & NamespaceId; readonly tableName: 'task'; readonly columns: readonly ['id']; }; }, ]; }; readonly task: { columns: { readonly id: { readonly dataType: 'pg/text'; readonly codecId: 'pg/text@1'; readonly nullable: false; readonly many: false; }; readonly severity: { readonly dataType: 'pg/text'; readonly codecId: 'pg/text@1'; readonly nullable: true; readonly many: false; }; readonly title: { readonly dataType: 'pg/text'; readonly codecId: 'pg/text@1'; readonly nullable: false; readonly many: false; }; readonly type: { readonly dataType: 'pg/text'; readonly codecId: 'pg/text@1'; readonly nullable: false; readonly many: false; }; }; primaryKey: { readonly columns: readonly ['id'] }; uniques: readonly []; indexes: readonly []; foreignKeys: readonly []; }; }; readonly valueSet: { readonly 'Task.type': { readonly kind: 'valueSet'; readonly values: readonly ['bug', 'chore', 'feature']; }; }; }; }; readonly inhb: { readonly id: 'inhb'; readonly kind: 'postgres-schema'; readonly entries: { readonly table: { readonly chore: { columns: { readonly id: { readonly dataType: 'pg/text'; readonly codecId: 'pg/text@1'; readonly nullable: false; readonly many: false; }; readonly note: { readonly dataType: 'pg/text'; readonly codecId: 'pg/text@1'; readonly nullable: false; readonly many: false; }; }; primaryKey: { readonly columns: readonly ['id'] }; uniques: readonly []; indexes: readonly []; foreignKeys: readonly [ { readonly source: { readonly namespaceId: 'inhb' & NamespaceId; readonly tableName: 'chore'; readonly columns: readonly ['id']; }; readonly target: { readonly namespaceId: 'inha' & NamespaceId; readonly tableName: 'task'; readonly columns: readonly ['id']; }; }, ]; }; readonly task: { columns: { readonly id: { readonly dataType: 'pg/int4'; readonly codecId: 'pg/int4@1'; readonly nullable: false; readonly many: false; }; readonly kind: { readonly dataType: 'pg/text'; readonly codecId: 'pg/text@1'; readonly nullable: false; readonly many: false; }; readonly label: { readonly dataType: 'pg/text'; readonly codecId: 'pg/text@1'; readonly nullable: false; readonly many: false; }; readonly level: { readonly dataType: 'pg/int4'; readonly codecId: 'pg/int4@1'; readonly nullable: true; readonly many: false; }; }; primaryKey: { readonly columns: readonly ['id'] }; uniques: readonly []; indexes: readonly []; foreignKeys: readonly []; }; }; readonly valueSet: { readonly 'Task.kind': { readonly kind: 'valueSet'; readonly values: readonly ['b'] }; }; }; }; readonly public: { readonly id: 'public'; readonly kind: 'postgres-schema'; readonly entries: { readonly table: {} }; }; }; readonly storageHash: StorageHash; }>, 'roots' | 'domain' > & { readonly target: 'postgres'; readonly targetFamily: 'sql'; readonly roots: { readonly 'inha.task': { readonly namespace: 'inha' & NamespaceId; readonly model: 'Task' }; readonly 'inhb.task': { readonly namespace: 'inhb' & NamespaceId; readonly model: 'Task' }; }; readonly domain: { readonly namespaces: { readonly inha: { readonly models: { readonly Bug: { readonly fields: { readonly severity: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; }; readonly relations: Record; readonly storage: { readonly table: 'task'; readonly namespaceId: 'inha'; readonly fields: { readonly severity: { readonly column: 'severity' } }; }; readonly base: { readonly namespace: 'inha' & NamespaceId; readonly model: 'Task' }; }; readonly Feature: { readonly fields: { readonly priority: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/int4@1' }; }; }; readonly relations: Record; readonly storage: { readonly table: 'feature'; readonly namespaceId: 'inha'; readonly fields: { readonly priority: { readonly column: 'priority' } }; }; readonly base: { readonly namespace: 'inha' & NamespaceId; readonly model: 'Task' }; }; readonly Task: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly title: { 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/text@1' }; }; }; readonly relations: Record; readonly storage: { readonly table: 'task'; readonly namespaceId: 'inha'; readonly fields: { readonly id: { readonly column: 'id' }; readonly title: { readonly column: 'title' }; readonly type: { readonly column: 'type' }; }; }; readonly discriminator: { readonly field: 'type' }; readonly variants: { readonly bug: { readonly namespace: 'inha' & NamespaceId; readonly model: 'Bug' }; readonly chore: { readonly namespace: 'inhb' & NamespaceId; readonly model: 'Chore' }; readonly feature: { readonly namespace: 'inha' & NamespaceId; readonly model: 'Feature'; }; }; }; }; }; readonly inhb: { readonly models: { readonly Bug: { readonly fields: { readonly level: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/int4@1' }; }; }; readonly relations: Record; readonly storage: { readonly table: 'task'; readonly namespaceId: 'inhb'; readonly fields: { readonly level: { readonly column: 'level' } }; }; readonly base: { readonly namespace: 'inhb' & NamespaceId; readonly model: 'Task' }; }; readonly Chore: { readonly fields: { readonly note: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; }; readonly relations: Record; readonly storage: { readonly table: 'chore'; readonly namespaceId: 'inhb'; readonly fields: { readonly note: { readonly column: 'note' } }; }; readonly base: { readonly namespace: 'inha' & NamespaceId; readonly model: 'Task' }; }; readonly Task: { readonly fields: { readonly id: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/int4@1' }; }; readonly kind: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; readonly label: { readonly nullable: false; readonly type: { readonly kind: 'scalar'; readonly codecId: 'pg/text@1' }; }; }; readonly relations: Record; readonly storage: { readonly table: 'task'; readonly namespaceId: 'inhb'; readonly fields: { readonly id: { readonly column: 'id' }; readonly kind: { readonly column: 'kind' }; readonly label: { readonly column: 'label' }; }; }; readonly discriminator: { readonly field: 'kind' }; readonly variants: { readonly b: { readonly namespace: 'inhb' & NamespaceId; readonly model: 'Bug' }; }; }; }; }; }; }; readonly capabilities: { readonly postgres: { readonly distinctOn: true; readonly forKeyShare: true; readonly forNoKeyUpdate: true; readonly jsonAgg: true; readonly lateral: true; readonly limit: true; readonly orderBy: true; readonly returning: true; }; readonly sql: { readonly checkConstraint: true; readonly defaultInInsert: true; readonly enums: true; readonly forShare: true; readonly forUpdate: true; readonly insertOnConflictSkip: true; readonly insertOnConflictTarget: true; readonly insertOnConflictWithoutTarget: true; readonly lateral: true; readonly lockNowait: true; readonly lockOf: true; readonly lockSkipLocked: true; readonly returning: true; readonly scalarList: true; }; }; readonly extensions: {}; readonly meta: {}; readonly profileHash: ProfileHash; }; export type Contract = ContractWithTypeMaps; export type Namespaces = Contract['storage']['namespaces'];