n8n-nodes-base
Version:
Base nodes of n8n
33 lines (29 loc) • 715 B
text/typescript
/**
* Netlify Node - Version 1
* Discriminator: resource=site, operation=getAll
*/
interface Credentials {
netlifyApi: CredentialReference;
}
/** Get many deployments */
export type NetlifyV1SiteGetAllParams = {
resource: 'site';
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 NetlifyV1SiteGetAllNode = {
type: 'n8n-nodes-base.netlify';
version: 1;
credentials?: Credentials;
config: NodeConfig<NetlifyV1SiteGetAllParams>;
};