@igstack/app-catalog-backend-core 3.0.0 → 4.0.0-alpha-20260919004140
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.
- package/dist/db/syncAppCatalog.mjs +1 -0
- package/dist/db/syncAppCatalog.mjs.map +1 -1
- package/dist/generated/prisma/internal/class.mjs +4 -4
- package/dist/generated/prisma/internal/class.mjs.map +1 -1
- package/dist/generated/prisma/internal/prismaNamespace.d.mts +1 -0
- package/dist/generated/prisma/internal/prismaNamespace.d.mts.map +1 -1
- package/dist/generated/prisma/models/DbResource.d.mts +44 -1
- package/dist/generated/prisma/models/DbResource.d.mts.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/modules/appCatalog/service.d.mts.map +1 -1
- package/dist/modules/appCatalog/service.mjs +2 -0
- package/dist/modules/appCatalog/service.mjs.map +1 -1
- package/dist/types/common/appCatalogTypes.d.mts +27 -1
- package/dist/types/common/appCatalogTypes.d.mts.map +1 -1
- package/package.json +4 -4
- package/prisma/schema.prisma +2 -0
- package/src/db/syncAppCatalog.ts +1 -0
- package/src/generated/prisma/internal/class.ts +4 -4
- package/src/generated/prisma/internal/prismaNamespace.ts +1 -0
- package/src/generated/prisma/internal/prismaNamespaceBrowser.ts +1 -0
- package/src/generated/prisma/models/DbResource.ts +45 -1
- package/src/modules/appCatalog/service.ts +5 -0
- package/src/prisma-json-types.d.ts +3 -0
- package/src/types/common/appCatalogTypes.ts +31 -0
|
@@ -94,6 +94,7 @@ export type DbResourceCountAggregateOutputType = {
|
|
|
94
94
|
aiMemory: number
|
|
95
95
|
urlIssues: number
|
|
96
96
|
tiers:PrismaJson.TierVariant[]
|
|
97
|
+
quickJumps:PrismaJson.QuickJump[]
|
|
97
98
|
parentSlug: number
|
|
98
99
|
tier: number
|
|
99
100
|
aliases: number
|
|
@@ -178,6 +179,7 @@ export type DbResourceCountAggregateInputType = {
|
|
|
178
179
|
aiMemory?: true
|
|
179
180
|
urlIssues?: true
|
|
180
181
|
tiers?: true
|
|
182
|
+
quickJumps?: true
|
|
181
183
|
parentSlug?: true
|
|
182
184
|
tier?: true
|
|
183
185
|
aliases?: true
|
|
@@ -287,6 +289,7 @@ export type DbResourceGroupByOutputType = {
|
|
|
287
289
|
aiMemory: string | null
|
|
288
290
|
urlIssues: string[]
|
|
289
291
|
tiers:PrismaJson.TierVariant[] | null
|
|
292
|
+
quickJumps:PrismaJson.QuickJump[] | null
|
|
290
293
|
parentSlug: string | null
|
|
291
294
|
tier: string | null
|
|
292
295
|
aliases: string[]
|
|
@@ -344,6 +347,7 @@ export type DbResourceWhereInput = {
|
|
|
344
347
|
aiMemory?: Prisma.StringNullableFilter<"DbResource"> | string | null
|
|
345
348
|
urlIssues?: Prisma.StringNullableListFilter<"DbResource">
|
|
346
349
|
tiers?: Prisma.JsonNullableFilter<"DbResource">
|
|
350
|
+
quickJumps?: Prisma.JsonNullableFilter<"DbResource">
|
|
347
351
|
parentSlug?: Prisma.StringNullableFilter<"DbResource"> | string | null
|
|
348
352
|
tier?: Prisma.StringNullableFilter<"DbResource"> | string | null
|
|
349
353
|
aliases?: Prisma.StringNullableListFilter<"DbResource">
|
|
@@ -384,6 +388,7 @@ export type DbResourceOrderByWithRelationInput = {
|
|
|
384
388
|
aiMemory?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
385
389
|
urlIssues?: Prisma.SortOrder
|
|
386
390
|
tiers?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
391
|
+
quickJumps?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
387
392
|
parentSlug?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
388
393
|
tier?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
389
394
|
aliases?: Prisma.SortOrder
|
|
@@ -427,6 +432,7 @@ export type DbResourceWhereUniqueInput = Prisma.AtLeast<{
|
|
|
427
432
|
aiMemory?: Prisma.StringNullableFilter<"DbResource"> | string | null
|
|
428
433
|
urlIssues?: Prisma.StringNullableListFilter<"DbResource">
|
|
429
434
|
tiers?: Prisma.JsonNullableFilter<"DbResource">
|
|
435
|
+
quickJumps?: Prisma.JsonNullableFilter<"DbResource">
|
|
430
436
|
parentSlug?: Prisma.StringNullableFilter<"DbResource"> | string | null
|
|
431
437
|
tier?: Prisma.StringNullableFilter<"DbResource"> | string | null
|
|
432
438
|
aliases?: Prisma.StringNullableListFilter<"DbResource">
|
|
@@ -467,6 +473,7 @@ export type DbResourceOrderByWithAggregationInput = {
|
|
|
467
473
|
aiMemory?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
468
474
|
urlIssues?: Prisma.SortOrder
|
|
469
475
|
tiers?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
476
|
+
quickJumps?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
470
477
|
parentSlug?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
471
478
|
tier?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
472
479
|
aliases?: Prisma.SortOrder
|
|
@@ -509,6 +516,7 @@ export type DbResourceScalarWhereWithAggregatesInput = {
|
|
|
509
516
|
aiMemory?: Prisma.StringNullableWithAggregatesFilter<"DbResource"> | string | null
|
|
510
517
|
urlIssues?: Prisma.StringNullableListFilter<"DbResource">
|
|
511
518
|
tiers?: Prisma.JsonNullableWithAggregatesFilter<"DbResource">
|
|
519
|
+
quickJumps?: Prisma.JsonNullableWithAggregatesFilter<"DbResource">
|
|
512
520
|
parentSlug?: Prisma.StringNullableWithAggregatesFilter<"DbResource"> | string | null
|
|
513
521
|
tier?: Prisma.StringNullableWithAggregatesFilter<"DbResource"> | string | null
|
|
514
522
|
aliases?: Prisma.StringNullableListFilter<"DbResource">
|
|
@@ -545,6 +553,7 @@ export type DbResourceCreateInput = {
|
|
|
545
553
|
aiMemory?: string | null
|
|
546
554
|
urlIssues?: Prisma.DbResourceCreateurlIssuesInput | string[]
|
|
547
555
|
tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
|
|
556
|
+
quickJumps?:PrismaJson.QuickJump[] | Prisma.NullableJsonNullValueInput
|
|
548
557
|
tier?: string | null
|
|
549
558
|
aliases?: Prisma.DbResourceCreatealiasesInput | string[]
|
|
550
559
|
ownerPersonSlug?: string | null
|
|
@@ -584,6 +593,7 @@ export type DbResourceUncheckedCreateInput = {
|
|
|
584
593
|
aiMemory?: string | null
|
|
585
594
|
urlIssues?: Prisma.DbResourceCreateurlIssuesInput | string[]
|
|
586
595
|
tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
|
|
596
|
+
quickJumps?:PrismaJson.QuickJump[] | Prisma.NullableJsonNullValueInput
|
|
587
597
|
parentSlug?: string | null
|
|
588
598
|
tier?: string | null
|
|
589
599
|
aliases?: Prisma.DbResourceCreatealiasesInput | string[]
|
|
@@ -623,6 +633,7 @@ export type DbResourceUpdateInput = {
|
|
|
623
633
|
aiMemory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
624
634
|
urlIssues?: Prisma.DbResourceUpdateurlIssuesInput | string[]
|
|
625
635
|
tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
|
|
636
|
+
quickJumps?:PrismaJson.QuickJump[] | Prisma.NullableJsonNullValueInput
|
|
626
637
|
tier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
627
638
|
aliases?: Prisma.DbResourceUpdatealiasesInput | string[]
|
|
628
639
|
ownerPersonSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -662,6 +673,7 @@ export type DbResourceUncheckedUpdateInput = {
|
|
|
662
673
|
aiMemory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
663
674
|
urlIssues?: Prisma.DbResourceUpdateurlIssuesInput | string[]
|
|
664
675
|
tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
|
|
676
|
+
quickJumps?:PrismaJson.QuickJump[] | Prisma.NullableJsonNullValueInput
|
|
665
677
|
parentSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
666
678
|
tier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
667
679
|
aliases?: Prisma.DbResourceUpdatealiasesInput | string[]
|
|
@@ -701,6 +713,7 @@ export type DbResourceCreateManyInput = {
|
|
|
701
713
|
aiMemory?: string | null
|
|
702
714
|
urlIssues?: Prisma.DbResourceCreateurlIssuesInput | string[]
|
|
703
715
|
tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
|
|
716
|
+
quickJumps?:PrismaJson.QuickJump[] | Prisma.NullableJsonNullValueInput
|
|
704
717
|
parentSlug?: string | null
|
|
705
718
|
tier?: string | null
|
|
706
719
|
aliases?: Prisma.DbResourceCreatealiasesInput | string[]
|
|
@@ -737,6 +750,7 @@ export type DbResourceUpdateManyMutationInput = {
|
|
|
737
750
|
aiMemory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
738
751
|
urlIssues?: Prisma.DbResourceUpdateurlIssuesInput | string[]
|
|
739
752
|
tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
|
|
753
|
+
quickJumps?:PrismaJson.QuickJump[] | Prisma.NullableJsonNullValueInput
|
|
740
754
|
tier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
741
755
|
aliases?: Prisma.DbResourceUpdatealiasesInput | string[]
|
|
742
756
|
ownerPersonSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -772,6 +786,7 @@ export type DbResourceUncheckedUpdateManyInput = {
|
|
|
772
786
|
aiMemory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
773
787
|
urlIssues?: Prisma.DbResourceUpdateurlIssuesInput | string[]
|
|
774
788
|
tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
|
|
789
|
+
quickJumps?:PrismaJson.QuickJump[] | Prisma.NullableJsonNullValueInput
|
|
775
790
|
parentSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
776
791
|
tier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
777
792
|
aliases?: Prisma.DbResourceUpdatealiasesInput | string[]
|
|
@@ -823,6 +838,7 @@ export type DbResourceCountOrderByAggregateInput = {
|
|
|
823
838
|
aiMemory?: Prisma.SortOrder
|
|
824
839
|
urlIssues?: Prisma.SortOrder
|
|
825
840
|
tiers?: Prisma.SortOrder
|
|
841
|
+
quickJumps?: Prisma.SortOrder
|
|
826
842
|
parentSlug?: Prisma.SortOrder
|
|
827
843
|
tier?: Prisma.SortOrder
|
|
828
844
|
aliases?: Prisma.SortOrder
|
|
@@ -1059,6 +1075,7 @@ export type DbResourceCreateWithoutChildrenInput = {
|
|
|
1059
1075
|
aiMemory?: string | null
|
|
1060
1076
|
urlIssues?: Prisma.DbResourceCreateurlIssuesInput | string[]
|
|
1061
1077
|
tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
|
|
1078
|
+
quickJumps?:PrismaJson.QuickJump[] | Prisma.NullableJsonNullValueInput
|
|
1062
1079
|
tier?: string | null
|
|
1063
1080
|
aliases?: Prisma.DbResourceCreatealiasesInput | string[]
|
|
1064
1081
|
ownerPersonSlug?: string | null
|
|
@@ -1097,6 +1114,7 @@ export type DbResourceUncheckedCreateWithoutChildrenInput = {
|
|
|
1097
1114
|
aiMemory?: string | null
|
|
1098
1115
|
urlIssues?: Prisma.DbResourceCreateurlIssuesInput | string[]
|
|
1099
1116
|
tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
|
|
1117
|
+
quickJumps?:PrismaJson.QuickJump[] | Prisma.NullableJsonNullValueInput
|
|
1100
1118
|
parentSlug?: string | null
|
|
1101
1119
|
tier?: string | null
|
|
1102
1120
|
aliases?: Prisma.DbResourceCreatealiasesInput | string[]
|
|
@@ -1140,6 +1158,7 @@ export type DbResourceCreateWithoutParentInput = {
|
|
|
1140
1158
|
aiMemory?: string | null
|
|
1141
1159
|
urlIssues?: Prisma.DbResourceCreateurlIssuesInput | string[]
|
|
1142
1160
|
tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
|
|
1161
|
+
quickJumps?:PrismaJson.QuickJump[] | Prisma.NullableJsonNullValueInput
|
|
1143
1162
|
tier?: string | null
|
|
1144
1163
|
aliases?: Prisma.DbResourceCreatealiasesInput | string[]
|
|
1145
1164
|
ownerPersonSlug?: string | null
|
|
@@ -1178,6 +1197,7 @@ export type DbResourceUncheckedCreateWithoutParentInput = {
|
|
|
1178
1197
|
aiMemory?: string | null
|
|
1179
1198
|
urlIssues?: Prisma.DbResourceCreateurlIssuesInput | string[]
|
|
1180
1199
|
tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
|
|
1200
|
+
quickJumps?:PrismaJson.QuickJump[] | Prisma.NullableJsonNullValueInput
|
|
1181
1201
|
tier?: string | null
|
|
1182
1202
|
aliases?: Prisma.DbResourceCreatealiasesInput | string[]
|
|
1183
1203
|
ownerPersonSlug?: string | null
|
|
@@ -1237,6 +1257,7 @@ export type DbResourceUpdateWithoutChildrenInput = {
|
|
|
1237
1257
|
aiMemory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1238
1258
|
urlIssues?: Prisma.DbResourceUpdateurlIssuesInput | string[]
|
|
1239
1259
|
tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
|
|
1260
|
+
quickJumps?:PrismaJson.QuickJump[] | Prisma.NullableJsonNullValueInput
|
|
1240
1261
|
tier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1241
1262
|
aliases?: Prisma.DbResourceUpdatealiasesInput | string[]
|
|
1242
1263
|
ownerPersonSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -1275,6 +1296,7 @@ export type DbResourceUncheckedUpdateWithoutChildrenInput = {
|
|
|
1275
1296
|
aiMemory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1276
1297
|
urlIssues?: Prisma.DbResourceUpdateurlIssuesInput | string[]
|
|
1277
1298
|
tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
|
|
1299
|
+
quickJumps?:PrismaJson.QuickJump[] | Prisma.NullableJsonNullValueInput
|
|
1278
1300
|
parentSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1279
1301
|
tier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1280
1302
|
aliases?: Prisma.DbResourceUpdatealiasesInput | string[]
|
|
@@ -1332,6 +1354,7 @@ export type DbResourceScalarWhereInput = {
|
|
|
1332
1354
|
aiMemory?: Prisma.StringNullableFilter<"DbResource"> | string | null
|
|
1333
1355
|
urlIssues?: Prisma.StringNullableListFilter<"DbResource">
|
|
1334
1356
|
tiers?: Prisma.JsonNullableFilter<"DbResource">
|
|
1357
|
+
quickJumps?: Prisma.JsonNullableFilter<"DbResource">
|
|
1335
1358
|
parentSlug?: Prisma.StringNullableFilter<"DbResource"> | string | null
|
|
1336
1359
|
tier?: Prisma.StringNullableFilter<"DbResource"> | string | null
|
|
1337
1360
|
aliases?: Prisma.StringNullableListFilter<"DbResource">
|
|
@@ -1368,6 +1391,7 @@ export type DbResourceCreateWithoutCommentsInput = {
|
|
|
1368
1391
|
aiMemory?: string | null
|
|
1369
1392
|
urlIssues?: Prisma.DbResourceCreateurlIssuesInput | string[]
|
|
1370
1393
|
tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
|
|
1394
|
+
quickJumps?:PrismaJson.QuickJump[] | Prisma.NullableJsonNullValueInput
|
|
1371
1395
|
tier?: string | null
|
|
1372
1396
|
aliases?: Prisma.DbResourceCreatealiasesInput | string[]
|
|
1373
1397
|
ownerPersonSlug?: string | null
|
|
@@ -1406,6 +1430,7 @@ export type DbResourceUncheckedCreateWithoutCommentsInput = {
|
|
|
1406
1430
|
aiMemory?: string | null
|
|
1407
1431
|
urlIssues?: Prisma.DbResourceCreateurlIssuesInput | string[]
|
|
1408
1432
|
tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
|
|
1433
|
+
quickJumps?:PrismaJson.QuickJump[] | Prisma.NullableJsonNullValueInput
|
|
1409
1434
|
parentSlug?: string | null
|
|
1410
1435
|
tier?: string | null
|
|
1411
1436
|
aliases?: Prisma.DbResourceCreatealiasesInput | string[]
|
|
@@ -1460,6 +1485,7 @@ export type DbResourceUpdateWithoutCommentsInput = {
|
|
|
1460
1485
|
aiMemory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1461
1486
|
urlIssues?: Prisma.DbResourceUpdateurlIssuesInput | string[]
|
|
1462
1487
|
tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
|
|
1488
|
+
quickJumps?:PrismaJson.QuickJump[] | Prisma.NullableJsonNullValueInput
|
|
1463
1489
|
tier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1464
1490
|
aliases?: Prisma.DbResourceUpdatealiasesInput | string[]
|
|
1465
1491
|
ownerPersonSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -1498,6 +1524,7 @@ export type DbResourceUncheckedUpdateWithoutCommentsInput = {
|
|
|
1498
1524
|
aiMemory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1499
1525
|
urlIssues?: Prisma.DbResourceUpdateurlIssuesInput | string[]
|
|
1500
1526
|
tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
|
|
1527
|
+
quickJumps?:PrismaJson.QuickJump[] | Prisma.NullableJsonNullValueInput
|
|
1501
1528
|
parentSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1502
1529
|
tier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1503
1530
|
aliases?: Prisma.DbResourceUpdatealiasesInput | string[]
|
|
@@ -1536,6 +1563,7 @@ export type DbResourceCreateWithoutSourceRefsInput = {
|
|
|
1536
1563
|
aiMemory?: string | null
|
|
1537
1564
|
urlIssues?: Prisma.DbResourceCreateurlIssuesInput | string[]
|
|
1538
1565
|
tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
|
|
1566
|
+
quickJumps?:PrismaJson.QuickJump[] | Prisma.NullableJsonNullValueInput
|
|
1539
1567
|
tier?: string | null
|
|
1540
1568
|
aliases?: Prisma.DbResourceCreatealiasesInput | string[]
|
|
1541
1569
|
ownerPersonSlug?: string | null
|
|
@@ -1574,6 +1602,7 @@ export type DbResourceUncheckedCreateWithoutSourceRefsInput = {
|
|
|
1574
1602
|
aiMemory?: string | null
|
|
1575
1603
|
urlIssues?: Prisma.DbResourceCreateurlIssuesInput | string[]
|
|
1576
1604
|
tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
|
|
1605
|
+
quickJumps?:PrismaJson.QuickJump[] | Prisma.NullableJsonNullValueInput
|
|
1577
1606
|
parentSlug?: string | null
|
|
1578
1607
|
tier?: string | null
|
|
1579
1608
|
aliases?: Prisma.DbResourceCreatealiasesInput | string[]
|
|
@@ -1628,6 +1657,7 @@ export type DbResourceUpdateWithoutSourceRefsInput = {
|
|
|
1628
1657
|
aiMemory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1629
1658
|
urlIssues?: Prisma.DbResourceUpdateurlIssuesInput | string[]
|
|
1630
1659
|
tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
|
|
1660
|
+
quickJumps?:PrismaJson.QuickJump[] | Prisma.NullableJsonNullValueInput
|
|
1631
1661
|
tier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1632
1662
|
aliases?: Prisma.DbResourceUpdatealiasesInput | string[]
|
|
1633
1663
|
ownerPersonSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -1666,6 +1696,7 @@ export type DbResourceUncheckedUpdateWithoutSourceRefsInput = {
|
|
|
1666
1696
|
aiMemory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1667
1697
|
urlIssues?: Prisma.DbResourceUpdateurlIssuesInput | string[]
|
|
1668
1698
|
tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
|
|
1699
|
+
quickJumps?:PrismaJson.QuickJump[] | Prisma.NullableJsonNullValueInput
|
|
1669
1700
|
parentSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1670
1701
|
tier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1671
1702
|
aliases?: Prisma.DbResourceUpdatealiasesInput | string[]
|
|
@@ -1704,6 +1735,7 @@ export type DbResourceCreateManyParentInput = {
|
|
|
1704
1735
|
aiMemory?: string | null
|
|
1705
1736
|
urlIssues?: Prisma.DbResourceCreateurlIssuesInput | string[]
|
|
1706
1737
|
tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
|
|
1738
|
+
quickJumps?:PrismaJson.QuickJump[] | Prisma.NullableJsonNullValueInput
|
|
1707
1739
|
tier?: string | null
|
|
1708
1740
|
aliases?: Prisma.DbResourceCreatealiasesInput | string[]
|
|
1709
1741
|
ownerPersonSlug?: string | null
|
|
@@ -1739,6 +1771,7 @@ export type DbResourceUpdateWithoutParentInput = {
|
|
|
1739
1771
|
aiMemory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1740
1772
|
urlIssues?: Prisma.DbResourceUpdateurlIssuesInput | string[]
|
|
1741
1773
|
tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
|
|
1774
|
+
quickJumps?:PrismaJson.QuickJump[] | Prisma.NullableJsonNullValueInput
|
|
1742
1775
|
tier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1743
1776
|
aliases?: Prisma.DbResourceUpdatealiasesInput | string[]
|
|
1744
1777
|
ownerPersonSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -1777,6 +1810,7 @@ export type DbResourceUncheckedUpdateWithoutParentInput = {
|
|
|
1777
1810
|
aiMemory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1778
1811
|
urlIssues?: Prisma.DbResourceUpdateurlIssuesInput | string[]
|
|
1779
1812
|
tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
|
|
1813
|
+
quickJumps?:PrismaJson.QuickJump[] | Prisma.NullableJsonNullValueInput
|
|
1780
1814
|
tier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1781
1815
|
aliases?: Prisma.DbResourceUpdatealiasesInput | string[]
|
|
1782
1816
|
ownerPersonSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -1815,6 +1849,7 @@ export type DbResourceUncheckedUpdateManyWithoutParentInput = {
|
|
|
1815
1849
|
aiMemory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1816
1850
|
urlIssues?: Prisma.DbResourceUpdateurlIssuesInput | string[]
|
|
1817
1851
|
tiers?:PrismaJson.TierVariant[] | Prisma.NullableJsonNullValueInput
|
|
1852
|
+
quickJumps?:PrismaJson.QuickJump[] | Prisma.NullableJsonNullValueInput
|
|
1818
1853
|
tier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1819
1854
|
aliases?: Prisma.DbResourceUpdatealiasesInput | string[]
|
|
1820
1855
|
ownerPersonSlug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -1899,6 +1934,7 @@ export type DbResourceSelect<ExtArgs extends runtime.Types.Extensions.InternalAr
|
|
|
1899
1934
|
aiMemory?: boolean
|
|
1900
1935
|
urlIssues?: boolean
|
|
1901
1936
|
tiers?: boolean
|
|
1937
|
+
quickJumps?: boolean
|
|
1902
1938
|
parentSlug?: boolean
|
|
1903
1939
|
tier?: boolean
|
|
1904
1940
|
aliases?: boolean
|
|
@@ -1940,6 +1976,7 @@ export type DbResourceSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Ex
|
|
|
1940
1976
|
aiMemory?: boolean
|
|
1941
1977
|
urlIssues?: boolean
|
|
1942
1978
|
tiers?: boolean
|
|
1979
|
+
quickJumps?: boolean
|
|
1943
1980
|
parentSlug?: boolean
|
|
1944
1981
|
tier?: boolean
|
|
1945
1982
|
aliases?: boolean
|
|
@@ -1977,6 +2014,7 @@ export type DbResourceSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Ex
|
|
|
1977
2014
|
aiMemory?: boolean
|
|
1978
2015
|
urlIssues?: boolean
|
|
1979
2016
|
tiers?: boolean
|
|
2017
|
+
quickJumps?: boolean
|
|
1980
2018
|
parentSlug?: boolean
|
|
1981
2019
|
tier?: boolean
|
|
1982
2020
|
aliases?: boolean
|
|
@@ -2014,6 +2052,7 @@ export type DbResourceSelectScalar = {
|
|
|
2014
2052
|
aiMemory?: boolean
|
|
2015
2053
|
urlIssues?: boolean
|
|
2016
2054
|
tiers?: boolean
|
|
2055
|
+
quickJumps?: boolean
|
|
2017
2056
|
parentSlug?: boolean
|
|
2018
2057
|
tier?: boolean
|
|
2019
2058
|
aliases?: boolean
|
|
@@ -2028,7 +2067,7 @@ export type DbResourceSelectScalar = {
|
|
|
2028
2067
|
updatedAt?: boolean
|
|
2029
2068
|
}
|
|
2030
2069
|
|
|
2031
|
-
export type DbResourceOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "slug" | "type" | "displayName" | "abbreviation" | "nicknames" | "description" | "access" | "teams" | "accessRequest" | "notes" | "tags" | "appUrl" | "links" | "iconName" | "screenshotIds" | "deprecated" | "aiPrompt" | "aiMemory" | "urlIssues" | "tiers" | "parentSlug" | "tier" | "aliases" | "ownerPersonSlug" | "approverSlugs" | "accessComments" | "extra" | "lastCheckedAt" | "nextCheckAfter" | "lastContentChangeAt" | "createdAt" | "updatedAt", ExtArgs["result"]["dbResource"]>
|
|
2070
|
+
export type DbResourceOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "slug" | "type" | "displayName" | "abbreviation" | "nicknames" | "description" | "access" | "teams" | "accessRequest" | "notes" | "tags" | "appUrl" | "links" | "iconName" | "screenshotIds" | "deprecated" | "aiPrompt" | "aiMemory" | "urlIssues" | "tiers" | "quickJumps" | "parentSlug" | "tier" | "aliases" | "ownerPersonSlug" | "approverSlugs" | "accessComments" | "extra" | "lastCheckedAt" | "nextCheckAfter" | "lastContentChangeAt" | "createdAt" | "updatedAt", ExtArgs["result"]["dbResource"]>
|
|
2032
2071
|
export type DbResourceInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2033
2072
|
sourceRefs?: boolean | Prisma.DbResource$sourceRefsArgs<ExtArgs>
|
|
2034
2073
|
comments?: boolean | Prisma.DbResource$commentsArgs<ExtArgs>
|
|
@@ -2088,6 +2127,10 @@ export type $DbResourcePayload<ExtArgs extends runtime.Types.Extensions.Internal
|
|
|
2088
2127
|
* [TierVariant[]]
|
|
2089
2128
|
*/
|
|
2090
2129
|
tiers:PrismaJson.TierVariant[] | null
|
|
2130
|
+
/**
|
|
2131
|
+
* [QuickJump[]]
|
|
2132
|
+
*/
|
|
2133
|
+
quickJumps:PrismaJson.QuickJump[] | null
|
|
2091
2134
|
parentSlug: string | null
|
|
2092
2135
|
tier: string | null
|
|
2093
2136
|
aliases: string[]
|
|
@@ -2551,6 +2594,7 @@ export interface DbResourceFieldRefs {
|
|
|
2551
2594
|
readonly aiMemory: Prisma.FieldRef<"DbResource", 'String'>
|
|
2552
2595
|
readonly urlIssues: Prisma.FieldRef<"DbResource", 'String[]'>
|
|
2553
2596
|
readonly tiers: Prisma.FieldRef<"DbResource", 'Json'>
|
|
2597
|
+
readonly quickJumps: Prisma.FieldRef<"DbResource", 'Json'>
|
|
2554
2598
|
readonly parentSlug: Prisma.FieldRef<"DbResource", 'String'>
|
|
2555
2599
|
readonly tier: Prisma.FieldRef<"DbResource", 'String'>
|
|
2556
2600
|
readonly aliases: Prisma.FieldRef<"DbResource", 'String[]'>
|
|
@@ -159,6 +159,10 @@ function rowToResource(row: ResourceRowWithSourceRefs): Resource {
|
|
|
159
159
|
: undefined
|
|
160
160
|
const tiers =
|
|
161
161
|
row.tiers == null ? undefined : (row.tiers as unknown as Resource['tiers'])
|
|
162
|
+
const quickJumps =
|
|
163
|
+
row.quickJumps == null
|
|
164
|
+
? undefined
|
|
165
|
+
: (row.quickJumps as unknown as Resource['quickJumps'])
|
|
162
166
|
const freshness = computeFreshness({
|
|
163
167
|
lastCheckedAt: row.lastCheckedAt ? row.lastCheckedAt.toISOString() : null,
|
|
164
168
|
nextCheckAfter: row.nextCheckAfter
|
|
@@ -190,6 +194,7 @@ function rowToResource(row: ResourceRowWithSourceRefs): Resource {
|
|
|
190
194
|
aiMemory,
|
|
191
195
|
urlIssues,
|
|
192
196
|
tiers,
|
|
197
|
+
quickJumps,
|
|
193
198
|
// Fields from former SubResource
|
|
194
199
|
parentSlug: row.parentSlug ?? undefined,
|
|
195
200
|
tier: row.tier ?? undefined,
|
|
@@ -32,6 +32,9 @@ declare global {
|
|
|
32
32
|
// DbResource.tiers - Tier variants (prod/dev)
|
|
33
33
|
type TierVariant = import('./types/index').TierVariant
|
|
34
34
|
|
|
35
|
+
// DbResource.quickJumps - Deep links that take one typed identifier
|
|
36
|
+
type QuickJump = import('./types/index').QuickJump
|
|
37
|
+
|
|
35
38
|
// DbResource.extra - Arbitrary extra data
|
|
36
39
|
type SubResourceExtra = Record<string, unknown>
|
|
37
40
|
}
|
|
@@ -25,6 +25,35 @@ export interface TierVariant {
|
|
|
25
25
|
accessRequest?: AppAccessRequest
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
// ============================================================================
|
|
29
|
+
// QUICK JUMP
|
|
30
|
+
// ============================================================================
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* A deep link into a resource that needs one identifier from the user
|
|
34
|
+
* ("open case 3117050260"). The user types the id once per identity and every
|
|
35
|
+
* jump for that identity becomes clickable.
|
|
36
|
+
*
|
|
37
|
+
* The url carries at most two placeholders and nothing else — there is no
|
|
38
|
+
* template engine:
|
|
39
|
+
* - `{{baseHost}}` — the resource's own `appUrl`, trailing slash trimmed.
|
|
40
|
+
* A jump using it is dropped when the resource has no `appUrl`.
|
|
41
|
+
* - `{{value}}` — the typed identifier, url-encoded exactly once.
|
|
42
|
+
* A jump on a different host than the resource just spells the host out.
|
|
43
|
+
*/
|
|
44
|
+
export interface QuickJump {
|
|
45
|
+
/**
|
|
46
|
+
* Human label of the identifier this jump needs, e.g. "Case Id". Jumps are
|
|
47
|
+
* grouped by it: it is the column heading, the input placeholder, and the key
|
|
48
|
+
* the browser remembers typed values under, so spell it identically across
|
|
49
|
+
* apps (company config should keep a shared constant rather than literals).
|
|
50
|
+
*/
|
|
51
|
+
identity: string
|
|
52
|
+
/** Shown on the button, with the typed value appended: "View case 3117050260". */
|
|
53
|
+
title: string
|
|
54
|
+
url: string
|
|
55
|
+
}
|
|
56
|
+
|
|
28
57
|
// ============================================================================
|
|
29
58
|
// APP CATALOG TYPES
|
|
30
59
|
// ============================================================================
|
|
@@ -95,6 +124,8 @@ export interface Resource {
|
|
|
95
124
|
urlIssues?: string[]
|
|
96
125
|
/** Optional tier variants (e.g., prod/dev) with per-tier URLs and access */
|
|
97
126
|
tiers?: TierVariant[]
|
|
127
|
+
/** Deep links that take one typed identifier — see {@link QuickJump}. */
|
|
128
|
+
quickJumps?: QuickJump[]
|
|
98
129
|
|
|
99
130
|
// --- Fields merged from former SubResource ---
|
|
100
131
|
/** Slug of parent resource (undefined for top-level applications) */
|