Files
dealplustech/node_modules/drizzle-orm/gel-core/roles.js
Kunthawat 77ac4d2d05 feat: Upgrade to Astro with full PDPA compliance
PDPA Features:
 Cookie consent banner
 Consent logging API
 Admin dashboard
 Privacy Policy
 Terms & Conditions

Technical:
 Astro 5.x + Tailwind v4
 Docker on port 80
 SQLite database
 15 pages built

Ready for Easypanel deployment.
2026-03-12 10:01:04 +07:00

32 lines
621 B
JavaScript

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