aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-02-21 14:14:05 -0600
committermat <github@matdoes.dev>2022-02-21 14:14:05 -0600
commit6117827dd602c03123fa9437e9a8d6d025299aad (patch)
treeb90f4576dfd18de45266934d94b3ba950c334126
parent03b8d8c7126bcb5709a7d3d5f3c911996ef8106c (diff)
downloadskyblock-api-6117827dd602c03123fa9437e9a8d6d025299aad.tar.gz
skyblock-api-6117827dd602c03123fa9437e9a8d6d025299aad.tar.bz2
skyblock-api-6117827dd602c03123fa9437e9a8d6d025299aad.zip
add missing things to typings
-rw-r--r--src/cleaners/skyblock/profile.ts1
-rw-r--r--src/database.ts1
-rw-r--r--tsconfig.json3
3 files changed, 4 insertions, 1 deletions
diff --git a/src/cleaners/skyblock/profile.ts b/src/cleaners/skyblock/profile.ts
index a7bc92a..d5ddc61 100644
--- a/src/cleaners/skyblock/profile.ts
+++ b/src/cleaners/skyblock/profile.ts
@@ -21,6 +21,7 @@ export interface CleanFullProfileBasicMembers extends CleanProfile {
bank: Bank
minions: CleanMinion[]
minion_count: number
+ maxUniqueMinions: number
}
/** Return a `CleanProfile` instead of a `CleanFullProfile`, useful when we need to get members but don't want to waste much ram */
diff --git a/src/database.ts b/src/database.ts
index 039f013..67de483 100644
--- a/src/database.ts
+++ b/src/database.ts
@@ -93,6 +93,7 @@ interface SessionSchema {
export interface AccountCustomization {
backgroundUrl?: string
pack?: string
+ emoji?: string
}
export interface AccountSchema {
diff --git a/tsconfig.json b/tsconfig.json
index 291a04f..ec63b9a 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -7,7 +7,8 @@
"outDir": "build",
"strictNullChecks": true,
"moduleResolution": "node",
- "incremental": true
+ "incremental": true,
+ "declaration": true
},
"include": ["src"],
"exclude": ["**/node_modules"],