21 lines
347 B
TypeScript
21 lines
347 B
TypeScript
|
|
import {About_Plain} from '@/types/generated-strapi-interfaces/api/about';
|
|
import strapiApi from "@/app/api/strapi/strapi-api";
|
|
|
|
|
|
class WebApi {
|
|
|
|
public getHomePage(){
|
|
|
|
}
|
|
|
|
public async getAboutPage(): Promise<About_Plain> {
|
|
return await strapiApi.getAboutPage();
|
|
}
|
|
}
|
|
|
|
|
|
const client = new WebApi();
|
|
|
|
export default client;
|