534bb94eea
Test Migrations / Migrations (SQLite) (push) Has been cancelled
Build Dev Image / build-dev-image (push) Has been cancelled
Check i18n Keys / Check i18n Key Consistency (push) Has been cancelled
Lint / Ruff Lint & Format (push) Has been cancelled
Lint / Frontend Lint (push) Has been cancelled
Test Migrations / Migrations (PostgreSQL) (push) Has been cancelled
36 lines
828 B
TypeScript
36 lines
828 B
TypeScript
export interface IBotCardVO {
|
|
id: string;
|
|
iconURL: string;
|
|
name: string;
|
|
description: string;
|
|
adapter: string;
|
|
adapterLabel: string;
|
|
adapterConfig: object;
|
|
usePipelineName: string;
|
|
enable: boolean;
|
|
}
|
|
|
|
export class BotCardVO implements IBotCardVO {
|
|
id: string;
|
|
iconURL: string;
|
|
name: string;
|
|
description: string;
|
|
adapter: string;
|
|
adapterLabel: string;
|
|
adapterConfig: object;
|
|
usePipelineName: string;
|
|
enable: boolean;
|
|
|
|
constructor(props: IBotCardVO) {
|
|
this.id = props.id;
|
|
this.iconURL = props.iconURL;
|
|
this.name = props.name;
|
|
this.description = props.description;
|
|
this.adapter = props.adapter;
|
|
this.adapterConfig = props.adapterConfig;
|
|
this.adapterLabel = props.adapterLabel;
|
|
this.usePipelineName = props.usePipelineName;
|
|
this.enable = props.enable;
|
|
}
|
|
}
|