mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
* TODO: images * wip * pack s9pk images * include path in packsource error * debug info * add cmd as context to invoke * filehelper bugfix * fix file helper * fix exposeForDependents * misc fixes * force image removal * fix filtering * fix deadlock * fix api * chore: Up the version of the package.json * always allow concurrency within same call stack * Update core/startos/src/s9pk/merkle_archive/expected.rs Co-authored-by: Jade <2364004+Blu-J@users.noreply.github.com> --------- Co-authored-by: J H <dragondef@gmail.com> Co-authored-by: Jade <2364004+Blu-J@users.noreply.github.com>
22 lines
612 B
TypeScript
22 lines
612 B
TypeScript
import { ImageConfig, ImageId, VolumeId } from "../osBindings"
|
|
import { SDKManifest, ManifestVersion } from "./ManifestTypes"
|
|
|
|
export function setupManifest<
|
|
Id extends string,
|
|
Version extends ManifestVersion,
|
|
Dependencies extends Record<string, unknown>,
|
|
VolumesTypes extends VolumeId,
|
|
AssetTypes extends VolumeId,
|
|
ImagesTypes extends ImageId,
|
|
Manifest extends SDKManifest & {
|
|
dependencies: Dependencies
|
|
id: Id
|
|
version: Version
|
|
assets: AssetTypes[]
|
|
images: Record<ImagesTypes, ImageConfig>
|
|
volumes: VolumesTypes[]
|
|
},
|
|
>(manifest: Manifest): Manifest {
|
|
return manifest
|
|
}
|