mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
export patchdb ts types from rust
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user