hysteria-orm 10.7.3 → 10.7.4
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/cli.js +56 -28
- package/lib/cli.js.map +1 -1
- package/lib/index.cjs +50 -22
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +36 -1
- package/lib/index.d.ts +36 -1
- package/lib/index.js +50 -22
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.d.cts
CHANGED
|
@@ -3337,6 +3337,10 @@ type UniqueType = {
|
|
|
3337
3337
|
columns: string[];
|
|
3338
3338
|
name: string;
|
|
3339
3339
|
};
|
|
3340
|
+
type CheckType = {
|
|
3341
|
+
expression: string;
|
|
3342
|
+
name: string;
|
|
3343
|
+
};
|
|
3340
3344
|
/**
|
|
3341
3345
|
* @description A property decorator that constrains the decorated property to type V.
|
|
3342
3346
|
* TypeScript infers K from the property name and T from the class, then checks
|
|
@@ -5107,11 +5111,16 @@ type TablePrimaryKeyInfo = {
|
|
|
5107
5111
|
name?: string;
|
|
5108
5112
|
columns: string[];
|
|
5109
5113
|
};
|
|
5114
|
+
type TableCheckConstraintInfo = {
|
|
5115
|
+
name: string;
|
|
5116
|
+
expression: string;
|
|
5117
|
+
};
|
|
5110
5118
|
type TableSchemaInfo = {
|
|
5111
5119
|
columns: TableColumnInfo[];
|
|
5112
5120
|
indexes: TableIndexInfo[];
|
|
5113
5121
|
foreignKeys: TableForeignKeyInfo[];
|
|
5114
5122
|
primaryKey?: TablePrimaryKeyInfo;
|
|
5123
|
+
checkConstraints: TableCheckConstraintInfo[];
|
|
5115
5124
|
};
|
|
5116
5125
|
type TableForeignKeyInfo = {
|
|
5117
5126
|
name?: string;
|
|
@@ -5611,6 +5620,10 @@ declare class SqlDataSource<D extends SqlDataSourceType = SqlDataSourceType, T e
|
|
|
5611
5620
|
* @description Introspects table primary key from the database
|
|
5612
5621
|
*/
|
|
5613
5622
|
getPrimaryKeyInfo(table: string): Promise<TablePrimaryKeyInfo | undefined>;
|
|
5623
|
+
/**
|
|
5624
|
+
* @description Introspects table CHECK constraints from the database
|
|
5625
|
+
*/
|
|
5626
|
+
getCheckConstraintInfo(table: string): Promise<TableCheckConstraintInfo[]>;
|
|
5614
5627
|
/**
|
|
5615
5628
|
* @description Acquires an advisory lock
|
|
5616
5629
|
* @description Useful for preventing concurrent operations from running simultaneously
|
|
@@ -6401,6 +6414,7 @@ declare abstract class Model<T extends Model<T> = any> extends Entity {
|
|
|
6401
6414
|
*/
|
|
6402
6415
|
static getIndexes(): IndexType[];
|
|
6403
6416
|
static getUniques(): UniqueType[];
|
|
6417
|
+
static getChecks(): CheckType[];
|
|
6404
6418
|
/**
|
|
6405
6419
|
* @description Defines a column in the model, useful in javascript in order to not have to rely on decorators since are not supported without a transpiler like babel
|
|
6406
6420
|
* @javascript
|
|
@@ -6534,6 +6548,26 @@ type BaseModelRelationType = {
|
|
|
6534
6548
|
*/
|
|
6535
6549
|
declare function index(indexes: string | string[], indexName?: string): ClassDecorator;
|
|
6536
6550
|
declare function unique(columns: string | string[], constraintName?: string): ClassDecorator;
|
|
6551
|
+
/**
|
|
6552
|
+
* @description Decorator to define a CHECK constraint on the model's table
|
|
6553
|
+
* @param expression - The SQL expression for the check constraint (e.g., "age >= 18", "price > 0")
|
|
6554
|
+
* @param constraintName - Optional custom name for the constraint
|
|
6555
|
+
* @example
|
|
6556
|
+
* ```ts
|
|
6557
|
+
* @check("age >= 0")
|
|
6558
|
+
* class User extends Model {
|
|
6559
|
+
* @column()
|
|
6560
|
+
* age!: number;
|
|
6561
|
+
* }
|
|
6562
|
+
*
|
|
6563
|
+
* @check("price > 0", "products_price_positive")
|
|
6564
|
+
* class Product extends Model {
|
|
6565
|
+
* @column()
|
|
6566
|
+
* price!: number;
|
|
6567
|
+
* }
|
|
6568
|
+
* ```
|
|
6569
|
+
*/
|
|
6570
|
+
declare function check(expression: string, constraintName?: string): ClassDecorator;
|
|
6537
6571
|
/**
|
|
6538
6572
|
* @description Decorator to define a view on the model
|
|
6539
6573
|
* @description This will automatically create a view on the database with the given statement
|
|
@@ -6785,6 +6819,7 @@ declare function getRelations(target: typeof Model): Relation[];
|
|
|
6785
6819
|
declare function getPrimaryKey(target: typeof Model): string | undefined;
|
|
6786
6820
|
declare function getIndexes(target: typeof Model): IndexType[];
|
|
6787
6821
|
declare function getUniques(target: typeof Model): UniqueType[];
|
|
6822
|
+
declare function getChecks(target: typeof Model): CheckType[];
|
|
6788
6823
|
|
|
6789
6824
|
type FactoryReturnType<T extends number, O extends Model> = T extends 1 ? O : O[];
|
|
6790
6825
|
|
|
@@ -7947,4 +7982,4 @@ declare const generateOpenApiModelWithMetadata: <T extends new () => Model>(mode
|
|
|
7947
7982
|
$id?: string;
|
|
7948
7983
|
}>;
|
|
7949
7984
|
|
|
7950
|
-
export { type AbstractConstructor, type AdminJsActionOptions, type AdminJsAssets, type AdminJsBranding, type AdminJsInstance, type AdminJsLocale, type AdminJsOptions, type AdminJsPage, type AdminJsPropertyOptions, type AdminJsResourceOptions, type AdminJsSettings, type AnyConstructor, type AsymmetricEncryptionOptions, type BaseModelMethodOptions, type BaseModelRelationType, BaseSeeder, type BigIntFields, type BuildSelectType, type BuildSingleSelectType, type CacheAdapter, type CacheKeys, ClientMigrator, Collection, type ColumnDataTypeOption, type ColumnDataTypeOptionSimple, type ColumnDataTypeOptionWithBinary, type ColumnDataTypeOptionWithDatePrecision, type ColumnDataTypeOptionWithEnum, type ColumnDataTypeOptionWithLength, type ColumnDataTypeOptionWithPrecision, type ColumnDataTypeOptionWithScaleAndPrecision, type ColumnDataTypeOptionWithText, type ColumnOptions, type ColumnType, type CommonDataSourceInput, type ComposeBuildSelect, type ComposeSelect, type ConnectionPolicies, type Constructor, type CustomLogger, type DataSourceInput, type DataSourceType, type DateColumnOptions, type DatetimeColumnOptions, type ExcludeMethods, type ExtractColumnName, type ExtractSourceColumn, type FetchHooks, type FindReturnType, type GetColumnType, type GetConnectionReturnType, HysteriaError, InMemoryAdapter, type IncrementFields, type IndexType, type LazyRelationType, type LoggerConfig, type ManyOptions, type ManyToManyOptions, type ManyToManyStringOptions, Migration, type MigrationConfig, type MigrationConfigBase, type MixinColumns, MixinFactory, Model, type ModelDataProperties, type ModelInstanceType, type ModelKey, ModelQueryBuilder, type ModelQueryResult, type ModelRelation, type ModelSelectTuple, type ModelSelectableInput, type ModelWithoutRelations, MongoDataSource, type MongoDataSourceInput$1 as MongoDataSourceInput, type MssqlConnectionInstance, type MssqlDataSourceInput, type MssqlPoolInstance, type MysqlConnectionInstance, type MysqlSqlDataSourceInput, type NotNullableMysqlSqlDataSourceInput, type NotNullableOracleDBDataSourceInput, type NotNullableOracleMssqlDataSourceInput, type NotNullablePostgresSqlDataSourceInput, type NotNullableSqliteDataSourceInput, type NumberModelKey, type OneOptions, type OracleDBDataSourceInput, type OracleDBPoolInstance, type PgPoolClientInstance, type PostgresSqlDataSourceInput, QueryBuilder, type RawModelOptions, RawNode, type RawQueryOptions, RedisCacheAdapter, type RedisFetchable, type RedisStorable, type RelatedInstance, type RelationQueryBuilderType, type ReplicationType, type ReturningColumns, type ReturningKey, Schema, SchemaBuilder, type SeederConfig, type SelectBrand, type SelectableColumn, type SelectedModel, type SlaveAlgorithm, type SlaveContext, type SqlCloneOptions, SqlDataSource, type SqlDataSourceInput, type SqlDataSourceModel, type SqlDataSourceType, type SqlDriverSpecificOptions, type SqlPoolType, type Sqlite3ConnectionOptions, type SqliteConnectionInstance, type SqliteDataSourceInput, type StartTransactionOptions, type SymmetricEncryptionOptions, type TableFormat, type ThroughModel, type TimestampFields, Transaction, type TransactionExecutionOptions, type TypedPropertyDecorator, type UlidFields, UlidMixin, type UniqueType, type UseCacheReturnType, type UseConnectionInput, type UuidFields, UuidMixin, WriteOperation, type WriteReturnType, belongsTo, bigIntMixin, column, createMixin, createModelFactory, defineMigrator, generateOpenApiModel, generateOpenApiModelSchema, generateOpenApiModelWithMetadata, getCollectionProperties, getIndexes, getModelColumns, type getPoolReturnType, getPrimaryKey, getRelations, getRelationsMetadata, getUniques, hasMany, hasOne, incrementMixin, index, HysteriaLogger as logger, manyToMany, property, RedisDataSource as redis, timestampMixin, ulidMixin, unique, uuidMixin, view, withPerformance };
|
|
7985
|
+
export { type AbstractConstructor, type AdminJsActionOptions, type AdminJsAssets, type AdminJsBranding, type AdminJsInstance, type AdminJsLocale, type AdminJsOptions, type AdminJsPage, type AdminJsPropertyOptions, type AdminJsResourceOptions, type AdminJsSettings, type AnyConstructor, type AsymmetricEncryptionOptions, type BaseModelMethodOptions, type BaseModelRelationType, BaseSeeder, type BigIntFields, type BuildSelectType, type BuildSingleSelectType, type CacheAdapter, type CacheKeys, type CheckType, ClientMigrator, Collection, type ColumnDataTypeOption, type ColumnDataTypeOptionSimple, type ColumnDataTypeOptionWithBinary, type ColumnDataTypeOptionWithDatePrecision, type ColumnDataTypeOptionWithEnum, type ColumnDataTypeOptionWithLength, type ColumnDataTypeOptionWithPrecision, type ColumnDataTypeOptionWithScaleAndPrecision, type ColumnDataTypeOptionWithText, type ColumnOptions, type ColumnType, type CommonDataSourceInput, type ComposeBuildSelect, type ComposeSelect, type ConnectionPolicies, type Constructor, type CustomLogger, type DataSourceInput, type DataSourceType, type DateColumnOptions, type DatetimeColumnOptions, type ExcludeMethods, type ExtractColumnName, type ExtractSourceColumn, type FetchHooks, type FindReturnType, type GetColumnType, type GetConnectionReturnType, HysteriaError, InMemoryAdapter, type IncrementFields, type IndexType, type LazyRelationType, type LoggerConfig, type ManyOptions, type ManyToManyOptions, type ManyToManyStringOptions, Migration, type MigrationConfig, type MigrationConfigBase, type MixinColumns, MixinFactory, Model, type ModelDataProperties, type ModelInstanceType, type ModelKey, ModelQueryBuilder, type ModelQueryResult, type ModelRelation, type ModelSelectTuple, type ModelSelectableInput, type ModelWithoutRelations, MongoDataSource, type MongoDataSourceInput$1 as MongoDataSourceInput, type MssqlConnectionInstance, type MssqlDataSourceInput, type MssqlPoolInstance, type MysqlConnectionInstance, type MysqlSqlDataSourceInput, type NotNullableMysqlSqlDataSourceInput, type NotNullableOracleDBDataSourceInput, type NotNullableOracleMssqlDataSourceInput, type NotNullablePostgresSqlDataSourceInput, type NotNullableSqliteDataSourceInput, type NumberModelKey, type OneOptions, type OracleDBDataSourceInput, type OracleDBPoolInstance, type PgPoolClientInstance, type PostgresSqlDataSourceInput, QueryBuilder, type RawModelOptions, RawNode, type RawQueryOptions, RedisCacheAdapter, type RedisFetchable, type RedisStorable, type RelatedInstance, type RelationQueryBuilderType, type ReplicationType, type ReturningColumns, type ReturningKey, Schema, SchemaBuilder, type SeederConfig, type SelectBrand, type SelectableColumn, type SelectedModel, type SlaveAlgorithm, type SlaveContext, type SqlCloneOptions, SqlDataSource, type SqlDataSourceInput, type SqlDataSourceModel, type SqlDataSourceType, type SqlDriverSpecificOptions, type SqlPoolType, type Sqlite3ConnectionOptions, type SqliteConnectionInstance, type SqliteDataSourceInput, type StartTransactionOptions, type SymmetricEncryptionOptions, type TableFormat, type ThroughModel, type TimestampFields, Transaction, type TransactionExecutionOptions, type TypedPropertyDecorator, type UlidFields, UlidMixin, type UniqueType, type UseCacheReturnType, type UseConnectionInput, type UuidFields, UuidMixin, WriteOperation, type WriteReturnType, belongsTo, bigIntMixin, check, column, createMixin, createModelFactory, defineMigrator, generateOpenApiModel, generateOpenApiModelSchema, generateOpenApiModelWithMetadata, getChecks, getCollectionProperties, getIndexes, getModelColumns, type getPoolReturnType, getPrimaryKey, getRelations, getRelationsMetadata, getUniques, hasMany, hasOne, incrementMixin, index, HysteriaLogger as logger, manyToMany, property, RedisDataSource as redis, timestampMixin, ulidMixin, unique, uuidMixin, view, withPerformance };
|
package/lib/index.d.ts
CHANGED
|
@@ -3337,6 +3337,10 @@ type UniqueType = {
|
|
|
3337
3337
|
columns: string[];
|
|
3338
3338
|
name: string;
|
|
3339
3339
|
};
|
|
3340
|
+
type CheckType = {
|
|
3341
|
+
expression: string;
|
|
3342
|
+
name: string;
|
|
3343
|
+
};
|
|
3340
3344
|
/**
|
|
3341
3345
|
* @description A property decorator that constrains the decorated property to type V.
|
|
3342
3346
|
* TypeScript infers K from the property name and T from the class, then checks
|
|
@@ -5107,11 +5111,16 @@ type TablePrimaryKeyInfo = {
|
|
|
5107
5111
|
name?: string;
|
|
5108
5112
|
columns: string[];
|
|
5109
5113
|
};
|
|
5114
|
+
type TableCheckConstraintInfo = {
|
|
5115
|
+
name: string;
|
|
5116
|
+
expression: string;
|
|
5117
|
+
};
|
|
5110
5118
|
type TableSchemaInfo = {
|
|
5111
5119
|
columns: TableColumnInfo[];
|
|
5112
5120
|
indexes: TableIndexInfo[];
|
|
5113
5121
|
foreignKeys: TableForeignKeyInfo[];
|
|
5114
5122
|
primaryKey?: TablePrimaryKeyInfo;
|
|
5123
|
+
checkConstraints: TableCheckConstraintInfo[];
|
|
5115
5124
|
};
|
|
5116
5125
|
type TableForeignKeyInfo = {
|
|
5117
5126
|
name?: string;
|
|
@@ -5611,6 +5620,10 @@ declare class SqlDataSource<D extends SqlDataSourceType = SqlDataSourceType, T e
|
|
|
5611
5620
|
* @description Introspects table primary key from the database
|
|
5612
5621
|
*/
|
|
5613
5622
|
getPrimaryKeyInfo(table: string): Promise<TablePrimaryKeyInfo | undefined>;
|
|
5623
|
+
/**
|
|
5624
|
+
* @description Introspects table CHECK constraints from the database
|
|
5625
|
+
*/
|
|
5626
|
+
getCheckConstraintInfo(table: string): Promise<TableCheckConstraintInfo[]>;
|
|
5614
5627
|
/**
|
|
5615
5628
|
* @description Acquires an advisory lock
|
|
5616
5629
|
* @description Useful for preventing concurrent operations from running simultaneously
|
|
@@ -6401,6 +6414,7 @@ declare abstract class Model<T extends Model<T> = any> extends Entity {
|
|
|
6401
6414
|
*/
|
|
6402
6415
|
static getIndexes(): IndexType[];
|
|
6403
6416
|
static getUniques(): UniqueType[];
|
|
6417
|
+
static getChecks(): CheckType[];
|
|
6404
6418
|
/**
|
|
6405
6419
|
* @description Defines a column in the model, useful in javascript in order to not have to rely on decorators since are not supported without a transpiler like babel
|
|
6406
6420
|
* @javascript
|
|
@@ -6534,6 +6548,26 @@ type BaseModelRelationType = {
|
|
|
6534
6548
|
*/
|
|
6535
6549
|
declare function index(indexes: string | string[], indexName?: string): ClassDecorator;
|
|
6536
6550
|
declare function unique(columns: string | string[], constraintName?: string): ClassDecorator;
|
|
6551
|
+
/**
|
|
6552
|
+
* @description Decorator to define a CHECK constraint on the model's table
|
|
6553
|
+
* @param expression - The SQL expression for the check constraint (e.g., "age >= 18", "price > 0")
|
|
6554
|
+
* @param constraintName - Optional custom name for the constraint
|
|
6555
|
+
* @example
|
|
6556
|
+
* ```ts
|
|
6557
|
+
* @check("age >= 0")
|
|
6558
|
+
* class User extends Model {
|
|
6559
|
+
* @column()
|
|
6560
|
+
* age!: number;
|
|
6561
|
+
* }
|
|
6562
|
+
*
|
|
6563
|
+
* @check("price > 0", "products_price_positive")
|
|
6564
|
+
* class Product extends Model {
|
|
6565
|
+
* @column()
|
|
6566
|
+
* price!: number;
|
|
6567
|
+
* }
|
|
6568
|
+
* ```
|
|
6569
|
+
*/
|
|
6570
|
+
declare function check(expression: string, constraintName?: string): ClassDecorator;
|
|
6537
6571
|
/**
|
|
6538
6572
|
* @description Decorator to define a view on the model
|
|
6539
6573
|
* @description This will automatically create a view on the database with the given statement
|
|
@@ -6785,6 +6819,7 @@ declare function getRelations(target: typeof Model): Relation[];
|
|
|
6785
6819
|
declare function getPrimaryKey(target: typeof Model): string | undefined;
|
|
6786
6820
|
declare function getIndexes(target: typeof Model): IndexType[];
|
|
6787
6821
|
declare function getUniques(target: typeof Model): UniqueType[];
|
|
6822
|
+
declare function getChecks(target: typeof Model): CheckType[];
|
|
6788
6823
|
|
|
6789
6824
|
type FactoryReturnType<T extends number, O extends Model> = T extends 1 ? O : O[];
|
|
6790
6825
|
|
|
@@ -7947,4 +7982,4 @@ declare const generateOpenApiModelWithMetadata: <T extends new () => Model>(mode
|
|
|
7947
7982
|
$id?: string;
|
|
7948
7983
|
}>;
|
|
7949
7984
|
|
|
7950
|
-
export { type AbstractConstructor, type AdminJsActionOptions, type AdminJsAssets, type AdminJsBranding, type AdminJsInstance, type AdminJsLocale, type AdminJsOptions, type AdminJsPage, type AdminJsPropertyOptions, type AdminJsResourceOptions, type AdminJsSettings, type AnyConstructor, type AsymmetricEncryptionOptions, type BaseModelMethodOptions, type BaseModelRelationType, BaseSeeder, type BigIntFields, type BuildSelectType, type BuildSingleSelectType, type CacheAdapter, type CacheKeys, ClientMigrator, Collection, type ColumnDataTypeOption, type ColumnDataTypeOptionSimple, type ColumnDataTypeOptionWithBinary, type ColumnDataTypeOptionWithDatePrecision, type ColumnDataTypeOptionWithEnum, type ColumnDataTypeOptionWithLength, type ColumnDataTypeOptionWithPrecision, type ColumnDataTypeOptionWithScaleAndPrecision, type ColumnDataTypeOptionWithText, type ColumnOptions, type ColumnType, type CommonDataSourceInput, type ComposeBuildSelect, type ComposeSelect, type ConnectionPolicies, type Constructor, type CustomLogger, type DataSourceInput, type DataSourceType, type DateColumnOptions, type DatetimeColumnOptions, type ExcludeMethods, type ExtractColumnName, type ExtractSourceColumn, type FetchHooks, type FindReturnType, type GetColumnType, type GetConnectionReturnType, HysteriaError, InMemoryAdapter, type IncrementFields, type IndexType, type LazyRelationType, type LoggerConfig, type ManyOptions, type ManyToManyOptions, type ManyToManyStringOptions, Migration, type MigrationConfig, type MigrationConfigBase, type MixinColumns, MixinFactory, Model, type ModelDataProperties, type ModelInstanceType, type ModelKey, ModelQueryBuilder, type ModelQueryResult, type ModelRelation, type ModelSelectTuple, type ModelSelectableInput, type ModelWithoutRelations, MongoDataSource, type MongoDataSourceInput$1 as MongoDataSourceInput, type MssqlConnectionInstance, type MssqlDataSourceInput, type MssqlPoolInstance, type MysqlConnectionInstance, type MysqlSqlDataSourceInput, type NotNullableMysqlSqlDataSourceInput, type NotNullableOracleDBDataSourceInput, type NotNullableOracleMssqlDataSourceInput, type NotNullablePostgresSqlDataSourceInput, type NotNullableSqliteDataSourceInput, type NumberModelKey, type OneOptions, type OracleDBDataSourceInput, type OracleDBPoolInstance, type PgPoolClientInstance, type PostgresSqlDataSourceInput, QueryBuilder, type RawModelOptions, RawNode, type RawQueryOptions, RedisCacheAdapter, type RedisFetchable, type RedisStorable, type RelatedInstance, type RelationQueryBuilderType, type ReplicationType, type ReturningColumns, type ReturningKey, Schema, SchemaBuilder, type SeederConfig, type SelectBrand, type SelectableColumn, type SelectedModel, type SlaveAlgorithm, type SlaveContext, type SqlCloneOptions, SqlDataSource, type SqlDataSourceInput, type SqlDataSourceModel, type SqlDataSourceType, type SqlDriverSpecificOptions, type SqlPoolType, type Sqlite3ConnectionOptions, type SqliteConnectionInstance, type SqliteDataSourceInput, type StartTransactionOptions, type SymmetricEncryptionOptions, type TableFormat, type ThroughModel, type TimestampFields, Transaction, type TransactionExecutionOptions, type TypedPropertyDecorator, type UlidFields, UlidMixin, type UniqueType, type UseCacheReturnType, type UseConnectionInput, type UuidFields, UuidMixin, WriteOperation, type WriteReturnType, belongsTo, bigIntMixin, column, createMixin, createModelFactory, defineMigrator, generateOpenApiModel, generateOpenApiModelSchema, generateOpenApiModelWithMetadata, getCollectionProperties, getIndexes, getModelColumns, type getPoolReturnType, getPrimaryKey, getRelations, getRelationsMetadata, getUniques, hasMany, hasOne, incrementMixin, index, HysteriaLogger as logger, manyToMany, property, RedisDataSource as redis, timestampMixin, ulidMixin, unique, uuidMixin, view, withPerformance };
|
|
7985
|
+
export { type AbstractConstructor, type AdminJsActionOptions, type AdminJsAssets, type AdminJsBranding, type AdminJsInstance, type AdminJsLocale, type AdminJsOptions, type AdminJsPage, type AdminJsPropertyOptions, type AdminJsResourceOptions, type AdminJsSettings, type AnyConstructor, type AsymmetricEncryptionOptions, type BaseModelMethodOptions, type BaseModelRelationType, BaseSeeder, type BigIntFields, type BuildSelectType, type BuildSingleSelectType, type CacheAdapter, type CacheKeys, type CheckType, ClientMigrator, Collection, type ColumnDataTypeOption, type ColumnDataTypeOptionSimple, type ColumnDataTypeOptionWithBinary, type ColumnDataTypeOptionWithDatePrecision, type ColumnDataTypeOptionWithEnum, type ColumnDataTypeOptionWithLength, type ColumnDataTypeOptionWithPrecision, type ColumnDataTypeOptionWithScaleAndPrecision, type ColumnDataTypeOptionWithText, type ColumnOptions, type ColumnType, type CommonDataSourceInput, type ComposeBuildSelect, type ComposeSelect, type ConnectionPolicies, type Constructor, type CustomLogger, type DataSourceInput, type DataSourceType, type DateColumnOptions, type DatetimeColumnOptions, type ExcludeMethods, type ExtractColumnName, type ExtractSourceColumn, type FetchHooks, type FindReturnType, type GetColumnType, type GetConnectionReturnType, HysteriaError, InMemoryAdapter, type IncrementFields, type IndexType, type LazyRelationType, type LoggerConfig, type ManyOptions, type ManyToManyOptions, type ManyToManyStringOptions, Migration, type MigrationConfig, type MigrationConfigBase, type MixinColumns, MixinFactory, Model, type ModelDataProperties, type ModelInstanceType, type ModelKey, ModelQueryBuilder, type ModelQueryResult, type ModelRelation, type ModelSelectTuple, type ModelSelectableInput, type ModelWithoutRelations, MongoDataSource, type MongoDataSourceInput$1 as MongoDataSourceInput, type MssqlConnectionInstance, type MssqlDataSourceInput, type MssqlPoolInstance, type MysqlConnectionInstance, type MysqlSqlDataSourceInput, type NotNullableMysqlSqlDataSourceInput, type NotNullableOracleDBDataSourceInput, type NotNullableOracleMssqlDataSourceInput, type NotNullablePostgresSqlDataSourceInput, type NotNullableSqliteDataSourceInput, type NumberModelKey, type OneOptions, type OracleDBDataSourceInput, type OracleDBPoolInstance, type PgPoolClientInstance, type PostgresSqlDataSourceInput, QueryBuilder, type RawModelOptions, RawNode, type RawQueryOptions, RedisCacheAdapter, type RedisFetchable, type RedisStorable, type RelatedInstance, type RelationQueryBuilderType, type ReplicationType, type ReturningColumns, type ReturningKey, Schema, SchemaBuilder, type SeederConfig, type SelectBrand, type SelectableColumn, type SelectedModel, type SlaveAlgorithm, type SlaveContext, type SqlCloneOptions, SqlDataSource, type SqlDataSourceInput, type SqlDataSourceModel, type SqlDataSourceType, type SqlDriverSpecificOptions, type SqlPoolType, type Sqlite3ConnectionOptions, type SqliteConnectionInstance, type SqliteDataSourceInput, type StartTransactionOptions, type SymmetricEncryptionOptions, type TableFormat, type ThroughModel, type TimestampFields, Transaction, type TransactionExecutionOptions, type TypedPropertyDecorator, type UlidFields, UlidMixin, type UniqueType, type UseCacheReturnType, type UseConnectionInput, type UuidFields, UuidMixin, WriteOperation, type WriteReturnType, belongsTo, bigIntMixin, check, column, createMixin, createModelFactory, defineMigrator, generateOpenApiModel, generateOpenApiModelSchema, generateOpenApiModelWithMetadata, getChecks, getCollectionProperties, getIndexes, getModelColumns, type getPoolReturnType, getPrimaryKey, getRelations, getRelationsMetadata, getUniques, hasMany, hasOne, incrementMixin, index, HysteriaLogger as logger, manyToMany, property, RedisDataSource as redis, timestampMixin, ulidMixin, unique, uuidMixin, view, withPerformance };
|