@cardano-sdk/projection-typeorm 0.8.18 → 0.8.19

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.
Files changed (87) hide show
  1. package/dist/cjs/createDataSource.js +4 -4
  2. package/dist/cjs/createDataSource.js.map +1 -1
  3. package/dist/cjs/operators/storeHandles.js +2 -2
  4. package/dist/cjs/operators/storeHandles.js.map +1 -1
  5. package/dist/cjs/operators/storeStakePools.js +2 -2
  6. package/dist/cjs/operators/storeStakePools.js.map +1 -1
  7. package/dist/cjs/operators/withTypeormTransaction.js +2 -2
  8. package/dist/cjs/operators/withTypeormTransaction.js.map +1 -1
  9. package/dist/cjs/tsconfig.tsbuildinfo +1 -1
  10. package/dist/esm/TypeormStabilityWindowBuffer.d.ts +2 -2
  11. package/dist/esm/TypeormStabilityWindowBuffer.js +2 -2
  12. package/dist/esm/createDataSource.d.ts +1 -1
  13. package/dist/esm/createDataSource.js +3 -3
  14. package/dist/esm/createDataSource.js.map +1 -1
  15. package/dist/esm/createTypeormTipTracker.d.ts +1 -1
  16. package/dist/esm/createTypeormTipTracker.js +2 -2
  17. package/dist/esm/entity/Address.entity.d.ts +1 -1
  18. package/dist/esm/entity/Address.entity.js +1 -1
  19. package/dist/esm/entity/Asset.entity.d.ts +2 -2
  20. package/dist/esm/entity/Asset.entity.js +4 -4
  21. package/dist/esm/entity/BlockData.entity.d.ts +1 -1
  22. package/dist/esm/entity/BlockData.entity.js +3 -3
  23. package/dist/esm/entity/CurrentPoolMetrics.entity.d.ts +1 -1
  24. package/dist/esm/entity/CurrentPoolMetrics.entity.js +3 -3
  25. package/dist/esm/entity/Handle.entity.d.ts +1 -1
  26. package/dist/esm/entity/Handle.entity.js +1 -1
  27. package/dist/esm/entity/HandleMetadata.entity.d.ts +2 -2
  28. package/dist/esm/entity/HandleMetadata.entity.js +3 -3
  29. package/dist/esm/entity/NftMetadata.entity.d.ts +2 -2
  30. package/dist/esm/entity/NftMetadata.entity.js +4 -4
  31. package/dist/esm/entity/Output.entity.d.ts +2 -2
  32. package/dist/esm/entity/Output.entity.js +3 -3
  33. package/dist/esm/entity/PoolMetadata.entity.d.ts +2 -2
  34. package/dist/esm/entity/PoolMetadata.entity.js +3 -3
  35. package/dist/esm/entity/PoolRegistration.entity.d.ts +3 -3
  36. package/dist/esm/entity/PoolRegistration.entity.js +4 -4
  37. package/dist/esm/entity/PoolRetirement.entity.d.ts +2 -2
  38. package/dist/esm/entity/PoolRetirement.entity.js +3 -3
  39. package/dist/esm/entity/PoolRewards.entity.d.ts +1 -1
  40. package/dist/esm/entity/PoolRewards.entity.js +2 -2
  41. package/dist/esm/entity/StakeKeyRegistration.entity.d.ts +1 -1
  42. package/dist/esm/entity/StakeKeyRegistration.entity.js +2 -2
  43. package/dist/esm/entity/StakePool.entity.d.ts +3 -3
  44. package/dist/esm/entity/StakePool.entity.js +4 -4
  45. package/dist/esm/entity/Tokens.entity.d.ts +2 -2
  46. package/dist/esm/entity/Tokens.entity.js +3 -3
  47. package/dist/esm/entity/index.d.ts +18 -18
  48. package/dist/esm/entity/index.js +18 -18
  49. package/dist/esm/entity/util.js +1 -1
  50. package/dist/esm/index.d.ts +7 -7
  51. package/dist/esm/index.js +7 -7
  52. package/dist/esm/operators/index.d.ts +15 -15
  53. package/dist/esm/operators/index.js +15 -15
  54. package/dist/esm/operators/storeAddresses.d.ts +1 -1
  55. package/dist/esm/operators/storeAddresses.js +3 -3
  56. package/dist/esm/operators/storeAssets.d.ts +1 -1
  57. package/dist/esm/operators/storeAssets.js +2 -2
  58. package/dist/esm/operators/storeBlock.d.ts +1 -1
  59. package/dist/esm/operators/storeBlock.js +2 -2
  60. package/dist/esm/operators/storeHandleMetadata.d.ts +2 -2
  61. package/dist/esm/operators/storeHandleMetadata.js +2 -2
  62. package/dist/esm/operators/storeHandles.d.ts +3 -3
  63. package/dist/esm/operators/storeHandles.js +3 -3
  64. package/dist/esm/operators/storeHandles.js.map +1 -1
  65. package/dist/esm/operators/storeNftMetadata.d.ts +1 -1
  66. package/dist/esm/operators/storeNftMetadata.js +2 -2
  67. package/dist/esm/operators/storePoolMetricsUpdateJob.d.ts +2 -2
  68. package/dist/esm/operators/storePoolMetricsUpdateJob.js +2 -2
  69. package/dist/esm/operators/storeStakeKeyRegistrations.d.ts +1 -1
  70. package/dist/esm/operators/storeStakeKeyRegistrations.js +2 -2
  71. package/dist/esm/operators/storeStakeKeys.d.ts +1 -1
  72. package/dist/esm/operators/storeStakeKeys.js +2 -2
  73. package/dist/esm/operators/storeStakePoolMetadataJob.d.ts +2 -2
  74. package/dist/esm/operators/storeStakePoolMetadataJob.js +2 -2
  75. package/dist/esm/operators/storeStakePoolRewardsJob.d.ts +2 -2
  76. package/dist/esm/operators/storeStakePoolRewardsJob.js +2 -2
  77. package/dist/esm/operators/storeStakePools.d.ts +1 -1
  78. package/dist/esm/operators/storeStakePools.js +3 -3
  79. package/dist/esm/operators/storeStakePools.js.map +1 -1
  80. package/dist/esm/operators/storeUtxo.d.ts +1 -1
  81. package/dist/esm/operators/storeUtxo.js +2 -2
  82. package/dist/esm/operators/util.d.ts +1 -1
  83. package/dist/esm/operators/withTypeormTransaction.d.ts +2 -2
  84. package/dist/esm/operators/withTypeormTransaction.js +1 -1
  85. package/dist/esm/operators/withTypeormTransaction.js.map +1 -1
  86. package/dist/esm/tsconfig.tsbuildinfo +1 -1
  87. package/package.json +11 -12
@@ -2,9 +2,9 @@ import { Cardano } from '@cardano-sdk/core';
2
2
  import { Observable } from 'rxjs';
3
3
  import { ProjectionEvent, StabilityWindowBuffer } from '@cardano-sdk/projection';
4
4
  import { ReconnectionConfig } from '@cardano-sdk/util-rxjs';
5
- import { TypeormConnection } from './createDataSource';
5
+ import { TypeormConnection } from './createDataSource.js';
6
6
  import { WithLogger } from '@cardano-sdk/util';
7
- import { WithTypeormContext } from './operators';
7
+ import { WithTypeormContext } from './operators/index.js';
8
8
  export interface TypeormStabilityWindowBufferProps extends WithLogger {
9
9
  compactBufferEveryNBlocks?: number;
10
10
  connection$: Observable<TypeormConnection>;
@@ -10,13 +10,13 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
11
11
  };
12
12
  var _TypeormStabilityWindowBuffer_instances, _TypeormStabilityWindowBuffer_queryRunner$, _TypeormStabilityWindowBuffer_retryBackoffConfig, _TypeormStabilityWindowBuffer_logger, _TypeormStabilityWindowBuffer_compactEvery, _TypeormStabilityWindowBuffer_rollForward, _TypeormStabilityWindowBuffer_deleteOldBlockData;
13
- import { BlockDataEntity } from './entity';
13
+ import { BlockDataEntity } from './entity/index.js';
14
14
  import { ChainSyncEventType } from '@cardano-sdk/core';
15
15
  import { LessThan } from 'typeorm';
16
16
  import { catchError, concatMap, from, map, of, switchMap, take } from 'rxjs';
17
17
  import { retryBackoff } from 'backoff-rxjs';
18
18
  import { contextLogger } from '@cardano-sdk/util';
19
- import { isRecoverableTypeormError } from './isRecoverableTypeormError';
19
+ import { isRecoverableTypeormError } from './isRecoverableTypeormError.js';
20
20
  export const willStoreBlockData = ({ genesisParameters, block, tip }) => block.header.blockNo >= tip.blockNo - genesisParameters.securityParameter;
21
21
  export class TypeormStabilityWindowBuffer {
22
22
  constructor({ compactBufferEveryNBlocks = 100, connection$, logger, reconnectionConfig }) {
@@ -2,7 +2,7 @@ import 'reflect-metadata';
2
2
  import { DataSource, DataSourceOptions, QueryRunner } from 'typeorm';
3
3
  import { Logger } from 'ts-log';
4
4
  import { Observable } from 'rxjs';
5
- import { PgBossExtension } from './pgBoss';
5
+ import { PgBossExtension } from './pgBoss.js';
6
6
  export interface DataSourceExtensions {
7
7
  pgBoss?: boolean;
8
8
  }
@@ -1,11 +1,11 @@
1
1
  import 'reflect-metadata';
2
2
  import { DataSource, DefaultNamingStrategy } from 'typeorm';
3
3
  import { NEVER, concat, from, switchMap } from 'rxjs';
4
- import { createPgBoss, createPgBossExtension } from './pgBoss';
4
+ import { createPgBoss, createPgBossExtension } from './pgBoss.js';
5
5
  import { contextLogger, patchObject } from '@cardano-sdk/util';
6
6
  import { finalizeWithLatest } from '@cardano-sdk/util-rxjs';
7
- import { typeormLogger } from './logger';
8
- import snakeCase from 'lodash/snakeCase';
7
+ import { typeormLogger } from './logger.js';
8
+ import snakeCase from 'lodash/snakeCase.js';
9
9
  const toTableName = (tableOrName) => (typeof tableOrName === 'string' ? tableOrName : tableOrName.name).replace('_entity', '');
10
10
  const namingOverrides = {
11
11
  columnName(propertyName, customName, _embeddedPrefixes) {
@@ -1 +1 @@
1
- {"version":3,"file":"createDataSource.js","sourceRoot":"","sources":["../../src/createDataSource.ts"],"names":[],"mappings":"AAAA,OAAO,kBAAkB,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAqB,qBAAqB,EAAwC,MAAM,SAAS,CAAC;AAErH,OAAO,EAAE,KAAK,EAAc,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AAClE,OAAO,EAAmB,YAAY,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAChF,OAAO,EAAc,aAAa,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,SAAS,MAAM,kBAAkB,CAAC;AAqCzC,MAAM,WAAW,GAAG,CAAC,WAAsC,EAAE,EAAE,CAC7D,CAAC,OAAO,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;AAE5F,MAAM,eAAe,GAAqC;IACxD,UAAU,CAAC,YAAY,EAAE,UAAU,EAAE,iBAAiB;QACpD,OAAO,UAAU,IAAI,SAAS,CAAC,YAAY,CAAC,CAAC;IAC/C,CAAC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AAI,CAAC,kCAAkC,EAAE,KAAK,CAAC,CAAC;SACxD;KACF;AACH,CAAC,CAAC;AAIJ,MAAM,gBAAgB,GAAG,KAAK,EAAE,UAAsB,EAAE,EAAE,MAAM,EAAE,UAAU,EAAgB,EAAE,EAAE;IAC9F,MAAM,WAAW,GAAG,UAAU,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC;IAC3D,MAAM,WAAW,CAAC,OAAO,EAAE,CAAC;IAC5B,IAAI,UAAU,EAAE,MAAM,EAAE;QACtB,MAAM,MAAM,GAAG,qBAAqB,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;QAC1D,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC;KAChC;IACD,OAAO,EAAE,WAAW,EAAE,CAAC;AACzB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,OAAO,GAClB,CAAC,EAAE,MAAM,EAAE,UAAU,EAAgB,EAAE,EAAE,CACzC,CAAC,WAAmC,EAAE,EAAE,CACtC,WAAW,CAAC,IAAI,CACd,SAAS,CAAC,CAAC,UAAU,EAAE,EAAE,CACvB,MAAM,CAAC,IAAI,CAAC,gBAAgB,CAAC,UAAU,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,IAAI,CAC5E,kBAAkB,CAAC,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAClD,CACF,CACF,CAAC;AAEN,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,KAAsC,EAAiC,EAAE,CAClH,0BAA0B,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC"}
@@ -2,7 +2,7 @@ import { BaseProjectionEvent } from '@cardano-sdk/projection';
2
2
  import { TipOrOrigin } from '@cardano-sdk/core';
3
3
  import { Observable } from 'rxjs';
4
4
  import { ReconnectionConfig } from '@cardano-sdk/util-rxjs';
5
- import { TypeormConnection } from './createDataSource';
5
+ import { TypeormConnection } from './createDataSource.js';
6
6
  export interface CreateTypeormTipTrackerProps {
7
7
  connection$: Observable<TypeormConnection>;
8
8
  reconnectionConfig: ReconnectionConfig;
@@ -1,8 +1,8 @@
1
- import { BlockEntity } from './entity';
1
+ import { BlockEntity } from './entity/index.js';
2
2
  import { ChainSyncEventType } from '@cardano-sdk/core';
3
3
  import { Observable, ReplaySubject, from, map, of, switchMap, take, tap } from 'rxjs';
4
4
  import { retryBackoff } from 'backoff-rxjs';
5
- import { isRecoverableTypeormError } from './isRecoverableTypeormError';
5
+ import { isRecoverableTypeormError } from './isRecoverableTypeormError.js';
6
6
  export const createTypeormTipTracker = ({ connection$, reconnectionConfig }) => {
7
7
  const retryBackoffConfig = {
8
8
  ...reconnectionConfig,
@@ -1,6 +1,6 @@
1
1
  import { Cardano } from '@cardano-sdk/core';
2
2
  import { Hash28ByteBase16 } from '@cardano-sdk/crypto';
3
- import { StakeKeyRegistrationEntity } from './StakeKeyRegistration.entity';
3
+ import { StakeKeyRegistrationEntity } from './StakeKeyRegistration.entity.js';
4
4
  export declare class AddressEntity {
5
5
  address?: Cardano.PaymentAddress;
6
6
  type?: Cardano.AddressType;
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  };
10
10
  import { Cardano } from '@cardano-sdk/core';
11
11
  import { Column, Entity, Index, JoinColumn, ManyToOne, PrimaryColumn } from 'typeorm';
12
- import { StakeKeyRegistrationEntity } from './StakeKeyRegistration.entity';
12
+ import { StakeKeyRegistrationEntity } from './StakeKeyRegistration.entity.js';
13
13
  let AddressEntity = class AddressEntity {
14
14
  };
15
15
  __decorate([
@@ -1,6 +1,6 @@
1
- import { BlockEntity } from './Block.entity';
1
+ import { BlockEntity } from './Block.entity.js';
2
2
  import { Cardano } from '@cardano-sdk/core';
3
- import { NftMetadataEntity } from './NftMetadata.entity';
3
+ import { NftMetadataEntity } from './NftMetadata.entity.js';
4
4
  export declare class AssetEntity {
5
5
  id?: Cardano.AssetId;
6
6
  supply?: bigint;
@@ -7,12 +7,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { BlockEntity } from './Block.entity';
10
+ import { BlockEntity } from './Block.entity.js';
11
11
  import { Cardano } from '@cardano-sdk/core';
12
12
  import { Column, Entity, JoinColumn, ManyToOne, OneToOne, PrimaryColumn } from 'typeorm';
13
- import { NftMetadataEntity } from './NftMetadata.entity';
14
- import { OnDeleteCascadeRelationOptions, OnDeleteSetNullRelationOptions } from './util';
15
- import { parseBigInt } from './transformers';
13
+ import { NftMetadataEntity } from './NftMetadata.entity.js';
14
+ import { OnDeleteCascadeRelationOptions, OnDeleteSetNullRelationOptions } from './util.js';
15
+ import { parseBigInt } from './transformers.js';
16
16
  let AssetEntity = class AssetEntity {
17
17
  };
18
18
  __decorate([
@@ -1,4 +1,4 @@
1
- import { BlockEntity } from './Block.entity';
1
+ import { BlockEntity } from './Block.entity.js';
2
2
  import { Cardano } from '@cardano-sdk/core';
3
3
  export declare class BlockDataEntity {
4
4
  blockHeight?: number;
@@ -7,11 +7,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { BlockEntity } from './Block.entity';
10
+ import { BlockEntity } from './Block.entity.js';
11
11
  import { Cardano } from '@cardano-sdk/core';
12
12
  import { Column, Entity, JoinColumn, OneToOne, PrimaryColumn } from 'typeorm';
13
- import { OnDeleteCascadeRelationOptions } from './util';
14
- import { json, serializableObj, stringBytea } from './transformers';
13
+ import { OnDeleteCascadeRelationOptions } from './util.js';
14
+ import { json, serializableObj, stringBytea } from './transformers.js';
15
15
  let BlockDataEntity = class BlockDataEntity {
16
16
  };
17
17
  __decorate([
@@ -1,6 +1,6 @@
1
1
  import { Cardano } from '@cardano-sdk/core';
2
2
  import { Percent } from '@cardano-sdk/util';
3
- import { StakePoolEntity } from './StakePool.entity';
3
+ import { StakePoolEntity } from './StakePool.entity.js';
4
4
  export declare class CurrentPoolMetricsEntity {
5
5
  stakePoolId?: Cardano.PoolId;
6
6
  slot: Cardano.Slot;
@@ -7,12 +7,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { BigIntColumnOptions, OnDeleteCascadeRelationOptions } from './util';
10
+ import { BigIntColumnOptions, OnDeleteCascadeRelationOptions } from './util.js';
11
11
  import { Cardano } from '@cardano-sdk/core';
12
12
  import { Column, Entity, JoinColumn, OneToOne, PrimaryColumn } from 'typeorm';
13
13
  import { Percent } from '@cardano-sdk/util';
14
- import { StakePoolEntity } from './StakePool.entity';
15
- import { float } from './transformers';
14
+ import { StakePoolEntity } from './StakePool.entity.js';
15
+ import { float } from './transformers.js';
16
16
  let CurrentPoolMetricsEntity = class CurrentPoolMetricsEntity {
17
17
  };
18
18
  __decorate([
@@ -1,4 +1,4 @@
1
- import { AssetEntity } from './Asset.entity';
1
+ import { AssetEntity } from './Asset.entity.js';
2
2
  import { Cardano, Handle } from '@cardano-sdk/core';
3
3
  export declare class HandleEntity {
4
4
  handle?: Handle;
@@ -8,7 +8,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
10
  var HandleEntity_1;
11
- import { AssetEntity } from './Asset.entity';
11
+ import { AssetEntity } from './Asset.entity.js';
12
12
  import { Cardano } from '@cardano-sdk/core';
13
13
  import { Column, Entity, JoinColumn, ManyToOne, OneToOne, PrimaryColumn } from 'typeorm';
14
14
  let HandleEntity = HandleEntity_1 = class HandleEntity {
@@ -1,6 +1,6 @@
1
1
  import { Asset, Handle } from '@cardano-sdk/core';
2
- import { BlockEntity } from './Block.entity';
3
- import { OutputEntity } from './Output.entity';
2
+ import { BlockEntity } from './Block.entity.js';
3
+ import { OutputEntity } from './Output.entity.js';
4
4
  export declare class HandleMetadataEntity {
5
5
  id?: number;
6
6
  handle?: Handle;
@@ -7,10 +7,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { BlockEntity } from './Block.entity';
10
+ import { BlockEntity } from './Block.entity.js';
11
11
  import { Column, Entity, Index, JoinColumn, ManyToOne, PrimaryGeneratedColumn } from 'typeorm';
12
- import { OnDeleteCascadeRelationOptions } from './util';
13
- import { OutputEntity } from './Output.entity';
12
+ import { OnDeleteCascadeRelationOptions } from './util.js';
13
+ import { OutputEntity } from './Output.entity.js';
14
14
  let HandleMetadataEntity = class HandleMetadataEntity {
15
15
  };
16
16
  __decorate([
@@ -1,6 +1,6 @@
1
1
  import { Asset, Cardano } from '@cardano-sdk/core';
2
- import { AssetEntity } from './Asset.entity';
3
- import { BlockEntity } from './Block.entity';
2
+ import { AssetEntity } from './Asset.entity.js';
3
+ import { BlockEntity } from './Block.entity.js';
4
4
  export declare enum NftMetadataType {
5
5
  CIP25 = "CIP-0025",
6
6
  CIP68 = "CIP-0068"
@@ -8,11 +8,11 @@ var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
10
  import { Asset } from '@cardano-sdk/core';
11
- import { AssetEntity } from './Asset.entity';
12
- import { BlockEntity } from './Block.entity';
11
+ import { AssetEntity } from './Asset.entity.js';
12
+ import { BlockEntity } from './Block.entity.js';
13
13
  import { Column, Entity, JoinColumn, ManyToOne, PrimaryGeneratedColumn } from 'typeorm';
14
- import { OnDeleteCascadeRelationOptions, OnDeleteSetNullRelationOptions } from './util';
15
- import { sanitizeNullCharacters, serializableObj } from './transformers';
14
+ import { OnDeleteCascadeRelationOptions, OnDeleteSetNullRelationOptions } from './util.js';
15
+ import { sanitizeNullCharacters, serializableObj } from './transformers.js';
16
16
  export var NftMetadataType;
17
17
  (function (NftMetadataType) {
18
18
  NftMetadataType["CIP25"] = "CIP-0025";
@@ -1,7 +1,7 @@
1
- import { BlockEntity } from './Block.entity';
1
+ import { BlockEntity } from './Block.entity.js';
2
2
  import { Cardano } from '@cardano-sdk/core';
3
3
  import { HexBlob } from '@cardano-sdk/util';
4
- import { TokensEntity } from './Tokens.entity';
4
+ import { TokensEntity } from './Tokens.entity.js';
5
5
  export declare class OutputEntity {
6
6
  id?: number;
7
7
  address?: Cardano.PaymentAddress;
@@ -7,11 +7,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { BigIntColumnOptions, OnDeleteCascadeRelationOptions } from './util';
11
- import { BlockEntity } from './Block.entity';
10
+ import { BigIntColumnOptions, OnDeleteCascadeRelationOptions } from './util.js';
11
+ import { BlockEntity } from './Block.entity.js';
12
12
  import { Cardano } from '@cardano-sdk/core';
13
13
  import { Column, Entity, Index, JoinColumn, ManyToOne, OneToMany, PrimaryGeneratedColumn } from 'typeorm';
14
- import { TokensEntity } from './Tokens.entity';
14
+ import { TokensEntity } from './Tokens.entity.js';
15
15
  let OutputEntity = class OutputEntity {
16
16
  };
17
17
  __decorate([
@@ -1,6 +1,6 @@
1
1
  import { Cardano } from '@cardano-sdk/core';
2
- import { PoolRegistrationEntity } from './PoolRegistration.entity';
3
- import { StakePoolEntity } from './StakePool.entity';
2
+ import { PoolRegistrationEntity } from './PoolRegistration.entity.js';
3
+ import { StakePoolEntity } from './StakePool.entity.js';
4
4
  export declare class PoolMetadataEntity {
5
5
  id?: number;
6
6
  ticker?: string;
@@ -8,9 +8,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
10
  import { Column, Entity, Index, JoinColumn, ManyToOne, OneToOne, PrimaryGeneratedColumn } from 'typeorm';
11
- import { OnDeleteCascadeRelationOptions } from './util';
12
- import { PoolRegistrationEntity } from './PoolRegistration.entity';
13
- import { StakePoolEntity } from './StakePool.entity';
11
+ import { OnDeleteCascadeRelationOptions } from './util.js';
12
+ import { PoolRegistrationEntity } from './PoolRegistration.entity.js';
13
+ import { StakePoolEntity } from './StakePool.entity.js';
14
14
  let PoolMetadataEntity = class PoolMetadataEntity {
15
15
  };
16
16
  __decorate([
@@ -1,8 +1,8 @@
1
- import { BlockEntity } from './Block.entity';
1
+ import { BlockEntity } from './Block.entity.js';
2
2
  import { Cardano } from '@cardano-sdk/core';
3
3
  import { Percent } from '@cardano-sdk/util';
4
- import { PoolMetadataEntity } from './PoolMetadata.entity';
5
- import { StakePoolEntity } from './StakePool.entity';
4
+ import { PoolMetadataEntity } from './PoolMetadata.entity.js';
5
+ import { StakePoolEntity } from './StakePool.entity.js';
6
6
  export declare class PoolRegistrationEntity {
7
7
  id?: bigint;
8
8
  rewardAccount?: Cardano.RewardAccount;
@@ -7,13 +7,13 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { BigIntColumnOptions, OnDeleteCascadeRelationOptions, UInt64ColumnOptions } from './util';
11
- import { BlockEntity } from './Block.entity';
10
+ import { BigIntColumnOptions, OnDeleteCascadeRelationOptions, UInt64ColumnOptions } from './util.js';
11
+ import { BlockEntity } from './Block.entity.js';
12
12
  import { Cardano } from '@cardano-sdk/core';
13
13
  import { Column, Entity, JoinColumn, ManyToOne, OneToOne, PrimaryColumn } from 'typeorm';
14
14
  import { Percent } from '@cardano-sdk/util';
15
- import { PoolMetadataEntity } from './PoolMetadata.entity';
16
- import { StakePoolEntity } from './StakePool.entity';
15
+ import { PoolMetadataEntity } from './PoolMetadata.entity.js';
16
+ import { StakePoolEntity } from './StakePool.entity.js';
17
17
  let PoolRegistrationEntity = class PoolRegistrationEntity {
18
18
  };
19
19
  __decorate([
@@ -1,6 +1,6 @@
1
- import { BlockEntity } from './Block.entity';
1
+ import { BlockEntity } from './Block.entity.js';
2
2
  import { Cardano } from '@cardano-sdk/core';
3
- import { StakePoolEntity } from './StakePool.entity';
3
+ import { StakePoolEntity } from './StakePool.entity.js';
4
4
  export declare class PoolRetirementEntity {
5
5
  id?: bigint;
6
6
  retireAtEpoch?: Cardano.EpochNo;
@@ -7,11 +7,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { BigIntColumnOptions, OnDeleteCascadeRelationOptions } from './util';
11
- import { BlockEntity } from './Block.entity';
10
+ import { BigIntColumnOptions, OnDeleteCascadeRelationOptions } from './util.js';
11
+ import { BlockEntity } from './Block.entity.js';
12
12
  import { Cardano } from '@cardano-sdk/core';
13
13
  import { Column, Entity, JoinColumn, ManyToOne, PrimaryColumn } from 'typeorm';
14
- import { StakePoolEntity } from './StakePool.entity';
14
+ import { StakePoolEntity } from './StakePool.entity.js';
15
15
  let PoolRetirementEntity = class PoolRetirementEntity {
16
16
  };
17
17
  __decorate([
@@ -1,5 +1,5 @@
1
1
  import { Cardano } from '@cardano-sdk/core';
2
- import { StakePoolEntity } from './StakePool.entity';
2
+ import { StakePoolEntity } from './StakePool.entity.js';
3
3
  export declare class PoolRewardsEntity {
4
4
  id?: number;
5
5
  stakePoolId?: Cardano.PoolId;
@@ -9,8 +9,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  };
10
10
  import { Cardano } from '@cardano-sdk/core';
11
11
  import { Column, Entity, JoinColumn, ManyToOne, PrimaryGeneratedColumn, Unique } from 'typeorm';
12
- import { StakePoolEntity } from './StakePool.entity';
13
- import { UInt64ColumnOptions } from './util';
12
+ import { StakePoolEntity } from './StakePool.entity.js';
13
+ import { UInt64ColumnOptions } from './util.js';
14
14
  let PoolRewardsEntity = class PoolRewardsEntity {
15
15
  };
16
16
  __decorate([
@@ -1,4 +1,4 @@
1
- import { BlockEntity } from './Block.entity';
1
+ import { BlockEntity } from './Block.entity.js';
2
2
  import { Ed25519KeyHashHex } from '@cardano-sdk/crypto';
3
3
  export declare class StakeKeyRegistrationEntity {
4
4
  id?: bigint;
@@ -7,8 +7,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { BigIntColumnOptions, OnDeleteCascadeRelationOptions } from './util';
11
- import { BlockEntity } from './Block.entity';
10
+ import { BigIntColumnOptions, OnDeleteCascadeRelationOptions } from './util.js';
11
+ import { BlockEntity } from './Block.entity.js';
12
12
  import { Column, Entity, Index, JoinColumn, ManyToOne, PrimaryColumn } from 'typeorm';
13
13
  import { Ed25519KeyHashHex } from '@cardano-sdk/crypto';
14
14
  let StakeKeyRegistrationEntity = class StakeKeyRegistrationEntity {
@@ -1,7 +1,7 @@
1
1
  import { Cardano } from '@cardano-sdk/core';
2
- import { CurrentPoolMetricsEntity } from './CurrentPoolMetrics.entity';
3
- import { PoolRegistrationEntity } from './PoolRegistration.entity';
4
- import { PoolRetirementEntity } from './PoolRetirement.entity';
2
+ import { CurrentPoolMetricsEntity } from './CurrentPoolMetrics.entity.js';
3
+ import { PoolRegistrationEntity } from './PoolRegistration.entity.js';
4
+ import { PoolRetirementEntity } from './PoolRetirement.entity.js';
5
5
  export declare class StakePoolEntity {
6
6
  id?: Cardano.PoolId;
7
7
  status?: Cardano.StakePoolStatus;
@@ -9,10 +9,10 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  };
10
10
  import { Cardano } from '@cardano-sdk/core';
11
11
  import { Column, Entity, Index, JoinColumn, OneToMany, OneToOne, PrimaryColumn } from 'typeorm';
12
- import { CurrentPoolMetricsEntity } from './CurrentPoolMetrics.entity';
13
- import { OnDeleteSetNullRelationOptions } from './util';
14
- import { PoolRegistrationEntity } from './PoolRegistration.entity';
15
- import { PoolRetirementEntity } from './PoolRetirement.entity';
12
+ import { CurrentPoolMetricsEntity } from './CurrentPoolMetrics.entity.js';
13
+ import { OnDeleteSetNullRelationOptions } from './util.js';
14
+ import { PoolRegistrationEntity } from './PoolRegistration.entity.js';
15
+ import { PoolRetirementEntity } from './PoolRetirement.entity.js';
16
16
  let StakePoolEntity = class StakePoolEntity {
17
17
  };
18
18
  __decorate([
@@ -1,5 +1,5 @@
1
- import { AssetEntity } from './Asset.entity';
2
- import { OutputEntity } from './Output.entity';
1
+ import { AssetEntity } from './Asset.entity.js';
2
+ import { OutputEntity } from './Output.entity.js';
3
3
  export declare class TokensEntity {
4
4
  id?: number;
5
5
  asset?: AssetEntity;
@@ -7,10 +7,10 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
7
7
  var __metadata = (this && this.__metadata) || function (k, v) {
8
8
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
9
  };
10
- import { AssetEntity } from './Asset.entity';
10
+ import { AssetEntity } from './Asset.entity.js';
11
11
  import { Column, Entity, JoinColumn, ManyToOne, PrimaryGeneratedColumn } from 'typeorm';
12
- import { OnDeleteCascadeRelationOptions, UInt64ColumnOptions } from './util';
13
- import { OutputEntity } from './Output.entity';
12
+ import { OnDeleteCascadeRelationOptions, UInt64ColumnOptions } from './util.js';
13
+ import { OutputEntity } from './Output.entity.js';
14
14
  let TokensEntity = class TokensEntity {
15
15
  };
16
16
  __decorate([
@@ -1,19 +1,19 @@
1
- export * from './Address.entity';
2
- export * from './Asset.entity';
3
- export * from './Block.entity';
4
- export * from './BlockData.entity';
5
- export * from './CurrentPoolMetrics.entity';
6
- export * from './Handle.entity';
7
- export * from './HandleMetadata.entity';
8
- export * from './NftMetadata.entity';
9
- export * from './Output.entity';
10
- export * from './PoolDelisted.entity';
11
- export * from './PoolMetadata.entity';
12
- export * from './PoolRegistration.entity';
13
- export * from './PoolRetirement.entity';
14
- export * from './PoolRewards.entity';
15
- export * from './StakeKey.entity';
16
- export * from './StakeKeyRegistration.entity';
17
- export * from './StakePool.entity';
18
- export * from './Tokens.entity';
1
+ export * from './Address.entity.js';
2
+ export * from './Asset.entity.js';
3
+ export * from './Block.entity.js';
4
+ export * from './BlockData.entity.js';
5
+ export * from './CurrentPoolMetrics.entity.js';
6
+ export * from './Handle.entity.js';
7
+ export * from './HandleMetadata.entity.js';
8
+ export * from './NftMetadata.entity.js';
9
+ export * from './Output.entity.js';
10
+ export * from './PoolDelisted.entity.js';
11
+ export * from './PoolMetadata.entity.js';
12
+ export * from './PoolRegistration.entity.js';
13
+ export * from './PoolRetirement.entity.js';
14
+ export * from './PoolRewards.entity.js';
15
+ export * from './StakeKey.entity.js';
16
+ export * from './StakeKeyRegistration.entity.js';
17
+ export * from './StakePool.entity.js';
18
+ export * from './Tokens.entity.js';
19
19
  //# sourceMappingURL=index.d.ts.map
@@ -1,19 +1,19 @@
1
- export * from './Address.entity';
2
- export * from './Asset.entity';
3
- export * from './Block.entity';
4
- export * from './BlockData.entity';
5
- export * from './CurrentPoolMetrics.entity';
6
- export * from './Handle.entity';
7
- export * from './HandleMetadata.entity';
8
- export * from './NftMetadata.entity';
9
- export * from './Output.entity';
10
- export * from './PoolDelisted.entity';
11
- export * from './PoolMetadata.entity';
12
- export * from './PoolRegistration.entity';
13
- export * from './PoolRetirement.entity';
14
- export * from './PoolRewards.entity';
15
- export * from './StakeKey.entity';
16
- export * from './StakeKeyRegistration.entity';
17
- export * from './StakePool.entity';
18
- export * from './Tokens.entity';
1
+ export * from './Address.entity.js';
2
+ export * from './Asset.entity.js';
3
+ export * from './Block.entity.js';
4
+ export * from './BlockData.entity.js';
5
+ export * from './CurrentPoolMetrics.entity.js';
6
+ export * from './Handle.entity.js';
7
+ export * from './HandleMetadata.entity.js';
8
+ export * from './NftMetadata.entity.js';
9
+ export * from './Output.entity.js';
10
+ export * from './PoolDelisted.entity.js';
11
+ export * from './PoolMetadata.entity.js';
12
+ export * from './PoolRegistration.entity.js';
13
+ export * from './PoolRetirement.entity.js';
14
+ export * from './PoolRewards.entity.js';
15
+ export * from './StakeKey.entity.js';
16
+ export * from './StakeKeyRegistration.entity.js';
17
+ export * from './StakePool.entity.js';
18
+ export * from './Tokens.entity.js';
19
19
  //# sourceMappingURL=index.js.map
@@ -1,4 +1,4 @@
1
- import { parseBigInt } from './transformers';
1
+ import { parseBigInt } from './transformers.js';
2
2
  export const OnDeleteCascadeRelationOptions = {
3
3
  nullable: false,
4
4
  onDelete: 'CASCADE'
@@ -1,8 +1,8 @@
1
- export * from './TypeormStabilityWindowBuffer';
2
- export * from './createDataSource';
3
- export * from './createTypeormTipTracker';
4
- export * from './entity';
5
- export * from './isRecoverableTypeormError';
6
- export * from './operators';
7
- export * from './pgBoss';
1
+ export * from './TypeormStabilityWindowBuffer.js';
2
+ export * from './createDataSource.js';
3
+ export * from './createTypeormTipTracker.js';
4
+ export * from './entity/index.js';
5
+ export * from './isRecoverableTypeormError.js';
6
+ export * from './operators/index.js';
7
+ export * from './pgBoss.js';
8
8
  //# sourceMappingURL=index.d.ts.map
package/dist/esm/index.js CHANGED
@@ -1,8 +1,8 @@
1
- export * from './TypeormStabilityWindowBuffer';
2
- export * from './createDataSource';
3
- export * from './createTypeormTipTracker';
4
- export * from './entity';
5
- export * from './isRecoverableTypeormError';
6
- export * from './operators';
7
- export * from './pgBoss';
1
+ export * from './TypeormStabilityWindowBuffer.js';
2
+ export * from './createDataSource.js';
3
+ export * from './createTypeormTipTracker.js';
4
+ export * from './entity/index.js';
5
+ export * from './isRecoverableTypeormError.js';
6
+ export * from './operators/index.js';
7
+ export * from './pgBoss.js';
8
8
  //# sourceMappingURL=index.js.map