Skip to content

Commit

Permalink
add 'rest_frontend' (enabled bool) to sql definition
Browse files Browse the repository at this point in the history
  • Loading branch information
sduchesneau committed Nov 2, 2023
1 parent d894923 commit 56bec6c
Show file tree
Hide file tree
Showing 5 changed files with 136 additions and 40 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Protodefs v1.0.4

* Added support for `rest_frontend` field with `enabled` boolean flag, aimed at this backend implementation: https://github.com/semiotic-ai/sql-wrapper

## v3.0.5

* Fixed regression: `run` command was incorrectly only processing blocks staying behind the "FinalBlocks" cliff.
Expand Down
2 changes: 1 addition & 1 deletion pb/last_generate.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
generate.sh - Thu 19 Oct 2023 14:21:25 EST - stepd
generate.sh - Thu 2 Nov 2023 10:13:19 EDT - stepd
157 changes: 119 additions & 38 deletions pb/sf/substreams/sink/sql/v1/services.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions proto/sf/substreams/sink/sql/v1/services.proto
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,31 @@ message Service {
}

Engine engine = 7;

RESTFrontend rest_frontend = 8;
}

// https://www.getdbt.com/product/what-is-dbt
message DBTConfig {
bytes files = 1 [ (sf.substreams.options).zip_from_folder = true ];
}

// https://hasura.io/docs/latest/index/
message HasuraFrontend {
bool enabled = 1;
}

// https://www.graphile.org/postgraphile/
message PostgraphileFrontend {
bool enabled = 1;
}

// https://github.com/sosedoff/pgweb
message PGWebFrontend {
bool enabled = 1;
}

// https://github.com/semiotic-ai/sql-wrapper
message RESTFrontend {
bool enabled = 1;
}
2 changes: 1 addition & 1 deletion substreams.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
specVersion: v0.1.0
package:
name: substreams_sink_sql_protodefs
version: v1.0.3
version: v1.0.4
url: https://github.com/streamingfast/substreams-sink-sql
doc: |
Protobuf definitions for Substreams SQL Sink modules.
Expand Down

0 comments on commit 56bec6c

Please sign in to comment.