Options alphabetical sort

This commit is contained in:
Rupenieks
2020-05-19 17:40:17 +02:00
parent 17b6872bc0
commit 9f22a64304
2 changed files with 48 additions and 47 deletions

View File

@@ -89,7 +89,6 @@ export const streamFields = [
description: `JSON format parameters for stream creation.`,
},
{
displayName: 'Additional Fields',
name: 'additionalFields',
@@ -243,20 +242,6 @@ export const streamFields = [
},
},
options: [
{
displayName: 'Include Public',
name: 'includePublic',
type: 'boolean',
default: true,
description: 'Include all public streams.',
},
{
displayName: 'Include Subscribed',
name: 'includeSubscribed',
type: 'boolean',
default: true,
description: 'Include all streams that the user is subscribed to.',
},
{
displayName: 'Include All Active',
name: 'includeAllActive',
@@ -278,6 +263,20 @@ export const streamFields = [
default: true,
description: 'If the user is a bot, include all streams that the bots owner is subscribed to.',
},
{
displayName: 'Include Public',
name: 'includePublic',
type: 'boolean',
default: true,
description: 'Include all public streams.',
},
{
displayName: 'Include Subscribed',
name: 'includeSubscribed',
type: 'boolean',
default: true,
description: 'Include all streams that the user is subscribed to.',
},
]
},
/* -------------------------------------------------------------------------- */
@@ -392,20 +391,6 @@ export const streamFields = [
},
},
options: [
{
displayName: 'Description',
name: 'description',
type: 'string',
default: '',
description: 'The new description for the stream.',
},
{
displayName: 'New Name',
name: 'newName',
type: 'string',
default: '',
description: 'The new name for the stream.',
},
{
displayName: 'Announcement Only',
name: 'isAnnouncementOnly',
@@ -413,6 +398,14 @@ export const streamFields = [
default: false,
description: 'Whether the stream is limited to announcements.',
},
{
displayName: 'Description',
name: 'description',
type: 'string',
default: '',
description: 'The new description for the stream.',
placeholder: 'Place of discussion'
},
{
displayName: 'Is Private',
name: 'isPrivate',
@@ -427,6 +420,14 @@ export const streamFields = [
default: false,
description: 'Whether the streams message history should be available to newly subscribed members, or users can only access messages they actually received while subscribed to the stream.',
},
{
displayName: 'New Name',
name: 'newName',
type: 'string',
default: '',
description: 'The new name for the stream.',
placeholder: 'Italy'
},
{
displayName: 'Stream Post Policy',
name: 'streamPostPolicy',