UNPKG

vuepress-theme-plume

Version:

A Blog&Document Theme for VuePress 2.0

31 lines (30 loc) 785 B
import { MaybeRef, Ref } from "vue"; //#region src/client/features/composables/github-repo.d.ts interface GithubRepoLicense { name: string; url: string; } interface GithubRepoInfo { name: string; fullName: string; description: string; url: string; stars: number; forks: number; convertStars: number | string; convertForks: number | string; watchers: number; language: string; languageColor: string; visibility: "Private" | "Public"; template: boolean; ownerType: "User" | "Organization"; license: GithubRepoLicense | null; } interface UseGithubRepoResult { data: Ref<GithubRepoInfo | null>; loaded: Ref<boolean>; } declare function useGithubRepo(repo: MaybeRef<string>): UseGithubRepoResult; //#endregion export { GithubRepoInfo, useGithubRepo };