Skip to content

Commit

Permalink
feat: add choose url option to file or image ts interface (#6466)
Browse files Browse the repository at this point in the history
Co-authored-by: Marco Pagni <stiwwelll@users.noreply.github.com>
  • Loading branch information
stiwwelll and stiwwelll committed Apr 28, 2023
1 parent 0970008 commit 4f4eb38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/netlify-cms-core/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ declare module 'netlify-cms-core' {

media_library?: CmsMediaLibrary;
allow_multiple?: boolean;
choose_url?: boolean;
config?: any;
}

Expand Down
1 change: 1 addition & 0 deletions packages/netlify-cms-core/src/types/redux.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ export interface CmsFieldFileOrImage {

media_library?: CmsMediaLibrary;
allow_multiple?: boolean;
choose_url?: boolean;
config?: unknown;
}

Expand Down

0 comments on commit 4f4eb38

Please sign in to comment.