n8n-nodes-base
Version:
Base nodes of n8n
37 lines (33 loc) • 865 B
text/typescript
/**
* Strava Node - Version 1
* Discriminator: resource=activity, operation=getComments
*/
interface Credentials {
stravaOAuth2Api: CredentialReference;
}
/** Get all activity comments */
export type StravaV1ActivityGetCommentsParams = {
resource: 'activity';
operation: 'getComments';
/**
* ID or email of activity
*/
activityId?: string | Expression<string> | PlaceholderValue;
/**
* Whether to return all results or only up to a given limit
* @default false
*/
returnAll?: boolean | Expression<boolean>;
/**
* Max number of results to return
* @displayOptions.show { returnAll: [false] }
* @default 50
*/
limit?: number | Expression<number>;
};
export type StravaV1ActivityGetCommentsNode = {
type: 'n8n-nodes-base.strava';
version: 1;
credentials?: Credentials;
config: NodeConfig<StravaV1ActivityGetCommentsParams>;
};