Skip to content

Commit

Permalink
test: added state to datasource entry type
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudinary-pkoniu committed Mar 26, 2024
1 parent ffcb57a commit cab4b7b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions types/cloudinary_ts_spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,9 @@ cloudinary.v2.api.add_metadata_field({

cloudinary.v2.api.list_metadata_fields().then((result) => {
console.log(result.metadata_fields[0].datasource);
console.log(result.metadata_fields[0].datasource.values[0].value);
console.log(result.metadata_fields[0].datasource.values[0].external_id);
console.log(result.metadata_fields[0].datasource.values[0].state);
});

cloudinary.v2.api.delete_metadata_field('EXTERNAL_ID_GET_LIST').then((res) => {
Expand Down

0 comments on commit cab4b7b

Please sign in to comment.