1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

page numbering engine

This commit is contained in:
Harvey Kandola 2017-12-10 14:05:23 +00:00
parent 5de856e579
commit c5c988709d
9 changed files with 198 additions and 26 deletions

View file

@ -29,6 +29,7 @@ type Page struct {
BlockID string `json:"blockId"`
Level uint64 `json:"level"`
Sequence float64 `json:"sequence"`
Numbering string `json:"numbering"`
Title string `json:"title"`
Body string `json:"body"`
Revisions uint64 `json:"revisions"`
@ -102,7 +103,6 @@ type NewPage struct {
Meta Meta `json:"meta"`
}
// PageSequenceRequest details a page ID and its sequence within the document.
type PageSequenceRequest struct {
PageID string `json:"pageId"`
@ -113,4 +113,4 @@ type PageSequenceRequest struct {
type PageLevelRequest struct {
PageID string `json:"pageId"`
Level int `json:"level"`
}
}