Lanyards is a dedicated profile for researchers, built on the AT Protocol.
1/**
2 * Type exports for Lanyards application
3 * Re-exports generated AT Protocol lexicon types with convenient aliases
4 */
5
6import type {
7 AtLanyardProfile,
8 AtLanyardAffiliation,
9 AtLanyardWork,
10 AtLanyardEvent,
11 AtLanyardLink,
12 AtLanyardOrganization,
13 AtLanyardPublication,
14 AtLanyardLocation,
15} from './generated';
16
17// Main record types
18export type Profile = AtLanyardProfile.Record;
19export type Affiliation = AtLanyardAffiliation.Record;
20export type Work = AtLanyardWork.Record;
21export type Event = AtLanyardEvent.Record;
22export type Link = AtLanyardLink.Record;
23export type Organization = AtLanyardOrganization.Main;
24export type Publication = AtLanyardPublication.Main;
25export type Location = AtLanyardLocation.Main;
26
27// Convenience type aliases for enums and unions
28export type Honorific = 'none' | 'Dr' | 'Prof';
29export type WorkType = Work['type'];
30export type EventType = Event['type'];
31export type LinkType = Link['type'];
32export type LinkPlatform = NonNullable<Link['platform']>;
33export type OrganizationType = NonNullable<Organization['type']>;
34export type PublicationType = NonNullable<Publication['type']>;