hysteria-orm 10.7.7 → 10.7.9

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/lib/index.d.cts CHANGED
@@ -5709,7 +5709,7 @@ type ModelWithoutRelations<T extends Model> = Pick<Omit<T, "*">, ExcludeRelation
5709
5709
  */
5710
5710
  type ModelQueryResult<T extends Model> = ModelWithoutRelations<T>;
5711
5711
  type NumberModelKey<T extends Model> = {
5712
- [K in keyof T]: T[K] extends number | bigint ? K : never;
5712
+ [K in keyof T]: T[K] extends number ? K : never;
5713
5713
  }[keyof T];
5714
5714
  type BaseModelMethodOptions = {
5715
5715
  /**
@@ -6649,9 +6649,9 @@ interface ColNamespace {
6649
6649
  integer<O extends ColIntegerOptions = ColIntegerOptions>(options?: O & TypedPrepare<NullableColumn<number, O>>): ColumnDef<NullableColumn<number, O>>;
6650
6650
  /**
6651
6651
  * Big integer column for values exceeding 32-bit range.
6652
- * Type: `number | bigint` (nullable-aware). Only `prepare` is exposed.
6652
+ * Type: `number` (nullable-aware). Only `prepare` is exposed.
6653
6653
  */
6654
- bigInteger<O extends ColBigIntegerOptions = ColBigIntegerOptions>(options?: O & TypedPrepare<NullableColumn<number | bigint, O>>): ColumnDef<NullableColumn<number | bigint, O>>;
6654
+ bigInteger<O extends ColBigIntegerOptions = ColBigIntegerOptions>(options?: O & TypedPrepare<NullableColumn<number, O>>): ColumnDef<NullableColumn<number, O>>;
6655
6655
  /**
6656
6656
  * Floating-point column.
6657
6657
  * Type: `number` (nullable-aware). Only `prepare` is exposed.
@@ -7148,7 +7148,7 @@ declare function textColumn(options?: Omit<ColumnOptions, "type">): TypedPropert
7148
7148
  * @description Useful in databases like postgres where the bigint is returned as a string by the driver
7149
7149
  * @description Defaults type to bigint for migration generation
7150
7150
  */
7151
- declare function bigintColumn(options?: Omit<ColumnOptions, "serialize">): TypedPropertyDecorator<number | bigint | null | undefined>;
7151
+ declare function bigintColumn(options?: Omit<ColumnOptions, "serialize">): TypedPropertyDecorator<number | null | undefined>;
7152
7152
  /**
7153
7153
  * @description Decorator to define a decimal column in the model for precise numeric values
7154
7154
  * @description Useful for financial data and other precise calculations
package/lib/index.d.ts CHANGED
@@ -5709,7 +5709,7 @@ type ModelWithoutRelations<T extends Model> = Pick<Omit<T, "*">, ExcludeRelation
5709
5709
  */
5710
5710
  type ModelQueryResult<T extends Model> = ModelWithoutRelations<T>;
5711
5711
  type NumberModelKey<T extends Model> = {
5712
- [K in keyof T]: T[K] extends number | bigint ? K : never;
5712
+ [K in keyof T]: T[K] extends number ? K : never;
5713
5713
  }[keyof T];
5714
5714
  type BaseModelMethodOptions = {
5715
5715
  /**
@@ -6649,9 +6649,9 @@ interface ColNamespace {
6649
6649
  integer<O extends ColIntegerOptions = ColIntegerOptions>(options?: O & TypedPrepare<NullableColumn<number, O>>): ColumnDef<NullableColumn<number, O>>;
6650
6650
  /**
6651
6651
  * Big integer column for values exceeding 32-bit range.
6652
- * Type: `number | bigint` (nullable-aware). Only `prepare` is exposed.
6652
+ * Type: `number` (nullable-aware). Only `prepare` is exposed.
6653
6653
  */
6654
- bigInteger<O extends ColBigIntegerOptions = ColBigIntegerOptions>(options?: O & TypedPrepare<NullableColumn<number | bigint, O>>): ColumnDef<NullableColumn<number | bigint, O>>;
6654
+ bigInteger<O extends ColBigIntegerOptions = ColBigIntegerOptions>(options?: O & TypedPrepare<NullableColumn<number, O>>): ColumnDef<NullableColumn<number, O>>;
6655
6655
  /**
6656
6656
  * Floating-point column.
6657
6657
  * Type: `number` (nullable-aware). Only `prepare` is exposed.
@@ -7148,7 +7148,7 @@ declare function textColumn(options?: Omit<ColumnOptions, "type">): TypedPropert
7148
7148
  * @description Useful in databases like postgres where the bigint is returned as a string by the driver
7149
7149
  * @description Defaults type to bigint for migration generation
7150
7150
  */
7151
- declare function bigintColumn(options?: Omit<ColumnOptions, "serialize">): TypedPropertyDecorator<number | bigint | null | undefined>;
7151
+ declare function bigintColumn(options?: Omit<ColumnOptions, "serialize">): TypedPropertyDecorator<number | null | undefined>;
7152
7152
  /**
7153
7153
  * @description Decorator to define a decimal column in the model for precise numeric values
7154
7154
  * @description Useful for financial data and other precise calculations