Skip to content

Commit 34baa7b

Browse files
committed
Update doc comments
1 parent 39ebdfb commit 34baa7b

File tree

1 file changed

+26
-15
lines changed

1 file changed

+26
-15
lines changed

common/api-review/vertexai.api.md

Lines changed: 26 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,15 @@ import { FirebaseApp } from '@firebase/app';
99
import { FirebaseAuthTokenData } from '@firebase/auth-interop-types';
1010
import { FirebaseError } from '@firebase/util';
1111

12-
// @public (undocumented)
12+
// @public
1313
export class ArraySchema extends Schema {
14-
// Warning: (ae-forgotten-export) The symbol "SchemaParams" needs to be exported by the entry point index.d.ts
1514
constructor(schemaParams: SchemaParams, items: TypedSchema);
1615
// (undocumented)
1716
items: TypedSchema;
18-
// Warning: (ae-forgotten-export) The symbol "_SchemaRequest" needs to be exported by the entry point index.d.ts
17+
// Warning: (ae-incompatible-release-tags) The symbol "toRequest" is marked as @public, but its signature references "_SchemaRequest" which is marked as @internal
1918
//
2019
// (undocumented)
21-
toJSON(): _SchemaRequest;
20+
toRequest(): _SchemaRequest;
2221
}
2322

2423
// @public
@@ -46,7 +45,7 @@ export enum BlockReason {
4645
SAFETY = "SAFETY"
4746
}
4847

49-
// @public (undocumented)
48+
// @public
5049
export class BooleanSchema extends Schema {
5150
constructor(schemaParams?: SchemaParams);
5251
}
@@ -459,7 +458,7 @@ export interface InlineDataPart {
459458
videoMetadata?: VideoMetadata;
460459
}
461460

462-
// @public (undocumented)
461+
// @public
463462
export class IntegerSchema extends Schema {
464463
constructor(schemaParams?: SchemaParams);
465464
}
@@ -481,22 +480,34 @@ export interface ModelParams extends BaseParams {
481480
tools?: Tool[];
482481
}
483482

484-
// @public (undocumented)
483+
// @public
485484
export class NumberSchema extends Schema {
486485
constructor(schemaParams?: SchemaParams);
487486
}
488487

489-
// @public (undocumented)
488+
// @public
490489
export class ObjectSchema extends Schema {
491490
constructor(schemaParams: SchemaParams, properties: {
492491
[k: string]: TypedSchema;
493-
});
492+
}, optionalProperties?: string[]);
493+
// (undocumented)
494+
optionalProperties: string[];
494495
// (undocumented)
495496
properties: {
496497
[k: string]: TypedSchema;
497498
};
499+
// Warning: (ae-incompatible-release-tags) The symbol "toRequest" is marked as @public, but its signature references "_SchemaRequest" which is marked as @internal
500+
//
498501
// (undocumented)
499-
toJSON(): _SchemaRequest;
502+
toRequest(): _SchemaRequest;
503+
}
504+
505+
// @public
506+
export interface ObjectSchemaInterface extends SchemaInterface {
507+
// (undocumented)
508+
optionalProperties?: string[];
509+
// (undocumented)
510+
type: SchemaType.OBJECT;
500511
}
501512

502513
// @public
@@ -684,13 +695,15 @@ export interface StartChatParams extends BaseParams {
684695
tools?: Tool[];
685696
}
686697

687-
// @public (undocumented)
698+
// @public
688699
export class StringSchema extends Schema {
689700
constructor(schemaParams?: SchemaParams, enumValues?: string[]);
690701
// (undocumented)
691702
enum?: string[];
703+
// Warning: (ae-incompatible-release-tags) The symbol "toRequest" is marked as @public, but its signature references "_SchemaRequest" which is marked as @internal
704+
//
692705
// (undocumented)
693-
toJSON(): _SchemaRequest;
706+
toRequest(): _SchemaRequest;
694707
}
695708

696709
// @public
@@ -723,7 +736,7 @@ export interface ToolConfig {
723736
functionCallingConfig?: FunctionCallingConfig;
724737
}
725738

726-
// @public (undocumented)
739+
// @public
727740
export type TypedSchema = IntegerSchema | NumberSchema | StringSchema | BooleanSchema | ObjectSchema | ArraySchema;
728741

729742
// @public
@@ -750,8 +763,6 @@ export interface VertexAI {
750763
export class VertexAIError extends FirebaseError {
751764
constructor(code: VertexAIErrorCode, message: string, customErrorData?: CustomErrorData | undefined);
752765
// (undocumented)
753-
readonly code: VertexAIErrorCode;
754-
// (undocumented)
755766
readonly customErrorData?: CustomErrorData | undefined;
756767
}
757768

0 commit comments

Comments
 (0)