feat(api-key): Add CRUD functionalities to the api key module
This commit is contained in:
@@ -1 +1,14 @@
|
||||
// noop
|
||||
import { CreateApiKeyDTO } from "@types"
|
||||
import { ApiKeyType } from "@medusajs/utils"
|
||||
|
||||
export const createSecretKeyFixture: CreateApiKeyDTO = {
|
||||
title: "Secret key",
|
||||
type: ApiKeyType.SECRET,
|
||||
created_by: "test",
|
||||
}
|
||||
|
||||
export const createPublishableKeyFixture: CreateApiKeyDTO = {
|
||||
title: "Test API Key",
|
||||
type: ApiKeyType.PUBLISHABLE,
|
||||
created_by: "test",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user