Skip to content

feat: multi tenancy#24

Merged
Ansi007 merged 30 commits intomainfrom
anns/mult-tenant-cursor
Feb 18, 2026
Merged

feat: multi tenancy#24
Ansi007 merged 30 commits intomainfrom
anns/mult-tenant-cursor

Conversation

@Ansi007
Copy link
Collaborator

@Ansi007 Ansi007 commented Feb 18, 2026

Description

Briefly describe the purpose of this PR.
Explain what problem it solves or what feature it adds to the project.
Include any relevant background context.


Type of Change

Select all that apply:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that could cause existing functionality to not work as expected)
  • Refactor / Chore (code cleanup, dependencies, tooling, etc.)

How Has This Been Tested?

Describe how you tested your changes.


Breaking Changes

If applicable, describe what breaks and how to migrate.
If none, write: N/A.


Checklist

  • My code follows the project’s code style.
  • I have run all linter.
  • I have checked that my changes do not introduce breaking changes.
  • I have commented my code where needed, especially complex logic.

Screenshots / Videos

Include screenshots or screen recordings to illustrate your changes if applicable.
If none, write: N/A.


Additional Notes

Add any extra details for reviewers:

  • Deployment notes
  • New dependencies or migrations
  • Performance considerations
  • Known limitations or follow-ups
    If none, write: N/A.

@github-actions
Copy link

❌ Linting issues found in changed files:

web (apps/web) Linting Issues


/home/runner/work/be-full-stack-boilerplate/be-full-stack-boilerplate/apps/web/app/auth-demo/page.tsx
   66:11  warning  Unsafe assignment of an error typed value                                          @typescript-eslint/no-unsafe-assignment
   67:13  warning  Unsafe call of a(n) `error` type typed value                                       @typescript-eslint/no-unsafe-call
   67:33  warning  Unsafe member access .sendVerificationOtp on an `error` typed value                @typescript-eslint/no-unsafe-member-access
   92:11  warning  Unsafe assignment of an error typed value                                          @typescript-eslint/no-unsafe-assignment
   92:35  warning  Unsafe call of a(n) `error` type typed value                                       @typescript-eslint/no-unsafe-call
  398:28  warning  Promise-returning function provided to attribute where a void return was expected  @typescript-eslint/no-misused-promises
  474:28  warning  Promise-returning function provided to attribute where a void return was expected  @typescript-eslint/no-misused-promises

/home/runner/work/be-full-stack-boilerplate/be-full-stack-boilerplate/apps/web/app/components/tenant-dashboard-only.tsx
  19:11  warning  Unsafe object destructuring of a property with an error typed value  @typescript-eslint/no-unsafe-assignment
  23:14  warning  Unsafe member access .isSuperAdmin on an `error` typed value         @typescript-eslint/no-unsafe-member-access

/home/runner/work/be-full-stack-boilerplate/be-full-stack-boilerplate/apps/web/app/tenant-dashboard/page.tsx
  268:37  warning  Unsafe member access .tenants on an `error` typed value  @typescript-eslint/no-unsafe-member-access
  269:38  warning  Unsafe member access .tenants on an `error` typed value  @typescript-eslint/no-unsafe-member-access
  279:33  warning  Unsafe member access .tenants on an `error` typed value  @typescript-eslint/no-unsafe-member-access
  286:33  warning  Unsafe member access .tenants on an `error` typed value  @typescript-eslint/no-unsafe-member-access
  287:33  warning  Unsafe member access .tenants on an `error` typed value  @typescript-eslint/no-unsafe-member-access
  289:22  warning  Unsafe call of a(n) `error` type typed value             @typescript-eslint/no-unsafe-call
  289:38  warning  Unsafe member access .tenants on an `error` typed value  @typescript-eslint/no-unsafe-member-access

✖ 16 problems (0 errors, 16 warnings)

ESLint found too many warnings (maximum: 0).

Please fix these issues before merging.

@Ansi007 Ansi007 changed the title CRUD multi tenant feat: multi tenancy Feb 18, 2026
@Ansi007 Ansi007 self-assigned this Feb 18, 2026
@Ansi007
Copy link
Collaborator Author

Ansi007 commented Feb 18, 2026

/linter

@github-actions
Copy link

❌ Linting issues found in changed files:

api (apps/api) Linting Issues


/home/runner/work/be-full-stack-boilerplate/be-full-stack-boilerplate/apps/api/scripts/code-generation/mongoose/repositories/generate-repository.ts
  92:23  warning  Insert `⏎···`                                                                                                                                                        prettier/prettier
  95:19  warning  Replace `'❌·Usage:·pnpm·run·generate:repo:mongo·<entityName>·[--no-tenant]'` with `⏎······'❌·Usage:·pnpm·run·generate:repo:mongo·<entityName>·[--no-tenant]',⏎····`  prettier/prettier
  98:19  warning  Replace `'···Example:·pnpm·run·generate:repo:mongo·global-crud·--no-tenant'` with `⏎······'···Example:·pnpm·run·generate:repo:mongo·global-crud·--no-tenant',⏎····`  prettier/prettier

/home/runner/work/be-full-stack-boilerplate/be-full-stack-boilerplate/apps/api/scripts/code-generation/prisma/repositories/generate-repository.ts
  92:23  warning  Insert `⏎···`                                                                                                                                                          prettier/prettier
  95:19  warning  Replace `'❌·Usage:·pnpm·run·generate:repo:prisma·<entityName>·[--no-tenant]'` with `⏎······'❌·Usage:·pnpm·run·generate:repo:prisma·<entityName>·[--no-tenant]',⏎····`  prettier/prettier
  98:19  warning  Replace `'···Example:·pnpm·run·generate:repo:prisma·global-crud·--no-tenant'` with `⏎······'···Example:·pnpm·run·generate:repo:prisma·global-crud·--no-tenant',⏎····`  prettier/prettier

✖ 6 problems (0 errors, 6 warnings)
  0 errors and 6 warnings potentially fixable with the `--fix` option.

ESLint found too many warnings (maximum: 0).

Please fix these issues before merging.

@Ansi007
Copy link
Collaborator Author

Ansi007 commented Feb 18, 2026

/linter

@Ansi007 Ansi007 marked this pull request as ready for review February 18, 2026 17:42
@Ansi007 Ansi007 requested a review from a team as a code owner February 18, 2026 17:42
@github-actions
Copy link

❌ Linting issues found in changed files:

api (apps/api) Linting Issues


/home/runner/work/be-full-stack-boilerplate/be-full-stack-boilerplate/apps/api/scripts/code-generation/mongoose/repositories/generate-repository.ts
  92:23  warning  Insert `⏎···`                                                                                                                                                        prettier/prettier
  95:19  warning  Replace `'❌·Usage:·pnpm·run·generate:repo:mongo·<entityName>·[--no-tenant]'` with `⏎······'❌·Usage:·pnpm·run·generate:repo:mongo·<entityName>·[--no-tenant]',⏎····`  prettier/prettier
  98:19  warning  Replace `'···Example:·pnpm·run·generate:repo:mongo·global-crud·--no-tenant'` with `⏎······'···Example:·pnpm·run·generate:repo:mongo·global-crud·--no-tenant',⏎····`  prettier/prettier

/home/runner/work/be-full-stack-boilerplate/be-full-stack-boilerplate/apps/api/scripts/code-generation/prisma/repositories/generate-repository.ts
  92:23  warning  Insert `⏎···`                                                                                                                                                          prettier/prettier
  95:19  warning  Replace `'❌·Usage:·pnpm·run·generate:repo:prisma·<entityName>·[--no-tenant]'` with `⏎······'❌·Usage:·pnpm·run·generate:repo:prisma·<entityName>·[--no-tenant]',⏎····`  prettier/prettier
  98:19  warning  Replace `'···Example:·pnpm·run·generate:repo:prisma·global-crud·--no-tenant'` with `⏎······'···Example:·pnpm·run·generate:repo:prisma·global-crud·--no-tenant',⏎····`  prettier/prettier

✖ 6 problems (0 errors, 6 warnings)
  0 errors and 6 warnings potentially fixable with the `--fix` option.

ESLint found too many warnings (maximum: 0).

Please fix these issues before merging.

@Ansi007
Copy link
Collaborator Author

Ansi007 commented Feb 18, 2026

/linter

@github-actions
Copy link

✅ All changed files passed linting checks!

@Ansi007 Ansi007 merged commit 351fdba into main Feb 18, 2026
@Ansi007 Ansi007 deleted the anns/mult-tenant-cursor branch February 18, 2026 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant