-
Notifications
You must be signed in to change notification settings - Fork 4
fix: CI check passes #279
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
fix: CI check passes #279
Changes from 10 commits
fa2b321
c814a45
cf6e719
ca607eb
b73f510
8ad350b
54a0508
85fdf99
0c63a5e
ac993ac
3810775
cf22525
a58a257
6fe8d70
774554e
15dd224
2708c9e
137980b
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,7 @@ | ||
{ | ||
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json", | ||
"extends": ["../../biome.json"], | ||
"organizeImports": { | ||
"include": ["src/**/*.ts", "src/**/*.svelte"] | ||
} | ||
} |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,7 @@ | ||
import { paraglideVitePlugin } from '@inlang/paraglide-js'; | ||
import tailwindcss from '@tailwindcss/vite'; | ||
import { sveltekit } from '@sveltejs/kit/vite'; | ||
import tailwindcss from '@tailwindcss/vite'; | ||
import { defineConfig } from 'vite'; | ||
|
||
export default defineConfig({ | ||
plugins: [ | ||
tailwindcss(), | ||
sveltekit(), | ||
paraglideVitePlugin({ | ||
project: './project.inlang', | ||
outdir: './src/lib/paraglide' | ||
}) | ||
] | ||
plugins: [tailwindcss(), sveltekit()] | ||
}); |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,13 +58,14 @@ export interface Post { | |
} | ||
|
||
export type userProfile = { | ||
userId: string; | ||
username: string; | ||
id: string; | ||
handle: string; | ||
name: string; | ||
description: string; | ||
avatarUrl: string; | ||
Comment on lines
60
to
65
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 chainDuplicate identity fields create ambiguity
• Pick one canonical field (ideally Also applies to: 70-70 🏁 Script executed: #!/bin/bash
# Check the current state of userProfile type definition to see all fields
cat platforms/pictique/src/lib/types.ts | grep -A 20 "export type userProfile" Length of output: 407 🏁 Script executed: #!/usr/bin/env bash
# Search for .username usage across the codebase
rg "\.username\b" -n
# Search for .handle usage across the codebase
rg "\.handle\b" -n Length of output: 7490 Deprecate legacy The • platforms/pictique/src/lib/types.ts – Please pick one canonical identity field (preferably 🤖 Prompt for AI Agents
|
||
totalPosts: number; | ||
followers: number; | ||
following: number; | ||
userBio: string; | ||
posts: PostData[]; | ||
}; | ||
|
||
|
@@ -77,4 +78,31 @@ export type GroupInfo = { | |
id: string; | ||
name: string; | ||
avatar: string; | ||
}; | ||
}; | ||
|
||
export type Chat = { | ||
id: string; | ||
avatar: string; | ||
handle: string; | ||
unread: boolean; | ||
text: string; | ||
participants: { | ||
id: string; | ||
name?: string; | ||
handle?: string; | ||
ename?: string; | ||
avatarUrl: string; | ||
}[]; | ||
latestMessage: { | ||
text: string; | ||
isRead: boolean; | ||
}; | ||
}; | ||
|
||
export type MessageType = { | ||
id: string; | ||
avatar: string; | ||
handle: string; | ||
unread: boolean; | ||
text: string; | ||
}; |
Uh oh!
There was an error while loading. Please reload this page.