TenantAtlas/apps/platform/.pnpm-store/v10/files/8f/7137bb0d791204abb7074b917ca35ec69f351500a38bacc7f9cd89bf94fda5bd7439ff5d5568141cf92cb88cf163f0ca2a633f0db81dec29154d771cd9aa82
Ahmed Darrazi 9f74f7a658
Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 51s
feat: compress governance operator outcomes
2026-04-19 14:15:11 +02:00

32 lines
621 B
Plaintext

import { entityKind } from "../entity.js";
class GelRole {
constructor(name, config) {
this.name = name;
if (config) {
this.createDb = config.createDb;
this.createRole = config.createRole;
this.inherit = config.inherit;
}
}
static [entityKind] = "GelRole";
/** @internal */
_existing;
/** @internal */
createDb;
/** @internal */
createRole;
/** @internal */
inherit;
existing() {
this._existing = true;
return this;
}
}
function gelRole(name, config) {
return new GelRole(name, config);
}
export {
GelRole,
gelRole
};
//# sourceMappingURL=roles.js.map