n8n-nodes-base
Version:
Base nodes of n8n
26 lines (22 loc) • 510 B
text/typescript
/**
* Discourse Node - Version 1
* Discriminator: resource=post, operation=get
*/
interface Credentials {
discourseApi: CredentialReference;
}
/** Get a group */
export type DiscourseV1PostGetParams = {
resource: 'post';
operation: 'get';
/**
* ID of the post
*/
postId?: string | Expression<string> | PlaceholderValue;
};
export type DiscourseV1PostGetNode = {
type: 'n8n-nodes-base.discourse';
version: 1;
credentials?: Credentials;
config: NodeConfig<DiscourseV1PostGetParams>;
};