@@ -24,7 +24,7 @@ export const categories = [
2424 'UI' ,
2525]
2626
27- export interface NuxtApiModulesResponse {
27+ interface NuxtApiModulesResponse {
2828 version : string
2929 generatedAt : string
3030 stats : Stats
@@ -33,43 +33,42 @@ export interface NuxtApiModulesResponse {
3333 modules : NuxtModule [ ]
3434}
3535
36- export interface Contributor {
36+ interface Contributor {
3737 id : number
3838 username : string
3939 contributions : number
4040 modules : string [ ]
4141}
4242
43- export interface Stats {
43+ interface Stats {
4444 downloads : number
4545 stars : number
4646 maintainers : number
4747 contributors : number
4848 modules : number
4949}
5050
51- export interface ModuleCompatibility {
51+ interface ModuleCompatibility {
5252 nuxt : string
5353 requires : { bridge ?: boolean | 'optional' }
5454 versionMap : {
5555 [ nuxtVersion : string ] : string
5656 }
5757}
5858
59- export interface MaintainerInfo {
59+ interface MaintainerInfo {
6060 name : string
6161 github : string
6262 twitter ?: string
6363}
6464
65- export interface GithubContributor {
65+ interface GitHubContributor {
6666 username : string
6767 name ?: string
6868 avatar_url ?: string
6969}
7070
71- export type CompatibilityStatus = 'working' | 'wip' | 'unknown' | 'not-working'
72- export type ModuleType = 'community' | 'official' | '3rd-party'
71+ type ModuleType = 'community' | 'official' | '3rd-party'
7372
7473export interface NuxtModule {
7574 name : string
@@ -83,7 +82,7 @@ export interface NuxtModule {
8382 category : ( typeof categories ) [ number ]
8483 type : ModuleType
8584 maintainers : MaintainerInfo [ ]
86- contributors ?: GithubContributor [ ]
85+ contributors ?: GitHubContributor [ ]
8786 compatibility : ModuleCompatibility
8887 aliases ?: string [ ]
8988 stats : Stats
0 commit comments