mirror of
https://github.com/unraid/api.git
synced 2026-01-06 08:39:54 -06:00
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added a full-featured API key management UI, including creation, listing, and deletion of API keys with customizable roles and permissions. - Introduced a new page for API key management. - Accordion UI components are now available for enhanced interface interactions. - API now provides queries for possible API key roles and permissions. - **Improvements** - API key-related mutations are now grouped under a single field, improving organization and usability. - Permissions can be assigned directly to API keys, not just roles. - **Bug Fixes** - Validation updated to require at least one role or permission when creating an API key. - **Documentation** - Updated and added rules and configuration documentation for code generation and testing. - **Tests** - Added and updated tests for new API key mutation logic; removed obsolete tests for deprecated mutations. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
14 lines
344 B
Plaintext
14 lines
344 B
Plaintext
---
|
|
description:
|
|
globs: api/**/*,api/*
|
|
alwaysApply: false
|
|
---
|
|
|
|
* pnpm ONLY
|
|
* always run scripts from api/package.json unless requested
|
|
* prefer adding new files to the nest repo located at api/src/unraid-api/ instead of the legacy code
|
|
* Test suite is VITEST, do not use jest
|
|
pnpm --filter ./api test
|
|
* Prefer to not mock simple dependencies
|
|
|