modules
@appfire/fuse-confluence / Exports
@appfire/fuse-confluence
Table of contents
Classes
Interfaces
Type Aliases
Variables
Functions
Type Aliases
CacheableMacroParams
Ƭ CacheableMacroParams: Record
<string
, { value
: string
}> & { macroMode
: { value
: string
} ; pageId
: { value
: string
} ; spaceKey
: { value
: string
} }
Defined in
HttpConfig
Ƭ HttpConfig: Object
Type declaration
Name | Type |
---|---|
contentType? | string |
data? | string |
type | HttpMethod |
url | string |
Defined in
Variables
ATLASSIAN_API3_SERVER_INFO
• Const
ATLASSIAN_API3_SERVER_INFO: "/rest/api/3/serverInfo"
Defined in
Functions
appendTable
▸ appendTable(table
): Promise
<void
>
Parameters
Name | Type |
---|---|
table | HTMLElement |
Returns
Promise
<void
>
Defined in
checkPending
▸ checkPending(promise
, timeout
, callback
): void
Parameters
Name | Type |
---|---|
promise | Promise <any > |
timeout | number |
callback | (num : number ) => void |
Returns
void
Defined in
confluenceRequest
▸ confluenceRequest<T
>(config
, confluenceRestClient?
): Promise
<T
>
Type parameters
Name |
---|
T |
Parameters
Name | Type | Default value |
---|---|---|
config | HttpConfig | undefined |
confluenceRestClient | ConfluenceRestClient | window.__AP__ |
Returns
Promise
<T
>
Defined in
helpers/confluence.helper.ts:7
createMessage
▸ createMessage(err
, options?
): HTMLElement
Parameters
Name | Type |
---|---|
err | string | Error |
options | Object |
options.messageType? | string |
options.title? | string |
Returns
HTMLElement
Defined in
encodeContent
▸ encodeContent(content
, encoding
): string
Parameters
Name | Type |
---|---|
content | string |
encoding | string |
Returns
string
Defined in
fixLinks
▸ fixLinks(src
): Promise
<string
>
Parameters
Name | Type |
---|---|
src | string |
Returns
Promise
<string
>
Defined in
getParams
▸ getParams(): Record
<string
, string
>
Returns
Record
<string
, string
>
Defined in
merge
▸ merge(pattern
, model
): string
Parameters
Name | Type |
---|---|
pattern | string |
model | undefined | string | Record <string , any > |
Returns
string