Skip to content

Commit 265ccb8

Browse files
authored
fix: metadata field datasource type (#693)
1 parent d6c51e2 commit 265ccb8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

types/index.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,9 @@ declare module 'cloudinary' {
710710
mandatory?: boolean;
711711
default_value?: number;
712712
validation?: object; //there are 4 types, we need to discuss documentation team about it before implementing.
713-
datasource?: DatasourceEntry;
713+
datasource?: {
714+
values: Array<DatasourceEntry>
715+
};
714716
default_disabled?: boolean;
715717

716718
[futureKey: string]: any;

0 commit comments

Comments
 (0)