@daocloud-proto/ghippo 0.4.7 → 0.4.9

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.4.7",
3
+ "version":"0.4.9",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -0,0 +1,35 @@
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 GetLoginPageInfoRequest = {
9
+ }
10
+
11
+ export type GetLoginPageInfoResponse = {
12
+ version?: string
13
+ platform_name?: string
14
+ copyright?: string
15
+ icon?: Uint8Array
16
+ icon_filename?: string
17
+ favicon?: Uint8Array
18
+ favicon_filename?: string
19
+ }
20
+
21
+ export type GetLoginPageVersionRequest = {
22
+ }
23
+
24
+ export type GetLoginPageVersionResponse = {
25
+ version?: string
26
+ }
27
+
28
+ export class LoginPage {
29
+ static GetInfo(req: GetLoginPageInfoRequest, initReq?: fm.InitReq): Promise<GetLoginPageInfoResponse> {
30
+ return fm.fetchReq<GetLoginPageInfoRequest, GetLoginPageInfoResponse>(`/apis/ghippo.io/v1alpha1/login-page/info?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
31
+ }
32
+ static GetVersion(req: GetLoginPageVersionRequest, initReq?: fm.InitReq): Promise<GetLoginPageVersionResponse> {
33
+ return fm.fetchReq<GetLoginPageVersionRequest, GetLoginPageVersionResponse>(`/apis/ghippo.io/v1alpha1/login-page/version?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
34
+ }
35
+ }