Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@khgame/schema

khgame8MIT0.0.10TypeScript support: included

schema

schema, table, khgame, kinghand

readme

@Khgame/schema

Build Status Github Releases Github Releases Github Releases

design

definition

names

  • Mark: what filled in a mark line slot
  • SDM: S*tructure *Description Mark
  • TDM: T*ype *Description Mark
  • ArrSDM: SDM that presented an array [...]
  • ObjSDM: SDM that presented an object {...}
  • MD: M*ark *Decorator
  • TSeg: Types segment
  • TName: Type name
Schema: Mark+
Mark: SDM | TDM
SDM: ArrSDM | ObjSDM
ArrSDM: <MD* '['> Schema ']'
ObjSDM: <MD* '{'> Schema '}'
TDM: <MD* TSeg>
TSeg: TNode ('|' TNode)*
TNode: TName '<' TSeg '>' 
MD: /\$[a-zA-Z0-9_\-]+/
TName: /[a-zA-Z_][a-zA-Z0-9_]*/

decorators

ArrSDM

  • $strict
  • $ghost

ObjSDM

  • $ghost

TDM

(none)