@secondlayer/shared 17.1.0 → 18.0.0

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 (38) hide show
  1. package/dist/src/archive/range-digest.d.ts +2 -65
  2. package/dist/src/archive/semantic-digest-builder.d.ts +2 -65
  3. package/dist/src/coverage/index.d.ts +12 -76
  4. package/dist/src/coverage/index.js +19 -60
  5. package/dist/src/coverage/index.js.map +3 -3
  6. package/dist/src/db/index.d.ts +3 -111
  7. package/dist/src/db/index.js +1 -34
  8. package/dist/src/db/index.js.map +5 -5
  9. package/dist/src/db/queries/chain-reorgs.d.ts +2 -65
  10. package/dist/src/db/queries/chain-reorgs.js +1 -34
  11. package/dist/src/db/queries/chain-reorgs.js.map +5 -5
  12. package/dist/src/db/queries/contracts.d.ts +2 -65
  13. package/dist/src/db/queries/contracts.js.map +2 -2
  14. package/dist/src/db/queries/instance.d.ts +2 -65
  15. package/dist/src/db/queries/integrity.d.ts +2 -65
  16. package/dist/src/db/queries/subgraph-gaps.d.ts +2 -65
  17. package/dist/src/db/queries/subgraph-operations.d.ts +2 -65
  18. package/dist/src/db/queries/subgraphs.d.ts +2 -65
  19. package/dist/src/db/queries/sync-scope.d.ts +2 -65
  20. package/dist/src/db/queries/webhook-replays.d.ts +2 -65
  21. package/dist/src/db/queries/webhooks.d.ts +2 -65
  22. package/dist/src/db/schema.d.ts +3 -64
  23. package/dist/src/db/schema.js.map +2 -2
  24. package/dist/src/index.d.ts +3 -111
  25. package/dist/src/index.js +1 -34
  26. package/dist/src/index.js.map +5 -5
  27. package/dist/src/insights/index.d.ts +2 -65
  28. package/dist/src/leader.js +1 -34
  29. package/dist/src/leader.js.map +5 -5
  30. package/dist/src/node/local-client.d.ts +2 -65
  31. package/dist/src/queue/listener.js +1 -34
  32. package/dist/src/queue/listener.js.map +5 -5
  33. package/migrations/0211_decoded_events_slim.ts +114 -0
  34. package/migrations/0212_events_transactions_redundant_indexes.ts +71 -0
  35. package/migrations/0213_drop_sbtc_token_events.ts +32 -0
  36. package/migrations/0214_drop_coverage_receipts.ts +24 -0
  37. package/migrations/0215_decoder_checkpoints_last_output_at.ts +33 -0
  38. package/package.json +1 -1
@@ -32,8 +32,6 @@ declare const NATIVE_CLOCKS: readonly ["block", "cursor", "queue"];
32
32
  type NativeClock = (typeof NATIVE_CLOCKS)[number];
33
33
  declare const REPAIR_MODES: readonly ["range_safe", "full_reindex", "archive_replay", "none"];
34
34
  type RepairMode = (typeof REPAIR_MODES)[number];
35
- declare const RUN_STATUSES: readonly ["pending", "running", "complete", "syncing", "lagging", "gap", "stale", "failed", "unverified_import", "unanchored", "source_unavailable", "out_of_scope", "disabled", "halted"];
36
- type RunStatus = (typeof RUN_STATUSES)[number];
37
35
  declare const FAILURE_UNITS: readonly ["block", "range", "cursor", "queue"];
38
36
  type FailureUnit = (typeof FAILURE_UNITS)[number];
39
37
  declare const FAILURE_CLASSES: readonly ["omission", "version", "digest_mismatch", "crash", "reorg", "source_gap", "handler", "timeout", "unknown"];
@@ -472,7 +470,6 @@ interface DecodedEventsTable {
472
470
  tx_index: number;
473
471
  event_index: number;
474
472
  event_type: string;
475
- microblock_hash: string | null;
476
473
  canonical: Generated<boolean>;
477
474
  contract_id: string | null;
478
475
  sender: string | null;
@@ -484,13 +481,14 @@ interface DecodedEventsTable {
484
481
  /** Decoded payload for event types that don't fit the flat columns
485
482
  * (e.g. `print`: { topic, value, raw_value }). Null for transfer types. */
486
483
  payload: unknown | null;
487
- source_cursor: string;
488
484
  created_at: Generated<Date>;
489
485
  }
490
486
  interface DecoderCheckpointsTable {
491
487
  decoder_name: string;
492
488
  last_cursor: string | null;
493
489
  updated_at: Generated<Date>;
490
+ /** Last commit that wrote output rows; health's real-work signal. */
491
+ last_output_at: Date | null;
494
492
  }
495
493
  interface ChainReorgsTable {
496
494
  id: Generated<string>;
@@ -618,23 +616,6 @@ interface SbtcEventsTable {
618
616
  source_cursor: string;
619
617
  created_at: Generated<Date>;
620
618
  }
621
- type SbtcTokenEventType = "transfer" | "mint" | "burn";
622
- interface SbtcTokenEventsTable {
623
- cursor: string;
624
- block_height: number;
625
- block_time: Date;
626
- tx_id: string;
627
- tx_index: number;
628
- event_index: number;
629
- event_type: SbtcTokenEventType;
630
- sender: string | null;
631
- recipient: string | null;
632
- amount: string;
633
- memo: string | null;
634
- canonical: Generated<boolean>;
635
- source_cursor: string;
636
- created_at: Generated<Date>;
637
- }
638
619
  /**
639
620
  * BTC L1 settlement status for sBTC withdrawal sweeps. Filled by the indexer's
640
621
  * settlement-confirmer worker, which polls our own bitcoind for confirmations of
@@ -816,50 +797,10 @@ interface StageRegistryTable {
816
797
  enabled: Generated<boolean>;
817
798
  created_at: Generated<Date>;
818
799
  }
819
- /** One versioned sweep of a stage. Nothing writes this table yet; kept because the receipts and failures tables reference it. */
820
- interface StageRunsTable {
821
- id: Generated<string>;
822
- stage_id: string;
823
- code_hash: string;
824
- config_hash: string;
825
- handler_hash: string | null;
826
- target_height: number | null;
827
- target_cursor: string | null;
828
- status: RunStatus;
829
- complete_through: number | null;
830
- started_at: Generated<Date>;
831
- finished_at: Date | null;
832
- }
833
- /** Per-block acknowledgement. Unique on (stage, height, hash). */
834
- interface StageBlockReceiptsTable {
835
- id: Generated<string>;
836
- stage_id: string;
837
- run_id: string | null;
838
- block_height: number;
839
- block_hash: string;
840
- input_count: number;
841
- input_digest: string;
842
- effect_digest: string;
843
- finalized: Generated<boolean>;
844
- compacted_at: Date | null;
845
- created_at: Generated<Date>;
846
- }
847
- /** Compacted finalized range. Only sealed after receipts in the range finalize. */
848
- interface CoverageSegmentsTable {
849
- id: Generated<string>;
850
- stage_id: string;
851
- from_height: number;
852
- to_height: number;
853
- chain_digest: string;
854
- input_digest: string;
855
- output_digest: string;
856
- sealed_at: Generated<Date>;
857
- }
858
800
  /** Exact unit or range that failed, plus retry/retention state. */
859
801
  interface StageFailuresTable {
860
802
  id: Generated<string>;
861
803
  stage_id: string;
862
- run_id: string | null;
863
804
  unit_kind: FailureUnit;
864
805
  from_height: number | null;
865
806
  to_height: number | null;
@@ -929,7 +870,6 @@ interface Database {
929
870
  burn_block_rewards: BurnBlockRewardsTable;
930
871
  burn_block_reward_slots: BurnBlockRewardSlotsTable;
931
872
  sbtc_events: SbtcEventsTable;
932
- sbtc_token_events: SbtcTokenEventsTable;
933
873
  sbtc_settlements: SbtcSettlementsTable;
934
874
  bns_name_events: BnsNameEventsTable;
935
875
  bns_namespace_events: BnsNamespaceEventsTable;
@@ -942,9 +882,6 @@ interface Database {
942
882
  observer_journal: ObserverJournalTable;
943
883
  sync_scopes: SyncScopesTable;
944
884
  stage_registry: StageRegistryTable;
945
- stage_runs: StageRunsTable;
946
- stage_block_receipts: StageBlockReceiptsTable;
947
- coverage_segments: CoverageSegmentsTable;
948
885
  stage_failures: StageFailuresTable;
949
886
  archive_fetches: ArchiveFetchesTable;
950
887
  usage_ledger: UsageLedgerTable;
@@ -21,8 +21,6 @@ declare const NATIVE_CLOCKS: readonly ["block", "cursor", "queue"];
21
21
  type NativeClock = (typeof NATIVE_CLOCKS)[number];
22
22
  declare const REPAIR_MODES: readonly ["range_safe", "full_reindex", "archive_replay", "none"];
23
23
  type RepairMode = (typeof REPAIR_MODES)[number];
24
- declare const RUN_STATUSES: readonly ["pending", "running", "complete", "syncing", "lagging", "gap", "stale", "failed", "unverified_import", "unanchored", "source_unavailable", "out_of_scope", "disabled", "halted"];
25
- type RunStatus = (typeof RUN_STATUSES)[number];
26
24
  declare const FAILURE_UNITS: readonly ["block", "range", "cursor", "queue"];
27
25
  type FailureUnit = (typeof FAILURE_UNITS)[number];
28
26
  declare const FAILURE_CLASSES: readonly ["omission", "version", "digest_mismatch", "crash", "reorg", "source_gap", "handler", "timeout", "unknown"];
@@ -463,7 +461,6 @@ interface DecodedEventsTable {
463
461
  tx_index: number;
464
462
  event_index: number;
465
463
  event_type: string;
466
- microblock_hash: string | null;
467
464
  canonical: Generated<boolean>;
468
465
  contract_id: string | null;
469
466
  sender: string | null;
@@ -475,13 +472,14 @@ interface DecodedEventsTable {
475
472
  /** Decoded payload for event types that don't fit the flat columns
476
473
  * (e.g. `print`: { topic, value, raw_value }). Null for transfer types. */
477
474
  payload: unknown | null;
478
- source_cursor: string;
479
475
  created_at: Generated<Date>;
480
476
  }
481
477
  interface DecoderCheckpointsTable {
482
478
  decoder_name: string;
483
479
  last_cursor: string | null;
484
480
  updated_at: Generated<Date>;
481
+ /** Last commit that wrote output rows; health's real-work signal. */
482
+ last_output_at: Date | null;
485
483
  }
486
484
  interface ChainReorgsTable {
487
485
  id: Generated<string>;
@@ -609,23 +607,6 @@ interface SbtcEventsTable {
609
607
  source_cursor: string;
610
608
  created_at: Generated<Date>;
611
609
  }
612
- type SbtcTokenEventType = "transfer" | "mint" | "burn";
613
- interface SbtcTokenEventsTable {
614
- cursor: string;
615
- block_height: number;
616
- block_time: Date;
617
- tx_id: string;
618
- tx_index: number;
619
- event_index: number;
620
- event_type: SbtcTokenEventType;
621
- sender: string | null;
622
- recipient: string | null;
623
- amount: string;
624
- memo: string | null;
625
- canonical: Generated<boolean>;
626
- source_cursor: string;
627
- created_at: Generated<Date>;
628
- }
629
610
  /**
630
611
  * BTC L1 settlement status for sBTC withdrawal sweeps. Filled by the indexer's
631
612
  * settlement-confirmer worker, which polls our own bitcoind for confirmations of
@@ -807,50 +788,10 @@ interface StageRegistryTable {
807
788
  enabled: Generated<boolean>;
808
789
  created_at: Generated<Date>;
809
790
  }
810
- /** One versioned sweep of a stage. Nothing writes this table yet; kept because the receipts and failures tables reference it. */
811
- interface StageRunsTable {
812
- id: Generated<string>;
813
- stage_id: string;
814
- code_hash: string;
815
- config_hash: string;
816
- handler_hash: string | null;
817
- target_height: number | null;
818
- target_cursor: string | null;
819
- status: RunStatus;
820
- complete_through: number | null;
821
- started_at: Generated<Date>;
822
- finished_at: Date | null;
823
- }
824
- /** Per-block acknowledgement. Unique on (stage, height, hash). */
825
- interface StageBlockReceiptsTable {
826
- id: Generated<string>;
827
- stage_id: string;
828
- run_id: string | null;
829
- block_height: number;
830
- block_hash: string;
831
- input_count: number;
832
- input_digest: string;
833
- effect_digest: string;
834
- finalized: Generated<boolean>;
835
- compacted_at: Date | null;
836
- created_at: Generated<Date>;
837
- }
838
- /** Compacted finalized range. Only sealed after receipts in the range finalize. */
839
- interface CoverageSegmentsTable {
840
- id: Generated<string>;
841
- stage_id: string;
842
- from_height: number;
843
- to_height: number;
844
- chain_digest: string;
845
- input_digest: string;
846
- output_digest: string;
847
- sealed_at: Generated<Date>;
848
- }
849
791
  /** Exact unit or range that failed, plus retry/retention state. */
850
792
  interface StageFailuresTable {
851
793
  id: Generated<string>;
852
794
  stage_id: string;
853
- run_id: string | null;
854
795
  unit_kind: FailureUnit;
855
796
  from_height: number | null;
856
797
  to_height: number | null;
@@ -920,7 +861,6 @@ interface Database {
920
861
  burn_block_rewards: BurnBlockRewardsTable;
921
862
  burn_block_reward_slots: BurnBlockRewardSlotsTable;
922
863
  sbtc_events: SbtcEventsTable;
923
- sbtc_token_events: SbtcTokenEventsTable;
924
864
  sbtc_settlements: SbtcSettlementsTable;
925
865
  bns_name_events: BnsNameEventsTable;
926
866
  bns_namespace_events: BnsNamespaceEventsTable;
@@ -933,9 +873,6 @@ interface Database {
933
873
  observer_journal: ObserverJournalTable;
934
874
  sync_scopes: SyncScopesTable;
935
875
  stage_registry: StageRegistryTable;
936
- stage_runs: StageRunsTable;
937
- stage_block_receipts: StageBlockReceiptsTable;
938
- coverage_segments: CoverageSegmentsTable;
939
876
  stage_failures: StageFailuresTable;
940
877
  archive_fetches: ArchiveFetchesTable;
941
878
  usage_ledger: UsageLedgerTable;
@@ -451,7 +451,6 @@ interface DecodedEventsTable {
451
451
  tx_index: number;
452
452
  event_index: number;
453
453
  event_type: string;
454
- microblock_hash: string | null;
455
454
  canonical: Generated<boolean>;
456
455
  contract_id: string | null;
457
456
  sender: string | null;
@@ -463,13 +462,14 @@ interface DecodedEventsTable {
463
462
  /** Decoded payload for event types that don't fit the flat columns
464
463
  * (e.g. `print`: { topic, value, raw_value }). Null for transfer types. */
465
464
  payload: unknown | null;
466
- source_cursor: string;
467
465
  created_at: Generated<Date>;
468
466
  }
469
467
  interface DecoderCheckpointsTable {
470
468
  decoder_name: string;
471
469
  last_cursor: string | null;
472
470
  updated_at: Generated<Date>;
471
+ /** Last commit that wrote output rows; health's real-work signal. */
472
+ last_output_at: Date | null;
473
473
  }
474
474
  interface ChainReorgsTable {
475
475
  id: Generated<string>;
@@ -597,23 +597,6 @@ interface SbtcEventsTable {
597
597
  source_cursor: string;
598
598
  created_at: Generated<Date>;
599
599
  }
600
- type SbtcTokenEventType = "transfer" | "mint" | "burn";
601
- interface SbtcTokenEventsTable {
602
- cursor: string;
603
- block_height: number;
604
- block_time: Date;
605
- tx_id: string;
606
- tx_index: number;
607
- event_index: number;
608
- event_type: SbtcTokenEventType;
609
- sender: string | null;
610
- recipient: string | null;
611
- amount: string;
612
- memo: string | null;
613
- canonical: Generated<boolean>;
614
- source_cursor: string;
615
- created_at: Generated<Date>;
616
- }
617
600
  /**
618
601
  * BTC L1 settlement status for sBTC withdrawal sweeps. Filled by the indexer's
619
602
  * settlement-confirmer worker, which polls our own bitcoind for confirmations of
@@ -795,50 +778,10 @@ interface StageRegistryTable {
795
778
  enabled: Generated<boolean>;
796
779
  created_at: Generated<Date>;
797
780
  }
798
- /** One versioned sweep of a stage. Nothing writes this table yet; kept because the receipts and failures tables reference it. */
799
- interface StageRunsTable {
800
- id: Generated<string>;
801
- stage_id: string;
802
- code_hash: string;
803
- config_hash: string;
804
- handler_hash: string | null;
805
- target_height: number | null;
806
- target_cursor: string | null;
807
- status: RunStatus;
808
- complete_through: number | null;
809
- started_at: Generated<Date>;
810
- finished_at: Date | null;
811
- }
812
- /** Per-block acknowledgement. Unique on (stage, height, hash). */
813
- interface StageBlockReceiptsTable {
814
- id: Generated<string>;
815
- stage_id: string;
816
- run_id: string | null;
817
- block_height: number;
818
- block_hash: string;
819
- input_count: number;
820
- input_digest: string;
821
- effect_digest: string;
822
- finalized: Generated<boolean>;
823
- compacted_at: Date | null;
824
- created_at: Generated<Date>;
825
- }
826
- /** Compacted finalized range. Only sealed after receipts in the range finalize. */
827
- interface CoverageSegmentsTable {
828
- id: Generated<string>;
829
- stage_id: string;
830
- from_height: number;
831
- to_height: number;
832
- chain_digest: string;
833
- input_digest: string;
834
- output_digest: string;
835
- sealed_at: Generated<Date>;
836
- }
837
781
  /** Exact unit or range that failed, plus retry/retention state. */
838
782
  interface StageFailuresTable {
839
783
  id: Generated<string>;
840
784
  stage_id: string;
841
- run_id: string | null;
842
785
  unit_kind: FailureUnit;
843
786
  from_height: number | null;
844
787
  to_height: number | null;
@@ -908,7 +851,6 @@ interface Database {
908
851
  burn_block_rewards: BurnBlockRewardsTable;
909
852
  burn_block_reward_slots: BurnBlockRewardSlotsTable;
910
853
  sbtc_events: SbtcEventsTable;
911
- sbtc_token_events: SbtcTokenEventsTable;
912
854
  sbtc_settlements: SbtcSettlementsTable;
913
855
  bns_name_events: BnsNameEventsTable;
914
856
  bns_namespace_events: BnsNamespaceEventsTable;
@@ -921,9 +863,6 @@ interface Database {
921
863
  observer_journal: ObserverJournalTable;
922
864
  sync_scopes: SyncScopesTable;
923
865
  stage_registry: StageRegistryTable;
924
- stage_runs: StageRunsTable;
925
- stage_block_receipts: StageBlockReceiptsTable;
926
- coverage_segments: CoverageSegmentsTable;
927
866
  stage_failures: StageFailuresTable;
928
867
  archive_fetches: ArchiveFetchesTable;
929
868
  usage_ledger: UsageLedgerTable;
@@ -1534,4 +1473,4 @@ type ContactRequest = Selectable<ContactRequestsTable>;
1534
1473
  type InsertContactRequest = Insertable<ContactRequestsTable>;
1535
1474
  type UpdateSubscriber = Selectable<UpdateSubscribersTable>;
1536
1475
  type InsertUpdateSubscriber = Insertable<UpdateSubscribersTable>;
1537
- export { ABI_STATUSES, AbiStatus, Account, AccountBalanceAlerts, AccountBalanceAlertsTable, AccountCredits, AccountCreditsTable, AccountSpendCap, AccountSpendCapsTable, AccountsTable, ApiFailedRequest, ApiFailedRequestsTable, ApiKey, ApiKeyStatus, ApiKeysTable, ApiRequestLogRow, ApiRequestLogTable, ArchiveFetch, ArchiveFetchesTable, Block, BlocksTable, BnsMarketplaceAction, BnsMarketplaceEventsTable, BnsNameEventTopic, BnsNameEventsTable, BnsNamesTable, BnsNamespaceEventStatus, BnsNamespaceEventsTable, BnsNamespacesTable, BurnBlockRewardSlotsTable, BurnBlockRewardsTable, ChainReadCacheTable, ChainReorgsTable, CliDeviceLogin, CliDeviceLoginStatus, CliDeviceLoginsTable, CliDeviceProduct, ContactRequest, ContactRequestsTable, Contract, ContractsTable, CoverageSegmentsTable, Database, DeadLetterEventsTable, DeadReason, DecodedEventsTable, DecoderCheckpointsTable, Event, EventsArchiveTable, EventsTable, FailureClass, FailureUnit, FeedbackTicket, FeedbackTicketsTable, GapReason, HostedStackStateTable, IndexProgress, IndexProgressTable, InsertAccount, InsertAccountBalanceAlerts, InsertAccountCredits, InsertAccountSpendCap, InsertApiFailedRequest, InsertApiKey, InsertApiRequestLogRow, InsertArchiveFetch, InsertBlock, InsertContactRequest, InsertContract, InsertEvent, InsertFeedbackTicket, InsertIndexProgress, InsertMagicLink, InsertMempoolTransaction, InsertSession, InsertStateWrite, InsertSubgraph, InsertSubgraphGap, InsertSubgraphHealthSnapshot, InsertSubgraphOperation, InsertTransaction, InsertUpdateSubscriber, InsertUsageLedgerRow, InsertVmEvent, InsertWaitlistSignup, InsertWebhook, InsertWebhookDelivery, InsertWebhookOutbox, InsightMutesTable, InsightsTable, InstancesTable, MagicLink, MagicLinksTable, MempoolTransaction, MempoolTransactionsTable, NativeClock, OBSERVER_JOURNAL_STATUSES, OauthClient, OauthClientsTable, OauthCodesTable, OauthGrant, OauthGrantsTable, OauthRefreshRetiredTable, OauthRequestStatus, OauthRequestsTable, OauthTokenKind, OauthTokensTable, ObserverJournalStatus, ObserverJournalTable, OutboxStatus, PendingForkBlocksTable, Pox5CycleSignersTable, Pox5CyclesTable, Pox5EventTopic, Pox5EventsTable, ProcessedStripeEventsTable, PushPrefs, PushPrefsTable, PushSentTable, PushSubscription, PushSubscriptionsTable, RepairMode, RetryState, RunStatus, SbtcEventTopic, SbtcEventsTable, SbtcSettlementsTable, SbtcTokenEventType, SbtcTokenEventsTable, SentinelAccount, SentinelAccountsTable, ServiceHeartbeatsTable, Session, SessionsTable, StageBlockReceiptsTable, StageFailuresTable, StageKind, StageRegistryTable, StageRunsTable, StateWrite, StateWritesArchiveTable, StateWritesTable, Subgraph, SubgraphErrorGroupsTable, SubgraphGap, SubgraphGapsTable, SubgraphHealthSnapshot, SubgraphHealthSnapshotsTable, SubgraphOperation, SubgraphOperationKind, SubgraphOperationStatus, SubgraphOperationsTable, SubgraphProcessingStatsTable, SubgraphViolationsTable, SubgraphsTable, SyncScopesTable, Transaction, TransactionsArchiveTable, TransactionsTable, TriggerEvaluatorState, TriggerEvaluatorStateTable, UpdateAccountBalanceAlerts, UpdateAccountCredits, UpdateAccountSpendCap, UpdateApiKey, UpdateArchiveFetch, UpdateBlock, UpdateContract, UpdateEvent, UpdateIndexProgress, UpdateSendsTable, UpdateSubgraph, UpdateSubgraphOperation, UpdateSubscriber, UpdateSubscribersTable, UpdateTransaction, UpdateUsageLedgerRow, UpdateVmEvent, UpdateWebhook, UpdateWebhookOutbox, UsageLedgerRow, UsageLedgerTable, VmEvent, VmEventsArchiveTable, VmEventsTable, Waitlist, WaitlistSignup, WaitlistSignupsTable, WaitlistsTable, Webhook, WebhookDeliveriesTable, WebhookDelivery, WebhookDeliveryHoursTable, WebhookFormat, WebhookIncidentAlert, WebhookIncidentAlertsTable, WebhookKind, WebhookOutbox, WebhookOutboxTable, WebhookPauseReason, WebhookReplay, WebhookReplayStatus, WebhookReplaysTable, WebhookStatus, WebhooksTable };
1476
+ export { ABI_STATUSES, AbiStatus, Account, AccountBalanceAlerts, AccountBalanceAlertsTable, AccountCredits, AccountCreditsTable, AccountSpendCap, AccountSpendCapsTable, AccountsTable, ApiFailedRequest, ApiFailedRequestsTable, ApiKey, ApiKeyStatus, ApiKeysTable, ApiRequestLogRow, ApiRequestLogTable, ArchiveFetch, ArchiveFetchesTable, Block, BlocksTable, BnsMarketplaceAction, BnsMarketplaceEventsTable, BnsNameEventTopic, BnsNameEventsTable, BnsNamesTable, BnsNamespaceEventStatus, BnsNamespaceEventsTable, BnsNamespacesTable, BurnBlockRewardSlotsTable, BurnBlockRewardsTable, ChainReadCacheTable, ChainReorgsTable, CliDeviceLogin, CliDeviceLoginStatus, CliDeviceLoginsTable, CliDeviceProduct, ContactRequest, ContactRequestsTable, Contract, ContractsTable, Database, DeadLetterEventsTable, DeadReason, DecodedEventsTable, DecoderCheckpointsTable, Event, EventsArchiveTable, EventsTable, FailureClass, FailureUnit, FeedbackTicket, FeedbackTicketsTable, GapReason, HostedStackStateTable, IndexProgress, IndexProgressTable, InsertAccount, InsertAccountBalanceAlerts, InsertAccountCredits, InsertAccountSpendCap, InsertApiFailedRequest, InsertApiKey, InsertApiRequestLogRow, InsertArchiveFetch, InsertBlock, InsertContactRequest, InsertContract, InsertEvent, InsertFeedbackTicket, InsertIndexProgress, InsertMagicLink, InsertMempoolTransaction, InsertSession, InsertStateWrite, InsertSubgraph, InsertSubgraphGap, InsertSubgraphHealthSnapshot, InsertSubgraphOperation, InsertTransaction, InsertUpdateSubscriber, InsertUsageLedgerRow, InsertVmEvent, InsertWaitlistSignup, InsertWebhook, InsertWebhookDelivery, InsertWebhookOutbox, InsightMutesTable, InsightsTable, InstancesTable, MagicLink, MagicLinksTable, MempoolTransaction, MempoolTransactionsTable, NativeClock, OBSERVER_JOURNAL_STATUSES, OauthClient, OauthClientsTable, OauthCodesTable, OauthGrant, OauthGrantsTable, OauthRefreshRetiredTable, OauthRequestStatus, OauthRequestsTable, OauthTokenKind, OauthTokensTable, ObserverJournalStatus, ObserverJournalTable, OutboxStatus, PendingForkBlocksTable, Pox5CycleSignersTable, Pox5CyclesTable, Pox5EventTopic, Pox5EventsTable, ProcessedStripeEventsTable, PushPrefs, PushPrefsTable, PushSentTable, PushSubscription, PushSubscriptionsTable, RepairMode, RetryState, RunStatus, SbtcEventTopic, SbtcEventsTable, SbtcSettlementsTable, SentinelAccount, SentinelAccountsTable, ServiceHeartbeatsTable, Session, SessionsTable, StageFailuresTable, StageKind, StageRegistryTable, StateWrite, StateWritesArchiveTable, StateWritesTable, Subgraph, SubgraphErrorGroupsTable, SubgraphGap, SubgraphGapsTable, SubgraphHealthSnapshot, SubgraphHealthSnapshotsTable, SubgraphOperation, SubgraphOperationKind, SubgraphOperationStatus, SubgraphOperationsTable, SubgraphProcessingStatsTable, SubgraphViolationsTable, SubgraphsTable, SyncScopesTable, Transaction, TransactionsArchiveTable, TransactionsTable, TriggerEvaluatorState, TriggerEvaluatorStateTable, UpdateAccountBalanceAlerts, UpdateAccountCredits, UpdateAccountSpendCap, UpdateApiKey, UpdateArchiveFetch, UpdateBlock, UpdateContract, UpdateEvent, UpdateIndexProgress, UpdateSendsTable, UpdateSubgraph, UpdateSubgraphOperation, UpdateSubscriber, UpdateSubscribersTable, UpdateTransaction, UpdateUsageLedgerRow, UpdateVmEvent, UpdateWebhook, UpdateWebhookOutbox, UsageLedgerRow, UsageLedgerTable, VmEvent, VmEventsArchiveTable, VmEventsTable, Waitlist, WaitlistSignup, WaitlistSignupsTable, WaitlistsTable, Webhook, WebhookDeliveriesTable, WebhookDelivery, WebhookDeliveryHoursTable, WebhookFormat, WebhookIncidentAlert, WebhookIncidentAlertsTable, WebhookKind, WebhookOutbox, WebhookOutboxTable, WebhookPauseReason, WebhookReplay, WebhookReplayStatus, WebhookReplaysTable, WebhookStatus, WebhooksTable };