alchemy 0.57.2 → 0.58.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -36,6 +36,28 @@ export interface CloudflareApiResponse<T> {
36
36
  };
37
37
  }
38
38
 
39
+ /**
40
+ * Cloudflare API list response format
41
+ */
42
+ export interface CloudflareApiListResponse<T>
43
+ extends CloudflareApiResponse<T[]> {
44
+ /**
45
+ * List of results
46
+ */
47
+ result: T[];
48
+
49
+ /**
50
+ * Pagination information (always present for list responses)
51
+ */
52
+ result_info: {
53
+ page: number;
54
+ per_page: number;
55
+ total_pages: number;
56
+ count: number;
57
+ total_count: number;
58
+ };
59
+ }
60
+
39
61
  /**
40
62
  * Cloudflare API error format
41
63
  */
@@ -4,4 +4,4 @@
4
4
  /**
5
5
  * The default Cloudflare Workers compatibility date, set based on the latest workerd release at the time of build.
6
6
  */
7
- export const DEFAULT_COMPATIBILITY_DATE = "2025-08-06";
7
+ export const DEFAULT_COMPATIBILITY_DATE = "2025-08-07";
@@ -1,5 +1,6 @@
1
1
  import { createHash } from "node:crypto";
2
2
  import { logger } from "../util/logger.ts";
3
+ import type { CloudflareApiResponse } from "./api-response.ts";
3
4
  import type { CloudflareApi } from "./api.ts";
4
5
 
5
6
  /**
@@ -194,20 +195,6 @@ interface ImportPollingResponse {
194
195
  upload_url?: string;
195
196
  }
196
197
 
197
- /**
198
- * Cloudflare API response structure
199
- */
200
- interface CloudflareApiResponse<T> {
201
- result: T;
202
- success: boolean;
203
- errors: Array<{
204
- message: string;
205
- }>;
206
- messages: Array<{
207
- message: string;
208
- }>;
209
- }
210
-
211
198
  /**
212
199
  * Calculates MD5 hash for a string
213
200
  */
@@ -50,6 +50,7 @@ export * from "./secrets-store.ts";
50
50
  export * from "./state.ts";
51
51
  export * from "./sveltekit/sveltekit.ts";
52
52
  export * from "./tanstack-start/tanstack-start.ts";
53
+ export * from "./tunnel.ts";
53
54
  export * from "./vectorize-index.ts";
54
55
  export * from "./vectorize-metadata-index.ts";
55
56
  export * from "./version-metadata.ts";