feat(api-key): Add CRUD functionalities to the api key module
This commit is contained in:
15
packages/utils/src/api-key/api-key-type.ts
Normal file
15
packages/utils/src/api-key/api-key-type.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* @enum
|
||||
*
|
||||
* The API key's type.
|
||||
*/
|
||||
export enum ApiKeyType {
|
||||
/**
|
||||
* Publishable key that is tied to eg. a sales channel
|
||||
*/
|
||||
PUBLISHABLE = "publishable",
|
||||
/**
|
||||
* Secret key that allows access to the admin API
|
||||
*/
|
||||
SECRET = "secret",
|
||||
}
|
||||
1
packages/utils/src/api-key/index.ts
Normal file
1
packages/utils/src/api-key/index.ts
Normal file
@@ -0,0 +1 @@
|
||||
export * from "./api-key-type"
|
||||
Reference in New Issue
Block a user