@cloudflare/workers-types 4.20240919.0 → 4.20240924.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.
- package/2021-11-03/index.d.ts +13 -6
- package/2021-11-03/index.ts +13 -6
- package/2022-01-31/index.d.ts +13 -6
- package/2022-01-31/index.ts +13 -6
- package/2022-03-21/index.d.ts +13 -6
- package/2022-03-21/index.ts +13 -6
- package/2022-08-04/index.d.ts +13 -6
- package/2022-08-04/index.ts +13 -6
- package/2022-10-31/index.d.ts +13 -6
- package/2022-10-31/index.ts +13 -6
- package/2022-11-30/index.d.ts +13 -6
- package/2022-11-30/index.ts +13 -6
- package/2023-03-01/index.d.ts +13 -6
- package/2023-03-01/index.ts +13 -6
- package/2023-07-01/index.d.ts +13 -6
- package/2023-07-01/index.ts +13 -6
- package/experimental/index.d.ts +13 -6
- package/experimental/index.ts +13 -6
- package/index.d.ts +13 -6
- package/index.ts +13 -6
- package/oldest/index.d.ts +13 -6
- package/oldest/index.ts +13 -6
- package/package.json +1 -1
package/2021-11-03/index.d.ts
CHANGED
|
@@ -1518,11 +1518,7 @@ declare abstract class Body {
|
|
|
1518
1518
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
|
|
1519
1519
|
*/
|
|
1520
1520
|
declare class Response extends Body {
|
|
1521
|
-
constructor(
|
|
1522
|
-
body?: BodyInit | null,
|
|
1523
|
-
init?: ResponseInit,
|
|
1524
|
-
webSocket?: WebSocket,
|
|
1525
|
-
);
|
|
1521
|
+
constructor(body?: BodyInit | null, init?: ResponseInit);
|
|
1526
1522
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) */
|
|
1527
1523
|
static redirect(url: string, status?: number): Response;
|
|
1528
1524
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static) */
|
|
@@ -1549,7 +1545,7 @@ interface ResponseInit {
|
|
|
1549
1545
|
statusText?: string;
|
|
1550
1546
|
headers?: HeadersInit;
|
|
1551
1547
|
cf?: any;
|
|
1552
|
-
webSocket?: WebSocket;
|
|
1548
|
+
webSocket?: WebSocket | null;
|
|
1553
1549
|
encodeBody?: "automatic" | "manual";
|
|
1554
1550
|
}
|
|
1555
1551
|
type RequestInfo<CfHostMetadata = unknown, Cf = CfProperties<CfHostMetadata>> =
|
|
@@ -2736,6 +2732,17 @@ type SqlStorageValue = ArrayBuffer | string | number | null;
|
|
|
2736
2732
|
declare abstract class SqlStorageCursor<
|
|
2737
2733
|
T extends Record<string, SqlStorageValue>,
|
|
2738
2734
|
> {
|
|
2735
|
+
next():
|
|
2736
|
+
| {
|
|
2737
|
+
done?: false;
|
|
2738
|
+
value: T;
|
|
2739
|
+
}
|
|
2740
|
+
| {
|
|
2741
|
+
done: true;
|
|
2742
|
+
value?: never;
|
|
2743
|
+
};
|
|
2744
|
+
toArray(): T[];
|
|
2745
|
+
one(): T;
|
|
2739
2746
|
raw<U extends SqlStorageValue[]>(): IterableIterator<U>;
|
|
2740
2747
|
get columnNames(): string[];
|
|
2741
2748
|
get rowsRead(): number;
|
package/2021-11-03/index.ts
CHANGED
|
@@ -1523,11 +1523,7 @@ export declare abstract class Body {
|
|
|
1523
1523
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
|
|
1524
1524
|
*/
|
|
1525
1525
|
export declare class Response extends Body {
|
|
1526
|
-
constructor(
|
|
1527
|
-
body?: BodyInit | null,
|
|
1528
|
-
init?: ResponseInit,
|
|
1529
|
-
webSocket?: WebSocket,
|
|
1530
|
-
);
|
|
1526
|
+
constructor(body?: BodyInit | null, init?: ResponseInit);
|
|
1531
1527
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) */
|
|
1532
1528
|
static redirect(url: string, status?: number): Response;
|
|
1533
1529
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static) */
|
|
@@ -1554,7 +1550,7 @@ export interface ResponseInit {
|
|
|
1554
1550
|
statusText?: string;
|
|
1555
1551
|
headers?: HeadersInit;
|
|
1556
1552
|
cf?: any;
|
|
1557
|
-
webSocket?: WebSocket;
|
|
1553
|
+
webSocket?: WebSocket | null;
|
|
1558
1554
|
encodeBody?: "automatic" | "manual";
|
|
1559
1555
|
}
|
|
1560
1556
|
export type RequestInfo<
|
|
@@ -2745,6 +2741,17 @@ export type SqlStorageValue = ArrayBuffer | string | number | null;
|
|
|
2745
2741
|
export declare abstract class SqlStorageCursor<
|
|
2746
2742
|
T extends Record<string, SqlStorageValue>,
|
|
2747
2743
|
> {
|
|
2744
|
+
next():
|
|
2745
|
+
| {
|
|
2746
|
+
done?: false;
|
|
2747
|
+
value: T;
|
|
2748
|
+
}
|
|
2749
|
+
| {
|
|
2750
|
+
done: true;
|
|
2751
|
+
value?: never;
|
|
2752
|
+
};
|
|
2753
|
+
toArray(): T[];
|
|
2754
|
+
one(): T;
|
|
2748
2755
|
raw<U extends SqlStorageValue[]>(): IterableIterator<U>;
|
|
2749
2756
|
get columnNames(): string[];
|
|
2750
2757
|
get rowsRead(): number;
|
package/2022-01-31/index.d.ts
CHANGED
|
@@ -1524,11 +1524,7 @@ declare abstract class Body {
|
|
|
1524
1524
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
|
|
1525
1525
|
*/
|
|
1526
1526
|
declare class Response extends Body {
|
|
1527
|
-
constructor(
|
|
1528
|
-
body?: BodyInit | null,
|
|
1529
|
-
init?: ResponseInit,
|
|
1530
|
-
webSocket?: WebSocket,
|
|
1531
|
-
);
|
|
1527
|
+
constructor(body?: BodyInit | null, init?: ResponseInit);
|
|
1532
1528
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) */
|
|
1533
1529
|
static redirect(url: string, status?: number): Response;
|
|
1534
1530
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static) */
|
|
@@ -1555,7 +1551,7 @@ interface ResponseInit {
|
|
|
1555
1551
|
statusText?: string;
|
|
1556
1552
|
headers?: HeadersInit;
|
|
1557
1553
|
cf?: any;
|
|
1558
|
-
webSocket?: WebSocket;
|
|
1554
|
+
webSocket?: WebSocket | null;
|
|
1559
1555
|
encodeBody?: "automatic" | "manual";
|
|
1560
1556
|
}
|
|
1561
1557
|
type RequestInfo<CfHostMetadata = unknown, Cf = CfProperties<CfHostMetadata>> =
|
|
@@ -2762,6 +2758,17 @@ type SqlStorageValue = ArrayBuffer | string | number | null;
|
|
|
2762
2758
|
declare abstract class SqlStorageCursor<
|
|
2763
2759
|
T extends Record<string, SqlStorageValue>,
|
|
2764
2760
|
> {
|
|
2761
|
+
next():
|
|
2762
|
+
| {
|
|
2763
|
+
done?: false;
|
|
2764
|
+
value: T;
|
|
2765
|
+
}
|
|
2766
|
+
| {
|
|
2767
|
+
done: true;
|
|
2768
|
+
value?: never;
|
|
2769
|
+
};
|
|
2770
|
+
toArray(): T[];
|
|
2771
|
+
one(): T;
|
|
2765
2772
|
raw<U extends SqlStorageValue[]>(): IterableIterator<U>;
|
|
2766
2773
|
get columnNames(): string[];
|
|
2767
2774
|
get rowsRead(): number;
|
package/2022-01-31/index.ts
CHANGED
|
@@ -1529,11 +1529,7 @@ export declare abstract class Body {
|
|
|
1529
1529
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
|
|
1530
1530
|
*/
|
|
1531
1531
|
export declare class Response extends Body {
|
|
1532
|
-
constructor(
|
|
1533
|
-
body?: BodyInit | null,
|
|
1534
|
-
init?: ResponseInit,
|
|
1535
|
-
webSocket?: WebSocket,
|
|
1536
|
-
);
|
|
1532
|
+
constructor(body?: BodyInit | null, init?: ResponseInit);
|
|
1537
1533
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) */
|
|
1538
1534
|
static redirect(url: string, status?: number): Response;
|
|
1539
1535
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static) */
|
|
@@ -1560,7 +1556,7 @@ export interface ResponseInit {
|
|
|
1560
1556
|
statusText?: string;
|
|
1561
1557
|
headers?: HeadersInit;
|
|
1562
1558
|
cf?: any;
|
|
1563
|
-
webSocket?: WebSocket;
|
|
1559
|
+
webSocket?: WebSocket | null;
|
|
1564
1560
|
encodeBody?: "automatic" | "manual";
|
|
1565
1561
|
}
|
|
1566
1562
|
export type RequestInfo<
|
|
@@ -2771,6 +2767,17 @@ export type SqlStorageValue = ArrayBuffer | string | number | null;
|
|
|
2771
2767
|
export declare abstract class SqlStorageCursor<
|
|
2772
2768
|
T extends Record<string, SqlStorageValue>,
|
|
2773
2769
|
> {
|
|
2770
|
+
next():
|
|
2771
|
+
| {
|
|
2772
|
+
done?: false;
|
|
2773
|
+
value: T;
|
|
2774
|
+
}
|
|
2775
|
+
| {
|
|
2776
|
+
done: true;
|
|
2777
|
+
value?: never;
|
|
2778
|
+
};
|
|
2779
|
+
toArray(): T[];
|
|
2780
|
+
one(): T;
|
|
2774
2781
|
raw<U extends SqlStorageValue[]>(): IterableIterator<U>;
|
|
2775
2782
|
get columnNames(): string[];
|
|
2776
2783
|
get rowsRead(): number;
|
package/2022-03-21/index.d.ts
CHANGED
|
@@ -1541,11 +1541,7 @@ declare abstract class Body {
|
|
|
1541
1541
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
|
|
1542
1542
|
*/
|
|
1543
1543
|
declare class Response extends Body {
|
|
1544
|
-
constructor(
|
|
1545
|
-
body?: BodyInit | null,
|
|
1546
|
-
init?: ResponseInit,
|
|
1547
|
-
webSocket?: WebSocket,
|
|
1548
|
-
);
|
|
1544
|
+
constructor(body?: BodyInit | null, init?: ResponseInit);
|
|
1549
1545
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) */
|
|
1550
1546
|
static redirect(url: string, status?: number): Response;
|
|
1551
1547
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static) */
|
|
@@ -1572,7 +1568,7 @@ interface ResponseInit {
|
|
|
1572
1568
|
statusText?: string;
|
|
1573
1569
|
headers?: HeadersInit;
|
|
1574
1570
|
cf?: any;
|
|
1575
|
-
webSocket?: WebSocket;
|
|
1571
|
+
webSocket?: WebSocket | null;
|
|
1576
1572
|
encodeBody?: "automatic" | "manual";
|
|
1577
1573
|
}
|
|
1578
1574
|
type RequestInfo<CfHostMetadata = unknown, Cf = CfProperties<CfHostMetadata>> =
|
|
@@ -2779,6 +2775,17 @@ type SqlStorageValue = ArrayBuffer | string | number | null;
|
|
|
2779
2775
|
declare abstract class SqlStorageCursor<
|
|
2780
2776
|
T extends Record<string, SqlStorageValue>,
|
|
2781
2777
|
> {
|
|
2778
|
+
next():
|
|
2779
|
+
| {
|
|
2780
|
+
done?: false;
|
|
2781
|
+
value: T;
|
|
2782
|
+
}
|
|
2783
|
+
| {
|
|
2784
|
+
done: true;
|
|
2785
|
+
value?: never;
|
|
2786
|
+
};
|
|
2787
|
+
toArray(): T[];
|
|
2788
|
+
one(): T;
|
|
2782
2789
|
raw<U extends SqlStorageValue[]>(): IterableIterator<U>;
|
|
2783
2790
|
get columnNames(): string[];
|
|
2784
2791
|
get rowsRead(): number;
|
package/2022-03-21/index.ts
CHANGED
|
@@ -1546,11 +1546,7 @@ export declare abstract class Body {
|
|
|
1546
1546
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
|
|
1547
1547
|
*/
|
|
1548
1548
|
export declare class Response extends Body {
|
|
1549
|
-
constructor(
|
|
1550
|
-
body?: BodyInit | null,
|
|
1551
|
-
init?: ResponseInit,
|
|
1552
|
-
webSocket?: WebSocket,
|
|
1553
|
-
);
|
|
1549
|
+
constructor(body?: BodyInit | null, init?: ResponseInit);
|
|
1554
1550
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) */
|
|
1555
1551
|
static redirect(url: string, status?: number): Response;
|
|
1556
1552
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static) */
|
|
@@ -1577,7 +1573,7 @@ export interface ResponseInit {
|
|
|
1577
1573
|
statusText?: string;
|
|
1578
1574
|
headers?: HeadersInit;
|
|
1579
1575
|
cf?: any;
|
|
1580
|
-
webSocket?: WebSocket;
|
|
1576
|
+
webSocket?: WebSocket | null;
|
|
1581
1577
|
encodeBody?: "automatic" | "manual";
|
|
1582
1578
|
}
|
|
1583
1579
|
export type RequestInfo<
|
|
@@ -2788,6 +2784,17 @@ export type SqlStorageValue = ArrayBuffer | string | number | null;
|
|
|
2788
2784
|
export declare abstract class SqlStorageCursor<
|
|
2789
2785
|
T extends Record<string, SqlStorageValue>,
|
|
2790
2786
|
> {
|
|
2787
|
+
next():
|
|
2788
|
+
| {
|
|
2789
|
+
done?: false;
|
|
2790
|
+
value: T;
|
|
2791
|
+
}
|
|
2792
|
+
| {
|
|
2793
|
+
done: true;
|
|
2794
|
+
value?: never;
|
|
2795
|
+
};
|
|
2796
|
+
toArray(): T[];
|
|
2797
|
+
one(): T;
|
|
2791
2798
|
raw<U extends SqlStorageValue[]>(): IterableIterator<U>;
|
|
2792
2799
|
get columnNames(): string[];
|
|
2793
2800
|
get rowsRead(): number;
|
package/2022-08-04/index.d.ts
CHANGED
|
@@ -1541,11 +1541,7 @@ declare abstract class Body {
|
|
|
1541
1541
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
|
|
1542
1542
|
*/
|
|
1543
1543
|
declare class Response extends Body {
|
|
1544
|
-
constructor(
|
|
1545
|
-
body?: BodyInit | null,
|
|
1546
|
-
init?: ResponseInit,
|
|
1547
|
-
webSocket?: WebSocket,
|
|
1548
|
-
);
|
|
1544
|
+
constructor(body?: BodyInit | null, init?: ResponseInit);
|
|
1549
1545
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) */
|
|
1550
1546
|
static redirect(url: string, status?: number): Response;
|
|
1551
1547
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static) */
|
|
@@ -1572,7 +1568,7 @@ interface ResponseInit {
|
|
|
1572
1568
|
statusText?: string;
|
|
1573
1569
|
headers?: HeadersInit;
|
|
1574
1570
|
cf?: any;
|
|
1575
|
-
webSocket?: WebSocket;
|
|
1571
|
+
webSocket?: WebSocket | null;
|
|
1576
1572
|
encodeBody?: "automatic" | "manual";
|
|
1577
1573
|
}
|
|
1578
1574
|
type RequestInfo<CfHostMetadata = unknown, Cf = CfProperties<CfHostMetadata>> =
|
|
@@ -2780,6 +2776,17 @@ type SqlStorageValue = ArrayBuffer | string | number | null;
|
|
|
2780
2776
|
declare abstract class SqlStorageCursor<
|
|
2781
2777
|
T extends Record<string, SqlStorageValue>,
|
|
2782
2778
|
> {
|
|
2779
|
+
next():
|
|
2780
|
+
| {
|
|
2781
|
+
done?: false;
|
|
2782
|
+
value: T;
|
|
2783
|
+
}
|
|
2784
|
+
| {
|
|
2785
|
+
done: true;
|
|
2786
|
+
value?: never;
|
|
2787
|
+
};
|
|
2788
|
+
toArray(): T[];
|
|
2789
|
+
one(): T;
|
|
2783
2790
|
raw<U extends SqlStorageValue[]>(): IterableIterator<U>;
|
|
2784
2791
|
get columnNames(): string[];
|
|
2785
2792
|
get rowsRead(): number;
|
package/2022-08-04/index.ts
CHANGED
|
@@ -1546,11 +1546,7 @@ export declare abstract class Body {
|
|
|
1546
1546
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
|
|
1547
1547
|
*/
|
|
1548
1548
|
export declare class Response extends Body {
|
|
1549
|
-
constructor(
|
|
1550
|
-
body?: BodyInit | null,
|
|
1551
|
-
init?: ResponseInit,
|
|
1552
|
-
webSocket?: WebSocket,
|
|
1553
|
-
);
|
|
1549
|
+
constructor(body?: BodyInit | null, init?: ResponseInit);
|
|
1554
1550
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) */
|
|
1555
1551
|
static redirect(url: string, status?: number): Response;
|
|
1556
1552
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static) */
|
|
@@ -1577,7 +1573,7 @@ export interface ResponseInit {
|
|
|
1577
1573
|
statusText?: string;
|
|
1578
1574
|
headers?: HeadersInit;
|
|
1579
1575
|
cf?: any;
|
|
1580
|
-
webSocket?: WebSocket;
|
|
1576
|
+
webSocket?: WebSocket | null;
|
|
1581
1577
|
encodeBody?: "automatic" | "manual";
|
|
1582
1578
|
}
|
|
1583
1579
|
export type RequestInfo<
|
|
@@ -2789,6 +2785,17 @@ export type SqlStorageValue = ArrayBuffer | string | number | null;
|
|
|
2789
2785
|
export declare abstract class SqlStorageCursor<
|
|
2790
2786
|
T extends Record<string, SqlStorageValue>,
|
|
2791
2787
|
> {
|
|
2788
|
+
next():
|
|
2789
|
+
| {
|
|
2790
|
+
done?: false;
|
|
2791
|
+
value: T;
|
|
2792
|
+
}
|
|
2793
|
+
| {
|
|
2794
|
+
done: true;
|
|
2795
|
+
value?: never;
|
|
2796
|
+
};
|
|
2797
|
+
toArray(): T[];
|
|
2798
|
+
one(): T;
|
|
2792
2799
|
raw<U extends SqlStorageValue[]>(): IterableIterator<U>;
|
|
2793
2800
|
get columnNames(): string[];
|
|
2794
2801
|
get rowsRead(): number;
|
package/2022-10-31/index.d.ts
CHANGED
|
@@ -1541,11 +1541,7 @@ declare abstract class Body {
|
|
|
1541
1541
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
|
|
1542
1542
|
*/
|
|
1543
1543
|
declare class Response extends Body {
|
|
1544
|
-
constructor(
|
|
1545
|
-
body?: BodyInit | null,
|
|
1546
|
-
init?: ResponseInit,
|
|
1547
|
-
webSocket?: WebSocket,
|
|
1548
|
-
);
|
|
1544
|
+
constructor(body?: BodyInit | null, init?: ResponseInit);
|
|
1549
1545
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) */
|
|
1550
1546
|
static redirect(url: string, status?: number): Response;
|
|
1551
1547
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static) */
|
|
@@ -1572,7 +1568,7 @@ interface ResponseInit {
|
|
|
1572
1568
|
statusText?: string;
|
|
1573
1569
|
headers?: HeadersInit;
|
|
1574
1570
|
cf?: any;
|
|
1575
|
-
webSocket?: WebSocket;
|
|
1571
|
+
webSocket?: WebSocket | null;
|
|
1576
1572
|
encodeBody?: "automatic" | "manual";
|
|
1577
1573
|
}
|
|
1578
1574
|
type RequestInfo<CfHostMetadata = unknown, Cf = CfProperties<CfHostMetadata>> =
|
|
@@ -2779,6 +2775,17 @@ type SqlStorageValue = ArrayBuffer | string | number | null;
|
|
|
2779
2775
|
declare abstract class SqlStorageCursor<
|
|
2780
2776
|
T extends Record<string, SqlStorageValue>,
|
|
2781
2777
|
> {
|
|
2778
|
+
next():
|
|
2779
|
+
| {
|
|
2780
|
+
done?: false;
|
|
2781
|
+
value: T;
|
|
2782
|
+
}
|
|
2783
|
+
| {
|
|
2784
|
+
done: true;
|
|
2785
|
+
value?: never;
|
|
2786
|
+
};
|
|
2787
|
+
toArray(): T[];
|
|
2788
|
+
one(): T;
|
|
2782
2789
|
raw<U extends SqlStorageValue[]>(): IterableIterator<U>;
|
|
2783
2790
|
get columnNames(): string[];
|
|
2784
2791
|
get rowsRead(): number;
|
package/2022-10-31/index.ts
CHANGED
|
@@ -1546,11 +1546,7 @@ export declare abstract class Body {
|
|
|
1546
1546
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
|
|
1547
1547
|
*/
|
|
1548
1548
|
export declare class Response extends Body {
|
|
1549
|
-
constructor(
|
|
1550
|
-
body?: BodyInit | null,
|
|
1551
|
-
init?: ResponseInit,
|
|
1552
|
-
webSocket?: WebSocket,
|
|
1553
|
-
);
|
|
1549
|
+
constructor(body?: BodyInit | null, init?: ResponseInit);
|
|
1554
1550
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) */
|
|
1555
1551
|
static redirect(url: string, status?: number): Response;
|
|
1556
1552
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static) */
|
|
@@ -1577,7 +1573,7 @@ export interface ResponseInit {
|
|
|
1577
1573
|
statusText?: string;
|
|
1578
1574
|
headers?: HeadersInit;
|
|
1579
1575
|
cf?: any;
|
|
1580
|
-
webSocket?: WebSocket;
|
|
1576
|
+
webSocket?: WebSocket | null;
|
|
1581
1577
|
encodeBody?: "automatic" | "manual";
|
|
1582
1578
|
}
|
|
1583
1579
|
export type RequestInfo<
|
|
@@ -2788,6 +2784,17 @@ export type SqlStorageValue = ArrayBuffer | string | number | null;
|
|
|
2788
2784
|
export declare abstract class SqlStorageCursor<
|
|
2789
2785
|
T extends Record<string, SqlStorageValue>,
|
|
2790
2786
|
> {
|
|
2787
|
+
next():
|
|
2788
|
+
| {
|
|
2789
|
+
done?: false;
|
|
2790
|
+
value: T;
|
|
2791
|
+
}
|
|
2792
|
+
| {
|
|
2793
|
+
done: true;
|
|
2794
|
+
value?: never;
|
|
2795
|
+
};
|
|
2796
|
+
toArray(): T[];
|
|
2797
|
+
one(): T;
|
|
2791
2798
|
raw<U extends SqlStorageValue[]>(): IterableIterator<U>;
|
|
2792
2799
|
get columnNames(): string[];
|
|
2793
2800
|
get rowsRead(): number;
|
package/2022-11-30/index.d.ts
CHANGED
|
@@ -1546,11 +1546,7 @@ declare abstract class Body {
|
|
|
1546
1546
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
|
|
1547
1547
|
*/
|
|
1548
1548
|
declare class Response extends Body {
|
|
1549
|
-
constructor(
|
|
1550
|
-
body?: BodyInit | null,
|
|
1551
|
-
init?: ResponseInit,
|
|
1552
|
-
webSocket?: WebSocket,
|
|
1553
|
-
);
|
|
1549
|
+
constructor(body?: BodyInit | null, init?: ResponseInit);
|
|
1554
1550
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) */
|
|
1555
1551
|
static redirect(url: string, status?: number): Response;
|
|
1556
1552
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static) */
|
|
@@ -1577,7 +1573,7 @@ interface ResponseInit {
|
|
|
1577
1573
|
statusText?: string;
|
|
1578
1574
|
headers?: HeadersInit;
|
|
1579
1575
|
cf?: any;
|
|
1580
|
-
webSocket?: WebSocket;
|
|
1576
|
+
webSocket?: WebSocket | null;
|
|
1581
1577
|
encodeBody?: "automatic" | "manual";
|
|
1582
1578
|
}
|
|
1583
1579
|
type RequestInfo<CfHostMetadata = unknown, Cf = CfProperties<CfHostMetadata>> =
|
|
@@ -2784,6 +2780,17 @@ type SqlStorageValue = ArrayBuffer | string | number | null;
|
|
|
2784
2780
|
declare abstract class SqlStorageCursor<
|
|
2785
2781
|
T extends Record<string, SqlStorageValue>,
|
|
2786
2782
|
> {
|
|
2783
|
+
next():
|
|
2784
|
+
| {
|
|
2785
|
+
done?: false;
|
|
2786
|
+
value: T;
|
|
2787
|
+
}
|
|
2788
|
+
| {
|
|
2789
|
+
done: true;
|
|
2790
|
+
value?: never;
|
|
2791
|
+
};
|
|
2792
|
+
toArray(): T[];
|
|
2793
|
+
one(): T;
|
|
2787
2794
|
raw<U extends SqlStorageValue[]>(): IterableIterator<U>;
|
|
2788
2795
|
get columnNames(): string[];
|
|
2789
2796
|
get rowsRead(): number;
|
package/2022-11-30/index.ts
CHANGED
|
@@ -1551,11 +1551,7 @@ export declare abstract class Body {
|
|
|
1551
1551
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
|
|
1552
1552
|
*/
|
|
1553
1553
|
export declare class Response extends Body {
|
|
1554
|
-
constructor(
|
|
1555
|
-
body?: BodyInit | null,
|
|
1556
|
-
init?: ResponseInit,
|
|
1557
|
-
webSocket?: WebSocket,
|
|
1558
|
-
);
|
|
1554
|
+
constructor(body?: BodyInit | null, init?: ResponseInit);
|
|
1559
1555
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) */
|
|
1560
1556
|
static redirect(url: string, status?: number): Response;
|
|
1561
1557
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static) */
|
|
@@ -1582,7 +1578,7 @@ export interface ResponseInit {
|
|
|
1582
1578
|
statusText?: string;
|
|
1583
1579
|
headers?: HeadersInit;
|
|
1584
1580
|
cf?: any;
|
|
1585
|
-
webSocket?: WebSocket;
|
|
1581
|
+
webSocket?: WebSocket | null;
|
|
1586
1582
|
encodeBody?: "automatic" | "manual";
|
|
1587
1583
|
}
|
|
1588
1584
|
export type RequestInfo<
|
|
@@ -2793,6 +2789,17 @@ export type SqlStorageValue = ArrayBuffer | string | number | null;
|
|
|
2793
2789
|
export declare abstract class SqlStorageCursor<
|
|
2794
2790
|
T extends Record<string, SqlStorageValue>,
|
|
2795
2791
|
> {
|
|
2792
|
+
next():
|
|
2793
|
+
| {
|
|
2794
|
+
done?: false;
|
|
2795
|
+
value: T;
|
|
2796
|
+
}
|
|
2797
|
+
| {
|
|
2798
|
+
done: true;
|
|
2799
|
+
value?: never;
|
|
2800
|
+
};
|
|
2801
|
+
toArray(): T[];
|
|
2802
|
+
one(): T;
|
|
2796
2803
|
raw<U extends SqlStorageValue[]>(): IterableIterator<U>;
|
|
2797
2804
|
get columnNames(): string[];
|
|
2798
2805
|
get rowsRead(): number;
|
package/2023-03-01/index.d.ts
CHANGED
|
@@ -1548,11 +1548,7 @@ declare abstract class Body {
|
|
|
1548
1548
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
|
|
1549
1549
|
*/
|
|
1550
1550
|
declare class Response extends Body {
|
|
1551
|
-
constructor(
|
|
1552
|
-
body?: BodyInit | null,
|
|
1553
|
-
init?: ResponseInit,
|
|
1554
|
-
webSocket?: WebSocket,
|
|
1555
|
-
);
|
|
1551
|
+
constructor(body?: BodyInit | null, init?: ResponseInit);
|
|
1556
1552
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) */
|
|
1557
1553
|
static redirect(url: string, status?: number): Response;
|
|
1558
1554
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static) */
|
|
@@ -1579,7 +1575,7 @@ interface ResponseInit {
|
|
|
1579
1575
|
statusText?: string;
|
|
1580
1576
|
headers?: HeadersInit;
|
|
1581
1577
|
cf?: any;
|
|
1582
|
-
webSocket?: WebSocket;
|
|
1578
|
+
webSocket?: WebSocket | null;
|
|
1583
1579
|
encodeBody?: "automatic" | "manual";
|
|
1584
1580
|
}
|
|
1585
1581
|
type RequestInfo<CfHostMetadata = unknown, Cf = CfProperties<CfHostMetadata>> =
|
|
@@ -2786,6 +2782,17 @@ type SqlStorageValue = ArrayBuffer | string | number | null;
|
|
|
2786
2782
|
declare abstract class SqlStorageCursor<
|
|
2787
2783
|
T extends Record<string, SqlStorageValue>,
|
|
2788
2784
|
> {
|
|
2785
|
+
next():
|
|
2786
|
+
| {
|
|
2787
|
+
done?: false;
|
|
2788
|
+
value: T;
|
|
2789
|
+
}
|
|
2790
|
+
| {
|
|
2791
|
+
done: true;
|
|
2792
|
+
value?: never;
|
|
2793
|
+
};
|
|
2794
|
+
toArray(): T[];
|
|
2795
|
+
one(): T;
|
|
2789
2796
|
raw<U extends SqlStorageValue[]>(): IterableIterator<U>;
|
|
2790
2797
|
get columnNames(): string[];
|
|
2791
2798
|
get rowsRead(): number;
|
package/2023-03-01/index.ts
CHANGED
|
@@ -1553,11 +1553,7 @@ export declare abstract class Body {
|
|
|
1553
1553
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
|
|
1554
1554
|
*/
|
|
1555
1555
|
export declare class Response extends Body {
|
|
1556
|
-
constructor(
|
|
1557
|
-
body?: BodyInit | null,
|
|
1558
|
-
init?: ResponseInit,
|
|
1559
|
-
webSocket?: WebSocket,
|
|
1560
|
-
);
|
|
1556
|
+
constructor(body?: BodyInit | null, init?: ResponseInit);
|
|
1561
1557
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) */
|
|
1562
1558
|
static redirect(url: string, status?: number): Response;
|
|
1563
1559
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static) */
|
|
@@ -1584,7 +1580,7 @@ export interface ResponseInit {
|
|
|
1584
1580
|
statusText?: string;
|
|
1585
1581
|
headers?: HeadersInit;
|
|
1586
1582
|
cf?: any;
|
|
1587
|
-
webSocket?: WebSocket;
|
|
1583
|
+
webSocket?: WebSocket | null;
|
|
1588
1584
|
encodeBody?: "automatic" | "manual";
|
|
1589
1585
|
}
|
|
1590
1586
|
export type RequestInfo<
|
|
@@ -2795,6 +2791,17 @@ export type SqlStorageValue = ArrayBuffer | string | number | null;
|
|
|
2795
2791
|
export declare abstract class SqlStorageCursor<
|
|
2796
2792
|
T extends Record<string, SqlStorageValue>,
|
|
2797
2793
|
> {
|
|
2794
|
+
next():
|
|
2795
|
+
| {
|
|
2796
|
+
done?: false;
|
|
2797
|
+
value: T;
|
|
2798
|
+
}
|
|
2799
|
+
| {
|
|
2800
|
+
done: true;
|
|
2801
|
+
value?: never;
|
|
2802
|
+
};
|
|
2803
|
+
toArray(): T[];
|
|
2804
|
+
one(): T;
|
|
2798
2805
|
raw<U extends SqlStorageValue[]>(): IterableIterator<U>;
|
|
2799
2806
|
get columnNames(): string[];
|
|
2800
2807
|
get rowsRead(): number;
|
package/2023-07-01/index.d.ts
CHANGED
|
@@ -1548,11 +1548,7 @@ declare abstract class Body {
|
|
|
1548
1548
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
|
|
1549
1549
|
*/
|
|
1550
1550
|
declare class Response extends Body {
|
|
1551
|
-
constructor(
|
|
1552
|
-
body?: BodyInit | null,
|
|
1553
|
-
init?: ResponseInit,
|
|
1554
|
-
webSocket?: WebSocket,
|
|
1555
|
-
);
|
|
1551
|
+
constructor(body?: BodyInit | null, init?: ResponseInit);
|
|
1556
1552
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) */
|
|
1557
1553
|
static redirect(url: string, status?: number): Response;
|
|
1558
1554
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static) */
|
|
@@ -1579,7 +1575,7 @@ interface ResponseInit {
|
|
|
1579
1575
|
statusText?: string;
|
|
1580
1576
|
headers?: HeadersInit;
|
|
1581
1577
|
cf?: any;
|
|
1582
|
-
webSocket?: WebSocket;
|
|
1578
|
+
webSocket?: WebSocket | null;
|
|
1583
1579
|
encodeBody?: "automatic" | "manual";
|
|
1584
1580
|
}
|
|
1585
1581
|
type RequestInfo<CfHostMetadata = unknown, Cf = CfProperties<CfHostMetadata>> =
|
|
@@ -2786,6 +2782,17 @@ type SqlStorageValue = ArrayBuffer | string | number | null;
|
|
|
2786
2782
|
declare abstract class SqlStorageCursor<
|
|
2787
2783
|
T extends Record<string, SqlStorageValue>,
|
|
2788
2784
|
> {
|
|
2785
|
+
next():
|
|
2786
|
+
| {
|
|
2787
|
+
done?: false;
|
|
2788
|
+
value: T;
|
|
2789
|
+
}
|
|
2790
|
+
| {
|
|
2791
|
+
done: true;
|
|
2792
|
+
value?: never;
|
|
2793
|
+
};
|
|
2794
|
+
toArray(): T[];
|
|
2795
|
+
one(): T;
|
|
2789
2796
|
raw<U extends SqlStorageValue[]>(): IterableIterator<U>;
|
|
2790
2797
|
get columnNames(): string[];
|
|
2791
2798
|
get rowsRead(): number;
|
package/2023-07-01/index.ts
CHANGED
|
@@ -1553,11 +1553,7 @@ export declare abstract class Body {
|
|
|
1553
1553
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
|
|
1554
1554
|
*/
|
|
1555
1555
|
export declare class Response extends Body {
|
|
1556
|
-
constructor(
|
|
1557
|
-
body?: BodyInit | null,
|
|
1558
|
-
init?: ResponseInit,
|
|
1559
|
-
webSocket?: WebSocket,
|
|
1560
|
-
);
|
|
1556
|
+
constructor(body?: BodyInit | null, init?: ResponseInit);
|
|
1561
1557
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) */
|
|
1562
1558
|
static redirect(url: string, status?: number): Response;
|
|
1563
1559
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static) */
|
|
@@ -1584,7 +1580,7 @@ export interface ResponseInit {
|
|
|
1584
1580
|
statusText?: string;
|
|
1585
1581
|
headers?: HeadersInit;
|
|
1586
1582
|
cf?: any;
|
|
1587
|
-
webSocket?: WebSocket;
|
|
1583
|
+
webSocket?: WebSocket | null;
|
|
1588
1584
|
encodeBody?: "automatic" | "manual";
|
|
1589
1585
|
}
|
|
1590
1586
|
export type RequestInfo<
|
|
@@ -2795,6 +2791,17 @@ export type SqlStorageValue = ArrayBuffer | string | number | null;
|
|
|
2795
2791
|
export declare abstract class SqlStorageCursor<
|
|
2796
2792
|
T extends Record<string, SqlStorageValue>,
|
|
2797
2793
|
> {
|
|
2794
|
+
next():
|
|
2795
|
+
| {
|
|
2796
|
+
done?: false;
|
|
2797
|
+
value: T;
|
|
2798
|
+
}
|
|
2799
|
+
| {
|
|
2800
|
+
done: true;
|
|
2801
|
+
value?: never;
|
|
2802
|
+
};
|
|
2803
|
+
toArray(): T[];
|
|
2804
|
+
one(): T;
|
|
2798
2805
|
raw<U extends SqlStorageValue[]>(): IterableIterator<U>;
|
|
2799
2806
|
get columnNames(): string[];
|
|
2800
2807
|
get rowsRead(): number;
|
package/experimental/index.d.ts
CHANGED
|
@@ -1553,11 +1553,7 @@ declare abstract class Body {
|
|
|
1553
1553
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
|
|
1554
1554
|
*/
|
|
1555
1555
|
declare class Response extends Body {
|
|
1556
|
-
constructor(
|
|
1557
|
-
body?: BodyInit | null,
|
|
1558
|
-
init?: ResponseInit,
|
|
1559
|
-
webSocket?: WebSocket,
|
|
1560
|
-
);
|
|
1556
|
+
constructor(body?: BodyInit | null, init?: ResponseInit);
|
|
1561
1557
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) */
|
|
1562
1558
|
static redirect(url: string, status?: number): Response;
|
|
1563
1559
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static) */
|
|
@@ -1584,7 +1580,7 @@ interface ResponseInit {
|
|
|
1584
1580
|
statusText?: string;
|
|
1585
1581
|
headers?: HeadersInit;
|
|
1586
1582
|
cf?: any;
|
|
1587
|
-
webSocket?: WebSocket;
|
|
1583
|
+
webSocket?: WebSocket | null;
|
|
1588
1584
|
encodeBody?: "automatic" | "manual";
|
|
1589
1585
|
}
|
|
1590
1586
|
type RequestInfo<CfHostMetadata = unknown, Cf = CfProperties<CfHostMetadata>> =
|
|
@@ -2842,6 +2838,17 @@ type SqlStorageValue = ArrayBuffer | string | number | null;
|
|
|
2842
2838
|
declare abstract class SqlStorageCursor<
|
|
2843
2839
|
T extends Record<string, SqlStorageValue>,
|
|
2844
2840
|
> {
|
|
2841
|
+
next():
|
|
2842
|
+
| {
|
|
2843
|
+
done?: false;
|
|
2844
|
+
value: T;
|
|
2845
|
+
}
|
|
2846
|
+
| {
|
|
2847
|
+
done: true;
|
|
2848
|
+
value?: never;
|
|
2849
|
+
};
|
|
2850
|
+
toArray(): T[];
|
|
2851
|
+
one(): T;
|
|
2845
2852
|
raw<U extends SqlStorageValue[]>(): IterableIterator<U>;
|
|
2846
2853
|
get columnNames(): string[];
|
|
2847
2854
|
get rowsRead(): number;
|
package/experimental/index.ts
CHANGED
|
@@ -1558,11 +1558,7 @@ export declare abstract class Body {
|
|
|
1558
1558
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
|
|
1559
1559
|
*/
|
|
1560
1560
|
export declare class Response extends Body {
|
|
1561
|
-
constructor(
|
|
1562
|
-
body?: BodyInit | null,
|
|
1563
|
-
init?: ResponseInit,
|
|
1564
|
-
webSocket?: WebSocket,
|
|
1565
|
-
);
|
|
1561
|
+
constructor(body?: BodyInit | null, init?: ResponseInit);
|
|
1566
1562
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) */
|
|
1567
1563
|
static redirect(url: string, status?: number): Response;
|
|
1568
1564
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static) */
|
|
@@ -1589,7 +1585,7 @@ export interface ResponseInit {
|
|
|
1589
1585
|
statusText?: string;
|
|
1590
1586
|
headers?: HeadersInit;
|
|
1591
1587
|
cf?: any;
|
|
1592
|
-
webSocket?: WebSocket;
|
|
1588
|
+
webSocket?: WebSocket | null;
|
|
1593
1589
|
encodeBody?: "automatic" | "manual";
|
|
1594
1590
|
}
|
|
1595
1591
|
export type RequestInfo<
|
|
@@ -2851,6 +2847,17 @@ export type SqlStorageValue = ArrayBuffer | string | number | null;
|
|
|
2851
2847
|
export declare abstract class SqlStorageCursor<
|
|
2852
2848
|
T extends Record<string, SqlStorageValue>,
|
|
2853
2849
|
> {
|
|
2850
|
+
next():
|
|
2851
|
+
| {
|
|
2852
|
+
done?: false;
|
|
2853
|
+
value: T;
|
|
2854
|
+
}
|
|
2855
|
+
| {
|
|
2856
|
+
done: true;
|
|
2857
|
+
value?: never;
|
|
2858
|
+
};
|
|
2859
|
+
toArray(): T[];
|
|
2860
|
+
one(): T;
|
|
2854
2861
|
raw<U extends SqlStorageValue[]>(): IterableIterator<U>;
|
|
2855
2862
|
get columnNames(): string[];
|
|
2856
2863
|
get rowsRead(): number;
|
package/index.d.ts
CHANGED
|
@@ -1518,11 +1518,7 @@ declare abstract class Body {
|
|
|
1518
1518
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
|
|
1519
1519
|
*/
|
|
1520
1520
|
declare class Response extends Body {
|
|
1521
|
-
constructor(
|
|
1522
|
-
body?: BodyInit | null,
|
|
1523
|
-
init?: ResponseInit,
|
|
1524
|
-
webSocket?: WebSocket,
|
|
1525
|
-
);
|
|
1521
|
+
constructor(body?: BodyInit | null, init?: ResponseInit);
|
|
1526
1522
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) */
|
|
1527
1523
|
static redirect(url: string, status?: number): Response;
|
|
1528
1524
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static) */
|
|
@@ -1549,7 +1545,7 @@ interface ResponseInit {
|
|
|
1549
1545
|
statusText?: string;
|
|
1550
1546
|
headers?: HeadersInit;
|
|
1551
1547
|
cf?: any;
|
|
1552
|
-
webSocket?: WebSocket;
|
|
1548
|
+
webSocket?: WebSocket | null;
|
|
1553
1549
|
encodeBody?: "automatic" | "manual";
|
|
1554
1550
|
}
|
|
1555
1551
|
type RequestInfo<CfHostMetadata = unknown, Cf = CfProperties<CfHostMetadata>> =
|
|
@@ -2736,6 +2732,17 @@ type SqlStorageValue = ArrayBuffer | string | number | null;
|
|
|
2736
2732
|
declare abstract class SqlStorageCursor<
|
|
2737
2733
|
T extends Record<string, SqlStorageValue>,
|
|
2738
2734
|
> {
|
|
2735
|
+
next():
|
|
2736
|
+
| {
|
|
2737
|
+
done?: false;
|
|
2738
|
+
value: T;
|
|
2739
|
+
}
|
|
2740
|
+
| {
|
|
2741
|
+
done: true;
|
|
2742
|
+
value?: never;
|
|
2743
|
+
};
|
|
2744
|
+
toArray(): T[];
|
|
2745
|
+
one(): T;
|
|
2739
2746
|
raw<U extends SqlStorageValue[]>(): IterableIterator<U>;
|
|
2740
2747
|
get columnNames(): string[];
|
|
2741
2748
|
get rowsRead(): number;
|
package/index.ts
CHANGED
|
@@ -1523,11 +1523,7 @@ export declare abstract class Body {
|
|
|
1523
1523
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
|
|
1524
1524
|
*/
|
|
1525
1525
|
export declare class Response extends Body {
|
|
1526
|
-
constructor(
|
|
1527
|
-
body?: BodyInit | null,
|
|
1528
|
-
init?: ResponseInit,
|
|
1529
|
-
webSocket?: WebSocket,
|
|
1530
|
-
);
|
|
1526
|
+
constructor(body?: BodyInit | null, init?: ResponseInit);
|
|
1531
1527
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) */
|
|
1532
1528
|
static redirect(url: string, status?: number): Response;
|
|
1533
1529
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static) */
|
|
@@ -1554,7 +1550,7 @@ export interface ResponseInit {
|
|
|
1554
1550
|
statusText?: string;
|
|
1555
1551
|
headers?: HeadersInit;
|
|
1556
1552
|
cf?: any;
|
|
1557
|
-
webSocket?: WebSocket;
|
|
1553
|
+
webSocket?: WebSocket | null;
|
|
1558
1554
|
encodeBody?: "automatic" | "manual";
|
|
1559
1555
|
}
|
|
1560
1556
|
export type RequestInfo<
|
|
@@ -2745,6 +2741,17 @@ export type SqlStorageValue = ArrayBuffer | string | number | null;
|
|
|
2745
2741
|
export declare abstract class SqlStorageCursor<
|
|
2746
2742
|
T extends Record<string, SqlStorageValue>,
|
|
2747
2743
|
> {
|
|
2744
|
+
next():
|
|
2745
|
+
| {
|
|
2746
|
+
done?: false;
|
|
2747
|
+
value: T;
|
|
2748
|
+
}
|
|
2749
|
+
| {
|
|
2750
|
+
done: true;
|
|
2751
|
+
value?: never;
|
|
2752
|
+
};
|
|
2753
|
+
toArray(): T[];
|
|
2754
|
+
one(): T;
|
|
2748
2755
|
raw<U extends SqlStorageValue[]>(): IterableIterator<U>;
|
|
2749
2756
|
get columnNames(): string[];
|
|
2750
2757
|
get rowsRead(): number;
|
package/oldest/index.d.ts
CHANGED
|
@@ -1518,11 +1518,7 @@ declare abstract class Body {
|
|
|
1518
1518
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
|
|
1519
1519
|
*/
|
|
1520
1520
|
declare class Response extends Body {
|
|
1521
|
-
constructor(
|
|
1522
|
-
body?: BodyInit | null,
|
|
1523
|
-
init?: ResponseInit,
|
|
1524
|
-
webSocket?: WebSocket,
|
|
1525
|
-
);
|
|
1521
|
+
constructor(body?: BodyInit | null, init?: ResponseInit);
|
|
1526
1522
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) */
|
|
1527
1523
|
static redirect(url: string, status?: number): Response;
|
|
1528
1524
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static) */
|
|
@@ -1549,7 +1545,7 @@ interface ResponseInit {
|
|
|
1549
1545
|
statusText?: string;
|
|
1550
1546
|
headers?: HeadersInit;
|
|
1551
1547
|
cf?: any;
|
|
1552
|
-
webSocket?: WebSocket;
|
|
1548
|
+
webSocket?: WebSocket | null;
|
|
1553
1549
|
encodeBody?: "automatic" | "manual";
|
|
1554
1550
|
}
|
|
1555
1551
|
type RequestInfo<CfHostMetadata = unknown, Cf = CfProperties<CfHostMetadata>> =
|
|
@@ -2736,6 +2732,17 @@ type SqlStorageValue = ArrayBuffer | string | number | null;
|
|
|
2736
2732
|
declare abstract class SqlStorageCursor<
|
|
2737
2733
|
T extends Record<string, SqlStorageValue>,
|
|
2738
2734
|
> {
|
|
2735
|
+
next():
|
|
2736
|
+
| {
|
|
2737
|
+
done?: false;
|
|
2738
|
+
value: T;
|
|
2739
|
+
}
|
|
2740
|
+
| {
|
|
2741
|
+
done: true;
|
|
2742
|
+
value?: never;
|
|
2743
|
+
};
|
|
2744
|
+
toArray(): T[];
|
|
2745
|
+
one(): T;
|
|
2739
2746
|
raw<U extends SqlStorageValue[]>(): IterableIterator<U>;
|
|
2740
2747
|
get columnNames(): string[];
|
|
2741
2748
|
get rowsRead(): number;
|
package/oldest/index.ts
CHANGED
|
@@ -1523,11 +1523,7 @@ export declare abstract class Body {
|
|
|
1523
1523
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response)
|
|
1524
1524
|
*/
|
|
1525
1525
|
export declare class Response extends Body {
|
|
1526
|
-
constructor(
|
|
1527
|
-
body?: BodyInit | null,
|
|
1528
|
-
init?: ResponseInit,
|
|
1529
|
-
webSocket?: WebSocket,
|
|
1530
|
-
);
|
|
1526
|
+
constructor(body?: BodyInit | null, init?: ResponseInit);
|
|
1531
1527
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) */
|
|
1532
1528
|
static redirect(url: string, status?: number): Response;
|
|
1533
1529
|
/* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static) */
|
|
@@ -1554,7 +1550,7 @@ export interface ResponseInit {
|
|
|
1554
1550
|
statusText?: string;
|
|
1555
1551
|
headers?: HeadersInit;
|
|
1556
1552
|
cf?: any;
|
|
1557
|
-
webSocket?: WebSocket;
|
|
1553
|
+
webSocket?: WebSocket | null;
|
|
1558
1554
|
encodeBody?: "automatic" | "manual";
|
|
1559
1555
|
}
|
|
1560
1556
|
export type RequestInfo<
|
|
@@ -2745,6 +2741,17 @@ export type SqlStorageValue = ArrayBuffer | string | number | null;
|
|
|
2745
2741
|
export declare abstract class SqlStorageCursor<
|
|
2746
2742
|
T extends Record<string, SqlStorageValue>,
|
|
2747
2743
|
> {
|
|
2744
|
+
next():
|
|
2745
|
+
| {
|
|
2746
|
+
done?: false;
|
|
2747
|
+
value: T;
|
|
2748
|
+
}
|
|
2749
|
+
| {
|
|
2750
|
+
done: true;
|
|
2751
|
+
value?: never;
|
|
2752
|
+
};
|
|
2753
|
+
toArray(): T[];
|
|
2754
|
+
one(): T;
|
|
2748
2755
|
raw<U extends SqlStorageValue[]>(): IterableIterator<U>;
|
|
2749
2756
|
get columnNames(): string[];
|
|
2750
2757
|
get rowsRead(): number;
|
package/package.json
CHANGED