-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update exapmle & update readme (#52)
- Loading branch information
1 parent
cb8c9b5
commit d9839ce
Showing
7 changed files
with
221 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"y-durableobjects": patch | ||
--- | ||
|
||
change readme hono env description |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
export type Bindings = { | ||
Y_DURABLE_OBJECTS: DurableObjectNamespace; | ||
import type { YDurableObjects } from "y-durableobjects"; | ||
|
||
type Bindings = { | ||
Y_DURABLE_OBJECTS: DurableObjectNamespace<YDurableObjects<Env>>; | ||
}; | ||
|
||
declare module "hono" { | ||
interface Env { | ||
Bindings: Bindings; | ||
} | ||
} | ||
export type Env = { | ||
Bindings: Bindings; | ||
}; |
Oops, something went wrong.