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 skillsSchema = "skills";
|
||||||
|
|
||||||
export const SkillsDBModel = model<ISkillsModel>(skillsSchema, SkillsSchema);
|
export const SkillsDBModel = model<ISkillsModel>(skillsSchema, SkillsSchema);
|
||||||
|
|
|
@ -164,8 +164,6 @@ export class Module implements IModule {
|
||||||
export class BTAction implements IBTAction {
|
export class BTAction implements IBTAction {
|
||||||
@IsString()
|
@IsString()
|
||||||
name: string;
|
name: string;
|
||||||
// @IsString()
|
|
||||||
// format: string;
|
|
||||||
@IsString()
|
@IsString()
|
||||||
type: string;
|
type: string;
|
||||||
sid?: string;
|
sid?: string;
|
||||||
|
@ -175,9 +173,10 @@ export class BTAction implements IBTAction {
|
||||||
result: string[];
|
result: string[];
|
||||||
}
|
}
|
||||||
export class Launch implements ILaunch {
|
export class Launch implements ILaunch {
|
||||||
|
@IsNotEmpty()
|
||||||
@IsString()
|
@IsString()
|
||||||
executable: string;
|
executable: string;
|
||||||
|
@IsNotEmpty()
|
||||||
@IsString()
|
@IsString()
|
||||||
package: string;
|
package: string;
|
||||||
constructor(executable: string, plage: 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="Delete" type={CoreTextType.header} onClick={() => store.deleteSkill(el._id as string)} />
|
||||||
<CoreText text="Copy" type={CoreTextType.header} onClick={() => store.copySkill(el)} />
|
<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>
|
<div>
|
||||||
<CoreText text={"Topics"} type={CoreTextType.header} />
|
<CoreText text={"Topics"} type={CoreTextType.header} />
|
||||||
{el.topicsOut.map((el) => (
|
{el.topicsOut.map((el) => (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue