blob: fae4b2380571cdf152c0028b652104f242024045 [file] [log] [blame]
Ishan Katpallydad5f1a2022-03-23 21:06:36 -07001load("@npm//@bazel/typescript:index.bzl", "ts_library")
2
3ts_library(
4 name = "view",
5 srcs = [
6 "view.component.ts",
7 "view.module.ts",
8 ],
9 angular_assets = [
10 "view.component.css",
11 "view.ng.html",
12 "//scouting/www:common_css",
13 ],
14 compiler = "//tools:tsc_wrapped_with_angular",
15 target_compatible_with = ["@platforms//cpu:x86_64"],
16 use_angular_plugin = True,
17 visibility = ["//visibility:public"],
18 deps = [
19 "//scouting/webserver/requests/messages:error_response_ts_fbs",
20 "//scouting/webserver/requests/messages:request_all_matches_response_ts_fbs",
21 "//scouting/webserver/requests/messages:request_all_matches_ts_fbs",
22 "@com_github_google_flatbuffers//ts:flatbuffers_ts",
23 "@npm//@angular/common",
24 "@npm//@angular/core",
25 "@npm//@angular/forms",
26 ],
27)