n8n-nodes-base
Version:
Base nodes of n8n
27 lines (23 loc) • 609 B
text/typescript
/**
* Notion Node - Version 1
* Discriminator: resource=database, operation=get
*/
interface Credentials {
notionApi: CredentialReference;
}
/** Get a database */
export type NotionV1DatabaseGetParams = {
resource: 'database';
operation: 'get';
/**
* The Notion Database to get
* @default {"mode":"list","value":""}
*/
databaseId?: { __rl: true; mode: 'list' | 'url' | 'id'; value: string; cachedResultName?: string };
};
export type NotionV1DatabaseGetNode = {
type: 'n8n-nodes-base.notion';
version: 1;
credentials?: Credentials;
config: NodeConfig<NotionV1DatabaseGetParams>;
};