Files
start-os/sdk/package/lib/test/output.sdk.ts
Aiden McClelland 4cae00cb33 refactor: rename manifest metadata fields and improve error display
Rename wrapperRepo→packageRepo, marketingSite→marketingUrl,
docsUrl→docsUrls (array), remove supportSite. Add display_src/display_dbg
helpers to Error. Fix DepInfo description type to LocaleString. Update
web UI, SDK bindings, tests, and fixtures to match. Clean up cli_attach
error handling and remove dead commented code.
2026-02-17 18:40:50 -07:00

49 lines
1.1 KiB
TypeScript

import { StartSdk } from '../StartSdk'
import { setupManifest } from '../manifest/setupManifest'
import { VersionGraph } from '../version/VersionGraph'
export type Manifest = any
export const sdk = StartSdk.of()
.withManifest(
setupManifest({
id: 'testOutput',
title: '',
license: '',
packageRepo: '',
upstreamRepo: '',
marketingUrl: '',
donationUrl: null,
docsUrls: [],
description: {
short: '',
long: '',
},
images: {
main: {
source: {
dockerTag: 'start9/hello-world',
},
arch: ['aarch64', 'x86_64'],
emulateMissingAs: 'aarch64',
},
},
volumes: [],
alerts: {
install: null,
update: null,
uninstall: null,
restore: null,
start: null,
stop: null,
},
dependencies: {
'remote-test': {
description: '',
optional: false,
s9pk: 'https://example.com/remote-test.s9pk',
},
},
}),
)
.build(true)