Interface: SkyBlockProfileCollectionGroup


# Interface: SkyBlockProfileCollectionGroup

Interface that describes a collection category, e.g. "Farming"

# Properties

# children

children: SkyBlockProfileCollection[]

The children of this collection group.

Defined in: helpers/SkyBlockCollections.ts:43 (opens new window)


# id

id: string

The ID of the group, e.g. "FARMING"

Defined in: helpers/SkyBlockCollections.ts:19 (opens new window)


# maxedChildCollections

maxedChildCollections: number

Collection children that the profile has reached the maximum tier of.

Defined in: helpers/SkyBlockCollections.ts:39 (opens new window)


# name

name: string

The name of the group, e.g. "Farming"

Defined in: helpers/SkyBlockCollections.ts:21 (opens new window)


# progress

progress: number

A number representing the percentage progress the profile is through this group, e.g. "100" or "83.33333333333334"

example

const progress = collections[0].progress;
console.log(progress);
// output:
83.33333333333334

const percent = Math.round(progress * 100) / 100;
console.log(percent);
// output:
83.33
1
2
3
4
5
6
7
8
9

Defined in: helpers/SkyBlockCollections.ts:37 (opens new window)


# totalCollections

totalCollections: number

How many collections are in this collection group.

Defined in: helpers/SkyBlockCollections.ts:41 (opens new window)