ShtukbaseStandard
包文件→ .shtukbase/packages/automations/bin/place.ts

bin/place.ts

7 行, 342 B.

文件按包中的原样显示:代码及其注释不做翻译。

  1. // On install and update: puts the kinds of record of the package automations into the placement map.
  2. import { place } from '../../agents/lib/place.ts';
  3. place([
  4. { itemType: 'Action', path: '/actions', title: 'Actions', pkg: 'automations' },
  5. { itemType: 'Automation', path: '/automations', title: 'Automations', pkg: 'automations' },
  6. ]);