@firebase/ai 1.4.0-canary.ab5c2a06e → 1.4.0-canary.ae976d029
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai-public.d.ts +12 -4
- package/dist/ai.d.ts +12 -4
- package/dist/esm/index.esm2017.js +1 -1
- package/dist/esm/index.esm2017.js.map +1 -1
- package/dist/esm/src/types/requests.d.ts +3 -3
- package/dist/esm/src/types/schema.d.ts +11 -3
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.node.cjs.js +1 -1
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +1 -1
- package/dist/index.node.mjs.map +1 -1
- package/dist/src/types/requests.d.ts +3 -3
- package/dist/src/types/schema.d.ts +11 -3
- package/package.json +8 -8
package/dist/ai-public.d.ts
CHANGED
|
@@ -568,7 +568,7 @@ export declare interface FunctionDeclaration {
|
|
|
568
568
|
* format. Reflects the Open API 3.03 Parameter Object. Parameter names are
|
|
569
569
|
* case-sensitive. For a function with no parameters, this can be left unset.
|
|
570
570
|
*/
|
|
571
|
-
parameters?:
|
|
571
|
+
parameters?: ObjectSchema | ObjectSchemaRequest;
|
|
572
572
|
}
|
|
573
573
|
|
|
574
574
|
/**
|
|
@@ -1499,12 +1499,20 @@ export declare class ObjectSchema extends Schema {
|
|
|
1499
1499
|
}
|
|
1500
1500
|
|
|
1501
1501
|
/**
|
|
1502
|
-
* Interface for {@link
|
|
1502
|
+
* Interface for JSON parameters in {@link SchemaType.OBJECT} format when
|
|
1503
|
+
* not using the {@link ObjectSchema} helper.
|
|
1503
1504
|
* @public
|
|
1504
1505
|
*/
|
|
1505
|
-
export declare interface
|
|
1506
|
+
export declare interface ObjectSchemaRequest extends SchemaRequest {
|
|
1506
1507
|
type: SchemaType.OBJECT;
|
|
1507
|
-
|
|
1508
|
+
/**
|
|
1509
|
+
* This is not a property accepted in the final request to the backend, but is
|
|
1510
|
+
* a client-side convenience property that is only usable by constructing
|
|
1511
|
+
* a schema through the `Schema.object()` helper method. Populating this
|
|
1512
|
+
* property will cause response errors if the object is not wrapped with
|
|
1513
|
+
* `Schema.object()`.
|
|
1514
|
+
*/
|
|
1515
|
+
optionalProperties?: never;
|
|
1508
1516
|
}
|
|
1509
1517
|
|
|
1510
1518
|
/**
|
package/dist/ai.d.ts
CHANGED
|
@@ -605,7 +605,7 @@ export declare interface FunctionDeclaration {
|
|
|
605
605
|
* format. Reflects the Open API 3.03 Parameter Object. Parameter names are
|
|
606
606
|
* case-sensitive. For a function with no parameters, this can be left unset.
|
|
607
607
|
*/
|
|
608
|
-
parameters?:
|
|
608
|
+
parameters?: ObjectSchema | ObjectSchemaRequest;
|
|
609
609
|
}
|
|
610
610
|
|
|
611
611
|
/**
|
|
@@ -1592,12 +1592,20 @@ export declare class ObjectSchema extends Schema {
|
|
|
1592
1592
|
}
|
|
1593
1593
|
|
|
1594
1594
|
/**
|
|
1595
|
-
* Interface for {@link
|
|
1595
|
+
* Interface for JSON parameters in {@link SchemaType.OBJECT} format when
|
|
1596
|
+
* not using the {@link ObjectSchema} helper.
|
|
1596
1597
|
* @public
|
|
1597
1598
|
*/
|
|
1598
|
-
export declare interface
|
|
1599
|
+
export declare interface ObjectSchemaRequest extends SchemaRequest {
|
|
1599
1600
|
type: SchemaType.OBJECT;
|
|
1600
|
-
|
|
1601
|
+
/**
|
|
1602
|
+
* This is not a property accepted in the final request to the backend, but is
|
|
1603
|
+
* a client-side convenience property that is only usable by constructing
|
|
1604
|
+
* a schema through the `Schema.object()` helper method. Populating this
|
|
1605
|
+
* property will cause response errors if the object is not wrapped with
|
|
1606
|
+
* `Schema.object()`.
|
|
1607
|
+
*/
|
|
1608
|
+
optionalProperties?: never;
|
|
1601
1609
|
}
|
|
1602
1610
|
|
|
1603
1611
|
/**
|