Skip to main content
Module

x/deno_slack_hooks/get_manifest.ts

Helper library implementing the contract between the Slack CLI and Slack application SDKs
Latest
import * as denoSlackHooks from "https://deno.land/x/deno_slack_hooks@1.3.0/get_manifest.ts";

Variables

Returns a merged manifest object from expected files used to represent an application manifest: manifest.json, manifest.ts and manifest.js. If both a json and ts or js are present, then first the json file will be used as a base object, then the .ts or the .js file export will be merged over the json file. If a .ts file exists, the .js will be ignored. Otherwise, the .js file will be merged over the .json.

Functions

Retrieves a merged application manifest, validates the manifest and all its specified functions, and cleans up any bits from it not relevant for the Slack manifest APIs.