taon-typeorm 19.0.21 → 19.0.23
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/browser/package.json +1 -1
- package/client/package.json +1 -1
- package/lib/build-info._auto-generated_.d.ts +1 -1
- package/lib/build-info._auto-generated_.js +1 -1
- package/lib/env/env.angular-node-app.d.ts +4 -0
- package/lib/env/env.angular-node-app.js +10 -0
- package/lib/env/env.angular-node-app.js.map +1 -0
- package/lib/env/env.docs-webapp.d.ts +4 -0
- package/lib/env/env.docs-webapp.js +10 -0
- package/lib/env/env.docs-webapp.js.map +1 -0
- package/lib/env/env.electron-app.d.ts +4 -0
- package/lib/env/env.electron-app.js +10 -0
- package/lib/env/env.electron-app.js.map +1 -0
- package/lib/env/env.mobile-app.d.ts +4 -0
- package/lib/env/env.mobile-app.js +10 -0
- package/lib/env/env.mobile-app.js.map +1 -0
- package/lib/env/env.npm-lib-and-cli-tool.d.ts +4 -0
- package/lib/env/env.npm-lib-and-cli-tool.js +10 -0
- package/lib/env/env.npm-lib-and-cli-tool.js.map +1 -0
- package/lib/env/env.vscode-plugin.d.ts +4 -0
- package/lib/env/env.vscode-plugin.js +10 -0
- package/lib/env/env.vscode-plugin.js.map +1 -0
- package/lib/env/index.d.ts +6 -0
- package/lib/env/index.js +23 -0
- package/lib/env/index.js.map +1 -0
- package/package.json +1 -1
- package/scss/vars.scss +7 -0
- package/websql/package.json +1 -1
- package/client/README.md +0 -24
- package/client/fesm2022/taon-typeorm.mjs +0 -30436
- package/client/fesm2022/taon-typeorm.mjs.map +0 -1
- package/client/index.d.ts +0 -6
- package/client/lib/index.d.ts +0 -2
- package/client/lib/typeorm/cache/DbQueryResultCache.d.ts +0 -53
- package/client/lib/typeorm/cache/QueryResultCache.d.ts +0 -40
- package/client/lib/typeorm/cache/QueryResultCacheFactory.d.ts +0 -14
- package/client/lib/typeorm/cache/QueryResultCacheOptions.d.ts +0 -27
- package/client/lib/typeorm/cache/RedisQueryResultCache.d.ts +0 -66
- package/client/lib/typeorm/common/DeepPartial.d.ts +0 -7
- package/client/lib/typeorm/common/EntityTarget.d.ts +0 -10
- package/client/lib/typeorm/common/MixedList.d.ts +0 -9
- package/client/lib/typeorm/common/ObjectLiteral.d.ts +0 -7
- package/client/lib/typeorm/common/ObjectType.d.ts +0 -7
- package/client/lib/typeorm/common/RelationType.d.ts +0 -15
- package/client/lib/typeorm/connection/Connection.d.ts +0 -11
- package/client/lib/typeorm/connection/ConnectionManager.d.ts +0 -34
- package/client/lib/typeorm/connection/ConnectionMetadataBuilder.d.ts +0 -25
- package/client/lib/typeorm/connection/ConnectionOptions.d.ts +0 -10
- package/client/lib/typeorm/connection/ConnectionOptionsReader.d.ts +0 -65
- package/client/lib/typeorm/constants.d.ts +0 -2
- package/client/lib/typeorm/container.d.ts +0 -40
- package/client/lib/typeorm/data-source/BaseDataSourceOptions.d.ts +0 -172
- package/client/lib/typeorm/data-source/DataSource.d.ts +0 -247
- package/client/lib/typeorm/data-source/DataSourceOptions.d.ts +0 -9
- package/client/lib/typeorm/data-source/index.d.ts +0 -3
- package/client/lib/typeorm/decorator/Check.d.ts +0 -13
- package/client/lib/typeorm/decorator/EntityRepository.d.ts +0 -10
- package/client/lib/typeorm/decorator/Exclusion.d.ts +0 -13
- package/client/lib/typeorm/decorator/Generated.d.ts +0 -11
- package/client/lib/typeorm/decorator/Index.d.ts +0 -50
- package/client/lib/typeorm/decorator/Unique.d.ts +0 -22
- package/client/lib/typeorm/decorator/columns/Column.d.ts +0 -75
- package/client/lib/typeorm/decorator/columns/CreateDateColumn.d.ts +0 -8
- package/client/lib/typeorm/decorator/columns/DeleteDateColumn.d.ts +0 -7
- package/client/lib/typeorm/decorator/columns/ObjectIdColumn.d.ts +0 -7
- package/client/lib/typeorm/decorator/columns/PrimaryColumn.d.ts +0 -22
- package/client/lib/typeorm/decorator/columns/PrimaryGeneratedColumn.d.ts +0 -25
- package/client/lib/typeorm/decorator/columns/UpdateDateColumn.d.ts +0 -7
- package/client/lib/typeorm/decorator/columns/VersionColumn.d.ts +0 -8
- package/client/lib/typeorm/decorator/columns/ViewColumn.d.ts +0 -6
- package/client/lib/typeorm/decorator/columns/VirtualColumn.d.ts +0 -11
- package/client/lib/typeorm/decorator/entity/ChildEntity.d.ts +0 -5
- package/client/lib/typeorm/decorator/entity/Entity.d.ts +0 -12
- package/client/lib/typeorm/decorator/entity/TableInheritance.d.ts +0 -9
- package/client/lib/typeorm/decorator/entity-view/ViewEntity.d.ts +0 -12
- package/client/lib/typeorm/decorator/listeners/AfterInsert.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/AfterLoad.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/AfterRecover.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/AfterRemove.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/AfterSoftRemove.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/AfterUpdate.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/BeforeInsert.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/BeforeRecover.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/BeforeRemove.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/BeforeSoftRemove.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/BeforeUpdate.d.ts +0 -5
- package/client/lib/typeorm/decorator/listeners/EventSubscriber.d.ts +0 -6
- package/client/lib/typeorm/decorator/options/ColumnCommonOptions.d.ts +0 -58
- package/client/lib/typeorm/decorator/options/ColumnEmbeddedOptions.d.ts +0 -17
- package/client/lib/typeorm/decorator/options/ColumnEnumOptions.d.ts +0 -14
- package/client/lib/typeorm/decorator/options/ColumnHstoreOptions.d.ts +0 -11
- package/client/lib/typeorm/decorator/options/ColumnNumericOptions.d.ts +0 -25
- package/client/lib/typeorm/decorator/options/ColumnOptions.d.ts +0 -159
- package/client/lib/typeorm/decorator/options/ColumnWithLengthOptions.d.ts +0 -11
- package/client/lib/typeorm/decorator/options/ColumnWithWidthOptions.d.ts +0 -20
- package/client/lib/typeorm/decorator/options/EntityOptions.d.ts +0 -43
- package/client/lib/typeorm/decorator/options/IndexOptions.d.ts +0 -53
- package/client/lib/typeorm/decorator/options/JoinColumnOptions.d.ts +0 -18
- package/client/lib/typeorm/decorator/options/JoinTableMultipleColumnsOptions.d.ts +0 -30
- package/client/lib/typeorm/decorator/options/JoinTableOptions.d.ts +0 -30
- package/client/lib/typeorm/decorator/options/PrimaryGeneratedColumnIdentityOptions.d.ts +0 -27
- package/client/lib/typeorm/decorator/options/PrimaryGeneratedColumnNumericOptions.d.ts +0 -32
- package/client/lib/typeorm/decorator/options/PrimaryGeneratedColumnUUIDOptions.d.ts +0 -18
- package/client/lib/typeorm/decorator/options/RelationOptions.d.ts +0 -65
- package/client/lib/typeorm/decorator/options/SpatialColumnOptions.d.ts +0 -16
- package/client/lib/typeorm/decorator/options/UniqueOptions.d.ts +0 -11
- package/client/lib/typeorm/decorator/options/ValueTransformer.d.ts +0 -14
- package/client/lib/typeorm/decorator/options/ViewColumnOptions.d.ts +0 -16
- package/client/lib/typeorm/decorator/options/ViewEntityOptions.d.ts +0 -40
- package/client/lib/typeorm/decorator/options/VirtualColumnOptions.d.ts +0 -28
- package/client/lib/typeorm/decorator/relations/JoinColumn.d.ts +0 -20
- package/client/lib/typeorm/decorator/relations/JoinTable.d.ts +0 -18
- package/client/lib/typeorm/decorator/relations/ManyToMany.d.ts +0 -15
- package/client/lib/typeorm/decorator/relations/ManyToOne.d.ts +0 -15
- package/client/lib/typeorm/decorator/relations/OneToMany.d.ts +0 -9
- package/client/lib/typeorm/decorator/relations/OneToOne.d.ts +0 -13
- package/client/lib/typeorm/decorator/relations/RelationCount.d.ts +0 -8
- package/client/lib/typeorm/decorator/relations/RelationId.d.ts +0 -8
- package/client/lib/typeorm/decorator/tree/Tree.d.ts +0 -10
- package/client/lib/typeorm/decorator/tree/TreeChildren.d.ts +0 -8
- package/client/lib/typeorm/decorator/tree/TreeLevelColumn.d.ts +0 -5
- package/client/lib/typeorm/decorator/tree/TreeParent.d.ts +0 -9
- package/client/lib/typeorm/driver/Driver.d.ts +0 -208
- package/client/lib/typeorm/driver/DriverFactory.d.ts +0 -12
- package/client/lib/typeorm/driver/DriverUtils.d.ts +0 -62
- package/client/lib/typeorm/driver/Query.d.ts +0 -10
- package/client/lib/typeorm/driver/SqlInMemory.d.ts +0 -9
- package/client/lib/typeorm/driver/cordova/CordovaConnectionOptions.d.ts +0 -25
- package/client/lib/typeorm/driver/cordova/CordovaDriver.d.ts +0 -26
- package/client/lib/typeorm/driver/cordova/CordovaQueryRunner.d.ts +0 -81
- package/client/lib/typeorm/driver/mongodb/typings.d.ts +0 -46
- package/client/lib/typeorm/driver/nativescript/NativescriptConnectionOptions.d.ts +0 -46
- package/client/lib/typeorm/driver/nativescript/NativescriptDriver.d.ts +0 -45
- package/client/lib/typeorm/driver/nativescript/NativescriptQueryRunner.d.ts +0 -30
- package/client/lib/typeorm/driver/react-native/ReactNativeConnectionOptions.d.ts +0 -25
- package/client/lib/typeorm/driver/react-native/ReactNativeDriver.d.ts +0 -26
- package/client/lib/typeorm/driver/react-native/ReactNativeQueryRunner.d.ts +0 -30
- package/client/lib/typeorm/driver/sqlite-abstract/AbstractSqliteDriver.d.ts +0 -238
- package/client/lib/typeorm/driver/sqlite-abstract/AbstractSqliteQueryRunner.d.ts +0 -301
- package/client/lib/typeorm/driver/sqljs/SqljsConnectionOptions.d.ts +0 -47
- package/client/lib/typeorm/driver/sqljs/SqljsDriver.d.ts +0 -68
- package/client/lib/typeorm/driver/sqljs/SqljsQueryRunner.d.ts +0 -36
- package/client/lib/typeorm/driver/types/ColumnTypes.d.ts +0 -26
- package/client/lib/typeorm/driver/types/CteCapabilities.d.ts +0 -19
- package/client/lib/typeorm/driver/types/DataTypeDefaults.d.ts +0 -9
- package/client/lib/typeorm/driver/types/DatabaseType.d.ts +0 -5
- package/client/lib/typeorm/driver/types/IsolationLevel.d.ts +0 -2
- package/client/lib/typeorm/driver/types/MappedColumnTypes.d.ts +0 -113
- package/client/lib/typeorm/driver/types/MetadataTableType.d.ts +0 -6
- package/client/lib/typeorm/driver/types/ReplicationMode.d.ts +0 -2
- package/client/lib/typeorm/driver/types/UpsertType.d.ts +0 -2
- package/client/lib/typeorm/entity-manager/EntityManager.d.ts +0 -353
- package/client/lib/typeorm/entity-manager/EntityManagerFactory.d.ts +0 -13
- package/client/lib/typeorm/entity-manager/SqljsEntityManager.d.ts +0 -27
- package/client/lib/typeorm/entity-schema/EntitySchema.d.ts +0 -10
- package/client/lib/typeorm/entity-schema/EntitySchemaCheckOptions.d.ts +0 -11
- package/client/lib/typeorm/entity-schema/EntitySchemaColumnOptions.d.ts +0 -175
- package/client/lib/typeorm/entity-schema/EntitySchemaEmbeddedColumnOptions.d.ts +0 -19
- package/client/lib/typeorm/entity-schema/EntitySchemaEmbeddedError.d.ts +0 -7
- package/client/lib/typeorm/entity-schema/EntitySchemaExclusionOptions.d.ts +0 -11
- package/client/lib/typeorm/entity-schema/EntitySchemaIndexOptions.d.ts +0 -54
- package/client/lib/typeorm/entity-schema/EntitySchemaOptions.d.ts +0 -104
- package/client/lib/typeorm/entity-schema/EntitySchemaRelationIdOptions.d.ts +0 -16
- package/client/lib/typeorm/entity-schema/EntitySchemaRelationOptions.d.ts +0 -96
- package/client/lib/typeorm/entity-schema/EntitySchemaTransformer.d.ts +0 -14
- package/client/lib/typeorm/entity-schema/EntitySchemaUniqueOptions.d.ts +0 -18
- package/client/lib/typeorm/error/AlreadyHasActiveConnectionError.d.ts +0 -8
- package/client/lib/typeorm/error/CannotAttachTreeChildrenEntityError.d.ts +0 -8
- package/client/lib/typeorm/error/CannotConnectAlreadyConnectedError.d.ts +0 -8
- package/client/lib/typeorm/error/CannotCreateEntityIdMapError.d.ts +0 -10
- package/client/lib/typeorm/error/CannotDetermineEntityError.d.ts +0 -8
- package/client/lib/typeorm/error/CannotExecuteNotConnectedError.d.ts +0 -8
- package/client/lib/typeorm/error/CannotGetEntityManagerNotConnectedError.d.ts +0 -8
- package/client/lib/typeorm/error/CannotReflectMethodParameterTypeError.d.ts +0 -9
- package/client/lib/typeorm/error/CircularRelationsError.d.ts +0 -8
- package/client/lib/typeorm/error/ColumnTypeUndefinedError.d.ts +0 -9
- package/client/lib/typeorm/error/ConnectionIsNotSetError.d.ts +0 -8
- package/client/lib/typeorm/error/ConnectionNotFoundError.d.ts +0 -8
- package/client/lib/typeorm/error/CustomRepositoryCannotInheritRepositoryError.d.ts +0 -8
- package/client/lib/typeorm/error/CustomRepositoryDoesNotHaveEntityError.d.ts +0 -8
- package/client/lib/typeorm/error/CustomRepositoryNotFoundError.d.ts +0 -8
- package/client/lib/typeorm/error/DataTypeNotSupportedError.d.ts +0 -8
- package/client/lib/typeorm/error/DriverOptionNotSetError.d.ts +0 -8
- package/client/lib/typeorm/error/DriverPackageNotInstalledError.d.ts +0 -8
- package/client/lib/typeorm/error/EntityMetadataNotFoundError.d.ts +0 -7
- package/client/lib/typeorm/error/EntityNotFoundError.d.ts +0 -11
- package/client/lib/typeorm/error/EntityPropertyNotFoundError.d.ts +0 -9
- package/client/lib/typeorm/error/FindRelationsNotFoundError.d.ts +0 -8
- package/client/lib/typeorm/error/InitializedRelationError.d.ts +0 -12
- package/client/lib/typeorm/error/InsertValuesMissingError.d.ts +0 -8
- package/client/lib/typeorm/error/LimitOnUpdateNotSupportedError.d.ts +0 -8
- package/client/lib/typeorm/error/LockNotSupportedOnGivenDriverError.d.ts +0 -8
- package/client/lib/typeorm/error/MetadataAlreadyExistsError.d.ts +0 -5
- package/client/lib/typeorm/error/MetadataWithSuchNameAlreadyExistsError.d.ts +0 -5
- package/client/lib/typeorm/error/MissingDeleteDateColumnError.d.ts +0 -6
- package/client/lib/typeorm/error/MissingDriverError.d.ts +0 -8
- package/client/lib/typeorm/error/MissingJoinColumnError.d.ts +0 -7
- package/client/lib/typeorm/error/MissingJoinTableError.d.ts +0 -7
- package/client/lib/typeorm/error/MissingPrimaryColumnError.d.ts +0 -6
- package/client/lib/typeorm/error/MustBeEntityError.d.ts +0 -8
- package/client/lib/typeorm/error/NamingStrategyNotFoundError.d.ts +0 -8
- package/client/lib/typeorm/error/NestedSetMultipleRootError.d.ts +0 -5
- package/client/lib/typeorm/error/NoConnectionForRepositoryError.d.ts +0 -8
- package/client/lib/typeorm/error/NoConnectionOptionError.d.ts +0 -8
- package/client/lib/typeorm/error/NoNeedToReleaseEntityManagerError.d.ts +0 -8
- package/client/lib/typeorm/error/NoVersionOrUpdateDateColumnError.d.ts +0 -8
- package/client/lib/typeorm/error/OffsetWithoutLimitNotSupportedError.d.ts +0 -8
- package/client/lib/typeorm/error/OptimisticLockCanNotBeUsedError.d.ts +0 -8
- package/client/lib/typeorm/error/OptimisticLockVersionMismatchError.d.ts +0 -8
- package/client/lib/typeorm/error/PersistedEntityNotFoundError.d.ts +0 -8
- package/client/lib/typeorm/error/PessimisticLockTransactionRequiredError.d.ts +0 -8
- package/client/lib/typeorm/error/PrimaryColumnCannotBeNullableError.d.ts +0 -5
- package/client/lib/typeorm/error/QueryFailedError.d.ts +0 -11
- package/client/lib/typeorm/error/QueryRunnerAlreadyReleasedError.d.ts +0 -5
- package/client/lib/typeorm/error/QueryRunnerProviderAlreadyReleasedError.d.ts +0 -8
- package/client/lib/typeorm/error/RepositoryNotTreeError.d.ts +0 -9
- package/client/lib/typeorm/error/ReturningStatementNotSupportedError.d.ts +0 -9
- package/client/lib/typeorm/error/SubjectRemovedAndUpdatedError.d.ts +0 -9
- package/client/lib/typeorm/error/SubjectWithoutIdentifierError.d.ts +0 -11
- package/client/lib/typeorm/error/TransactionAlreadyStartedError.d.ts +0 -8
- package/client/lib/typeorm/error/TransactionNotStartedError.d.ts +0 -8
- package/client/lib/typeorm/error/TreeRepositoryNotSupportedError.d.ts +0 -6
- package/client/lib/typeorm/error/TypeORMError.d.ts +0 -5
- package/client/lib/typeorm/error/UpdateValuesMissingError.d.ts +0 -5
- package/client/lib/typeorm/error/UsingJoinColumnIsNotAllowedError.d.ts +0 -7
- package/client/lib/typeorm/error/UsingJoinColumnOnlyOnOneSideAllowedError.d.ts +0 -7
- package/client/lib/typeorm/error/UsingJoinTableIsNotAllowedError.d.ts +0 -7
- package/client/lib/typeorm/error/UsingJoinTableOnlyOnOneSideAllowedError.d.ts +0 -7
- package/client/lib/typeorm/error/index.d.ts +0 -62
- package/client/lib/typeorm/find-options/EqualOperator.d.ts +0 -6
- package/client/lib/typeorm/find-options/FindManyOptions.d.ts +0 -15
- package/client/lib/typeorm/find-options/FindOneOptions.d.ts +0 -89
- package/client/lib/typeorm/find-options/FindOperator.d.ts +0 -66
- package/client/lib/typeorm/find-options/FindOperatorType.d.ts +0 -5
- package/client/lib/typeorm/find-options/FindOptionsOrder.d.ts +0 -19
- package/client/lib/typeorm/find-options/FindOptionsRelations.d.ts +0 -19
- package/client/lib/typeorm/find-options/FindOptionsSelect.d.ts +0 -18
- package/client/lib/typeorm/find-options/FindOptionsUtils.d.ts +0 -191
- package/client/lib/typeorm/find-options/FindOptionsWhere.d.ts +0 -14
- package/client/lib/typeorm/find-options/FindTreeOptions.d.ts +0 -14
- package/client/lib/typeorm/find-options/JoinOptions.d.ts +0 -77
- package/client/lib/typeorm/find-options/OrderByCondition.d.ts +0 -18
- package/client/lib/typeorm/find-options/operator/Any.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/ArrayContainedBy.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/ArrayContains.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/ArrayOverlap.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/Between.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/Equal.d.ts +0 -12
- package/client/lib/typeorm/find-options/operator/ILike.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/In.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/IsNull.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/LessThan.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/LessThanOrEqual.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/Like.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/MoreThan.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/MoreThanOrEqual.d.ts +0 -7
- package/client/lib/typeorm/find-options/operator/Not.d.ts +0 -8
- package/client/lib/typeorm/find-options/operator/Raw.d.ts +0 -19
- package/client/lib/typeorm/globals.d.ts +0 -104
- package/client/lib/typeorm/index.d.ts +0 -168
- package/client/lib/typeorm/logger/AdvancedConsoleLogger.d.ts +0 -42
- package/client/lib/typeorm/logger/DebugLogger.d.ts +0 -41
- package/client/lib/typeorm/logger/Logger.d.ts +0 -32
- package/client/lib/typeorm/logger/LoggerFactory.d.ts +0 -12
- package/client/lib/typeorm/logger/LoggerOptions.d.ts +0 -14
- package/client/lib/typeorm/logger/SimpleConsoleLogger.d.ts +0 -42
- package/client/lib/typeorm/metadata/CheckMetadata.d.ts +0 -40
- package/client/lib/typeorm/metadata/ColumnMetadata.d.ts +0 -316
- package/client/lib/typeorm/metadata/EmbeddedMetadata.d.ts +0 -166
- package/client/lib/typeorm/metadata/EntityListenerMetadata.d.ts +0 -49
- package/client/lib/typeorm/metadata/EntityMetadata.d.ts +0 -562
- package/client/lib/typeorm/metadata/ExclusionMetadata.d.ts +0 -40
- package/client/lib/typeorm/metadata/ForeignKeyMetadata.d.ts +0 -78
- package/client/lib/typeorm/metadata/IndexMetadata.d.ts +0 -112
- package/client/lib/typeorm/metadata/RelationCountMetadata.d.ts +0 -47
- package/client/lib/typeorm/metadata/RelationIdMetadata.d.ts +0 -54
- package/client/lib/typeorm/metadata/RelationMetadata.d.ts +0 -291
- package/client/lib/typeorm/metadata/UniqueMetadata.d.ts +0 -66
- package/client/lib/typeorm/metadata/types/ClosureTreeOptions.d.ts +0 -11
- package/client/lib/typeorm/metadata/types/DeferrableType.d.ts +0 -5
- package/client/lib/typeorm/metadata/types/EventListenerTypes.d.ts +0 -21
- package/client/lib/typeorm/metadata/types/OnDeleteType.d.ts +0 -5
- package/client/lib/typeorm/metadata/types/OnUpdateType.d.ts +0 -5
- package/client/lib/typeorm/metadata/types/PropertyTypeInFunction.d.ts +0 -5
- package/client/lib/typeorm/metadata/types/RelationTypeInFunction.d.ts +0 -6
- package/client/lib/typeorm/metadata/types/RelationTypes.d.ts +0 -5
- package/client/lib/typeorm/metadata/types/TableTypes.d.ts +0 -5
- package/client/lib/typeorm/metadata/types/TreeTypes.d.ts +0 -6
- package/client/lib/typeorm/metadata-args/CheckMetadataArgs.d.ts +0 -18
- package/client/lib/typeorm/metadata-args/ColumnMetadataArgs.d.ts +0 -26
- package/client/lib/typeorm/metadata-args/DiscriminatorValueMetadataArgs.d.ts +0 -14
- package/client/lib/typeorm/metadata-args/EmbeddedMetadataArgs.d.ts +0 -27
- package/client/lib/typeorm/metadata-args/EntityListenerMetadataArgs.d.ts +0 -19
- package/client/lib/typeorm/metadata-args/EntityRepositoryMetadataArgs.d.ts +0 -15
- package/client/lib/typeorm/metadata-args/EntitySubscriberMetadataArgs.d.ts +0 -10
- package/client/lib/typeorm/metadata-args/ExclusionMetadataArgs.d.ts +0 -18
- package/client/lib/typeorm/metadata-args/GeneratedMetadataArgs.d.ts +0 -18
- package/client/lib/typeorm/metadata-args/IndexMetadataArgs.d.ts +0 -71
- package/client/lib/typeorm/metadata-args/InheritanceMetadataArgs.d.ts +0 -19
- package/client/lib/typeorm/metadata-args/JoinColumnMetadataArgs.d.ts +0 -27
- package/client/lib/typeorm/metadata-args/JoinTableMetadataArgs.d.ts +0 -38
- package/client/lib/typeorm/metadata-args/MetadataArgsStorage.d.ts +0 -109
- package/client/lib/typeorm/metadata-args/NamingStrategyMetadataArgs.d.ts +0 -14
- package/client/lib/typeorm/metadata-args/RelationCountMetadataArgs.d.ts +0 -27
- package/client/lib/typeorm/metadata-args/RelationIdMetadataArgs.d.ts +0 -27
- package/client/lib/typeorm/metadata-args/RelationMetadataArgs.d.ts +0 -56
- package/client/lib/typeorm/metadata-args/TableMetadataArgs.d.ts +0 -62
- package/client/lib/typeorm/metadata-args/TransactionEntityMetadataArgs.d.ts +0 -18
- package/client/lib/typeorm/metadata-args/TransactionRepositoryMetadataArgs.d.ts +0 -26
- package/client/lib/typeorm/metadata-args/TreeMetadataArgs.d.ts +0 -20
- package/client/lib/typeorm/metadata-args/UniqueMetadataArgs.d.ts +0 -25
- package/client/lib/typeorm/metadata-args/types/ColumnMode.d.ts +0 -8
- package/client/lib/typeorm/metadata-builder/ClosureJunctionEntityMetadataBuilder.d.ts +0 -15
- package/client/lib/typeorm/metadata-builder/EntityMetadataBuilder.d.ts +0 -58
- package/client/lib/typeorm/metadata-builder/EntityMetadataValidator.d.ts +0 -24
- package/client/lib/typeorm/metadata-builder/JunctionEntityMetadataBuilder.d.ts +0 -27
- package/client/lib/typeorm/metadata-builder/MetadataUtils.d.ts +0 -24
- package/client/lib/typeorm/metadata-builder/RelationJoinColumnBuilder.d.ts +0 -57
- package/client/lib/typeorm/migration/Migration.d.ts +0 -25
- package/client/lib/typeorm/migration/MigrationExecutor.d.ts +0 -100
- package/client/lib/typeorm/migration/MigrationInterface.d.ts +0 -19
- package/client/lib/typeorm/naming-strategy/DefaultNamingStrategy.d.ts +0 -50
- package/client/lib/typeorm/naming-strategy/NamingStrategyInterface.d.ts +0 -117
- package/client/lib/typeorm/persistence/EntityPersistExecutor.d.ts +0 -22
- package/client/lib/typeorm/persistence/Subject.d.ts +0 -156
- package/client/lib/typeorm/persistence/SubjectChangeMap.d.ts +0 -24
- package/client/lib/typeorm/persistence/SubjectChangedColumnsComputer.d.ts +0 -19
- package/client/lib/typeorm/persistence/SubjectDatabaseEntityLoader.d.ts +0 -36
- package/client/lib/typeorm/persistence/SubjectExecutor.d.ts +0 -119
- package/client/lib/typeorm/persistence/SubjectTopoligicalSorter.d.ts +0 -46
- package/client/lib/typeorm/persistence/subject-builder/CascadesSubjectBuilder.d.ts +0 -20
- package/client/lib/typeorm/persistence/subject-builder/ManyToManySubjectBuilder.d.ts +0 -35
- package/client/lib/typeorm/persistence/subject-builder/OneToManySubjectBuilder.d.ts +0 -28
- package/client/lib/typeorm/persistence/subject-builder/OneToOneInverseSideSubjectBuilder.d.ts +0 -28
- package/client/lib/typeorm/persistence/tree/ClosureSubjectExecutor.d.ts +0 -27
- package/client/lib/typeorm/persistence/tree/MaterializedPathSubjectExecutor.d.ts +0 -19
- package/client/lib/typeorm/persistence/tree/NestedSetSubjectExecutor.d.ts +0 -39
- package/client/lib/typeorm/platform/PlatformTools.d.ts +0 -65
- package/client/lib/typeorm/query-builder/Alias.d.ts +0 -23
- package/client/lib/typeorm/query-builder/Brackets.d.ts +0 -17
- package/client/lib/typeorm/query-builder/DeleteQueryBuilder.d.ts +0 -92
- package/client/lib/typeorm/query-builder/InsertOrUpdateOptions.d.ts +0 -4
- package/client/lib/typeorm/query-builder/InsertQueryBuilder.d.ts +0 -118
- package/client/lib/typeorm/query-builder/JoinAttribute.d.ts +0 -84
- package/client/lib/typeorm/query-builder/NotBrackets.d.ts +0 -9
- package/client/lib/typeorm/query-builder/QueryBuilder.d.ts +0 -268
- package/client/lib/typeorm/query-builder/QueryBuilderCte.d.ts +0 -18
- package/client/lib/typeorm/query-builder/QueryBuilderUtils.d.ts +0 -11
- package/client/lib/typeorm/query-builder/QueryExpressionMap.d.ts +0 -306
- package/client/lib/typeorm/query-builder/QueryPartialEntity.d.ts +0 -16
- package/client/lib/typeorm/query-builder/RelationIdLoader.d.ts +0 -71
- package/client/lib/typeorm/query-builder/RelationLoader.d.ts +0 -60
- package/client/lib/typeorm/query-builder/RelationQueryBuilder.d.ts +0 -70
- package/client/lib/typeorm/query-builder/RelationRemover.d.ts +0 -17
- package/client/lib/typeorm/query-builder/RelationUpdater.d.ts +0 -17
- package/client/lib/typeorm/query-builder/ReturningResultsEntityUpdator.d.ts +0 -31
- package/client/lib/typeorm/query-builder/SelectQuery.d.ts +0 -6
- package/client/lib/typeorm/query-builder/SelectQueryBuilder.d.ts +0 -665
- package/client/lib/typeorm/query-builder/SelectQueryBuilderOption.d.ts +0 -2
- package/client/lib/typeorm/query-builder/SoftDeleteQueryBuilder.d.ts +0 -139
- package/client/lib/typeorm/query-builder/UpdateQueryBuilder.d.ts +0 -144
- package/client/lib/typeorm/query-builder/WhereClause.d.ts +0 -17
- package/client/lib/typeorm/query-builder/WhereExpressionBuilder.d.ts +0 -127
- package/client/lib/typeorm/query-builder/relation-count/RelationCountAttribute.d.ts +0 -54
- package/client/lib/typeorm/query-builder/relation-count/RelationCountLoadResult.d.ts +0 -9
- package/client/lib/typeorm/query-builder/relation-count/RelationCountLoader.d.ts +0 -12
- package/client/lib/typeorm/query-builder/relation-count/RelationCountMetadataToAttributeTransformer.d.ts +0 -8
- package/client/lib/typeorm/query-builder/relation-id/RelationIdAttribute.d.ts +0 -65
- package/client/lib/typeorm/query-builder/relation-id/RelationIdLoadResult.d.ts +0 -6
- package/client/lib/typeorm/query-builder/relation-id/RelationIdLoader.d.ts +0 -12
- package/client/lib/typeorm/query-builder/relation-id/RelationIdMetadataToAttributeTransformer.d.ts +0 -8
- package/client/lib/typeorm/query-builder/result/DeleteResult.d.ts +0 -17
- package/client/lib/typeorm/query-builder/result/InsertResult.d.ts +0 -23
- package/client/lib/typeorm/query-builder/result/UpdateResult.d.ts +0 -27
- package/client/lib/typeorm/query-builder/transformer/PlainObjectToDatabaseEntityTransformer.d.ts +0 -13
- package/client/lib/typeorm/query-builder/transformer/PlainObjectToNewEntityTransformer.d.ts +0 -15
- package/client/lib/typeorm/query-builder/transformer/RawSqlResultsToEntityTransformer.d.ts +0 -56
- package/client/lib/typeorm/query-runner/BaseQueryRunner.d.ts +0 -204
- package/client/lib/typeorm/query-runner/QueryResult.d.ts +0 -18
- package/client/lib/typeorm/query-runner/QueryRunner.d.ts +0 -359
- package/client/lib/typeorm/relation-path.d.ts +0 -7
- package/client/lib/typeorm/repository/AbstractRepository.d.ts +0 -52
- package/client/lib/typeorm/repository/BaseEntity.d.ts +0 -298
- package/client/lib/typeorm/repository/FindTreesOptions.d.ts +0 -10
- package/client/lib/typeorm/repository/RemoveOptions.d.ts +0 -28
- package/client/lib/typeorm/repository/Repository.d.ts +0 -292
- package/client/lib/typeorm/repository/SaveOptions.d.ts +0 -36
- package/client/lib/typeorm/repository/TreeRepository.d.ts +0 -56
- package/client/lib/typeorm/repository/UpsertOptions.d.ts +0 -11
- package/client/lib/typeorm/schema-builder/RdbmsSchemaBuilder.d.ts +0 -145
- package/client/lib/typeorm/schema-builder/SchemaBuilder.d.ts +0 -15
- package/client/lib/typeorm/schema-builder/options/TableCheckOptions.d.ts +0 -18
- package/client/lib/typeorm/schema-builder/options/TableColumnOptions.d.ts +0 -123
- package/client/lib/typeorm/schema-builder/options/TableExclusionOptions.d.ts +0 -14
- package/client/lib/typeorm/schema-builder/options/TableForeignKeyOptions.d.ts +0 -45
- package/client/lib/typeorm/schema-builder/options/TableIndexOptions.d.ts +0 -45
- package/client/lib/typeorm/schema-builder/options/TableOptions.d.ts +0 -62
- package/client/lib/typeorm/schema-builder/options/TableUniqueOptions.d.ts +0 -19
- package/client/lib/typeorm/schema-builder/options/ViewOptions.d.ts +0 -27
- package/client/lib/typeorm/schema-builder/table/Table.d.ts +0 -143
- package/client/lib/typeorm/schema-builder/table/TableCheck.d.ts +0 -30
- package/client/lib/typeorm/schema-builder/table/TableColumn.d.ts +0 -127
- package/client/lib/typeorm/schema-builder/table/TableExclusion.d.ts +0 -26
- package/client/lib/typeorm/schema-builder/table/TableForeignKey.d.ts +0 -58
- package/client/lib/typeorm/schema-builder/table/TableIndex.d.ts +0 -57
- package/client/lib/typeorm/schema-builder/table/TableUnique.d.ts +0 -31
- package/client/lib/typeorm/schema-builder/util/TableUtils.d.ts +0 -7
- package/client/lib/typeorm/schema-builder/util/ViewUtils.d.ts +0 -8
- package/client/lib/typeorm/schema-builder/view/View.d.ts +0 -38
- package/client/lib/typeorm/subscriber/Broadcaster.d.ts +0 -168
- package/client/lib/typeorm/subscriber/BroadcasterResult.d.ts +0 -18
- package/client/lib/typeorm/subscriber/EntitySubscriberInterface.d.ts +0 -93
- package/client/lib/typeorm/subscriber/event/InsertEvent.d.ts +0 -32
- package/client/lib/typeorm/subscriber/event/LoadEvent.d.ts +0 -32
- package/client/lib/typeorm/subscriber/event/RecoverEvent.d.ts +0 -7
- package/client/lib/typeorm/subscriber/event/RemoveEvent.d.ts +0 -41
- package/client/lib/typeorm/subscriber/event/SoftRemoveEvent.d.ts +0 -7
- package/client/lib/typeorm/subscriber/event/TransactionCommitEvent.d.ts +0 -23
- package/client/lib/typeorm/subscriber/event/TransactionRollbackEvent.d.ts +0 -23
- package/client/lib/typeorm/subscriber/event/TransactionStartEvent.d.ts +0 -23
- package/client/lib/typeorm/subscriber/event/UpdateEvent.d.ts +0 -47
- package/client/lib/typeorm/util/ApplyValueTransformers.d.ts +0 -6
- package/client/lib/typeorm/util/DateUtils.d.ts +0 -59
- package/client/lib/typeorm/util/DepGraph.d.ts +0 -65
- package/client/lib/typeorm/util/DirectoryExportedClassesLoader.d.ts +0 -10
- package/client/lib/typeorm/util/ImportUtils.d.ts +0 -2
- package/client/lib/typeorm/util/InstanceChecker.d.ts +0 -60
- package/client/lib/typeorm/util/ObjectUtils.d.ts +0 -38
- package/client/lib/typeorm/util/OrmUtils.d.ts +0 -53
- package/client/lib/typeorm/util/PathUtils.d.ts +0 -11
- package/client/lib/typeorm/util/RandomGenerator.d.ts +0 -16
- package/client/lib/typeorm/util/StringUtils.d.ts +0 -64
- package/client/lib/typeorm/util/TreeRepositoryUtils.d.ts +0 -24
- package/client/lib/typeorm/util/VersionUtils.d.ts +0 -5
- package/client/lib/typeorm/util/escapeRegExp.d.ts +0 -2
- package/client/public-api.d.ts +0 -2
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { ColumnOptions } from "../decorator/options/ColumnOptions";
|
|
3
|
-
import { ColumnMode } from "./types/ColumnMode";
|
|
4
|
-
/**
|
|
5
|
-
* Arguments for ColumnMetadata class.
|
|
6
|
-
*/
|
|
7
|
-
export interface ColumnMetadataArgs {
|
|
8
|
-
/**
|
|
9
|
-
* Class to which column is applied.
|
|
10
|
-
*/
|
|
11
|
-
readonly target: Function | string;
|
|
12
|
-
/**
|
|
13
|
-
* Class's property name to which column is applied.
|
|
14
|
-
*/
|
|
15
|
-
readonly propertyName: string;
|
|
16
|
-
/**
|
|
17
|
-
* Column mode in which column will work.
|
|
18
|
-
*
|
|
19
|
-
* todo: find name better then "mode".
|
|
20
|
-
*/
|
|
21
|
-
readonly mode: ColumnMode;
|
|
22
|
-
/**
|
|
23
|
-
* Extra column options.
|
|
24
|
-
*/
|
|
25
|
-
readonly options: ColumnOptions;
|
|
26
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
/**
|
|
3
|
-
* DiscriminatorValue properties.
|
|
4
|
-
*/
|
|
5
|
-
export interface DiscriminatorValueMetadataArgs {
|
|
6
|
-
/**
|
|
7
|
-
* Class to which discriminator name is applied.
|
|
8
|
-
*/
|
|
9
|
-
readonly target: Function | string;
|
|
10
|
-
/**
|
|
11
|
-
* Discriminator value.
|
|
12
|
-
*/
|
|
13
|
-
readonly value: any;
|
|
14
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
/**
|
|
3
|
-
* Arguments for EmbeddedMetadata class.
|
|
4
|
-
*/
|
|
5
|
-
export interface EmbeddedMetadataArgs {
|
|
6
|
-
/**
|
|
7
|
-
* Class to which this column is applied.
|
|
8
|
-
*/
|
|
9
|
-
target: Function | string;
|
|
10
|
-
/**
|
|
11
|
-
* Class's property name to which this column is applied.
|
|
12
|
-
*/
|
|
13
|
-
propertyName: string;
|
|
14
|
-
/**
|
|
15
|
-
* Indicates if this embedded is array or not.
|
|
16
|
-
*/
|
|
17
|
-
isArray: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Prefix of the embedded, used instead of propertyName.
|
|
20
|
-
* If set to empty string, then prefix is not set at all.
|
|
21
|
-
*/
|
|
22
|
-
prefix?: string | boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Type of the class to be embedded.
|
|
25
|
-
*/
|
|
26
|
-
type: (type?: any) => Function | string;
|
|
27
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { EventListenerType } from "../metadata/types/EventListenerTypes";
|
|
3
|
-
/**
|
|
4
|
-
* Arguments for EntityListenerMetadata class.
|
|
5
|
-
*/
|
|
6
|
-
export interface EntityListenerMetadataArgs {
|
|
7
|
-
/**
|
|
8
|
-
* Class to which listener is applied.
|
|
9
|
-
*/
|
|
10
|
-
readonly target: Function;
|
|
11
|
-
/**
|
|
12
|
-
* Class's property name to which listener is applied.
|
|
13
|
-
*/
|
|
14
|
-
readonly propertyName: string;
|
|
15
|
-
/**
|
|
16
|
-
* The type of the listener.
|
|
17
|
-
*/
|
|
18
|
-
readonly type: EventListenerType;
|
|
19
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { EntityTarget } from "../common/EntityTarget";
|
|
3
|
-
/**
|
|
4
|
-
* Arguments for EntityRepositoryMetadata class, helps to construct an EntityRepositoryMetadata object.
|
|
5
|
-
*/
|
|
6
|
-
export interface EntityRepositoryMetadataArgs {
|
|
7
|
-
/**
|
|
8
|
-
* Constructor of the custom entity repository.
|
|
9
|
-
*/
|
|
10
|
-
readonly target: Function;
|
|
11
|
-
/**
|
|
12
|
-
* Entity managed by this custom repository.
|
|
13
|
-
*/
|
|
14
|
-
readonly entity?: EntityTarget<any>;
|
|
15
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
/**
|
|
3
|
-
* Arguments for ExclusionMetadata class.
|
|
4
|
-
*/
|
|
5
|
-
export interface ExclusionMetadataArgs {
|
|
6
|
-
/**
|
|
7
|
-
* Class to which index is applied.
|
|
8
|
-
*/
|
|
9
|
-
target: Function | string;
|
|
10
|
-
/**
|
|
11
|
-
* Exclusion constraint name.
|
|
12
|
-
*/
|
|
13
|
-
name?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Exclusion expression.
|
|
16
|
-
*/
|
|
17
|
-
expression: string;
|
|
18
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
/**
|
|
3
|
-
* Arguments for Generated decorator class.
|
|
4
|
-
*/
|
|
5
|
-
export interface GeneratedMetadataArgs {
|
|
6
|
-
/**
|
|
7
|
-
* Class to which decorator is applied.
|
|
8
|
-
*/
|
|
9
|
-
readonly target: Function | string;
|
|
10
|
-
/**
|
|
11
|
-
* Class's property name to which decorator is applied.
|
|
12
|
-
*/
|
|
13
|
-
readonly propertyName: string;
|
|
14
|
-
/**
|
|
15
|
-
* Generation strategy.
|
|
16
|
-
*/
|
|
17
|
-
readonly strategy: "uuid" | "increment" | "rowid";
|
|
18
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
/**
|
|
3
|
-
* Arguments for IndexMetadata class.
|
|
4
|
-
*/
|
|
5
|
-
export interface IndexMetadataArgs {
|
|
6
|
-
/**
|
|
7
|
-
* Class to which index is applied.
|
|
8
|
-
*/
|
|
9
|
-
target: Function | string;
|
|
10
|
-
/**
|
|
11
|
-
* Index name.
|
|
12
|
-
*/
|
|
13
|
-
name?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Columns combination to be used as index.
|
|
16
|
-
*/
|
|
17
|
-
columns?: ((object?: any) => any[] | {
|
|
18
|
-
[key: string]: number;
|
|
19
|
-
}) | string[];
|
|
20
|
-
/**
|
|
21
|
-
* Indicates if index must be unique or not.
|
|
22
|
-
*/
|
|
23
|
-
unique?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* The SPATIAL modifier indexes the entire column and does not allow indexed columns to contain NULL values.
|
|
26
|
-
* Works only in MySQL.
|
|
27
|
-
*/
|
|
28
|
-
spatial?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* The FULLTEXT modifier indexes the entire column and does not allow prefixing.
|
|
31
|
-
* Works only in MySQL.
|
|
32
|
-
*/
|
|
33
|
-
fulltext?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* NULL_FILTERED indexes are particularly useful for indexing sparse columns, where most rows contain a NULL value.
|
|
36
|
-
* In these cases, the NULL_FILTERED index can be considerably smaller and more efficient to maintain than
|
|
37
|
-
* a normal index that includes NULL values.
|
|
38
|
-
*
|
|
39
|
-
* Works only in Spanner.
|
|
40
|
-
*/
|
|
41
|
-
nullFiltered?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Fulltext parser.
|
|
44
|
-
* Works only in MySQL.
|
|
45
|
-
*/
|
|
46
|
-
parser?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Index filter condition.
|
|
49
|
-
*/
|
|
50
|
-
where?: string;
|
|
51
|
-
/**
|
|
52
|
-
* Indicates if index must sync with database index.
|
|
53
|
-
*/
|
|
54
|
-
synchronize?: boolean;
|
|
55
|
-
/**
|
|
56
|
-
* If true, the index only references documents with the specified field.
|
|
57
|
-
* These indexes use less space but behave differently in some situations (particularly sorts).
|
|
58
|
-
* This option is only supported for mongodb database.
|
|
59
|
-
*/
|
|
60
|
-
sparse?: boolean;
|
|
61
|
-
/**
|
|
62
|
-
* Builds the index in the background so that building an index an does not block other database activities.
|
|
63
|
-
* This option is only supported for mongodb database.
|
|
64
|
-
*/
|
|
65
|
-
background?: boolean;
|
|
66
|
-
/**
|
|
67
|
-
* Specifies a time to live, in seconds.
|
|
68
|
-
* This option is only supported for mongodb database.
|
|
69
|
-
*/
|
|
70
|
-
expireAfterSeconds?: number;
|
|
71
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { ColumnOptions } from "../decorator/options/ColumnOptions";
|
|
3
|
-
/**
|
|
4
|
-
* Arguments for InheritanceMetadata class.
|
|
5
|
-
*/
|
|
6
|
-
export interface InheritanceMetadataArgs {
|
|
7
|
-
/**
|
|
8
|
-
* Class to which inheritance is applied.
|
|
9
|
-
*/
|
|
10
|
-
readonly target?: Function | string;
|
|
11
|
-
/**
|
|
12
|
-
* Inheritance pattern.
|
|
13
|
-
*/
|
|
14
|
-
readonly pattern: "STI";
|
|
15
|
-
/**
|
|
16
|
-
* Column used as inheritance discriminator column.
|
|
17
|
-
*/
|
|
18
|
-
readonly column?: ColumnOptions;
|
|
19
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
/**
|
|
3
|
-
* Arguments for JoinColumnMetadata class.
|
|
4
|
-
*/
|
|
5
|
-
export interface JoinColumnMetadataArgs {
|
|
6
|
-
/**
|
|
7
|
-
* Class to which this column is applied.
|
|
8
|
-
*/
|
|
9
|
-
target: Function | string;
|
|
10
|
-
/**
|
|
11
|
-
* Class's property name to which this column is applied.
|
|
12
|
-
*/
|
|
13
|
-
propertyName: string;
|
|
14
|
-
/**
|
|
15
|
-
* Name of the column.
|
|
16
|
-
*/
|
|
17
|
-
name?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Name of the column in the entity to which this column is referenced.
|
|
20
|
-
* This is column property name, not a column database name.
|
|
21
|
-
*/
|
|
22
|
-
referencedColumnName?: string;
|
|
23
|
-
/**
|
|
24
|
-
* Name of the foreign key constraint.
|
|
25
|
-
*/
|
|
26
|
-
foreignKeyConstraintName?: string;
|
|
27
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { JoinColumnMetadataArgs } from "./JoinColumnMetadataArgs";
|
|
3
|
-
/**
|
|
4
|
-
* Arguments for JoinTableMetadata class.
|
|
5
|
-
*/
|
|
6
|
-
export interface JoinTableMetadataArgs {
|
|
7
|
-
/**
|
|
8
|
-
* Class to which this column is applied.
|
|
9
|
-
*/
|
|
10
|
-
readonly target: Function | string;
|
|
11
|
-
/**
|
|
12
|
-
* Class's property name to which this column is applied.
|
|
13
|
-
*/
|
|
14
|
-
readonly propertyName: string;
|
|
15
|
-
/**
|
|
16
|
-
* Name of the table that will be created to store values of the both tables (join table).
|
|
17
|
-
* By default is auto generated.
|
|
18
|
-
*/
|
|
19
|
-
readonly name?: string;
|
|
20
|
-
/**
|
|
21
|
-
* First column of the join table.
|
|
22
|
-
*/
|
|
23
|
-
readonly joinColumns?: JoinColumnMetadataArgs[];
|
|
24
|
-
/**
|
|
25
|
-
* Second (inverse) column of the join table.
|
|
26
|
-
*/
|
|
27
|
-
readonly inverseJoinColumns?: JoinColumnMetadataArgs[];
|
|
28
|
-
/**
|
|
29
|
-
* Database where join table will be created.
|
|
30
|
-
* Works only in some databases (like mysql and mssql).
|
|
31
|
-
*/
|
|
32
|
-
readonly database?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Schema where join table will be created.
|
|
35
|
-
* Works only in some databases (like postgres and mssql).
|
|
36
|
-
*/
|
|
37
|
-
readonly schema?: string;
|
|
38
|
-
}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { RelationMetadataArgs } from "./RelationMetadataArgs";
|
|
3
|
-
import { ColumnMetadataArgs } from "./ColumnMetadataArgs";
|
|
4
|
-
import { RelationCountMetadataArgs } from "./RelationCountMetadataArgs";
|
|
5
|
-
import { IndexMetadataArgs } from "./IndexMetadataArgs";
|
|
6
|
-
import { EntityListenerMetadataArgs } from "./EntityListenerMetadataArgs";
|
|
7
|
-
import { TableMetadataArgs } from "./TableMetadataArgs";
|
|
8
|
-
import { NamingStrategyMetadataArgs } from "./NamingStrategyMetadataArgs";
|
|
9
|
-
import { JoinTableMetadataArgs } from "./JoinTableMetadataArgs";
|
|
10
|
-
import { JoinColumnMetadataArgs } from "./JoinColumnMetadataArgs";
|
|
11
|
-
import { EmbeddedMetadataArgs } from "./EmbeddedMetadataArgs";
|
|
12
|
-
import { EntitySubscriberMetadataArgs } from "./EntitySubscriberMetadataArgs";
|
|
13
|
-
import { RelationIdMetadataArgs } from "./RelationIdMetadataArgs";
|
|
14
|
-
import { InheritanceMetadataArgs } from "./InheritanceMetadataArgs";
|
|
15
|
-
import { DiscriminatorValueMetadataArgs } from "./DiscriminatorValueMetadataArgs";
|
|
16
|
-
import { EntityRepositoryMetadataArgs } from "./EntityRepositoryMetadataArgs";
|
|
17
|
-
import { TransactionEntityMetadataArgs } from "./TransactionEntityMetadataArgs";
|
|
18
|
-
import { TransactionRepositoryMetadataArgs } from "./TransactionRepositoryMetadataArgs";
|
|
19
|
-
import { GeneratedMetadataArgs } from "./GeneratedMetadataArgs";
|
|
20
|
-
import { TreeMetadataArgs } from "./TreeMetadataArgs";
|
|
21
|
-
import { UniqueMetadataArgs } from "./UniqueMetadataArgs";
|
|
22
|
-
import { CheckMetadataArgs } from "./CheckMetadataArgs";
|
|
23
|
-
import { ExclusionMetadataArgs } from "./ExclusionMetadataArgs";
|
|
24
|
-
/**
|
|
25
|
-
* Storage all metadatas args of all available types: tables, columns, subscribers, relations, etc.
|
|
26
|
-
* Each metadata args represents some specifications of what it represents.
|
|
27
|
-
* MetadataArgs used to create a real Metadata objects.
|
|
28
|
-
*/
|
|
29
|
-
export declare class MetadataArgsStorage {
|
|
30
|
-
readonly tables: TableMetadataArgs[];
|
|
31
|
-
readonly trees: TreeMetadataArgs[];
|
|
32
|
-
readonly entityRepositories: EntityRepositoryMetadataArgs[];
|
|
33
|
-
readonly transactionEntityManagers: TransactionEntityMetadataArgs[];
|
|
34
|
-
readonly transactionRepositories: TransactionRepositoryMetadataArgs[];
|
|
35
|
-
readonly namingStrategies: NamingStrategyMetadataArgs[];
|
|
36
|
-
readonly entitySubscribers: EntitySubscriberMetadataArgs[];
|
|
37
|
-
readonly indices: IndexMetadataArgs[];
|
|
38
|
-
readonly uniques: UniqueMetadataArgs[];
|
|
39
|
-
readonly checks: CheckMetadataArgs[];
|
|
40
|
-
readonly exclusions: ExclusionMetadataArgs[];
|
|
41
|
-
readonly columns: ColumnMetadataArgs[];
|
|
42
|
-
readonly generations: GeneratedMetadataArgs[];
|
|
43
|
-
readonly relations: RelationMetadataArgs[];
|
|
44
|
-
readonly joinColumns: JoinColumnMetadataArgs[];
|
|
45
|
-
readonly joinTables: JoinTableMetadataArgs[];
|
|
46
|
-
readonly entityListeners: EntityListenerMetadataArgs[];
|
|
47
|
-
readonly relationCounts: RelationCountMetadataArgs[];
|
|
48
|
-
readonly relationIds: RelationIdMetadataArgs[];
|
|
49
|
-
readonly embeddeds: EmbeddedMetadataArgs[];
|
|
50
|
-
readonly inheritances: InheritanceMetadataArgs[];
|
|
51
|
-
readonly discriminatorValues: DiscriminatorValueMetadataArgs[];
|
|
52
|
-
filterTables(target: Function | string): TableMetadataArgs[];
|
|
53
|
-
filterTables(target: (Function | string)[]): TableMetadataArgs[];
|
|
54
|
-
filterColumns(target: Function | string): ColumnMetadataArgs[];
|
|
55
|
-
filterColumns(target: (Function | string)[]): ColumnMetadataArgs[];
|
|
56
|
-
findGenerated(target: Function | string, propertyName: string): GeneratedMetadataArgs | undefined;
|
|
57
|
-
findGenerated(target: (Function | string)[], propertyName: string): GeneratedMetadataArgs | undefined;
|
|
58
|
-
findTree(target: (Function | string) | (Function | string)[]): TreeMetadataArgs | undefined;
|
|
59
|
-
filterRelations(target: Function | string): RelationMetadataArgs[];
|
|
60
|
-
filterRelations(target: (Function | string)[]): RelationMetadataArgs[];
|
|
61
|
-
filterRelationIds(target: Function | string): RelationIdMetadataArgs[];
|
|
62
|
-
filterRelationIds(target: (Function | string)[]): RelationIdMetadataArgs[];
|
|
63
|
-
filterRelationCounts(target: Function | string): RelationCountMetadataArgs[];
|
|
64
|
-
filterRelationCounts(target: (Function | string)[]): RelationCountMetadataArgs[];
|
|
65
|
-
filterIndices(target: Function | string): IndexMetadataArgs[];
|
|
66
|
-
filterIndices(target: (Function | string)[]): IndexMetadataArgs[];
|
|
67
|
-
filterUniques(target: Function | string): UniqueMetadataArgs[];
|
|
68
|
-
filterUniques(target: (Function | string)[]): UniqueMetadataArgs[];
|
|
69
|
-
filterChecks(target: Function | string): CheckMetadataArgs[];
|
|
70
|
-
filterChecks(target: (Function | string)[]): CheckMetadataArgs[];
|
|
71
|
-
filterExclusions(target: Function | string): ExclusionMetadataArgs[];
|
|
72
|
-
filterExclusions(target: (Function | string)[]): ExclusionMetadataArgs[];
|
|
73
|
-
filterListeners(target: Function | string): EntityListenerMetadataArgs[];
|
|
74
|
-
filterListeners(target: (Function | string)[]): EntityListenerMetadataArgs[];
|
|
75
|
-
filterEmbeddeds(target: Function | string): EmbeddedMetadataArgs[];
|
|
76
|
-
filterEmbeddeds(target: (Function | string)[]): EmbeddedMetadataArgs[];
|
|
77
|
-
findJoinTable(target: Function | string, propertyName: string): JoinTableMetadataArgs | undefined;
|
|
78
|
-
filterJoinColumns(target: Function | string, propertyName: string): JoinColumnMetadataArgs[];
|
|
79
|
-
filterSubscribers(target: Function | string): EntitySubscriberMetadataArgs[];
|
|
80
|
-
filterSubscribers(target: (Function | string)[]): EntitySubscriberMetadataArgs[];
|
|
81
|
-
filterNamingStrategies(target: Function | string): NamingStrategyMetadataArgs[];
|
|
82
|
-
filterNamingStrategies(target: (Function | string)[]): NamingStrategyMetadataArgs[];
|
|
83
|
-
filterTransactionEntityManagers(target: Function | string, propertyName: string): TransactionEntityMetadataArgs[];
|
|
84
|
-
filterTransactionRepository(target: Function | string, propertyName: string): TransactionRepositoryMetadataArgs[];
|
|
85
|
-
filterSingleTableChildren(target: Function | string): TableMetadataArgs[];
|
|
86
|
-
findInheritanceType(target: Function | string): InheritanceMetadataArgs | undefined;
|
|
87
|
-
findDiscriminatorValue(target: Function | string): DiscriminatorValueMetadataArgs | undefined;
|
|
88
|
-
/**
|
|
89
|
-
* Filters given array by a given target or targets.
|
|
90
|
-
*/
|
|
91
|
-
protected filterByTarget<T extends {
|
|
92
|
-
target: Function | string;
|
|
93
|
-
}>(array: T[], target: (Function | string) | (Function | string)[]): T[];
|
|
94
|
-
/**
|
|
95
|
-
* Filters given array by a given target or targets and prevents duplicate property names.
|
|
96
|
-
*/
|
|
97
|
-
protected filterByTargetAndWithoutDuplicateProperties<T extends {
|
|
98
|
-
target: Function | string;
|
|
99
|
-
propertyName: string;
|
|
100
|
-
}>(array: T[], target: (Function | string) | (Function | string)[]): T[];
|
|
101
|
-
/**
|
|
102
|
-
* Filters given array by a given target or targets and prevents duplicate relation property names.
|
|
103
|
-
*/
|
|
104
|
-
protected filterByTargetAndWithoutDuplicateRelationProperties<T extends RelationMetadataArgs>(array: T[], target: (Function | string) | (Function | string)[]): T[];
|
|
105
|
-
/**
|
|
106
|
-
* Filters given array by a given target or targets and prevents duplicate embedded property names.
|
|
107
|
-
*/
|
|
108
|
-
protected filterByTargetAndWithoutDuplicateEmbeddedProperties<T extends EmbeddedMetadataArgs>(array: T[], target: (Function | string) | (Function | string)[]): T[];
|
|
109
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
/**
|
|
3
|
-
* Arguments for NamingStrategyMetadata class.
|
|
4
|
-
*/
|
|
5
|
-
export interface NamingStrategyMetadataArgs {
|
|
6
|
-
/**
|
|
7
|
-
* Class to which this column is applied.
|
|
8
|
-
*/
|
|
9
|
-
readonly target: Function;
|
|
10
|
-
/**
|
|
11
|
-
* Strategy name.
|
|
12
|
-
*/
|
|
13
|
-
readonly name: string;
|
|
14
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { SelectQueryBuilder } from "../query-builder/SelectQueryBuilder";
|
|
3
|
-
/**
|
|
4
|
-
* Arguments for RelationCountMetadata class.
|
|
5
|
-
*/
|
|
6
|
-
export interface RelationCountMetadataArgs {
|
|
7
|
-
/**
|
|
8
|
-
* Class to which this decorator is applied.
|
|
9
|
-
*/
|
|
10
|
-
readonly target: Function;
|
|
11
|
-
/**
|
|
12
|
-
* Class's property name to which this decorator is applied.
|
|
13
|
-
*/
|
|
14
|
-
readonly propertyName: string;
|
|
15
|
-
/**
|
|
16
|
-
* Target's relation which it should count.
|
|
17
|
-
*/
|
|
18
|
-
readonly relation: string | ((object: any) => any);
|
|
19
|
-
/**
|
|
20
|
-
* Alias of the joined (destination) table.
|
|
21
|
-
*/
|
|
22
|
-
readonly alias?: string;
|
|
23
|
-
/**
|
|
24
|
-
* Extra condition applied to "ON" section of join.
|
|
25
|
-
*/
|
|
26
|
-
readonly queryBuilderFactory?: (qb: SelectQueryBuilder<any>) => SelectQueryBuilder<any>;
|
|
27
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { SelectQueryBuilder } from "../query-builder/SelectQueryBuilder";
|
|
3
|
-
/**
|
|
4
|
-
* Arguments for RelationIdMetadataArgs class.
|
|
5
|
-
*/
|
|
6
|
-
export interface RelationIdMetadataArgs {
|
|
7
|
-
/**
|
|
8
|
-
* Class to which this decorator is applied.
|
|
9
|
-
*/
|
|
10
|
-
readonly target: Function | string;
|
|
11
|
-
/**
|
|
12
|
-
* Class's property name to which this decorator is applied.
|
|
13
|
-
*/
|
|
14
|
-
readonly propertyName: string;
|
|
15
|
-
/**
|
|
16
|
-
* Target's relation which it should count.
|
|
17
|
-
*/
|
|
18
|
-
readonly relation: string | ((object: any) => any);
|
|
19
|
-
/**
|
|
20
|
-
* Alias of the joined (destination) table.
|
|
21
|
-
*/
|
|
22
|
-
readonly alias?: string;
|
|
23
|
-
/**
|
|
24
|
-
* Extra condition applied to "ON" section of join.
|
|
25
|
-
*/
|
|
26
|
-
readonly queryBuilderFactory?: (qb: SelectQueryBuilder<any>) => SelectQueryBuilder<any>;
|
|
27
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { RelationType } from "../metadata/types/RelationTypes";
|
|
3
|
-
import { RelationOptions } from "../decorator/options/RelationOptions";
|
|
4
|
-
import { PropertyTypeFactory } from "../metadata/types/PropertyTypeInFunction";
|
|
5
|
-
import { RelationTypeInFunction } from "../metadata/types/RelationTypeInFunction";
|
|
6
|
-
/**
|
|
7
|
-
* Arguments for RelationMetadata class.
|
|
8
|
-
*/
|
|
9
|
-
export interface RelationMetadataArgs {
|
|
10
|
-
/**
|
|
11
|
-
* Class to which this relation is applied.
|
|
12
|
-
*/
|
|
13
|
-
readonly target: Function | string;
|
|
14
|
-
/**
|
|
15
|
-
* In the case if this relation is without a target, targetId must be specified.
|
|
16
|
-
* This is used for entity schemas without classes.
|
|
17
|
-
*/
|
|
18
|
-
/**
|
|
19
|
-
* Class's property name to which this relation is applied.
|
|
20
|
-
*/
|
|
21
|
-
readonly propertyName: string;
|
|
22
|
-
/**
|
|
23
|
-
* Indicates if this relation will be lazily loaded.
|
|
24
|
-
*/
|
|
25
|
-
readonly isLazy: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Original (reflected) class's property type.
|
|
28
|
-
*
|
|
29
|
-
* todo: this can be empty for relations from entity schemas.
|
|
30
|
-
*/
|
|
31
|
-
/**
|
|
32
|
-
* Type of relation. Can be one of the value of the RelationTypes class.
|
|
33
|
-
*/
|
|
34
|
-
readonly relationType: RelationType;
|
|
35
|
-
/**
|
|
36
|
-
* Type of the relation. This type is in function because of language specifics and problems with recursive
|
|
37
|
-
* referenced classes.
|
|
38
|
-
*/
|
|
39
|
-
readonly type: RelationTypeInFunction;
|
|
40
|
-
/**
|
|
41
|
-
* Inverse side of the relation.
|
|
42
|
-
*/
|
|
43
|
-
readonly inverseSideProperty?: PropertyTypeFactory<any>;
|
|
44
|
-
/**
|
|
45
|
-
* Additional relation options.
|
|
46
|
-
*/
|
|
47
|
-
readonly options: RelationOptions;
|
|
48
|
-
/**
|
|
49
|
-
* Indicates if this is a parent (can be only many-to-one relation) relation in the tree tables.
|
|
50
|
-
*/
|
|
51
|
-
readonly isTreeParent?: boolean;
|
|
52
|
-
/**
|
|
53
|
-
* Indicates if this is a children (can be only one-to-many relation) relation in the tree tables.
|
|
54
|
-
*/
|
|
55
|
-
readonly isTreeChildren?: boolean;
|
|
56
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
import { DataSource, SelectQueryBuilder } from "..";
|
|
3
|
-
import { OrderByCondition } from "../find-options/OrderByCondition";
|
|
4
|
-
import { TableType } from "../metadata/types/TableTypes";
|
|
5
|
-
/**
|
|
6
|
-
* Arguments for TableMetadata class, helps to construct an TableMetadata object.
|
|
7
|
-
*/
|
|
8
|
-
export interface TableMetadataArgs {
|
|
9
|
-
/**
|
|
10
|
-
* Class to which table is applied.
|
|
11
|
-
* Function target is a table defined in the class.
|
|
12
|
-
* String target is a table defined in a json schema.
|
|
13
|
-
*/
|
|
14
|
-
target: Function | string;
|
|
15
|
-
/**
|
|
16
|
-
* Table's name. If name is not set then table's name will be generated from target's name.
|
|
17
|
-
*/
|
|
18
|
-
name?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Table type. Tables can be abstract, closure, junction, embedded, etc.
|
|
21
|
-
*/
|
|
22
|
-
type: TableType;
|
|
23
|
-
/**
|
|
24
|
-
* Specifies a default order by used for queries from this table when no explicit order by is specified.
|
|
25
|
-
*/
|
|
26
|
-
orderBy?: OrderByCondition | ((object: any) => OrderByCondition | any);
|
|
27
|
-
/**
|
|
28
|
-
* Table's database engine type (like "InnoDB", "MyISAM", etc).
|
|
29
|
-
*/
|
|
30
|
-
engine?: string;
|
|
31
|
-
/**
|
|
32
|
-
* Database name. Used in MySql and Sql Server.
|
|
33
|
-
*/
|
|
34
|
-
database?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Schema name. Used in Postgres and Sql Server.
|
|
37
|
-
*/
|
|
38
|
-
schema?: string;
|
|
39
|
-
/**
|
|
40
|
-
* Indicates if schema synchronization is enabled or disabled for this entity.
|
|
41
|
-
* If it will be set to false then schema sync will and migrations ignore this entity.
|
|
42
|
-
* By default schema synchronization is enabled for all entities.
|
|
43
|
-
*/
|
|
44
|
-
synchronize?: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* View expression.
|
|
47
|
-
*/
|
|
48
|
-
expression?: string | ((connection: DataSource) => SelectQueryBuilder<any>);
|
|
49
|
-
/**
|
|
50
|
-
* View dependencies.
|
|
51
|
-
*/
|
|
52
|
-
dependsOn?: Set<Function | string>;
|
|
53
|
-
/**
|
|
54
|
-
* Indicates if view is materialized
|
|
55
|
-
*/
|
|
56
|
-
materialized?: boolean;
|
|
57
|
-
/**
|
|
58
|
-
* If set to 'true' this option disables Sqlite's default behaviour of secretly creating
|
|
59
|
-
* an integer primary key column named 'rowid' on table creation.
|
|
60
|
-
*/
|
|
61
|
-
withoutRowid?: boolean;
|
|
62
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
/**
|
|
3
|
-
* Used to inject transaction's entity managed into the method wrapped with @Transaction decorator.
|
|
4
|
-
*/
|
|
5
|
-
export interface TransactionEntityMetadataArgs {
|
|
6
|
-
/**
|
|
7
|
-
* Target class on which decorator is used.
|
|
8
|
-
*/
|
|
9
|
-
readonly target: Function;
|
|
10
|
-
/**
|
|
11
|
-
* Method on which decorator is used.
|
|
12
|
-
*/
|
|
13
|
-
readonly methodName: string;
|
|
14
|
-
/**
|
|
15
|
-
* Index of the parameter on which decorator is used.
|
|
16
|
-
*/
|
|
17
|
-
readonly index: number;
|
|
18
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// @ts-nocheck
|
|
2
|
-
/**
|
|
3
|
-
* Used to inject transaction's repository into the method wrapped with @Transaction decorator.
|
|
4
|
-
*/
|
|
5
|
-
export interface TransactionRepositoryMetadataArgs {
|
|
6
|
-
/**
|
|
7
|
-
* Target class on which decorator is used.
|
|
8
|
-
*/
|
|
9
|
-
readonly target: Function;
|
|
10
|
-
/**
|
|
11
|
-
* Method on which decorator is used.
|
|
12
|
-
*/
|
|
13
|
-
readonly methodName: string;
|
|
14
|
-
/**
|
|
15
|
-
* Index of the parameter on which decorator is used.
|
|
16
|
-
*/
|
|
17
|
-
readonly index: number;
|
|
18
|
-
/**
|
|
19
|
-
* Type of the repository class (Repository, TreeRepository or MongoRepository) or custom repository class.
|
|
20
|
-
*/
|
|
21
|
-
readonly repositoryType: Function;
|
|
22
|
-
/**
|
|
23
|
-
* Argument of generic Repository<T> class if it's not custom repository class.
|
|
24
|
-
*/
|
|
25
|
-
readonly entityType?: Function;
|
|
26
|
-
}
|