mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-09-12 20:04:57 +02:00
17 lines
548 B
TypeScript
17 lines
548 B
TypeScript
/**
|
|
* @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';
|