UNPKG

n8n-nodes-base

Version:

Base nodes of n8n

37 lines (33 loc) 841 B
/** * Strava Node - Version 1 * Discriminator: resource=activity, operation=getLaps */ interface Credentials { stravaOAuth2Api: CredentialReference; } /** Get all activity laps */ export type StravaV1ActivityGetLapsParams = { resource: 'activity'; operation: 'getLaps'; /** * 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 StravaV1ActivityGetLapsNode = { type: 'n8n-nodes-base.strava'; version: 1; credentials?: Credentials; config: NodeConfig<StravaV1ActivityGetLapsParams>; };