Skip to content

Commit

Permalink
Next
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Nov 19, 2023
1 parent 12334fd commit aa99deb
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 95 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/preview-dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: rlespinasse/github-slug-action@v4
- uses: oven-sh/setup-bun@v1
with:
bun-version: "1.0.12"
bun-version: "1.0.13"
- name: Install dependencies
run: bun install --frozen-lockfile
- name: 📤 Pull Vercel Environment Information
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: rlespinasse/github-slug-action@v4
- uses: oven-sh/setup-bun@v1
with:
bun-version: "1.0.12"
bun-version: "1.0.13"
- name: Install dependencies
run: bun install --frozen-lockfile
- name: 📤 Pull Vercel Environment Information
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/production-dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
with:
bun-version: "1.0.12"
bun-version: "1.0.13"
- name: Install dependencies
run: bun install --frozen-lockfile
- name: 📤 Pull Vercel Environment Information
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/production-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
with:
bun-version: "1.0.12"
bun-version: "1.0.13"
- name: Install dependencies
run: bun install --frozen-lockfile
- name: 📤 Pull Vercel Environment Information
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@vercel/toolbar": "^0.1.5",
"change-case": "^5.2.0",
"framer-motion": "^10.16.5",
"next": "canary",
"next": "14.0.4-canary.4",
"next-international": "^1.1.4",
"next-safe-action": "^5.0.3",
"next-themes": "^0.2.1",
Expand Down
34 changes: 0 additions & 34 deletions apps/dashboard/src/app/api/[deployment]/route.ts

This file was deleted.

3 changes: 0 additions & 3 deletions apps/dashboard/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { Deployments } from "@/components/deployments";
import { StaffToolbar } from "@/components/staff-toolbar";
import { ThemeProvider } from "@/components/theme-provider";
import "@/styles/globals.css";
Expand Down Expand Up @@ -35,11 +34,9 @@ export default function Layout({ children }: { children: ReactElement }) {
>
{children}
<Toaster />
<Deployments />
</ThemeProvider>

<Suspense>
{/* Vercel toolbar */}
<StaffToolbar />
</Suspense>
</body>
Expand Down
51 changes: 0 additions & 51 deletions apps/dashboard/src/components/deployments.tsx

This file was deleted.

15 changes: 14 additions & 1 deletion apps/dashboard/src/jobs/transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,12 +289,25 @@ client.defineJob({
schema: z.object({
from: z.string().datetime(),
to: z.string().datetime(),
accountId: z.string(),
}),
}),
integrations: { supabase },
run: async (payload, io) => {
const { from, to } = payload;
const { from, to, accountId } = payload;

const generateExport = await io.createStatus("generate-export", {
label: "Generating memes",
state: "loading",
});

await io.logger.info("Transactions Export");

await generateExport.update("generate-export", {
state: "success",
data: {
url: "",
},
});
},
});
2 changes: 1 addition & 1 deletion apps/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@midday/location": "workspace:*",
"@midday/ui": "workspace:*",
"@vercel/analytics": "^1.1.1",
"next": "canary",
"next": "14.0.4-canary.4",
"next-international": "^1.1.4",
"react": "18.2.0",
"react-dom": "18.2.0",
Expand Down
Binary file modified bun.lockb
Binary file not shown.

0 comments on commit aa99deb

Please sign in to comment.