UNPKG

@tokens-studio/types

Version:

![NPM version badge](https://img.shields.io/npm/v/@tokens-studio/types) ![License badge](https://img.shields.io/github/license/tokens-studio/types)

21 lines (20 loc) 459 B
import { TokenTypes } from '../../constants/TokenTypes.js'; interface StringSchemaType { type: 'string'; } interface ObjectSchemaType { type: 'object'; properties: Record<string, StringSchemaType | ObjectSchemaType>; } export type TokenTypeSchema = { label: string; property: string; type: TokenTypes; explainer?: string; help?: string; isPro?: boolean; schemas: { value: ObjectSchemaType; }; }; export {};