Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @tezos-dappetizer/database

Index

Other

BlockDataIndexerUsingDb<TContextData>: BlockDataIndexer<DbContext, TContextData>

BlockDataIndexer with standard Dappetizer DbContext.

Type parameters

  • TContextData = unknown

ContractIndexerUsingDb<TContextData, TContractData>: ContractIndexer<DbContext, TContextData, TContractData>

ContractIndexer with standard Dappetizer DbContext.

Type parameters

  • TContextData = unknown

  • TContractData = unknown

DbColumnOptions: Readonly<StrictOmit<PrimaryColumnOptions, "nullable">>
DbEntity: ElementOf<Exclude<ConnectionOptions["entities"], undefined>>
IndexerModuleUsingDbFactory<TContextData>: IndexerModuleFactory<DbContext, TContextData>

IndexerModuleFactory with standard Dappetizer DbContext.

Type parameters

  • TContextData

IndexingCycleHandlerUsingDb<TContextData>: IndexingCycleHandler<DbContext, TContextData>

IndexingCycleHandler with standard Dappetizer DbContext.

Type parameters

  • TContextData = unknown

DAPPETIZER_DB_ENTITIES: readonly Constructor[] = ...
DAPPETIZER_NAMING_STRATEGY: NamingStrategyInterface = ...
DATABASE_PACKAGE_JSON_DI_TOKEN: InjectionToken<DatabasePackageJson> = ...
DB_CONNECTION_PROVIDER_DI_TOKEN: InjectionToken<DbConnectionProvider> = ...
DB_EXECUTOR_DI_TOKEN: InjectionToken<DbExecutor> = ...
DB_INITIALIZERS_DI_TOKEN: InjectionToken<DbInitializer> = ...
TYPEORM_DI_TOKEN: InjectionToken<TypeormAbstraction> = ...
bigNumberDbTransformer: DbValueTransformer<BigNumber, string> = ...
commonDbColumns: Readonly<{ address: Readonly<Omit<PrimaryColumnOptions, "nullable">>; bigNumber: Readonly<Omit<PrimaryColumnOptions, "nullable">>; blockHash: Readonly<Omit<PrimaryColumnOptions, "nullable">>; chainId: Readonly<Omit<PrimaryColumnOptions, "nullable">>; operationGroupHash: Readonly<Omit<PrimaryColumnOptions, "nullable">> }> = ...
versionInfo: Readonly<{ COMMIT_HASH: ""; VERSION: string }> = ...
  • dbColumnName<TEntity>(column: keyof TEntity): string
  • Type parameters

    • TEntity

    Parameters

    • column: keyof TEntity

    Returns string

  • getEntityName(dbEntity: string | Function | EntitySchema<any>): string
  • Parameters

    • dbEntity: string | Function | EntitySchema<any>

    Returns string

  • registerDappetizerWithDatabase(diContainer: default): void
  • Parameters

    • diContainer: default

    Returns void

Generated using TypeDoc