Skip to main content

Interface: CodeRepository

Defined in: web/lib/api/generated/types/pub/chive/eprint/submission.ts:344

A code repository link

Properties​

$type?​

optional $type: "pub.chive.eprint.submission#codeRepository"

Defined in: web/lib/api/generated/types/pub/chive/eprint/submission.ts:345


archiveUrl?​

optional archiveUrl: string

Defined in: web/lib/api/generated/types/pub/chive/eprint/submission.ts:368

Software Heritage archive URL


label?​

optional label: string

Defined in: web/lib/api/generated/types/pub/chive/eprint/submission.ts:366

User-provided label


platformSlug?​

optional platformSlug: string & object | "other" | "github" | "gitlab" | "bitbucket" | "huggingface" | "paperswithcode" | "codeberg" | "sourcehut" | "tangled" | "software_heritage" | "colab" | "kaggle"

Defined in: web/lib/api/generated/types/pub/chive/eprint/submission.ts:351

Platform slug for display fallback


platformUri?​

optional platformUri: string

Defined in: web/lib/api/generated/types/pub/chive/eprint/submission.ts:349

AT-URI to platform node (subkind=platform-code)


recordUri?​

optional recordUri: string

Defined in: web/lib/api/generated/types/pub/chive/eprint/submission.ts:372

AT-URI of the repository record when the host is an ATProto application, such as sh.tangled.repo. Addresses the repository on the network rather than at one web host, so it survives the host moving or disappearing.


swhid?​

optional swhid: string

Defined in: web/lib/api/generated/types/pub/chive/eprint/submission.ts:370

Software Heritage Identifier


url?​

optional url: string

Defined in: web/lib/api/generated/types/pub/chive/eprint/submission.ts:347

Repository URL