n8n-nodes-base
Version:
Base nodes of n8n
52 lines (48 loc) • 1.49 kB
text/typescript
/**
* Raindrop Node - Version 1
* Discriminator: resource=bookmark, operation=update
*/
interface Credentials {
raindropOAuth2Api: CredentialReference;
}
export type RaindropV1BookmarkUpdateParams = {
resource: 'bookmark';
operation: 'update';
/**
* The ID of the bookmark to update
*/
bookmarkId?: string | Expression<string> | PlaceholderValue;
/**
* Update Fields
* @default {}
*/
updateFields?: {
/** Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>
*/
collectionId?: string | Expression<string>;
/** Whether this bookmark is marked as favorite
* @default false
*/
important?: boolean | Expression<boolean>;
/** For example if you want to move bookmark to the first place set this field to 0
* @default 0
*/
order?: number | Expression<number>;
/** Whether Raindrop should reload 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 be created
*/
title?: string | Expression<string> | PlaceholderValue;
};
};
export type RaindropV1BookmarkUpdateNode = {
type: 'n8n-nodes-base.raindrop';
version: 1;
credentials?: Credentials;
config: NodeConfig<RaindropV1BookmarkUpdateParams>;
};