hysteria-orm 10.7.0 → 10.7.2

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
@@ -5128,7 +5128,7 @@ declare class Transaction {
5128
5128
  * @description If a callback is provided, it will execute the callback and commit or rollback the nested transaction save points based on the callback's success or failure
5129
5129
  */
5130
5130
  nestedTransaction(): Promise<Transaction>;
5131
- nestedTransaction(cb: (trx: Transaction) => Promise<void>): Promise<void>;
5131
+ nestedTransaction<T>(cb: (trx: Transaction) => Promise<T>): Promise<T>;
5132
5132
  /**
5133
5133
  * @description Starts a transaction, automatically handled from the sql data source instance in the `transaction` method
5134
5134
  */
@@ -5446,7 +5446,7 @@ declare class SqlDataSource<D extends SqlDataSourceType = SqlDataSourceType, T e
5446
5446
  * @sqlite ignores the isolation level
5447
5447
  */
5448
5448
  transaction(options?: StartTransactionOptions): Promise<Transaction>;
5449
- transaction(cb: (trx: Transaction) => Promise<void>, options?: StartTransactionOptions): Promise<void>;
5449
+ transaction<T>(cb: (trx: Transaction) => Promise<T>, options?: StartTransactionOptions): Promise<T>;
5450
5450
  /**
5451
5451
  * @description Returns a ModelManager instance for the given model
5452
5452
  */
@@ -6508,7 +6508,7 @@ declare namespace column {
6508
6508
  export var uuid: typeof uuidColumn;
6509
6509
  export var ulid: typeof ulidColumn;
6510
6510
  export var integer: typeof integerColumn;
6511
- export var bigint: typeof bigintColumn;
6511
+ export var bigInteger: typeof bigintColumn;
6512
6512
  export var float: typeof floatColumn;
6513
6513
  export var decimal: typeof decimalColumn;
6514
6514
  export var increment: typeof incrementColumn;
package/lib/index.d.ts CHANGED
@@ -5128,7 +5128,7 @@ declare class Transaction {
5128
5128
  * @description If a callback is provided, it will execute the callback and commit or rollback the nested transaction save points based on the callback's success or failure
5129
5129
  */
5130
5130
  nestedTransaction(): Promise<Transaction>;
5131
- nestedTransaction(cb: (trx: Transaction) => Promise<void>): Promise<void>;
5131
+ nestedTransaction<T>(cb: (trx: Transaction) => Promise<T>): Promise<T>;
5132
5132
  /**
5133
5133
  * @description Starts a transaction, automatically handled from the sql data source instance in the `transaction` method
5134
5134
  */
@@ -5446,7 +5446,7 @@ declare class SqlDataSource<D extends SqlDataSourceType = SqlDataSourceType, T e
5446
5446
  * @sqlite ignores the isolation level
5447
5447
  */
5448
5448
  transaction(options?: StartTransactionOptions): Promise<Transaction>;
5449
- transaction(cb: (trx: Transaction) => Promise<void>, options?: StartTransactionOptions): Promise<void>;
5449
+ transaction<T>(cb: (trx: Transaction) => Promise<T>, options?: StartTransactionOptions): Promise<T>;
5450
5450
  /**
5451
5451
  * @description Returns a ModelManager instance for the given model
5452
5452
  */
@@ -6508,7 +6508,7 @@ declare namespace column {
6508
6508
  export var uuid: typeof uuidColumn;
6509
6509
  export var ulid: typeof ulidColumn;
6510
6510
  export var integer: typeof integerColumn;
6511
- export var bigint: typeof bigintColumn;
6511
+ export var bigInteger: typeof bigintColumn;
6512
6512
  export var float: typeof floatColumn;
6513
6513
  export var decimal: typeof decimalColumn;
6514
6514
  export var increment: typeof incrementColumn;