Improvements on Sentry Node

This commit is contained in:
Jan Oberhauser
2021-04-24 00:38:15 +02:00
parent a3c5f41b0f
commit cc5b1d9cd2
7 changed files with 112 additions and 131 deletions

View File

@@ -119,6 +119,7 @@ export const organizationFields = [
},
],
},
/* -------------------------------------------------------------------------- */
/* organization:get */
/* -------------------------------------------------------------------------- */
@@ -143,6 +144,7 @@ export const organizationFields = [
required: true,
description: 'The slug of the organization the team should be created for.',
},
/* -------------------------------------------------------------------------- */
/* organization:create */
/* -------------------------------------------------------------------------- */
@@ -207,6 +209,7 @@ export const organizationFields = [
},
],
},
/* -------------------------------------------------------------------------- */
/* organization:update */
/* -------------------------------------------------------------------------- */
@@ -230,24 +233,6 @@ export const organizationFields = [
required: true,
description: 'The slug of the organization to update.',
},
{
displayName: 'Name',
name: 'name',
type: 'string',
default: '',
displayOptions: {
show: {
resource: [
'organization',
],
operation: [
'update',
],
},
},
required: true,
description: 'The name of the organization.',
},
{
displayName: 'Update Fields',
name: 'updateFields',
@@ -265,12 +250,19 @@ export const organizationFields = [
},
},
options: [
{
displayName: 'Name',
name: 'name',
type: 'string',
default: '',
description: 'The new name of the organization.',
},
{
displayName: 'Slug',
name: 'slug',
type: 'string',
default: '',
description: 'The updated URL slug for this organization.',
description: 'The new URL slug for this organization.',
},
],
},