mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
Add punctuation to property descriptions
This commit is contained in:
parent
f712b5214e
commit
7b5dccb05d
packages/nodes-base/nodes/Reddit
|
@ -34,7 +34,7 @@ export const commentFields = [
|
||||||
name: 'target',
|
name: 'target',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
default: '',
|
default: '',
|
||||||
description: 'ID of the comment target',
|
description: 'ID of the comment target.',
|
||||||
placeholder: 't3_15bfi0',
|
placeholder: 't3_15bfi0',
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
|
@ -53,7 +53,7 @@ export const commentFields = [
|
||||||
type: 'string',
|
type: 'string',
|
||||||
required: true,
|
required: true,
|
||||||
default: '',
|
default: '',
|
||||||
description: 'Text of the comment (Markdown supported)',
|
description: 'Text of the comment. Markdown supported.',
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
resource: [
|
resource: [
|
||||||
|
|
|
@ -39,7 +39,7 @@ export const postFields = [
|
||||||
type: 'string',
|
type: 'string',
|
||||||
required: true,
|
required: true,
|
||||||
default: '',
|
default: '',
|
||||||
description: 'Subreddit to create the post in',
|
description: 'Subreddit to create the post in.',
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
resource: [
|
resource: [
|
||||||
|
@ -96,7 +96,7 @@ export const postFields = [
|
||||||
type: 'string',
|
type: 'string',
|
||||||
required: true,
|
required: true,
|
||||||
default: '',
|
default: '',
|
||||||
description: 'Title of the post, up to 300 characters long',
|
description: 'Title of the post, up to 300 characters long.',
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
resource: [
|
resource: [
|
||||||
|
@ -114,7 +114,7 @@ export const postFields = [
|
||||||
type: 'string',
|
type: 'string',
|
||||||
required: true,
|
required: true,
|
||||||
default: '',
|
default: '',
|
||||||
description: 'URL of the post',
|
description: 'URL of the post.',
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
resource: [
|
resource: [
|
||||||
|
@ -138,7 +138,7 @@ export const postFields = [
|
||||||
type: 'string',
|
type: 'string',
|
||||||
required: true,
|
required: true,
|
||||||
default: '',
|
default: '',
|
||||||
description: 'Text of the post (Markdown supported)',
|
description: 'Text of the post. Markdown supported.',
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
resource: [
|
resource: [
|
||||||
|
@ -184,7 +184,7 @@ export const postFields = [
|
||||||
name: 'best',
|
name: 'best',
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
default: false,
|
default: false,
|
||||||
description: 'Best posts in all of Reddit',
|
description: 'Best posts in all of Reddit.',
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
resource: [
|
resource: [
|
||||||
|
@ -202,7 +202,7 @@ export const postFields = [
|
||||||
type: 'string',
|
type: 'string',
|
||||||
required: true,
|
required: true,
|
||||||
default: '',
|
default: '',
|
||||||
description: 'The name of subreddit to retrieve the posts from',
|
description: 'The name of subreddit to retrieve the posts from.',
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
resource: [
|
resource: [
|
||||||
|
@ -223,7 +223,7 @@ export const postFields = [
|
||||||
type: 'options',
|
type: 'options',
|
||||||
required: true,
|
required: true,
|
||||||
default: 'top',
|
default: 'top',
|
||||||
description: 'Content of posts to retrieve',
|
description: 'Content of the posts to retrieve.',
|
||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
name: 'Top Posts',
|
name: 'Top Posts',
|
||||||
|
@ -261,7 +261,7 @@ export const postFields = [
|
||||||
name: 'returnAll',
|
name: 'returnAll',
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
default: false,
|
default: false,
|
||||||
description: 'Return all results',
|
description: 'Return all results.',
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
resource: [
|
resource: [
|
||||||
|
@ -281,7 +281,7 @@ export const postFields = [
|
||||||
name: 'limit',
|
name: 'limit',
|
||||||
type: 'number',
|
type: 'number',
|
||||||
default: 5,
|
default: 5,
|
||||||
description: 'The number of results to return',
|
description: 'The number of results to return.',
|
||||||
typeOptions: {
|
typeOptions: {
|
||||||
minValue: 1,
|
minValue: 1,
|
||||||
maxValue: 100,
|
maxValue: 100,
|
||||||
|
|
|
@ -33,27 +33,27 @@ export const profileFields = [
|
||||||
type: 'options',
|
type: 'options',
|
||||||
required: true,
|
required: true,
|
||||||
default: 'identity',
|
default: 'identity',
|
||||||
description: 'Details of my account to retrieve',
|
description: 'Details of my account to retrieve.',
|
||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
name: 'Identity',
|
name: 'Identity',
|
||||||
value: 'identity',
|
value: 'identity',
|
||||||
description: 'Return the identity of the logged-in user',
|
description: 'Return the identity of the logged-in user.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Blocked Users',
|
name: 'Blocked Users',
|
||||||
value: 'blockedUsers',
|
value: 'blockedUsers',
|
||||||
description: 'Return the blocked users of the logged-in user',
|
description: 'Return the blocked users of the logged-in user.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Friends',
|
name: 'Friends',
|
||||||
value: 'friends',
|
value: 'friends',
|
||||||
description: 'Return the friends of the logged-in user',
|
description: 'Return the friends of the logged-in user.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Karma',
|
name: 'Karma',
|
||||||
value: 'karma',
|
value: 'karma',
|
||||||
description: 'Return the subreddit karma for the logged-in user',
|
description: 'Return the subreddit karma for the logged-in user.',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Preferences',
|
name: 'Preferences',
|
||||||
|
@ -63,7 +63,7 @@ export const profileFields = [
|
||||||
{
|
{
|
||||||
name: 'Trophies',
|
name: 'Trophies',
|
||||||
value: 'trophies',
|
value: 'trophies',
|
||||||
description: 'Return the trophies of the logged-in user',
|
description: 'Return the trophies of the logged-in user.',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
|
|
|
@ -39,7 +39,7 @@ export const subredditFields = [
|
||||||
type: 'options',
|
type: 'options',
|
||||||
required: true,
|
required: true,
|
||||||
default: 'about',
|
default: 'about',
|
||||||
description: 'Subreddit content to retrieve',
|
description: 'Subreddit content to retrieve.',
|
||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
name: 'About',
|
name: 'About',
|
||||||
|
@ -75,7 +75,7 @@ export const subredditFields = [
|
||||||
type: 'string',
|
type: 'string',
|
||||||
required: true,
|
required: true,
|
||||||
default: '',
|
default: '',
|
||||||
description: 'The name of subreddit to retrieve the content from',
|
description: 'The name of subreddit to retrieve the content from.',
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
resource: [
|
resource: [
|
||||||
|
@ -92,7 +92,7 @@ export const subredditFields = [
|
||||||
name: 'returnAll',
|
name: 'returnAll',
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
default: false,
|
default: false,
|
||||||
description: 'Return all results',
|
description: 'Return all results.',
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
resource: [
|
resource: [
|
||||||
|
@ -109,7 +109,7 @@ export const subredditFields = [
|
||||||
name: 'limit',
|
name: 'limit',
|
||||||
type: 'number',
|
type: 'number',
|
||||||
default: 5,
|
default: 5,
|
||||||
description: 'The number of results to return',
|
description: 'The number of results to return.',
|
||||||
typeOptions: {
|
typeOptions: {
|
||||||
minValue: 1,
|
minValue: 1,
|
||||||
maxValue: 100,
|
maxValue: 100,
|
||||||
|
@ -136,7 +136,7 @@ export const subredditFields = [
|
||||||
name: 'trending',
|
name: 'trending',
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
default: false,
|
default: false,
|
||||||
description: 'Currently trending subreddits in all of Reddit',
|
description: 'Currently trending subreddits in all of Reddit.',
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
resource: [
|
resource: [
|
||||||
|
@ -153,7 +153,7 @@ export const subredditFields = [
|
||||||
name: 'returnAll',
|
name: 'returnAll',
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
default: false,
|
default: false,
|
||||||
description: 'Return all results',
|
description: 'Return all results.',
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
resource: [
|
resource: [
|
||||||
|
@ -173,7 +173,7 @@ export const subredditFields = [
|
||||||
name: 'limit',
|
name: 'limit',
|
||||||
type: 'number',
|
type: 'number',
|
||||||
default: 5,
|
default: 5,
|
||||||
description: 'The number of results to return',
|
description: 'The number of results to return.',
|
||||||
typeOptions: {
|
typeOptions: {
|
||||||
minValue: 1,
|
minValue: 1,
|
||||||
maxValue: 100,
|
maxValue: 100,
|
||||||
|
|
|
@ -32,7 +32,7 @@ export const userFields = [
|
||||||
type: 'string',
|
type: 'string',
|
||||||
required: true,
|
required: true,
|
||||||
default: '',
|
default: '',
|
||||||
description: 'Reddit ID of the user to retrieve',
|
description: 'Reddit ID of the user to retrieve.',
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
resource: [
|
resource: [
|
||||||
|
@ -50,7 +50,7 @@ export const userFields = [
|
||||||
type: 'options',
|
type: 'options',
|
||||||
required: true,
|
required: true,
|
||||||
default: 'about',
|
default: 'about',
|
||||||
description: 'Details of the user to retrieve',
|
description: 'Details of the user to retrieve.',
|
||||||
options: [
|
options: [
|
||||||
{
|
{
|
||||||
name: 'About',
|
name: 'About',
|
||||||
|
@ -89,7 +89,7 @@ export const userFields = [
|
||||||
name: 'returnAll',
|
name: 'returnAll',
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
default: false,
|
default: false,
|
||||||
description: 'Return all results',
|
description: 'Return all results.',
|
||||||
displayOptions: {
|
displayOptions: {
|
||||||
show: {
|
show: {
|
||||||
resource: [
|
resource: [
|
||||||
|
@ -112,7 +112,7 @@ export const userFields = [
|
||||||
name: 'limit',
|
name: 'limit',
|
||||||
type: 'number',
|
type: 'number',
|
||||||
default: 5,
|
default: 5,
|
||||||
description: 'The number of results to return',
|
description: 'The number of results to return.',
|
||||||
typeOptions: {
|
typeOptions: {
|
||||||
minValue: 1,
|
minValue: 1,
|
||||||
maxValue: 100,
|
maxValue: 100,
|
||||||
|
|
Loading…
Reference in a new issue