mirror of
https://github.com/anyproto/any-sync.git
synced 2025-06-08 05:57:03 +09:00
13 lines
384 B
Go
13 lines
384 B
Go
package document
|
|
|
|
import "github.com/anytypeio/go-anytype-infrastructure-experiments/common/app"
|
|
|
|
type Service interface {
|
|
app.Component
|
|
CreateDocument(spaceId string) (id string, err error)
|
|
GetAllDocumentIds(spaceId string) (ids []string, err error)
|
|
AddText(documentId, text string) (err error)
|
|
DumpDocumentTree(documentId string) (err error)
|
|
}
|
|
|
|
const CName = "client.document"
|