├── .github └── workflows │ └── tests.yml ├── .gitignore ├── .prettierrc ├── LICENSE ├── README.md ├── assets ├── diagram-dark.png └── diagram-light.png ├── package.json ├── src ├── errors.ts ├── index.ts ├── processor │ ├── aggregate.ts │ ├── filter.ts │ ├── index.ts │ ├── limit.ts │ ├── select.ts │ ├── sort.ts │ ├── types.ts │ └── util.ts └── renderers │ ├── http.test.ts │ ├── http.ts │ ├── supabase-js.test.ts │ ├── supabase-js.ts │ └── util.ts ├── tsconfig.json └── tsup.config.ts /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/sql-to-rest/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | .DS_Store 4 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/sql-to-rest/HEAD/.prettierrc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/sql-to-rest/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/sql-to-rest/HEAD/README.md -------------------------------------------------------------------------------- /assets/diagram-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/sql-to-rest/HEAD/assets/diagram-dark.png -------------------------------------------------------------------------------- /assets/diagram-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/sql-to-rest/HEAD/assets/diagram-light.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/sql-to-rest/HEAD/package.json -------------------------------------------------------------------------------- /src/errors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/sql-to-rest/HEAD/src/errors.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/sql-to-rest/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/processor/aggregate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/sql-to-rest/HEAD/src/processor/aggregate.ts -------------------------------------------------------------------------------- /src/processor/filter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/sql-to-rest/HEAD/src/processor/filter.ts -------------------------------------------------------------------------------- /src/processor/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/sql-to-rest/HEAD/src/processor/index.ts -------------------------------------------------------------------------------- /src/processor/limit.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/sql-to-rest/HEAD/src/processor/limit.ts -------------------------------------------------------------------------------- /src/processor/select.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/sql-to-rest/HEAD/src/processor/select.ts -------------------------------------------------------------------------------- /src/processor/sort.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/sql-to-rest/HEAD/src/processor/sort.ts -------------------------------------------------------------------------------- /src/processor/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/sql-to-rest/HEAD/src/processor/types.ts -------------------------------------------------------------------------------- /src/processor/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/sql-to-rest/HEAD/src/processor/util.ts -------------------------------------------------------------------------------- /src/renderers/http.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/sql-to-rest/HEAD/src/renderers/http.test.ts -------------------------------------------------------------------------------- /src/renderers/http.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/sql-to-rest/HEAD/src/renderers/http.ts -------------------------------------------------------------------------------- /src/renderers/supabase-js.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/sql-to-rest/HEAD/src/renderers/supabase-js.test.ts -------------------------------------------------------------------------------- /src/renderers/supabase-js.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/sql-to-rest/HEAD/src/renderers/supabase-js.ts -------------------------------------------------------------------------------- /src/renderers/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/sql-to-rest/HEAD/src/renderers/util.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/sql-to-rest/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsup.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/supabase-community/sql-to-rest/HEAD/tsup.config.ts --------------------------------------------------------------------------------