n8n-nodes-base
Version:
Base nodes of n8n
44 lines (39 loc) • 914 B
text/typescript
/**
* Notion Node - Version 2.1
* Discriminator: resource=user, operation=getAll
*/
interface Credentials {
notionApi: CredentialReference;
}
/** Get many child blocks */
export type NotionV21UserGetAllParams = {
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 NotionV21UserGetAllOutput = {
id?: string;
name?: string;
object?: string;
person?: {
email?: string;
};
type?: string;
};
export type NotionV21UserGetAllNode = {
type: 'n8n-nodes-base.notion';
version: 2.1;
credentials?: Credentials;
config: NodeConfig<NotionV21UserGetAllParams>;
output?: Items<NotionV21UserGetAllOutput>;
};