@openfga/frontend-utils
Version:
Exposes helpful utilities for building authoring experiences of OpenFGA Models.
26 lines (25 loc) • 866 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ReservedKeywords = exports.Keyword = void 0;
var Keyword;
(function (Keyword) {
Keyword["TYPE"] = "type";
Keyword["RELATIONS"] = "relations";
Keyword["SELF"] = "self";
Keyword["DEFINE"] = "define";
Keyword["AS"] = "as";
Keyword["OR"] = "or";
Keyword["AND"] = "and";
Keyword["FROM"] = "from";
Keyword["WITH"] = "with";
Keyword["BUT_NOT"] = "but not";
Keyword["MODEL"] = "model";
Keyword["SCHEMA"] = "schema";
Keyword["MODULE"] = "module";
Keyword["EXTEND"] = "extend";
Keyword["CONDITION"] = "condition";
})(Keyword || (exports.Keyword = Keyword = {}));
var ReservedKeywords;
(function (ReservedKeywords) {
ReservedKeywords["THIS"] = "this";
})(ReservedKeywords || (exports.ReservedKeywords = ReservedKeywords = {}));