mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-10-20 14:47:18 +02:00
feat: gist & co-authors
This commit is contained in:
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: {
|
||||
|
||||
Reference in new issue
Block a user