-
Notifications
You must be signed in to change notification settings - Fork 4
blabsy ui fix #197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
blabsy ui fix #197
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import { | ||
Entity, | ||
PrimaryGeneratedColumn, | ||
Column, | ||
CreateDateColumn, | ||
UpdateDateColumn, | ||
} from "typeorm"; | ||
|
||
@Entity() | ||
export class Verification { | ||
@PrimaryGeneratedColumn("uuid") | ||
id!: string; | ||
|
||
@Column({ nullable: true }) | ||
veriffId!: string; | ||
|
||
@Column({ nullable: true }) | ||
approved!: boolean; | ||
|
||
@Column({ type: "jsonb", nullable: true }) | ||
data!: Record<string, unknown>; | ||
|
||
@Column({ nullable: true }) | ||
referenceId!: string; | ||
|
||
@Column({ nullable: true }) | ||
documentId!: string; | ||
|
||
@Column({ default: false }) | ||
consumed!: boolean; | ||
|
||
@CreateDateColumn() | ||
createdAt!: Date; | ||
|
||
@UpdateDateColumn() | ||
updatedAt!: Date; | ||
} | ||
Comment on lines
+1
to
+37
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Verification agent 🧩 Analysis chainAddress filename and add validation for verification entity. Similar to the database config file, this filename "Verification 2.ts" suggests a temporary or duplicate file. Additionally, for a verification entity handling sensitive identity data, consider adding validation constraints and ensuring this entity is properly registered in the database configuration. Please verify:
🏁 Script executed: #!/bin/bash
# Search for other Verification entity files
fd -t f "Verification.*\.ts$" --exclude node_modules
# Check if this entity is used anywhere in the codebase
rg -A 3 -B 3 "Verification" --type ts --exclude-dir node_modules Length of output: 809 Here’s another check to confirm how your entities are registered: 🏁 Script executed: #!/bin/bash
# Find where a TypeORM DataSource is initialized
rg -A 3 -B 3 "new DataSource" --type ts
# Look for the `entities` option in your DataSource config
rg -A 3 -B 3 "entities" --type ts Length of output: 19912 Consolidate duplicate entity & enforce validation It looks like • Delete the unused file 🤖 Prompt for AI Agents
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ body { | |
padding-bottom: env(safe-area-inset-bottom); | ||
padding-left: env(safe-area-inset-left); | ||
padding-right: env(safe-area-inset-right); | ||
background-color: white; | ||
background-color: #161317; | ||
} | ||
|
||
@layer base { | ||
|
@@ -62,21 +62,18 @@ body { | |
|
||
--color-gray-200: #eaecf0; | ||
|
||
--color-brand-burnt-orange: #da4a11; | ||
--color-brand-burnt-orange-100: #f8dbcf; | ||
--color-brand-burnt-orange-200: #f3c3b0; | ||
--color-brand-burnt-orange-300: #eca488; | ||
--color-brand-burnt-orange-400: #e68660; | ||
--color-brand-burnt-orange-500: #e06839; | ||
--color-brand-burnt-orange-600: #91310b; | ||
--color-brand-burnt-orange-700: #6d2509; | ||
--color-brand-burnt-orange-800: #491906; | ||
--color-brand-burnt-orange-900: #2c0f03; | ||
--color-brand-burnt-orange: #8e52ff; | ||
--color-brand-burnt-orange-100: #e8dcff; | ||
--color-brand-burnt-orange-200: #d2baff; | ||
--color-brand-burnt-orange-400: #bb97ff; | ||
--color-brand-burnt-orange-600: #a575ff; | ||
--color-brand-burnt-orange-800: #262230; | ||
/* --color-brand-burnt-orange-900: #2c0f03; */ | ||
|
||
--color-brand-gradient: linear-gradient( | ||
91.82deg, | ||
#4d44ef -36.17%, | ||
#f35b5b 57.95%, | ||
#eb5bf3 57.95%, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Inconsistent gradient end color 🤖 Prompt for AI Agents
|
||
#f7a428 152.07% | ||
); | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix type safety inconsistency with nullable columns.
The columns are marked as
nullable: true
in the database but use non-null assertion (!
) in TypeScript, which creates a type safety inconsistency. Nullable database columns should have optional TypeScript types to properly represent the possibility of null/undefined values.🤖 Prompt for AI Agents