@igstack/app-catalog-backend-core 0.16.0 → 0.17.1-alpha-20260821043201

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.
Files changed (40) hide show
  1. package/dist/db/syncAppCatalog.mjs +13 -1
  2. package/dist/db/syncAppCatalog.mjs.map +1 -1
  3. package/dist/generated/prisma/internal/class.mjs +4 -4
  4. package/dist/generated/prisma/internal/class.mjs.map +1 -1
  5. package/dist/generated/prisma/internal/prismaNamespace.d.mts +2 -0
  6. package/dist/generated/prisma/internal/prismaNamespace.d.mts.map +1 -1
  7. package/dist/generated/prisma/models/DbResource.d.mts +85 -1
  8. package/dist/generated/prisma/models/DbResource.d.mts.map +1 -1
  9. package/dist/index.d.mts +2 -1
  10. package/dist/index.mjs +2 -1
  11. package/dist/modules/appCatalog/freshness.mjs +5 -3
  12. package/dist/modules/appCatalog/freshness.mjs.map +1 -1
  13. package/dist/modules/appCatalog/service.d.mts +7 -0
  14. package/dist/modules/appCatalog/service.d.mts.map +1 -0
  15. package/dist/modules/appCatalog/service.mjs +20 -2
  16. package/dist/modules/appCatalog/service.mjs.map +1 -1
  17. package/dist/modules/assets/upsertAsset.mjs +12 -1
  18. package/dist/modules/assets/upsertAsset.mjs.map +1 -1
  19. package/dist/server/controller.d.mts +8 -0
  20. package/dist/server/controller.d.mts.map +1 -1
  21. package/dist/server/controller.mjs +7 -1
  22. package/dist/server/controller.mjs.map +1 -1
  23. package/dist/types/common/appCatalogTypes.d.mts +10 -0
  24. package/dist/types/common/appCatalogTypes.d.mts.map +1 -1
  25. package/package.json +7 -7
  26. package/prisma/migrations/20260813000000_add_ai_memory/migration.sql +2 -0
  27. package/prisma/schema.prisma +6 -2
  28. package/src/__tests__/assetMime.test.ts +104 -14
  29. package/src/__tests__/freshness.test.ts +56 -17
  30. package/src/db/syncAppCatalog.ts +25 -0
  31. package/src/generated/prisma/internal/class.ts +4 -4
  32. package/src/generated/prisma/internal/prismaNamespace.ts +2 -0
  33. package/src/generated/prisma/internal/prismaNamespaceBrowser.ts +2 -0
  34. package/src/generated/prisma/models/DbResource.ts +87 -1
  35. package/src/index.ts +1 -0
  36. package/src/modules/appCatalog/freshness.ts +29 -11
  37. package/src/modules/appCatalog/service.ts +35 -4
  38. package/src/modules/assets/upsertAsset.ts +20 -4
  39. package/src/server/controller.ts +11 -0
  40. package/src/types/common/appCatalogTypes.ts +10 -0
@@ -23,6 +23,7 @@ type DbResourceMinAggregateOutputType = {
23
23
  appUrl: string | null;
24
24
  iconName: string | null;
25
25
  aiPrompt: string | null;
26
+ aiMemory: string | null;
26
27
  parentSlug: string | null;
27
28
  tier: string | null;
28
29
  familySlug: string | null;
@@ -30,6 +31,7 @@ type DbResourceMinAggregateOutputType = {
30
31
  accessComments: string | null;
31
32
  lastCheckedAt: Date | null;
32
33
  nextCheckAfter: Date | null;
34
+ lastContentChangeAt: Date | null;
33
35
  createdAt: Date | null;
34
36
  updatedAt: Date | null;
35
37
  };
@@ -44,6 +46,7 @@ type DbResourceMaxAggregateOutputType = {
44
46
  appUrl: string | null;
45
47
  iconName: string | null;
46
48
  aiPrompt: string | null;
49
+ aiMemory: string | null;
47
50
  parentSlug: string | null;
48
51
  tier: string | null;
49
52
  familySlug: string | null;
@@ -51,6 +54,7 @@ type DbResourceMaxAggregateOutputType = {
51
54
  accessComments: string | null;
52
55
  lastCheckedAt: Date | null;
53
56
  nextCheckAfter: Date | null;
57
+ lastContentChangeAt: Date | null;
54
58
  createdAt: Date | null;
55
59
  updatedAt: Date | null;
56
60
  };
@@ -73,6 +77,7 @@ type DbResourceCountAggregateOutputType = {
73
77
  screenshotIds: number;
74
78
  deprecated: PrismaJson.AppDeprecation;
75
79
  aiPrompt: number;
80
+ aiMemory: number;
76
81
  urlIssues: number;
77
82
  tiers: PrismaJson.TierVariant[];
78
83
  parentSlug: number;
@@ -85,6 +90,7 @@ type DbResourceCountAggregateOutputType = {
85
90
  extra: PrismaJson.SubResourceExtra;
86
91
  lastCheckedAt: number;
87
92
  nextCheckAfter: number;
93
+ lastContentChangeAt: number;
88
94
  createdAt: number;
89
95
  updatedAt: number;
90
96
  _all: number;
@@ -100,6 +106,7 @@ type DbResourceMinAggregateInputType = {
100
106
  appUrl?: true;
101
107
  iconName?: true;
102
108
  aiPrompt?: true;
109
+ aiMemory?: true;
103
110
  parentSlug?: true;
104
111
  tier?: true;
105
112
  familySlug?: true;
@@ -107,6 +114,7 @@ type DbResourceMinAggregateInputType = {
107
114
  accessComments?: true;
108
115
  lastCheckedAt?: true;
109
116
  nextCheckAfter?: true;
117
+ lastContentChangeAt?: true;
110
118
  createdAt?: true;
111
119
  updatedAt?: true;
112
120
  };
@@ -121,6 +129,7 @@ type DbResourceMaxAggregateInputType = {
121
129
  appUrl?: true;
122
130
  iconName?: true;
123
131
  aiPrompt?: true;
132
+ aiMemory?: true;
124
133
  parentSlug?: true;
125
134
  tier?: true;
126
135
  familySlug?: true;
@@ -128,6 +137,7 @@ type DbResourceMaxAggregateInputType = {
128
137
  accessComments?: true;
129
138
  lastCheckedAt?: true;
130
139
  nextCheckAfter?: true;
140
+ lastContentChangeAt?: true;
131
141
  createdAt?: true;
132
142
  updatedAt?: true;
133
143
  };
@@ -150,6 +160,7 @@ type DbResourceCountAggregateInputType = {
150
160
  screenshotIds?: true;
151
161
  deprecated?: true;
152
162
  aiPrompt?: true;
163
+ aiMemory?: true;
153
164
  urlIssues?: true;
154
165
  tiers?: true;
155
166
  parentSlug?: true;
@@ -162,6 +173,7 @@ type DbResourceCountAggregateInputType = {
162
173
  extra?: true;
163
174
  lastCheckedAt?: true;
164
175
  nextCheckAfter?: true;
176
+ lastContentChangeAt?: true;
165
177
  createdAt?: true;
166
178
  updatedAt?: true;
167
179
  _all?: true;
@@ -245,6 +257,7 @@ type DbResourceGroupByOutputType = {
245
257
  screenshotIds: string[];
246
258
  deprecated: PrismaJson.AppDeprecation | null;
247
259
  aiPrompt: string | null;
260
+ aiMemory: string | null;
248
261
  urlIssues: string[];
249
262
  tiers: PrismaJson.TierVariant[] | null;
250
263
  parentSlug: string | null;
@@ -257,6 +270,7 @@ type DbResourceGroupByOutputType = {
257
270
  extra: PrismaJson.SubResourceExtra | null;
258
271
  lastCheckedAt: Date | null;
259
272
  nextCheckAfter: Date | null;
273
+ lastContentChangeAt: Date | null;
260
274
  createdAt: Date;
261
275
  updatedAt: Date;
262
276
  _count: DbResourceCountAggregateOutputType | null;
@@ -286,6 +300,7 @@ type DbResourceWhereInput = {
286
300
  screenshotIds?: StringNullableListFilter<"DbResource">;
287
301
  deprecated?: JsonNullableFilter<"DbResource">;
288
302
  aiPrompt?: StringNullableFilter<"DbResource"> | string | null;
303
+ aiMemory?: StringNullableFilter<"DbResource"> | string | null;
289
304
  urlIssues?: StringNullableListFilter<"DbResource">;
290
305
  tiers?: JsonNullableFilter<"DbResource">;
291
306
  parentSlug?: StringNullableFilter<"DbResource"> | string | null;
@@ -298,6 +313,7 @@ type DbResourceWhereInput = {
298
313
  extra?: JsonNullableFilter<"DbResource">;
299
314
  lastCheckedAt?: DateTimeNullableFilter<"DbResource"> | Date | string | null;
300
315
  nextCheckAfter?: DateTimeNullableFilter<"DbResource"> | Date | string | null;
316
+ lastContentChangeAt?: DateTimeNullableFilter<"DbResource"> | Date | string | null;
301
317
  createdAt?: DateTimeFilter<"DbResource"> | Date | string;
302
318
  updatedAt?: DateTimeFilter<"DbResource"> | Date | string;
303
319
  sourceRefs?: SourceReferenceListRelationFilter;
@@ -323,6 +339,7 @@ type DbResourceOrderByWithRelationInput = {
323
339
  screenshotIds?: SortOrder;
324
340
  deprecated?: SortOrderInput | SortOrder;
325
341
  aiPrompt?: SortOrderInput | SortOrder;
342
+ aiMemory?: SortOrderInput | SortOrder;
326
343
  urlIssues?: SortOrder;
327
344
  tiers?: SortOrderInput | SortOrder;
328
345
  parentSlug?: SortOrderInput | SortOrder;
@@ -335,6 +352,7 @@ type DbResourceOrderByWithRelationInput = {
335
352
  extra?: SortOrderInput | SortOrder;
336
353
  lastCheckedAt?: SortOrderInput | SortOrder;
337
354
  nextCheckAfter?: SortOrderInput | SortOrder;
355
+ lastContentChangeAt?: SortOrderInput | SortOrder;
338
356
  createdAt?: SortOrder;
339
357
  updatedAt?: SortOrder;
340
358
  sourceRefs?: SourceReferenceOrderByRelationAggregateInput;
@@ -363,6 +381,7 @@ type DbResourceWhereUniqueInput = AtLeast<{
363
381
  screenshotIds?: StringNullableListFilter<"DbResource">;
364
382
  deprecated?: JsonNullableFilter<"DbResource">;
365
383
  aiPrompt?: StringNullableFilter<"DbResource"> | string | null;
384
+ aiMemory?: StringNullableFilter<"DbResource"> | string | null;
366
385
  urlIssues?: StringNullableListFilter<"DbResource">;
367
386
  tiers?: JsonNullableFilter<"DbResource">;
368
387
  parentSlug?: StringNullableFilter<"DbResource"> | string | null;
@@ -375,6 +394,7 @@ type DbResourceWhereUniqueInput = AtLeast<{
375
394
  extra?: JsonNullableFilter<"DbResource">;
376
395
  lastCheckedAt?: DateTimeNullableFilter<"DbResource"> | Date | string | null;
377
396
  nextCheckAfter?: DateTimeNullableFilter<"DbResource"> | Date | string | null;
397
+ lastContentChangeAt?: DateTimeNullableFilter<"DbResource"> | Date | string | null;
378
398
  createdAt?: DateTimeFilter<"DbResource"> | Date | string;
379
399
  updatedAt?: DateTimeFilter<"DbResource"> | Date | string;
380
400
  sourceRefs?: SourceReferenceListRelationFilter;
@@ -400,6 +420,7 @@ type DbResourceOrderByWithAggregationInput = {
400
420
  screenshotIds?: SortOrder;
401
421
  deprecated?: SortOrderInput | SortOrder;
402
422
  aiPrompt?: SortOrderInput | SortOrder;
423
+ aiMemory?: SortOrderInput | SortOrder;
403
424
  urlIssues?: SortOrder;
404
425
  tiers?: SortOrderInput | SortOrder;
405
426
  parentSlug?: SortOrderInput | SortOrder;
@@ -412,6 +433,7 @@ type DbResourceOrderByWithAggregationInput = {
412
433
  extra?: SortOrderInput | SortOrder;
413
434
  lastCheckedAt?: SortOrderInput | SortOrder;
414
435
  nextCheckAfter?: SortOrderInput | SortOrder;
436
+ lastContentChangeAt?: SortOrderInput | SortOrder;
415
437
  createdAt?: SortOrder;
416
438
  updatedAt?: SortOrder;
417
439
  _count?: DbResourceCountOrderByAggregateInput;
@@ -440,6 +462,7 @@ type DbResourceScalarWhereWithAggregatesInput = {
440
462
  screenshotIds?: StringNullableListFilter<"DbResource">;
441
463
  deprecated?: JsonNullableWithAggregatesFilter<"DbResource">;
442
464
  aiPrompt?: StringNullableWithAggregatesFilter<"DbResource"> | string | null;
465
+ aiMemory?: StringNullableWithAggregatesFilter<"DbResource"> | string | null;
443
466
  urlIssues?: StringNullableListFilter<"DbResource">;
444
467
  tiers?: JsonNullableWithAggregatesFilter<"DbResource">;
445
468
  parentSlug?: StringNullableWithAggregatesFilter<"DbResource"> | string | null;
@@ -452,6 +475,7 @@ type DbResourceScalarWhereWithAggregatesInput = {
452
475
  extra?: JsonNullableWithAggregatesFilter<"DbResource">;
453
476
  lastCheckedAt?: DateTimeNullableWithAggregatesFilter<"DbResource"> | Date | string | null;
454
477
  nextCheckAfter?: DateTimeNullableWithAggregatesFilter<"DbResource"> | Date | string | null;
478
+ lastContentChangeAt?: DateTimeNullableWithAggregatesFilter<"DbResource"> | Date | string | null;
455
479
  createdAt?: DateTimeWithAggregatesFilter<"DbResource"> | Date | string;
456
480
  updatedAt?: DateTimeWithAggregatesFilter<"DbResource"> | Date | string;
457
481
  };
@@ -474,6 +498,7 @@ type DbResourceCreateInput = {
474
498
  screenshotIds?: DbResourceCreatescreenshotIdsInput | string[];
475
499
  deprecated?: PrismaJson.AppDeprecation | NullableJsonNullValueInput;
476
500
  aiPrompt?: string | null;
501
+ aiMemory?: string | null;
477
502
  urlIssues?: DbResourceCreateurlIssuesInput | string[];
478
503
  tiers?: PrismaJson.TierVariant[] | NullableJsonNullValueInput;
479
504
  tier?: string | null;
@@ -485,6 +510,7 @@ type DbResourceCreateInput = {
485
510
  extra?: PrismaJson.SubResourceExtra | NullableJsonNullValueInput;
486
511
  lastCheckedAt?: Date | string | null;
487
512
  nextCheckAfter?: Date | string | null;
513
+ lastContentChangeAt?: Date | string | null;
488
514
  createdAt?: Date | string;
489
515
  updatedAt?: Date | string;
490
516
  sourceRefs?: SourceReferenceCreateNestedManyWithoutResourceInput;
@@ -510,6 +536,7 @@ type DbResourceUncheckedCreateInput = {
510
536
  screenshotIds?: DbResourceCreatescreenshotIdsInput | string[];
511
537
  deprecated?: PrismaJson.AppDeprecation | NullableJsonNullValueInput;
512
538
  aiPrompt?: string | null;
539
+ aiMemory?: string | null;
513
540
  urlIssues?: DbResourceCreateurlIssuesInput | string[];
514
541
  tiers?: PrismaJson.TierVariant[] | NullableJsonNullValueInput;
515
542
  parentSlug?: string | null;
@@ -522,6 +549,7 @@ type DbResourceUncheckedCreateInput = {
522
549
  extra?: PrismaJson.SubResourceExtra | NullableJsonNullValueInput;
523
550
  lastCheckedAt?: Date | string | null;
524
551
  nextCheckAfter?: Date | string | null;
552
+ lastContentChangeAt?: Date | string | null;
525
553
  createdAt?: Date | string;
526
554
  updatedAt?: Date | string;
527
555
  sourceRefs?: SourceReferenceUncheckedCreateNestedManyWithoutResourceInput;
@@ -546,6 +574,7 @@ type DbResourceUpdateInput = {
546
574
  screenshotIds?: DbResourceUpdatescreenshotIdsInput | string[];
547
575
  deprecated?: PrismaJson.AppDeprecation | NullableJsonNullValueInput;
548
576
  aiPrompt?: NullableStringFieldUpdateOperationsInput | string | null;
577
+ aiMemory?: NullableStringFieldUpdateOperationsInput | string | null;
549
578
  urlIssues?: DbResourceUpdateurlIssuesInput | string[];
550
579
  tiers?: PrismaJson.TierVariant[] | NullableJsonNullValueInput;
551
580
  tier?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -557,6 +586,7 @@ type DbResourceUpdateInput = {
557
586
  extra?: PrismaJson.SubResourceExtra | NullableJsonNullValueInput;
558
587
  lastCheckedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
559
588
  nextCheckAfter?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
589
+ lastContentChangeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
560
590
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
561
591
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
562
592
  sourceRefs?: SourceReferenceUpdateManyWithoutResourceNestedInput;
@@ -582,6 +612,7 @@ type DbResourceUncheckedUpdateInput = {
582
612
  screenshotIds?: DbResourceUpdatescreenshotIdsInput | string[];
583
613
  deprecated?: PrismaJson.AppDeprecation | NullableJsonNullValueInput;
584
614
  aiPrompt?: NullableStringFieldUpdateOperationsInput | string | null;
615
+ aiMemory?: NullableStringFieldUpdateOperationsInput | string | null;
585
616
  urlIssues?: DbResourceUpdateurlIssuesInput | string[];
586
617
  tiers?: PrismaJson.TierVariant[] | NullableJsonNullValueInput;
587
618
  parentSlug?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -594,6 +625,7 @@ type DbResourceUncheckedUpdateInput = {
594
625
  extra?: PrismaJson.SubResourceExtra | NullableJsonNullValueInput;
595
626
  lastCheckedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
596
627
  nextCheckAfter?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
628
+ lastContentChangeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
597
629
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
598
630
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
599
631
  sourceRefs?: SourceReferenceUncheckedUpdateManyWithoutResourceNestedInput;
@@ -618,6 +650,7 @@ type DbResourceCreateManyInput = {
618
650
  screenshotIds?: DbResourceCreatescreenshotIdsInput | string[];
619
651
  deprecated?: PrismaJson.AppDeprecation | NullableJsonNullValueInput;
620
652
  aiPrompt?: string | null;
653
+ aiMemory?: string | null;
621
654
  urlIssues?: DbResourceCreateurlIssuesInput | string[];
622
655
  tiers?: PrismaJson.TierVariant[] | NullableJsonNullValueInput;
623
656
  parentSlug?: string | null;
@@ -630,6 +663,7 @@ type DbResourceCreateManyInput = {
630
663
  extra?: PrismaJson.SubResourceExtra | NullableJsonNullValueInput;
631
664
  lastCheckedAt?: Date | string | null;
632
665
  nextCheckAfter?: Date | string | null;
666
+ lastContentChangeAt?: Date | string | null;
633
667
  createdAt?: Date | string;
634
668
  updatedAt?: Date | string;
635
669
  };
@@ -652,6 +686,7 @@ type DbResourceUpdateManyMutationInput = {
652
686
  screenshotIds?: DbResourceUpdatescreenshotIdsInput | string[];
653
687
  deprecated?: PrismaJson.AppDeprecation | NullableJsonNullValueInput;
654
688
  aiPrompt?: NullableStringFieldUpdateOperationsInput | string | null;
689
+ aiMemory?: NullableStringFieldUpdateOperationsInput | string | null;
655
690
  urlIssues?: DbResourceUpdateurlIssuesInput | string[];
656
691
  tiers?: PrismaJson.TierVariant[] | NullableJsonNullValueInput;
657
692
  tier?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -663,6 +698,7 @@ type DbResourceUpdateManyMutationInput = {
663
698
  extra?: PrismaJson.SubResourceExtra | NullableJsonNullValueInput;
664
699
  lastCheckedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
665
700
  nextCheckAfter?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
701
+ lastContentChangeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
666
702
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
667
703
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
668
704
  };
@@ -685,6 +721,7 @@ type DbResourceUncheckedUpdateManyInput = {
685
721
  screenshotIds?: DbResourceUpdatescreenshotIdsInput | string[];
686
722
  deprecated?: PrismaJson.AppDeprecation | NullableJsonNullValueInput;
687
723
  aiPrompt?: NullableStringFieldUpdateOperationsInput | string | null;
724
+ aiMemory?: NullableStringFieldUpdateOperationsInput | string | null;
688
725
  urlIssues?: DbResourceUpdateurlIssuesInput | string[];
689
726
  tiers?: PrismaJson.TierVariant[] | NullableJsonNullValueInput;
690
727
  parentSlug?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -697,6 +734,7 @@ type DbResourceUncheckedUpdateManyInput = {
697
734
  extra?: PrismaJson.SubResourceExtra | NullableJsonNullValueInput;
698
735
  lastCheckedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
699
736
  nextCheckAfter?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
737
+ lastContentChangeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
700
738
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
701
739
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
702
740
  };
@@ -731,6 +769,7 @@ type DbResourceCountOrderByAggregateInput = {
731
769
  screenshotIds?: SortOrder;
732
770
  deprecated?: SortOrder;
733
771
  aiPrompt?: SortOrder;
772
+ aiMemory?: SortOrder;
734
773
  urlIssues?: SortOrder;
735
774
  tiers?: SortOrder;
736
775
  parentSlug?: SortOrder;
@@ -743,6 +782,7 @@ type DbResourceCountOrderByAggregateInput = {
743
782
  extra?: SortOrder;
744
783
  lastCheckedAt?: SortOrder;
745
784
  nextCheckAfter?: SortOrder;
785
+ lastContentChangeAt?: SortOrder;
746
786
  createdAt?: SortOrder;
747
787
  updatedAt?: SortOrder;
748
788
  };
@@ -757,6 +797,7 @@ type DbResourceMaxOrderByAggregateInput = {
757
797
  appUrl?: SortOrder;
758
798
  iconName?: SortOrder;
759
799
  aiPrompt?: SortOrder;
800
+ aiMemory?: SortOrder;
760
801
  parentSlug?: SortOrder;
761
802
  tier?: SortOrder;
762
803
  familySlug?: SortOrder;
@@ -764,6 +805,7 @@ type DbResourceMaxOrderByAggregateInput = {
764
805
  accessComments?: SortOrder;
765
806
  lastCheckedAt?: SortOrder;
766
807
  nextCheckAfter?: SortOrder;
808
+ lastContentChangeAt?: SortOrder;
767
809
  createdAt?: SortOrder;
768
810
  updatedAt?: SortOrder;
769
811
  };
@@ -778,6 +820,7 @@ type DbResourceMinOrderByAggregateInput = {
778
820
  appUrl?: SortOrder;
779
821
  iconName?: SortOrder;
780
822
  aiPrompt?: SortOrder;
823
+ aiMemory?: SortOrder;
781
824
  parentSlug?: SortOrder;
782
825
  tier?: SortOrder;
783
826
  familySlug?: SortOrder;
@@ -785,6 +828,7 @@ type DbResourceMinOrderByAggregateInput = {
785
828
  accessComments?: SortOrder;
786
829
  lastCheckedAt?: SortOrder;
787
830
  nextCheckAfter?: SortOrder;
831
+ lastContentChangeAt?: SortOrder;
788
832
  createdAt?: SortOrder;
789
833
  updatedAt?: SortOrder;
790
834
  };
@@ -924,6 +968,7 @@ type DbResourceCreateWithoutChildrenInput = {
924
968
  screenshotIds?: DbResourceCreatescreenshotIdsInput | string[];
925
969
  deprecated?: PrismaJson.AppDeprecation | NullableJsonNullValueInput;
926
970
  aiPrompt?: string | null;
971
+ aiMemory?: string | null;
927
972
  urlIssues?: DbResourceCreateurlIssuesInput | string[];
928
973
  tiers?: PrismaJson.TierVariant[] | NullableJsonNullValueInput;
929
974
  tier?: string | null;
@@ -935,6 +980,7 @@ type DbResourceCreateWithoutChildrenInput = {
935
980
  extra?: PrismaJson.SubResourceExtra | NullableJsonNullValueInput;
936
981
  lastCheckedAt?: Date | string | null;
937
982
  nextCheckAfter?: Date | string | null;
983
+ lastContentChangeAt?: Date | string | null;
938
984
  createdAt?: Date | string;
939
985
  updatedAt?: Date | string;
940
986
  sourceRefs?: SourceReferenceCreateNestedManyWithoutResourceInput;
@@ -959,6 +1005,7 @@ type DbResourceUncheckedCreateWithoutChildrenInput = {
959
1005
  screenshotIds?: DbResourceCreatescreenshotIdsInput | string[];
960
1006
  deprecated?: PrismaJson.AppDeprecation | NullableJsonNullValueInput;
961
1007
  aiPrompt?: string | null;
1008
+ aiMemory?: string | null;
962
1009
  urlIssues?: DbResourceCreateurlIssuesInput | string[];
963
1010
  tiers?: PrismaJson.TierVariant[] | NullableJsonNullValueInput;
964
1011
  parentSlug?: string | null;
@@ -971,6 +1018,7 @@ type DbResourceUncheckedCreateWithoutChildrenInput = {
971
1018
  extra?: PrismaJson.SubResourceExtra | NullableJsonNullValueInput;
972
1019
  lastCheckedAt?: Date | string | null;
973
1020
  nextCheckAfter?: Date | string | null;
1021
+ lastContentChangeAt?: Date | string | null;
974
1022
  createdAt?: Date | string;
975
1023
  updatedAt?: Date | string;
976
1024
  sourceRefs?: SourceReferenceUncheckedCreateNestedManyWithoutResourceInput;
@@ -998,6 +1046,7 @@ type DbResourceCreateWithoutParentInput = {
998
1046
  screenshotIds?: DbResourceCreatescreenshotIdsInput | string[];
999
1047
  deprecated?: PrismaJson.AppDeprecation | NullableJsonNullValueInput;
1000
1048
  aiPrompt?: string | null;
1049
+ aiMemory?: string | null;
1001
1050
  urlIssues?: DbResourceCreateurlIssuesInput | string[];
1002
1051
  tiers?: PrismaJson.TierVariant[] | NullableJsonNullValueInput;
1003
1052
  tier?: string | null;
@@ -1009,6 +1058,7 @@ type DbResourceCreateWithoutParentInput = {
1009
1058
  extra?: PrismaJson.SubResourceExtra | NullableJsonNullValueInput;
1010
1059
  lastCheckedAt?: Date | string | null;
1011
1060
  nextCheckAfter?: Date | string | null;
1061
+ lastContentChangeAt?: Date | string | null;
1012
1062
  createdAt?: Date | string;
1013
1063
  updatedAt?: Date | string;
1014
1064
  sourceRefs?: SourceReferenceCreateNestedManyWithoutResourceInput;
@@ -1033,6 +1083,7 @@ type DbResourceUncheckedCreateWithoutParentInput = {
1033
1083
  screenshotIds?: DbResourceCreatescreenshotIdsInput | string[];
1034
1084
  deprecated?: PrismaJson.AppDeprecation | NullableJsonNullValueInput;
1035
1085
  aiPrompt?: string | null;
1086
+ aiMemory?: string | null;
1036
1087
  urlIssues?: DbResourceCreateurlIssuesInput | string[];
1037
1088
  tiers?: PrismaJson.TierVariant[] | NullableJsonNullValueInput;
1038
1089
  tier?: string | null;
@@ -1044,6 +1095,7 @@ type DbResourceUncheckedCreateWithoutParentInput = {
1044
1095
  extra?: PrismaJson.SubResourceExtra | NullableJsonNullValueInput;
1045
1096
  lastCheckedAt?: Date | string | null;
1046
1097
  nextCheckAfter?: Date | string | null;
1098
+ lastContentChangeAt?: Date | string | null;
1047
1099
  createdAt?: Date | string;
1048
1100
  updatedAt?: Date | string;
1049
1101
  sourceRefs?: SourceReferenceUncheckedCreateNestedManyWithoutResourceInput;
@@ -1085,6 +1137,7 @@ type DbResourceUpdateWithoutChildrenInput = {
1085
1137
  screenshotIds?: DbResourceUpdatescreenshotIdsInput | string[];
1086
1138
  deprecated?: PrismaJson.AppDeprecation | NullableJsonNullValueInput;
1087
1139
  aiPrompt?: NullableStringFieldUpdateOperationsInput | string | null;
1140
+ aiMemory?: NullableStringFieldUpdateOperationsInput | string | null;
1088
1141
  urlIssues?: DbResourceUpdateurlIssuesInput | string[];
1089
1142
  tiers?: PrismaJson.TierVariant[] | NullableJsonNullValueInput;
1090
1143
  tier?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -1096,6 +1149,7 @@ type DbResourceUpdateWithoutChildrenInput = {
1096
1149
  extra?: PrismaJson.SubResourceExtra | NullableJsonNullValueInput;
1097
1150
  lastCheckedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1098
1151
  nextCheckAfter?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1152
+ lastContentChangeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1099
1153
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
1100
1154
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
1101
1155
  sourceRefs?: SourceReferenceUpdateManyWithoutResourceNestedInput;
@@ -1120,6 +1174,7 @@ type DbResourceUncheckedUpdateWithoutChildrenInput = {
1120
1174
  screenshotIds?: DbResourceUpdatescreenshotIdsInput | string[];
1121
1175
  deprecated?: PrismaJson.AppDeprecation | NullableJsonNullValueInput;
1122
1176
  aiPrompt?: NullableStringFieldUpdateOperationsInput | string | null;
1177
+ aiMemory?: NullableStringFieldUpdateOperationsInput | string | null;
1123
1178
  urlIssues?: DbResourceUpdateurlIssuesInput | string[];
1124
1179
  tiers?: PrismaJson.TierVariant[] | NullableJsonNullValueInput;
1125
1180
  parentSlug?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -1132,6 +1187,7 @@ type DbResourceUncheckedUpdateWithoutChildrenInput = {
1132
1187
  extra?: PrismaJson.SubResourceExtra | NullableJsonNullValueInput;
1133
1188
  lastCheckedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1134
1189
  nextCheckAfter?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1190
+ lastContentChangeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1135
1191
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
1136
1192
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
1137
1193
  sourceRefs?: SourceReferenceUncheckedUpdateManyWithoutResourceNestedInput;
@@ -1171,6 +1227,7 @@ type DbResourceScalarWhereInput = {
1171
1227
  screenshotIds?: StringNullableListFilter<"DbResource">;
1172
1228
  deprecated?: JsonNullableFilter<"DbResource">;
1173
1229
  aiPrompt?: StringNullableFilter<"DbResource"> | string | null;
1230
+ aiMemory?: StringNullableFilter<"DbResource"> | string | null;
1174
1231
  urlIssues?: StringNullableListFilter<"DbResource">;
1175
1232
  tiers?: JsonNullableFilter<"DbResource">;
1176
1233
  parentSlug?: StringNullableFilter<"DbResource"> | string | null;
@@ -1183,6 +1240,7 @@ type DbResourceScalarWhereInput = {
1183
1240
  extra?: JsonNullableFilter<"DbResource">;
1184
1241
  lastCheckedAt?: DateTimeNullableFilter<"DbResource"> | Date | string | null;
1185
1242
  nextCheckAfter?: DateTimeNullableFilter<"DbResource"> | Date | string | null;
1243
+ lastContentChangeAt?: DateTimeNullableFilter<"DbResource"> | Date | string | null;
1186
1244
  createdAt?: DateTimeFilter<"DbResource"> | Date | string;
1187
1245
  updatedAt?: DateTimeFilter<"DbResource"> | Date | string;
1188
1246
  };
@@ -1205,6 +1263,7 @@ type DbResourceCreateWithoutSourceRefsInput = {
1205
1263
  screenshotIds?: DbResourceCreatescreenshotIdsInput | string[];
1206
1264
  deprecated?: PrismaJson.AppDeprecation | NullableJsonNullValueInput;
1207
1265
  aiPrompt?: string | null;
1266
+ aiMemory?: string | null;
1208
1267
  urlIssues?: DbResourceCreateurlIssuesInput | string[];
1209
1268
  tiers?: PrismaJson.TierVariant[] | NullableJsonNullValueInput;
1210
1269
  tier?: string | null;
@@ -1216,6 +1275,7 @@ type DbResourceCreateWithoutSourceRefsInput = {
1216
1275
  extra?: PrismaJson.SubResourceExtra | NullableJsonNullValueInput;
1217
1276
  lastCheckedAt?: Date | string | null;
1218
1277
  nextCheckAfter?: Date | string | null;
1278
+ lastContentChangeAt?: Date | string | null;
1219
1279
  createdAt?: Date | string;
1220
1280
  updatedAt?: Date | string;
1221
1281
  parent?: DbResourceCreateNestedOneWithoutChildrenInput;
@@ -1240,6 +1300,7 @@ type DbResourceUncheckedCreateWithoutSourceRefsInput = {
1240
1300
  screenshotIds?: DbResourceCreatescreenshotIdsInput | string[];
1241
1301
  deprecated?: PrismaJson.AppDeprecation | NullableJsonNullValueInput;
1242
1302
  aiPrompt?: string | null;
1303
+ aiMemory?: string | null;
1243
1304
  urlIssues?: DbResourceCreateurlIssuesInput | string[];
1244
1305
  tiers?: PrismaJson.TierVariant[] | NullableJsonNullValueInput;
1245
1306
  parentSlug?: string | null;
@@ -1252,6 +1313,7 @@ type DbResourceUncheckedCreateWithoutSourceRefsInput = {
1252
1313
  extra?: PrismaJson.SubResourceExtra | NullableJsonNullValueInput;
1253
1314
  lastCheckedAt?: Date | string | null;
1254
1315
  nextCheckAfter?: Date | string | null;
1316
+ lastContentChangeAt?: Date | string | null;
1255
1317
  createdAt?: Date | string;
1256
1318
  updatedAt?: Date | string;
1257
1319
  children?: DbResourceUncheckedCreateNestedManyWithoutParentInput;
@@ -1288,6 +1350,7 @@ type DbResourceUpdateWithoutSourceRefsInput = {
1288
1350
  screenshotIds?: DbResourceUpdatescreenshotIdsInput | string[];
1289
1351
  deprecated?: PrismaJson.AppDeprecation | NullableJsonNullValueInput;
1290
1352
  aiPrompt?: NullableStringFieldUpdateOperationsInput | string | null;
1353
+ aiMemory?: NullableStringFieldUpdateOperationsInput | string | null;
1291
1354
  urlIssues?: DbResourceUpdateurlIssuesInput | string[];
1292
1355
  tiers?: PrismaJson.TierVariant[] | NullableJsonNullValueInput;
1293
1356
  tier?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -1299,6 +1362,7 @@ type DbResourceUpdateWithoutSourceRefsInput = {
1299
1362
  extra?: PrismaJson.SubResourceExtra | NullableJsonNullValueInput;
1300
1363
  lastCheckedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1301
1364
  nextCheckAfter?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1365
+ lastContentChangeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1302
1366
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
1303
1367
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
1304
1368
  parent?: DbResourceUpdateOneWithoutChildrenNestedInput;
@@ -1323,6 +1387,7 @@ type DbResourceUncheckedUpdateWithoutSourceRefsInput = {
1323
1387
  screenshotIds?: DbResourceUpdatescreenshotIdsInput | string[];
1324
1388
  deprecated?: PrismaJson.AppDeprecation | NullableJsonNullValueInput;
1325
1389
  aiPrompt?: NullableStringFieldUpdateOperationsInput | string | null;
1390
+ aiMemory?: NullableStringFieldUpdateOperationsInput | string | null;
1326
1391
  urlIssues?: DbResourceUpdateurlIssuesInput | string[];
1327
1392
  tiers?: PrismaJson.TierVariant[] | NullableJsonNullValueInput;
1328
1393
  parentSlug?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -1335,6 +1400,7 @@ type DbResourceUncheckedUpdateWithoutSourceRefsInput = {
1335
1400
  extra?: PrismaJson.SubResourceExtra | NullableJsonNullValueInput;
1336
1401
  lastCheckedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1337
1402
  nextCheckAfter?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1403
+ lastContentChangeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1338
1404
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
1339
1405
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
1340
1406
  children?: DbResourceUncheckedUpdateManyWithoutParentNestedInput;
@@ -1358,6 +1424,7 @@ type DbResourceCreateManyParentInput = {
1358
1424
  screenshotIds?: DbResourceCreatescreenshotIdsInput | string[];
1359
1425
  deprecated?: PrismaJson.AppDeprecation | NullableJsonNullValueInput;
1360
1426
  aiPrompt?: string | null;
1427
+ aiMemory?: string | null;
1361
1428
  urlIssues?: DbResourceCreateurlIssuesInput | string[];
1362
1429
  tiers?: PrismaJson.TierVariant[] | NullableJsonNullValueInput;
1363
1430
  tier?: string | null;
@@ -1369,6 +1436,7 @@ type DbResourceCreateManyParentInput = {
1369
1436
  extra?: PrismaJson.SubResourceExtra | NullableJsonNullValueInput;
1370
1437
  lastCheckedAt?: Date | string | null;
1371
1438
  nextCheckAfter?: Date | string | null;
1439
+ lastContentChangeAt?: Date | string | null;
1372
1440
  createdAt?: Date | string;
1373
1441
  updatedAt?: Date | string;
1374
1442
  };
@@ -1391,6 +1459,7 @@ type DbResourceUpdateWithoutParentInput = {
1391
1459
  screenshotIds?: DbResourceUpdatescreenshotIdsInput | string[];
1392
1460
  deprecated?: PrismaJson.AppDeprecation | NullableJsonNullValueInput;
1393
1461
  aiPrompt?: NullableStringFieldUpdateOperationsInput | string | null;
1462
+ aiMemory?: NullableStringFieldUpdateOperationsInput | string | null;
1394
1463
  urlIssues?: DbResourceUpdateurlIssuesInput | string[];
1395
1464
  tiers?: PrismaJson.TierVariant[] | NullableJsonNullValueInput;
1396
1465
  tier?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -1402,6 +1471,7 @@ type DbResourceUpdateWithoutParentInput = {
1402
1471
  extra?: PrismaJson.SubResourceExtra | NullableJsonNullValueInput;
1403
1472
  lastCheckedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1404
1473
  nextCheckAfter?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1474
+ lastContentChangeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1405
1475
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
1406
1476
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
1407
1477
  sourceRefs?: SourceReferenceUpdateManyWithoutResourceNestedInput;
@@ -1426,6 +1496,7 @@ type DbResourceUncheckedUpdateWithoutParentInput = {
1426
1496
  screenshotIds?: DbResourceUpdatescreenshotIdsInput | string[];
1427
1497
  deprecated?: PrismaJson.AppDeprecation | NullableJsonNullValueInput;
1428
1498
  aiPrompt?: NullableStringFieldUpdateOperationsInput | string | null;
1499
+ aiMemory?: NullableStringFieldUpdateOperationsInput | string | null;
1429
1500
  urlIssues?: DbResourceUpdateurlIssuesInput | string[];
1430
1501
  tiers?: PrismaJson.TierVariant[] | NullableJsonNullValueInput;
1431
1502
  tier?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -1437,6 +1508,7 @@ type DbResourceUncheckedUpdateWithoutParentInput = {
1437
1508
  extra?: PrismaJson.SubResourceExtra | NullableJsonNullValueInput;
1438
1509
  lastCheckedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1439
1510
  nextCheckAfter?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1511
+ lastContentChangeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1440
1512
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
1441
1513
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
1442
1514
  sourceRefs?: SourceReferenceUncheckedUpdateManyWithoutResourceNestedInput;
@@ -1461,6 +1533,7 @@ type DbResourceUncheckedUpdateManyWithoutParentInput = {
1461
1533
  screenshotIds?: DbResourceUpdatescreenshotIdsInput | string[];
1462
1534
  deprecated?: PrismaJson.AppDeprecation | NullableJsonNullValueInput;
1463
1535
  aiPrompt?: NullableStringFieldUpdateOperationsInput | string | null;
1536
+ aiMemory?: NullableStringFieldUpdateOperationsInput | string | null;
1464
1537
  urlIssues?: DbResourceUpdateurlIssuesInput | string[];
1465
1538
  tiers?: PrismaJson.TierVariant[] | NullableJsonNullValueInput;
1466
1539
  tier?: NullableStringFieldUpdateOperationsInput | string | null;
@@ -1472,6 +1545,7 @@ type DbResourceUncheckedUpdateManyWithoutParentInput = {
1472
1545
  extra?: PrismaJson.SubResourceExtra | NullableJsonNullValueInput;
1473
1546
  lastCheckedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1474
1547
  nextCheckAfter?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1548
+ lastContentChangeAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1475
1549
  createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
1476
1550
  updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
1477
1551
  };
@@ -1519,6 +1593,7 @@ type DbResourceSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = ru
1519
1593
  screenshotIds?: boolean;
1520
1594
  deprecated?: boolean;
1521
1595
  aiPrompt?: boolean;
1596
+ aiMemory?: boolean;
1522
1597
  urlIssues?: boolean;
1523
1598
  tiers?: boolean;
1524
1599
  parentSlug?: boolean;
@@ -1531,6 +1606,7 @@ type DbResourceSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = ru
1531
1606
  extra?: boolean;
1532
1607
  lastCheckedAt?: boolean;
1533
1608
  nextCheckAfter?: boolean;
1609
+ lastContentChangeAt?: boolean;
1534
1610
  createdAt?: boolean;
1535
1611
  updatedAt?: boolean;
1536
1612
  sourceRefs?: boolean | DbResource$sourceRefsArgs<ExtArgs>;
@@ -1557,6 +1633,7 @@ type DbResourceSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extension
1557
1633
  screenshotIds?: boolean;
1558
1634
  deprecated?: boolean;
1559
1635
  aiPrompt?: boolean;
1636
+ aiMemory?: boolean;
1560
1637
  urlIssues?: boolean;
1561
1638
  tiers?: boolean;
1562
1639
  parentSlug?: boolean;
@@ -1569,6 +1646,7 @@ type DbResourceSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extension
1569
1646
  extra?: boolean;
1570
1647
  lastCheckedAt?: boolean;
1571
1648
  nextCheckAfter?: boolean;
1649
+ lastContentChangeAt?: boolean;
1572
1650
  createdAt?: boolean;
1573
1651
  updatedAt?: boolean;
1574
1652
  parent?: boolean | DbResource$parentArgs<ExtArgs>;
@@ -1592,6 +1670,7 @@ type DbResourceSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extension
1592
1670
  screenshotIds?: boolean;
1593
1671
  deprecated?: boolean;
1594
1672
  aiPrompt?: boolean;
1673
+ aiMemory?: boolean;
1595
1674
  urlIssues?: boolean;
1596
1675
  tiers?: boolean;
1597
1676
  parentSlug?: boolean;
@@ -1604,11 +1683,12 @@ type DbResourceSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extension
1604
1683
  extra?: boolean;
1605
1684
  lastCheckedAt?: boolean;
1606
1685
  nextCheckAfter?: boolean;
1686
+ lastContentChangeAt?: boolean;
1607
1687
  createdAt?: boolean;
1608
1688
  updatedAt?: boolean;
1609
1689
  parent?: boolean | DbResource$parentArgs<ExtArgs>;
1610
1690
  }, ExtArgs["result"]["dbResource"]>;
1611
- 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" | "urlIssues" | "tiers" | "parentSlug" | "tier" | "familySlug" | "aliases" | "ownerPersonSlug" | "accessMaintainerGroupSlugs" | "accessComments" | "extra" | "lastCheckedAt" | "nextCheckAfter" | "createdAt" | "updatedAt", ExtArgs["result"]["dbResource"]>;
1691
+ 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" | "familySlug" | "aliases" | "ownerPersonSlug" | "accessMaintainerGroupSlugs" | "accessComments" | "extra" | "lastCheckedAt" | "nextCheckAfter" | "lastContentChangeAt" | "createdAt" | "updatedAt", ExtArgs["result"]["dbResource"]>;
1612
1692
  type DbResourceInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1613
1693
  sourceRefs?: boolean | DbResource$sourceRefsArgs<ExtArgs>;
1614
1694
  parent?: boolean | DbResource$parentArgs<ExtArgs>;
@@ -1659,6 +1739,7 @@ type $DbResourcePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
1659
1739
  */
1660
1740
  deprecated: PrismaJson.AppDeprecation | null;
1661
1741
  aiPrompt: string | null;
1742
+ aiMemory: string | null;
1662
1743
  urlIssues: string[];
1663
1744
  /**
1664
1745
  * [TierVariant[]]
@@ -1677,6 +1758,7 @@ type $DbResourcePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
1677
1758
  extra: PrismaJson.SubResourceExtra | null;
1678
1759
  lastCheckedAt: Date | null;
1679
1760
  nextCheckAfter: Date | null;
1761
+ lastContentChangeAt: Date | null;
1680
1762
  createdAt: Date;
1681
1763
  updatedAt: Date;
1682
1764
  }, ExtArgs["result"]["dbResource"]>;
@@ -2040,6 +2122,7 @@ interface DbResourceFieldRefs {
2040
2122
  readonly screenshotIds: FieldRef<"DbResource", 'String[]'>;
2041
2123
  readonly deprecated: FieldRef<"DbResource", 'Json'>;
2042
2124
  readonly aiPrompt: FieldRef<"DbResource", 'String'>;
2125
+ readonly aiMemory: FieldRef<"DbResource", 'String'>;
2043
2126
  readonly urlIssues: FieldRef<"DbResource", 'String[]'>;
2044
2127
  readonly tiers: FieldRef<"DbResource", 'Json'>;
2045
2128
  readonly parentSlug: FieldRef<"DbResource", 'String'>;
@@ -2052,6 +2135,7 @@ interface DbResourceFieldRefs {
2052
2135
  readonly extra: FieldRef<"DbResource", 'Json'>;
2053
2136
  readonly lastCheckedAt: FieldRef<"DbResource", 'DateTime'>;
2054
2137
  readonly nextCheckAfter: FieldRef<"DbResource", 'DateTime'>;
2138
+ readonly lastContentChangeAt: FieldRef<"DbResource", 'DateTime'>;
2055
2139
  readonly createdAt: FieldRef<"DbResource", 'DateTime'>;
2056
2140
  readonly updatedAt: FieldRef<"DbResource", 'DateTime'>;
2057
2141
  }