Skip to content

Commit

Permalink
add new sort methods to API
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielburnworth committed Jun 13, 2022
1 parent 1ba0602 commit 66f96ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/models/point_group.rb
@@ -1,6 +1,6 @@
class PointGroup < ApplicationRecord
SORT_TYPES =
%w(xy_ascending xy_descending yx_ascending yx_descending random).sort
%w(xy_ascending xy_descending yx_ascending yx_descending xy_alternating yx_alternating nn random).sort
BAD_SORT = "%{value} is not valid. Valid options are: " +
SORT_TYPES.map(&:inspect).join(", ")
DEFAULT_CRITERIA = {
Expand Down
6 changes: 3 additions & 3 deletions frontend/util/version.ts
Expand Up @@ -106,11 +106,11 @@ export enum FbosVersionFallback {

export const fallbackData: MinOsFeatureLookup = {
[Feature.boot_sequence]: "15.1.0",
[Feature.toggle_peripheral]: "15.3.0",
[Feature.sort_type_optimized]: "15.3.0",
[Feature.sort_type_alternating]: "15.3.0",
[Feature.express_k11]: MinVersionOverride.NEVER,
[Feature.planted_at_now]: MinVersionOverride.NEVER,
[Feature.sort_type_optimized]: MinVersionOverride.NEVER,
[Feature.sort_type_alternating]: MinVersionOverride.NEVER,
[Feature.toggle_peripheral]: MinVersionOverride.NEVER,
};

/**
Expand Down

0 comments on commit 66f96ac

Please sign in to comment.