protected override void Configure(IInputObjectTypeDescriptor <EditTopic> descriptor) { descriptor.Name("EditTopicInput"); descriptor.Field(x => x.Id).Type <NonNullType <UuidType> >().Description("The id of the topic."); descriptor.Field(x => x.Title).Type <NonNullType <StringType> >().Description("The title of the topic."); descriptor.Field(x => x.Description).Type <NonNullType <StringType> >().Description("The description of the topic"); }
protected override void Configure(IInputObjectTypeDescriptor <Image> descriptor) { descriptor.Name("ImageInput"); descriptor.Field(f => f.Size).Type <NonNullType <IntType> >(); descriptor.Field(f => f.Url).Type <NonNullType <StringType> >(); }
protected override void Configure(IInputObjectTypeDescriptor <UpdateBatchDefinitionCommand> descriptor) { base.Configure(descriptor); descriptor.Name("UpdateBatchDefinitionInput"); descriptor .Field(c => c.BatchDefinitionId) .ID(nameof(BatchDefinition)) .Name("id"); descriptor .Field(c => c.Name) .Name("name"); descriptor .Field(c => c.Description) .Name("description"); descriptor .Field(c => c.IsDefault) .Name("isDefault"); descriptor .Field(c => c.FieldDefinitions) .Name("fieldDefinitions"); }
protected override void Configure( IInputObjectTypeDescriptor <TestSessionVariantChoiceQuestionOptionModificationData> descriptor) { descriptor.Field(e => e.Id).Type <UuidType>(); descriptor.Field(e => e.Text).Type <NonNullType <StringType> >(); descriptor.Field(e => e.IsCorrect); }
protected override void Configure(IInputObjectTypeDescriptor <UpdateCatalogCommand> descriptor) { base.Configure(descriptor); descriptor.Name("UpdateCatalogInput"); descriptor .Field(c => c.Name) .Name("name"); descriptor .Field(c => c.CatalogId) .Name("id") .ID(nameof(Catalog)); descriptor .Field(c => c.IsAvailable) .Name("available"); descriptor .Field(c => c.IsDefault) .Name("isDefault"); descriptor .Field(c => c.Products) .Name("products") .Type <ListType <ProductPriceInputType> >(); }
protected override void Configure(IInputObjectTypeDescriptor <MatchInput> descriptor) { descriptor.Field(t => t.winnerA).Type <NonNullType <IdType> >(); descriptor.Field(t => t.winnerB).Type <NonNullType <IdType> >(); descriptor.Field(t => t.looserA).Type <NonNullType <IdType> >(); descriptor.Field(t => t.looserB).Type <NonNullType <IdType> >(); }
protected override void Configure(IInputObjectTypeDescriptor <CreateUsersForCompanyTxn_Input> descriptor) { descriptor.Field(t => t.Company) .Type <CompanyInputType>(); descriptor.Field(t => t.Users) .Type <ListType <UserAppType> >(); }
protected override void Configure( IInputObjectTypeDescriptor <TestSessionVariantChoiceQuestionModificationData> descriptor) { descriptor.Field(e => e.QuestionText).Type <NonNullType <StringType> >(); descriptor.Field(e => e.Options) .Type <NonNullType <ListType <NonNullType <TestSessionVariantChoiceQuestionOptionInputGraphType> > > >(); }
protected override void Configure(IInputObjectTypeDescriptor <BookModel> descriptor) { descriptor.Field(b => b.Id).Type <IdType>(); descriptor.Field(b => b.ISBN).Type <StringType>(); descriptor.Field(b => b.Author).Ignore(); descriptor.Field(b => b.Publication).Type <NonNullType <PublicationInputType> >(); }
protected override void Configure(IInputObjectTypeDescriptor <MessageInput> descriptor) { base.Configure(descriptor); descriptor.Field(t => t.Text).Type <NonNullType <StringType> >(); descriptor.Field(t => t.UserId).Type <NonNullType <IdType> >(); descriptor.Field(t => t.ReplyToId).Type <IdType>(); }
protected override void Configure(IInputObjectTypeDescriptor <CreateActor> descriptor) { descriptor.Field(t => t.Name).Type <NonNullType <StringType> >(); descriptor.Field(t => t.DateOfBirth).Type <NonNullType <DateType> >(); descriptor.Field(t => t.Nationality).Type <NonNullType <StringType> >() .Description("Iso code of the nationality of the actor"); }
protected override void Configure(IInputObjectTypeDescriptor <CreateDeliveryBatchCommand> descriptor) { base.Configure(descriptor); descriptor.Name("CreateDeliveryBatchInput"); descriptor .Field(c => c.From) .Name("from"); descriptor .Field(c => c.Name) .Name("name"); descriptor .Field(c => c.ScheduledOn) .Name("scheduledOn"); descriptor .Field(c => c.SetAsReady) .Name("setAsReady"); descriptor .Field(c => c.Deliveries) .Name("deliveries") .Type <NonNullType <ListType <ClientDeliveryPositionDtoInputType> > >(); }
protected override void Configure(IInputObjectTypeDescriptor <UserEntersChatTxn_Input> descriptor) { descriptor.Field(t => t.Chat) .Type <NonNullType <ChatInputType> >(); descriptor.Field(t => t.User) .Type <NonNullType <UserAppInputType> >(); }
protected override void Configure(IInputObjectTypeDescriptor <UpdateQuickOrderCommand> descriptor) { base.Configure(descriptor); descriptor.Name("UpdateQuickOrderInput"); descriptor .Field(c => c.Description) .Name("description"); descriptor .Field(c => c.QuickOrderId) .Name("id") .ID(nameof(QuickOrder)); descriptor .Field(c => c.Name) .Name("name") .Type <NonNullType <StringType> >(); descriptor .Field(c => c.IsDefault) .Name("isDefault"); descriptor .Field(c => c.Products) .Name("products") .Type <ListType <ResourceIdQuantityInputType> >(); }
protected override void Configure(IInputObjectTypeDescriptor <CreateCustomerInput> descriptor) { base.Configure(descriptor); descriptor.Field(x => x.Firstname).Type <NonNullType <StringType> >(); descriptor.Field(x => x.Lastname).Type <NonNullType <StringType> >(); }
protected override void Configure(IInputObjectTypeDescriptor <MultipleChoiceQuestion> descriptor) { descriptor.Field(x => x.CreatedTime).Type <DateTimeType>().Ignore(); descriptor.Field(x => x.ModifiedTime).Type <DateTimeType>().Ignore(); descriptor.Field(x => x.Attachments).Type <ListType <AttachmentInputType> >(); descriptor.Field(x => x.Options).Type <ListType <OptionInputType> >(); }
protected override void Configure(IInputObjectTypeDescriptor <Article> descriptor) { descriptor.Name("ArticleInput"); descriptor.Field(f => f.Id).Type <NonNullType <IntType> >().DefaultValue(0); descriptor.Field(f => f.Images).Type <NonNullType <ListType <ImageInputType> > >(); }
protected override void Configure(IInputObjectTypeDescriptor <DeviceIdentifierInput> descriptor) { descriptor.Name("DeviceIdentifierInput") .Description( @"Identifies an input device or input device archetype. One of the following combination of values must be set, in order of priority: * `instanceId` * Identifies a connected device with the specified instance GUID. * `vendorId` + `productId` * Identifies a connected device with the specified Vendor ID and Product ID combination. * `vendorId` + `deviceName` * Identifies the device archetype with the specified Vendor ID and Device Name combination. This does not need to refer to a connected device. Input profiles are always registered to the device archetype consisting of the Vendor ID and Device Name of the device. `instanceId` and `vendorId` + `productId` inputs are used only to find such an archetype from the list of connected devices. Combinations are strictly prioritized, for exampleif `instanceId` is set, this will override any identfier with `vendorId`. For combinations that require a connected device, if such a device is not found, there is no fallback to a lower priority combination, and an error will occur. For example, if `instanceId`, `vendorId`, and `deviceName` are all set, and a device with the provided `instanceId` could not be found, this will result in an error."); descriptor.Field(i => i.InstanceID) .Name("instanceId") .Description("The instance ID that identifies the input device") .Type <UuidType>(); descriptor.Field(i => i.VendorID) .Name("vendorId") .Description("The vendor ID that identifies the vendor of the input device.") .Type <IntType>(); descriptor.Field(i => i.ProductID) .Name("productId") .Description("The product ID that identifies the product type of the input device.") .Type <IntType>(); descriptor.Field(i => i.DeviceName) .Name("deviceName") .Description("The device name that together with the Vendor ID identifies a specific device archetype.") .Type <StringType>(); }
protected override void Configure(IInputObjectTypeDescriptor <InterviewCreateCommand> descriptor) { descriptor.Field(x => x.Status).Type <InterviewStatusType>(); descriptor.Field(x => x.Rounds).Type <ListType <InterviewRoundCreateCommandInputType> >(); descriptor.Field(x => x.Context).Type <InterviewContextInputType>(); descriptor.Field(x => x.RequiredCandidateInfo).Type <RequiredCandidateInfoInputType>(); }
protected override void Configure(IInputObjectTypeDescriptor <CreateCompanyAndXUsersTxn_Input> descriptor) { descriptor.Field(t => t.Company) .Type <CompanyInputType>(); descriptor.Field(t => t.UsersToCreate) .Type <IntType>(); }
protected override void Configure(IInputObjectTypeDescriptor <UserModel> descriptor) { descriptor.Field(b => b.Id).Type <IdType>(); descriptor.Field(b => b.Reservations).Ignore(); descriptor.Field(b => b.Role).Ignore(); descriptor.Field(b => b.Reviews).Ignore(); }
protected override void Configure(IInputObjectTypeDescriptor <CreateConsumerOrderCommand> descriptor) { base.Configure(descriptor); descriptor.Name("CreateOrderInput"); descriptor .Field(c => c.Donation) .Name("donation"); descriptor .Field(c => c.UserId) .Name("userId") .ID(nameof(User)); descriptor .Field(c => c.ProducersExpectedDeliveries) .Name("deliveries") .Type <ListType <ProducerExpectedDeliveryInputType> >(); descriptor .Field(c => c.Products) .Name("products") .Type <NonNullType <ListType <ResourceIdQuantityInputType> > >(); }
protected override void Configure( IInputObjectTypeDescriptor <ComplexInput> descriptor) { descriptor.Name("ComplexInputType"); descriptor.Field(t => t.Value).Type <StringType>(); descriptor.Field(t => t.Deeper).Type <ComplexInputType>(); }
protected override void Configure(IInputObjectTypeDescriptor <CreateAgreementCommand> descriptor) { base.Configure(descriptor); descriptor.Name("CreateAgreementInput"); descriptor .Field(c => c.DeliveryId) .Name("deliveryId") .ID(nameof(DeliveryMode)); descriptor .Field(c => c.StoreId) .Name("storeId") .ID(nameof(Store)); descriptor .Field(c => c.ProducerId) .Name("producerId") .ID(nameof(Producer)); descriptor .Field(c => c.CatalogId) .Name("catalogId") .ID(nameof(Catalog)); }
protected override void Configure(IInputObjectTypeDescriptor <CompleteDeliveryCommand> descriptor) { base.Configure(descriptor); descriptor.Name("CompleteDeliveryInput"); descriptor .Field(c => c.DeliveryId) .ID(nameof(Delivery)) .Name("id"); descriptor .Field(c => c.ReceptionedBy) .Name("receptionedBy"); descriptor .Field(c => c.Comment) .Name("comment"); descriptor .Field(c => c.ReturnedProducts) .Name("returnedProducts") .Type <ListType <ReturnedProductDtoInputType> >(); descriptor .Field(c => c.ReturnedReturnables) .Name("returnedReturnables") .Type <ListType <ReturnedReturnableDtoInputType> >(); }
protected override void Configure(IInputObjectTypeDescriptor <UpdateReturnableCommand> descriptor) { base.Configure(descriptor); descriptor.Name("UpdateReturnableInput"); descriptor .Field(c => c.Description) .Name("description"); descriptor .Field(c => c.Vat) .Name("vat"); descriptor .Field(c => c.WholeSalePrice) .Name("wholeSalePrice"); descriptor.Field(c => c.ReturnableId) .Name("id") .ID(nameof(Returnable)); descriptor.Field(c => c.Name) .Name("name") .Type <NonNullType <StringType> >(); }
protected override void Configure( IInputObjectTypeDescriptor <Baz> descriptor) { descriptor.Field(t => t.Foo) .Type <NonNullType <StringType> >(); descriptor.Field(t => t.Quox) .Type <ListType <NonNullType <StringType> > >(); }
protected override void Configure(IInputObjectTypeDescriptor <SignUpStudentDataDto> descriptor) { descriptor.Field(e => e.Email).Type <NonNullType <StringType> >(); descriptor.Field(e => e.Password).Type <NonNullType <StringType> >(); descriptor.Field(e => e.FirstName).Type <NonNullType <StringType> >(); descriptor.Field(e => e.LastName).Type <NonNullType <StringType> >(); descriptor.Field(e => e.Group).Type <NonNullType <StringType> >(); }
protected override void Configure(IInputObjectTypeDescriptor <Rating> descriptor) { descriptor.Field(t => t.UserId) .Type <IdType>(); descriptor.Field(t => t.AlbumId) .Type <IdType>(); }
protected override void Configure(IInputObjectTypeDescriptor<LineString> descriptor) { descriptor.BindFieldsExplicitly(); descriptor.Field(_typeFieldName).Type<EnumType<GeoJSONGeometryType>>(); descriptor.Field(_coordinatesFieldName).Type<ListType<GeoJSONPositionScalar>>(); descriptor.Field(_crsFieldName).Type<IntType>(); }