Home Reference Source Test Repository

Function

Static Public Summary
public

opmlToStories(opmlJSON: Object): Promise<Object[], ParseError[]>

opmlToStories

public

sendTrello(cards: Object[], config: Object, dryRun: boolean): Promise<Object, Error>

Register cards to Trello

public

storiesToCards(stories: Object[], config: Object): Promise<Object[], ParseError[]>

Stories To Cards

Static Public

public opmlToStories(opmlJSON: Object): Promise<Object[], ParseError[]> source

import {opmlToStories} from '5rolli-workflowy2trello/src/index.js'

opmlToStories

Params:

NameTypeAttributeDescription
opmlJSON Object

opml object

Return:

Promise<Object[], ParseError[]>

public sendTrello(cards: Object[], config: Object, dryRun: boolean): Promise<Object, Error> source

import {sendTrello} from '5rolli-workflowy2trello/src/index.js'

Register cards to Trello

Params:

NameTypeAttributeDescription
cards Object[]

card list

config Object

config

dryRun boolean

flag

Return:

Promise<Object, Error>

public storiesToCards(stories: Object[], config: Object): Promise<Object[], ParseError[]> source

import {storiesToCards} from '5rolli-workflowy2trello/src/index.js'

Stories To Cards

Params:

NameTypeAttributeDescription
stories Object[]

stories

config Object

config

Return:

Promise<Object[], ParseError[]>