Merge pull request #264 from jedmund/job-mastery

Update Job and Party definitions
This commit is contained in:
Justin Edmund 2023-03-16 08:43:15 -07:00 committed by GitHub
commit b64ec5275b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

3
types/Job.d.ts vendored
View file

@ -2,7 +2,8 @@ interface Job {
id: string
granblue_id: string
row: string
ml: boolean
master_level: boolean
ultimate_mastery: boolean
order: number
name: {
[key: string]: string

2
types/Party.d.ts vendored
View file

@ -20,6 +20,8 @@ interface Party {
chain_count?: number
source_party?: Party
job: Job
master_level?: number
ultimate_mastery?: number
job_skills: JobSkillObject
accessory: JobAccessory
shortcode: string

View file

@ -6,7 +6,8 @@ const emptyJob: Job = {
id: '-1',
granblue_id: '-1',
row: '',
ml: false,
master_level: false,
ultimate_mastery: false,
order: 0,
name: {
en: '',