@rdfine/rico
Version:
> ## @rdfine/rico > ### Generated JavaScript types for Records in Contexts Ontology (ICA RiC-O)
78 lines (77 loc) • 4.22 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 Thing<D extends RDF.DatasetCore = RDF.DatasetCore> extends rdfine.RdfResource<D> {
beginningDate: RDF.Literal | undefined;
creationDate: RDF.Literal | undefined;
date: RDF.Literal | undefined;
destructionDate: RDF.Literal | undefined;
directlyFollowsInSequence: Rico.Thing<D> | undefined;
directlyPrecedesInSequence: Rico.Thing<D> | undefined;
endDate: RDF.Literal | undefined;
followedInSequence: Rico.Thing<D> | undefined;
followsInSequenceTransitive: Rico.Thing<D> | undefined;
followsInTime: Rico.Thing<D> | undefined;
followsOrFollowed: Rico.Thing<D> | undefined;
generalDescription: RDF.Literal | undefined;
hadPart: Rico.Thing<D> | undefined;
hasBeginningDate: Rico.Date<D> | undefined;
hasDestructionDate: Rico.Date<D> | undefined;
hasDirectPart: Rico.Thing<D> | undefined;
hasEndDate: Rico.Date<D> | undefined;
hasExtent: Rico.Extent<D> | undefined;
hasModificationDate: Rico.Date<D> | undefined;
hasOrHadAppellation: Rico.Appellation<D> | undefined;
hasOrHadCategory: Rico.Type<D> | undefined;
hasOrHadIdentifier: Rico.Identifier<D> | undefined;
hasOrHadLocation: Rico.Place<D> | undefined;
hasOrHadName: Rico.Name<D> | undefined;
hasOrHadOwner: Rico.Group<D> | Rico.Person<D> | Rico.Position<D> | undefined;
hasOrHadPart: Rico.Thing<D> | undefined;
hasPartTransitive: Rico.Thing<D> | undefined;
height: RDF.Literal | undefined;
identifier: RDF.Literal | undefined;
isAssociatedWithDate: Rico.Date<D> | undefined;
isAssociatedWithEvent: Rico.Event<D> | undefined;
isAssociatedWithPlace: Rico.Place<D> | undefined;
isAssociatedWithRule: Rico.Rule<D> | undefined;
isDirectPartOf: Rico.Thing<D> | undefined;
isEquivalentTo: Rico.Thing<D> | undefined;
isOrWasAffectedBy: Rico.Event<D> | undefined;
isOrWasDescribedBy: Rico.RecordResource<D> | undefined;
isOrWasMainSubjectOf: Rico.RecordResource<D> | undefined;
isOrWasParticipantIn: Rico.Event<D> | undefined;
isOrWasPartOf: Rico.Thing<D> | undefined;
isOrWasRegulatedBy: Rico.Rule<D> | undefined;
isOrWasSubjectOf: Rico.RecordResource<D> | undefined;
isOrWasUnderAuthorityOf: Rico.Agent<D> | undefined;
isPartOfTransitive: Rico.Thing<D> | undefined;
isRelatedTo: Rico.Thing<D> | undefined;
lastModificationDate: RDF.Literal | undefined;
length: RDF.Literal | undefined;
measure: RDF.Literal | undefined;
modificationDate: RDF.Literal | undefined;
name: RDF.Literal | undefined;
precededInSequence: Rico.Thing<D> | undefined;
precedesInSequenceTransitive: Rico.Thing<D> | undefined;
precedesInTime: Rico.Thing<D> | undefined;
precedesOrPreceded: Rico.Thing<D> | undefined;
referenceSystem: RDF.Literal | undefined;
resultsOrResultedFrom: Rico.Event<D> | undefined;
ruleFollowed: RDF.Literal | undefined;
thingIsConnectedToRelation: Rico.Relation<D> | undefined;
thingIsContextOfRelation: Rico.Relation<D> | undefined;
thingIsSourceOfRelation: Rico.Relation<D> | undefined;
thingIsTargetOfRelation: Rico.Relation<D> | undefined;
type: RDF.Literal | undefined;
wasLastUpdatedAtDate: Rico.Date<D> | undefined;
wasPartOf: Rico.Thing<D> | undefined;
width: RDF.Literal | undefined;
}
export declare function ThingMixin<Base extends rdfine.Constructor>(Resource: Base): rdfine.Constructor<Thing & RdfResourceCore> & Base;
export declare namespace ThingMixin {
var appliesTo: RDF.NamedNode<string> & RDF.NamedNode<"https://www.ica.org/standards/RiC/ontology#Thing">;
var createFactory: (env: RdfineEnvironment) => import("@tpluscode/rdfine/factory").FullFactory<Rico.Thing<RDF.DatasetCore<RDF.Quad, RDF.Quad>>> & import("@tpluscode/rdfine/factory").CurriedFactory<Rico.Thing<RDF.DatasetCore<RDF.Quad, RDF.Quad>>> & import("@tpluscode/rdfine/factory").CurriedBlankFactory<Rico.Thing<RDF.DatasetCore<RDF.Quad, RDF.Quad>>>;
}