mirror of
https://github.com/yusufipk/RepoHub.git
synced 2026-09-11 18:46:07 +00:00
Initalize the project with front-end
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
export interface Platform {
|
||||
id: string
|
||||
name: string
|
||||
packageManager: string
|
||||
icon: string
|
||||
}
|
||||
|
||||
export interface Package {
|
||||
id: string
|
||||
name: string
|
||||
description: string
|
||||
version: string
|
||||
category: string
|
||||
license: string
|
||||
type: 'gui' | 'cli'
|
||||
platform: string
|
||||
repository: 'official' | 'third-party'
|
||||
lastUpdated: string
|
||||
downloads?: number
|
||||
popularity?: number
|
||||
tags: string[]
|
||||
}
|
||||
|
||||
export interface FilterOptions {
|
||||
platforms: string[]
|
||||
categories: string[]
|
||||
licenses: string[]
|
||||
types: ('gui' | 'cli')[]
|
||||
repositories: ('official' | 'third-party')[]
|
||||
searchQuery: string
|
||||
}
|
||||
|
||||
export interface SelectedPackage extends Package {
|
||||
selectedAt: string
|
||||
}
|
||||
|
||||
export interface GeneratedScript {
|
||||
platform: string
|
||||
script: string
|
||||
packages: SelectedPackage[]
|
||||
generatedAt: string
|
||||
}
|
||||
Reference in New Issue
Block a user