@igstack/app-catalog-backend-core 0.3.1-alpha-20260403020019 → 0.3.1-alpha-20260405015231
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.d.mts +11 -1
- package/dist/db/syncAppCatalog.d.mts.map +1 -1
- package/dist/db/syncAppCatalog.mjs +54 -2
- package/dist/db/syncAppCatalog.mjs.map +1 -1
- package/dist/db/tableSyncMagazine.d.mts +18 -0
- package/dist/db/tableSyncMagazine.d.mts.map +1 -1
- package/dist/db/tableSyncMagazine.mjs +18 -0
- package/dist/db/tableSyncMagazine.mjs.map +1 -1
- package/dist/generated/prisma/client.mjs.map +1 -1
- package/dist/generated/prisma/commonInputTypes.d.mts +50 -50
- package/dist/generated/prisma/commonInputTypes.d.mts.map +1 -1
- package/dist/generated/prisma/enums.d.mts +2 -0
- package/dist/generated/prisma/enums.d.mts.map +1 -1
- package/dist/generated/prisma/internal/class.d.mts +48 -0
- package/dist/generated/prisma/internal/class.d.mts.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 +362 -12
- package/dist/generated/prisma/internal/prismaNamespace.d.mts.map +1 -1
- package/dist/generated/prisma/models/DbAppForCatalog.d.mts +198 -3
- package/dist/generated/prisma/models/DbAppForCatalog.d.mts.map +1 -1
- package/dist/generated/prisma/models/DbAsset.d.mts +2 -8
- package/dist/generated/prisma/models/DbAsset.d.mts.map +1 -1
- package/dist/generated/prisma/models/DbGroup.d.mts +1124 -0
- package/dist/generated/prisma/models/DbGroup.d.mts.map +1 -0
- package/dist/generated/prisma/models/DbGroupMembership.d.mts +1199 -0
- package/dist/generated/prisma/models/DbGroupMembership.d.mts.map +1 -0
- package/dist/generated/prisma/models/DbPerson.d.mts +1155 -0
- package/dist/generated/prisma/models/DbPerson.d.mts.map +1 -0
- package/dist/generated/prisma/models/DbSubResource.d.mts +1468 -0
- package/dist/generated/prisma/models/DbSubResource.d.mts.map +1 -0
- package/dist/generated/prisma/models/SourceReference.d.mts +1 -1
- package/dist/generated/prisma/models.d.mts +6 -2
- package/dist/index.d.mts +5 -3
- package/dist/middleware/featureRegistry.mjs +5 -1
- package/dist/middleware/featureRegistry.mjs.map +1 -1
- package/dist/modules/appCatalog/checkLinks.d.mts.map +1 -1
- package/dist/modules/appCatalog/checkLinks.mjs +31 -2
- package/dist/modules/appCatalog/checkLinks.mjs.map +1 -1
- package/dist/modules/appCatalog/service.mjs +52 -5
- package/dist/modules/appCatalog/service.mjs.map +1 -1
- package/dist/modules/auth/registerAuthRoutes.mjs +5 -1
- package/dist/modules/auth/registerAuthRoutes.mjs.map +1 -1
- package/dist/modules/lighthouseKeeper/tools.d.mts +1 -1
- package/dist/modules/lighthouseKeeper/tools.mjs +1 -1
- package/dist/modules/lighthouseKeeper/tools.mjs.map +1 -1
- package/dist/types/common/appCatalogTypes.d.mts +19 -1
- package/dist/types/common/appCatalogTypes.d.mts.map +1 -1
- package/dist/types/common/approvalMethodTypes.d.mts +52 -36
- package/dist/types/common/approvalMethodTypes.d.mts.map +1 -1
- package/dist/types/common/personGroupTypes.d.mts +22 -0
- package/dist/types/common/personGroupTypes.d.mts.map +1 -0
- package/dist/types/common/subResourceTypes.d.mts +24 -0
- package/dist/types/common/subResourceTypes.d.mts.map +1 -0
- package/package.json +3 -3
- package/prisma/schema.prisma +59 -0
- package/src/db/syncAppCatalog.ts +73 -1
- package/src/db/tableSyncMagazine.ts +18 -0
- package/src/generated/prisma/browser.ts +20 -0
- package/src/generated/prisma/client.ts +20 -0
- package/src/generated/prisma/commonInputTypes.ts +54 -54
- package/src/generated/prisma/enums.ts +3 -1
- package/src/generated/prisma/internal/class.ts +44 -4
- package/src/generated/prisma/internal/prismaNamespace.ts +373 -15
- package/src/generated/prisma/internal/prismaNamespaceBrowser.ts +58 -0
- package/src/generated/prisma/models/DbAppForCatalog.ts +208 -1
- package/src/generated/prisma/models/DbAsset.ts +0 -8
- package/src/generated/prisma/models/DbGroup.ts +1324 -0
- package/src/generated/prisma/models/DbGroupMembership.ts +1432 -0
- package/src/generated/prisma/models/DbPerson.ts +1356 -0
- package/src/generated/prisma/models/DbSubResource.ts +1692 -0
- package/src/generated/prisma/models.ts +4 -0
- package/src/middleware/featureRegistry.ts +4 -1
- package/src/modules/appCatalog/checkLinks.ts +58 -5
- package/src/modules/appCatalog/service.ts +80 -6
- package/src/modules/auth/registerAuthRoutes.ts +4 -1
- package/src/modules/lighthouseKeeper/tools.ts +1 -1
- package/src/prisma-json-types.d.ts +6 -0
- package/src/types/common/appCatalogTypes.ts +23 -0
- package/src/types/common/approvalMethodTypes.ts +59 -57
- package/src/types/common/personGroupTypes.ts +20 -0
- package/src/types/common/subResourceTypes.ts +20 -0
- package/src/types/index.ts +2 -0
|
@@ -388,8 +388,12 @@ export const ModelName = {
|
|
|
388
388
|
session: 'session',
|
|
389
389
|
account: 'account',
|
|
390
390
|
verification: 'verification',
|
|
391
|
+
DbPerson: 'DbPerson',
|
|
392
|
+
DbGroup: 'DbGroup',
|
|
393
|
+
DbGroupMembership: 'DbGroupMembership',
|
|
391
394
|
DbApprovalMethod: 'DbApprovalMethod',
|
|
392
395
|
DbAppForCatalog: 'DbAppForCatalog',
|
|
396
|
+
DbSubResource: 'DbSubResource',
|
|
393
397
|
DbAppTagDefinition: 'DbAppTagDefinition',
|
|
394
398
|
DbAsset: 'DbAsset',
|
|
395
399
|
Source: 'Source',
|
|
@@ -409,7 +413,7 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
409
413
|
omit: GlobalOmitOptions
|
|
410
414
|
}
|
|
411
415
|
meta: {
|
|
412
|
-
modelProps: "user" | "session" | "account" | "verification" | "dbApprovalMethod" | "dbAppForCatalog" | "dbAppTagDefinition" | "dbAsset" | "source" | "sourceReference"
|
|
416
|
+
modelProps: "user" | "session" | "account" | "verification" | "dbPerson" | "dbGroup" | "dbGroupMembership" | "dbApprovalMethod" | "dbAppForCatalog" | "dbSubResource" | "dbAppTagDefinition" | "dbAsset" | "source" | "sourceReference"
|
|
413
417
|
txIsolationLevel: TransactionIsolationLevel
|
|
414
418
|
}
|
|
415
419
|
model: {
|
|
@@ -709,6 +713,228 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
709
713
|
}
|
|
710
714
|
}
|
|
711
715
|
}
|
|
716
|
+
DbPerson: {
|
|
717
|
+
payload: Prisma.$DbPersonPayload<ExtArgs>
|
|
718
|
+
fields: Prisma.DbPersonFieldRefs
|
|
719
|
+
operations: {
|
|
720
|
+
findUnique: {
|
|
721
|
+
args: Prisma.DbPersonFindUniqueArgs<ExtArgs>
|
|
722
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbPersonPayload> | null
|
|
723
|
+
}
|
|
724
|
+
findUniqueOrThrow: {
|
|
725
|
+
args: Prisma.DbPersonFindUniqueOrThrowArgs<ExtArgs>
|
|
726
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbPersonPayload>
|
|
727
|
+
}
|
|
728
|
+
findFirst: {
|
|
729
|
+
args: Prisma.DbPersonFindFirstArgs<ExtArgs>
|
|
730
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbPersonPayload> | null
|
|
731
|
+
}
|
|
732
|
+
findFirstOrThrow: {
|
|
733
|
+
args: Prisma.DbPersonFindFirstOrThrowArgs<ExtArgs>
|
|
734
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbPersonPayload>
|
|
735
|
+
}
|
|
736
|
+
findMany: {
|
|
737
|
+
args: Prisma.DbPersonFindManyArgs<ExtArgs>
|
|
738
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbPersonPayload>[]
|
|
739
|
+
}
|
|
740
|
+
create: {
|
|
741
|
+
args: Prisma.DbPersonCreateArgs<ExtArgs>
|
|
742
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbPersonPayload>
|
|
743
|
+
}
|
|
744
|
+
createMany: {
|
|
745
|
+
args: Prisma.DbPersonCreateManyArgs<ExtArgs>
|
|
746
|
+
result: BatchPayload
|
|
747
|
+
}
|
|
748
|
+
createManyAndReturn: {
|
|
749
|
+
args: Prisma.DbPersonCreateManyAndReturnArgs<ExtArgs>
|
|
750
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbPersonPayload>[]
|
|
751
|
+
}
|
|
752
|
+
delete: {
|
|
753
|
+
args: Prisma.DbPersonDeleteArgs<ExtArgs>
|
|
754
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbPersonPayload>
|
|
755
|
+
}
|
|
756
|
+
update: {
|
|
757
|
+
args: Prisma.DbPersonUpdateArgs<ExtArgs>
|
|
758
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbPersonPayload>
|
|
759
|
+
}
|
|
760
|
+
deleteMany: {
|
|
761
|
+
args: Prisma.DbPersonDeleteManyArgs<ExtArgs>
|
|
762
|
+
result: BatchPayload
|
|
763
|
+
}
|
|
764
|
+
updateMany: {
|
|
765
|
+
args: Prisma.DbPersonUpdateManyArgs<ExtArgs>
|
|
766
|
+
result: BatchPayload
|
|
767
|
+
}
|
|
768
|
+
updateManyAndReturn: {
|
|
769
|
+
args: Prisma.DbPersonUpdateManyAndReturnArgs<ExtArgs>
|
|
770
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbPersonPayload>[]
|
|
771
|
+
}
|
|
772
|
+
upsert: {
|
|
773
|
+
args: Prisma.DbPersonUpsertArgs<ExtArgs>
|
|
774
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbPersonPayload>
|
|
775
|
+
}
|
|
776
|
+
aggregate: {
|
|
777
|
+
args: Prisma.DbPersonAggregateArgs<ExtArgs>
|
|
778
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateDbPerson>
|
|
779
|
+
}
|
|
780
|
+
groupBy: {
|
|
781
|
+
args: Prisma.DbPersonGroupByArgs<ExtArgs>
|
|
782
|
+
result: runtime.Types.Utils.Optional<Prisma.DbPersonGroupByOutputType>[]
|
|
783
|
+
}
|
|
784
|
+
count: {
|
|
785
|
+
args: Prisma.DbPersonCountArgs<ExtArgs>
|
|
786
|
+
result: runtime.Types.Utils.Optional<Prisma.DbPersonCountAggregateOutputType> | number
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
DbGroup: {
|
|
791
|
+
payload: Prisma.$DbGroupPayload<ExtArgs>
|
|
792
|
+
fields: Prisma.DbGroupFieldRefs
|
|
793
|
+
operations: {
|
|
794
|
+
findUnique: {
|
|
795
|
+
args: Prisma.DbGroupFindUniqueArgs<ExtArgs>
|
|
796
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbGroupPayload> | null
|
|
797
|
+
}
|
|
798
|
+
findUniqueOrThrow: {
|
|
799
|
+
args: Prisma.DbGroupFindUniqueOrThrowArgs<ExtArgs>
|
|
800
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbGroupPayload>
|
|
801
|
+
}
|
|
802
|
+
findFirst: {
|
|
803
|
+
args: Prisma.DbGroupFindFirstArgs<ExtArgs>
|
|
804
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbGroupPayload> | null
|
|
805
|
+
}
|
|
806
|
+
findFirstOrThrow: {
|
|
807
|
+
args: Prisma.DbGroupFindFirstOrThrowArgs<ExtArgs>
|
|
808
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbGroupPayload>
|
|
809
|
+
}
|
|
810
|
+
findMany: {
|
|
811
|
+
args: Prisma.DbGroupFindManyArgs<ExtArgs>
|
|
812
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbGroupPayload>[]
|
|
813
|
+
}
|
|
814
|
+
create: {
|
|
815
|
+
args: Prisma.DbGroupCreateArgs<ExtArgs>
|
|
816
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbGroupPayload>
|
|
817
|
+
}
|
|
818
|
+
createMany: {
|
|
819
|
+
args: Prisma.DbGroupCreateManyArgs<ExtArgs>
|
|
820
|
+
result: BatchPayload
|
|
821
|
+
}
|
|
822
|
+
createManyAndReturn: {
|
|
823
|
+
args: Prisma.DbGroupCreateManyAndReturnArgs<ExtArgs>
|
|
824
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbGroupPayload>[]
|
|
825
|
+
}
|
|
826
|
+
delete: {
|
|
827
|
+
args: Prisma.DbGroupDeleteArgs<ExtArgs>
|
|
828
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbGroupPayload>
|
|
829
|
+
}
|
|
830
|
+
update: {
|
|
831
|
+
args: Prisma.DbGroupUpdateArgs<ExtArgs>
|
|
832
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbGroupPayload>
|
|
833
|
+
}
|
|
834
|
+
deleteMany: {
|
|
835
|
+
args: Prisma.DbGroupDeleteManyArgs<ExtArgs>
|
|
836
|
+
result: BatchPayload
|
|
837
|
+
}
|
|
838
|
+
updateMany: {
|
|
839
|
+
args: Prisma.DbGroupUpdateManyArgs<ExtArgs>
|
|
840
|
+
result: BatchPayload
|
|
841
|
+
}
|
|
842
|
+
updateManyAndReturn: {
|
|
843
|
+
args: Prisma.DbGroupUpdateManyAndReturnArgs<ExtArgs>
|
|
844
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbGroupPayload>[]
|
|
845
|
+
}
|
|
846
|
+
upsert: {
|
|
847
|
+
args: Prisma.DbGroupUpsertArgs<ExtArgs>
|
|
848
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbGroupPayload>
|
|
849
|
+
}
|
|
850
|
+
aggregate: {
|
|
851
|
+
args: Prisma.DbGroupAggregateArgs<ExtArgs>
|
|
852
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateDbGroup>
|
|
853
|
+
}
|
|
854
|
+
groupBy: {
|
|
855
|
+
args: Prisma.DbGroupGroupByArgs<ExtArgs>
|
|
856
|
+
result: runtime.Types.Utils.Optional<Prisma.DbGroupGroupByOutputType>[]
|
|
857
|
+
}
|
|
858
|
+
count: {
|
|
859
|
+
args: Prisma.DbGroupCountArgs<ExtArgs>
|
|
860
|
+
result: runtime.Types.Utils.Optional<Prisma.DbGroupCountAggregateOutputType> | number
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
}
|
|
864
|
+
DbGroupMembership: {
|
|
865
|
+
payload: Prisma.$DbGroupMembershipPayload<ExtArgs>
|
|
866
|
+
fields: Prisma.DbGroupMembershipFieldRefs
|
|
867
|
+
operations: {
|
|
868
|
+
findUnique: {
|
|
869
|
+
args: Prisma.DbGroupMembershipFindUniqueArgs<ExtArgs>
|
|
870
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbGroupMembershipPayload> | null
|
|
871
|
+
}
|
|
872
|
+
findUniqueOrThrow: {
|
|
873
|
+
args: Prisma.DbGroupMembershipFindUniqueOrThrowArgs<ExtArgs>
|
|
874
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbGroupMembershipPayload>
|
|
875
|
+
}
|
|
876
|
+
findFirst: {
|
|
877
|
+
args: Prisma.DbGroupMembershipFindFirstArgs<ExtArgs>
|
|
878
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbGroupMembershipPayload> | null
|
|
879
|
+
}
|
|
880
|
+
findFirstOrThrow: {
|
|
881
|
+
args: Prisma.DbGroupMembershipFindFirstOrThrowArgs<ExtArgs>
|
|
882
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbGroupMembershipPayload>
|
|
883
|
+
}
|
|
884
|
+
findMany: {
|
|
885
|
+
args: Prisma.DbGroupMembershipFindManyArgs<ExtArgs>
|
|
886
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbGroupMembershipPayload>[]
|
|
887
|
+
}
|
|
888
|
+
create: {
|
|
889
|
+
args: Prisma.DbGroupMembershipCreateArgs<ExtArgs>
|
|
890
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbGroupMembershipPayload>
|
|
891
|
+
}
|
|
892
|
+
createMany: {
|
|
893
|
+
args: Prisma.DbGroupMembershipCreateManyArgs<ExtArgs>
|
|
894
|
+
result: BatchPayload
|
|
895
|
+
}
|
|
896
|
+
createManyAndReturn: {
|
|
897
|
+
args: Prisma.DbGroupMembershipCreateManyAndReturnArgs<ExtArgs>
|
|
898
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbGroupMembershipPayload>[]
|
|
899
|
+
}
|
|
900
|
+
delete: {
|
|
901
|
+
args: Prisma.DbGroupMembershipDeleteArgs<ExtArgs>
|
|
902
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbGroupMembershipPayload>
|
|
903
|
+
}
|
|
904
|
+
update: {
|
|
905
|
+
args: Prisma.DbGroupMembershipUpdateArgs<ExtArgs>
|
|
906
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbGroupMembershipPayload>
|
|
907
|
+
}
|
|
908
|
+
deleteMany: {
|
|
909
|
+
args: Prisma.DbGroupMembershipDeleteManyArgs<ExtArgs>
|
|
910
|
+
result: BatchPayload
|
|
911
|
+
}
|
|
912
|
+
updateMany: {
|
|
913
|
+
args: Prisma.DbGroupMembershipUpdateManyArgs<ExtArgs>
|
|
914
|
+
result: BatchPayload
|
|
915
|
+
}
|
|
916
|
+
updateManyAndReturn: {
|
|
917
|
+
args: Prisma.DbGroupMembershipUpdateManyAndReturnArgs<ExtArgs>
|
|
918
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbGroupMembershipPayload>[]
|
|
919
|
+
}
|
|
920
|
+
upsert: {
|
|
921
|
+
args: Prisma.DbGroupMembershipUpsertArgs<ExtArgs>
|
|
922
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbGroupMembershipPayload>
|
|
923
|
+
}
|
|
924
|
+
aggregate: {
|
|
925
|
+
args: Prisma.DbGroupMembershipAggregateArgs<ExtArgs>
|
|
926
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateDbGroupMembership>
|
|
927
|
+
}
|
|
928
|
+
groupBy: {
|
|
929
|
+
args: Prisma.DbGroupMembershipGroupByArgs<ExtArgs>
|
|
930
|
+
result: runtime.Types.Utils.Optional<Prisma.DbGroupMembershipGroupByOutputType>[]
|
|
931
|
+
}
|
|
932
|
+
count: {
|
|
933
|
+
args: Prisma.DbGroupMembershipCountArgs<ExtArgs>
|
|
934
|
+
result: runtime.Types.Utils.Optional<Prisma.DbGroupMembershipCountAggregateOutputType> | number
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
}
|
|
712
938
|
DbApprovalMethod: {
|
|
713
939
|
payload: Prisma.$DbApprovalMethodPayload<ExtArgs>
|
|
714
940
|
fields: Prisma.DbApprovalMethodFieldRefs
|
|
@@ -857,6 +1083,80 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
857
1083
|
}
|
|
858
1084
|
}
|
|
859
1085
|
}
|
|
1086
|
+
DbSubResource: {
|
|
1087
|
+
payload: Prisma.$DbSubResourcePayload<ExtArgs>
|
|
1088
|
+
fields: Prisma.DbSubResourceFieldRefs
|
|
1089
|
+
operations: {
|
|
1090
|
+
findUnique: {
|
|
1091
|
+
args: Prisma.DbSubResourceFindUniqueArgs<ExtArgs>
|
|
1092
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbSubResourcePayload> | null
|
|
1093
|
+
}
|
|
1094
|
+
findUniqueOrThrow: {
|
|
1095
|
+
args: Prisma.DbSubResourceFindUniqueOrThrowArgs<ExtArgs>
|
|
1096
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbSubResourcePayload>
|
|
1097
|
+
}
|
|
1098
|
+
findFirst: {
|
|
1099
|
+
args: Prisma.DbSubResourceFindFirstArgs<ExtArgs>
|
|
1100
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbSubResourcePayload> | null
|
|
1101
|
+
}
|
|
1102
|
+
findFirstOrThrow: {
|
|
1103
|
+
args: Prisma.DbSubResourceFindFirstOrThrowArgs<ExtArgs>
|
|
1104
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbSubResourcePayload>
|
|
1105
|
+
}
|
|
1106
|
+
findMany: {
|
|
1107
|
+
args: Prisma.DbSubResourceFindManyArgs<ExtArgs>
|
|
1108
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbSubResourcePayload>[]
|
|
1109
|
+
}
|
|
1110
|
+
create: {
|
|
1111
|
+
args: Prisma.DbSubResourceCreateArgs<ExtArgs>
|
|
1112
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbSubResourcePayload>
|
|
1113
|
+
}
|
|
1114
|
+
createMany: {
|
|
1115
|
+
args: Prisma.DbSubResourceCreateManyArgs<ExtArgs>
|
|
1116
|
+
result: BatchPayload
|
|
1117
|
+
}
|
|
1118
|
+
createManyAndReturn: {
|
|
1119
|
+
args: Prisma.DbSubResourceCreateManyAndReturnArgs<ExtArgs>
|
|
1120
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbSubResourcePayload>[]
|
|
1121
|
+
}
|
|
1122
|
+
delete: {
|
|
1123
|
+
args: Prisma.DbSubResourceDeleteArgs<ExtArgs>
|
|
1124
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbSubResourcePayload>
|
|
1125
|
+
}
|
|
1126
|
+
update: {
|
|
1127
|
+
args: Prisma.DbSubResourceUpdateArgs<ExtArgs>
|
|
1128
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbSubResourcePayload>
|
|
1129
|
+
}
|
|
1130
|
+
deleteMany: {
|
|
1131
|
+
args: Prisma.DbSubResourceDeleteManyArgs<ExtArgs>
|
|
1132
|
+
result: BatchPayload
|
|
1133
|
+
}
|
|
1134
|
+
updateMany: {
|
|
1135
|
+
args: Prisma.DbSubResourceUpdateManyArgs<ExtArgs>
|
|
1136
|
+
result: BatchPayload
|
|
1137
|
+
}
|
|
1138
|
+
updateManyAndReturn: {
|
|
1139
|
+
args: Prisma.DbSubResourceUpdateManyAndReturnArgs<ExtArgs>
|
|
1140
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbSubResourcePayload>[]
|
|
1141
|
+
}
|
|
1142
|
+
upsert: {
|
|
1143
|
+
args: Prisma.DbSubResourceUpsertArgs<ExtArgs>
|
|
1144
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$DbSubResourcePayload>
|
|
1145
|
+
}
|
|
1146
|
+
aggregate: {
|
|
1147
|
+
args: Prisma.DbSubResourceAggregateArgs<ExtArgs>
|
|
1148
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateDbSubResource>
|
|
1149
|
+
}
|
|
1150
|
+
groupBy: {
|
|
1151
|
+
args: Prisma.DbSubResourceGroupByArgs<ExtArgs>
|
|
1152
|
+
result: runtime.Types.Utils.Optional<Prisma.DbSubResourceGroupByOutputType>[]
|
|
1153
|
+
}
|
|
1154
|
+
count: {
|
|
1155
|
+
args: Prisma.DbSubResourceCountArgs<ExtArgs>
|
|
1156
|
+
result: runtime.Types.Utils.Optional<Prisma.DbSubResourceCountAggregateOutputType> | number
|
|
1157
|
+
}
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
860
1160
|
DbAppTagDefinition: {
|
|
861
1161
|
payload: Prisma.$DbAppTagDefinitionPayload<ExtArgs>
|
|
862
1162
|
fields: Prisma.DbAppTagDefinitionFieldRefs
|
|
@@ -1251,6 +1551,38 @@ export const VerificationScalarFieldEnum = {
|
|
|
1251
1551
|
export type VerificationScalarFieldEnum = (typeof VerificationScalarFieldEnum)[keyof typeof VerificationScalarFieldEnum]
|
|
1252
1552
|
|
|
1253
1553
|
|
|
1554
|
+
export const DbPersonScalarFieldEnum = {
|
|
1555
|
+
slug: 'slug',
|
|
1556
|
+
firstName: 'firstName',
|
|
1557
|
+
lastName: 'lastName',
|
|
1558
|
+
email: 'email',
|
|
1559
|
+
createdAt: 'createdAt',
|
|
1560
|
+
updatedAt: 'updatedAt'
|
|
1561
|
+
} as const
|
|
1562
|
+
|
|
1563
|
+
export type DbPersonScalarFieldEnum = (typeof DbPersonScalarFieldEnum)[keyof typeof DbPersonScalarFieldEnum]
|
|
1564
|
+
|
|
1565
|
+
|
|
1566
|
+
export const DbGroupScalarFieldEnum = {
|
|
1567
|
+
slug: 'slug',
|
|
1568
|
+
displayName: 'displayName',
|
|
1569
|
+
email: 'email',
|
|
1570
|
+
createdAt: 'createdAt',
|
|
1571
|
+
updatedAt: 'updatedAt'
|
|
1572
|
+
} as const
|
|
1573
|
+
|
|
1574
|
+
export type DbGroupScalarFieldEnum = (typeof DbGroupScalarFieldEnum)[keyof typeof DbGroupScalarFieldEnum]
|
|
1575
|
+
|
|
1576
|
+
|
|
1577
|
+
export const DbGroupMembershipScalarFieldEnum = {
|
|
1578
|
+
id: 'id',
|
|
1579
|
+
groupSlug: 'groupSlug',
|
|
1580
|
+
personSlug: 'personSlug'
|
|
1581
|
+
} as const
|
|
1582
|
+
|
|
1583
|
+
export type DbGroupMembershipScalarFieldEnum = (typeof DbGroupMembershipScalarFieldEnum)[keyof typeof DbGroupMembershipScalarFieldEnum]
|
|
1584
|
+
|
|
1585
|
+
|
|
1254
1586
|
export const DbApprovalMethodScalarFieldEnum = {
|
|
1255
1587
|
slug: 'slug',
|
|
1256
1588
|
type: 'type',
|
|
@@ -1283,6 +1615,7 @@ export const DbAppForCatalogScalarFieldEnum = {
|
|
|
1283
1615
|
deprecated: 'deprecated',
|
|
1284
1616
|
aiPrompt: 'aiPrompt',
|
|
1285
1617
|
urlIssues: 'urlIssues',
|
|
1618
|
+
tiers: 'tiers',
|
|
1286
1619
|
createdAt: 'createdAt',
|
|
1287
1620
|
updatedAt: 'updatedAt'
|
|
1288
1621
|
} as const
|
|
@@ -1290,6 +1623,27 @@ export const DbAppForCatalogScalarFieldEnum = {
|
|
|
1290
1623
|
export type DbAppForCatalogScalarFieldEnum = (typeof DbAppForCatalogScalarFieldEnum)[keyof typeof DbAppForCatalogScalarFieldEnum]
|
|
1291
1624
|
|
|
1292
1625
|
|
|
1626
|
+
export const DbSubResourceScalarFieldEnum = {
|
|
1627
|
+
id: 'id',
|
|
1628
|
+
slug: 'slug',
|
|
1629
|
+
displayName: 'displayName',
|
|
1630
|
+
description: 'description',
|
|
1631
|
+
appSlug: 'appSlug',
|
|
1632
|
+
familySlug: 'familySlug',
|
|
1633
|
+
tierSlug: 'tierSlug',
|
|
1634
|
+
aliases: 'aliases',
|
|
1635
|
+
ownerPersonSlug: 'ownerPersonSlug',
|
|
1636
|
+
accessMaintainerGroupSlugs: 'accessMaintainerGroupSlugs',
|
|
1637
|
+
accessRequest: 'accessRequest',
|
|
1638
|
+
accessComments: 'accessComments',
|
|
1639
|
+
extra: 'extra',
|
|
1640
|
+
createdAt: 'createdAt',
|
|
1641
|
+
updatedAt: 'updatedAt'
|
|
1642
|
+
} as const
|
|
1643
|
+
|
|
1644
|
+
export type DbSubResourceScalarFieldEnum = (typeof DbSubResourceScalarFieldEnum)[keyof typeof DbSubResourceScalarFieldEnum]
|
|
1645
|
+
|
|
1646
|
+
|
|
1293
1647
|
export const DbAppTagDefinitionScalarFieldEnum = {
|
|
1294
1648
|
id: 'id',
|
|
1295
1649
|
prefix: 'prefix',
|
|
@@ -1430,6 +1784,20 @@ export type ListDateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaM
|
|
|
1430
1784
|
|
|
1431
1785
|
|
|
1432
1786
|
|
|
1787
|
+
/**
|
|
1788
|
+
* Reference to a field of type 'Int'
|
|
1789
|
+
*/
|
|
1790
|
+
export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'>
|
|
1791
|
+
|
|
1792
|
+
|
|
1793
|
+
|
|
1794
|
+
/**
|
|
1795
|
+
* Reference to a field of type 'Int[]'
|
|
1796
|
+
*/
|
|
1797
|
+
export type ListIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int[]'>
|
|
1798
|
+
|
|
1799
|
+
|
|
1800
|
+
|
|
1433
1801
|
/**
|
|
1434
1802
|
* Reference to a field of type 'ApprovalMethodType'
|
|
1435
1803
|
*/
|
|
@@ -1486,20 +1854,6 @@ export type ListBytesFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaMode
|
|
|
1486
1854
|
|
|
1487
1855
|
|
|
1488
1856
|
|
|
1489
|
-
/**
|
|
1490
|
-
* Reference to a field of type 'Int'
|
|
1491
|
-
*/
|
|
1492
|
-
export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'>
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
/**
|
|
1497
|
-
* Reference to a field of type 'Int[]'
|
|
1498
|
-
*/
|
|
1499
|
-
export type ListIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int[]'>
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
1857
|
/**
|
|
1504
1858
|
* Reference to a field of type 'Float'
|
|
1505
1859
|
*/
|
|
@@ -1612,8 +1966,12 @@ export type GlobalOmitConfig = {
|
|
|
1612
1966
|
session?: Prisma.sessionOmit
|
|
1613
1967
|
account?: Prisma.accountOmit
|
|
1614
1968
|
verification?: Prisma.verificationOmit
|
|
1969
|
+
dbPerson?: Prisma.DbPersonOmit
|
|
1970
|
+
dbGroup?: Prisma.DbGroupOmit
|
|
1971
|
+
dbGroupMembership?: Prisma.DbGroupMembershipOmit
|
|
1615
1972
|
dbApprovalMethod?: Prisma.DbApprovalMethodOmit
|
|
1616
1973
|
dbAppForCatalog?: Prisma.DbAppForCatalogOmit
|
|
1974
|
+
dbSubResource?: Prisma.DbSubResourceOmit
|
|
1617
1975
|
dbAppTagDefinition?: Prisma.DbAppTagDefinitionOmit
|
|
1618
1976
|
dbAsset?: Prisma.DbAssetOmit
|
|
1619
1977
|
source?: Prisma.SourceOmit
|
|
@@ -55,8 +55,12 @@ export const ModelName = {
|
|
|
55
55
|
session: 'session',
|
|
56
56
|
account: 'account',
|
|
57
57
|
verification: 'verification',
|
|
58
|
+
DbPerson: 'DbPerson',
|
|
59
|
+
DbGroup: 'DbGroup',
|
|
60
|
+
DbGroupMembership: 'DbGroupMembership',
|
|
58
61
|
DbApprovalMethod: 'DbApprovalMethod',
|
|
59
62
|
DbAppForCatalog: 'DbAppForCatalog',
|
|
63
|
+
DbSubResource: 'DbSubResource',
|
|
60
64
|
DbAppTagDefinition: 'DbAppTagDefinition',
|
|
61
65
|
DbAsset: 'DbAsset',
|
|
62
66
|
Source: 'Source',
|
|
@@ -138,6 +142,38 @@ export const VerificationScalarFieldEnum = {
|
|
|
138
142
|
export type VerificationScalarFieldEnum = (typeof VerificationScalarFieldEnum)[keyof typeof VerificationScalarFieldEnum]
|
|
139
143
|
|
|
140
144
|
|
|
145
|
+
export const DbPersonScalarFieldEnum = {
|
|
146
|
+
slug: 'slug',
|
|
147
|
+
firstName: 'firstName',
|
|
148
|
+
lastName: 'lastName',
|
|
149
|
+
email: 'email',
|
|
150
|
+
createdAt: 'createdAt',
|
|
151
|
+
updatedAt: 'updatedAt'
|
|
152
|
+
} as const
|
|
153
|
+
|
|
154
|
+
export type DbPersonScalarFieldEnum = (typeof DbPersonScalarFieldEnum)[keyof typeof DbPersonScalarFieldEnum]
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
export const DbGroupScalarFieldEnum = {
|
|
158
|
+
slug: 'slug',
|
|
159
|
+
displayName: 'displayName',
|
|
160
|
+
email: 'email',
|
|
161
|
+
createdAt: 'createdAt',
|
|
162
|
+
updatedAt: 'updatedAt'
|
|
163
|
+
} as const
|
|
164
|
+
|
|
165
|
+
export type DbGroupScalarFieldEnum = (typeof DbGroupScalarFieldEnum)[keyof typeof DbGroupScalarFieldEnum]
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
export const DbGroupMembershipScalarFieldEnum = {
|
|
169
|
+
id: 'id',
|
|
170
|
+
groupSlug: 'groupSlug',
|
|
171
|
+
personSlug: 'personSlug'
|
|
172
|
+
} as const
|
|
173
|
+
|
|
174
|
+
export type DbGroupMembershipScalarFieldEnum = (typeof DbGroupMembershipScalarFieldEnum)[keyof typeof DbGroupMembershipScalarFieldEnum]
|
|
175
|
+
|
|
176
|
+
|
|
141
177
|
export const DbApprovalMethodScalarFieldEnum = {
|
|
142
178
|
slug: 'slug',
|
|
143
179
|
type: 'type',
|
|
@@ -170,6 +206,7 @@ export const DbAppForCatalogScalarFieldEnum = {
|
|
|
170
206
|
deprecated: 'deprecated',
|
|
171
207
|
aiPrompt: 'aiPrompt',
|
|
172
208
|
urlIssues: 'urlIssues',
|
|
209
|
+
tiers: 'tiers',
|
|
173
210
|
createdAt: 'createdAt',
|
|
174
211
|
updatedAt: 'updatedAt'
|
|
175
212
|
} as const
|
|
@@ -177,6 +214,27 @@ export const DbAppForCatalogScalarFieldEnum = {
|
|
|
177
214
|
export type DbAppForCatalogScalarFieldEnum = (typeof DbAppForCatalogScalarFieldEnum)[keyof typeof DbAppForCatalogScalarFieldEnum]
|
|
178
215
|
|
|
179
216
|
|
|
217
|
+
export const DbSubResourceScalarFieldEnum = {
|
|
218
|
+
id: 'id',
|
|
219
|
+
slug: 'slug',
|
|
220
|
+
displayName: 'displayName',
|
|
221
|
+
description: 'description',
|
|
222
|
+
appSlug: 'appSlug',
|
|
223
|
+
familySlug: 'familySlug',
|
|
224
|
+
tierSlug: 'tierSlug',
|
|
225
|
+
aliases: 'aliases',
|
|
226
|
+
ownerPersonSlug: 'ownerPersonSlug',
|
|
227
|
+
accessMaintainerGroupSlugs: 'accessMaintainerGroupSlugs',
|
|
228
|
+
accessRequest: 'accessRequest',
|
|
229
|
+
accessComments: 'accessComments',
|
|
230
|
+
extra: 'extra',
|
|
231
|
+
createdAt: 'createdAt',
|
|
232
|
+
updatedAt: 'updatedAt'
|
|
233
|
+
} as const
|
|
234
|
+
|
|
235
|
+
export type DbSubResourceScalarFieldEnum = (typeof DbSubResourceScalarFieldEnum)[keyof typeof DbSubResourceScalarFieldEnum]
|
|
236
|
+
|
|
237
|
+
|
|
180
238
|
export const DbAppTagDefinitionScalarFieldEnum = {
|
|
181
239
|
id: 'id',
|
|
182
240
|
prefix: 'prefix',
|