npm/api: changed metadata app property

This commit is contained in:
Tyler Brown Cifu Shuster 2021-02-25 07:13:32 -08:00
parent d7bbf3b54b
commit 99d04500c5
2 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ export const add = (
group,
resource: {
resource,
'app-name': appName
app: appName
},
metadata: {
title,
@ -49,7 +49,7 @@ export const remove = (
group,
resource: {
resource,
'app-name': appName
app: appName
}
}
});
@ -67,7 +67,7 @@ export const update = (
group: association.group,
resource: {
resource: association.resource,
'app-name': association['app-name']
app: association.app
},
metadata
}

View File

@ -31,7 +31,7 @@ export type MetadataUpdateRemove = {
export interface MdResource {
resource: string;
'app-name': AppName;
app: AppName;
}
export interface MetadataUpdatePreview {