@@ -3,7 +3,7 @@
|
||||
"info": {
|
||||
"title": "HeroCoordinator JSON-RPC API",
|
||||
"version": "0.1.0",
|
||||
"description": "JSON-RPC API over HTTP and WebSocket for creating and loading domain models. Timestamps created_at/updated_at are set by the system. Known model quirks are kept as-is and documented here: Context uses 'upddated_at' (typo) instead of 'updated_at'; Runner uses 'crated_at' instead of 'created_at'; Message uses ScriptType as 'message_type'. Host and ports are configurable via CLI flags."
|
||||
"description": "JSON-RPC API over HTTP and WebSocket for creating and loading domain models. Host and ports are configurable via CLI flags."
|
||||
},
|
||||
"servers": [
|
||||
{
|
||||
|
@@ -13,5 +13,5 @@ pub struct Context {
|
||||
/// Actor ids which can execute jobs in this context
|
||||
executors: Vec<u32>,
|
||||
created_at: Timestamp,
|
||||
upddated_at: Timestamp,
|
||||
updated_at: Timestamp,
|
||||
}
|
||||
|
@@ -15,7 +15,7 @@ pub struct Runner {
|
||||
topic: String,
|
||||
/// If this is true, the runner also listens on a local redis queue
|
||||
local: bool,
|
||||
crated_at: Timestamp,
|
||||
created_at: Timestamp,
|
||||
updated_at: Timestamp,
|
||||
}
|
||||
|
||||
|
@@ -275,4 +275,3 @@ impl RedisDriver {
|
||||
self.hget_model(db, &key).await
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user