There is no type definition that would match the body of the create key operation. Example shows:
const body = {
metadata: {
collectionType: 'application/vnd.ibm.kms.key+json',
collectionTotal: 1,
},
resources: [
{
type: 'application/vnd.ibm.kms.key+json',
name: 'nodejsKey',
extractable: false,
},
],
};
What would be the TS type for this data structure?
There is no type definition that would match the body of the create key operation. Example shows:
What would be the TS type for this data structure?