Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
quarto-dev
GitHub Repository: quarto-dev/quarto-cli
Path: blob/main/src/publish/netlify/api/services/UserService.ts
6464 views
1
/* istanbul ignore file */
2
/* tslint:disable */
3
/* eslint-disable */
4
import type { CancelablePromise } from "../core/CancelablePromise.ts";
5
import type { BaseHttpRequest } from "../core/BaseHttpRequest.ts";
6
7
export class UserService {
8
constructor(public readonly httpRequest: BaseHttpRequest) {}
9
10
/**
11
* @returns any OK
12
* @throws ApiError
13
*/
14
public getCurrentUser(): CancelablePromise<
15
Array<{
16
id?: string;
17
uid?: string;
18
full_name?: string;
19
avatar_url?: string;
20
email?: string;
21
affiliate_id?: string;
22
site_count?: number;
23
created_at?: string;
24
last_login?: string;
25
login_providers?: Array<string>;
26
onboarding_progress?: {
27
slides?: string;
28
};
29
}>
30
> {
31
return this.httpRequest.request({
32
method: "GET",
33
url: "/user",
34
});
35
}
36
}
37
38