Constructors
constructor
- new default(hostURL: string, apiKey: string): default
-
Parameters
-
hostURL: string
-
apiKey: string
Methods
Private adminRequest
- adminRequest(apiEndpoint: string, options?: RequestInit, contentType?: string): Promise<Response>
-
Parameters
-
apiEndpoint: string
-
Optional options: RequestInit
-
contentType: string = "application/json"
Returns Promise<Response>
Private clientRequest
- clientRequest(apiEndpoint: string, options?: RequestInit, contentType?: string): Promise<Response>
-
Parameters
-
apiEndpoint: string
-
Optional options: RequestInit
-
contentType: string = "application/json"
Returns Promise<Response>
Admin menu that can be used to manage panel.