This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT 'public ' || CASE | |
| WHEN data_type = 'uuid' THEN 'Guid' | |
| WHEN data_type = 'text' THEN 'string' | |
| WHEN data_type = 'character varying' THEN 'string' | |
| WHEN data_type = 'character' THEN 'string' | |
| WHEN data_type = 'double precision' THEN 'double' | |
| WHEN data_type = 'json' THEN 'string' | |
| WHEN data_type = 'integer' THEN 'int' | |
| WHEN data_type = 'boolean' THEN 'bool' | |
| WHEN data_type = 'bigint' THEN 'long' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| start-process -NoNewWindow powershell ` | |
| {ssh -f <user>@<host> ` | |
| -L 10443:127.0.0.1:443 ` | |
| -N } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import {Action, ActionCreator, Dispatch} from 'redux'; | |
| import {ThunkAction} from 'redux-thunk'; | |
| // Redux action | |
| const reduxAction: ActionCreator<Action> = (text: string) => { | |
| return { | |
| type: SET_TEXT, | |
| text | |
| }; | |
| }; |