@daocloud-proto/ghippo 0.2.2 → 0.2.3

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@daocloud-proto/ghippo",
3
- "version": "v0.2.2",
3
+ "version": "v0.2.3",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"
7
- }
7
+ }
@@ -6,7 +6,7 @@
6
6
 
7
7
  import * as fm from "../fetch.pb"
8
8
  export type LoginGetRequest = {
9
- callbackUrl?: string
9
+ callback_url?: string
10
10
  }
11
11
 
12
12
  export type LoginGetResponse = {
@@ -15,12 +15,12 @@ export type LoginGetResponse = {
15
15
  export type LoginPostRequest = {
16
16
  code?: string
17
17
  state?: string
18
- sessionState?: string
19
- callbackUrl?: string
18
+ session_state?: string
19
+ callback_url?: string
20
20
  }
21
21
 
22
22
  export type LoginPostResponse = {
23
- idToken?: string
23
+ id_token?: string
24
24
  username?: string
25
25
  }
26
26
 
@@ -21,8 +21,8 @@ export type ProductNavCategory = {
21
21
  export type ProductMenu = {
22
22
  name?: string
23
23
  url?: string
24
- iconName?: string
25
- iconUrl?: string
24
+ icon_name?: string
25
+ icon_url?: string
26
26
  target?: string
27
27
  menus?: ProductMenu[]
28
28
  }
@@ -9,12 +9,12 @@ export type TopNavRequest = {
9
9
  }
10
10
 
11
11
  export type TopNavResponse = {
12
- platformName?: string
12
+ platform_name?: string
13
13
  icon?: Uint8Array
14
14
  favicon?: Uint8Array
15
- iconFilename?: string
16
- faviconFilename?: string
17
- portalUrl?: string
15
+ icon_filename?: string
16
+ favicon_filename?: string
17
+ portal_url?: string
18
18
  }
19
19
 
20
20
  export class TopNavigator {
@@ -7,8 +7,8 @@
7
7
  import * as fm from "../fetch.pb"
8
8
  export type GetUsersRequest = {
9
9
  search?: string
10
- pageSize?: number
11
- pageNo?: number
10
+ page_size?: number
11
+ page_no?: number
12
12
  }
13
13
 
14
14
  export type GetUsersResponse = {
@@ -19,8 +19,8 @@ export type GetUsersResponse = {
19
19
  export type User = {
20
20
  id?: string
21
21
  name?: string
22
- createdAt?: string
23
- updatedAt?: string
22
+ created_at?: string
23
+ updated_at?: string
24
24
  }
25
25
 
26
26
  export type GetUserRequest = {