Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ldkit/library/schema/interface.ts>SchemaInterface

LDkit - Linked Data query toolkit for TypeScript developers
Latest
type alias SchemaInterface
import { type SchemaInterface } from "https://deno.land/x/ldkit@2.0.0/library/schema/interface.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