├── .bumpversion.cfg ├── .cspell.json ├── .eslintrc.json ├── .github ├── ISSUE_TEMPLATE │ ├── bug.md │ └── feature.md ├── PULL_REQUEST_TEMPLATE.md ├── actions │ └── install │ │ └── action.yaml └── workflows │ ├── docs.yaml │ ├── publish.yaml │ └── review.yaml ├── .gitignore ├── .husky └── pre-commit ├── .prettierrc ├── .trufflehog3.yml ├── .vscode └── launch.json ├── .yarnrc.yml ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── LICENSE.md ├── README.md ├── docs ├── images │ └── accelerate-caching.png └── typedoc │ ├── assets.ts │ ├── styles.css │ └── typedoc.json ├── jest.config.json ├── package.json ├── profilers ├── actions │ ├── report.ts │ ├── tabulate.ts │ └── time.ts ├── inputs │ ├── caches.ts │ ├── clients.ts │ └── scenarios.ts ├── main.ts └── models │ ├── Client.model.ts │ └── Scenario.model.ts ├── src ├── caches │ ├── maps │ │ ├── LfuCache.spec.ts │ │ ├── LfuCache.ts │ │ ├── LruCache.spec.ts │ │ └── LruCache.ts │ └── providers │ │ ├── Caches.spec.ts │ │ ├── Hazelcast.ts │ │ ├── Memcached.ts │ │ └── Redis.ts ├── clients │ ├── Prisma.spec.ts │ └── Prisma.ts ├── collections.d.ts ├── index.ts └── models │ ├── Action.model.ts │ ├── Cache.model.ts │ ├── Client.model.ts │ └── Listed.model.ts ├── test ├── migrations │ ├── 20250305182753_init │ │ └── migration.sql │ └── migration_lock.toml └── schema.prisma ├── tsconfig.eslint.json ├── tsconfig.json └── yarn.lock /.bumpversion.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/.bumpversion.cfg -------------------------------------------------------------------------------- /.cspell.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/.cspell.json -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/.github/ISSUE_TEMPLATE/bug.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/.github/ISSUE_TEMPLATE/feature.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/actions/install/action.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/.github/actions/install/action.yaml -------------------------------------------------------------------------------- /.github/workflows/docs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/.github/workflows/docs.yaml -------------------------------------------------------------------------------- /.github/workflows/publish.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/.github/workflows/publish.yaml -------------------------------------------------------------------------------- /.github/workflows/review.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/.github/workflows/review.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .yarn/ 3 | coverage/ 4 | dist/ 5 | node_modules/ 6 | yarn-error.log 7 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/.husky/pre-commit -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/.prettierrc -------------------------------------------------------------------------------- /.trufflehog3.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/.trufflehog3.yml -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.yarnrc.yml: -------------------------------------------------------------------------------- 1 | nodeLinker: node-modules 2 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Changelog 2 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/README.md -------------------------------------------------------------------------------- /docs/images/accelerate-caching.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/docs/images/accelerate-caching.png -------------------------------------------------------------------------------- /docs/typedoc/assets.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/docs/typedoc/assets.ts -------------------------------------------------------------------------------- /docs/typedoc/styles.css: -------------------------------------------------------------------------------- 1 | span { 2 | font-family: monospace; 3 | } 4 | -------------------------------------------------------------------------------- /docs/typedoc/typedoc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/docs/typedoc/typedoc.json -------------------------------------------------------------------------------- /jest.config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/jest.config.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/package.json -------------------------------------------------------------------------------- /profilers/actions/report.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/profilers/actions/report.ts -------------------------------------------------------------------------------- /profilers/actions/tabulate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/profilers/actions/tabulate.ts -------------------------------------------------------------------------------- /profilers/actions/time.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/profilers/actions/time.ts -------------------------------------------------------------------------------- /profilers/inputs/caches.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/profilers/inputs/caches.ts -------------------------------------------------------------------------------- /profilers/inputs/clients.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/profilers/inputs/clients.ts -------------------------------------------------------------------------------- /profilers/inputs/scenarios.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/profilers/inputs/scenarios.ts -------------------------------------------------------------------------------- /profilers/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/profilers/main.ts -------------------------------------------------------------------------------- /profilers/models/Client.model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/profilers/models/Client.model.ts -------------------------------------------------------------------------------- /profilers/models/Scenario.model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/profilers/models/Scenario.model.ts -------------------------------------------------------------------------------- /src/caches/maps/LfuCache.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/src/caches/maps/LfuCache.spec.ts -------------------------------------------------------------------------------- /src/caches/maps/LfuCache.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/src/caches/maps/LfuCache.ts -------------------------------------------------------------------------------- /src/caches/maps/LruCache.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/src/caches/maps/LruCache.spec.ts -------------------------------------------------------------------------------- /src/caches/maps/LruCache.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/src/caches/maps/LruCache.ts -------------------------------------------------------------------------------- /src/caches/providers/Caches.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/src/caches/providers/Caches.spec.ts -------------------------------------------------------------------------------- /src/caches/providers/Hazelcast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/src/caches/providers/Hazelcast.ts -------------------------------------------------------------------------------- /src/caches/providers/Memcached.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/src/caches/providers/Memcached.ts -------------------------------------------------------------------------------- /src/caches/providers/Redis.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/src/caches/providers/Redis.ts -------------------------------------------------------------------------------- /src/clients/Prisma.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/src/clients/Prisma.spec.ts -------------------------------------------------------------------------------- /src/clients/Prisma.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/src/clients/Prisma.ts -------------------------------------------------------------------------------- /src/collections.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/src/collections.d.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/models/Action.model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/src/models/Action.model.ts -------------------------------------------------------------------------------- /src/models/Cache.model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/src/models/Cache.model.ts -------------------------------------------------------------------------------- /src/models/Client.model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/src/models/Client.model.ts -------------------------------------------------------------------------------- /src/models/Listed.model.ts: -------------------------------------------------------------------------------- 1 | export type Listed = T[number]; 2 | -------------------------------------------------------------------------------- /test/migrations/20250305182753_init/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/test/migrations/20250305182753_init/migration.sql -------------------------------------------------------------------------------- /test/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/test/migrations/migration_lock.toml -------------------------------------------------------------------------------- /test/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/test/schema.prisma -------------------------------------------------------------------------------- /tsconfig.eslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/tsconfig.eslint.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JoelLefkowitz/cached-prisma/HEAD/yarn.lock --------------------------------------------------------------------------------