diff --git a/src/lib/sdk/sources.ts b/src/lib/sdk/sources.ts index 45fd74821..bf9f703c7 100644 --- a/src/lib/sdk/sources.ts +++ b/src/lib/sdk/sources.ts @@ -1,5 +1,15 @@ import type { Client } from '@appwrite.io/console'; +type Source = { + $id: string; + fingerprint: string; + referrer: string; + ref: string; + utmSource: string; + utmCampaign: string; + utmMedium: string; +}; + export class Sources { client: Client; @@ -13,7 +23,7 @@ export class Sources { utmSource: string, utmCampaign: string, utmMedium: string - ): Promise { + ): Promise { const path = `/console/sources`; const params = { ref,