[WMS-55] Create/Edit User

This commit is contained in:
m0n02hz
2022-03-02 00:41:24 +05:30
parent 315113630e
commit c2b632e33b
45 changed files with 41607 additions and 190 deletions

17
plop-templates/service.js.hbs Executable file
View File

@@ -0,0 +1,17 @@
const create{{pascalCase name}} = () => {
let examplePrivateVariable = 0
return {
getExamplePrivateVariable: () => {
return examplePrivateVariable
},
setExamplePrivateVariable: (n) => {
examplePrivateVariable = n
}
}
};
const singleton = create{{pascalCase name}}();
Object.freeze(singleton);
export default singleton;