Skip to content

Commit dea077d

Browse files
committed
Update
1 parent 6e1241f commit dea077d

File tree

6 files changed

+14
-27
lines changed

6 files changed

+14
-27
lines changed

.vscode/settings.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,8 @@
1212
"next/router.d.ts",
1313
"next/dist/client/router.d.ts"
1414
],
15-
"terminal.integrated.localEchoStyle": "dim"
15+
"terminal.integrated.localEchoStyle": "dim",
16+
"search.exclude": {
17+
"**/node_modules": true
18+
}
1619
}

bun.lockb

-808 KB
Binary file not shown.

packages/events/src/server.ts

+8-6
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,14 @@ export const setupLogSnag = async (options?: Props) => {
2828
});
2929

3030
if (trackingConsent && userId && fullName) {
31-
await logsnag.identify({
32-
user_id: userId,
33-
properties: {
34-
name: fullName,
35-
},
36-
});
31+
waitUntil(
32+
logsnag.identify({
33+
user_id: userId,
34+
properties: {
35+
name: fullName,
36+
},
37+
})
38+
);
3739
}
3840

3941
return {

packages/jobs/src/transactions/notification.ts

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ client.defineJob({
2727
amount: z.number(),
2828
name: z.string(),
2929
currency: z.string(),
30+
category: z.string().optional().nullable(),
3031
})
3132
),
3233
}),

packages/jobs/src/transactions/sync.ts

+1
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ client.defineJob({
9797
amount: transaction.amount,
9898
name: transaction.name,
9999
currency: transaction.currency,
100+
category: transaction.category_slug,
100101
})),
101102
},
102103
});

packages/supabase/src/types/db.ts

-20
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,6 @@ export type Database = {
592592
category: Database["public"]["Enums"]["transactionCategories"] | null
593593
category_slug: string | null
594594
created_at: string
595-
created_by: string | null
596595
id: string
597596
name: string | null
598597
system: boolean | null
@@ -602,7 +601,6 @@ export type Database = {
602601
category?: Database["public"]["Enums"]["transactionCategories"] | null
603602
category_slug?: string | null
604603
created_at?: string
605-
created_by?: string | null
606604
id?: string
607605
name?: string | null
608606
system?: boolean | null
@@ -612,7 +610,6 @@ export type Database = {
612610
category?: Database["public"]["Enums"]["transactionCategories"] | null
613611
category_slug?: string | null
614612
created_at?: string
615-
created_by?: string | null
616613
id?: string
617614
name?: string | null
618615
system?: boolean | null
@@ -626,13 +623,6 @@ export type Database = {
626623
referencedRelation: "transaction_categories"
627624
referencedColumns: ["slug", "team_id"]
628625
},
629-
{
630-
foreignKeyName: "transaction_enrichments_created_by_fkey"
631-
columns: ["created_by"]
632-
isOneToOne: false
633-
referencedRelation: "users"
634-
referencedColumns: ["id"]
635-
},
636626
{
637627
foreignKeyName: "transaction_enrichments_team_id_fkey"
638628
columns: ["team_id"]
@@ -1010,7 +1000,6 @@ export type Database = {
10101000
category: Database["public"]["Enums"]["transactionCategories"] | null
10111001
category_slug: string | null
10121002
created_at: string | null
1013-
created_by: string | null
10141003
decrypted_name: string | null
10151004
id: string | null
10161005
name: string | null
@@ -1021,7 +1010,6 @@ export type Database = {
10211010
category?: Database["public"]["Enums"]["transactionCategories"] | null
10221011
category_slug?: string | null
10231012
created_at?: string | null
1024-
created_by?: string | null
10251013
decrypted_name?: never
10261014
id?: string | null
10271015
name?: string | null
@@ -1032,7 +1020,6 @@ export type Database = {
10321020
category?: Database["public"]["Enums"]["transactionCategories"] | null
10331021
category_slug?: string | null
10341022
created_at?: string | null
1035-
created_by?: string | null
10361023
decrypted_name?: never
10371024
id?: string | null
10381025
name?: string | null
@@ -1047,13 +1034,6 @@ export type Database = {
10471034
referencedRelation: "transaction_categories"
10481035
referencedColumns: ["slug", "team_id"]
10491036
},
1050-
{
1051-
foreignKeyName: "transaction_enrichments_created_by_fkey"
1052-
columns: ["created_by"]
1053-
isOneToOne: false
1054-
referencedRelation: "users"
1055-
referencedColumns: ["id"]
1056-
},
10571037
{
10581038
foreignKeyName: "transaction_enrichments_team_id_fkey"
10591039
columns: ["team_id"]

0 commit comments

Comments
 (0)