-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanifest.ts
More file actions
73 lines (69 loc) · 2.33 KB
/
manifest.ts
File metadata and controls
73 lines (69 loc) · 2.33 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
import { Manifest } from "deno-slack-sdk/mod.ts";
import {
IncludedDaysOfWeekType,
RotationScheduleType,
RotationDatastore,
} from "./datastores/rotation.ts";
import { CreateRotationWorkflow } from "./workflows/create_rotation.ts";
import { UpdateRotationWorkflow } from "./workflows/update_rotation.ts";
import { ListRotationsWorkflow } from "./workflows/list_rotations.ts";
import { DeleteRotationsWorkflow } from "./workflows/delete_rotations.ts";
import { SendReminderWorkflow } from "./workflows/send_reminder.ts";
import { RemoveUserFromRotationWorkflow } from "./workflows/remove_user_from_rotation.ts";
import { OpenRotationFormFunction } from "./functions/open_rotation_form.ts";
import { CreateRotationFunction } from "./functions/create_rotation.ts";
import { UpdateRotationFunction } from "./functions/update_rotation.ts";
import { GetRotationFunction } from "./functions/get_rotation.ts";
import { DeleteRotationsFunction } from "./functions/delete_rotations.ts";
import { ListRotationsFunction } from "./functions/list_rotations.ts";
import { RotateFunction } from "./functions/rotate.ts";
import { SendReminderFunction } from "./functions/send_reminder.ts";
import { RemoveUserFromRotationFunction } from "./functions/remove_user_from_rotation.ts";
export default Manifest({
name: "rrr",
description: "A round robin rotation app for pirates. Arrrgh!",
icon: "assets/icon.png",
backgroundColor: "#000000",
features: {
appHome: {
messagesTabEnabled: true,
messagesTabReadOnlyEnabled: false,
},
},
datastores: [RotationDatastore],
types: [IncludedDaysOfWeekType, RotationScheduleType],
functions: [
OpenRotationFormFunction,
CreateRotationFunction,
UpdateRotationFunction,
GetRotationFunction,
DeleteRotationsFunction,
ListRotationsFunction,
RotateFunction,
SendReminderFunction,
RemoveUserFromRotationFunction,
],
workflows: [
CreateRotationWorkflow,
UpdateRotationWorkflow,
DeleteRotationsWorkflow,
ListRotationsWorkflow,
SendReminderWorkflow,
RemoveUserFromRotationWorkflow,
],
outgoingDomains: [],
botScopes: [
"commands",
"chat:write",
"chat:write.public",
"datastore:read",
"datastore:write",
"triggers:read",
"triggers:write",
"channels:read",
"groups:read",
"im:read",
"mpim:read",
"users:read",
],
});