fixed
This commit is contained in:
parent
e2cd7af032
commit
d804aa2edf
3 changed files with 3 additions and 5 deletions
|
@ -33,4 +33,3 @@ export const SkillsSchema = new Schema({
|
|||
export const skillsSchema = "skills";
|
||||
|
||||
export const SkillsDBModel = model<ISkillsModel>(skillsSchema, SkillsSchema);
|
||||
|
|
@ -164,8 +164,6 @@ export class Module implements IModule {
|
|||
export class BTAction implements IBTAction {
|
||||
@IsString()
|
||||
name: string;
|
||||
// @IsString()
|
||||
// format: string;
|
||||
@IsString()
|
||||
type: string;
|
||||
sid?: string;
|
||||
|
@ -175,9 +173,10 @@ export class BTAction implements IBTAction {
|
|||
result: string[];
|
||||
}
|
||||
export class Launch implements ILaunch {
|
||||
@IsNotEmpty()
|
||||
@IsString()
|
||||
executable: string;
|
||||
|
||||
@IsNotEmpty()
|
||||
@IsString()
|
||||
package: string;
|
||||
constructor(executable: string, plage: string) {
|
||||
|
|
|
@ -37,7 +37,7 @@ export const SkillsScreen = observer(() => {
|
|||
<CoreText text="Delete" type={CoreTextType.header} onClick={() => store.deleteSkill(el._id as string)} />
|
||||
<CoreText text="Copy" type={CoreTextType.header} onClick={() => store.copySkill(el)} />
|
||||
|
||||
<CoreText text={`skill server name:${el.SkillPackage.name}`} type={CoreTextType.header} />
|
||||
<CoreText text={`skill server name:${el.Module.name}`} type={CoreTextType.header} />
|
||||
<div>
|
||||
<CoreText text={"Topics"} type={CoreTextType.header} />
|
||||
{el.topicsOut.map((el) => (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue