-
Notifications
You must be signed in to change notification settings - Fork 87
/
plugin.py
39 lines (35 loc) · 1.08 KB
/
plugin.py
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
"""
Plugin definition for opal.core.search
"""
from opal.core.search import api, urls
from opal.core import plugins
class SearchPlugin(plugins.OpalPlugin):
"""
The plugin entrypoint for Opal's core search functionality
"""
urls = urls.urlpatterns
stylesheets = ["css/search.css"]
javascripts = {
'opal.services': [
'js/search/services/filter.js',
'js/search/services/extract_schema.js',
'js/search/services/extract_schema_loader.js',
'js/search/services/filters_loader.js',
'js/search/services/filter_resource.js',
"js/search/services/paginator.js",
"js/search/services/patient_summary.js",
],
'opal.controllers': [
'js/search/app.js',
'js/search/controllers/search.js',
'js/search/controllers/extract.js',
"js/search/controllers/save_filter.js",
]
}
apis = [
('extract-schema', api.ExtractSchemaViewSet)
]
opal_angular_exclude_tracking_prefix = [
"/search",
"/extract",
]