Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "lib/actions"

Index

Functions

process_actions

  • Collect all the issues. The function calls out, for each minute file, to the get_issue_comments function, and then add these comments to the issues themselves, using the methods provided in the IssueDiscussion instances.

    async

    Parameters

    • gh_credentials: Credentials

      the user's Github credentials

    • file_names: string[]

      List of the minute file names, i.e., the base name of the minute file in its repository

    • get_data: GetDataCallback

      A function returning the markdown content of the minutes in a Promise. The function itself either uses the local file system read or a fetch to the repository, depending on whether this function is called for a local or a github repository.

    Returns Promise<void>

    • List of resolutions

raise_action_issues

  • raise_action_issues(github_cache: GithubCache, minutes: string): Promise<void>
  • Parameters

    • github_cache: GithubCache

      a wrapper around Github access objects

    • minutes: string

      the minutes (the only item that is relevant is the JSON-LD preamble)

    Returns Promise<void>