Add local document resource commands

This commit is contained in:
Eric Wendland 2026-05-16 22:15:18 +02:00
commit ce260625d6
14 changed files with 277 additions and 14 deletions

View file

@ -1,5 +1,6 @@
use geth_auth::{AuthExplanation, AuthOp};
use geth_db::DbResource;
use geth_document::DocumentResource;
use geth_keychain::KeychainOp;
use geth_kv::{KvEntry, KvResource};
use geth_resource::ResourceDescriptor;
@ -111,6 +112,12 @@ pub enum ControlRequest {
name: String,
key: String,
},
DocumentCreate {
name: String,
},
DocumentStatus {
name: String,
},
ModuleStub {
module: String,
command: String,
@ -205,6 +212,12 @@ pub enum ControlResponse {
KvGet {
entry: Option<KvEntry>,
},
DocumentCreated {
document: DocumentResource,
},
DocumentStatus {
document: DocumentResource,
},
NotImplemented {
module: String,
command: String,