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 vote down vote up
registerEnumType(Gender, {name: "Gender"});
Example #2
Source File: getTypes.ts    From liferay-grow with MIT License 5 votes vote down vote up
registerEnumType(SortBy, {
  description: 'Class Types',
  name: 'SortBy',
});
Example #3
Source File: resolver.types.ts    From hakka with MIT License 5 votes vote down vote up
registerEnumType(SORT_ORDER, {
  name: 'SORT_ORDER',
})
Example #4
Source File: application.ts    From mikro-orm-graphql-example with MIT License 5 votes vote down vote up
// 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 vote down vote up
registerEnumType(CourseCategory, {
    name: "CourseCategory"
});
Example #6
Source File: enums.ts    From backend with MIT License 5 votes vote down vote up
registerEnumType(NotificationSender, {
    name: "NotificationSender"
});
Example #7
Source File: enums.ts    From backend with MIT License 5 votes vote down vote up
registerEnumType(LearningGermanSince, {
    name: "LearningGermanySince"
});
Example #8
Source File: enums.ts    From backend with MIT License 5 votes vote down vote up
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 vote down vote up
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 vote down vote up
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 vote down vote up
registerEnumType(TeacherModule, {
    name: "TeacherModule"
});
Example #12
Source File: enums.ts    From backend with MIT License 5 votes vote down vote up
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 vote down vote up
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 vote down vote up
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 vote down vote up
registerEnumType(SchoolType, {
    name: "SchoolType"
});
Example #16
Source File: CommentEmotion.input.ts    From bouncecode-cms with GNU General Public License v3.0 5 votes vote down vote up
registerEnumType(CommentEmotionEnum, {
  name: 'CommentEmotionEnum',
});
Example #17
Source File: UserDefineKey.ts    From ExpressLRS-Configurator with GNU General Public License v3.0 5 votes vote down vote up
/*
  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 vote down vote up
registerEnumType(Gender, { name: "Gender" });
Example #19
Source File: Notification.ts    From convoychat with GNU General Public License v3.0 5 votes vote down vote up
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 vote down vote up
registerEnumType(UserDefinesMode, {
  name: 'UserDefinesMode',
});
Example #21
Source File: UserDefineOptionGroup.tsx    From ExpressLRS-Configurator with GNU General Public License v3.0 5 votes vote down vote up
registerEnumType(UserDefineOptionGroup, {
  name: 'UserDefineOptionGroup',
});
Example #22
Source File: UserDefineKind.ts    From ExpressLRS-Configurator with GNU General Public License v3.0 5 votes vote down vote up
registerEnumType(UserDefineKind, {
  name: 'UserDefineKind',
});
Example #23
Source File: SerialMonitorEventType.ts    From ExpressLRS-Configurator with GNU General Public License v3.0 5 votes vote down vote up
registerEnumType(SerialMonitorEventType, {
  name: 'SerialMonitorEventType',
});
Example #24
Source File: MulticastDnsEventType.ts    From ExpressLRS-Configurator with GNU General Public License v3.0 5 votes vote down vote up
registerEnumType(MulticastDnsEventType, {
  name: 'MulticastDnsEventType',
});
Example #25
Source File: FlashingMethod.ts    From ExpressLRS-Configurator with GNU General Public License v3.0 5 votes vote down vote up
registerEnumType(FlashingMethod, {
  name: 'FlashingMethod',
});
Example #26
Source File: FirmwareSource.ts    From ExpressLRS-Configurator with GNU General Public License v3.0 5 votes vote down vote up
registerEnumType(FirmwareSource, {
  name: 'FirmwareSource',
});
Example #27
Source File: FirmwareBuildStep.ts    From ExpressLRS-Configurator with GNU General Public License v3.0 5 votes vote down vote up
registerEnumType(BuildFirmwareStep, {
  name: 'BuildFirmwareStep',
});
Example #28
Source File: DeviceType.ts    From ExpressLRS-Configurator with GNU General Public License v3.0 5 votes vote down vote up
registerEnumType(DeviceType, {
  name: 'DeviceType',
});
Example #29
Source File: BuildProgressNotificationType.ts    From ExpressLRS-Configurator with GNU General Public License v3.0 5 votes vote down vote up
registerEnumType(BuildProgressNotificationType, {
  name: 'BuildProgressNotificationType',
});