@daocloud-proto/ghippo 0.0.1 → 0.1.0

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/topnav.pb.ts +24 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/ghippo",
3
- "version":"0.0.1",
3
+ "version":"0.1.0",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"
package/topnav.pb.ts ADDED
@@ -0,0 +1,24 @@
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 TopNavRequest = {
9
+ }
10
+
11
+ export type TopNavResponse = {
12
+ platformName?: string
13
+ icon?: Uint8Array
14
+ favicon?: Uint8Array
15
+ iconFilename?: string
16
+ faviconFilename?: string
17
+ portalUrl?: string
18
+ }
19
+
20
+ export class TopNavigator {
21
+ static Info(req: TopNavRequest, initReq?: fm.InitReq): Promise<TopNavResponse> {
22
+ return fm.fetchReq<TopNavRequest, TopNavResponse>(`/top-nav/info?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
23
+ }
24
+ }