@cloudflare/workers-types 5.20261015.1 → 5.20261018.1
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/experimental/index.d.ts +10 -5
- package/experimental/index.ts +10 -5
- package/package.json +1 -1
package/experimental/index.d.ts
CHANGED
|
@@ -674,6 +674,12 @@ type DurableObjectJurisdiction = "eu" | "fedramp" | "fedramp-high" | "us";
|
|
|
674
674
|
interface DurableObjectNamespaceNewUniqueIdOptions {
|
|
675
675
|
jurisdiction?: DurableObjectJurisdiction;
|
|
676
676
|
}
|
|
677
|
+
interface DurableObjectClass<
|
|
678
|
+
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
|
679
|
+
> {}
|
|
680
|
+
interface DurableObjectNamespaceGetDurableObjectOptionsVersionOptions {
|
|
681
|
+
cohort?: string;
|
|
682
|
+
}
|
|
677
683
|
type DurableObjectLocationHint =
|
|
678
684
|
| "wnam"
|
|
679
685
|
| "enam"
|
|
@@ -693,12 +699,11 @@ interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
|
693
699
|
version?: {
|
|
694
700
|
cohort?: string;
|
|
695
701
|
};
|
|
702
|
+
retry?: DurableObjectRetryOptions;
|
|
696
703
|
}
|
|
697
|
-
interface
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
interface DurableObjectNamespaceGetDurableObjectOptionsVersionOptions {
|
|
701
|
-
cohort?: string;
|
|
704
|
+
interface DurableObjectRetryOptions {
|
|
705
|
+
maxRetries?: number;
|
|
706
|
+
timeoutMs?: number;
|
|
702
707
|
}
|
|
703
708
|
interface DurableObjectState<Props = unknown> {
|
|
704
709
|
waitUntil(promise: Promise<any>): void;
|
package/experimental/index.ts
CHANGED
|
@@ -677,6 +677,12 @@ export type DurableObjectJurisdiction =
|
|
|
677
677
|
export interface DurableObjectNamespaceNewUniqueIdOptions {
|
|
678
678
|
jurisdiction?: DurableObjectJurisdiction;
|
|
679
679
|
}
|
|
680
|
+
export interface DurableObjectClass<
|
|
681
|
+
_T extends Rpc.DurableObjectBranded | undefined = undefined,
|
|
682
|
+
> {}
|
|
683
|
+
export interface DurableObjectNamespaceGetDurableObjectOptionsVersionOptions {
|
|
684
|
+
cohort?: string;
|
|
685
|
+
}
|
|
680
686
|
export type DurableObjectLocationHint =
|
|
681
687
|
| "wnam"
|
|
682
688
|
| "enam"
|
|
@@ -696,12 +702,11 @@ export interface DurableObjectNamespaceGetDurableObjectOptions {
|
|
|
696
702
|
version?: {
|
|
697
703
|
cohort?: string;
|
|
698
704
|
};
|
|
705
|
+
retry?: DurableObjectRetryOptions;
|
|
699
706
|
}
|
|
700
|
-
export interface
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
export interface DurableObjectNamespaceGetDurableObjectOptionsVersionOptions {
|
|
704
|
-
cohort?: string;
|
|
707
|
+
export interface DurableObjectRetryOptions {
|
|
708
|
+
maxRetries?: number;
|
|
709
|
+
timeoutMs?: number;
|
|
705
710
|
}
|
|
706
711
|
export interface DurableObjectState<Props = unknown> {
|
|
707
712
|
waitUntil(promise: Promise<any>): void;
|
package/package.json
CHANGED