Skip to main content
Module

x/ldkit/mod.ts>SchemaInterface

LDkit - Linked Data query toolkit for TypeScript developers
Latest
type alias SchemaInterface
Re-export
import { type SchemaInterface } from "https://deno.land/x/ldkit@2.0.0/mod.ts";

Describes a data model of a data entity according to its schema,. as resolved by LDkit, i.e. the shape of data that LDkit returns when querying for entities.

See Lens.prototype.find for usage example.

definition: Identity & [X in Exclude<keyof T, "@type">]: T[X] extends ValidPropertyDefinition ? ConvertProperty<T[X]> : never