@daocloud-proto/ghippo 0.17.0-dev6 → 0.17.0-dev7
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 +1 -1
- package/v1alpha1/theme.pb.ts +6 -0
package/package.json
CHANGED
package/v1alpha1/theme.pb.ts
CHANGED
|
@@ -84,6 +84,9 @@ export type ResetFooterThemeConfigRequest = {
|
|
|
84
84
|
export type ResetFooterThemeConfigResponse = {
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
+
export type GetFooterThemeHTMLRequest = {
|
|
88
|
+
}
|
|
89
|
+
|
|
87
90
|
export class Theme {
|
|
88
91
|
static GetThemeCSS(req: GetThemeCSSRequest, initReq?: fm.InitReq): Promise<GoogleApiHttpbody.HttpBody> {
|
|
89
92
|
return fm.fetchReq<GetThemeCSSRequest, GoogleApiHttpbody.HttpBody>(`/apis/ghippo.io/v1alpha1/themes/theme.css?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
@@ -109,6 +112,9 @@ export class Theme {
|
|
|
109
112
|
static ResetLoginThemeConfig(req: ResetLoginThemeConfigRequest, initReq?: fm.InitReq): Promise<ResetLoginThemeConfigResponse> {
|
|
110
113
|
return fm.fetchReq<ResetLoginThemeConfigRequest, ResetLoginThemeConfigResponse>(`/apis/ghippo.io/v1alpha1/themes/login_page/reset`, {...initReq, method: "POST"})
|
|
111
114
|
}
|
|
115
|
+
static GetFooterThemeHTML(req: GetFooterThemeHTMLRequest, initReq?: fm.InitReq): Promise<GoogleApiHttpbody.HttpBody> {
|
|
116
|
+
return fm.fetchReq<GetFooterThemeHTMLRequest, GoogleApiHttpbody.HttpBody>(`/apis/ghippo.io/v1alpha1/themes/footer-theme.html?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
117
|
+
}
|
|
112
118
|
static GetFooterThemeConfig(req: GetFooterThemeConfigRequest, initReq?: fm.InitReq): Promise<GetFooterThemeConfigResponse> {
|
|
113
119
|
return fm.fetchReq<GetFooterThemeConfigRequest, GetFooterThemeConfigResponse>(`/apis/ghippo.io/v1alpha1/themes/footer-theme?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
114
120
|
}
|