UNPKG

rowt-sdk

Version:

SDK for using Rowt Deeplinking with Expo

36 lines (31 loc) 654 B
export interface DeepLinkEvent { url: string; } export interface ParsedDeepLink { scheme: string; host: string; path: string; segments: string[]; params: Record<string, string>; originalUrl: string; } export interface DeepLinkSubscription { remove(): void; } export interface RowtConfig { apiKey?: string; baseURL?: string; debug?: boolean; } export interface CreateLinkDTO { projectId: string; apiKey: string; url: string; expiration?: Date; title?: string; description?: string; imageUrl?: string; fallbackUrlOverride?: string; additionalMetadata?: Record<string, any>; properties?: Record<string, any>; }