@budibase/server
Version:
Budibase Web Server
23 lines (18 loc) • 422 B
text/typescript
import { Tool } from "@budibase/types"
import { ToolSource } from "./ToolSource"
import budibase from "../budibase"
export class BudibaseToolSource extends ToolSource {
getType(): string {
return "BUDIBASE"
}
getName(): string {
return "Budibase"
}
getTools(): Tool[] {
return budibase
}
validate(): boolean {
// Budibase tools don't require external authentication
return true
}
}