Skip to content

Commit

Permalink
removed automatic tables from openapi doc
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienR1 committed Nov 23, 2023
1 parent 36ae034 commit 551e709
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/clickhouse/stores.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { logger } from "../logger.js";
import { readOnlyClient } from "./createClient.js";

const hiddenTables = ["blocks", "module_hashes", "cursors", "final_blocks", "unparsed_json", "deleted_entity_changes"];

class ClickhouseStore {
public paused = false;

Expand All @@ -23,7 +25,6 @@ class ClickhouseStore {

public get publicTables() {
if (!this.publicTablesPromise) {
const hiddenTables = ["blocks", "module_hashes", "cursors", "final_blocks"];
this.publicTablesPromise = readOnlyClient
.query({ query: "SHOW TABLES", format: "JSONEachRow" })
.then((response) => response.json<Array<{ name: string }>>())
Expand Down

0 comments on commit 551e709

Please sign in to comment.