feat: API key sales channel link (#6851)

What
- Add link between API key and sales channels
- Add API route for batch adding sales channels to a publishable API key
- Clean up API key API routes responses
- Move API key test suite from `integration-tests/modules` to `integration-tests/api`
This commit is contained in:
Oli Juhl
2024-03-28 11:15:11 +01:00
committed by GitHub
parent 6ee2ee845c
commit ea8d9d4d42
21 changed files with 568 additions and 260 deletions

View File

@@ -6,10 +6,10 @@ import {
import {
BeforeCreate,
Entity,
Enum,
OnInit,
PrimaryKey,
Property,
Enum,
} from "@mikro-orm/core"
const TypeIndex = createPsqlIndexStatementHelper({