@app-vitals/agent-admin 1.74.0 → 1.76.0
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/package.json +2 -2
- package/prisma/client/browser.ts +15 -0
- package/prisma/client/client.ts +15 -0
- package/prisma/client/internal/class.ts +34 -4
- package/prisma/client/internal/prismaNamespace.ts +284 -2
- package/prisma/client/internal/prismaNamespaceBrowser.ts +58 -1
- package/prisma/client/models/GitHubCachedRepo.ts +1430 -0
- package/prisma/client/models/GitHubRepoAccess.ts +1397 -0
- package/prisma/client/models/GitHubRepoSnapshot.ts +1807 -0
- package/prisma/client/models.ts +3 -0
- package/prisma/migrations/20261120000000_add_github_repo_cache/migration.sql +75 -0
- package/prisma/schema/schema.prisma +62 -0
- package/scripts/backfill-member-id.ts +41 -0
- package/src/github-repo-cache.integration.test.ts +227 -0
- package/src/github-repo-cache.ts +296 -0
- package/src/github-repo-cache.unit.test.ts +66 -0
- package/src/member-id-backfill.integration.test.ts +167 -0
- package/src/member-id-backfill.ts +180 -0
- package/src/member-id-backfill.unit.test.ts +12 -0
|
@@ -428,7 +428,10 @@ export const ModelName = {
|
|
|
428
428
|
ChatThreadWatch: 'ChatThreadWatch',
|
|
429
429
|
UserNotificationPrefs: 'UserNotificationPrefs',
|
|
430
430
|
AgentMarketplace: 'AgentMarketplace',
|
|
431
|
-
GitHubReconcileAudit: 'GitHubReconcileAudit'
|
|
431
|
+
GitHubReconcileAudit: 'GitHubReconcileAudit',
|
|
432
|
+
GitHubRepoSnapshot: 'GitHubRepoSnapshot',
|
|
433
|
+
GitHubCachedRepo: 'GitHubCachedRepo',
|
|
434
|
+
GitHubRepoAccess: 'GitHubRepoAccess'
|
|
432
435
|
} as const
|
|
433
436
|
|
|
434
437
|
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
|
@@ -444,7 +447,7 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
444
447
|
omit: GlobalOmitOptions
|
|
445
448
|
}
|
|
446
449
|
meta: {
|
|
447
|
-
modelProps: "agentWorkQueueSnapshot" | "agentPhaseMethodology" | "sessionFollow" | "sessionAlertState" | "agent" | "agentEnv" | "gitHubEnterpriseApp" | "agentCronJob" | "agentTool" | "agentToken" | "agentPlugin" | "agentMember" | "account" | "agentTemplate" | "agentTemplateItem" | "slackConfigToken" | "accountMember" | "accountInvite" | "agentCronRun" | "agentCronRunSkillUsage" | "agentCronRunModelBreakdown" | "agentChatTokenUsageDailyByModel" | "agentAsk" | "agentCronRunRequest" | "agentCronRunTranscript" | "agentTranscriptRead" | "agentGitHubInstallationsSnapshot" | "pushSubscription" | "chatThreadWatch" | "userNotificationPrefs" | "agentMarketplace" | "gitHubReconcileAudit"
|
|
450
|
+
modelProps: "agentWorkQueueSnapshot" | "agentPhaseMethodology" | "sessionFollow" | "sessionAlertState" | "agent" | "agentEnv" | "gitHubEnterpriseApp" | "agentCronJob" | "agentTool" | "agentToken" | "agentPlugin" | "agentMember" | "account" | "agentTemplate" | "agentTemplateItem" | "slackConfigToken" | "accountMember" | "accountInvite" | "agentCronRun" | "agentCronRunSkillUsage" | "agentCronRunModelBreakdown" | "agentChatTokenUsageDailyByModel" | "agentAsk" | "agentCronRunRequest" | "agentCronRunTranscript" | "agentTranscriptRead" | "agentGitHubInstallationsSnapshot" | "pushSubscription" | "chatThreadWatch" | "userNotificationPrefs" | "agentMarketplace" | "gitHubReconcileAudit" | "gitHubRepoSnapshot" | "gitHubCachedRepo" | "gitHubRepoAccess"
|
|
448
451
|
txIsolationLevel: TransactionIsolationLevel
|
|
449
452
|
}
|
|
450
453
|
model: {
|
|
@@ -2816,6 +2819,228 @@ export type TypeMap<ExtArgs extends runtime.Types.Extensions.InternalArgs = runt
|
|
|
2816
2819
|
}
|
|
2817
2820
|
}
|
|
2818
2821
|
}
|
|
2822
|
+
GitHubRepoSnapshot: {
|
|
2823
|
+
payload: Prisma.$GitHubRepoSnapshotPayload<ExtArgs>
|
|
2824
|
+
fields: Prisma.GitHubRepoSnapshotFieldRefs
|
|
2825
|
+
operations: {
|
|
2826
|
+
findUnique: {
|
|
2827
|
+
args: Prisma.GitHubRepoSnapshotFindUniqueArgs<ExtArgs>
|
|
2828
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubRepoSnapshotPayload> | null
|
|
2829
|
+
}
|
|
2830
|
+
findUniqueOrThrow: {
|
|
2831
|
+
args: Prisma.GitHubRepoSnapshotFindUniqueOrThrowArgs<ExtArgs>
|
|
2832
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubRepoSnapshotPayload>
|
|
2833
|
+
}
|
|
2834
|
+
findFirst: {
|
|
2835
|
+
args: Prisma.GitHubRepoSnapshotFindFirstArgs<ExtArgs>
|
|
2836
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubRepoSnapshotPayload> | null
|
|
2837
|
+
}
|
|
2838
|
+
findFirstOrThrow: {
|
|
2839
|
+
args: Prisma.GitHubRepoSnapshotFindFirstOrThrowArgs<ExtArgs>
|
|
2840
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubRepoSnapshotPayload>
|
|
2841
|
+
}
|
|
2842
|
+
findMany: {
|
|
2843
|
+
args: Prisma.GitHubRepoSnapshotFindManyArgs<ExtArgs>
|
|
2844
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubRepoSnapshotPayload>[]
|
|
2845
|
+
}
|
|
2846
|
+
create: {
|
|
2847
|
+
args: Prisma.GitHubRepoSnapshotCreateArgs<ExtArgs>
|
|
2848
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubRepoSnapshotPayload>
|
|
2849
|
+
}
|
|
2850
|
+
createMany: {
|
|
2851
|
+
args: Prisma.GitHubRepoSnapshotCreateManyArgs<ExtArgs>
|
|
2852
|
+
result: BatchPayload
|
|
2853
|
+
}
|
|
2854
|
+
createManyAndReturn: {
|
|
2855
|
+
args: Prisma.GitHubRepoSnapshotCreateManyAndReturnArgs<ExtArgs>
|
|
2856
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubRepoSnapshotPayload>[]
|
|
2857
|
+
}
|
|
2858
|
+
delete: {
|
|
2859
|
+
args: Prisma.GitHubRepoSnapshotDeleteArgs<ExtArgs>
|
|
2860
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubRepoSnapshotPayload>
|
|
2861
|
+
}
|
|
2862
|
+
update: {
|
|
2863
|
+
args: Prisma.GitHubRepoSnapshotUpdateArgs<ExtArgs>
|
|
2864
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubRepoSnapshotPayload>
|
|
2865
|
+
}
|
|
2866
|
+
deleteMany: {
|
|
2867
|
+
args: Prisma.GitHubRepoSnapshotDeleteManyArgs<ExtArgs>
|
|
2868
|
+
result: BatchPayload
|
|
2869
|
+
}
|
|
2870
|
+
updateMany: {
|
|
2871
|
+
args: Prisma.GitHubRepoSnapshotUpdateManyArgs<ExtArgs>
|
|
2872
|
+
result: BatchPayload
|
|
2873
|
+
}
|
|
2874
|
+
updateManyAndReturn: {
|
|
2875
|
+
args: Prisma.GitHubRepoSnapshotUpdateManyAndReturnArgs<ExtArgs>
|
|
2876
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubRepoSnapshotPayload>[]
|
|
2877
|
+
}
|
|
2878
|
+
upsert: {
|
|
2879
|
+
args: Prisma.GitHubRepoSnapshotUpsertArgs<ExtArgs>
|
|
2880
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubRepoSnapshotPayload>
|
|
2881
|
+
}
|
|
2882
|
+
aggregate: {
|
|
2883
|
+
args: Prisma.GitHubRepoSnapshotAggregateArgs<ExtArgs>
|
|
2884
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateGitHubRepoSnapshot>
|
|
2885
|
+
}
|
|
2886
|
+
groupBy: {
|
|
2887
|
+
args: Prisma.GitHubRepoSnapshotGroupByArgs<ExtArgs>
|
|
2888
|
+
result: runtime.Types.Utils.Optional<Prisma.GitHubRepoSnapshotGroupByOutputType>[]
|
|
2889
|
+
}
|
|
2890
|
+
count: {
|
|
2891
|
+
args: Prisma.GitHubRepoSnapshotCountArgs<ExtArgs>
|
|
2892
|
+
result: runtime.Types.Utils.Optional<Prisma.GitHubRepoSnapshotCountAggregateOutputType> | number
|
|
2893
|
+
}
|
|
2894
|
+
}
|
|
2895
|
+
}
|
|
2896
|
+
GitHubCachedRepo: {
|
|
2897
|
+
payload: Prisma.$GitHubCachedRepoPayload<ExtArgs>
|
|
2898
|
+
fields: Prisma.GitHubCachedRepoFieldRefs
|
|
2899
|
+
operations: {
|
|
2900
|
+
findUnique: {
|
|
2901
|
+
args: Prisma.GitHubCachedRepoFindUniqueArgs<ExtArgs>
|
|
2902
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubCachedRepoPayload> | null
|
|
2903
|
+
}
|
|
2904
|
+
findUniqueOrThrow: {
|
|
2905
|
+
args: Prisma.GitHubCachedRepoFindUniqueOrThrowArgs<ExtArgs>
|
|
2906
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubCachedRepoPayload>
|
|
2907
|
+
}
|
|
2908
|
+
findFirst: {
|
|
2909
|
+
args: Prisma.GitHubCachedRepoFindFirstArgs<ExtArgs>
|
|
2910
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubCachedRepoPayload> | null
|
|
2911
|
+
}
|
|
2912
|
+
findFirstOrThrow: {
|
|
2913
|
+
args: Prisma.GitHubCachedRepoFindFirstOrThrowArgs<ExtArgs>
|
|
2914
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubCachedRepoPayload>
|
|
2915
|
+
}
|
|
2916
|
+
findMany: {
|
|
2917
|
+
args: Prisma.GitHubCachedRepoFindManyArgs<ExtArgs>
|
|
2918
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubCachedRepoPayload>[]
|
|
2919
|
+
}
|
|
2920
|
+
create: {
|
|
2921
|
+
args: Prisma.GitHubCachedRepoCreateArgs<ExtArgs>
|
|
2922
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubCachedRepoPayload>
|
|
2923
|
+
}
|
|
2924
|
+
createMany: {
|
|
2925
|
+
args: Prisma.GitHubCachedRepoCreateManyArgs<ExtArgs>
|
|
2926
|
+
result: BatchPayload
|
|
2927
|
+
}
|
|
2928
|
+
createManyAndReturn: {
|
|
2929
|
+
args: Prisma.GitHubCachedRepoCreateManyAndReturnArgs<ExtArgs>
|
|
2930
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubCachedRepoPayload>[]
|
|
2931
|
+
}
|
|
2932
|
+
delete: {
|
|
2933
|
+
args: Prisma.GitHubCachedRepoDeleteArgs<ExtArgs>
|
|
2934
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubCachedRepoPayload>
|
|
2935
|
+
}
|
|
2936
|
+
update: {
|
|
2937
|
+
args: Prisma.GitHubCachedRepoUpdateArgs<ExtArgs>
|
|
2938
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubCachedRepoPayload>
|
|
2939
|
+
}
|
|
2940
|
+
deleteMany: {
|
|
2941
|
+
args: Prisma.GitHubCachedRepoDeleteManyArgs<ExtArgs>
|
|
2942
|
+
result: BatchPayload
|
|
2943
|
+
}
|
|
2944
|
+
updateMany: {
|
|
2945
|
+
args: Prisma.GitHubCachedRepoUpdateManyArgs<ExtArgs>
|
|
2946
|
+
result: BatchPayload
|
|
2947
|
+
}
|
|
2948
|
+
updateManyAndReturn: {
|
|
2949
|
+
args: Prisma.GitHubCachedRepoUpdateManyAndReturnArgs<ExtArgs>
|
|
2950
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubCachedRepoPayload>[]
|
|
2951
|
+
}
|
|
2952
|
+
upsert: {
|
|
2953
|
+
args: Prisma.GitHubCachedRepoUpsertArgs<ExtArgs>
|
|
2954
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubCachedRepoPayload>
|
|
2955
|
+
}
|
|
2956
|
+
aggregate: {
|
|
2957
|
+
args: Prisma.GitHubCachedRepoAggregateArgs<ExtArgs>
|
|
2958
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateGitHubCachedRepo>
|
|
2959
|
+
}
|
|
2960
|
+
groupBy: {
|
|
2961
|
+
args: Prisma.GitHubCachedRepoGroupByArgs<ExtArgs>
|
|
2962
|
+
result: runtime.Types.Utils.Optional<Prisma.GitHubCachedRepoGroupByOutputType>[]
|
|
2963
|
+
}
|
|
2964
|
+
count: {
|
|
2965
|
+
args: Prisma.GitHubCachedRepoCountArgs<ExtArgs>
|
|
2966
|
+
result: runtime.Types.Utils.Optional<Prisma.GitHubCachedRepoCountAggregateOutputType> | number
|
|
2967
|
+
}
|
|
2968
|
+
}
|
|
2969
|
+
}
|
|
2970
|
+
GitHubRepoAccess: {
|
|
2971
|
+
payload: Prisma.$GitHubRepoAccessPayload<ExtArgs>
|
|
2972
|
+
fields: Prisma.GitHubRepoAccessFieldRefs
|
|
2973
|
+
operations: {
|
|
2974
|
+
findUnique: {
|
|
2975
|
+
args: Prisma.GitHubRepoAccessFindUniqueArgs<ExtArgs>
|
|
2976
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubRepoAccessPayload> | null
|
|
2977
|
+
}
|
|
2978
|
+
findUniqueOrThrow: {
|
|
2979
|
+
args: Prisma.GitHubRepoAccessFindUniqueOrThrowArgs<ExtArgs>
|
|
2980
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubRepoAccessPayload>
|
|
2981
|
+
}
|
|
2982
|
+
findFirst: {
|
|
2983
|
+
args: Prisma.GitHubRepoAccessFindFirstArgs<ExtArgs>
|
|
2984
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubRepoAccessPayload> | null
|
|
2985
|
+
}
|
|
2986
|
+
findFirstOrThrow: {
|
|
2987
|
+
args: Prisma.GitHubRepoAccessFindFirstOrThrowArgs<ExtArgs>
|
|
2988
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubRepoAccessPayload>
|
|
2989
|
+
}
|
|
2990
|
+
findMany: {
|
|
2991
|
+
args: Prisma.GitHubRepoAccessFindManyArgs<ExtArgs>
|
|
2992
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubRepoAccessPayload>[]
|
|
2993
|
+
}
|
|
2994
|
+
create: {
|
|
2995
|
+
args: Prisma.GitHubRepoAccessCreateArgs<ExtArgs>
|
|
2996
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubRepoAccessPayload>
|
|
2997
|
+
}
|
|
2998
|
+
createMany: {
|
|
2999
|
+
args: Prisma.GitHubRepoAccessCreateManyArgs<ExtArgs>
|
|
3000
|
+
result: BatchPayload
|
|
3001
|
+
}
|
|
3002
|
+
createManyAndReturn: {
|
|
3003
|
+
args: Prisma.GitHubRepoAccessCreateManyAndReturnArgs<ExtArgs>
|
|
3004
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubRepoAccessPayload>[]
|
|
3005
|
+
}
|
|
3006
|
+
delete: {
|
|
3007
|
+
args: Prisma.GitHubRepoAccessDeleteArgs<ExtArgs>
|
|
3008
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubRepoAccessPayload>
|
|
3009
|
+
}
|
|
3010
|
+
update: {
|
|
3011
|
+
args: Prisma.GitHubRepoAccessUpdateArgs<ExtArgs>
|
|
3012
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubRepoAccessPayload>
|
|
3013
|
+
}
|
|
3014
|
+
deleteMany: {
|
|
3015
|
+
args: Prisma.GitHubRepoAccessDeleteManyArgs<ExtArgs>
|
|
3016
|
+
result: BatchPayload
|
|
3017
|
+
}
|
|
3018
|
+
updateMany: {
|
|
3019
|
+
args: Prisma.GitHubRepoAccessUpdateManyArgs<ExtArgs>
|
|
3020
|
+
result: BatchPayload
|
|
3021
|
+
}
|
|
3022
|
+
updateManyAndReturn: {
|
|
3023
|
+
args: Prisma.GitHubRepoAccessUpdateManyAndReturnArgs<ExtArgs>
|
|
3024
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubRepoAccessPayload>[]
|
|
3025
|
+
}
|
|
3026
|
+
upsert: {
|
|
3027
|
+
args: Prisma.GitHubRepoAccessUpsertArgs<ExtArgs>
|
|
3028
|
+
result: runtime.Types.Utils.PayloadToResult<Prisma.$GitHubRepoAccessPayload>
|
|
3029
|
+
}
|
|
3030
|
+
aggregate: {
|
|
3031
|
+
args: Prisma.GitHubRepoAccessAggregateArgs<ExtArgs>
|
|
3032
|
+
result: runtime.Types.Utils.Optional<Prisma.AggregateGitHubRepoAccess>
|
|
3033
|
+
}
|
|
3034
|
+
groupBy: {
|
|
3035
|
+
args: Prisma.GitHubRepoAccessGroupByArgs<ExtArgs>
|
|
3036
|
+
result: runtime.Types.Utils.Optional<Prisma.GitHubRepoAccessGroupByOutputType>[]
|
|
3037
|
+
}
|
|
3038
|
+
count: {
|
|
3039
|
+
args: Prisma.GitHubRepoAccessCountArgs<ExtArgs>
|
|
3040
|
+
result: runtime.Types.Utils.Optional<Prisma.GitHubRepoAccessCountAggregateOutputType> | number
|
|
3041
|
+
}
|
|
3042
|
+
}
|
|
3043
|
+
}
|
|
2819
3044
|
}
|
|
2820
3045
|
} & {
|
|
2821
3046
|
other: {
|
|
@@ -3345,6 +3570,60 @@ export const GitHubReconcileAuditScalarFieldEnum = {
|
|
|
3345
3570
|
export type GitHubReconcileAuditScalarFieldEnum = (typeof GitHubReconcileAuditScalarFieldEnum)[keyof typeof GitHubReconcileAuditScalarFieldEnum]
|
|
3346
3571
|
|
|
3347
3572
|
|
|
3573
|
+
export const GitHubRepoSnapshotScalarFieldEnum = {
|
|
3574
|
+
id: 'id',
|
|
3575
|
+
accountId: 'accountId',
|
|
3576
|
+
appKind: 'appKind',
|
|
3577
|
+
appRef: 'appRef',
|
|
3578
|
+
org: 'org',
|
|
3579
|
+
crawlPage: 'crawlPage',
|
|
3580
|
+
crawlStartedAt: 'crawlStartedAt',
|
|
3581
|
+
completedAt: 'completedAt',
|
|
3582
|
+
totalCount: 'totalCount',
|
|
3583
|
+
lastError: 'lastError',
|
|
3584
|
+
attempts: 'attempts',
|
|
3585
|
+
nextAttemptAt: 'nextAttemptAt',
|
|
3586
|
+
rateLimitResetAt: 'rateLimitResetAt',
|
|
3587
|
+
leaseHolder: 'leaseHolder',
|
|
3588
|
+
leasedUntil: 'leasedUntil',
|
|
3589
|
+
lastTickAt: 'lastTickAt',
|
|
3590
|
+
createdAt: 'createdAt',
|
|
3591
|
+
updatedAt: 'updatedAt'
|
|
3592
|
+
} as const
|
|
3593
|
+
|
|
3594
|
+
export type GitHubRepoSnapshotScalarFieldEnum = (typeof GitHubRepoSnapshotScalarFieldEnum)[keyof typeof GitHubRepoSnapshotScalarFieldEnum]
|
|
3595
|
+
|
|
3596
|
+
|
|
3597
|
+
export const GitHubCachedRepoScalarFieldEnum = {
|
|
3598
|
+
id: 'id',
|
|
3599
|
+
snapshotId: 'snapshotId',
|
|
3600
|
+
githubId: 'githubId',
|
|
3601
|
+
fullName: 'fullName',
|
|
3602
|
+
archived: 'archived',
|
|
3603
|
+
seenAt: 'seenAt'
|
|
3604
|
+
} as const
|
|
3605
|
+
|
|
3606
|
+
export type GitHubCachedRepoScalarFieldEnum = (typeof GitHubCachedRepoScalarFieldEnum)[keyof typeof GitHubCachedRepoScalarFieldEnum]
|
|
3607
|
+
|
|
3608
|
+
|
|
3609
|
+
export const GitHubRepoAccessScalarFieldEnum = {
|
|
3610
|
+
id: 'id',
|
|
3611
|
+
accountId: 'accountId',
|
|
3612
|
+
org: 'org',
|
|
3613
|
+
repo: 'repo',
|
|
3614
|
+
username: 'username',
|
|
3615
|
+
canPush: 'canPush',
|
|
3616
|
+
level: 'level',
|
|
3617
|
+
checkedAt: 'checkedAt',
|
|
3618
|
+
status: 'status',
|
|
3619
|
+
attempts: 'attempts',
|
|
3620
|
+
nextAttemptAt: 'nextAttemptAt',
|
|
3621
|
+
lastError: 'lastError'
|
|
3622
|
+
} as const
|
|
3623
|
+
|
|
3624
|
+
export type GitHubRepoAccessScalarFieldEnum = (typeof GitHubRepoAccessScalarFieldEnum)[keyof typeof GitHubRepoAccessScalarFieldEnum]
|
|
3625
|
+
|
|
3626
|
+
|
|
3348
3627
|
export const SortOrder = {
|
|
3349
3628
|
asc: 'asc',
|
|
3350
3629
|
desc: 'desc'
|
|
@@ -3672,6 +3951,9 @@ export type GlobalOmitConfig = {
|
|
|
3672
3951
|
userNotificationPrefs?: Prisma.UserNotificationPrefsOmit
|
|
3673
3952
|
agentMarketplace?: Prisma.AgentMarketplaceOmit
|
|
3674
3953
|
gitHubReconcileAudit?: Prisma.GitHubReconcileAuditOmit
|
|
3954
|
+
gitHubRepoSnapshot?: Prisma.GitHubRepoSnapshotOmit
|
|
3955
|
+
gitHubCachedRepo?: Prisma.GitHubCachedRepoOmit
|
|
3956
|
+
gitHubRepoAccess?: Prisma.GitHubRepoAccessOmit
|
|
3675
3957
|
}
|
|
3676
3958
|
|
|
3677
3959
|
/* Types for Logging */
|
|
@@ -82,7 +82,10 @@ export const ModelName = {
|
|
|
82
82
|
ChatThreadWatch: 'ChatThreadWatch',
|
|
83
83
|
UserNotificationPrefs: 'UserNotificationPrefs',
|
|
84
84
|
AgentMarketplace: 'AgentMarketplace',
|
|
85
|
-
GitHubReconcileAudit: 'GitHubReconcileAudit'
|
|
85
|
+
GitHubReconcileAudit: 'GitHubReconcileAudit',
|
|
86
|
+
GitHubRepoSnapshot: 'GitHubRepoSnapshot',
|
|
87
|
+
GitHubCachedRepo: 'GitHubCachedRepo',
|
|
88
|
+
GitHubRepoAccess: 'GitHubRepoAccess'
|
|
86
89
|
} as const
|
|
87
90
|
|
|
88
91
|
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
|
@@ -591,6 +594,60 @@ export const GitHubReconcileAuditScalarFieldEnum = {
|
|
|
591
594
|
export type GitHubReconcileAuditScalarFieldEnum = (typeof GitHubReconcileAuditScalarFieldEnum)[keyof typeof GitHubReconcileAuditScalarFieldEnum]
|
|
592
595
|
|
|
593
596
|
|
|
597
|
+
export const GitHubRepoSnapshotScalarFieldEnum = {
|
|
598
|
+
id: 'id',
|
|
599
|
+
accountId: 'accountId',
|
|
600
|
+
appKind: 'appKind',
|
|
601
|
+
appRef: 'appRef',
|
|
602
|
+
org: 'org',
|
|
603
|
+
crawlPage: 'crawlPage',
|
|
604
|
+
crawlStartedAt: 'crawlStartedAt',
|
|
605
|
+
completedAt: 'completedAt',
|
|
606
|
+
totalCount: 'totalCount',
|
|
607
|
+
lastError: 'lastError',
|
|
608
|
+
attempts: 'attempts',
|
|
609
|
+
nextAttemptAt: 'nextAttemptAt',
|
|
610
|
+
rateLimitResetAt: 'rateLimitResetAt',
|
|
611
|
+
leaseHolder: 'leaseHolder',
|
|
612
|
+
leasedUntil: 'leasedUntil',
|
|
613
|
+
lastTickAt: 'lastTickAt',
|
|
614
|
+
createdAt: 'createdAt',
|
|
615
|
+
updatedAt: 'updatedAt'
|
|
616
|
+
} as const
|
|
617
|
+
|
|
618
|
+
export type GitHubRepoSnapshotScalarFieldEnum = (typeof GitHubRepoSnapshotScalarFieldEnum)[keyof typeof GitHubRepoSnapshotScalarFieldEnum]
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
export const GitHubCachedRepoScalarFieldEnum = {
|
|
622
|
+
id: 'id',
|
|
623
|
+
snapshotId: 'snapshotId',
|
|
624
|
+
githubId: 'githubId',
|
|
625
|
+
fullName: 'fullName',
|
|
626
|
+
archived: 'archived',
|
|
627
|
+
seenAt: 'seenAt'
|
|
628
|
+
} as const
|
|
629
|
+
|
|
630
|
+
export type GitHubCachedRepoScalarFieldEnum = (typeof GitHubCachedRepoScalarFieldEnum)[keyof typeof GitHubCachedRepoScalarFieldEnum]
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
export const GitHubRepoAccessScalarFieldEnum = {
|
|
634
|
+
id: 'id',
|
|
635
|
+
accountId: 'accountId',
|
|
636
|
+
org: 'org',
|
|
637
|
+
repo: 'repo',
|
|
638
|
+
username: 'username',
|
|
639
|
+
canPush: 'canPush',
|
|
640
|
+
level: 'level',
|
|
641
|
+
checkedAt: 'checkedAt',
|
|
642
|
+
status: 'status',
|
|
643
|
+
attempts: 'attempts',
|
|
644
|
+
nextAttemptAt: 'nextAttemptAt',
|
|
645
|
+
lastError: 'lastError'
|
|
646
|
+
} as const
|
|
647
|
+
|
|
648
|
+
export type GitHubRepoAccessScalarFieldEnum = (typeof GitHubRepoAccessScalarFieldEnum)[keyof typeof GitHubRepoAccessScalarFieldEnum]
|
|
649
|
+
|
|
650
|
+
|
|
594
651
|
export const SortOrder = {
|
|
595
652
|
asc: 'asc',
|
|
596
653
|
desc: 'desc'
|