{"version":3,"file":"descriptor-meta-pA9TOBa7.mjs","names":[],"sources":["../src/core/descriptor-meta.ts"],"sourcesContent":["import { sqliteCodecRegistry } from '@prisma-next/target-sqlite/codecs';\n\n// Exclude codecs that carry a renderOutputType: those emit named TypeScript types (e.g.\n// Char<N>, Varchar<N>) that are not listed in this adapter's typeImports and would\n// produce unresolvable references in contract.d.ts.  All other codecs — including the\n// sql/ identity encoders (sql/int@1, sql/float@1) — are kept so execution codec\n// lookup works and DDL lowering has access to the full codec set.\nconst executionCodecDescriptors = Array.from(sqliteCodecRegistry.values()).filter(\n  (d) => d.renderOutputType === undefined,\n);\n\nexport const sqliteAdapterDescriptorMeta = {\n  kind: 'adapter',\n  familyId: 'sql',\n  targetId: 'sqlite',\n  id: 'sqlite',\n  version: '0.0.1',\n  capabilities: {\n    sql: {\n      orderBy: true,\n      limit: true,\n      lateral: false,\n      jsonAgg: true,\n      returning: true,\n      foreignKeys: true,\n      enums: false,\n    },\n  },\n  types: {\n    codecTypes: {\n      codecDescriptors: executionCodecDescriptors,\n      import: {\n        package: '@prisma-next/adapter-sqlite/codec-types',\n        named: 'CodecTypes',\n        alias: 'SqliteTypes',\n      },\n    },\n  },\n} as const;\n"],"mappings":";AAWA,MAAa,8BAA8B;CACzC,MAAM;CACN,UAAU;CACV,UAAU;CACV,IAAI;CACJ,SAAS;CACT,cAAc,EACZ,KAAK;EACH,SAAS;EACT,OAAO;EACP,SAAS;EACT,SAAS;EACT,WAAW;EACX,aAAa;EACb,OAAO;CACT,EACF;CACA,OAAO,EACL,YAAY;EACV,kBAvB4B,MAAM,KAAK,oBAAoB,OAAO,CAAC,CAAC,CAAC,QACxE,MAAM,EAAE,qBAAqB,KAAA,CAsBR;EAClB,QAAQ;GACN,SAAS;GACT,OAAO;GACP,OAAO;EACT;CACF,EACF;AACF"}