UNPKG

@sitecore/sc-contenthub-webclient-sdk

Version:

Sitecore Content Hub WebClient SDK.

18 lines 516 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UserPolicy = void 0; const policy_1 = require("./policy"); class UserPolicy extends policy_1.Policy { constructor(init) { super(); Object.assign(this, init); } getRelatedId() { return this.userId; } static isUserPolicy(obj) { return (obj.hasOwnProperty("userId") && typeof obj.userId === "number"); } } exports.UserPolicy = UserPolicy; //# sourceMappingURL=user-policy.js.map