Skip to content

Commit

Permalink
Use deco web
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Candeia <[email protected]>
  • Loading branch information
mcandeia committed Sep 9, 2024
1 parent 57fcc31 commit 188a290
Show file tree
Hide file tree
Showing 16 changed files with 19 additions and 1,843 deletions.
2 changes: 1 addition & 1 deletion ai-assistants/runtime.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { proxy } from "@deco/deco";
import { proxy } from "@deco/deco/web";
import { Manifest } from "./manifest.gen.ts";

export const invoke = proxy<Manifest>();
2 changes: 1 addition & 1 deletion commerce/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { type Flag } from "@deco/deco";
import type { Flag } from "@deco/deco";

/** Used at the top-level node to indicate the context for the JSON-LD objects used. The context provided in this type is compatible with the keys and URLs in the rest of this generated file. */
export declare type WithContext<T extends Things> = T & {
Expand Down
2 changes: 1 addition & 1 deletion compat/std/runtime.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { forApp } from "@deco/deco";
import { forApp } from "@deco/deco/web";
import app from "./mod.ts";

export const Runtime = forApp<ReturnType<typeof app>>();
7 changes: 5 additions & 2 deletions decohub/components/Markdown.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { CSS, KATEX_CSS, render } from "@deno/gfm";
import "npm:[email protected]";
import { CSS, KATEX_CSS, render } from "https://deno.land/x/[email protected]/mod.ts";
import "https://esm.sh/[email protected]/components/prism-diff.js?no-check";
import "https://esm.sh/[email protected]/components/prism-jsx.js?no-check";
import "https://esm.sh/[email protected]/components/prism-tsx.js?no-check";
import "https://esm.sh/[email protected]/components/prism-typescript.js?no-check";

export const Markdown = async (path: string) => {
const content = await fetch(path)
Expand Down
2 changes: 1 addition & 1 deletion linx-impulse/runtime.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { proxy } from "@deco/deco";
import { proxy } from "@deco/deco/web";
import { Manifest } from "./manifest.gen.ts";

export const invoke = proxy<Manifest>();
2 changes: 1 addition & 1 deletion linx/runtime.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { proxy } from "@deco/deco";
import { proxy } from "@deco/deco/web";
import { Manifest } from "./manifest.gen.ts";

export const invoke = proxy<Manifest>();
2 changes: 1 addition & 1 deletion nuvemshop/runtime.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { proxy } from "@deco/deco";
import { proxy } from "@deco/deco/web";
import { Manifest } from "./manifest.gen.ts";

export const invoke = proxy<Manifest>();
2 changes: 1 addition & 1 deletion resend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Resend is an email platform that helps developers build and send transactional a

```typescript
// runtime.ts
import { proxy } from "@deco/deco";
import { proxy } from "@deco/deco/web";
import type { Manifest } from "./manifest.gen.ts";
import type { Manifest as ManifestVNDA } from "apps/vnda/manifest.gen.ts";
import type { Manifest as ManifestVTEX } from "apps/vtex/manifest.gen.ts";
Expand Down
2 changes: 1 addition & 1 deletion shopify/runtime.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { proxy } from "@deco/deco";
import { proxy } from "@deco/deco/web";
import { Manifest } from "./manifest.gen.ts";

export const invoke = proxy<Manifest>();
2 changes: 1 addition & 1 deletion smarthint/runtime.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { proxy } from "@deco/deco";
import { proxy } from "@deco/deco/web";
import { Manifest } from "./manifest.gen.ts";

export const invoke = proxy<Manifest>();
2 changes: 1 addition & 1 deletion vnda/runtime.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { proxy } from "@deco/deco";
import { proxy } from "@deco/deco/web";
import { Manifest } from "./manifest.gen.ts";

export const invoke = proxy<Manifest>();
2 changes: 1 addition & 1 deletion vtex/runtime.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { proxy } from "@deco/deco";
import { proxy } from "@deco/deco/web";
import type { Manifest } from "./manifest.gen.ts";

export const invoke = proxy<Manifest>();
2 changes: 1 addition & 1 deletion wake/runtime.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { proxy } from "@deco/deco";
import { proxy } from "@deco/deco/web";
import { Manifest } from "./manifest.gen.ts";

export const invoke = proxy<Manifest>();
2 changes: 1 addition & 1 deletion wap/runtime.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { proxy } from "@deco/deco";
import { proxy } from "@deco/deco/web";
import { Manifest } from "./manifest.gen.ts";

export const invoke = proxy<Manifest>();
Loading

0 comments on commit 188a290

Please sign in to comment.