fix tetraplet

This commit is contained in:
Pavel Murygin 2021-04-22 17:28:10 +03:00
parent 8f99fd0d1f
commit 6514ba981d
2 changed files with 37 additions and 38 deletions

View File

@ -1,37 +1,36 @@
{ {
"services": { "services": {
"history": { "history": {
"dependencies": ["history_inmemory"], "dependencies": ["history_inmemory"],
"node": "12D3KooWKEprYXUXqoV5xSBeyqrWLpQLLH4PXfvVkDJtmcqmh5V3" "node": "12D3KooWKEprYXUXqoV5xSBeyqrWLpQLLH4PXfvVkDJtmcqmh5V3"
}, },
"user_list": { "user_list": {
"dependencies": ["user_list_inmemory"], "dependencies": ["user_list_inmemory"],
"node": "12D3KooWKEprYXUXqoV5xSBeyqrWLpQLLH4PXfvVkDJtmcqmh5V3" "node": "12D3KooWKEprYXUXqoV5xSBeyqrWLpQLLH4PXfvVkDJtmcqmh5V3"
} }
}, },
"modules": { "modules": {
"history_inmemory": { "history_inmemory": {
"file": "history.wasm", "file": "history.wasm",
"config": { "config": {
"preopened_files": ["/tmp"], "preopened_files": ["/tmp"],
"mapped_dirs": { "history": "/tmp" } "mapped_dirs": { "history": "/tmp" }
} }
}, },
"user_list_inmemory": { "user_list_inmemory": {
"file": "user_list.wasm", "file": "user_list.wasm",
"config": {} "config": {}
} }
}, },
"scripts": { "scripts": {
"set_tetraplet": { "set_tetraplet": {
"file": "set_tetraplet.air", "file": "set_tetraplet.air",
"variables": { "variables": {
"function": "is_authenticated", "function": "is_authenticated",
"json_path": "$.[\"is_authenticated\"]" "json_path": "$.is_authenticated"
}, },
"node": "12D3KooWKEprYXUXqoV5xSBeyqrWLpQLLH4PXfvVkDJtmcqmh5V3" "node": "12D3KooWKEprYXUXqoV5xSBeyqrWLpQLLH4PXfvVkDJtmcqmh5V3"
} }
}, },
"script_storage": { "script_storage": {}
}
} }

View File

@ -9,7 +9,7 @@
"hash:6ee648216089b876a34353f485f1bf19dd863b861f0d798a0ac0cb65cc3b4e2f" "hash:6ee648216089b876a34353f485f1bf19dd863b861f0d798a0ac0cb65cc3b4e2f"
], ],
"blueprint_id": "5df598924434974291d98c6d72e0922f2e8cbd7f7f291ca44f1b2f8e198f421b", "blueprint_id": "5df598924434974291d98c6d72e0922f2e8cbd7f7f291ca44f1b2f8e198f421b",
"id": "675a1690-a811-4c5d-bf79-fbbd1079b094" "id": "cce107e4-b70e-428c-a09e-aa828e8c7ec6"
}, },
"user_list": { "user_list": {
"dependencies": [ "dependencies": [
@ -20,7 +20,7 @@
"hash:691ebcd74409bd931a9a68d0e0001f8d9d4b8482c8aaac3184e28c2a322e5a82" "hash:691ebcd74409bd931a9a68d0e0001f8d9d4b8482c8aaac3184e28c2a322e5a82"
], ],
"blueprint_id": "d46fb511eb5a5dcea7b5a6777e04f95d48cbbe9fde040bd6bd69b4d9cd8fbb88", "blueprint_id": "d46fb511eb5a5dcea7b5a6777e04f95d48cbbe9fde040bd6bd69b4d9cd8fbb88",
"id": "4fb028e5-e5dc-4e5d-a974-3a602a3812b1" "id": "62c69a09-3501-472a-b7d2-02bbe90f890c"
} }
}, },
"modules": { "modules": {
@ -47,7 +47,7 @@
"file": "set_tetraplet.air", "file": "set_tetraplet.air",
"variables": { "variables": {
"function": "is_authenticated", "function": "is_authenticated",
"json_path": "$.[\"is_authenticated\"]" "json_path": "$.is_authenticated"
}, },
"node": "12D3KooWKEprYXUXqoV5xSBeyqrWLpQLLH4PXfvVkDJtmcqmh5V3" "node": "12D3KooWKEprYXUXqoV5xSBeyqrWLpQLLH4PXfvVkDJtmcqmh5V3"
} }