serene-core-server 0.1.8 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -173,6 +173,13 @@ export class InstanceModel {
|
|
|
173
173
|
var instance;
|
|
174
174
|
try {
|
|
175
175
|
instance = await prisma.instance.findFirst({
|
|
176
|
+
include: {
|
|
177
|
+
userProfile: {
|
|
178
|
+
include: {
|
|
179
|
+
user: true
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
},
|
|
176
183
|
where: {
|
|
177
184
|
parentId: parentId,
|
|
178
185
|
key: key
|
|
@@ -200,6 +207,13 @@ export class InstanceModel {
|
|
|
200
207
|
var instance;
|
|
201
208
|
try {
|
|
202
209
|
instance = await prisma.instance.findFirst({
|
|
210
|
+
include: {
|
|
211
|
+
userProfile: {
|
|
212
|
+
include: {
|
|
213
|
+
user: true
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
},
|
|
203
217
|
where: {
|
|
204
218
|
parentId: parentId,
|
|
205
219
|
name: name
|
|
@@ -231,6 +245,13 @@ export class InstanceModel {
|
|
|
231
245
|
var instance;
|
|
232
246
|
try {
|
|
233
247
|
instance = await prisma.instance.findFirst({
|
|
248
|
+
include: {
|
|
249
|
+
userProfile: {
|
|
250
|
+
include: {
|
|
251
|
+
user: true
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
},
|
|
234
255
|
where: {
|
|
235
256
|
parentId: parentId,
|
|
236
257
|
key: key,
|
|
@@ -263,6 +284,13 @@ export class InstanceModel {
|
|
|
263
284
|
var instance;
|
|
264
285
|
try {
|
|
265
286
|
instance = await prisma.instance.findFirst({
|
|
287
|
+
include: {
|
|
288
|
+
userProfile: {
|
|
289
|
+
include: {
|
|
290
|
+
user: true
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
},
|
|
266
294
|
where: {
|
|
267
295
|
parentId: parentId,
|
|
268
296
|
name: name,
|
|
@@ -284,6 +312,13 @@ export class InstanceModel {
|
|
|
284
312
|
var instance;
|
|
285
313
|
try {
|
|
286
314
|
instance = await prisma.instance.findFirst({
|
|
315
|
+
include: {
|
|
316
|
+
userProfile: {
|
|
317
|
+
include: {
|
|
318
|
+
user: true
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
},
|
|
287
322
|
where: {
|
|
288
323
|
userProfileId: userProfileId,
|
|
289
324
|
name: name
|
|
@@ -317,6 +352,13 @@ export class InstanceModel {
|
|
|
317
352
|
var instance;
|
|
318
353
|
try {
|
|
319
354
|
instance = await prisma.instance.findFirst({
|
|
355
|
+
include: {
|
|
356
|
+
userProfile: {
|
|
357
|
+
include: {
|
|
358
|
+
user: true
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
},
|
|
320
362
|
where: {
|
|
321
363
|
parent: {
|
|
322
364
|
userProfileId: userProfileId,
|