-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
- Loading branch information
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { APIModule } from "$components/index" | ||
|
||
import v1_set_trace_feedback_create from "./operations/v1_set_trace_feedback_create" | ||
|
||
export default class extends APIModule { | ||
create = v1_set_trace_feedback_create(this.client) | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { AxiosRequestConfig } from "axios" | ||
import Prem from "$src/index" | ||
import type { operations } from "$types/api" | ||
|
||
export default (client: Prem) => (params: operations["v1_set_trace_feedback_create"]["requestBody"]["content"]["application/json"], options?: AxiosRequestConfig): Promise<operations["v1_set_trace_feedback_create"]["responses"]["200"]["content"]["application/json"]> => { | ||
return client.call({ | ||
method: "post", | ||
url: `/v1/set_trace_feedback`, | ||
data: params, | ||
...options | ||
}) | ||
} |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { APIModule } from "$components/index" | ||
|
||
import v1_traces_list from "./operations/v1_traces_list" | ||
import v1_traces_retrieve from "./operations/v1_traces_retrieve" | ||
|
||
export default class extends APIModule { | ||
list = v1_traces_list(this.client) | ||
retrieve = v1_traces_retrieve(this.client) | ||
} |