@daocloud-proto/ghippo 0.6.11 → 0.6.14
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
package/v1alpha1/loginpage.pb.ts
CHANGED
|
@@ -12,6 +12,7 @@ export type GetLoginPageInfoResponse = {
|
|
|
12
12
|
version?: number
|
|
13
13
|
platform_name?: string
|
|
14
14
|
copyright?: string
|
|
15
|
+
tab_name?: string
|
|
15
16
|
icon?: string
|
|
16
17
|
favicon?: string
|
|
17
18
|
}
|
|
@@ -26,6 +27,7 @@ export type GetLoginPageVersionResponse = {
|
|
|
26
27
|
export type UpdateLoginPageInfoRequest = {
|
|
27
28
|
platform_name?: string
|
|
28
29
|
copyright?: string
|
|
30
|
+
tab_name?: string
|
|
29
31
|
icon?: string
|
|
30
32
|
favicon?: string
|
|
31
33
|
}
|
package/v1alpha1/message.pb.ts
CHANGED
|
@@ -86,7 +86,7 @@ export class Message {
|
|
|
86
86
|
return fm.fetchReq<ToggleUnreadMessageRequest, ToggleUnreadMessageResponse>(`/apis/ghippo.io/v1alpha1/messages/toggle-unread?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
87
87
|
}
|
|
88
88
|
static DeleteMessages(req: DeleteMessagesRequest, initReq?: fm.InitReq): Promise<DeleteMessagesResponse> {
|
|
89
|
-
return fm.fetchReq<DeleteMessagesRequest, DeleteMessagesResponse>(`/apis/ghippo.io/v1alpha1/messages`, {...initReq, method: "
|
|
89
|
+
return fm.fetchReq<DeleteMessagesRequest, DeleteMessagesResponse>(`/apis/ghippo.io/v1alpha1/messages/delete`, {...initReq, method: "POST", body: JSON.stringify(req)})
|
|
90
90
|
}
|
|
91
91
|
static SetReadMessages(req: SetReadMessagesRequest, initReq?: fm.InitReq): Promise<SetReadMessagesResponse> {
|
|
92
92
|
return fm.fetchReq<SetReadMessagesRequest, SetReadMessagesResponse>(`/apis/ghippo.io/v1alpha1/read-messages`, {...initReq, method: "POST", body: JSON.stringify(req)})
|