lakutata 2.0.26 → 2.0.28
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/orm.d.ts +1 -1
- package/package.json +1 -1
- package/provider/database.d.ts +2 -2
- package/src/decorators/orm/Column.cjs +15 -15
- package/src/decorators/orm/PrimaryColumn.cjs +1 -1
- package/src/providers/Database.cjs +1 -1
- package/src/providers/Database.mjs +1 -1
- package/vendor/Package.15.cjs +509 -512
- package/vendor/Package.15.mjs +431 -438
- package/vendor/Package.22.cjs +18 -20
- package/vendor/TypeDef.4.d.ts +2 -2
package/orm.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './vendor/TypeDef.2.js';
|
|
2
2
|
import { C as ColumnOptions, e as EntityTarget, A as RelationTypeInFunction, B as PropertyTypeFactory, w as OnDeleteType, F as OnUpdateType, z as DeferrableType, G as TableMetadataArgs, H as TreeMetadataArgs, K as IndexMetadataArgs, U as UniqueMetadataArgs, L as CheckMetadataArgs, X as ExclusionMetadataArgs, Y as ColumnMetadataArgs, Z as RelationMetadataArgs, _ as EntityListenerMetadataArgs, $ as RelationCountMetadataArgs, a0 as RelationIdMetadataArgs, a1 as EmbeddedMetadataArgs, a as DataSource, D as DataSourceOptions, E as EntityManager, a2 as MongoEntityManager, a3 as SqljsEntityManager, O as ObjectLiteral, R as Repository, T as TreeRepository, u as ObjectType, f as MongoRepository, S as SelectQueryBuilder, a4 as ColumnMetadata, a5 as RelationMetadata, d as EntityMetadata, b as Driver, r as ColumnType, a6 as DatabaseType, M as Migration, a7 as FindOperator, a8 as EqualOperator, a9 as FindOneOptions, aa as FindManyOptions, ab as FindTreeOptions, ac as Logger, ad as LoggerOptions, g as QueryRunner, ae as LogLevel, af as LogMessageType, ag as LogMessage, ah as PrepareLogMessagesOptions, ai as FileLoggerOptions, aj as SaveOptions, ak as RemoveOptions, al as DeepPartial, am as QueryDeepPartialEntity, an as InsertResult, ao as ObjectId, ap as FindOptionsWhere, aq as UpdateResult, ar as UpsertOptions, as as DeleteResult, at as PickKeysByType, N as NamingStrategyInterface, au as Table, av as SchemaBuilder, aw as SqlInMemory, ax as TableColumnOptions, ay as InsertQueryBuilder, az as DeleteQueryBuilder, aA as UpdateQueryBuilder, aB as SoftDeleteQueryBuilder, aC as RelationQueryBuilder, aD as Brackets, aE as NotBrackets, j as EntitySchema, aF as Query, aG as TableCheck, aH as TableColumn, aI as TableExclusion, aJ as TableForeignKey, aK as TableIndex, aL as TableUnique, aM as View } from './vendor/TypeDef.4.js';
|
|
3
|
-
export { bF as AbstractCursor, bG as AbstractCursorEvents, bH as AbstractCursorOptions, bI as AcceptedFields, bJ as AddToSetOperators, bK as AddUserOptions, bL as Admin, bM as AggregateOptions, bN as AggregationCursor, bO as AggregationCursorOptions, bP as AlternativeType, bQ as AnyBulkWriteOperation, bR as AnyError, bS as ArrayElement, bT as ArrayOperator, bU as Auth, bV as AuthMechanism, bW as AuthMechanismProperties, bX as AutoEncrypter, bY as AutoEncryptionLoggerLevel, bZ as AutoEncryptionOptions, b_ as AutoEncryptionTlsOptions, bp as BSON, bq as BSONRegExp, c2 as BSONSerializeOptions, br as BSONSymbol, bs as BSONType, c3 as BSONTypeAlias, b$ as Batch, c0 as BatchType, bo as Binary, c1 as BitwiseFilter, c4 as BulkOperationBase, c5 as BulkWriteOperationError, c6 as BulkWriteOptions, c7 as BulkWriteResult, dd as CURSOR_FLAGS, c8 as Callback, c9 as CancellationToken, ca as ChangeStream, cb as ChangeStreamCollModDocument, cc as ChangeStreamCreateDocument, cd as ChangeStreamCreateIndexDocument, ce as ChangeStreamDeleteDocument, cf as ChangeStreamDocument, cg as ChangeStreamDocumentCollectionUUID, ch as ChangeStreamDocumentCommon, ci as ChangeStreamDocumentKey, cj as ChangeStreamDocumentOperationDescription, ck as ChangeStreamDropDatabaseDocument, cl as ChangeStreamDropDocument, cm as ChangeStreamDropIndexDocument, cn as ChangeStreamEvents, co as ChangeStreamInsertDocument, cp as ChangeStreamInvalidateDocument, cq as ChangeStreamNameSpace, cr as ChangeStreamOptions, cs as ChangeStreamRefineCollectionShardKeyDocument, ct as ChangeStreamRenameDocument, cu as ChangeStreamReplaceDocument, cv as ChangeStreamReshardCollectionDocument, cw as ChangeStreamShardCollectionDocument, cx as ChangeStreamUpdateDocument, cy as ClientMetadata, cz as ClientMetadataOptions, cA as ClientSession, cB as ClientSessionEvents, cC as ClientSessionOptions, cD as CloseOptions, cF as ClusterTime, cE as ClusteredCollectionOptions, bt as Code, cK as CollStats, cL as CollStatsOptions, cG as CollationOptions, cH as Collection, cI as CollectionInfo, cJ as CollectionOptions, cM as CommandFailedEvent, cN as CommandOperationOptions, cO as CommandStartedEvent, cP as CommandSucceededEvent, cQ as CommonEvents, cR as Compressor, cS as CompressorName, cT as Condition, d8 as ConnectOptions, cW as ConnectionCheckOutFailedEvent, cX as ConnectionCheckOutStartedEvent, cU as ConnectionCheckedInEvent, cV as ConnectionCheckedOutEvent, cY as ConnectionClosedEvent, cZ as ConnectionCreatedEvent, c_ as ConnectionEvents, c$ as ConnectionOptions, d0 as ConnectionPoolClearedEvent, d1 as ConnectionPoolClosedEvent, d2 as ConnectionPoolCreatedEvent, d3 as ConnectionPoolEvents, d4 as ConnectionPoolMonitoringEvent, d5 as ConnectionPoolOptions, d6 as ConnectionPoolReadyEvent, d7 as ConnectionReadyEvent, d9 as CountDocumentsOptions, da as CountOptions, db as CreateCollectionOptions, dc as CreateIndexesOptions, de as CursorFlag, df as CursorStreamOptions, bu as DBRef, dg as Db, dh as DbOptions, di as DbStatsOptions, bv as Decimal128, dj as DeleteManyModel, dk as DeleteOneModel, dl as DeleteOptions, dm as DeleteStatement, dn as DistinctOptions, bx as Document, by as Double, dp as DriverInfo, dq as DropCollectionOptions, dr as DropDatabaseOptions, ds as DropIndexesOptions, dt as EndSessionOptions, du as EnhancedOmit, b1 as EntitySchemaColumnOptions, aQ as EntitySchemaEmbeddedColumnOptions, b2 as EntitySchemaIndexOptions, aR as EntitySchemaOptions, b3 as EntitySchemaRelationOptions, c as EntitySubscriberInterface, dv as ErrorDescription, dw as EstimatedDocumentCountOptions, dx as EvalOptions, dy as EventEmitterWithState, dz as EventsDescription, dA as ExplainOptions, dB as ExplainVerbosity, dC as ExplainVerbosityLike, gV as Feature, gW as FeatureCollection, dD as Filter, dE as FilterOperations, dF as FilterOperators, dG as FindCursor, dH as FindOneAndDeleteOptions, dI as FindOneAndReplaceOptions, dJ as FindOneAndUpdateOptions, b4 as FindOperatorType, dK as FindOperators, dL as FindOptions, b6 as FindOptionsOrder, b5 as FindOptionsOrderProperty, b7 as FindOptionsOrderValue, ba as FindOptionsRelationByString, b9 as FindOptionsRelations, b8 as FindOptionsRelationsProperty, bc as FindOptionsSelect, bd as FindOptionsSelectByString, bb as FindOptionsSelectProperty, be as FindOptionsWhereProperty, dM as Flatten, dY as GSSAPICanonicalizationValue, dN as GenericListener, gX as GeoJSON, gU as Geography, gT as Geometry, gS as GeometryCollection, dO as GridFSBucket, dP as GridFSBucketEvents, dQ as GridFSBucketOptions, dR as GridFSBucketReadStream, dS as GridFSBucketReadStreamOptions, dT as GridFSBucketReadStreamOptionsWithRevision, dU as GridFSBucketWriteStream, dV as GridFSBucketWriteStreamOptions, dW as GridFSChunk, dX as GridFSFile, dZ as HedgeOptions, d_ as Hint, d$ as HostAddress, e0 as IndexDescription, e1 as IndexDirection, e2 as IndexInformationOptions, e3 as IndexSpecification, e4 as InferIdType, aU as InsertEvent, e5 as InsertManyResult, e6 as InsertOneModel, e7 as InsertOneOptions, e8 as InsertOneResult, bz as Int32, e9 as IntegerType, ea as IsAny, I as IsolationLevel, eb as Join, J as JoinColumnOptions, bf as JoinOptions, s as JoinTableOptions, ec as KeysOfAType, ed as KeysOfOtherType, ee as LEGAL_TCP_SOCKET_OPTIONS, ef as LEGAL_TLS_SOCKET_OPTIONS, gN as LineString, eg as ListCollectionsCursor, eh as ListCollectionsOptions, ei as ListDatabasesOptions, ej as ListDatabasesResult, ek as ListIndexesCursor, el as ListIndexesOptions, aV as LoadEvent, bg as LogMessageFormat, bA as Long, eo as MONGO_CLIENT_EVENTS, em as MatchKeysAndValues, bB as MaxKey, aT as MigrationInterface, bC as MinKey, i as MixedList, en as ModifyResult, ep as MongoAPIError, eq as MongoAWSError, er as MongoBatchReExecutionError, es as MongoBulkWriteError, et as MongoChangeStreamError, eu as MongoClient, ev as MongoClientEvents, ew as MongoClientOptions, ex as MongoCompatibilityError, ey as MongoCredentials, ez as MongoCredentialsOptions, eA as MongoCursorExhaustedError, eB as MongoCursorInUseError, eC as MongoDBNamespace, eD as MongoDecompressionError, eE as MongoDriverError, eF as MongoError, eG as MongoErrorLabel, eH as MongoExpiredSessionError, eI as MongoGridFSChunkError, eJ as MongoGridFSStreamError, eK as MongoInvalidArgumentError, eL as MongoKerberosError, eM as MongoMissingCredentialsError, eN as MongoMissingDependencyError, eO as MongoNetworkError, eP as MongoNetworkErrorOptions, eQ as MongoNetworkTimeoutError, eR as MongoNotConnectedError, eS as MongoOptions, eT as MongoParseError, eU as MongoRuntimeError, eV as MongoServerClosedError, eW as MongoServerError, eX as MongoServerSelectionError, eY as MongoSystemError, eZ as MongoTailableCursorError, e_ as MongoTopologyClosedError, e$ as MongoTransactionError, f0 as MongoUnexpectedServerResponseError, f1 as MongoWriteConcernError, f2 as MonitorEvents, f3 as MonitorOptions, gQ as MultiLineString, gP as MultiPoint, gR as MultiPolygon, f4 as NestedPaths, f5 as NestedPathsOfType, f6 as NonObjectIdLikeDocument, f7 as NotAcceptedFields, f8 as NumericType, f9 as OIDCMechanismServerStep1, fa as OIDCRefreshFunction, fb as OIDCRequestFunction, fc as OIDCRequestTokenResult, fd as OneOrMore, fe as OnlyFieldsOfType, ff as OperationOptions, fg as OperationTime, fh as OptionalId, fi as OptionalUnlessRequiredId, k as OrderByCondition, fj as OrderedBulkOperation, fk as PkFactory, gM as Point, gO as Polygon, gL as Position, fl as ProfilingLevel, fm as ProfilingLevelOptions, fn as PropertyType, fo as ProxyOptions, fp as PullAllOperator, fq as PullOperator, fr as PushOperator, aO as QueryBuilder, aP as QueryResult, Q as QueryResultCache, aN as QueryResultCacheOptions, fs as ReadConcern, ft as ReadConcernLevel, fu as ReadConcernLike, fv as ReadPreference, fw as ReadPreferenceFromOptions, fx as ReadPreferenceLike, fy as ReadPreferenceLikeOptions, fz as ReadPreferenceMode, fA as ReadPreferenceOptions, aZ as RecoverEvent, fB as RegExpOrString, v as RelationOptions, aX as RemoveEvent, fC as RemoveUserOptions, fD as RenameOptions, fE as ReplaceOneModel, fF as ReplaceOptions, h as ReplicationMode, fG as ResumeOptions, fH as ResumeToken, fI as ReturnDocument, fJ as RoleSpecification, fK as RootFilterOperators, fL as RunCommandOptions, fM as SchemaMember, fN as SelectServerOptions, fO as ServerApi, fP as ServerApiVersion, fQ as ServerCapabilities, fR as ServerClosedEvent, fS as ServerDescription, fT as ServerDescriptionChangedEvent, fU as ServerEvents, fV as ServerHeartbeatFailedEvent, fW as ServerHeartbeatStartedEvent, fX as ServerHeartbeatSucceededEvent, fY as ServerOpeningEvent, fZ as ServerSession, f_ as ServerSessionId, f$ as ServerType, g0 as SetFields, g1 as SetProfilingLevelOptions, aY as SoftRemoveEvent, g2 as Sort, g3 as SortDirection, g4 as Stream, g5 as StreamDescription, g6 as StreamDescriptionOptions, g7 as StrictFilter, g8 as StrictMatchKeysAndValues, g9 as StrictUpdateFilter, ga as SupportedNodeConnectionOptions, gb as SupportedSocketOptions, gc as SupportedTLSConnectionOptions, gd as SupportedTLSSocketOptions, bh as TableCheckOptions, bi as TableExclusionOptions, bj as TableForeignKeyOptions, bk as TableIndexOptions, bl as TableOptions, bm as TableUniqueOptions, ge as TagSet, gf as TimeSeriesCollectionOptions, bE as Timestamp, gg as TopologyClosedEvent, gh as TopologyDescription, gi as TopologyDescriptionChangedEvent, gj as TopologyDescriptionOptions, gk as TopologyEvents, gl as TopologyOpeningEvent, gm as TopologyType, gn as TopologyVersion, go as Transaction, a_ as TransactionCommitEvent, gp as TransactionOptions, a$ as TransactionRollbackEvent, b0 as TransactionStartEvent, gq as TypedEventEmitter, gr as UnorderedBulkOperation, gs as UpdateDescription, aW as UpdateEvent, gt as UpdateFilter, gu as UpdateManyModel, gv as UpdateOneModel, gw as UpdateOptions, gx as UpdateStatement, gy as ValidateCollectionOptions, V as ValueTransformer, bn as ViewOptions, gz as W, aS as WhereExpressionBuilder, gA as WiredTigerData, gB as WithId, gD as WithSessionCallback, gE as WithTransactionCallback, gC as WithoutId, gF as WriteConcern, gG as WriteConcernError, gH as WriteConcernErrorData, gI as WriteConcernOptions, gJ as WriteConcernSettings, gK as WriteError, bw as deserialize, bD as serialize } from './vendor/TypeDef.4.js';
|
|
3
|
+
export { c3 as AbstractCursor, c4 as AbstractCursorEvents, c5 as AbstractCursorOptions, c6 as AcceptedFields, c7 as AddToSetOperators, c8 as AddUserOptions, c9 as Admin, ca as AggregateOptions, cb as AggregationCursor, cc as AggregationCursorOptions, cd as AlternativeType, ce as AnyBulkWriteOperation, cf as AnyError, cg as ArrayElement, ch as ArrayOperator, b5 as AuroraMysqlConnectionCredentialsOptions, b4 as AuroraMysqlConnectionOptions, b6 as AuroraPostgresConnectionOptions, ci as Auth, cj as AuthMechanism, ck as AuthMechanismProperties, cl as AutoEncrypter, cm as AutoEncryptionLoggerLevel, cn as AutoEncryptionOptions, co as AutoEncryptionTlsOptions, bP as BSON, bQ as BSONRegExp, cs as BSONSerializeOptions, bR as BSONSymbol, bS as BSONType, ct as BSONTypeAlias, cp as Batch, cq as BatchType, b8 as BetterSqlite3ConnectionOptions, bO as Binary, cr as BitwiseFilter, cu as BulkOperationBase, cv as BulkWriteOperationError, cw as BulkWriteOptions, cx as BulkWriteResult, dE as CURSOR_FLAGS, cy as Callback, cz as CancellationToken, b9 as CapacitorConnectionOptions, cA as ChangeStream, cB as ChangeStreamCollModDocument, cC as ChangeStreamCreateDocument, cD as ChangeStreamCreateIndexDocument, cE as ChangeStreamDeleteDocument, cF as ChangeStreamDocument, cG as ChangeStreamDocumentCollectionUUID, cH as ChangeStreamDocumentCommon, cI as ChangeStreamDocumentKey, cJ as ChangeStreamDocumentOperationDescription, cK as ChangeStreamDropDatabaseDocument, cL as ChangeStreamDropDocument, cM as ChangeStreamDropIndexDocument, cN as ChangeStreamEvents, cO as ChangeStreamInsertDocument, cP as ChangeStreamInvalidateDocument, cQ as ChangeStreamNameSpace, cR as ChangeStreamOptions, cS as ChangeStreamRefineCollectionShardKeyDocument, cT as ChangeStreamRenameDocument, cU as ChangeStreamReplaceDocument, cV as ChangeStreamReshardCollectionDocument, cW as ChangeStreamShardCollectionDocument, cX as ChangeStreamUpdateDocument, cY as ClientMetadata, cZ as ClientMetadataOptions, c_ as ClientSession, c$ as ClientSessionEvents, d0 as ClientSessionOptions, d1 as CloseOptions, d3 as ClusterTime, d2 as ClusteredCollectionOptions, aT as CockroachConnectionCredentialsOptions, aS as CockroachConnectionOptions, bT as Code, d8 as CollStats, d9 as CollStatsOptions, d4 as CollationOptions, d5 as Collection, d6 as CollectionInfo, d7 as CollectionOptions, da as CommandFailedEvent, db as CommandOperationOptions, dc as CommandStartedEvent, dd as CommandSucceededEvent, de as CommonEvents, df as Compressor, dg as CompressorName, dh as Condition, dz as ConnectOptions, dk as ConnectionCheckOutFailedEvent, dl as ConnectionCheckOutStartedEvent, di as ConnectionCheckedInEvent, dj as ConnectionCheckedOutEvent, dm as ConnectionClosedEvent, dn as ConnectionCreatedEvent, dp as ConnectionEvents, dq as ConnectionOptions, dr as ConnectionPoolClearedEvent, ds as ConnectionPoolClosedEvent, dt as ConnectionPoolCreatedEvent, du as ConnectionPoolEvents, dv as ConnectionPoolMonitoringEvent, dw as ConnectionPoolOptions, dx as ConnectionPoolReadyEvent, dy as ConnectionReadyEvent, a$ as CordovaConnectionOptions, dA as CountDocumentsOptions, dB as CountOptions, dC as CreateCollectionOptions, dD as CreateIndexesOptions, dF as CursorFlag, dG as CursorStreamOptions, bU as DBRef, dH as Db, dI as DbOptions, dJ as DbStatsOptions, bV as Decimal128, dK as DeleteManyModel, dL as DeleteOneModel, dM as DeleteOptions, dN as DeleteStatement, dO as DistinctOptions, bX as Document, bY as Double, dP as DriverInfo, dQ as DropCollectionOptions, dR as DropDatabaseOptions, dS as DropIndexesOptions, dT as EndSessionOptions, dU as EnhancedOmit, br as EntitySchemaColumnOptions, be as EntitySchemaEmbeddedColumnOptions, bs as EntitySchemaIndexOptions, bf as EntitySchemaOptions, bt as EntitySchemaRelationOptions, c as EntitySubscriberInterface, dV as ErrorDescription, dW as EstimatedDocumentCountOptions, dX as EvalOptions, dY as EventEmitterWithState, dZ as EventsDescription, d_ as ExplainOptions, d$ as ExplainVerbosity, e0 as ExplainVerbosityLike, b7 as ExpoConnectionOptions, hj as Feature, hk as FeatureCollection, e1 as Filter, e2 as FilterOperations, e3 as FilterOperators, e4 as FindCursor, e5 as FindOneAndDeleteOptions, e6 as FindOneAndReplaceOptions, e7 as FindOneAndUpdateOptions, bu as FindOperatorType, e8 as FindOperators, e9 as FindOptions, bw as FindOptionsOrder, bv as FindOptionsOrderProperty, bx as FindOptionsOrderValue, bA as FindOptionsRelationByString, bz as FindOptionsRelations, by as FindOptionsRelationsProperty, bC as FindOptionsSelect, bD as FindOptionsSelectByString, bB as FindOptionsSelectProperty, bE as FindOptionsWhereProperty, ea as Flatten, em as GSSAPICanonicalizationValue, eb as GenericListener, hl as GeoJSON, hi as Geography, hh as Geometry, hg as GeometryCollection, ec as GridFSBucket, ed as GridFSBucketEvents, ee as GridFSBucketOptions, ef as GridFSBucketReadStream, eg as GridFSBucketReadStreamOptions, eh as GridFSBucketReadStreamOptionsWithRevision, ei as GridFSBucketWriteStream, ej as GridFSBucketWriteStreamOptions, ek as GridFSChunk, el as GridFSFile, en as HedgeOptions, eo as Hint, ep as HostAddress, eq as IndexDescription, er as IndexDirection, es as IndexInformationOptions, et as IndexSpecification, eu as InferIdType, bi as InsertEvent, ev as InsertManyResult, ew as InsertOneModel, ex as InsertOneOptions, ey as InsertOneResult, bZ as Int32, ez as IntegerType, eA as IsAny, I as IsolationLevel, eB as Join, J as JoinColumnOptions, bF as JoinOptions, s as JoinTableOptions, eC as KeysOfAType, eD as KeysOfOtherType, eE as LEGAL_TCP_SOCKET_OPTIONS, eF as LEGAL_TLS_SOCKET_OPTIONS, hb as LineString, eG as ListCollectionsCursor, eH as ListCollectionsOptions, eI as ListDatabasesOptions, eJ as ListDatabasesResult, eK as ListIndexesCursor, eL as ListIndexesOptions, bj as LoadEvent, bG as LogMessageFormat, b_ as Long, eO as MONGO_CLIENT_EVENTS, eM as MatchKeysAndValues, b$ as MaxKey, bh as MigrationInterface, c0 as MinKey, i as MixedList, eN as ModifyResult, eP as MongoAPIError, eQ as MongoAWSError, eR as MongoBatchReExecutionError, eS as MongoBulkWriteError, eT as MongoChangeStreamError, eU as MongoClient, eV as MongoClientEvents, eW as MongoClientOptions, eX as MongoCompatibilityError, b3 as MongoConnectionOptions, eY as MongoCredentials, eZ as MongoCredentialsOptions, e_ as MongoCursorExhaustedError, e$ as MongoCursorInUseError, f0 as MongoDBNamespace, f1 as MongoDecompressionError, f2 as MongoDriverError, f3 as MongoError, f4 as MongoErrorLabel, f5 as MongoExpiredSessionError, f6 as MongoGridFSChunkError, f7 as MongoGridFSStreamError, f8 as MongoInvalidArgumentError, f9 as MongoKerberosError, fa as MongoMissingCredentialsError, fb as MongoMissingDependencyError, fc as MongoNetworkError, fd as MongoNetworkErrorOptions, fe as MongoNetworkTimeoutError, ff as MongoNotConnectedError, fg as MongoOptions, fh as MongoParseError, fi as MongoRuntimeError, fj as MongoServerClosedError, fk as MongoServerError, fl as MongoServerSelectionError, fm as MongoSystemError, fn as MongoTailableCursorError, fo as MongoTopologyClosedError, fp as MongoTransactionError, fq as MongoUnexpectedServerResponseError, fr as MongoWriteConcernError, fs as MonitorEvents, ft as MonitorOptions, he as MultiLineString, hd as MultiPoint, hf as MultiPolygon, aP as MysqlConnectionCredentialsOptions, aO as MysqlConnectionOptions, b0 as NativescriptConnectionOptions, fu as NestedPaths, fv as NestedPathsOfType, fw as NonObjectIdLikeDocument, fx as NotAcceptedFields, fy as NumericType, fz as OIDCMechanismServerStep1, fA as OIDCRefreshFunction, fB as OIDCRequestFunction, fC as OIDCRequestTokenResult, fD as OneOrMore, fE as OnlyFieldsOfType, fF as OperationOptions, fG as OperationTime, fH as OptionalId, fI as OptionalUnlessRequiredId, a_ as OracleConnectionCredentialsOptions, aZ as OracleConnectionOptions, k as OrderByCondition, fJ as OrderedBulkOperation, fK as PkFactory, ha as Point, hc as Polygon, h9 as Position, aR as PostgresConnectionCredentialsOptions, aQ as PostgresConnectionOptions, fL as ProfilingLevel, fM as ProfilingLevelOptions, fN as PropertyType, fO as ProxyOptions, fP as PullAllOperator, fQ as PullOperator, fR as PushOperator, bc as QueryBuilder, bd as QueryResult, Q as QueryResultCache, aN as QueryResultCacheOptions, b1 as ReactNativeConnectionOptions, fS as ReadConcern, fT as ReadConcernLevel, fU as ReadConcernLike, fV as ReadPreference, fW as ReadPreferenceFromOptions, fX as ReadPreferenceLike, fY as ReadPreferenceLikeOptions, fZ as ReadPreferenceMode, f_ as ReadPreferenceOptions, bn as RecoverEvent, f$ as RegExpOrString, v as RelationOptions, bl as RemoveEvent, g0 as RemoveUserOptions, g1 as RenameOptions, g2 as ReplaceOneModel, g3 as ReplaceOptions, h as ReplicationMode, g4 as ResumeOptions, g5 as ResumeToken, g6 as ReturnDocument, g7 as RoleSpecification, g8 as RootFilterOperators, g9 as RunCommandOptions, aY as SapConnectionCredentialsOptions, aX as SapConnectionOptions, ga as SchemaMember, gb as SelectServerOptions, gc as ServerApi, gd as ServerApiVersion, ge as ServerCapabilities, gf as ServerClosedEvent, gg as ServerDescription, gh as ServerDescriptionChangedEvent, gi as ServerEvents, gj as ServerHeartbeatFailedEvent, gk as ServerHeartbeatStartedEvent, gl as ServerHeartbeatSucceededEvent, gm as ServerOpeningEvent, gn as ServerSession, go as ServerSessionId, gp as ServerType, gq as SetFields, gr as SetProfilingLevelOptions, bm as SoftRemoveEvent, gs as Sort, gt as SortDirection, bb as SpannerConnectionCredentialsOptions, ba as SpannerConnectionOptions, aW as SqlServerConnectionCredentialsOptions, aV as SqlServerConnectionOptions, aU as SqliteConnectionOptions, b2 as SqljsConnectionOptions, gu as Stream, gv as StreamDescription, gw as StreamDescriptionOptions, gx as StrictFilter, gy as StrictMatchKeysAndValues, gz as StrictUpdateFilter, gA as SupportedNodeConnectionOptions, gB as SupportedSocketOptions, gC as SupportedTLSConnectionOptions, gD as SupportedTLSSocketOptions, bH as TableCheckOptions, bI as TableExclusionOptions, bJ as TableForeignKeyOptions, bK as TableIndexOptions, bL as TableOptions, bM as TableUniqueOptions, gE as TagSet, gF as TimeSeriesCollectionOptions, c2 as Timestamp, gG as TopologyClosedEvent, gH as TopologyDescription, gI as TopologyDescriptionChangedEvent, gJ as TopologyDescriptionOptions, gK as TopologyEvents, gL as TopologyOpeningEvent, gM as TopologyType, gN as TopologyVersion, gO as Transaction, bo as TransactionCommitEvent, gP as TransactionOptions, bp as TransactionRollbackEvent, bq as TransactionStartEvent, gQ as TypedEventEmitter, gR as UnorderedBulkOperation, gS as UpdateDescription, bk as UpdateEvent, gT as UpdateFilter, gU as UpdateManyModel, gV as UpdateOneModel, gW as UpdateOptions, gX as UpdateStatement, gY as ValidateCollectionOptions, V as ValueTransformer, bN as ViewOptions, gZ as W, bg as WhereExpressionBuilder, g_ as WiredTigerData, g$ as WithId, h1 as WithSessionCallback, h2 as WithTransactionCallback, h0 as WithoutId, h3 as WriteConcern, h4 as WriteConcernError, h5 as WriteConcernErrorData, h6 as WriteConcernOptions, h7 as WriteConcernSettings, h8 as WriteError, bW as deserialize, c1 as serialize } from './vendor/TypeDef.4.js';
|
|
4
4
|
export { E as EntityOptions, I as IndexOptions } from './vendor/TypeDef.12.js';
|
|
5
5
|
import 'fs';
|
|
6
6
|
import 'tls';
|
package/package.json
CHANGED
package/provider/database.d.ts
CHANGED
|
@@ -14,9 +14,9 @@ import '../vendor/TypeDef.5.js';
|
|
|
14
14
|
* @param options
|
|
15
15
|
* @constructor
|
|
16
16
|
*/
|
|
17
|
-
declare const BuildDatabaseOptions: (options:
|
|
17
|
+
declare const BuildDatabaseOptions: (options: DataSourceOptions) => {
|
|
18
18
|
class: typeof Database;
|
|
19
|
-
options:
|
|
19
|
+
options: DataSourceOptions;
|
|
20
20
|
};
|
|
21
21
|
/**
|
|
22
22
|
* Database component
|
|
@@ -70,50 +70,50 @@ Object.defineProperty(r, "__esModule", {
|
|
|
70
70
|
value: true
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
-
var t = r.Column =
|
|
73
|
+
var t = r.Column = n;
|
|
74
74
|
|
|
75
75
|
const o = e.requireGlobals();
|
|
76
76
|
|
|
77
|
-
const i = e.
|
|
77
|
+
const i = e.ColumnTypeUndefinedError;
|
|
78
78
|
|
|
79
|
-
function
|
|
80
|
-
return function(t,
|
|
81
|
-
let
|
|
79
|
+
function n(e, r) {
|
|
80
|
+
return function(t, n) {
|
|
81
|
+
let u;
|
|
82
82
|
if (typeof e === "string" || typeof e === "function") {
|
|
83
|
-
|
|
83
|
+
u = e;
|
|
84
84
|
} else if (e) {
|
|
85
85
|
r = e;
|
|
86
|
-
|
|
86
|
+
u = e.type;
|
|
87
87
|
}
|
|
88
88
|
if (!r) r = {};
|
|
89
|
-
const a = Reflect && Reflect.getMetadata ? Reflect.getMetadata("design:type", t,
|
|
90
|
-
if (!
|
|
91
|
-
if (!r.type &&
|
|
89
|
+
const a = Reflect && Reflect.getMetadata ? Reflect.getMetadata("design:type", t, n) : undefined;
|
|
90
|
+
if (!u && a) u = a;
|
|
91
|
+
if (!r.type && u) r.type = u;
|
|
92
92
|
if (r.type === "hstore" && !r.hstoreType) r.hstoreType = a === Object ? "object" : "string";
|
|
93
93
|
if (typeof e === "function") {
|
|
94
94
|
(0, o.getMetadataArgsStorage)().embeddeds.push({
|
|
95
95
|
target: t.constructor,
|
|
96
|
-
propertyName:
|
|
96
|
+
propertyName: n,
|
|
97
97
|
isArray: a === Array || r.array === true,
|
|
98
98
|
prefix: r.prefix !== undefined ? r.prefix : undefined,
|
|
99
99
|
type: e
|
|
100
100
|
});
|
|
101
101
|
} else {
|
|
102
|
-
if (!r.type) throw new i.ColumnTypeUndefinedError(t,
|
|
102
|
+
if (!r.type) throw new i.ColumnTypeUndefinedError(t, n);
|
|
103
103
|
if (r.unique === true) (0, o.getMetadataArgsStorage)().uniques.push({
|
|
104
104
|
target: t.constructor,
|
|
105
|
-
columns: [
|
|
105
|
+
columns: [ n ]
|
|
106
106
|
});
|
|
107
107
|
(0, o.getMetadataArgsStorage)().columns.push({
|
|
108
108
|
target: t.constructor,
|
|
109
|
-
propertyName:
|
|
109
|
+
propertyName: n,
|
|
110
110
|
mode: "regular",
|
|
111
111
|
options: r
|
|
112
112
|
});
|
|
113
113
|
if (r.generated) {
|
|
114
114
|
(0, o.getMetadataArgsStorage)().generations.push({
|
|
115
115
|
target: t.constructor,
|
|
116
|
-
propertyName:
|
|
116
|
+
propertyName: n,
|
|
117
117
|
strategy: typeof r.generated === "string" ? r.generated : "increment"
|
|
118
118
|
});
|
|
119
119
|
}
|
|
@@ -226,7 +226,7 @@ exports.Database = class Database extends a.Provider {
|
|
|
226
226
|
...this.options,
|
|
227
227
|
entities: e
|
|
228
228
|
};
|
|
229
|
-
this.#e = await new i.DataSourceExports.DataSource(
|
|
229
|
+
this.#e = await new i.DataSourceExports.DataSource(r).initialize();
|
|
230
230
|
}
|
|
231
231
|
async destroy() {
|
|
232
232
|
await this.datasource.destroy();
|
|
@@ -220,7 +220,7 @@ let n = class Database extends s {
|
|
|
220
220
|
...this.options,
|
|
221
221
|
entities: t
|
|
222
222
|
};
|
|
223
|
-
this.#t = await new o.DataSource(
|
|
223
|
+
this.#t = await new o.DataSource(e).initialize();
|
|
224
224
|
}
|
|
225
225
|
async destroy() {
|
|
226
226
|
await this.datasource.destroy();
|