Commit Graph

5 Commits

Author SHA1 Message Date
Tau
691841187b types/sql-bricks: Make Statement chains polymorphic
This will allow us to cleanly extend these interfaces with
additional clauses understood by Postgres, which we can then chain
without having to redeclare the entire interface.
2019-11-06 17:28:30 -05:00
Tau
a71a73e324 types/sql-bricks: Export Statement interfaces
We'll need access to these statements so that we can extend them.
2019-11-06 17:28:30 -05:00
Tau
078cb84b35 types/sql-bricks: Export SqlBricksFn type
We'll need to export this in order to define the ops exported from
sql-bricks-postgres in terms of the base sql-bricks exports.
2019-11-06 17:28:30 -05:00
Tau
775584a645 types/sql-bricks: Fixup forked typings
Wrap everything in a module instead of a namespace. I'm still not
entirely clear on what the distinction is but the forked typings
don't seem to get applied without this change.
2019-11-06 17:28:30 -05:00
Tau
384212ce2e Locally fork sql-bricks types 2019-11-06 17:28:30 -05:00