@firebase/ai 1.3.0-canary.8cb21ffc5 → 1.3.0-canary.af9f8b552

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.
@@ -1679,6 +1679,12 @@ export declare abstract class Schema implements SchemaInterface {
1679
1679
  format?: string;
1680
1680
  /** Optional. The description of the property. */
1681
1681
  description?: string;
1682
+ /** Optional. The items of the property. */
1683
+ items?: SchemaInterface;
1684
+ /** The minimum number of items (elements) in a schema of type {@link SchemaType.ARRAY}. */
1685
+ minItems?: number;
1686
+ /** The maximum number of items (elements) in a schema of type {@link SchemaType.ARRAY}. */
1687
+ maxItems?: number;
1682
1688
  /** Optional. Whether the property is nullable. Defaults to false. */
1683
1689
  nullable: boolean;
1684
1690
  /** Optional. The example of the property. */
@@ -1755,18 +1761,34 @@ export declare interface SchemaShared<T> {
1755
1761
  format?: string;
1756
1762
  /** Optional. The description of the property. */
1757
1763
  description?: string;
1764
+ /**
1765
+ * The title of the property. This helps document the schema's purpose but does not typically
1766
+ * constrain the generated value. It can subtly guide the model by clarifying the intent of a
1767
+ * field.
1768
+ */
1769
+ title?: string;
1758
1770
  /** Optional. The items of the property. */
1759
1771
  items?: T;
1772
+ /** The minimum number of items (elements) in a schema of type {@link SchemaType.ARRAY}. */
1773
+ minItems?: number;
1774
+ /** The maximum number of items (elements) in a schema of type {@link SchemaType.ARRAY}. */
1775
+ maxItems?: number;
1760
1776
  /** Optional. Map of `Schema` objects. */
1761
1777
  properties?: {
1762
1778
  [k: string]: T;
1763
1779
  };
1780
+ /** A hint suggesting the order in which the keys should appear in the generated JSON string. */
1781
+ propertyOrdering?: string[];
1764
1782
  /** Optional. The enum of the property. */
1765
1783
  enum?: string[];
1766
1784
  /** Optional. The example of the property. */
1767
1785
  example?: unknown;
1768
1786
  /** Optional. Whether the property is nullable. */
1769
1787
  nullable?: boolean;
1788
+ /** The minimum value of a numeric type. */
1789
+ minimum?: number;
1790
+ /** The maximum value of a numeric type. */
1791
+ maximum?: number;
1770
1792
  [key: string]: unknown;
1771
1793
  }
1772
1794
 
package/dist/ai.d.ts CHANGED
@@ -1772,6 +1772,12 @@ export declare abstract class Schema implements SchemaInterface {
1772
1772
  format?: string;
1773
1773
  /** Optional. The description of the property. */
1774
1774
  description?: string;
1775
+ /** Optional. The items of the property. */
1776
+ items?: SchemaInterface;
1777
+ /** The minimum number of items (elements) in a schema of type {@link SchemaType.ARRAY}. */
1778
+ minItems?: number;
1779
+ /** The maximum number of items (elements) in a schema of type {@link SchemaType.ARRAY}. */
1780
+ maxItems?: number;
1775
1781
  /** Optional. Whether the property is nullable. Defaults to false. */
1776
1782
  nullable: boolean;
1777
1783
  /** Optional. The example of the property. */
@@ -1853,18 +1859,34 @@ export declare interface SchemaShared<T> {
1853
1859
  format?: string;
1854
1860
  /** Optional. The description of the property. */
1855
1861
  description?: string;
1862
+ /**
1863
+ * The title of the property. This helps document the schema's purpose but does not typically
1864
+ * constrain the generated value. It can subtly guide the model by clarifying the intent of a
1865
+ * field.
1866
+ */
1867
+ title?: string;
1856
1868
  /** Optional. The items of the property. */
1857
1869
  items?: T;
1870
+ /** The minimum number of items (elements) in a schema of type {@link SchemaType.ARRAY}. */
1871
+ minItems?: number;
1872
+ /** The maximum number of items (elements) in a schema of type {@link SchemaType.ARRAY}. */
1873
+ maxItems?: number;
1858
1874
  /** Optional. Map of `Schema` objects. */
1859
1875
  properties?: {
1860
1876
  [k: string]: T;
1861
1877
  };
1878
+ /** A hint suggesting the order in which the keys should appear in the generated JSON string. */
1879
+ propertyOrdering?: string[];
1862
1880
  /** Optional. The enum of the property. */
1863
1881
  enum?: string[];
1864
1882
  /** Optional. The example of the property. */
1865
1883
  example?: unknown;
1866
1884
  /** Optional. Whether the property is nullable. */
1867
1885
  nullable?: boolean;
1886
+ /** The minimum value of a numeric type. */
1887
+ minimum?: number;
1888
+ /** The maximum value of a numeric type. */
1889
+ maximum?: number;
1868
1890
  [key: string]: unknown;
1869
1891
  }
1870
1892
 
@@ -5,7 +5,7 @@ import { Logger } from '@firebase/logger';
5
5
  import { __asyncGenerator, __await } from 'tslib';
6
6
 
7
7
  var name = "@firebase/ai";
8
- var version = "1.3.0-canary.8cb21ffc5";
8
+ var version = "1.3.0-canary.af9f8b552";
9
9
 
10
10
  /**
11
11
  * @license