Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed May 14, 2024
1 parent 6e1241f commit dea077d
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 27 deletions.
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,8 @@
"next/router.d.ts",
"next/dist/client/router.d.ts"
],
"terminal.integrated.localEchoStyle": "dim"
"terminal.integrated.localEchoStyle": "dim",
"search.exclude": {
"**/node_modules": true
}
}
Binary file modified bun.lockb
Binary file not shown.
14 changes: 8 additions & 6 deletions packages/events/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,14 @@ export const setupLogSnag = async (options?: Props) => {
});

if (trackingConsent && userId && fullName) {
await logsnag.identify({
user_id: userId,
properties: {
name: fullName,
},
});
waitUntil(
logsnag.identify({
user_id: userId,
properties: {
name: fullName,
},
})
);
}

return {
Expand Down
1 change: 1 addition & 0 deletions packages/jobs/src/transactions/notification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ client.defineJob({
amount: z.number(),
name: z.string(),
currency: z.string(),
category: z.string().optional().nullable(),
})
),
}),
Expand Down
1 change: 1 addition & 0 deletions packages/jobs/src/transactions/sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ client.defineJob({
amount: transaction.amount,
name: transaction.name,
currency: transaction.currency,
category: transaction.category_slug,
})),
},
});
Expand Down
20 changes: 0 additions & 20 deletions packages/supabase/src/types/db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,6 @@ export type Database = {
category: Database["public"]["Enums"]["transactionCategories"] | null
category_slug: string | null
created_at: string
created_by: string | null
id: string
name: string | null
system: boolean | null
Expand All @@ -602,7 +601,6 @@ export type Database = {
category?: Database["public"]["Enums"]["transactionCategories"] | null
category_slug?: string | null
created_at?: string
created_by?: string | null
id?: string
name?: string | null
system?: boolean | null
Expand All @@ -612,7 +610,6 @@ export type Database = {
category?: Database["public"]["Enums"]["transactionCategories"] | null
category_slug?: string | null
created_at?: string
created_by?: string | null
id?: string
name?: string | null
system?: boolean | null
Expand All @@ -626,13 +623,6 @@ export type Database = {
referencedRelation: "transaction_categories"
referencedColumns: ["slug", "team_id"]
},
{
foreignKeyName: "transaction_enrichments_created_by_fkey"
columns: ["created_by"]
isOneToOne: false
referencedRelation: "users"
referencedColumns: ["id"]
},
{
foreignKeyName: "transaction_enrichments_team_id_fkey"
columns: ["team_id"]
Expand Down Expand Up @@ -1010,7 +1000,6 @@ export type Database = {
category: Database["public"]["Enums"]["transactionCategories"] | null
category_slug: string | null
created_at: string | null
created_by: string | null
decrypted_name: string | null
id: string | null
name: string | null
Expand All @@ -1021,7 +1010,6 @@ export type Database = {
category?: Database["public"]["Enums"]["transactionCategories"] | null
category_slug?: string | null
created_at?: string | null
created_by?: string | null
decrypted_name?: never
id?: string | null
name?: string | null
Expand All @@ -1032,7 +1020,6 @@ export type Database = {
category?: Database["public"]["Enums"]["transactionCategories"] | null
category_slug?: string | null
created_at?: string | null
created_by?: string | null
decrypted_name?: never
id?: string | null
name?: string | null
Expand All @@ -1047,13 +1034,6 @@ export type Database = {
referencedRelation: "transaction_categories"
referencedColumns: ["slug", "team_id"]
},
{
foreignKeyName: "transaction_enrichments_created_by_fkey"
columns: ["created_by"]
isOneToOne: false
referencedRelation: "users"
referencedColumns: ["id"]
},
{
foreignKeyName: "transaction_enrichments_team_id_fkey"
columns: ["team_id"]
Expand Down

0 comments on commit dea077d

Please sign in to comment.