Skip to content

@my-swu/simulator-client


@my-swu/simulator-client / LimitedEventPreflightIssue

Type Alias: LimitedEventPreflightIssue ​

LimitedEventPreflightIssue = object

Defined in: packages/ts-sdk/src/generated/types/common.ts:2967

Structured reason why a limited-event configuration cannot generate packs.

Example:

ts
import type { LimitedEventPreflightIssue } from '@my-swu/simulator-client'

const limitedEventPreflightIssue: LimitedEventPreflightIssue = {
  "reason": "boosterPoolInsufficient",
  "setCode": 'example',
}

console.log(limitedEventPreflightIssue)

Properties ​

draftRoundIndex? ​

Example:

ts
import type { LimitedEventPreflightIssue } from '@my-swu/simulator-client'

const limitedEventPreflightIssue: LimitedEventPreflightIssue = {
  "reason": "boosterPoolInsufficient",
  "setCode": 'example',
}

const { draftRoundIndex } = limitedEventPreflightIssue

console.log(draftRoundIndex)

optional draftRoundIndex?: number | null

Defined in: packages/ts-sdk/src/generated/types/common.ts:2971

Zero-based chaos-draft round, when the event uses chaos rounds.


reason ​

Example:

ts
import type { LimitedEventPreflightIssue } from '@my-swu/simulator-client'

const limitedEventPreflightIssue: LimitedEventPreflightIssue = {
  "reason": "boosterPoolInsufficient",
  "setCode": 'example',
}

const { reason } = limitedEventPreflightIssue

console.log(reason)

reason: "boosterPoolInsufficient"

Defined in: packages/ts-sdk/src/generated/types/common.ts:2972


setCode ​

Example:

ts
import type { LimitedEventPreflightIssue } from '@my-swu/simulator-client'

const limitedEventPreflightIssue: LimitedEventPreflightIssue = {
  "reason": "boosterPoolInsufficient",
  "setCode": 'example',
}

const { setCode } = limitedEventPreflightIssue

console.log(setCode)

setCode: string

Defined in: packages/ts-sdk/src/generated/types/common.ts:2976

Set code whose booster generation failed.

Released under the MIT License.