Skip to content

Commit 12ab594

Browse files
Enable always online in app manifest
1 parent f92d00f commit 12ab594

1 file changed

Lines changed: 103 additions & 102 deletions

File tree

manifest.json

Lines changed: 103 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -1,104 +1,105 @@
11
{
2-
"display_information": {
3-
"name": "bolt-python-search"
4-
},
5-
"features": {
6-
"bot_user": {
7-
"display_name": "bolt-python-search",
8-
"always_online": true
9-
},
10-
"rich_previews": {
11-
"is_active": true,
12-
"entity_types": [
13-
"slack#/entities/item"
14-
]
15-
},
16-
"search": {
17-
"search_function_callback_id": "search",
18-
"search_filters_function_callback_id": "filters"
19-
}
20-
},
21-
"oauth_config": {
22-
"scopes": {
23-
"bot": [
24-
"chat:write"
25-
]
26-
}
27-
},
28-
"settings": {
29-
"event_subscriptions": {
30-
"bot_events": [
31-
"function_executed",
32-
"entity_details_requested"
33-
]
34-
},
35-
"interactivity": {
36-
"is_enabled": false
37-
},
38-
"org_deploy_enabled": true,
39-
"socket_mode_enabled": true,
40-
"token_rotation_enabled": false,
41-
"hermes_app_type": "remote",
42-
"function_runtime": "remote"
43-
},
44-
"functions": {
45-
"filters": {
46-
"title": "Sample filters",
47-
"description": "Returns the filters for the search function",
48-
"input_parameters": {
49-
"user_context": {
50-
"type": "slack#/types/user_context",
51-
"title": "User Context",
52-
"description": "The context of the user executing a search",
53-
"is_required": true,
54-
"name": "user_context"
55-
}
56-
},
57-
"output_parameters": {
58-
"filters": {
59-
"type": "slack#/types/search_filters",
60-
"title": "Search Filters",
61-
"description": "An array containing the available filters for the search",
62-
"is_required": true,
63-
"name": "filters"
64-
}
65-
}
66-
},
67-
"search": {
68-
"title": "Sample search",
69-
"description": "Returns the available search result given the query and filter",
70-
"input_parameters": {
71-
"query": {
72-
"type": "string",
73-
"title": "Query",
74-
"description": "The search query entered by the user",
75-
"is_required": true,
76-
"name": "query"
77-
},
78-
"filters": {
79-
"type": "object",
80-
"title": "Filters",
81-
"description": "The filters selected by the user",
82-
"is_required": true,
83-
"name": "filters"
84-
},
85-
"user_context": {
86-
"type": "slack#/types/user_context",
87-
"title": "User Context",
88-
"description": "The context of the user executing a search",
89-
"is_required": true,
90-
"name": "user_context"
91-
}
92-
},
93-
"output_parameters": {
94-
"search_results": {
95-
"type": "slack#/types/search_results",
96-
"title": "Search Result",
97-
"description": "An array containing the search results based on the inputs",
98-
"is_required": true,
99-
"name": "search_results"
100-
}
101-
}
102-
}
103-
}
2+
"display_information": {
3+
"name": "bolt-python-search"
4+
},
5+
"features": {
6+
"bot_user": {
7+
"display_name": "bolt-python-search",
8+
"always_online": true
9+
},
10+
"rich_previews": {
11+
"is_active": true,
12+
"entity_types": [
13+
"slack#/entities/item"
14+
]
15+
},
16+
"search": {
17+
"search_function_callback_id": "search",
18+
"search_filters_function_callback_id": "filters"
19+
}
20+
},
21+
"oauth_config": {
22+
"scopes": {
23+
"bot": [
24+
"chat:write"
25+
]
26+
}
27+
},
28+
"settings": {
29+
"event_subscriptions": {
30+
"bot_events": [
31+
"function_executed",
32+
"entity_details_requested"
33+
]
34+
},
35+
"interactivity": {
36+
"is_enabled": false
37+
},
38+
"org_deploy_enabled": true,
39+
"socket_mode_enabled": true,
40+
"token_rotation_enabled": false,
41+
"hermes_app_type": "remote",
42+
"function_runtime": "remote",
43+
"always_online": true
44+
},
45+
"functions": {
46+
"filters": {
47+
"title": "Sample filters",
48+
"description": "Returns the filters for the search function",
49+
"input_parameters": {
50+
"user_context": {
51+
"type": "slack#/types/user_context",
52+
"title": "User Context",
53+
"description": "The context of the user executing a search",
54+
"is_required": true,
55+
"name": "user_context"
56+
}
57+
},
58+
"output_parameters": {
59+
"filters": {
60+
"type": "slack#/types/search_filters",
61+
"title": "Search Filters",
62+
"description": "An array containing the available filters for the search",
63+
"is_required": true,
64+
"name": "filters"
65+
}
66+
}
67+
},
68+
"search": {
69+
"title": "Sample search",
70+
"description": "Returns the available search result given the query and filter",
71+
"input_parameters": {
72+
"query": {
73+
"type": "string",
74+
"title": "Query",
75+
"description": "The search query entered by the user",
76+
"is_required": true,
77+
"name": "query"
78+
},
79+
"filters": {
80+
"type": "object",
81+
"title": "Filters",
82+
"description": "The filters selected by the user",
83+
"is_required": true,
84+
"name": "filters"
85+
},
86+
"user_context": {
87+
"type": "slack#/types/user_context",
88+
"title": "User Context",
89+
"description": "The context of the user executing a search",
90+
"is_required": true,
91+
"name": "user_context"
92+
}
93+
},
94+
"output_parameters": {
95+
"search_results": {
96+
"type": "slack#/types/search_results",
97+
"title": "Search Result",
98+
"description": "An array containing the search results based on the inputs",
99+
"is_required": true,
100+
"name": "search_results"
101+
}
102+
}
103+
}
104+
}
104105
}

0 commit comments

Comments
 (0)