Skip to content

Commit

Permalink
wip: support for blank nodes in TREE collection
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximvdw committed Feb 3, 2025
1 parent eee07d2 commit 5ed3a9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/models/tree/Collection.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { SerializableObject, SerializableArrayMember } from '@openhps/core';
import { tree } from '../../terms';
import { SerializableThing } from '@openhps/rdf';
import { BlankNode, SerializableThing } from '@openhps/rdf';

@SerializableObject({
rdf: {
Expand All @@ -14,5 +14,5 @@ export class Collection extends SerializableThing {
serializer: false,
},
})
members?: SerializableThing[] = [];
members?: (SerializableThing | BlankNode)[] = [];
}

0 comments on commit 5ed3a9c

Please sign in to comment.