├── .gitignore ├── .npmignore ├── LICENSE ├── README.md ├── RELEASE_PROCESS.txt ├── TODO ├── demo ├── bloob.ts ├── core.ts ├── demo.ts ├── demo1.ts ├── helper_views │ └── cool.ts ├── mfsqlchecker.json ├── migrations │ ├── V0001__Initial_Tables.sql │ └── V0002__Insert_data.sql ├── tsconfig.json └── types.ts ├── employees_demo.gif ├── lib ├── crc32.ts ├── mfsqltool.ts ├── sql_linter.ts_ ├── utils.ts └── view_names.ts ├── mfsqlchecker-support ├── .gitignore ├── .vscode │ ├── extensions.json │ ├── launch.json │ ├── settings.json │ └── tasks.json ├── .vscodeignore ├── CHANGELOG.md ├── README.md ├── package-lock.json ├── package.json ├── src │ ├── extension.ts │ ├── operation.ts │ └── test │ │ ├── runTest.ts │ │ └── suite │ │ ├── extension.test.ts │ │ └── index.ts ├── syntaxes │ └── sql.json ├── tsconfig.json ├── tslint.json └── vsc-extension-quickstart.md ├── mfsqlchecker.js ├── mfsqlchecker ├── ConfigFile.ts ├── DbConnector.ts ├── DownloadUtils │ ├── TargetPlatforms.ts │ └── tempDir.ts ├── ErrorDiagnostic.ts ├── download_postgres.ts ├── either.ts ├── formatters │ ├── codeFrameFormatter.ts │ ├── jsonFormatter.ts │ └── vscodeFormatter.ts ├── launch_postgres.ts ├── main.ts ├── pg_extra.ts ├── pg_test_db.ts ├── queries.ts ├── source_maps.ts ├── sqlchecker_engine.ts ├── ts_extra.ts ├── tsconfig.json ├── tslint.json ├── view_names.ts └── views.ts ├── package.json └── tests ├── common └── auth.ts ├── migrations └── V0001__Schema.sql ├── run_tests.js ├── test_arrays ├── expected_out.txt ├── test_arrays.ts └── tsconfig.json ├── test_auth_frags ├── expected_out.txt ├── test_auth_frags.ts └── tsconfig.json ├── test_auth_views ├── expected_out.txt ├── test_auth_views.ts └── tsconfig.json ├── test_interface_type ├── expected_out.txt ├── test_interface_type.ts └── tsconfig.json ├── test_simple ├── expected_out.txt ├── test_simple.ts └── tsconfig.json ├── test_view_fragment ├── expected_out.txt ├── test_view_fragment.ts └── tsconfig.json └── tests_tsconfig.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/README.md -------------------------------------------------------------------------------- /RELEASE_PROCESS.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/RELEASE_PROCESS.txt -------------------------------------------------------------------------------- /TODO: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/TODO -------------------------------------------------------------------------------- /demo/bloob.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/demo/bloob.ts -------------------------------------------------------------------------------- /demo/core.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/demo/core.ts -------------------------------------------------------------------------------- /demo/demo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/demo/demo.ts -------------------------------------------------------------------------------- /demo/demo1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/demo/demo1.ts -------------------------------------------------------------------------------- /demo/helper_views/cool.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/demo/helper_views/cool.ts -------------------------------------------------------------------------------- /demo/mfsqlchecker.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/demo/mfsqlchecker.json -------------------------------------------------------------------------------- /demo/migrations/V0001__Initial_Tables.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/demo/migrations/V0001__Initial_Tables.sql -------------------------------------------------------------------------------- /demo/migrations/V0002__Insert_data.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/demo/migrations/V0002__Insert_data.sql -------------------------------------------------------------------------------- /demo/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/demo/tsconfig.json -------------------------------------------------------------------------------- /demo/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/demo/types.ts -------------------------------------------------------------------------------- /employees_demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/employees_demo.gif -------------------------------------------------------------------------------- /lib/crc32.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/lib/crc32.ts -------------------------------------------------------------------------------- /lib/mfsqltool.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/lib/mfsqltool.ts -------------------------------------------------------------------------------- /lib/sql_linter.ts_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/lib/sql_linter.ts_ -------------------------------------------------------------------------------- /lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/lib/utils.ts -------------------------------------------------------------------------------- /lib/view_names.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/lib/view_names.ts -------------------------------------------------------------------------------- /mfsqlchecker-support/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules/ 2 | /out/ 3 | -------------------------------------------------------------------------------- /mfsqlchecker-support/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker-support/.vscode/extensions.json -------------------------------------------------------------------------------- /mfsqlchecker-support/.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker-support/.vscode/launch.json -------------------------------------------------------------------------------- /mfsqlchecker-support/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker-support/.vscode/settings.json -------------------------------------------------------------------------------- /mfsqlchecker-support/.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker-support/.vscode/tasks.json -------------------------------------------------------------------------------- /mfsqlchecker-support/.vscodeignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker-support/.vscodeignore -------------------------------------------------------------------------------- /mfsqlchecker-support/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker-support/CHANGELOG.md -------------------------------------------------------------------------------- /mfsqlchecker-support/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker-support/README.md -------------------------------------------------------------------------------- /mfsqlchecker-support/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker-support/package-lock.json -------------------------------------------------------------------------------- /mfsqlchecker-support/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker-support/package.json -------------------------------------------------------------------------------- /mfsqlchecker-support/src/extension.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker-support/src/extension.ts -------------------------------------------------------------------------------- /mfsqlchecker-support/src/operation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker-support/src/operation.ts -------------------------------------------------------------------------------- /mfsqlchecker-support/src/test/runTest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker-support/src/test/runTest.ts -------------------------------------------------------------------------------- /mfsqlchecker-support/src/test/suite/extension.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker-support/src/test/suite/extension.test.ts -------------------------------------------------------------------------------- /mfsqlchecker-support/src/test/suite/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker-support/src/test/suite/index.ts -------------------------------------------------------------------------------- /mfsqlchecker-support/syntaxes/sql.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker-support/syntaxes/sql.json -------------------------------------------------------------------------------- /mfsqlchecker-support/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker-support/tsconfig.json -------------------------------------------------------------------------------- /mfsqlchecker-support/tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker-support/tslint.json -------------------------------------------------------------------------------- /mfsqlchecker-support/vsc-extension-quickstart.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker-support/vsc-extension-quickstart.md -------------------------------------------------------------------------------- /mfsqlchecker.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | require("./build/mfsqlchecker/main"); 3 | -------------------------------------------------------------------------------- /mfsqlchecker/ConfigFile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker/ConfigFile.ts -------------------------------------------------------------------------------- /mfsqlchecker/DbConnector.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker/DbConnector.ts -------------------------------------------------------------------------------- /mfsqlchecker/DownloadUtils/TargetPlatforms.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker/DownloadUtils/TargetPlatforms.ts -------------------------------------------------------------------------------- /mfsqlchecker/DownloadUtils/tempDir.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker/DownloadUtils/tempDir.ts -------------------------------------------------------------------------------- /mfsqlchecker/ErrorDiagnostic.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker/ErrorDiagnostic.ts -------------------------------------------------------------------------------- /mfsqlchecker/download_postgres.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker/download_postgres.ts -------------------------------------------------------------------------------- /mfsqlchecker/either.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker/either.ts -------------------------------------------------------------------------------- /mfsqlchecker/formatters/codeFrameFormatter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker/formatters/codeFrameFormatter.ts -------------------------------------------------------------------------------- /mfsqlchecker/formatters/jsonFormatter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker/formatters/jsonFormatter.ts -------------------------------------------------------------------------------- /mfsqlchecker/formatters/vscodeFormatter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker/formatters/vscodeFormatter.ts -------------------------------------------------------------------------------- /mfsqlchecker/launch_postgres.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker/launch_postgres.ts -------------------------------------------------------------------------------- /mfsqlchecker/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker/main.ts -------------------------------------------------------------------------------- /mfsqlchecker/pg_extra.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker/pg_extra.ts -------------------------------------------------------------------------------- /mfsqlchecker/pg_test_db.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker/pg_test_db.ts -------------------------------------------------------------------------------- /mfsqlchecker/queries.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker/queries.ts -------------------------------------------------------------------------------- /mfsqlchecker/source_maps.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker/source_maps.ts -------------------------------------------------------------------------------- /mfsqlchecker/sqlchecker_engine.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker/sqlchecker_engine.ts -------------------------------------------------------------------------------- /mfsqlchecker/ts_extra.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker/ts_extra.ts -------------------------------------------------------------------------------- /mfsqlchecker/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker/tsconfig.json -------------------------------------------------------------------------------- /mfsqlchecker/tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker/tslint.json -------------------------------------------------------------------------------- /mfsqlchecker/view_names.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker/view_names.ts -------------------------------------------------------------------------------- /mfsqlchecker/views.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/mfsqlchecker/views.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/package.json -------------------------------------------------------------------------------- /tests/common/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/tests/common/auth.ts -------------------------------------------------------------------------------- /tests/migrations/V0001__Schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/tests/migrations/V0001__Schema.sql -------------------------------------------------------------------------------- /tests/run_tests.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/tests/run_tests.js -------------------------------------------------------------------------------- /tests/test_arrays/expected_out.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_arrays/test_arrays.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/tests/test_arrays/test_arrays.ts -------------------------------------------------------------------------------- /tests/test_arrays/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tests_tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /tests/test_auth_frags/expected_out.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/tests/test_auth_frags/expected_out.txt -------------------------------------------------------------------------------- /tests/test_auth_frags/test_auth_frags.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/tests/test_auth_frags/test_auth_frags.ts -------------------------------------------------------------------------------- /tests/test_auth_frags/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tests_tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /tests/test_auth_views/expected_out.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/tests/test_auth_views/expected_out.txt -------------------------------------------------------------------------------- /tests/test_auth_views/test_auth_views.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/tests/test_auth_views/test_auth_views.ts -------------------------------------------------------------------------------- /tests/test_auth_views/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tests_tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /tests/test_interface_type/expected_out.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/tests/test_interface_type/expected_out.txt -------------------------------------------------------------------------------- /tests/test_interface_type/test_interface_type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/tests/test_interface_type/test_interface_type.ts -------------------------------------------------------------------------------- /tests/test_interface_type/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tests_tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /tests/test_simple/expected_out.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/tests/test_simple/expected_out.txt -------------------------------------------------------------------------------- /tests/test_simple/test_simple.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/tests/test_simple/test_simple.ts -------------------------------------------------------------------------------- /tests/test_simple/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tests_tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /tests/test_view_fragment/expected_out.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_view_fragment/test_view_fragment.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/tests/test_view_fragment/test_view_fragment.ts -------------------------------------------------------------------------------- /tests/test_view_fragment/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tests_tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /tests/tests_tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MedFlyt/mfsqlchecker/HEAD/tests/tests_tsconfig.json --------------------------------------------------------------------------------