feat(frontend): LearningObjectService en LearningPathService geïmplementeerd.

This commit is contained in:
Gerald Schmittinger 2025-03-23 08:56:34 +01:00
parent 8b0fc4263f
commit 3c3fddb7d0
24 changed files with 375 additions and 84 deletions

View file

@ -0,0 +1,10 @@
import {type Params, RestEndpoint} from "@/services/api-client/endpoints/rest-endpoint.ts";
import {RemoteResource} from "@/services/api-client/remote-resource.ts";
export class PostEndpoint<PP extends Params, QP extends Params, B, R> extends RestEndpoint<PP, QP, B, R> {
readonly method = "POST";
public post(pathParams: PP, queryParams: QP, body: B): RemoteResource<R> {
return super.request(pathParams, queryParams, body);
}
}