-
Notifications
You must be signed in to change notification settings - Fork 339
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2476 from FarmBot/staging
v15.12.0
- Loading branch information
Showing
860 changed files
with
7,020 additions
and
2,329 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.3.6 | ||
3.3.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
import { Crops } from "../crops/interfaces"; | ||
|
||
export const FAKE_CROPS: Crops = { | ||
"mint": { | ||
name: "Mint", | ||
binomial_name: "Mentha spicata", | ||
common_names: ["Mint", "spearmint"], | ||
description: "Mint is a perennial herb with a distinctive taste.", | ||
sun_requirements: "Partial sun", | ||
sowing_method: "Direct seed indoors or outside", | ||
spread: 100, | ||
row_spacing: 100, | ||
height: 60, | ||
growing_degree_days: 100, | ||
companions: ["strawberry"], | ||
image: "/crops/images/mint.jpg", | ||
icon: "/crops/icons/mint.avif" | ||
}, | ||
"strawberry": { | ||
name: "Strawberry", | ||
binomial_name: "", | ||
common_names: [], | ||
description: "", | ||
sun_requirements: "", | ||
sowing_method: "", | ||
spread: 25, | ||
row_spacing: 35, | ||
height: 60, | ||
growing_degree_days: 100, | ||
companions: [], | ||
icon: "", | ||
image: "", | ||
}, | ||
"generic-plant": { | ||
name: "", | ||
binomial_name: "", | ||
common_names: [], | ||
description: "", | ||
sun_requirements: "", | ||
sowing_method: "", | ||
spread: 0, | ||
row_spacing: 0, | ||
height: 0, | ||
growing_degree_days: 0, | ||
companions: [], | ||
icon: "", | ||
image: "", | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { TaggedPlant } from "../farm_designer/map/interfaces"; | ||
import { AddPlantProps } from "../three_d_garden/bed"; | ||
import { fakeDesignerState } from "./fake_designer_state"; | ||
|
||
export const fakeAddPlantProps = | ||
(plants: TaggedPlant[]): AddPlantProps => ({ | ||
gridSize: { x: 1000, y: 2000 }, | ||
dispatch: jest.fn(), | ||
getConfigValue: jest.fn(), | ||
plants, | ||
curves: [], | ||
designer: fakeDesignerState(), | ||
}); |
Oops, something went wrong.