mirror of
https://github.com/urbit/shrub.git
synced 2024-12-21 01:41:37 +03:00
npm/api: changed metadata app property
This commit is contained in:
parent
d7bbf3b54b
commit
99d04500c5
@ -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
|
||||
}
|
||||
|
@ -31,7 +31,7 @@ export type MetadataUpdateRemove = {
|
||||
|
||||
export interface MdResource {
|
||||
resource: string;
|
||||
'app-name': AppName;
|
||||
app: AppName;
|
||||
}
|
||||
|
||||
export interface MetadataUpdatePreview {
|
||||
|
Loading…
Reference in New Issue
Block a user