code: func (r *GormWorkItemTypeRepository) Create(ctx context.Context, spaceTemplateID uuid.UUID, id *uuid.UUID, extendedTypeID *uuid.UUID, name string, description *string, icon string, fields FieldDefinitions, canConstruct bool) (*WorkItemType, error) {
  	wit := WorkItemType{
  		SpaceTemplateID: spaceTemplateID,
  		Name:            name,
  		Description:     description,
  		Icon:            icon,
  		Fields:          fields,
  		CanConstruct:    canConstruct,
  	}
  	if id != nil {
  		wit.ID = *id
  	} else {
  		wit.ID = uuid.NewV4()
  	}
  	if extendedTypeID != nil && *extendedTypeID != uuid.Nil {
  		wit.Extends = *extendedTypeID
  	}
  	return r.CreateFromModel(ctx, wit)
  }
docs: // Create creates a new work item type according to the given parameters.