UNPKG

@openinc/parse-server-opendash

Version:
42 lines (41 loc) 1.08 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Notification_Setting = void 0; class Notification_Setting extends Parse.Object { constructor(data) { super("OD3_Notification_Setting", data); } get description() { return super.get("description"); } set description(value) { super.set("description", value); } get key() { return super.get("key"); } set key(value) { super.set("key", value); } get label() { return super.get("label"); } set label(value) { super.set("label", value); } get roles() { return super.relation("roles"); } get tenant() { return super.get("tenant"); } set tenant(value) { super.set("tenant", value); } get users() { return super.relation("users"); } } exports.Notification_Setting = Notification_Setting; Notification_Setting.className = "OD3_Notification_Setting"; Parse.Object.registerSubclass("OD3_Notification_Setting", Notification_Setting);