init commit

This commit is contained in:
modeht
2022-10-03 19:59:51 +02:00
commit 057e9306df
497 changed files with 109776 additions and 0 deletions
@@ -0,0 +1,30 @@
"use strict";
/*Powered By: Manaknightdigital Inc. https://manaknightdigital.com/ Year: 2021*/
/**
* Actives V View Model
*
* @copyright 2021 Manaknightdigital Inc.
* @link https://manaknightdigital.com
* @license Proprietary Software licensing
* @author Ryan Wong
*/
module.exports = function (entity, pageName = "", success, error, base_url = "") {
this.entity = entity;
this.success = success || null;
this.error = error || null;
this._base_url = base_url;
this.endpoint = "/admin/actives";
this.get_page_name = () => pageName;
this.heading = "Active details";
this.detail_fields = { id: "", name: "", description: "" };
return this;
};