export patchdb ts types from rust

This commit is contained in:
Aiden McClelland
2024-03-27 17:47:12 -06:00
parent 9cf62f03fa
commit f41f5ebebd
75 changed files with 536 additions and 634 deletions

View File

@@ -1,4 +1,5 @@
import { Url } from '@start9labs/shared'
import { Manifest } from '../../../../core/startos/bindings/Manifest'
export type StoreURL = string
export type StoreName = string
@@ -41,35 +42,6 @@ export interface DependencyMetadata {
hidden: boolean
}
export interface Manifest {
id: string
title: string
version: string
gitHash?: string
description: {
short: string
long: string
}
replaces?: string[]
releaseNotes: string
license: string // name of license
wrapperRepo: Url
upstreamRepo: Url
supportSite: Url
marketingSite: Url
donationUrl: Url | null
alerts: {
install: string | null
uninstall: string | null
restore: string | null
start: string | null
stop: string | null
}
dependencies: Record<string, Dependency>
osVersion: string
hasConfig: boolean
}
export interface Dependency {
description: string | null
optional: boolean