Support Skill in manifest (#18092)
# Introduction Support skill in manifest, pre-requisite for the twenty standard app migration
This commit is contained in:
@@ -4,6 +4,7 @@ export enum SyncableEntity {
|
||||
LogicFunction = 'logicFunction',
|
||||
FrontComponent = 'frontComponent',
|
||||
Role = 'role',
|
||||
Skill = 'skill',
|
||||
View = 'view',
|
||||
NavigationMenuItem = 'navigationMenuItem',
|
||||
PageLayout = 'pageLayout',
|
||||
|
||||
@@ -50,6 +50,7 @@ export type {
|
||||
FieldPermissionManifest,
|
||||
RoleManifest,
|
||||
} from './roleManifestType';
|
||||
export type { SkillManifest } from './skillManifestType';
|
||||
export type { SyncableEntityOptions } from './syncableEntityOptionsType';
|
||||
export type {
|
||||
ViewManifestFilterValue,
|
||||
|
||||
@@ -7,6 +7,7 @@ import { type NavigationMenuItemManifest } from './navigationMenuItemManifestTyp
|
||||
import { type ObjectManifest } from './objectManifestType';
|
||||
import { type PageLayoutManifest } from './pageLayoutManifestType';
|
||||
import { type RoleManifest } from './roleManifestType';
|
||||
import { type SkillManifest } from './skillManifestType';
|
||||
import { type ViewManifest } from './viewManifestType';
|
||||
|
||||
export type Manifest = {
|
||||
@@ -16,6 +17,7 @@ export type Manifest = {
|
||||
logicFunctions: LogicFunctionManifest[];
|
||||
frontComponents: FrontComponentManifest[];
|
||||
roles: RoleManifest[];
|
||||
skills: SkillManifest[];
|
||||
publicAssets: AssetManifest[];
|
||||
views: ViewManifest[];
|
||||
navigationMenuItems: NavigationMenuItemManifest[];
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
import { type SyncableEntityOptions } from '@/application/syncableEntityOptionsType';
|
||||
|
||||
export type SkillManifest = SyncableEntityOptions & {
|
||||
name: string;
|
||||
label: string;
|
||||
icon?: string;
|
||||
description?: string;
|
||||
content: string;
|
||||
};
|
||||
Reference in New Issue
Block a user