包文件→ .shtukbase/packages/content/bin/place.ts
bin/place.ts
9 行, 501 B.
文件按包中的原样显示:代码及其注释不做翻译。
- // On install and update: puts the kinds of records of the package content into the placement map.
- import { place } from '../../agents/lib/place.ts';
- place([
- { itemType: 'Topic', path: '/content/topics', title: 'Topics', pkg: 'content' },
- { itemType: 'Platform', path: '/content/platforms', title: 'Platforms', pkg: 'content' },
- { itemType: 'Idea', path: '/content/ideas', title: 'Ideas', pkg: 'content' },
- { itemType: 'Draft', path: '/content/drafts', title: 'Drafts', pkg: 'content' },
- ]);