Просмотр исходного кода

chore(cordis): regenerate the client slot catalog

The new Settings section registers one more settings.section contribution,
which the generated client slot catalog lists.
Tianyi Cui 1 месяц назад
Родитель
Сommit
e1ee806226

+ 1 - 0
packages/extensions/cordis-client-runner/src/client/slot-catalog.ts

@@ -1995,6 +1995,7 @@ export const CLIENT_SLOT_API: readonly ClientSlotEntry[] = [
       'client-ui-settings-general GeneralSection id \'general\'',
       'client-ui-settings-models ModelsSection id \'models\'',
       'client-ui-settings-plugins PluginsSettingsSection id \'plugins\'',
+      'client-ui-settings-unarchive-sessions ArchivedSessionsSection id \'archived-sessions\'',
     ],
     replaceRisk: 'none',
     example: 'return {\n  inject: [\'slots\'],\n  apply(ctx) {\n    ctx.slots.inject(\'settings.section\', () => ctx.slots.register(\n      { name: \'settings.section\', id: \'my-entry\', order: 100, label: \'My entry\' },\n      () => React.createElement(\'div\', null, \'hello\'),\n    ))\n  },\n}',