astro-ghostcms/.pnpm-store/v3/files/15/7197634ba6a171c417644fabbb3...

17 lines
548 B
Plaintext

/**
* @param {Definition} definition
* @returns {Schema}
*/
export function create(definition: Definition): Schema;
export type Properties = import('./schema.js').Properties;
export type Normal = import('./schema.js').Normal;
export type Attributes = Record<string, string>;
export type Definition = {
properties: Record<string, number | null>;
transform: (attributes: Attributes, property: string) => string;
space?: string;
attributes?: Attributes;
mustUseProperty?: Array<string>;
};
import { Schema } from './schema.js';