feat: gist & co-authors

This commit is contained in:
tdurieux committed 2026-05-04 13:10:44 +02:00
1 parent f0f6436370
commit f0bc53f093
24 files changed
+1707 -158

No files matched your search

@@ -20,6 +20,14 @@ const AnonymizedRepositorySchema = new Schema({
ref: "user",
index: true,
},
coauthors: [
{
username: { type: String, index: true },
githubId: { type: String },
photo: { type: String },
addedAt: { type: Date, default: Date.now },
},
],
conference: String,
source: {
type: { type: String },
@@ -17,6 +17,12 @@ export interface IAnonymizedRepository {
accessToken?: string;
};
owner: string;
coauthors?: {
username: string;
githubId?: string;
photo?: string;
addedAt?: Date;
}[];
truncatedFolders: string[];
conference: string;
options: {