Skip to main content

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

types/confluence.types.ts:60


HttpConfig

Ƭ HttpConfig: Object

Type declaration

NameType
contentType?string
data?string
typeHttpMethod
urlstring

Defined in

types/http.types.ts:3

Variables

ATLASSIAN_API3_SERVER_INFO

Const ATLASSIAN_API3_SERVER_INFO: "/rest/api/3/serverInfo"

Defined in

helpers/http.helper.ts:5

Functions

appendTable

appendTable(table): Promise<void>

Parameters

NameType
tableHTMLElement

Returns

Promise<void>

Defined in

helpers/http.helper.ts:38


checkPending

checkPending(promise, timeout, callback): void

Parameters

NameType
promisePromise<any>
timeoutnumber
callback(num: number) => void

Returns

void

Defined in

helpers/http.helper.ts:211


confluenceRequest

confluenceRequest<T>(config, confluenceRestClient?): Promise<T>

Type parameters

Name
T

Parameters

NameTypeDefault value
configHttpConfigundefined
confluenceRestClientConfluenceRestClientwindow.__AP__

Returns

Promise<T>

Defined in

helpers/confluence.helper.ts:7


createMessage

createMessage(err, options?): HTMLElement

Parameters

NameType
errstring | Error
optionsObject
options.messageType?string
options.title?string

Returns

HTMLElement

Defined in

helpers/http.helper.ts:97


encodeContent

encodeContent(content, encoding): string

Parameters

NameType
contentstring
encodingstring

Returns

string

Defined in

helpers/http.helper.ts:6


fixLinks(src): Promise<string>

Parameters

NameType
srcstring

Returns

Promise<string>

Defined in

helpers/http.helper.ts:140


getParams

getParams(): Record<string, string>

Returns

Record<string, string>

Defined in

helpers/http.helper.ts:126


merge

merge(pattern, model): string

Parameters

NameType
patternstring
modelundefined | string | Record<string, any>

Returns

string

Defined in

helpers/http.helper.ts:17