Import rpm.lair.cafe SPA from lair/mistralrs-package/ui @34a28b5
All checks were successful
deploy / build-and-deploy (push) Successful in 31s
All checks were successful
deploy / build-and-deploy (push) Successful in 31s
Dedicated repo for the RPM repository web UI, moved out of the mistralrs-package repo now that multiple package repos publish to rpm.lair.cafe. Includes an adapted deploy workflow (SPA at repo root).
This commit is contained in:
30
src/types/packages.ts
Normal file
30
src/types/packages.ts
Normal file
@@ -0,0 +1,30 @@
|
||||
export interface ChangelogEntry {
|
||||
author: string;
|
||||
date: number;
|
||||
text: string;
|
||||
}
|
||||
|
||||
export type Channel = "stable" | "unstable";
|
||||
|
||||
export interface PackageVersion {
|
||||
name: string;
|
||||
version: string;
|
||||
release: string;
|
||||
arch: string;
|
||||
summary: string;
|
||||
size: number;
|
||||
buildTime: number;
|
||||
rpmFilename: string;
|
||||
changelog: ChangelogEntry[];
|
||||
channel: Channel;
|
||||
baseUrl: string;
|
||||
// Fedora releasever ("43", "44", ...) — attached at fetch time from the
|
||||
// tree each manifest was loaded from (manifests are per-releasever).
|
||||
releasever: string;
|
||||
}
|
||||
|
||||
export interface PackagesManifest {
|
||||
generated: string;
|
||||
baseUrl: string;
|
||||
packages: PackageVersion[];
|
||||
}
|
||||
Reference in New Issue
Block a user