n8n-nodes-base
Version:
Base nodes of n8n
53 lines (49 loc) • 1.48 kB
text/typescript
/**
* Raindrop Node - Version 1
* Discriminator: resource=bookmark, operation=create
*/
interface Credentials {
raindropOAuth2Api: CredentialReference;
}
export type RaindropV1BookmarkCreateParams = {
resource: 'bookmark';
operation: 'create';
/**
* Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>
*/
collectionId?: string | Expression<string>;
/**
* Link of the bookmark to be created
*/
link?: string | Expression<string> | PlaceholderValue;
/**
* Additional Fields
* @default {}
*/
additionalFields?: {
/** Whether this bookmark is marked as favorite
* @default false
*/
important?: boolean | Expression<boolean>;
/** Sort order for the bookmark. For example, to move it to first place, enter 0.
* @default 0
*/
order?: number | Expression<number>;
/** Whether Raindrop should load cover, description and HTML for the URL
* @default false
*/
pleaseParse?: boolean | Expression<boolean>;
/** Bookmark tags. Multiple tags can be set separated by comma.
*/
tags?: string | Expression<string> | PlaceholderValue;
/** Title of the bookmark to create
*/
title?: string | Expression<string> | PlaceholderValue;
};
};
export type RaindropV1BookmarkCreateNode = {
type: 'n8n-nodes-base.raindrop';
version: 1;
credentials?: Credentials;
config: NodeConfig<RaindropV1BookmarkCreateParams>;
};