Update/marketplace info (#1983)

* ensure arch is calways present in config

* add eos version to params when fetching marketplace info

* fix build script

* choose arch based on make goals

* conditionally send different arch param to registry

* better type for qp

Co-authored-by: Matt Hill <matthewonthemoon@gmail.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
This commit is contained in:
Lucy C
2022-11-28 13:40:05 -07:00
committed by Aiden McClelland
parent 82fc945d73
commit 3372cdc0df
14 changed files with 68 additions and 50 deletions

View File

@@ -101,13 +101,12 @@ export abstract class ApiService {
abstract marketplaceProxy<T>(
path: string,
params: {},
params: Record<string, unknown>,
url: string,
arch?: string,
): Promise<T>
abstract getEos(
params: RR.GetMarketplaceEOSReq,
): Promise<RR.GetMarketplaceEOSRes>
abstract getEos(): Promise<RR.GetMarketplaceEosRes>
// password
// abstract updatePassword (params: RR.UpdatePasswordReq): Promise<RR.UpdatePasswordRes>