{"version":3,"file":"mobile.mjs","names":[],"sources":["../src/mobile.ts"],"sourcesContent":["import * as t from 'io-ts';\n\nexport const ConsentSDK = t.type({\n  /** Unique identifier for the SDK */\n  id: t.string,\n  /** airgap purposes applicable to this SDK */\n  purposes: t.array(t.string),\n});\n\n/**\n * Type override\n */\nexport type ConsentSDK = t.TypeOf<typeof ConsentSDK>;\n\nexport const ConsentService = t.intersection([\n  t.type({\n    name: t.string,\n  }),\n  t.partial({\n    sdks: t.array(ConsentSDK),\n    tcfId: t.number,\n  }),\n]);\n\n/**\n * Type override\n */\nexport type ConsentService = t.TypeOf<typeof ConsentService>;\n\nexport const MobileConfig = t.type({\n  services: t.array(ConsentService),\n});\n\n/**\n * Type override\n */\nexport type MobileConfig = t.TypeOf<typeof MobileConfig>;\n"],"mappings":";;AAEA,MAAa,aAAa,EAAE,KAAK;CAE/B,IAAI,EAAE;CAEN,UAAU,EAAE,MAAM,EAAE,OAAO;CAC5B,CAAC;AAOF,MAAa,iBAAiB,EAAE,aAAa,CAC3C,EAAE,KAAK,EACL,MAAM,EAAE,QACT,CAAC,EACF,EAAE,QAAQ;CACR,MAAM,EAAE,MAAM,WAAW;CACzB,OAAO,EAAE;CACV,CAAC,CACH,CAAC;AAOF,MAAa,eAAe,EAAE,KAAK,EACjC,UAAU,EAAE,MAAM,eAAe,EAClC,CAAC"}