Skip to content

ntcore-ts / @ntcore-ts/client / StructTopicOptions

Interface: StructTopicOptions<T>

Defined in: client.ts:24

Options for getStructTopic when using an options object.

Type Parameters

T

T extends object | object[] = object

Properties

defaultValue?

optional defaultValue?: T

Defined in: client.ts:27


schema?

optional schema?: string

Defined in: client.ts:26


typeName?

optional typeName?: StructTypeName

Defined in: client.ts:25


validator?

optional validator?: ZodType<T, unknown, $ZodTypeInternals<T, unknown>>

Defined in: client.ts:28

Released under the MIT License.