(options: SCServer.SCServerOptions)
| 140 | } |
| 141 | |
| 142 | function createStore(options: SCServer.SCServerOptions): Store { |
| 143 | knex = connector(options); |
| 144 | |
| 145 | return { |
| 146 | list: list, |
| 147 | listAll: listAll, |
| 148 | get: get, |
| 149 | add: add, |
| 150 | }; |
| 151 | } |
| 152 | |
| 153 | function composeException(exception: Error | undefined) { |
| 154 | let message = ''; |
searching dependent graphs…