Skip to content

Commit

Permalink
Update types snapshot to include ctx.props.
Browse files Browse the repository at this point in the history
  • Loading branch information
kentonv committed Dec 10, 2024
1 parent 14528e4 commit 1744eac
Show file tree
Hide file tree
Showing 20 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions types/generated-snapshot/2021-11-03/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@ interface TestController {}
interface ExecutionContext {
waitUntil(promise: Promise<any>): void;
passThroughOnException(): void;
props: any;
}
type ExportedHandlerFetchHandler<Env = unknown, CfHostMetadata = unknown> = (
request: Request<CfHostMetadata, IncomingRequestCfProperties<CfHostMetadata>>,
Expand Down
1 change: 1 addition & 0 deletions types/generated-snapshot/2021-11-03/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ export interface TestController {}
export interface ExecutionContext {
waitUntil(promise: Promise<any>): void;
passThroughOnException(): void;
props: any;
}
export type ExportedHandlerFetchHandler<
Env = unknown,
Expand Down
1 change: 1 addition & 0 deletions types/generated-snapshot/2022-01-31/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@ interface TestController {}
interface ExecutionContext {
waitUntil(promise: Promise<any>): void;
passThroughOnException(): void;
props: any;
}
type ExportedHandlerFetchHandler<Env = unknown, CfHostMetadata = unknown> = (
request: Request<CfHostMetadata, IncomingRequestCfProperties<CfHostMetadata>>,
Expand Down
1 change: 1 addition & 0 deletions types/generated-snapshot/2022-01-31/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ export interface TestController {}
export interface ExecutionContext {
waitUntil(promise: Promise<any>): void;
passThroughOnException(): void;
props: any;
}
export type ExportedHandlerFetchHandler<
Env = unknown,
Expand Down
1 change: 1 addition & 0 deletions types/generated-snapshot/2022-03-21/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ interface TestController {}
interface ExecutionContext {
waitUntil(promise: Promise<any>): void;
passThroughOnException(): void;
props: any;
}
type ExportedHandlerFetchHandler<Env = unknown, CfHostMetadata = unknown> = (
request: Request<CfHostMetadata, IncomingRequestCfProperties<CfHostMetadata>>,
Expand Down
1 change: 1 addition & 0 deletions types/generated-snapshot/2022-03-21/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ export interface TestController {}
export interface ExecutionContext {
waitUntil(promise: Promise<any>): void;
passThroughOnException(): void;
props: any;
}
export type ExportedHandlerFetchHandler<
Env = unknown,
Expand Down
1 change: 1 addition & 0 deletions types/generated-snapshot/2022-08-04/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ interface TestController {}
interface ExecutionContext {
waitUntil(promise: Promise<any>): void;
passThroughOnException(): void;
props: any;
}
type ExportedHandlerFetchHandler<Env = unknown, CfHostMetadata = unknown> = (
request: Request<CfHostMetadata, IncomingRequestCfProperties<CfHostMetadata>>,
Expand Down
1 change: 1 addition & 0 deletions types/generated-snapshot/2022-08-04/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ export interface TestController {}
export interface ExecutionContext {
waitUntil(promise: Promise<any>): void;
passThroughOnException(): void;
props: any;
}
export type ExportedHandlerFetchHandler<
Env = unknown,
Expand Down
1 change: 1 addition & 0 deletions types/generated-snapshot/2022-10-31/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ interface TestController {}
interface ExecutionContext {
waitUntil(promise: Promise<any>): void;
passThroughOnException(): void;
props: any;
}
type ExportedHandlerFetchHandler<Env = unknown, CfHostMetadata = unknown> = (
request: Request<CfHostMetadata, IncomingRequestCfProperties<CfHostMetadata>>,
Expand Down
1 change: 1 addition & 0 deletions types/generated-snapshot/2022-10-31/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ export interface TestController {}
export interface ExecutionContext {
waitUntil(promise: Promise<any>): void;
passThroughOnException(): void;
props: any;
}
export type ExportedHandlerFetchHandler<
Env = unknown,
Expand Down
1 change: 1 addition & 0 deletions types/generated-snapshot/2022-11-30/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ interface TestController {}
interface ExecutionContext {
waitUntil(promise: Promise<any>): void;
passThroughOnException(): void;
props: any;
}
type ExportedHandlerFetchHandler<Env = unknown, CfHostMetadata = unknown> = (
request: Request<CfHostMetadata, IncomingRequestCfProperties<CfHostMetadata>>,
Expand Down
1 change: 1 addition & 0 deletions types/generated-snapshot/2022-11-30/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ export interface TestController {}
export interface ExecutionContext {
waitUntil(promise: Promise<any>): void;
passThroughOnException(): void;
props: any;
}
export type ExportedHandlerFetchHandler<
Env = unknown,
Expand Down
1 change: 1 addition & 0 deletions types/generated-snapshot/2023-03-01/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ interface TestController {}
interface ExecutionContext {
waitUntil(promise: Promise<any>): void;
passThroughOnException(): void;
props: any;
}
type ExportedHandlerFetchHandler<Env = unknown, CfHostMetadata = unknown> = (
request: Request<CfHostMetadata, IncomingRequestCfProperties<CfHostMetadata>>,
Expand Down
1 change: 1 addition & 0 deletions types/generated-snapshot/2023-03-01/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ export interface TestController {}
export interface ExecutionContext {
waitUntil(promise: Promise<any>): void;
passThroughOnException(): void;
props: any;
}
export type ExportedHandlerFetchHandler<
Env = unknown,
Expand Down
1 change: 1 addition & 0 deletions types/generated-snapshot/2023-07-01/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ interface TestController {}
interface ExecutionContext {
waitUntil(promise: Promise<any>): void;
passThroughOnException(): void;
props: any;
}
type ExportedHandlerFetchHandler<Env = unknown, CfHostMetadata = unknown> = (
request: Request<CfHostMetadata, IncomingRequestCfProperties<CfHostMetadata>>,
Expand Down
1 change: 1 addition & 0 deletions types/generated-snapshot/2023-07-01/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ export interface TestController {}
export interface ExecutionContext {
waitUntil(promise: Promise<any>): void;
passThroughOnException(): void;
props: any;
}
export type ExportedHandlerFetchHandler<
Env = unknown,
Expand Down
2 changes: 2 additions & 0 deletions types/generated-snapshot/experimental/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ interface TestController {}
interface ExecutionContext {
waitUntil(promise: Promise<any>): void;
passThroughOnException(): void;
props: any;
abort(reason?: any): void;
}
type ExportedHandlerFetchHandler<Env = unknown, CfHostMetadata = unknown> = (
Expand Down Expand Up @@ -641,6 +642,7 @@ interface DurableObjectStorage {
getBookmarkForTime(timestamp: number | Date): Promise<string>;
onNextSessionRestoreBookmark(bookmark: string): Promise<string>;
waitForBookmark(bookmark: string): Promise<void>;
readonly primary?: DurableObjectStub;
ensureReplicas(): void;
}
interface DurableObjectListOptions {
Expand Down
2 changes: 2 additions & 0 deletions types/generated-snapshot/experimental/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ export interface TestController {}
export interface ExecutionContext {
waitUntil(promise: Promise<any>): void;
passThroughOnException(): void;
props: any;
abort(reason?: any): void;
}
export type ExportedHandlerFetchHandler<
Expand Down Expand Up @@ -646,6 +647,7 @@ export interface DurableObjectStorage {
getBookmarkForTime(timestamp: number | Date): Promise<string>;
onNextSessionRestoreBookmark(bookmark: string): Promise<string>;
waitForBookmark(bookmark: string): Promise<void>;
readonly primary?: DurableObjectStub;
ensureReplicas(): void;
}
export interface DurableObjectListOptions {
Expand Down
1 change: 1 addition & 0 deletions types/generated-snapshot/oldest/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@ interface TestController {}
interface ExecutionContext {
waitUntil(promise: Promise<any>): void;
passThroughOnException(): void;
props: any;
}
type ExportedHandlerFetchHandler<Env = unknown, CfHostMetadata = unknown> = (
request: Request<CfHostMetadata, IncomingRequestCfProperties<CfHostMetadata>>,
Expand Down
1 change: 1 addition & 0 deletions types/generated-snapshot/oldest/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ export interface TestController {}
export interface ExecutionContext {
waitUntil(promise: Promise<any>): void;
passThroughOnException(): void;
props: any;
}
export type ExportedHandlerFetchHandler<
Env = unknown,
Expand Down

0 comments on commit 1744eac

Please sign in to comment.