Skip to content

Commit 3dab2cb

Browse files
committed
fix search-many-public
1 parent a97e2a9 commit 3dab2cb

1 file changed

Lines changed: 50 additions & 0 deletions

File tree

packages/hypergraph/src/entity/search-many-public.ts

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,16 @@ query search($query: String!, $spaceId: UUID!, $typeIds: [UUID!]!, $relationType
6767
filter: {spaceId: {is: $spaceId}, typeId:{ in: $relationTypeIdsLevel1}},
6868
) {
6969
id
70+
entity {
71+
valuesList(filter: {spaceId: {is: $spaceId}}) {
72+
propertyId
73+
string
74+
boolean
75+
number
76+
time
77+
point
78+
}
79+
}
7080
toEntity {
7181
id
7282
name
@@ -111,6 +121,16 @@ query search($query: String!, $spaceId: UUID!, $typeIds: [UUID!]!, $relationType
111121
filter: {spaceId: {is: $spaceId}, typeId:{ in: $relationTypeIdsLevel1}},
112122
) {
113123
id
124+
entity {
125+
valuesList(filter: {spaceId: {is: $spaceId}}) {
126+
propertyId
127+
string
128+
boolean
129+
number
130+
time
131+
point
132+
}
133+
}
114134
toEntity {
115135
id
116136
name
@@ -126,6 +146,16 @@ query search($query: String!, $spaceId: UUID!, $typeIds: [UUID!]!, $relationType
126146
filter: {spaceId: {is: $spaceId}, typeId:{ in: $relationTypeIdsLevel2}},
127147
) {
128148
id
149+
entity {
150+
valuesList(filter: {spaceId: {is: $spaceId}}) {
151+
propertyId
152+
string
153+
boolean
154+
number
155+
time
156+
point
157+
}
158+
}
129159
toEntity {
130160
id
131161
name
@@ -161,6 +191,16 @@ type SearchQueryResult = {
161191
}[];
162192
relationsList: {
163193
id: string;
194+
entity: {
195+
valuesList: {
196+
propertyId: string;
197+
string: string;
198+
boolean: boolean;
199+
number: number;
200+
time: string;
201+
point: string;
202+
}[];
203+
};
164204
toEntity: {
165205
id: string;
166206
name: string;
@@ -174,6 +214,16 @@ type SearchQueryResult = {
174214
}[];
175215
relationsList: {
176216
id: string;
217+
entity: {
218+
valuesList: {
219+
propertyId: string;
220+
string: string;
221+
boolean: boolean;
222+
number: number;
223+
time: string;
224+
point: string;
225+
}[];
226+
};
177227
toEntity: {
178228
id: string;
179229
name: string;

0 commit comments

Comments
 (0)