Expose media files api call
This commit is contained in:
parent
7f99e811b1
commit
7145e8d855
2
packages/netlify-cms-core/index.d.ts
vendored
2
packages/netlify-cms-core/index.d.ts
vendored
@ -579,7 +579,7 @@ declare module 'netlify-cms-core' {
|
||||
getRemarkPlugins: () => Array<Pluggable>;
|
||||
getLocale: (locale: string) => CmsLocalePhrases | undefined;
|
||||
getMediaLibrary: (name: string) => CmsMediaLibrary | undefined;
|
||||
selectMediaFiles(field?: EntryField | undefined): MediaFile[];
|
||||
selectMediaFiles: (field?: EntryField | undefined) => MediaFile[];
|
||||
resolveWidget: (name: string) => CmsWidget | undefined;
|
||||
getPreviewStyles: () => PreviewStyle[];
|
||||
getPreviewTemplate: (name: string) => ComponentType<PreviewTemplateComponentProps> | undefined;
|
||||
|
@ -54,6 +54,7 @@ export default {
|
||||
getBackend,
|
||||
registerMediaLibrary,
|
||||
getMediaLibrary,
|
||||
selectMediaFiles,
|
||||
registerLocale,
|
||||
getLocale,
|
||||
registerEventListener,
|
||||
|
Loading…
x
Reference in New Issue
Block a user