Skip to content

Commit

Permalink
Merge pull request #32 from denoland/kv_content
Browse files Browse the repository at this point in the history
add redirect and admonition
  • Loading branch information
kwhinnery authored Sep 5, 2023
2 parents f618cf8 + d9c6896 commit c92cbfa
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
15 changes: 15 additions & 0 deletions kv/manual/data_modeling_typescript.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Data Modeling in TypeScript

:::caution Deno KV is currently in beta

Deno KV is currently **experimental** and **subject to change**. While we do our
best to ensure data durability, data loss is possible, especially around Deno
updates.

Excuting Deno programs that use KV currently requires the `--unstable` flag, as
below:

```sh
deno run -A --unstable my_kv_code.ts
```

:::

In TypeScript applications, it is usually desirable to create strongly-typed,
well-documented objects to contain the data that your application operates on.
Using [interfaces](https://www.typescriptlang.org/docs/handbook/2/objects.html)
Expand Down
5 changes: 5 additions & 0 deletions static/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ app.all("/manual.*", (c) => {
);
});

app.get(
"/deploy/docs/runtime-api",
(c) => c.redirect("/deploy/api"),
);

[
"compression",
"runtime-broadcast-channel",
Expand Down

0 comments on commit c92cbfa

Please sign in to comment.