Variable defaultConst

    default: {
        add: ((plugin: ClientPlugin) => Promise<void>);
        del: ((plugin: Pick<ClientPlugin, "uuid">) => Promise<void>);
        extra: ((plugin: ClientPlugin, action: string) => Promise<void>);
        update: ((plugin: ClientPlugin) => Promise<void>);
        usePlugins: (() => [HPCClientPlugin[], {
            addOnePlugin: ((plugin: HPCClientPlugin) => Promise<void>);
            delOnePlugin: ((plugin: Pick<HPCClientPlugin, "key">) => Promise<void>);
            errorPlugins: Error;
            loadingPlugins: boolean;
            mutateOnePlugin: ((plugin: Partial<HPCClientPlugin>) => Promise<void>);
        }]);
    } = ...

    Type declaration

    • add: ((plugin: ClientPlugin) => Promise<void>)
        • (plugin): Promise<void>
        • Add

          Parameters

          Returns Promise<void>

    • del: ((plugin: Pick<ClientPlugin, "uuid">) => Promise<void>)
        • (plugin): Promise<void>
        • Delete

          Parameters

          Returns Promise<void>

    • extra: ((plugin: ClientPlugin, action: string) => Promise<void>)
        • (plugin, action): Promise<void>
        • Extra

          Parameters

          Returns Promise<void>

    • update: ((plugin: ClientPlugin) => Promise<void>)
        • (plugin): Promise<void>
        • Update

          Parameters

          Returns Promise<void>

    • usePlugins: (() => [HPCClientPlugin[], {
          addOnePlugin: ((plugin: HPCClientPlugin) => Promise<void>);
          delOnePlugin: ((plugin: Pick<HPCClientPlugin, "key">) => Promise<void>);
          errorPlugins: Error;
          loadingPlugins: boolean;
          mutateOnePlugin: ((plugin: Partial<HPCClientPlugin>) => Promise<void>);
      }])
        • (): [HPCClientPlugin[], {
              addOnePlugin: ((plugin: HPCClientPlugin) => Promise<void>);
              delOnePlugin: ((plugin: Pick<HPCClientPlugin, "key">) => Promise<void>);
              errorPlugins: Error;
              loadingPlugins: boolean;
              mutateOnePlugin: ((plugin: Partial<HPCClientPlugin>) => Promise<void>);
          }]
        • Uses plugins

          Returns [HPCClientPlugin[], {
              addOnePlugin: ((plugin: HPCClientPlugin) => Promise<void>);
              delOnePlugin: ((plugin: Pick<HPCClientPlugin, "key">) => Promise<void>);
              errorPlugins: Error;
              loadingPlugins: boolean;
              mutateOnePlugin: ((plugin: Partial<HPCClientPlugin>) => Promise<void>);
          }]

          Plugins

    Generated using TypeDoc and TypeDoc Airthium Plugin