Added some more commands and mades some quality of life improvements
All checks were successful
Build / build (push) Successful in 4m27s
All checks were successful
Build / build (push) Successful in 4m27s
This commit is contained in:
parent
3a23118036
commit
3cb5795ca5
17 changed files with 432 additions and 75 deletions
|
|
@ -1,9 +1,24 @@
|
|||
export namespace main {
|
||||
|
||||
export class ListProcessorsResponse {
|
||||
name: string;
|
||||
label: string;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new ListProcessorsResponse(source);
|
||||
}
|
||||
|
||||
constructor(source: any = {}) {
|
||||
if ('string' === typeof source) source = JSON.parse(source);
|
||||
this.name = source["name"];
|
||||
this.label = source["label"];
|
||||
}
|
||||
}
|
||||
export class TextSpan {
|
||||
text: string;
|
||||
pos: number;
|
||||
len: number;
|
||||
append: boolean;
|
||||
|
||||
static createFrom(source: any = {}) {
|
||||
return new TextSpan(source);
|
||||
|
|
@ -14,6 +29,7 @@ export namespace main {
|
|||
this.text = source["text"];
|
||||
this.pos = source["pos"];
|
||||
this.len = source["len"];
|
||||
this.append = source["append"];
|
||||
}
|
||||
}
|
||||
export class ProcessTextRequest {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue