@cloudflare/workers-types 4.20251220.0 → 4.20251221.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 +2 -0
- package/2021-11-03/index.ts +2 -0
- package/2022-01-31/index.d.ts +2 -0
- package/2022-01-31/index.ts +2 -0
- package/2022-03-21/index.d.ts +2 -0
- package/2022-03-21/index.ts +2 -0
- package/2022-08-04/index.d.ts +2 -0
- package/2022-08-04/index.ts +2 -0
- package/2022-10-31/index.d.ts +2 -0
- package/2022-10-31/index.ts +2 -0
- package/2022-11-30/index.d.ts +2 -0
- package/2022-11-30/index.ts +2 -0
- package/2023-03-01/index.d.ts +2 -0
- package/2023-03-01/index.ts +2 -0
- package/2023-07-01/index.d.ts +2 -0
- package/2023-07-01/index.ts +2 -0
- package/experimental/index.d.ts +2 -0
- package/experimental/index.ts +2 -0
- package/index.d.ts +2 -0
- package/index.ts +2 -0
- package/latest/index.d.ts +2 -0
- package/latest/index.ts +2 -0
- package/oldest/index.d.ts +2 -0
- package/oldest/index.ts +2 -0
- package/package.json +1 -1
package/2021-11-03/index.d.ts
CHANGED
|
@@ -591,8 +591,10 @@ type DurableObjectLocationHint =
|
|
|
591
591
|
| "oc"
|
|
592
592
|
| "afr"
|
|
593
593
|
| "me";
|
|
594
|
+
type DurableObjectRoutingMode = "primary-only";
|
|
594
595
|
interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
595
596
|
locationHint?: DurableObjectLocationHint;
|
|
597
|
+
routingMode?: DurableObjectRoutingMode;
|
|
596
598
|
}
|
|
597
599
|
interface DurableObjectClass<
|
|
598
600
|
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
package/2021-11-03/index.ts
CHANGED
|
@@ -596,8 +596,10 @@ export type DurableObjectLocationHint =
|
|
|
596
596
|
| "oc"
|
|
597
597
|
| "afr"
|
|
598
598
|
| "me";
|
|
599
|
+
export type DurableObjectRoutingMode = "primary-only";
|
|
599
600
|
export interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
600
601
|
locationHint?: DurableObjectLocationHint;
|
|
602
|
+
routingMode?: DurableObjectRoutingMode;
|
|
601
603
|
}
|
|
602
604
|
export interface DurableObjectClass<
|
|
603
605
|
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
package/2022-01-31/index.d.ts
CHANGED
|
@@ -591,8 +591,10 @@ type DurableObjectLocationHint =
|
|
|
591
591
|
| "oc"
|
|
592
592
|
| "afr"
|
|
593
593
|
| "me";
|
|
594
|
+
type DurableObjectRoutingMode = "primary-only";
|
|
594
595
|
interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
595
596
|
locationHint?: DurableObjectLocationHint;
|
|
597
|
+
routingMode?: DurableObjectRoutingMode;
|
|
596
598
|
}
|
|
597
599
|
interface DurableObjectClass<
|
|
598
600
|
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
package/2022-01-31/index.ts
CHANGED
|
@@ -596,8 +596,10 @@ export type DurableObjectLocationHint =
|
|
|
596
596
|
| "oc"
|
|
597
597
|
| "afr"
|
|
598
598
|
| "me";
|
|
599
|
+
export type DurableObjectRoutingMode = "primary-only";
|
|
599
600
|
export interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
600
601
|
locationHint?: DurableObjectLocationHint;
|
|
602
|
+
routingMode?: DurableObjectRoutingMode;
|
|
601
603
|
}
|
|
602
604
|
export interface DurableObjectClass<
|
|
603
605
|
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
package/2022-03-21/index.d.ts
CHANGED
|
@@ -599,8 +599,10 @@ type DurableObjectLocationHint =
|
|
|
599
599
|
| "oc"
|
|
600
600
|
| "afr"
|
|
601
601
|
| "me";
|
|
602
|
+
type DurableObjectRoutingMode = "primary-only";
|
|
602
603
|
interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
603
604
|
locationHint?: DurableObjectLocationHint;
|
|
605
|
+
routingMode?: DurableObjectRoutingMode;
|
|
604
606
|
}
|
|
605
607
|
interface DurableObjectClass<
|
|
606
608
|
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
package/2022-03-21/index.ts
CHANGED
|
@@ -604,8 +604,10 @@ export type DurableObjectLocationHint =
|
|
|
604
604
|
| "oc"
|
|
605
605
|
| "afr"
|
|
606
606
|
| "me";
|
|
607
|
+
export type DurableObjectRoutingMode = "primary-only";
|
|
607
608
|
export interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
608
609
|
locationHint?: DurableObjectLocationHint;
|
|
610
|
+
routingMode?: DurableObjectRoutingMode;
|
|
609
611
|
}
|
|
610
612
|
export interface DurableObjectClass<
|
|
611
613
|
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
package/2022-08-04/index.d.ts
CHANGED
|
@@ -599,8 +599,10 @@ type DurableObjectLocationHint =
|
|
|
599
599
|
| "oc"
|
|
600
600
|
| "afr"
|
|
601
601
|
| "me";
|
|
602
|
+
type DurableObjectRoutingMode = "primary-only";
|
|
602
603
|
interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
603
604
|
locationHint?: DurableObjectLocationHint;
|
|
605
|
+
routingMode?: DurableObjectRoutingMode;
|
|
604
606
|
}
|
|
605
607
|
interface DurableObjectClass<
|
|
606
608
|
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
package/2022-08-04/index.ts
CHANGED
|
@@ -604,8 +604,10 @@ export type DurableObjectLocationHint =
|
|
|
604
604
|
| "oc"
|
|
605
605
|
| "afr"
|
|
606
606
|
| "me";
|
|
607
|
+
export type DurableObjectRoutingMode = "primary-only";
|
|
607
608
|
export interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
608
609
|
locationHint?: DurableObjectLocationHint;
|
|
610
|
+
routingMode?: DurableObjectRoutingMode;
|
|
609
611
|
}
|
|
610
612
|
export interface DurableObjectClass<
|
|
611
613
|
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
package/2022-10-31/index.d.ts
CHANGED
|
@@ -599,8 +599,10 @@ type DurableObjectLocationHint =
|
|
|
599
599
|
| "oc"
|
|
600
600
|
| "afr"
|
|
601
601
|
| "me";
|
|
602
|
+
type DurableObjectRoutingMode = "primary-only";
|
|
602
603
|
interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
603
604
|
locationHint?: DurableObjectLocationHint;
|
|
605
|
+
routingMode?: DurableObjectRoutingMode;
|
|
604
606
|
}
|
|
605
607
|
interface DurableObjectClass<
|
|
606
608
|
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
package/2022-10-31/index.ts
CHANGED
|
@@ -604,8 +604,10 @@ export type DurableObjectLocationHint =
|
|
|
604
604
|
| "oc"
|
|
605
605
|
| "afr"
|
|
606
606
|
| "me";
|
|
607
|
+
export type DurableObjectRoutingMode = "primary-only";
|
|
607
608
|
export interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
608
609
|
locationHint?: DurableObjectLocationHint;
|
|
610
|
+
routingMode?: DurableObjectRoutingMode;
|
|
609
611
|
}
|
|
610
612
|
export interface DurableObjectClass<
|
|
611
613
|
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
package/2022-11-30/index.d.ts
CHANGED
|
@@ -604,8 +604,10 @@ type DurableObjectLocationHint =
|
|
|
604
604
|
| "oc"
|
|
605
605
|
| "afr"
|
|
606
606
|
| "me";
|
|
607
|
+
type DurableObjectRoutingMode = "primary-only";
|
|
607
608
|
interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
608
609
|
locationHint?: DurableObjectLocationHint;
|
|
610
|
+
routingMode?: DurableObjectRoutingMode;
|
|
609
611
|
}
|
|
610
612
|
interface DurableObjectClass<
|
|
611
613
|
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
package/2022-11-30/index.ts
CHANGED
|
@@ -609,8 +609,10 @@ export type DurableObjectLocationHint =
|
|
|
609
609
|
| "oc"
|
|
610
610
|
| "afr"
|
|
611
611
|
| "me";
|
|
612
|
+
export type DurableObjectRoutingMode = "primary-only";
|
|
612
613
|
export interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
613
614
|
locationHint?: DurableObjectLocationHint;
|
|
615
|
+
routingMode?: DurableObjectRoutingMode;
|
|
614
616
|
}
|
|
615
617
|
export interface DurableObjectClass<
|
|
616
618
|
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
package/2023-03-01/index.d.ts
CHANGED
|
@@ -604,8 +604,10 @@ type DurableObjectLocationHint =
|
|
|
604
604
|
| "oc"
|
|
605
605
|
| "afr"
|
|
606
606
|
| "me";
|
|
607
|
+
type DurableObjectRoutingMode = "primary-only";
|
|
607
608
|
interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
608
609
|
locationHint?: DurableObjectLocationHint;
|
|
610
|
+
routingMode?: DurableObjectRoutingMode;
|
|
609
611
|
}
|
|
610
612
|
interface DurableObjectClass<
|
|
611
613
|
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
package/2023-03-01/index.ts
CHANGED
|
@@ -609,8 +609,10 @@ export type DurableObjectLocationHint =
|
|
|
609
609
|
| "oc"
|
|
610
610
|
| "afr"
|
|
611
611
|
| "me";
|
|
612
|
+
export type DurableObjectRoutingMode = "primary-only";
|
|
612
613
|
export interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
613
614
|
locationHint?: DurableObjectLocationHint;
|
|
615
|
+
routingMode?: DurableObjectRoutingMode;
|
|
614
616
|
}
|
|
615
617
|
export interface DurableObjectClass<
|
|
616
618
|
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
package/2023-07-01/index.d.ts
CHANGED
|
@@ -604,8 +604,10 @@ type DurableObjectLocationHint =
|
|
|
604
604
|
| "oc"
|
|
605
605
|
| "afr"
|
|
606
606
|
| "me";
|
|
607
|
+
type DurableObjectRoutingMode = "primary-only";
|
|
607
608
|
interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
608
609
|
locationHint?: DurableObjectLocationHint;
|
|
610
|
+
routingMode?: DurableObjectRoutingMode;
|
|
609
611
|
}
|
|
610
612
|
interface DurableObjectClass<
|
|
611
613
|
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
package/2023-07-01/index.ts
CHANGED
|
@@ -609,8 +609,10 @@ export type DurableObjectLocationHint =
|
|
|
609
609
|
| "oc"
|
|
610
610
|
| "afr"
|
|
611
611
|
| "me";
|
|
612
|
+
export type DurableObjectRoutingMode = "primary-only";
|
|
612
613
|
export interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
613
614
|
locationHint?: DurableObjectLocationHint;
|
|
615
|
+
routingMode?: DurableObjectRoutingMode;
|
|
614
616
|
}
|
|
615
617
|
export interface DurableObjectClass<
|
|
616
618
|
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
package/experimental/index.d.ts
CHANGED
|
@@ -631,8 +631,10 @@ type DurableObjectLocationHint =
|
|
|
631
631
|
| "oc"
|
|
632
632
|
| "afr"
|
|
633
633
|
| "me";
|
|
634
|
+
type DurableObjectRoutingMode = "primary-only";
|
|
634
635
|
interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
635
636
|
locationHint?: DurableObjectLocationHint;
|
|
637
|
+
routingMode?: DurableObjectRoutingMode;
|
|
636
638
|
}
|
|
637
639
|
interface DurableObjectClass<
|
|
638
640
|
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
package/experimental/index.ts
CHANGED
|
@@ -636,8 +636,10 @@ export type DurableObjectLocationHint =
|
|
|
636
636
|
| "oc"
|
|
637
637
|
| "afr"
|
|
638
638
|
| "me";
|
|
639
|
+
export type DurableObjectRoutingMode = "primary-only";
|
|
639
640
|
export interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
640
641
|
locationHint?: DurableObjectLocationHint;
|
|
642
|
+
routingMode?: DurableObjectRoutingMode;
|
|
641
643
|
}
|
|
642
644
|
export interface DurableObjectClass<
|
|
643
645
|
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
package/index.d.ts
CHANGED
|
@@ -591,8 +591,10 @@ type DurableObjectLocationHint =
|
|
|
591
591
|
| "oc"
|
|
592
592
|
| "afr"
|
|
593
593
|
| "me";
|
|
594
|
+
type DurableObjectRoutingMode = "primary-only";
|
|
594
595
|
interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
595
596
|
locationHint?: DurableObjectLocationHint;
|
|
597
|
+
routingMode?: DurableObjectRoutingMode;
|
|
596
598
|
}
|
|
597
599
|
interface DurableObjectClass<
|
|
598
600
|
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
package/index.ts
CHANGED
|
@@ -596,8 +596,10 @@ export type DurableObjectLocationHint =
|
|
|
596
596
|
| "oc"
|
|
597
597
|
| "afr"
|
|
598
598
|
| "me";
|
|
599
|
+
export type DurableObjectRoutingMode = "primary-only";
|
|
599
600
|
export interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
600
601
|
locationHint?: DurableObjectLocationHint;
|
|
602
|
+
routingMode?: DurableObjectRoutingMode;
|
|
601
603
|
}
|
|
602
604
|
export interface DurableObjectClass<
|
|
603
605
|
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
package/latest/index.d.ts
CHANGED
|
@@ -609,8 +609,10 @@ type DurableObjectLocationHint =
|
|
|
609
609
|
| "oc"
|
|
610
610
|
| "afr"
|
|
611
611
|
| "me";
|
|
612
|
+
type DurableObjectRoutingMode = "primary-only";
|
|
612
613
|
interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
613
614
|
locationHint?: DurableObjectLocationHint;
|
|
615
|
+
routingMode?: DurableObjectRoutingMode;
|
|
614
616
|
}
|
|
615
617
|
interface DurableObjectClass<
|
|
616
618
|
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
package/latest/index.ts
CHANGED
|
@@ -614,8 +614,10 @@ export type DurableObjectLocationHint =
|
|
|
614
614
|
| "oc"
|
|
615
615
|
| "afr"
|
|
616
616
|
| "me";
|
|
617
|
+
export type DurableObjectRoutingMode = "primary-only";
|
|
617
618
|
export interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
618
619
|
locationHint?: DurableObjectLocationHint;
|
|
620
|
+
routingMode?: DurableObjectRoutingMode;
|
|
619
621
|
}
|
|
620
622
|
export interface DurableObjectClass<
|
|
621
623
|
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
package/oldest/index.d.ts
CHANGED
|
@@ -591,8 +591,10 @@ type DurableObjectLocationHint =
|
|
|
591
591
|
| "oc"
|
|
592
592
|
| "afr"
|
|
593
593
|
| "me";
|
|
594
|
+
type DurableObjectRoutingMode = "primary-only";
|
|
594
595
|
interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
595
596
|
locationHint?: DurableObjectLocationHint;
|
|
597
|
+
routingMode?: DurableObjectRoutingMode;
|
|
596
598
|
}
|
|
597
599
|
interface DurableObjectClass<
|
|
598
600
|
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
package/oldest/index.ts
CHANGED
|
@@ -596,8 +596,10 @@ export type DurableObjectLocationHint =
|
|
|
596
596
|
| "oc"
|
|
597
597
|
| "afr"
|
|
598
598
|
| "me";
|
|
599
|
+
export type DurableObjectRoutingMode = "primary-only";
|
|
599
600
|
export interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
600
601
|
locationHint?: DurableObjectLocationHint;
|
|
602
|
+
routingMode?: DurableObjectRoutingMode;
|
|
601
603
|
}
|
|
602
604
|
export interface DurableObjectClass<
|
|
603
605
|
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
package/package.json
CHANGED