@daocloud-proto/ghippo 0.3.1 → 0.4.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/ghippo",
3
- "version": "0.3.1",
3
+ "version":"0.4.2",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -0,0 +1,26 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ /*
4
+ * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
+ */
6
+
7
+ import * as fm from "../fetch.pb"
8
+ export type ListGProductsRequest = {
9
+ }
10
+
11
+ export type ListGProductsResponse = {
12
+ data?: GProduct[]
13
+ }
14
+
15
+ export type GProduct = {
16
+ id?: string
17
+ title?: string
18
+ url?: string
19
+ ui_assets_url?: string
20
+ }
21
+
22
+ export class GProducts {
23
+ static ListGProducts(req: ListGProductsRequest, initReq?: fm.InitReq): Promise<ListGProductsResponse> {
24
+ return fm.fetchReq<ListGProductsRequest, ListGProductsResponse>(`/apis/ghippo.io/v1alpha1/gproducts?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
25
+ }
26
+ }