MCPcopy
hub / github.com/diffgram/diffgram / TestInstance

Class TestInstance

frontend/tests/unit/helpers/TestClasses/TestInstances.ts:3–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { InstanceInterface } from "../../../../src/helpers/interfaces/InstanceData";
2
3export default class TestInstance implements InstanceInterface {
4 public id: number;
5 public creation_ref_id: string;
6 public type: string;
7 public selected: boolean;
8 public label_file: any;
9 public label_file_id: number;
10 public soft_delete: boolean;
11 public text_tokenizer: string;
12 public attribute_groups: any;
13
14 constructor(id: number, type: string, soft_delete: boolean = false) {
15 this.id = id;
16 this.type = type;
17 this.soft_delete = soft_delete;
18 }
19
20 create_instance: () => {};
21 create_frontend_instance: () => {};
22 get_instance_data: () => {};
23}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected