generated from slack-samples/deno-starter-template
-
Notifications
You must be signed in to change notification settings - Fork 7
/
manifest.ts
40 lines (36 loc) · 1.22 KB
/
manifest.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import { Manifest } from "deno-slack-sdk/mod.ts";
import GoogleProvider from "./external_auth/google_provider.ts";
import SurveyDatastore from "./datastores/survey_datastore.ts";
import ConfiguratorWorkflow from "./workflows/configurator.ts";
import MaintenanceJobWorkflow from "./workflows/maintenance_job.ts";
import AnswerSurveyWorkflow from "./workflows/answer_survey.ts";
import CreateSurveyWorkflow from "./workflows/create_survey.ts";
import RemoveSurveyWorkflow from "./workflows/remove_survey.ts";
import PromptSurveyWorkflow from "./workflows/prompt_survey.ts";
export default Manifest({
name: "Simple Survey",
description: "Gather input and ideas at the press of a reacji",
icon: "assets/default_new_app_icon.png",
externalAuthProviders: [GoogleProvider],
datastores: [SurveyDatastore],
workflows: [
ConfiguratorWorkflow,
MaintenanceJobWorkflow,
AnswerSurveyWorkflow,
CreateSurveyWorkflow,
PromptSurveyWorkflow,
RemoveSurveyWorkflow,
],
outgoingDomains: ["sheets.googleapis.com"],
botScopes: [
"channels:join",
"chat:write",
"chat:write.public",
"commands",
"datastore:read",
"datastore:write",
"reactions:read",
"triggers:read",
"triggers:write",
],
});