{"version":3,"file":"descriptor-meta-DO0WUPn7.mjs","names":[],"sources":["../src/core/descriptor-meta.ts"],"sourcesContent":["import { mongoCodecDescriptors } from '@prisma-next/adapter-mongo/codecs';\nimport type { TargetPackRef } from '@prisma-next/framework-components/components';\nimport { UNBOUND_NAMESPACE_ID } from '@prisma-next/framework-components/ir';\nimport type { CodecTypes } from './codec-types';\n\n// The Mongo target owns its codec descriptors. Contract authoring resolves each enum's codec by id\n// from this list (via `extractCodecLookup`) to encode member values, so the target pack is the sole\n// contributor of these codecs to the composed control stack.\nconst mongoTargetDescriptorMetaBase = {\n  kind: 'target',\n  familyId: 'mongo',\n  targetId: 'mongo',\n  id: 'mongo',\n  version: '0.0.1',\n  capabilities: {},\n  defaultNamespaceId: UNBOUND_NAMESPACE_ID,\n  types: {\n    codecTypes: {\n      codecDescriptors: mongoCodecDescriptors,\n    },\n  },\n} as const satisfies TargetPackRef<'mongo', 'mongo'>;\n\nexport const mongoTargetDescriptorMeta: typeof mongoTargetDescriptorMetaBase & {\n  readonly __codecTypes?: CodecTypes;\n} = mongoTargetDescriptorMetaBase;\n"],"mappings":";;AAuBA,MAAa,4BAET;CAhBF,MAAM;CACN,UAAU;CACV,UAAU;CACV,IAAI;CACJ,SAAS;CACT,cAAc,CAAC;CACf,oBAAoB;CACpB,OAAO,EACL,YAAY,EACV,kBAAkB,sBACpB,EACF;AAKE"}