Skip to content

Commit

Permalink
🏷️ Parsed more structures
Browse files Browse the repository at this point in the history
1. Added the Confluence History tag under the Confluence Content Scheme History.

2. Fixed the Content Version scheme (it was using the Jira version format).
  • Loading branch information
ctreminiom committed Jan 31, 2022
1 parent f6049e4 commit 7a14d84
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkg/infra/models/confluence_content.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ type ContentScheme struct {
Version *ContentVersionScheme `json:"version,omitempty"`
Extensions *ContentExtensionScheme `json:"extensions,omitempty"`
Ancestors []*ContentScheme `json:"ancestors,omitempty"`
History *ContentHistoryScheme `json:"history,omitempty"`
}

type ContentExtensionScheme struct {
Expand Down Expand Up @@ -141,10 +142,10 @@ type ContentHistoryScheme struct {
Latest bool `json:"latest,omitempty"`
CreatedBy *ContentUserScheme `json:"createdBy,omitempty"`
CreatedDate string `json:"createdDate,omitempty"`
LastUpdated *VersionScheme `json:"lastUpdated,omitempty"`
PreviousVersion *VersionScheme `json:"previousVersion,omitempty"`
LastUpdated *ContentVersionScheme `json:"lastUpdated,omitempty"`
PreviousVersion *ContentVersionScheme `json:"previousVersion,omitempty"`
Contributors *ContentHistoryContributorsScheme `json:"contributors,omitempty"`
NextVersion *VersionScheme `json:"nextVersion,omitempty"`
NextVersion *ContentVersionScheme `json:"nextVersion,omitempty"`
Expandable *ExpandableScheme `json:"_expandable,omitempty"`
Links *LinkScheme `json:"_links,omitempty"`
}
Expand Down

0 comments on commit 7a14d84

Please sign in to comment.