@daocloud-proto/kpanda 0.9.2-10 → 0.9.2-18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -44,6 +44,7 @@ export type Metadata = {
44
44
  kubeVersion?: string
45
45
  dependencies?: Dependency[]
46
46
  type?: string
47
+ repo?: string
47
48
  }
48
49
 
49
50
  export type Maintainer = {
@@ -69,7 +70,7 @@ export type ListHelmChartsRequest = {
69
70
  page?: number
70
71
  pageSize?: number
71
72
  category?: Category
72
- chartName?: string
73
+ repo?: string[]
73
74
  }
74
75
 
75
76
  export type ListHelmChartsResponseCategoryItem = {
@@ -81,9 +82,7 @@ export type ListHelmChartsResponseCategoryItem = {
81
82
  }
82
83
 
83
84
  export type ListHelmChartsResponse = {
84
- apiVersion?: string
85
- generated?: string
86
- entries?: {[key: string]: HelmChartVersions}
85
+ data?: HelmChartVersion[]
87
86
  categories?: ListHelmChartsResponseCategoryItem
88
87
  pagination?: KpandaIoApiTypesPage.Pagination
89
88
  }
@@ -718,7 +718,7 @@ export class Addon {
718
718
  return fm.fetchReq<KpandaIoApiAddonV1alpha1Helmrepo.DeleteHelmRepoRequest, GoogleProtobufEmpty.Empty>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/helmrepos/${req["name"]}`, {...initReq, method: "DELETE"})
719
719
  }
720
720
  static ListHelmCharts(req: KpandaIoApiAddonV1alpha1Helmchart.ListHelmChartsRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAddonV1alpha1Helmchart.ListHelmChartsResponse> {
721
- return fm.fetchReq<KpandaIoApiAddonV1alpha1Helmchart.ListHelmChartsRequest, KpandaIoApiAddonV1alpha1Helmchart.ListHelmChartsResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/helmrepos/${req["name"]}/helmcharts?${fm.renderURLSearchParams(req, ["cluster", "name"])}`, {...initReq, method: "GET"})
721
+ return fm.fetchReq<KpandaIoApiAddonV1alpha1Helmchart.ListHelmChartsRequest, KpandaIoApiAddonV1alpha1Helmchart.ListHelmChartsResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/helmcharts?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"})
722
722
  }
723
723
  static GetHelmChart(req: KpandaIoApiAddonV1alpha1Helmchart.GetHelmChartRequest, initReq?: fm.InitReq): Promise<KpandaIoApiAddonV1alpha1Helmchart.GetHelmChartResponse> {
724
724
  return fm.fetchReq<KpandaIoApiAddonV1alpha1Helmchart.GetHelmChartRequest, KpandaIoApiAddonV1alpha1Helmchart.GetHelmChartResponse>(`/apis/kpanda.io/v1alpha1/clusters/${req["cluster"]}/helmrepos/${req["repo"]}/helmcharts/${req["name"]}?${fm.renderURLSearchParams(req, ["cluster", "repo", "name"])}`, {...initReq, method: "GET"})
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/kpanda",
3
- "version":"0.9.2-10",
3
+ "version":"0.9.2-18",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {