blob: b9b6030649ad9f5b64e307e08a67d1914623a5d1 [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",
Filip Kujawab5a16e32022-12-14 13:21:56 -080020 "//scouting/webserver/requests/messages:request_all_driver_rankings_response_ts_fbs",
21 "//scouting/webserver/requests/messages:request_all_driver_rankings_ts_fbs",
22 "//scouting/webserver/requests/messages:request_all_notes_response_ts_fbs",
23 "//scouting/webserver/requests/messages:request_all_notes_ts_fbs",
24 "//scouting/webserver/requests/messages:request_data_scouting_response_ts_fbs",
25 "//scouting/webserver/requests/messages:request_data_scouting_ts_fbs",
26 "//scouting/www/rpc",
Ishan Katpallydad5f1a2022-03-23 21:06:36 -070027 "@com_github_google_flatbuffers//ts:flatbuffers_ts",
28 "@npm//@angular/common",
29 "@npm//@angular/core",
30 "@npm//@angular/forms",
31 ],
32)