Add public profiles and cosmetic shop
All checks were successful
Deploy MineGeo to Dokploy / deploy (push) Successful in 7m10s

This commit is contained in:
2026-10-15 17:30:10 +05:00
parent 44e62cff2f
commit c541cc09b4
28 changed files with 1359 additions and 45 deletions

View File

@@ -568,6 +568,8 @@ export type Database = {
profiles: {
Row: AccountStatusFields & {
avatar_path: string | null;
bio: string;
profile_effect: string | null;
glow_color: string;
bug_finder: boolean;
custom_prefix: string | null;
@@ -580,6 +582,8 @@ export type Database = {
};
Insert: Partial<AccountStatusFields> & {
avatar_path?: string | null;
bio?: string;
profile_effect?: string | null;
glow_color?: string;
bug_finder?: boolean;
custom_prefix?: string | null;
@@ -592,6 +596,8 @@ export type Database = {
};
Update: Partial<AccountStatusFields> & {
avatar_path?: string | null;
bio?: string;
profile_effect?: string | null;
glow_color?: string;
bug_finder?: boolean;
custom_prefix?: string | null;
@@ -782,6 +788,18 @@ export type Database = {
[_ in never]: never;
};
Functions: {
cosmetics_shop_state: {
Args: { p_user: string };
Returns: Json;
};
buy_profile_cosmetic: {
Args: { p_user: string; p_cosmetic_id: string };
Returns: Json;
};
equip_profile_cosmetic: {
Args: { p_user: string; p_cosmetic_id: string | null };
Returns: Json;
};
admin_account_action: {
Args: {
p_reviewer: string;