UNPKG

@shopify/theme-language-server-common

Version:

<h1 align="center" style="position: relative;" > <br> <img src="https://github.com/Shopify/theme-check-vscode/blob/main/images/shopify_glyph.png?raw=true" alt="logo" width="141" height="160"> <br> Theme Language Server </h1>

36 lines (35 loc) 803 B
import type { MarkupContent } from 'vscode-languageserver-protocol'; export interface HtmlData { version: number; tags: Tag[]; globalAttributes: Attribute[]; valueSets: ValueSet[]; } export interface Tag { name: string; description: string | MarkupContent; attributes: Attribute[]; references: Reference[]; void?: boolean; } export interface Attribute { name: string; description: string | MarkupContent; references?: Reference[]; valueSet?: ValueSetId; } export interface Reference { name: string; url: string; } type ValueSetId = string; export interface ValueSet { name: ValueSetId; values: Value[]; } export interface Value { name: string; description?: MarkupContent; } export declare const HtmlData: HtmlData; export {};