@tpluscode/rdfine
Advanced tools
Comparing version 0.6.0-next.0 to 0.6.0-next.1
# Change Log | ||
## 0.6.0-next.1 | ||
### Patch Changes | ||
- 8065bdb3: Tweak factory typings | ||
## 0.6.0-next.0 | ||
@@ -4,0 +10,0 @@ |
@@ -29,3 +29,3 @@ /// <reference types="rdfjs__namespace" /> | ||
createEntity<S, ID extends ResourceNode = ResourceNode>(term: GraphPointer, typeAndMixins?: Mixin<T>[] | [Constructor, ...Mixin<T>[]], // TODO: move mixins into options object | ||
options?: ResourceCreationOptions<RdfResourceCore<ID> & S>): RdfResourceCore<ID> & S & ResourceIndexer<RdfResourceCore<ID>>; | ||
options?: ResourceCreationOptions<RdfResourceCore<ID> & S>): RdfResourceCore<ID> & S & ResourceIndexer<RdfResource<ID>>; | ||
} | ||
@@ -44,3 +44,3 @@ export interface ResourceCreationOptions<R extends RdfResourceCore> { | ||
addMixin(...mixins: (EvaluatedMixin | SingleTypeMixin)[]): void; | ||
createEntity<S, ID extends ResourceNode = ResourceNode>(pointer: ResourceNode, typeAndMixins?: Mixin<T>[] | [Constructor, ...Mixin<T>[]], options?: ResourceCreationOptions<RdfResourceCore<ID> & S>): RdfResourceCore<ID> & S & ResourceIndexer<RdfResourceCore<ID>>; | ||
createEntity<S, ID extends ResourceNode = ResourceNode>(pointer: ResourceNode, typeAndMixins?: Mixin<T>[] | [Constructor, ...Mixin<T>[]], options?: ResourceCreationOptions<RdfResourceCore<ID> & S>): RdfResourceCore<ID> & S & ResourceIndexer<RdfResource<ID>>; | ||
private __getBaseClass; | ||
@@ -47,0 +47,0 @@ private __extend; |
{ | ||
"name": "@tpluscode/rdfine", | ||
"version": "0.6.0-next.0", | ||
"version": "0.6.0-next.1", | ||
"description": "RDF/JS idiomatic, native, effective", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -90,3 +90,3 @@ import type { NamespaceBuilder } from '@rdf-esm/namespace'; | ||
} | ||
declare type UserDefinedInterface<T extends RdfResource | undefined> = Omit<T, keyof RdfResource>; | ||
declare type UserDefinedInterface<T extends RdfResourceCore | undefined> = Omit<T, keyof RdfResource>; | ||
declare type BaseInitializer = Record<string, any> & { | ||
@@ -93,0 +93,0 @@ types?: NamedNode[] | TypeCollection<any>; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
139530