UNPKG

schoolx-ota-manager

Version:

React Native library for managing OTA updates with GitLab integration

34 lines 883 B
export interface PlatformBundleInfo { version: string; buildNumber: number; bundleType: 'bytecode' | 'jsbundle' | string; commitId: string; bundlePath: string; isForced: boolean; releaseNotes: string; enabled: boolean; } export interface BundleConfig { android: PlatformBundleInfo; ios: PlatformBundleInfo; } export interface OtaConfig { gitlabToken: string; gitlabProjectId: string; gitlabBaseUrl: string; repoFolder: string; platform: 'ios' | 'android'; autoUpdate?: boolean; } export interface UpdateInfo { hasUpdate: boolean; bundleInfo?: PlatformBundleInfo; isForced: boolean; releaseNotes?: string; } export interface UpdateProgress { status: 'checking' | 'downloading' | 'installing' | 'completed' | 'failed'; progress?: number; message?: string; } //# sourceMappingURL=index.d.ts.map