@tspvivek/baasix-sdk 0.1.0-alpha.5 → 0.1.0-alpha.7

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.
@@ -296,7 +296,7 @@ interface BulkResponse<T = string[]> {
296
296
  error: string;
297
297
  }>;
298
298
  }
299
- type FieldType = "String" | "Text" | "Integer" | "BigInt" | "Float" | "Real" | "Double" | "Decimal" | "Boolean" | "Date" | "DateTime" | "Time" | "UUID" | "SUID" | "JSON" | "JSONB" | "Array" | "Geometry" | "Point" | "LineString" | "Polygon" | "Enum";
299
+ type FieldType = "String" | "Text" | "HTML" | "Integer" | "BigInt" | "Float" | "Real" | "Double" | "Decimal" | "Boolean" | "Date" | "DateTime" | "Time" | "UUID" | "SUID" | "JSON" | "JSONB" | "Array" | "Geometry" | "Point" | "LineString" | "Polygon" | "Enum";
300
300
  /**
301
301
  * Default value types supported by Baasix
302
302
  */
@@ -381,6 +381,8 @@ interface IndexDefinition {
381
381
  name: string;
382
382
  fields: string[];
383
383
  unique?: boolean;
384
+ /** When true, NULL values are considered equal for unique indexes (PostgreSQL 15+) */
385
+ nullsNotDistinct?: boolean;
384
386
  }
385
387
  type RelationshipType = "M2O" | "O2M" | "M2M" | "M2A" | "O2O";
386
388
  interface RelationshipDefinition {
@@ -296,7 +296,7 @@ interface BulkResponse<T = string[]> {
296
296
  error: string;
297
297
  }>;
298
298
  }
299
- type FieldType = "String" | "Text" | "Integer" | "BigInt" | "Float" | "Real" | "Double" | "Decimal" | "Boolean" | "Date" | "DateTime" | "Time" | "UUID" | "SUID" | "JSON" | "JSONB" | "Array" | "Geometry" | "Point" | "LineString" | "Polygon" | "Enum";
299
+ type FieldType = "String" | "Text" | "HTML" | "Integer" | "BigInt" | "Float" | "Real" | "Double" | "Decimal" | "Boolean" | "Date" | "DateTime" | "Time" | "UUID" | "SUID" | "JSON" | "JSONB" | "Array" | "Geometry" | "Point" | "LineString" | "Polygon" | "Enum";
300
300
  /**
301
301
  * Default value types supported by Baasix
302
302
  */
@@ -381,6 +381,8 @@ interface IndexDefinition {
381
381
  name: string;
382
382
  fields: string[];
383
383
  unique?: boolean;
384
+ /** When true, NULL values are considered equal for unique indexes (PostgreSQL 15+) */
385
+ nullsNotDistinct?: boolean;
384
386
  }
385
387
  type RelationshipType = "M2O" | "O2M" | "M2M" | "M2A" | "O2O";
386
388
  interface RelationshipDefinition {