feat: hooked the APIs of the app into the pyoide core.
This commit is contained in:
@@ -14,6 +14,7 @@ export type EditorRoute =
|
||||
| 'metadata-diff'
|
||||
| 'git-diff'
|
||||
| 'documentation'
|
||||
| 'api-documentation'
|
||||
| 'site-validation'
|
||||
| 'scripts';
|
||||
|
||||
@@ -29,6 +30,7 @@ export const EDITOR_TAB_ROUTE_REGISTRY: Record<TabType, Exclude<EditorRoute, 'da
|
||||
'metadata-diff': 'metadata-diff',
|
||||
'git-diff': 'git-diff',
|
||||
documentation: 'documentation',
|
||||
'api-documentation': 'api-documentation',
|
||||
'site-validation': 'site-validation',
|
||||
scripts: 'scripts',
|
||||
};
|
||||
|
||||
@@ -7,6 +7,7 @@ export type SingletonToolTabKey =
|
||||
| 'scripts'
|
||||
| 'menu-editor'
|
||||
| 'documentation'
|
||||
| 'api-documentation'
|
||||
| 'metadata-diff'
|
||||
| 'site-validation';
|
||||
|
||||
@@ -28,6 +29,7 @@ const SINGLETON_TOOL_TAB_REGISTRY: Record<SingletonToolTabKey, CanonicalTabSpec>
|
||||
scripts: { type: 'scripts', id: 'scripts', isTransient: false },
|
||||
'menu-editor': { type: 'menu-editor', id: 'menu-editor', isTransient: false },
|
||||
documentation: { type: 'documentation', id: 'documentation', isTransient: false },
|
||||
'api-documentation': { type: 'api-documentation', id: 'api-documentation', isTransient: false },
|
||||
'metadata-diff': { type: 'metadata-diff', id: 'metadata-diff', isTransient: false },
|
||||
'site-validation': { type: 'site-validation', id: 'site-validation', isTransient: false },
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user