UNPKG

@obelisk/client

Version:

Typescript client to interact with Obelisk on a higher level than the regular ReST API calls.

22 lines (21 loc) 771 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ClientEventType = void 0; /** * Events that can be called. */ var ClientEventType; (function (ClientEventType) { /** * Called after calling a resource you are not allowed to. (Error 403) */ ClientEventType[ClientEventType["OnForbidden"] = 0] = "OnForbidden"; /** * Called when RPT changes. Might be cleared, updated, renewed,... */ ClientEventType[ClientEventType["OnRptChanged"] = 1] = "OnRptChanged"; /** * Called when RPT Roles might have changed */ ClientEventType[ClientEventType["OnRolesChanged"] = 2] = "OnRolesChanged"; })(ClientEventType = exports.ClientEventType || (exports.ClientEventType = {}));