Comments (2)
Class diagram:
"+" — public property / method
"-" — private property / method
"#" — protected property / method
Serializer
- serverState : ServerStateObject
— stores serverState, that loaded from resource
- currentState : ServerStateObject
— current serverState (immutable), that will be changed by Services and could be saved to resource
+ hasChanges() : Boolean
— method that diffs serverState and currentState. Maybe useful to prevent unnecessary saves, disable "save" button and etc
+ load( ids: Array<number> ) : ServerStateObject
— method that will be called by Application (or another head class) to load ServerState for all opened patches
+ get( serviceName: string, id?: number ) : ServiceStateObject
— method that will be called by Services to load serviceState (return only part of ServerState)
+ save() : ResponceObject
— save json data to resource
# _store(response: ResponseObject) : ResponseObject
— save json data to resource (contains logic where to save and how)
# _restore(response: ResponseObject) : ResponseObject
— loads json data from resource (called by getPatches)
- _fromJSON() : Object
— parse json data into object ()
- _toJSON() : String
- JSON.stringify(object)
- _createResponse() : ResponseObject
— creates empty response with status pending
ResponseObject
status: ResponseStates
— enum ResponseStates { pending, success, fail }
data: any
— could contain object with some data, error message / error number and etc
from xod.
No longer relevant
from xod.
Related Issues (20)
- Update bug in https://xod.io/libs (C++) HOT 4
- Error with digital-write, evaluate_on_pin disable. HOT 1
- WS2811 vs WS2812 - invert color red<>green
- Double click or button for new patch. HOT 1
- Support `main` branch when fetching Arduino libraries from GitHub
- As xoder I want keyboard shortcuts for upload
- yarn build error under windows10 and vs2019 community HOT 5
- As a scientific researcher I want to copy and download serial logs so that I can analyze my sensor data in spreadsheets
- As a xoder I want to expand deployment pane so that I can see more output at once
- XOD IDE loads libraries with invalid patch paths
- When i press 'h' in login - all clean HOT 3
- Code editor does not scroll, grows instead
- Cannot log-in (Cloud compilation limits exceeded) HOT 3
- wrong read from dynamic array HOT 1
- Export schematic as PDF
- 'insertBefore
- XOD does not load the program after the first load on the Iskra NEO board
- ...
- Cannot compile after updating packages and toolchains
- Transpiler fails silently on C++ syntax error in patch, must restart app to continue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xod.