Change visibility for MP Tasks Web to public

PiperOrigin-RevId: 493343996
This commit is contained in:
Sebastian Schmidt 2022-12-06 10:22:31 -08:00 committed by Copybara-Service
parent fb0b96115f
commit ab0b0ab558
13 changed files with 22 additions and 0 deletions

View File

@ -7,6 +7,7 @@ package(default_visibility = ["//mediapipe/tasks:internal"])
mediapipe_ts_library( mediapipe_ts_library(
name = "audio_lib", name = "audio_lib",
srcs = ["index.ts"], srcs = ["index.ts"],
visibility = ["//visibility:public"],
deps = [ deps = [
"//mediapipe/tasks/web/audio/audio_classifier", "//mediapipe/tasks/web/audio/audio_classifier",
"//mediapipe/tasks/web/audio/audio_embedder", "//mediapipe/tasks/web/audio/audio_embedder",

View File

@ -11,6 +11,7 @@ licenses(["notice"])
mediapipe_ts_library( mediapipe_ts_library(
name = "audio_classifier", name = "audio_classifier",
srcs = ["audio_classifier.ts"], srcs = ["audio_classifier.ts"],
visibility = ["//visibility:public"],
deps = [ deps = [
":audio_classifier_types", ":audio_classifier_types",
"//mediapipe/framework:calculator_jspb_proto", "//mediapipe/framework:calculator_jspb_proto",
@ -35,6 +36,7 @@ mediapipe_ts_declaration(
"audio_classifier_options.d.ts", "audio_classifier_options.d.ts",
"audio_classifier_result.d.ts", "audio_classifier_result.d.ts",
], ],
visibility = ["//visibility:public"],
deps = [ deps = [
"//mediapipe/tasks/web/components/containers:category", "//mediapipe/tasks/web/components/containers:category",
"//mediapipe/tasks/web/components/containers:classification_result", "//mediapipe/tasks/web/components/containers:classification_result",

View File

@ -11,6 +11,7 @@ licenses(["notice"])
mediapipe_ts_library( mediapipe_ts_library(
name = "audio_embedder", name = "audio_embedder",
srcs = ["audio_embedder.ts"], srcs = ["audio_embedder.ts"],
visibility = ["//visibility:public"],
deps = [ deps = [
":audio_embedder_types", ":audio_embedder_types",
"//mediapipe/framework:calculator_jspb_proto", "//mediapipe/framework:calculator_jspb_proto",
@ -35,6 +36,7 @@ mediapipe_ts_declaration(
"audio_embedder_options.d.ts", "audio_embedder_options.d.ts",
"audio_embedder_result.d.ts", "audio_embedder_result.d.ts",
], ],
visibility = ["//visibility:public"],
deps = [ deps = [
"//mediapipe/tasks/web/components/containers:embedding_result", "//mediapipe/tasks/web/components/containers:embedding_result",
"//mediapipe/tasks/web/core", "//mediapipe/tasks/web/core",

View File

@ -28,6 +28,7 @@ mediapipe_ts_library(
mediapipe_ts_library( mediapipe_ts_library(
name = "fileset_resolver", name = "fileset_resolver",
srcs = ["fileset_resolver.ts"], srcs = ["fileset_resolver.ts"],
visibility = ["//visibility:public"],
deps = [":core"], deps = [":core"],
) )

View File

@ -7,6 +7,7 @@ package(default_visibility = ["//mediapipe/tasks:internal"])
mediapipe_ts_library( mediapipe_ts_library(
name = "text_lib", name = "text_lib",
srcs = ["index.ts"], srcs = ["index.ts"],
visibility = ["//visibility:public"],
deps = [ deps = [
"//mediapipe/tasks/web/core:fileset_resolver", "//mediapipe/tasks/web/core:fileset_resolver",
"//mediapipe/tasks/web/text/text_classifier", "//mediapipe/tasks/web/text/text_classifier",

View File

@ -12,6 +12,7 @@ licenses(["notice"])
mediapipe_ts_library( mediapipe_ts_library(
name = "text_classifier", name = "text_classifier",
srcs = ["text_classifier.ts"], srcs = ["text_classifier.ts"],
visibility = ["//visibility:public"],
deps = [ deps = [
":text_classifier_types", ":text_classifier_types",
"//mediapipe/framework:calculator_jspb_proto", "//mediapipe/framework:calculator_jspb_proto",
@ -36,6 +37,7 @@ mediapipe_ts_declaration(
"text_classifier_options.d.ts", "text_classifier_options.d.ts",
"text_classifier_result.d.ts", "text_classifier_result.d.ts",
], ],
visibility = ["//visibility:public"],
deps = [ deps = [
"//mediapipe/tasks/web/components/containers:category", "//mediapipe/tasks/web/components/containers:category",
"//mediapipe/tasks/web/components/containers:classification_result", "//mediapipe/tasks/web/components/containers:classification_result",

View File

@ -12,6 +12,7 @@ licenses(["notice"])
mediapipe_ts_library( mediapipe_ts_library(
name = "text_embedder", name = "text_embedder",
srcs = ["text_embedder.ts"], srcs = ["text_embedder.ts"],
visibility = ["//visibility:public"],
deps = [ deps = [
":text_embedder_types", ":text_embedder_types",
"//mediapipe/framework:calculator_jspb_proto", "//mediapipe/framework:calculator_jspb_proto",
@ -36,6 +37,7 @@ mediapipe_ts_declaration(
"text_embedder_options.d.ts", "text_embedder_options.d.ts",
"text_embedder_result.d.ts", "text_embedder_result.d.ts",
], ],
visibility = ["//visibility:public"],
deps = [ deps = [
"//mediapipe/tasks/web/components/containers:embedding_result", "//mediapipe/tasks/web/components/containers:embedding_result",
"//mediapipe/tasks/web/core", "//mediapipe/tasks/web/core",

View File

@ -7,6 +7,7 @@ package(default_visibility = ["//mediapipe/tasks:internal"])
mediapipe_ts_library( mediapipe_ts_library(
name = "vision_lib", name = "vision_lib",
srcs = ["index.ts"], srcs = ["index.ts"],
visibility = ["//visibility:public"],
deps = [ deps = [
"//mediapipe/tasks/web/core:fileset_resolver", "//mediapipe/tasks/web/core:fileset_resolver",
"//mediapipe/tasks/web/vision/gesture_recognizer", "//mediapipe/tasks/web/vision/gesture_recognizer",

View File

@ -12,6 +12,7 @@ licenses(["notice"])
mediapipe_ts_library( mediapipe_ts_library(
name = "gesture_recognizer", name = "gesture_recognizer",
srcs = ["gesture_recognizer.ts"], srcs = ["gesture_recognizer.ts"],
visibility = ["//visibility:public"],
deps = [ deps = [
":gesture_recognizer_types", ":gesture_recognizer_types",
"//mediapipe/framework:calculator_jspb_proto", "//mediapipe/framework:calculator_jspb_proto",
@ -42,6 +43,7 @@ mediapipe_ts_declaration(
"gesture_recognizer_options.d.ts", "gesture_recognizer_options.d.ts",
"gesture_recognizer_result.d.ts", "gesture_recognizer_result.d.ts",
], ],
visibility = ["//visibility:public"],
deps = [ deps = [
"//mediapipe/tasks/web/components/containers:category", "//mediapipe/tasks/web/components/containers:category",
"//mediapipe/tasks/web/components/containers:landmark", "//mediapipe/tasks/web/components/containers:landmark",

View File

@ -12,6 +12,7 @@ licenses(["notice"])
mediapipe_ts_library( mediapipe_ts_library(
name = "hand_landmarker", name = "hand_landmarker",
srcs = ["hand_landmarker.ts"], srcs = ["hand_landmarker.ts"],
visibility = ["//visibility:public"],
deps = [ deps = [
":hand_landmarker_types", ":hand_landmarker_types",
"//mediapipe/framework:calculator_jspb_proto", "//mediapipe/framework:calculator_jspb_proto",
@ -38,6 +39,7 @@ mediapipe_ts_declaration(
"hand_landmarker_options.d.ts", "hand_landmarker_options.d.ts",
"hand_landmarker_result.d.ts", "hand_landmarker_result.d.ts",
], ],
visibility = ["//visibility:public"],
deps = [ deps = [
"//mediapipe/tasks/web/components/containers:category", "//mediapipe/tasks/web/components/containers:category",
"//mediapipe/tasks/web/components/containers:landmark", "//mediapipe/tasks/web/components/containers:landmark",

View File

@ -11,6 +11,7 @@ licenses(["notice"])
mediapipe_ts_library( mediapipe_ts_library(
name = "image_classifier", name = "image_classifier",
srcs = ["image_classifier.ts"], srcs = ["image_classifier.ts"],
visibility = ["//visibility:public"],
deps = [ deps = [
":image_classifier_types", ":image_classifier_types",
"//mediapipe/framework:calculator_jspb_proto", "//mediapipe/framework:calculator_jspb_proto",
@ -35,6 +36,7 @@ mediapipe_ts_declaration(
"image_classifier_options.d.ts", "image_classifier_options.d.ts",
"image_classifier_result.d.ts", "image_classifier_result.d.ts",
], ],
visibility = ["//visibility:public"],
deps = [ deps = [
"//mediapipe/tasks/web/components/containers:category", "//mediapipe/tasks/web/components/containers:category",
"//mediapipe/tasks/web/components/containers:classification_result", "//mediapipe/tasks/web/components/containers:classification_result",

View File

@ -11,6 +11,7 @@ licenses(["notice"])
mediapipe_ts_library( mediapipe_ts_library(
name = "image_embedder", name = "image_embedder",
srcs = ["image_embedder.ts"], srcs = ["image_embedder.ts"],
visibility = ["//visibility:public"],
deps = [ deps = [
":image_embedder_types", ":image_embedder_types",
"//mediapipe/framework:calculator_jspb_proto", "//mediapipe/framework:calculator_jspb_proto",
@ -36,6 +37,7 @@ mediapipe_ts_declaration(
"image_embedder_options.d.ts", "image_embedder_options.d.ts",
"image_embedder_result.d.ts", "image_embedder_result.d.ts",
], ],
visibility = ["//visibility:public"],
deps = [ deps = [
"//mediapipe/tasks/web/components/containers:embedding_result", "//mediapipe/tasks/web/components/containers:embedding_result",
"//mediapipe/tasks/web/core", "//mediapipe/tasks/web/core",

View File

@ -12,6 +12,7 @@ licenses(["notice"])
mediapipe_ts_library( mediapipe_ts_library(
name = "object_detector", name = "object_detector",
srcs = ["object_detector.ts"], srcs = ["object_detector.ts"],
visibility = ["//visibility:public"],
deps = [ deps = [
":object_detector_types", ":object_detector_types",
"//mediapipe/framework:calculator_jspb_proto", "//mediapipe/framework:calculator_jspb_proto",
@ -32,6 +33,7 @@ mediapipe_ts_declaration(
"object_detector_options.d.ts", "object_detector_options.d.ts",
"object_detector_result.d.ts", "object_detector_result.d.ts",
], ],
visibility = ["//visibility:public"],
deps = [ deps = [
"//mediapipe/tasks/web/components/containers:category", "//mediapipe/tasks/web/components/containers:category",
"//mediapipe/tasks/web/core", "//mediapipe/tasks/web/core",