-
-
Notifications
You must be signed in to change notification settings - Fork 144
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 #417 from ExpressLRS/populate-manual-user-defines-…
…from-existing-config Implement "Copy from standard mode"
- Loading branch information
Showing
16 changed files
with
583 additions
and
169 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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,12 @@ | ||
import { Field, InputType } from 'type-graphql'; | ||
import UserDefineInput from './UserDefineInput'; | ||
|
||
@InputType('BuildUserDefinesTxtInput') | ||
export default class BuildUserDefinesTxtInput { | ||
@Field(() => [UserDefineInput]) | ||
userDefines: UserDefineInput[]; | ||
|
||
constructor() { | ||
this.userDefines = []; | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...pi/src/models/BuildFlashFirmwareResult.ts → ...aphql/objects/BuildFlashFirmwareResult.ts
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,11 @@ | ||
import { Field, ObjectType } from 'type-graphql'; | ||
|
||
@ObjectType('BuildUserDefinesTxtResult') | ||
export default class BuildUserDefinesTxtResult { | ||
@Field({ nullable: true }) | ||
userDefinesTxt: string; | ||
|
||
constructor(userDefinesTxt: string) { | ||
this.userDefinesTxt = userDefinesTxt; | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Oops, something went wrong.