Docs@skmtc/core

Schemas

TYPE

TypeSystemObjectProperties

@skmtc/core 0.63.4

Type system representation of object properties.

Signature

import type { TypeSystemObjectProperties } from '@skmtc/core'

Properties

properties, Record<string, TypeSystemValue> required

Map of property names to their types

generatorKey, GeneratorKey

Optional generator-specific key for tracking

Examples

Example
const objectProps: TypeSystemObjectProperties = {
  properties: {
    name: { type: 'string', modifiers: { optional: false, nullable: false } },
    age: { type: 'integer', modifiers: { optional: true, nullable: false } }
  }
};