This commit is contained in:
IDONTSUDO 2024-09-23 14:56:07 +03:00
parent e2cd7af032
commit d804aa2edf
3 changed files with 3 additions and 5 deletions

View file

@ -33,4 +33,3 @@ export const SkillsSchema = new Schema({
export const skillsSchema = "skills";
export const SkillsDBModel = model<ISkillsModel>(skillsSchema, SkillsSchema);

View file

@ -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) {

View file

@ -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) => (