Skip to content

Commit

Permalink
[BREAKING]
Browse files Browse the repository at this point in the history
Introduce universal profile entity
Remove fs-based capes serving
Rework management API
Rework Redis storage schema
Reducing amount of the bus emitter usage
  • Loading branch information
erickskrauch committed Jan 30, 2024
1 parent dac5e49 commit dac3ca9
Show file tree
Hide file tree
Showing 32 changed files with 1,923 additions and 2,350 deletions.
2 changes: 0 additions & 2 deletions data/capes/.gitignore

This file was deleted.

34 changes: 0 additions & 34 deletions db/fs/fs.go

This file was deleted.

56 changes: 0 additions & 56 deletions db/fs/fs_integration_test.go

This file was deleted.

18 changes: 18 additions & 0 deletions db/model.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package db

type Profile struct {
// Uuid contains user's UUID without dashes in lower case
Uuid string
// Username contains user's username with the original casing
Username string
// SkinUrl contains a valid URL to user's skin or an empty string in case the user doesn't have a skin
SkinUrl string
// SkinModel contains skin's model. It will be empty when the model is default
SkinModel string
// CapeUrl contains a valid URL to user's skin or an empty string in case the user doesn't have a cape
CapeUrl string
// MojangTextures contains the original textures value from Mojang's skinsystem
MojangTextures string
// MojangSignature contains the original textures signature from Mojang's skinsystem
MojangSignature string
}
Loading

0 comments on commit dac3ca9

Please sign in to comment.