mirror of
https://github.com/revanced/revanced-website.git
synced 2025-04-29 22:24:31 +02:00
91 lines
1.4 KiB
TypeScript
91 lines
1.4 KiB
TypeScript
export interface Contributor {
|
|
login: string;
|
|
avatar_url: string;
|
|
html_url: string;
|
|
}
|
|
|
|
export interface Repository {
|
|
name: string;
|
|
contributors: Contributor[];
|
|
}
|
|
|
|
export interface Patch {
|
|
name: string;
|
|
description: string;
|
|
compatiblePackages: CompatiblePackage[];
|
|
use: boolean;
|
|
requiresIntegrations: boolean;
|
|
options: PatchOption[];
|
|
}
|
|
|
|
export interface CompatiblePackage {
|
|
name: string;
|
|
versions: string[];
|
|
}
|
|
|
|
export interface PatchOption {
|
|
key: string;
|
|
default: any;
|
|
title: string;
|
|
description: string;
|
|
required: boolean;
|
|
}
|
|
|
|
export interface Asset {
|
|
name: string;
|
|
content_type: string;
|
|
browser_download_url: string;
|
|
}
|
|
|
|
export interface Metadata {
|
|
tag_name: string;
|
|
name: string;
|
|
draft: boolean;
|
|
prerelease: boolean;
|
|
created_at: string;
|
|
published_at: string;
|
|
body: string;
|
|
}
|
|
|
|
export interface TeamMember {
|
|
login: string;
|
|
avatar_url: string;
|
|
html_url: string;
|
|
bio?: string;
|
|
}
|
|
|
|
export interface CryptoWallet {
|
|
network: string;
|
|
currency_code: string;
|
|
address: string;
|
|
preferred: boolean;
|
|
}
|
|
|
|
export interface DonationPlatform {
|
|
name: string;
|
|
url: string;
|
|
preferred: boolean;
|
|
}
|
|
|
|
export interface Social {
|
|
name: string;
|
|
url: string;
|
|
}
|
|
|
|
interface Donations {
|
|
wallets: CryptoWallet[];
|
|
links: DonationPlatform[];
|
|
}
|
|
|
|
interface Contact {
|
|
email: string;
|
|
}
|
|
|
|
export interface Info {
|
|
name: string;
|
|
about: string;
|
|
contact: Contact;
|
|
socials: Social[];
|
|
donations: Donations;
|
|
}
|