Skip to content
File

Blob: src/workerd/api/r2.h

cpp23 lines
1// Copyright (c) 2017-2022 Cloudflare, Inc.
2// Licensed under the Apache 2.0 license found in the LICENSE file or at:
3// https://opensource.org/licenses/Apache-2.0
4 
5#pragma once
6 
7#include "r2-bucket.h"
8#include "r2-multipart.h"
9 
10namespace workerd::api::public_beta {
11#define EW_R2_PUBLIC_BETA_ISOLATE_TYPES \
12 api::R2Error, api::public_beta::R2Bucket, api::public_beta::R2MultipartUpload, \
13 api::public_beta::R2MultipartUpload::UploadedPart, api::public_beta::R2Bucket::HeadResult, \
14 api::public_beta::R2Bucket::GetResult, api::public_beta::R2Bucket::Range, \
15 api::public_beta::R2Bucket::Conditional, api::public_beta::R2Bucket::GetOptions, \
16 api::public_beta::R2Bucket::PutOptions, api::public_beta::R2Bucket::MultipartOptions, \
17 api::public_beta::R2Bucket::Checksums, api::public_beta::R2Bucket::StringChecksums, \
18 api::public_beta::R2Bucket::HttpMetadata, api::public_beta::R2Bucket::ListOptions, \
19 api::public_beta::R2Bucket::ListResult, \
20 api::public_beta::R2MultipartUpload::UploadPartOptions
21// The list of r2 types that are added to worker.c++'s JSG_DECLARE_ISOLATE_TYPE
22} // namespace workerd::api::public_beta