64 Commits

Author SHA1 Message Date
Akulij
5c8cadf7a0 create test for deserealization of result of js function 2025-05-20 00:40:25 +05:00
Akulij
534a0e6090 create init_config method for Runner 2025-05-20 00:39:39 +05:00
Akulij
135139514b update btoscript struct definitions 2025-05-20 00:39:15 +05:00
Akulij
f6b18af5dd derive clone on BoMessage 2025-05-20 00:38:29 +05:00
Akulij
cddf5986ba use from_js 2025-05-19 23:58:53 +05:00
Akulij
3f8f25fff9 create SerdeError for ScriptError
reason: to handle errors from call of from_js
2025-05-19 23:57:22 +05:00
Akulij
eb63743714 create js_into for JsValue
reason: wil be way less boilerplate for deserialization of JsValue to defined structs
2025-05-19 23:55:44 +05:00
Akulij
c2e02efc47 create call_context method for BotFunction 2025-05-19 23:54:39 +05:00
Akulij
c8c67b54e3 make botFunction a struct 2025-05-19 23:54:08 +05:00
Akulij
e7d43adc40 create structs for bot's configuration definition 2025-05-18 16:10:03 +03:00
Akulij
a6206d3d6f use quickjs_rusty's from_js in tests 2025-05-18 16:09:34 +03:00
Akulij
bf032e6ce4 create test for deserealization of mainbot.js 2025-05-18 16:07:40 +03:00
Akulij
9d5bf86289 create recursive_format function just for tests 2025-05-18 16:05:10 +03:00
Akulij
08c1b67f02 create botscript runner 2025-05-10 03:27:35 +03:00