diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-05-23 09:30:18 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-05-23 09:38:38 +0200 |
commit | 471bc22f19767c1cb1e7ba7ad0ddf0ff5f0e88f4 (patch) | |
tree | 606ccf517d76baf08539be7501d07dfd065884a9 /client/angular/app/search.ts | |
parent | 322940742b4dca168de6dfed0d1ebf5926dab528 (diff) | |
download | PeerTube-471bc22f19767c1cb1e7ba7ad0ddf0ff5f0e88f4.tar.gz PeerTube-471bc22f19767c1cb1e7ba7ad0ddf0ff5f0e88f4.tar.zst PeerTube-471bc22f19767c1cb1e7ba7ad0ddf0ff5f0e88f4.zip |
Add search with field choose support in client
Diffstat (limited to 'client/angular/app/search.ts')
-rw-r--r-- | client/angular/app/search.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/client/angular/app/search.ts b/client/angular/app/search.ts new file mode 100644 index 000000000..c4e771b47 --- /dev/null +++ b/client/angular/app/search.ts | |||
@@ -0,0 +1,6 @@ | |||
1 | export type SearchField = "name" | "author" | "podUrl" | "magnetUri"; | ||
2 | |||
3 | export interface Search { | ||
4 | field: SearchField; | ||
5 | value: string; | ||
6 | } | ||