@daocloud-proto/ghippo 0.25.0-dev-3 → 0.25.0-dev-5

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.25.0-dev-3",
3
+ "version":"0.25.0-dev-5",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -5,6 +5,12 @@
5
5
  */
6
6
 
7
7
  import * as fm from "../fetch.pb"
8
+
9
+ export enum GrantType {
10
+ grant_type_code = "grant_type_code",
11
+ grant_type_password = "grant_type_password",
12
+ }
13
+
8
14
  export type LoginGetRequest = {
9
15
  callbackUrl?: string
10
16
  }
@@ -18,6 +24,9 @@ export type LoginPostRequest = {
18
24
  sessionState?: string
19
25
  callbackUrl?: string
20
26
  useSso?: string
27
+ grantType?: GrantType
28
+ username?: string
29
+ password?: string
21
30
  }
22
31
 
23
32
  export type LoginPostResponse = {