text-document-common 1.4.0

Shared entities, database, events, and undo/redo infrastructure for text-document
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use super::list_repository::{ListTable, ListTableRO};
use crate::entities::*;
use crate::impl_leaf_entity_table;

impl_leaf_entity_table! {
    entity: List,
    entity_name: "list",
    store_field: lists,
    table_trait: ListTable,
    table_ro_trait: ListTableRO,
    table_struct: ListHashMapTable,
    table_ro_struct: ListHashMapTableRO,
    backward_junctions: [
        (jn_list_from_block_list, "list_from_block_list_junction"),
        (jn_list_from_document_lists, "list_from_document_lists_junction")
    ],
}