feat(utils,types,framework,medusa): store endpoints should require publishable key (#9068)
* feat(utils,types,framework,medusa): store endpoints should require publishable key * chore: fix specs * chore: fix more specs * chore: update js-sdk * chore: fix specs wrt to default SC * chore: revert custom headers + change error message * chore: fix specs * chore: fix new store specs
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { BaseFilterable } from "../../dal"
|
||||
import { BaseFilterable, OperatorMap } from "../../dal"
|
||||
|
||||
/**
|
||||
* An API key's type.
|
||||
@@ -90,4 +90,6 @@ export interface FilterableApiKeyProps
|
||||
* Filter the API keys by their type.
|
||||
*/
|
||||
type?: ApiKeyType
|
||||
|
||||
revoked_at?: OperatorMap<Date | null>
|
||||
}
|
||||
|
||||
@@ -13,3 +13,5 @@ export enum ApiKeyType {
|
||||
*/
|
||||
SECRET = "secret",
|
||||
}
|
||||
|
||||
export const PUBLISHABLE_KEY_HEADER = "x-publishable-api-key"
|
||||
|
||||
Reference in New Issue
Block a user