Revize a6372cde
Přidáno uživatelem castic96 před téměř 5 roky(ů)
fe/fulltextsearch/src/app/model/DocumentRequest.ts | ||
---|---|---|
1 |
export class DocumentRequest { |
|
2 |
public xmlFile: string; |
|
3 |
public imgFile: string; |
|
4 |
} |
fe/fulltextsearch/src/app/model/DocumentResponse.ts | ||
---|---|---|
1 |
export class DocumentResponse { |
|
2 |
public id: number; |
|
3 |
documentName: string; |
|
4 |
} |
fe/fulltextsearch/src/app/model/SearchRequest.ts | ||
---|---|---|
1 |
export class SearchRequest { |
|
2 |
public expression: string; |
|
3 |
public timestamp: Date; |
|
4 |
} |
fe/fulltextsearch/src/app/model/SearchResponse.ts | ||
---|---|---|
1 |
import { TextRegion } from "./parts/TextRegion"; |
|
2 |
|
|
3 |
export class SearchResponse { |
|
4 |
public expression: string; |
|
5 |
public textRegions: TextRegion[]; |
|
6 |
} |
fe/fulltextsearch/src/app/model/parts/Coords.ts | ||
---|---|---|
1 |
import { Point } from "./Point"; |
|
2 |
|
|
3 |
export class Coords { |
|
4 |
public point1: Point; |
|
5 |
public point2: Point; |
|
6 |
public point3: Point; |
|
7 |
public point4: Point; |
|
8 |
} |
fe/fulltextsearch/src/app/model/parts/Point.ts | ||
---|---|---|
1 |
export class Point { |
|
2 |
public x: number; |
|
3 |
public y: number; |
|
4 |
} |
fe/fulltextsearch/src/app/model/parts/TextLine.ts | ||
---|---|---|
1 |
import { Coords } from "./Coords"; |
|
2 |
import { TextWord } from "./TextWord"; |
|
3 |
|
|
4 |
export class TextLine { |
|
5 |
public lineCoords: Coords[]; |
|
6 |
public lineText: string |
|
7 |
public textWords: TextWord[]; |
|
8 |
} |
fe/fulltextsearch/src/app/model/parts/TextRegion.ts | ||
---|---|---|
1 |
export class TextRegion { |
|
2 |
public imageCut: string; |
|
3 |
public regionCoords: Coords[]; |
|
4 |
public regionText: string; |
|
5 |
public textLines: TextLine[]; |
|
6 |
public documentName: string; |
|
7 |
} |
fe/fulltextsearch/src/app/model/parts/TextWord.ts | ||
---|---|---|
1 |
import { Coords } from "./Coords"; |
|
2 |
|
|
3 |
export class TextWord { |
|
4 |
public wordCoords: Coords[]; |
|
5 |
public wordText: string; |
|
6 |
} |
Také k dispozici: Unified diff
Re #7724: Implementace architektury FE
- přidání entit do package models