import { CategoryData , CategoryOrScriptData , DocumentationUrlsData } from 'js-yaml-loader!@/*' ; import { ScriptDataStub } from './ScriptDataStub' ; export class CategoryDataStub implements CategoryData { public children : readonly CategoryOrScriptData [ ] = [ ScriptDataStub . createWithCode ( ) ] ; public category = 'category name' ; public docs ? : DocumentationUrlsData ; public withChildren ( children ) { this . children = children ; return this ; } public withName ( name ) { this . category = name ; return this ; } public withDocs ( docs ) { this . docs = docs ; return this ; } }