n8n-nodes-base
Version:
Base nodes of n8n
33 lines (29 loc) • 710 B
text/typescript
/**
* Notion Node - Version 1
* Discriminator: resource=user, operation=getAll
*/
interface Credentials {
notionApi: CredentialReference;
}
/** Get many child blocks */
export type NotionV1UserGetAllParams = {
resource: 'user';
operation: 'getAll';
/**
* 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 NotionV1UserGetAllNode = {
type: 'n8n-nodes-base.notion';
version: 1;
credentials?: Credentials;
config: NodeConfig<NotionV1UserGetAllParams>;
};