diff options
Diffstat (limited to 'module/api')
-rw-r--r-- | module/api/ConfigApi.py | 2 | ||||
-rw-r--r-- | module/api/FileApi.py | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/module/api/ConfigApi.py b/module/api/ConfigApi.py index ffcdbabec..451e4f832 100644 --- a/module/api/ConfigApi.py +++ b/module/api/ConfigApi.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -from module.Api import Api, UserContext, RequirePerm, Permission, ConfigHolder, ConfigItem, PluginInfo +from module.Api import Api, UserContext, RequirePerm, Permission, ConfigHolder, ConfigItem, ConfigInfo from module.utils import to_string from ApiComponent import ApiComponent diff --git a/module/api/FileApi.py b/module/api/FileApi.py index f470cfa3e..fa9d728cb 100644 --- a/module/api/FileApi.py +++ b/module/api/FileApi.py @@ -77,6 +77,12 @@ class FileApi(ApiComponent): pass @RequirePerm(Permission.All) + def getAutocompletion(self, pattern): + # TODO + + return ["static", "autocompletion", "demo"] + + @RequirePerm(Permission.All) def findPackages(self, tags): pass |