mirror of
https://github.com/danbulant/ester_os
synced 2026-07-05 02:50:40 +00:00
Data holder classes
This commit is contained in:
parent
2025caad8c
commit
060501caa6
3 changed files with 22 additions and 0 deletions
8
client/src/ui/system/utils/dataHolders/app.js
Normal file
8
client/src/ui/system/utils/dataHolders/app.js
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
class App {
|
||||||
|
name = "";
|
||||||
|
icon = "";
|
||||||
|
id = -1;
|
||||||
|
state = {};
|
||||||
|
}
|
||||||
|
|
||||||
|
export default App;
|
||||||
5
client/src/ui/system/utils/dataHolders/state.js
Normal file
5
client/src/ui/system/utils/dataHolders/state.js
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
class State {
|
||||||
|
title = "";
|
||||||
|
}
|
||||||
|
|
||||||
|
export default State;
|
||||||
9
client/src/ui/system/utils/dataHolders/user.js
Normal file
9
client/src/ui/system/utils/dataHolders/user.js
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
class User {
|
||||||
|
name = "";
|
||||||
|
avatar = "";
|
||||||
|
background = "";
|
||||||
|
desktop = [];
|
||||||
|
navbar = [];
|
||||||
|
}
|
||||||
|
|
||||||
|
export default User;
|
||||||
Loading…
Reference in a new issue