mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-26 20:29:33 +00:00
Make a generic AjaxSelect abstract class
This commit is contained in:
1 parent
f78b968075
commit
0af3505c2a
3 files changed
+63
-35
No files matched your search
@@ -1,14 +1,14 @@
|
||||
import type { Client, Options, RequestResult } from "@hey-api/client-fetch";
|
||||
import { client } from "#openapi";
|
||||
|
||||
interface PaginatedResponse<T> {
|
||||
export interface PaginatedResponse<T> {
|
||||
count: number;
|
||||
next: string | null;
|
||||
previous: string | null;
|
||||
results: T[];
|
||||
}
|
||||
|
||||
interface PaginatedRequest {
|
||||
export interface PaginatedRequest {
|
||||
query?: {
|
||||
page?: number;
|
||||
// biome-ignore lint/style/useNamingConvention: api is in snake_case
|
||||
|
||||
Reference in new issue
Block a user