n8n-nodes-base
Version:
Base nodes of n8n
39 lines (34 loc) • 816 B
text/typescript
/**
* S3 Node - Version 1
* Discriminator: resource=bucket, operation=getAll
*/
interface Credentials {
s3: CredentialReference;
}
/** Get many buckets */
export type S3V1BucketGetAllParams = {
resource: 'bucket';
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 100
*/
limit?: number | Expression<number>;
};
export type S3V1BucketGetAllOutput = {
CreationDate?: string;
Name?: string;
};
export type S3V1BucketGetAllNode = {
type: 'n8n-nodes-base.s3';
version: 1;
credentials?: Credentials;
config: NodeConfig<S3V1BucketGetAllParams>;
output?: Items<S3V1BucketGetAllOutput>;
};