accounts/dashboard-fresh/cms/contentSources.ts
Haitao Pan 9c877ceb3c feat(dashboard-fresh): migrate and integrate dashboard source
- Add fresh app structure (auth, tenant, mail, insight, docs, panel)
- Include CMS content, API routes, scripts, and config
- Migrate UI components, themes, and extensions to fresh runtime
2025-11-04 18:06:21 +08:00

11 lines
270 B
TypeScript

import { cmsConfig } from './config'
export function listContentSourcesMetadata() {
return Object.entries(cmsConfig.content.sources).map(([namespace, source]) => ({
namespace,
type: source.type,
repository: source.repository,
ref: source.ref,
}))
}