mirror of
https://github.com/truewhile/MeBox.git
synced 2026-09-29 19:36:36 +08:00
10 lines
238 B
TypeScript
10 lines
238 B
TypeScript
import { api } from './client'
|
|
|
|
export interface PublicUIConfig {
|
|
hide_community_links_for_users: boolean
|
|
}
|
|
|
|
export const publicAPI = {
|
|
uiConfig: () => api.get<PublicUIConfig>('/public/ui-config').then((response) => response.data),
|
|
}
|