Skip to content

Commit

Permalink
updated jsontag, jaqt
Browse files Browse the repository at this point in the history
added meta info to example/run-command
  • Loading branch information
poef committed Sep 9, 2024
1 parent 55690ac commit 8267a72
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions data.od-jsontag
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
(19){"persons":[~1,~2]}
(102)<object id="john" class="Person">{"name":"John","lastName":"Doe","dob":<date>"1972-09-20","foaf":[~2]}
(102)<object id="jane" class="Person">{"name":"Jane","lastName":"Doe","dob":<date>"1986-01-01","foaf":[~1]}
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"start": "node server.mjs"
},
"dependencies": {
"@muze-nl/jsontag": "^0.9.6",
"@muze-nl/jsontag": "^0.9.8",
"@muze-nl/jsontag-types": "^0.1.1",
"@muze-nl/simplystore": "file:../",
"eslint": "^8.56.0",
Expand Down
2 changes: 1 addition & 1 deletion example/run-command.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let commandStr = `{
"name": "addPerson",
"timestamp": <date>"${timestamp}",
"author":"someone",
"value": {
"value": <object id="/uuid/${id}">{
"name": "Dave the Stormtrooper",
"gender": "male",
"homeworld": <link>"http://swapi.co/api/planets/1/"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
"bugs": "https://github.com/simplyedit/simplystore/issues",
"homepage": "https://github.com/simplyedit/simplystore#readme",
"dependencies": {
"@muze-nl/jsontag": "^0.9.6",
"@muze-nl/jsontag": "^0.9.8",
"@muze-nl/od-jsontag": "^0.2.7",
"codemirror": "^6.0.1",
"express": "^4.18.1",
"jaqt": "^0.6.2",
"jaqt": "^0.9.0",
"json-pointer": "^0.6.2",
"jsonpath-plus": "^7.2.0",
"vm2": "^3.9.13",
Expand Down
2 changes: 1 addition & 1 deletion src/server.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ async function main(options) {
options = {}
}
const port = options.port || 3000
const datafile = options.datafile || './data.jsontag'
const datafile = options.datafile || './data.od-jsontag'
const wwwroot = options.wwwroot || __dirname+'/www'
const maxWorkers = options.maxWorkers || 8
const queryWorker = options.queryWorker || __dirname+'/src/query-worker.mjs'
Expand Down

0 comments on commit 8267a72

Please sign in to comment.