Skip to content

Commit

Permalink
change: Deprecate AutoML model support
Browse files Browse the repository at this point in the history
  • Loading branch information
lahirumaramba committed Dec 13, 2022
1 parent f079949 commit cba4fa4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions etc/firebase-admin.api.md
Expand Up @@ -320,6 +320,8 @@ export function machineLearning(app?: App): machineLearning.MachineLearning;
// @public (undocumented)
export namespace machineLearning {
// Warning: (ae-forgotten-export) The symbol "AutoMLTfliteModelOptions" needs to be exported by the entry point default-namespace.d.ts
//
// @deprecated
export type AutoMLTfliteModelOptions = AutoMLTfliteModelOptions;
// Warning: (ae-forgotten-export) The symbol "GcsTfliteModelOptions" needs to be exported by the entry point default-namespace.d.ts
export type GcsTfliteModelOptions = GcsTfliteModelOptions;
Expand Down
1 change: 1 addition & 0 deletions etc/firebase-admin.machine-learning.api.md
Expand Up @@ -86,6 +86,7 @@ export interface ModelOptionsBase {

// @public
export interface TFLiteModel {
// @deprecated
readonly automlModel?: string;
readonly gcsTfliteUri?: string;
readonly sizeBytes: number;
Expand Down
2 changes: 2 additions & 0 deletions src/machine-learning/machine-learning-namespace.ts
Expand Up @@ -82,6 +82,8 @@ export namespace machineLearning {

/**
* Type alias to {@link firebase-admin.machine-learning#AutoMLTfliteModelOptions}.
*
* @deprecated AutoMLTfliteModelOptions will be removed in the next major version.
*/
export type AutoMLTfliteModelOptions = TAutoMLTfliteModelOptions;

Expand Down
2 changes: 2 additions & 0 deletions src/machine-learning/machine-learning.ts
Expand Up @@ -53,6 +53,8 @@ export interface TFLiteModel {
/**
* The AutoML model reference from which the model was originally provided
* to Firebase.
*
* @deprecated AutoML model support will be removed in the next major version.
*/
readonly automlModel?: string;
}
Expand Down

0 comments on commit cba4fa4

Please sign in to comment.