import { CrudClient } from "../infra/crud-client"
import type { ApiClientOptions } from "../infra/client"
import type { ApiPath } from "../infra/types"

export const QUICK_REMARK_ROUTES = {
    INDEX: "/api/quick-remark",
    BY_ID: "/api/quick-remark/{id}",
} as const satisfies Record<string, ApiPath>

export class QuickRemarksClient extends CrudClient<
    typeof QUICK_REMARK_ROUTES.INDEX,
    typeof QUICK_REMARK_ROUTES.BY_ID
> {
    constructor(baseUrl?: string, defaultOptions?: ApiClientOptions) {
        super(baseUrl, defaultOptions, QUICK_REMARK_ROUTES.INDEX, QUICK_REMARK_ROUTES.BY_ID)
    }
}
