@tokens-studio/types
Version:
 
21 lines (20 loc) • 459 B
TypeScript
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 {};