@rdfine/rico
Version:
> ## @rdfine/rico > ### Generated JavaScript types for Records in Contexts Ontology (ICA RiC-O)
28 lines (27 loc) • 1.77 kB
TypeScript
import * as rdfine from '@tpluscode/rdfine';
import { RdfineEnvironment } from '@tpluscode/rdfine/environment';
import type * as RDF from '@rdfjs/types';
import type { RdfResourceCore } from '@tpluscode/rdfine/RdfResource';
import type * as Rico from '../index.js';
export interface Event<D extends RDF.DatasetCore = RDF.DatasetCore> extends Rico.Thing<D>, rdfine.RdfResource<D> {
affectsOrAffected: Rico.Thing<D> | undefined;
hadSubevent: Rico.Event<D> | undefined;
hasDirectSubevent: Rico.Event<D> | undefined;
hasEventType: Rico.EventType<D> | undefined;
hasOrHadParticipant: Rico.Thing<D> | undefined;
hasOrHadSubevent: Rico.Event<D> | undefined;
hasSubeventTransitive: Rico.Event<D> | undefined;
history: RDF.Literal | undefined;
isDirectSubeventOf: Rico.Event<D> | undefined;
isEventAssociatedWith: Rico.Thing<D> | undefined;
isOrWasSubeventOf: Rico.Event<D> | undefined;
isSubeventOfTransitive: Rico.Event<D> | undefined;
occurredAtDate: Rico.Date<D> | undefined;
resultsOrResultedIn: Rico.Thing<D> | undefined;
wasSubeventOf: Rico.Event<D> | undefined;
}
export declare function EventMixin<Base extends rdfine.Constructor>(Resource: Base): rdfine.Constructor<Event & RdfResourceCore> & Base;
export declare namespace EventMixin {
var appliesTo: RDF.NamedNode<string> & RDF.NamedNode<"https://www.ica.org/standards/RiC/ontology#Event">;
var createFactory: (env: RdfineEnvironment) => import("@tpluscode/rdfine/factory").FullFactory<Rico.Event<RDF.DatasetCore<RDF.Quad, RDF.Quad>>> & import("@tpluscode/rdfine/factory").CurriedFactory<Rico.Event<RDF.DatasetCore<RDF.Quad, RDF.Quad>>> & import("@tpluscode/rdfine/factory").CurriedBlankFactory<Rico.Event<RDF.DatasetCore<RDF.Quad, RDF.Quad>>>;
}