Initial
All checks were successful
Deploy / build (push) Successful in 49s

This commit is contained in:
alsaze
2025-11-19 20:49:25 +03:00
commit 3d975d6884
36 changed files with 27229 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
import { httpClient } from '../httpClient'
export const getPosts = (search: string) =>
httpClient<Posts>('/api/posts', {
method: 'GET',
query: { search },
})

View File

@@ -0,0 +1,4 @@
import { httpClient } from '../httpClient'
export const getUsers = () =>
httpClient<Users>('/api/users')

2
api/endpoints/index.ts Normal file
View File

@@ -0,0 +1,2 @@
export * from './getPosts'
export * from './getUsers'