Alex Perry | bb90105 | 2022-03-23 19:46:15 -0700 | [diff] [blame^] | 1 | load("@npm//@bazel/typescript:index.bzl", "ts_library") |
| 2 | |
| 3 | ts_library( |
| 4 | name = "notes", |
| 5 | srcs = [ |
| 6 | "notes.component.ts", |
| 7 | "notes.module.ts", |
| 8 | ], |
| 9 | angular_assets = [ |
| 10 | "notes.component.css", |
| 11 | "notes.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_notes_for_team_response_ts_fbs", |
| 21 | "//scouting/webserver/requests/messages:request_notes_for_team_ts_fbs", |
| 22 | "//scouting/webserver/requests/messages:submit_notes_response_ts_fbs", |
| 23 | "//scouting/webserver/requests/messages:submit_notes_ts_fbs", |
| 24 | "@com_github_google_flatbuffers//ts:flatbuffers_ts", |
| 25 | "@npm//@angular/common", |
| 26 | "@npm//@angular/core", |
| 27 | "@npm//@angular/forms", |
| 28 | ], |
| 29 | ) |