mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Can now create jobs, and set prerequisites for the fake provider, which will be skipped when they're not necessary.
This commit is contained in:
@@ -45,14 +45,6 @@ interface PrerequisitesInterface
|
||||
*/
|
||||
public function getViewParameters(): array;
|
||||
|
||||
/**
|
||||
* Returns if this import method has any special prerequisites such as config
|
||||
* variables or other things.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function hasPrerequisites(): bool;
|
||||
|
||||
/**
|
||||
* Indicate if all prerequisites have been met.
|
||||
*
|
||||
@@ -68,6 +60,10 @@ interface PrerequisitesInterface
|
||||
public function setUser(User $user): void;
|
||||
|
||||
/**
|
||||
* This method responds to the user's submission of an API key. Should do nothing but store the value.
|
||||
*
|
||||
* Errors must be returned in the message bag under the field name they are requested by.
|
||||
*
|
||||
* @param Request $request
|
||||
*
|
||||
* @return MessageBag
|
||||
|
Reference in New Issue
Block a user