├── .env.example ├── .gitignore ├── LICENSE.txt ├── README.md ├── corpus ├── bad-test-smells.md ├── policy-smells.md ├── supabase-test-guide.md └── supabase-test-helpers.md ├── package.json ├── pnpm-lock.yaml ├── rls-scope.jpg ├── src ├── index.ts ├── types.ts ├── utils.ts └── worker.ts ├── supabase ├── .gitignore ├── config.toml └── migrations │ ├── 20241123183001_dbdev.sql │ └── 20241123183002_posts-and-comments-example.sql └── tsconfig.json /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xaac-ai/rls-scope/HEAD/.env.example -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xaac-ai/rls-scope/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xaac-ai/rls-scope/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xaac-ai/rls-scope/HEAD/README.md -------------------------------------------------------------------------------- /corpus/bad-test-smells.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xaac-ai/rls-scope/HEAD/corpus/bad-test-smells.md -------------------------------------------------------------------------------- /corpus/policy-smells.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xaac-ai/rls-scope/HEAD/corpus/policy-smells.md -------------------------------------------------------------------------------- /corpus/supabase-test-guide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xaac-ai/rls-scope/HEAD/corpus/supabase-test-guide.md -------------------------------------------------------------------------------- /corpus/supabase-test-helpers.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xaac-ai/rls-scope/HEAD/corpus/supabase-test-helpers.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xaac-ai/rls-scope/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xaac-ai/rls-scope/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /rls-scope.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xaac-ai/rls-scope/HEAD/rls-scope.jpg -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xaac-ai/rls-scope/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xaac-ai/rls-scope/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xaac-ai/rls-scope/HEAD/src/utils.ts -------------------------------------------------------------------------------- /src/worker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xaac-ai/rls-scope/HEAD/src/worker.ts -------------------------------------------------------------------------------- /supabase/.gitignore: -------------------------------------------------------------------------------- 1 | # Supabase 2 | .branches 3 | .temp 4 | .env 5 | -------------------------------------------------------------------------------- /supabase/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xaac-ai/rls-scope/HEAD/supabase/config.toml -------------------------------------------------------------------------------- /supabase/migrations/20241123183001_dbdev.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xaac-ai/rls-scope/HEAD/supabase/migrations/20241123183001_dbdev.sql -------------------------------------------------------------------------------- /supabase/migrations/20241123183002_posts-and-comments-example.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xaac-ai/rls-scope/HEAD/supabase/migrations/20241123183002_posts-and-comments-example.sql -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xaac-ai/rls-scope/HEAD/tsconfig.json --------------------------------------------------------------------------------