mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-07 20:47:49 +00:00
ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.204.1
This commit is contained in:
@@ -14,13 +14,17 @@ import {
|
||||
SDKInitOptions,
|
||||
} from "./types";
|
||||
|
||||
import { initHooks } from "./registration";
|
||||
|
||||
export class SDKHooks implements Hooks {
|
||||
sdkInitHooks: SDKInitHook[] = [];
|
||||
beforeRequestHooks: BeforeRequestHook[] = [];
|
||||
afterSuccessHooks: AfterSuccessHook[] = [];
|
||||
afterErrorHooks: AfterErrorHook[] = [];
|
||||
|
||||
constructor() {}
|
||||
constructor() {
|
||||
initHooks(this);
|
||||
}
|
||||
|
||||
registerSDKInitHook(hook: SDKInitHook) {
|
||||
this.sdkInitHooks.push(hook);
|
||||
|
||||
Reference in New Issue
Block a user