├── .formatter.exs ├── .github └── workflows │ └── elixir.yml ├── .gitignore ├── .tool-versions ├── CHANGELOG.md ├── LICENSE.md ├── README.md ├── config └── config.exs ├── lib ├── context_kit.ex └── context_kit │ ├── crud.ex │ ├── crud │ └── scoped.ex │ ├── paginator.ex │ └── query.ex ├── mix.exs ├── mix.lock └── test ├── context_kit ├── crud │ └── scoped_test.exs ├── crud_test.exs ├── embeds_test.exs ├── paginator_test.exs └── query_test.exs ├── context_kit_test.exs ├── support └── migrations │ ├── 20250222100000_add_users_table.exs │ ├── 20250222100001_add_authors_table.exs │ ├── 20250222100002_add_books_table.exs │ └── 20250222100003_add_profiles_table.exs └── test_helper.exs /.formatter.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egze/context_kit/HEAD/.formatter.exs -------------------------------------------------------------------------------- /.github/workflows/elixir.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egze/context_kit/HEAD/.github/workflows/elixir.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egze/context_kit/HEAD/.gitignore -------------------------------------------------------------------------------- /.tool-versions: -------------------------------------------------------------------------------- 1 | elixir 1.19.1-otp-28 2 | erlang 28.1.1 3 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egze/context_kit/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egze/context_kit/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egze/context_kit/HEAD/README.md -------------------------------------------------------------------------------- /config/config.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egze/context_kit/HEAD/config/config.exs -------------------------------------------------------------------------------- /lib/context_kit.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egze/context_kit/HEAD/lib/context_kit.ex -------------------------------------------------------------------------------- /lib/context_kit/crud.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egze/context_kit/HEAD/lib/context_kit/crud.ex -------------------------------------------------------------------------------- /lib/context_kit/crud/scoped.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egze/context_kit/HEAD/lib/context_kit/crud/scoped.ex -------------------------------------------------------------------------------- /lib/context_kit/paginator.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egze/context_kit/HEAD/lib/context_kit/paginator.ex -------------------------------------------------------------------------------- /lib/context_kit/query.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egze/context_kit/HEAD/lib/context_kit/query.ex -------------------------------------------------------------------------------- /mix.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egze/context_kit/HEAD/mix.exs -------------------------------------------------------------------------------- /mix.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egze/context_kit/HEAD/mix.lock -------------------------------------------------------------------------------- /test/context_kit/crud/scoped_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egze/context_kit/HEAD/test/context_kit/crud/scoped_test.exs -------------------------------------------------------------------------------- /test/context_kit/crud_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egze/context_kit/HEAD/test/context_kit/crud_test.exs -------------------------------------------------------------------------------- /test/context_kit/embeds_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egze/context_kit/HEAD/test/context_kit/embeds_test.exs -------------------------------------------------------------------------------- /test/context_kit/paginator_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egze/context_kit/HEAD/test/context_kit/paginator_test.exs -------------------------------------------------------------------------------- /test/context_kit/query_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egze/context_kit/HEAD/test/context_kit/query_test.exs -------------------------------------------------------------------------------- /test/context_kit_test.exs: -------------------------------------------------------------------------------- 1 | defmodule ContextKitTest do 2 | use ExUnit.Case 3 | end 4 | -------------------------------------------------------------------------------- /test/support/migrations/20250222100000_add_users_table.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egze/context_kit/HEAD/test/support/migrations/20250222100000_add_users_table.exs -------------------------------------------------------------------------------- /test/support/migrations/20250222100001_add_authors_table.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egze/context_kit/HEAD/test/support/migrations/20250222100001_add_authors_table.exs -------------------------------------------------------------------------------- /test/support/migrations/20250222100002_add_books_table.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egze/context_kit/HEAD/test/support/migrations/20250222100002_add_books_table.exs -------------------------------------------------------------------------------- /test/support/migrations/20250222100003_add_profiles_table.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egze/context_kit/HEAD/test/support/migrations/20250222100003_add_profiles_table.exs -------------------------------------------------------------------------------- /test/test_helper.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/egze/context_kit/HEAD/test/test_helper.exs --------------------------------------------------------------------------------