Skip to content

Commit

Permalink
fix: make adapter optional (#831)
Browse files Browse the repository at this point in the history
  • Loading branch information
loweisz authored Jul 2, 2021
1 parent 3aaf43d commit a737f82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/types/api.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export interface BaseExtensionSDK {
/** Exposes relevant ids, keys may be ommited based on location */
ids: IdsAPI
/** Adapter to be injected in contentful-management client */
cmaAdapter: Adapter
cmaAdapter?: Adapter
}

export type EditorExtensionSDK = Omit<BaseExtensionSDK, 'ids'> &
Expand Down

0 comments on commit a737f82

Please sign in to comment.