-
Notifications
You must be signed in to change notification settings - Fork 1
/
manifest.ts
49 lines (47 loc) · 1.41 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
41
42
43
44
45
46
47
48
49
import { Manifest } from "deno-slack-sdk/mod.ts";
import Timesheet from "./workflows/timesheet.ts";
import ActiveViewRefresher from "./workflows/active_view_refresher.ts";
import ActiveViewRefresherOnce from "./workflows/active_view_refresher_once.ts";
import TimeEntries from "./datastores/time_entries.ts";
import UserSettings from "./datastores/user_settings.ts";
import Countries from "./datastores/countries.ts";
import PublicHolidays from "./datastores/public_holidays.ts";
import AdminUsers from "./datastores/admin_users.ts";
import Projects from "./datastores/projects.ts";
import OrganizationPolicies from "./datastores/organization_policies.ts";
import Lifelogs from "./datastores/lifelogs.ts";
import ActiveViews from "./datastores/active_views.ts";
export default Manifest({
name: "Timesheet",
description: "Timesheet, an app designed to manage work hours in Slack",
icon: "assets/icon.png",
outgoingDomains: [
"files.slack.com", // for uploadng files
],
workflows: [
Timesheet,
ActiveViewRefresher,
ActiveViewRefresherOnce,
],
datastores: [
TimeEntries,
UserSettings,
Countries,
PublicHolidays,
Projects,
AdminUsers,
OrganizationPolicies,
Lifelogs,
ActiveViews,
],
botScopes: [
"commands",
"chat:write",
"chat:write.public",
"datastore:read",
"datastore:write",
"users:read",
"users:read.email",
"files:write",
],
});