mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
add type
This commit is contained in:
1 parent
6674fbaf99
commit
4652df107a
1 file changed
+11
-1
+11
-1
@@ -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<any> {
|
||||
): Promise<Source> {
|
||||
const path = `/console/sources`;
|
||||
const params = {
|
||||
ref,
|
||||
|
||||
Reference in new issue
Block a user