14 lines
397 B
Rust
14 lines
397 B
Rust
use geth_types::{DocumentId, ResourceId};
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize)]
|
|
pub struct DocumentResource {
|
|
pub id: DocumentId,
|
|
pub resource: ResourceId,
|
|
pub name: String,
|
|
}
|
|
|
|
#[must_use]
|
|
pub fn automerge_roadmap() -> &'static str {
|
|
"future documents use Automerge sync over Iroh with resource-local authorization"
|
|
}
|