Constructor
new Meta(repo, path, sha, gitRef, gitSha, publisherVersion)
Constructor
Parameters:
Name | Type | Default | Description |
---|---|---|---|
repo | string | The GitHub repo url the page belongs to | |
path | string | null | The path of the page relative to the repo root |
sha | string | null | The |
gitRef | string | null | The git ref from where this page was published from |
gitSha | string | null | The git commit from where this page was published from |
publisherVersion | string | null | The version of the action that published the page |
- Source
Members
githubUrl :string
Fully qualified GitHub url of this page
Type:
- string
- Source
Methods
publisherVersionConflict() → {boolean}
- Source
Returns:
True
if the major/minor version of the action published this page is different than the current version
- Type:
- boolean
toConfluenceProperties() → {object}
- Source
Returns:
With all metadata transformed as Confluence properties
- Type:
- object