type-graphql#registerEnumType TypeScript Examples
The following examples show how to use
type-graphql#registerEnumType.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Gender.ts From graphql-ts-client with MIT License | 5 votes |
registerEnumType(Gender, {name: "Gender"});
Example #2
Source File: getTypes.ts From liferay-grow with MIT License | 5 votes |
registerEnumType(SortBy, {
description: 'Class Types',
name: 'SortBy',
});
Example #3
Source File: resolver.types.ts From hakka with MIT License | 5 votes |
registerEnumType(SORT_ORDER, {
name: 'SORT_ORDER',
})
Example #4
Source File: application.ts From mikro-orm-graphql-example with MIT License | 5 votes |
// TODO: create service for this
registerEnumType(PublisherType, {
name: 'PublisherType',
description: 'Type of the publisher',
});
Example #5
Source File: enums.ts From backend with MIT License | 5 votes |
registerEnumType(CourseCategory, {
name: "CourseCategory"
});
Example #6
Source File: enums.ts From backend with MIT License | 5 votes |
registerEnumType(NotificationSender, {
name: "NotificationSender"
});
Example #7
Source File: enums.ts From backend with MIT License | 5 votes |
registerEnumType(LearningGermanSince, {
name: "LearningGermanySince"
});
Example #8
Source File: enums.ts From backend with MIT License | 5 votes |
registerEnumType(TutorJufoParticipationIndication, {
name: "TutorJufoParticipationIndication",
description: "A different way of storing TRUE / FALSE / NULL"
});
Example #9
Source File: enums.ts From backend with MIT License | 5 votes |
registerEnumType(TuteeJufoParticipationIndication, {
name: "TuteeJufoParticipationIndication",
description: "A complicated way of storing TRUE / FALSE / NULL"
});
Example #10
Source File: enums.ts From backend with MIT License | 5 votes |
registerEnumType(Language, {
name: "Language",
description: "languages commonly spoken at Lern-Fair (except TypeScript)"
});
Example #11
Source File: enums.ts From backend with MIT License | 5 votes |
registerEnumType(TeacherModule, {
name: "TeacherModule"
});
Example #12
Source File: enums.ts From backend with MIT License | 5 votes |
registerEnumType(State, {
name: "State",
description: "A state in the federal republic of germany"
});
Example #13
Source File: enums.ts From backend with MIT License | 5 votes |
registerEnumType(ProjectField, {
name: "ProjectField",
description: "The academic field a project is in"
});
Example #14
Source File: enums.ts From backend with MIT License | 5 votes |
registerEnumType(RegistrationSource, {
name: "RegistrationSource",
description: "How the user came to Lern-Fair. The 'Cooperation' value has a special meaning, see 'state pupil'"
});
Example #15
Source File: enums.ts From backend with MIT License | 5 votes |
registerEnumType(SchoolType, {
name: "SchoolType"
});
Example #16
Source File: CommentEmotion.input.ts From bouncecode-cms with GNU General Public License v3.0 | 5 votes |
registerEnumType(CommentEmotionEnum, {
name: 'CommentEmotionEnum',
});
Example #17
Source File: UserDefineKey.ts From ExpressLRS-Configurator with GNU General Public License v3.0 | 5 votes |
/*
Export library based enum to Graphql
*/
registerEnumType(UserDefineKey, {
name: 'UserDefineKey',
});
Example #18
Source File: App.ts From graphql-ts-client with MIT License | 5 votes |
registerEnumType(Gender, { name: "Gender" });
Example #19
Source File: Notification.ts From convoychat with GNU General Public License v3.0 | 5 votes |
registerEnumType(NOTIFICATION_TYPE, {
name: "NOTIFICATION_TYPE",
description: "Notification types enums",
});
Example #20
Source File: UserDefinesMode.ts From ExpressLRS-Configurator with GNU General Public License v3.0 | 5 votes |
registerEnumType(UserDefinesMode, {
name: 'UserDefinesMode',
});
Example #21
Source File: UserDefineOptionGroup.tsx From ExpressLRS-Configurator with GNU General Public License v3.0 | 5 votes |
registerEnumType(UserDefineOptionGroup, {
name: 'UserDefineOptionGroup',
});
Example #22
Source File: UserDefineKind.ts From ExpressLRS-Configurator with GNU General Public License v3.0 | 5 votes |
registerEnumType(UserDefineKind, {
name: 'UserDefineKind',
});
Example #23
Source File: SerialMonitorEventType.ts From ExpressLRS-Configurator with GNU General Public License v3.0 | 5 votes |
registerEnumType(SerialMonitorEventType, {
name: 'SerialMonitorEventType',
});
Example #24
Source File: MulticastDnsEventType.ts From ExpressLRS-Configurator with GNU General Public License v3.0 | 5 votes |
registerEnumType(MulticastDnsEventType, {
name: 'MulticastDnsEventType',
});
Example #25
Source File: FlashingMethod.ts From ExpressLRS-Configurator with GNU General Public License v3.0 | 5 votes |
registerEnumType(FlashingMethod, {
name: 'FlashingMethod',
});
Example #26
Source File: FirmwareSource.ts From ExpressLRS-Configurator with GNU General Public License v3.0 | 5 votes |
registerEnumType(FirmwareSource, {
name: 'FirmwareSource',
});
Example #27
Source File: FirmwareBuildStep.ts From ExpressLRS-Configurator with GNU General Public License v3.0 | 5 votes |
registerEnumType(BuildFirmwareStep, {
name: 'BuildFirmwareStep',
});
Example #28
Source File: DeviceType.ts From ExpressLRS-Configurator with GNU General Public License v3.0 | 5 votes |
registerEnumType(DeviceType, {
name: 'DeviceType',
});
Example #29
Source File: BuildProgressNotificationType.ts From ExpressLRS-Configurator with GNU General Public License v3.0 | 5 votes |
registerEnumType(BuildProgressNotificationType, {
name: 'BuildProgressNotificationType',
});