Skip to content

@my-swu/simulator-client


@my-swu/simulator-client / NullableDistributionTokenKindView

Type Alias: NullableDistributionTokenKindView ​

NullableDistributionTokenKindView = DistributionTokenKindView | null

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

Required nullable token classification in the public upgrade projection.

Option<T> would silently accept an omitted JSON field during deserialization. This untagged enum keeps the established null wire value while rejecting stale payloads that omit the field altogether.

Example:

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

const nullableDistributionTokenKindView: NullableDistributionTokenKindView = "experience"

console.log(nullableDistributionTokenKindView)

Released under the MIT License.