Skip to content

Commit ba5ec2e

Browse files
change: Deprecate AutoML model support (#2013)
1 parent 8b8c874 commit ba5ec2e

5 files changed

+11
-1
lines changed

etc/firebase-admin.api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,8 @@ export function machineLearning(app?: App): machineLearning.MachineLearning;
320320
// @public (undocumented)
321321
export namespace machineLearning {
322322
// Warning: (ae-forgotten-export) The symbol "AutoMLTfliteModelOptions" needs to be exported by the entry point default-namespace.d.ts
323+
//
324+
// @deprecated
323325
export type AutoMLTfliteModelOptions = AutoMLTfliteModelOptions;
324326
// Warning: (ae-forgotten-export) The symbol "GcsTfliteModelOptions" needs to be exported by the entry point default-namespace.d.ts
325327
export type GcsTfliteModelOptions = GcsTfliteModelOptions;

etc/firebase-admin.machine-learning.api.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
import { Agent } from 'http';
1010

11-
// @public (undocumented)
11+
// @public @deprecated (undocumented)
1212
export interface AutoMLTfliteModelOptions extends ModelOptionsBase {
1313
// (undocumented)
1414
tfliteModel: {
@@ -86,6 +86,7 @@ export interface ModelOptionsBase {
8686

8787
// @public
8888
export interface TFLiteModel {
89+
// @deprecated
8990
readonly automlModel?: string;
9091
readonly gcsTfliteUri?: string;
9192
readonly sizeBytes: number;

src/machine-learning/machine-learning-api-client.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ export interface GcsTfliteModelOptions extends ModelOptionsBase {
3838
};
3939
}
4040

41+
/**
42+
* @deprecated AutoMLTfliteModelOptions will be removed in the next major version.
43+
*/
4144
export interface AutoMLTfliteModelOptions extends ModelOptionsBase {
4245
tfliteModel: {
4346
automlModel: string;

src/machine-learning/machine-learning-namespace.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,8 @@ export namespace machineLearning {
8282

8383
/**
8484
* Type alias to {@link firebase-admin.machine-learning#AutoMLTfliteModelOptions}.
85+
*
86+
* @deprecated AutoMLTfliteModelOptions will be removed in the next major version.
8587
*/
8688
export type AutoMLTfliteModelOptions = TAutoMLTfliteModelOptions;
8789

src/machine-learning/machine-learning.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ export interface TFLiteModel {
5353
/**
5454
* The AutoML model reference from which the model was originally provided
5555
* to Firebase.
56+
*
57+
* @deprecated AutoML model support will be removed in the next major version.
5658
*/
5759
readonly automlModel?: string;
5860
}

0 commit comments

Comments
 (0)