mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 20:35:59 +00:00
markdown manifest
This commit is contained in:
@@ -46,6 +46,12 @@ const configLoader = () => ({
|
||||
reloadTrigger: 'config-changed',
|
||||
});
|
||||
|
||||
const markdownManifestLoader = () => ({
|
||||
url: 'files/markdown-manifest',
|
||||
params: {},
|
||||
reloadTrigger: 'files-changed-markdown',
|
||||
});
|
||||
|
||||
// const sqlObjectListLoader = ({ conid, database }) => ({
|
||||
// url: 'metadata/list-objects',
|
||||
// params: { conid, database },
|
||||
@@ -269,3 +275,10 @@ export function getFiles(args) {
|
||||
export function useFiles(args) {
|
||||
return useCore(filesLoader, args);
|
||||
}
|
||||
|
||||
export function getMarkdownManifest(args) {
|
||||
return getCore(markdownManifestLoader, args);
|
||||
}
|
||||
export function useMarkdownManifest(args) {
|
||||
return useCore(markdownManifestLoader, args);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user