feat: compress EVERYTHING!

This commit is contained in:
2023-11-13 14:09:38 +01:00
parent 9f55b88b50
commit 9c395d82f3
35 changed files with 462 additions and 97 deletions

View File

@ -9,7 +9,7 @@ export async function getPublicPortraits() {
})).items
}
export function createPerson({ name, confidence, portrait, portrait_public, noble_name, hair_color, hair_type, hair_length }: { name: string, portrait: string, portrait_public: boolean, hair_type: string, hair_length: string, hair_color: string, confidence: number, noble_name: string }) {
export function createPerson({ name, confidence, portrait, portrait_public, noble_name, hair_color, hair_type, hair_length, skin_color }: { name: string, portrait: string, portrait_public: boolean, hair_type: string, hair_length: string, hair_color: string, confidence: number, noble_name: string, skin_color: string }) {
return pb.collection("invites").create({
name,
confidence,
@ -18,6 +18,7 @@ export function createPerson({ name, confidence, portrait, portrait_public, nobl
noble_name,
hair_type,
hair_length,
hair_color
hair_color,
skin_color
})
}