Skip to content

Commit

Permalink
add deps
Browse files Browse the repository at this point in the history
  • Loading branch information
istarkov committed Apr 22, 2024
1 parent da58436 commit 99dce89
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 10 deletions.
4 changes: 3 additions & 1 deletion apps/builder/app/routes/z.a.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import { json, type ActionFunctionArgs } from "@remix-run/server-runtime";
import { Body } from "@webstudio-is/sdk-components-react-remix";
import { db } from "@webstudio-is/project/index.server";

export default function Logout() {
return <h1>HELLO</h1>;
}
// https://vercel.com/docs/functions/runtimes#max-duration
export const loader = async ({ request }: ActionFunctionArgs) => {
await new Promise((resolve) => setTimeout(resolve, 20000));
console.info("db", db, Body);
return json({});
};

Expand Down
4 changes: 3 additions & 1 deletion apps/builder/app/routes/z.b.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import { json, type ActionFunctionArgs } from "@remix-run/server-runtime";
import { Body } from "@webstudio-is/sdk-components-react-remix";
import { db } from "@webstudio-is/project/index.server";

export default function Logout() {
return <h1>HELLO</h1>;
}
// https://vercel.com/docs/functions/runtimes#max-duration
export const loader = async ({ request }: ActionFunctionArgs) => {
await new Promise((resolve) => setTimeout(resolve, 20000));
console.info("db", db, Body);
return json({});
};

Expand Down
4 changes: 3 additions & 1 deletion apps/builder/app/routes/z.c.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import { json, type ActionFunctionArgs } from "@remix-run/server-runtime";
import { Body } from "@webstudio-is/sdk-components-react-remix";
import { db } from "@webstudio-is/project/index.server";

export default function Logout() {
return <h1>HELLO</h1>;
}
// https://vercel.com/docs/functions/runtimes#max-duration
export const loader = async ({ request }: ActionFunctionArgs) => {
await new Promise((resolve) => setTimeout(resolve, 20000));
console.info("db", db, Body);
return json({});
};

Expand Down
4 changes: 3 additions & 1 deletion apps/builder/app/routes/z.d.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import { json, type ActionFunctionArgs } from "@remix-run/server-runtime";
import { Body } from "@webstudio-is/sdk-components-react-remix";
import { db } from "@webstudio-is/project/index.server";

export default function Logout() {
return <h1>HELLO</h1>;
}
// https://vercel.com/docs/functions/runtimes#max-duration
export const loader = async ({ request }: ActionFunctionArgs) => {
await new Promise((resolve) => setTimeout(resolve, 20000));
console.info("db", db, Body);
return json({});
};

Expand Down
4 changes: 3 additions & 1 deletion apps/builder/app/routes/z.e.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import { json, type ActionFunctionArgs } from "@remix-run/server-runtime";
import { Body } from "@webstudio-is/sdk-components-react-remix";
import { db } from "@webstudio-is/project/index.server";

export default function Logout() {
return <h1>HELLO</h1>;
}
// https://vercel.com/docs/functions/runtimes#max-duration
export const loader = async ({ request }: ActionFunctionArgs) => {
await new Promise((resolve) => setTimeout(resolve, 20000));
console.info("db", db, Body);
return json({});
};

Expand Down
4 changes: 3 additions & 1 deletion apps/builder/app/routes/z.f.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import { json, type ActionFunctionArgs } from "@remix-run/server-runtime";
import { Body } from "@webstudio-is/sdk-components-react-remix";
import { db } from "@webstudio-is/project/index.server";

export default function Logout() {
return <h1>HELLO</h1>;
}
// https://vercel.com/docs/functions/runtimes#max-duration
export const loader = async ({ request }: ActionFunctionArgs) => {
await new Promise((resolve) => setTimeout(resolve, 20000));
console.info("db", db, Body);
return json({});
};

Expand Down
4 changes: 3 additions & 1 deletion apps/builder/app/routes/z.g.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import { json, type ActionFunctionArgs } from "@remix-run/server-runtime";
import { Body } from "@webstudio-is/sdk-components-react-remix";
import { db } from "@webstudio-is/project/index.server";

export default function Logout() {
return <h1>HELLO</h1>;
}
// https://vercel.com/docs/functions/runtimes#max-duration
export const loader = async ({ request }: ActionFunctionArgs) => {
await new Promise((resolve) => setTimeout(resolve, 20000));
console.info("db", db, Body);
return json({});
};

Expand Down
4 changes: 3 additions & 1 deletion apps/builder/app/routes/z.h.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import { json, type ActionFunctionArgs } from "@remix-run/server-runtime";
import { Body } from "@webstudio-is/sdk-components-react-remix";
import { db } from "@webstudio-is/project/index.server";

export default function Logout() {
return <h1>HELLO</h1>;
}
// https://vercel.com/docs/functions/runtimes#max-duration
export const loader = async ({ request }: ActionFunctionArgs) => {
await new Promise((resolve) => setTimeout(resolve, 20000));
console.info("db", db, Body);
return json({});
};

Expand Down
4 changes: 3 additions & 1 deletion apps/builder/app/routes/z.i.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import { json, type ActionFunctionArgs } from "@remix-run/server-runtime";
import { Body } from "@webstudio-is/sdk-components-react-remix";
import { db } from "@webstudio-is/project/index.server";

export default function Logout() {
return <h1>HELLO</h1>;
}
// https://vercel.com/docs/functions/runtimes#max-duration
export const loader = async ({ request }: ActionFunctionArgs) => {
await new Promise((resolve) => setTimeout(resolve, 20000));
console.info("db", db, Body);
return json({});
};

Expand Down
4 changes: 3 additions & 1 deletion apps/builder/app/routes/z.j.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import { json, type ActionFunctionArgs } from "@remix-run/server-runtime";
import { Body } from "@webstudio-is/sdk-components-react-remix";
import { db } from "@webstudio-is/project/index.server";

export default function Logout() {
return <h1>HELLO</h1>;
}
// https://vercel.com/docs/functions/runtimes#max-duration
export const loader = async ({ request }: ActionFunctionArgs) => {
await new Promise((resolve) => setTimeout(resolve, 20000));
console.info("db", db, Body);
return json({});
};

Expand Down

0 comments on commit 99dce89

Please sign in to comment.