Skip to content

protodefs-v1.0.2

Compare
Choose a tag to compare
@sduchesneau sduchesneau released this 04 Oct 14:02
· 78 commits to develop since this release

SPKG with protobuf definition for sf.substreams.sink.sql.v1 "Service":

syntax = "proto3";

package sf.substreams.sink.sql.v1;

option go_package = "github.com/streamingfast/substreams-sink-sql/pb;pbsql";

import "sf/substreams/options.proto";

message Service {
  // Containing both create table statements and index creation statements.
  string schema = 1 [ (sf.substreams.options).load_from_file = true ];
  optional DBTConfig dbt_config = 2;
  bool wire_protocol_access = 3;
  HasuraFrontend hasura_frontend = 4;
  PostgraphileFrontend postgraphile_frontend = 5;
  PGWebFrontend pgweb_frontend = 6;
}

message DBTConfig {
   bytes files = 1  [ (sf.substreams.options).zip_from_folder = true ];
}

message HasuraFrontend {
    bool enabled = 1;
}

message PostgraphileFrontend {
    bool enabled = 1;
}

message PGWebFrontend {
    bool enabled = 1;
}