@xata.io/client 0.0.0-next.v5cfac065298489e56b1435ad10e8a947642693de → 0.0.0-next.v6e0260c6939d61fc865c7829b179342da9da348c

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/index.d.ts CHANGED
@@ -224,7 +224,7 @@ type ColumnFile = {
224
224
  };
225
225
  type Column = {
226
226
  name: string;
227
- type: 'bool' | 'int' | 'float' | 'string' | 'text' | 'email' | 'multiple' | 'link' | 'datetime' | 'vector' | 'file[]' | 'file' | 'json';
227
+ type: string;
228
228
  link?: ColumnLink;
229
229
  vector?: ColumnVector;
230
230
  file?: ColumnFile;
@@ -1877,6 +1877,13 @@ type ClusterConfiguration = {
1877
1877
  * @format int64
1878
1878
  */
1879
1879
  replicas?: number;
1880
+ /**
1881
+ * @format int64
1882
+ * @default 1
1883
+ * @maximum 3
1884
+ * @minimum 1
1885
+ */
1886
+ instanceCount?: number;
1880
1887
  /**
1881
1888
  * @default false
1882
1889
  */
@@ -1895,7 +1902,7 @@ type ClusterCreateDetails = {
1895
1902
  /**
1896
1903
  * @maxLength 63
1897
1904
  * @minLength 1
1898
- * @pattern [a-zA-Z0-9_-~:]+
1905
+ * @pattern [a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*
1899
1906
  */
1900
1907
  name: string;
1901
1908
  configuration: ClusterConfiguration;
@@ -1947,6 +1954,10 @@ type ClusterConfigurationResponse = {
1947
1954
  * @format int64
1948
1955
  */
1949
1956
  replicas: number;
1957
+ /**
1958
+ * @format int64
1959
+ */
1960
+ instanceCount: number;
1950
1961
  /**
1951
1962
  * @default false
1952
1963
  */
@@ -9366,7 +9377,7 @@ type PropertyType<Tables, Properties, PropertyName extends PropertyKey> = Proper
9366
9377
  } : {
9367
9378
  [K in PropertyName]?: InnerType<Type, Tables, LinkedTable> | null;
9368
9379
  } : never : never;
9369
- type InnerType<Type, Tables, LinkedTable> = Type extends 'string' | 'text' | 'email' ? string : Type extends 'int' | 'float' ? number : Type extends 'bool' ? boolean : Type extends 'datetime' ? Date : Type extends 'multiple' ? string[] : Type extends 'vector' ? number[] : Type extends 'file' ? XataFile : Type extends 'file[]' ? XataArrayFile[] : Type extends 'json' ? JSONValue<any> : Type extends 'link' ? TableType<Tables, LinkedTable> & XataRecord : never;
9380
+ type InnerType<Type, Tables, LinkedTable> = Type extends 'string' | 'text' | 'email' | 'character' | 'varchar' | 'character varying' | `varchar(${number})` | `character(${number})` ? string : Type extends 'int' | 'float' | 'bigint' | 'int8' | 'integer' | 'int4' | 'smallint' | 'double precision' | 'float8' | 'real' | 'numeric' ? number : Type extends 'bool' | 'boolean' ? boolean : Type extends 'datetime' | 'timestamptz' ? Date : Type extends 'multiple' | 'text[]' ? string[] : Type extends 'vector' | 'real[]' | 'float[]' | 'double precision[]' | 'float8[]' | 'numeric[]' ? number[] : Type extends 'int[]' | 'bigint[]' | 'int8[]' | 'integer[]' | 'int4[]' | 'smallint[]' ? number[] : Type extends 'bool[]' | 'boolean[]' ? boolean[] : Type extends 'file' | 'xata_file' ? XataFile : Type extends 'file[]' | 'xata_file_array' ? XataArrayFile[] : Type extends 'json' | 'jsonb' ? JSONValue<any> : Type extends 'link' ? TableType<Tables, LinkedTable> & XataRecord : string;
9370
9381
 
9371
9382
  /**
9372
9383
  * Operator to restrict results to only values that are greater than the given value.