This repository has been archived by the owner on Oct 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update with changes previously made on my old fork to version 1.2.
- Loading branch information
1 parent
5e1bc47
commit 485d0b7
Showing
14 changed files
with
107 additions
and
8,148 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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 @@ | ||
<?xml version="1.0"?> | ||
<ruleset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="PHP_CodeSniffer" xsi:noNamespaceSchemaLocation="phpcs.xsd"> | ||
<description>GeneaLabs coding standards.</description> | ||
|
||
<rule ref="PSR1"></rule> | ||
<rule ref="PSR2"></rule> | ||
<rule ref="PSR12"> | ||
<exclude name="PSR12.Classes.ClassInstantiation.MissingParentheses"/> | ||
<exclude name="PSR12.Functions.ReturnTypeDeclaration.SpaceBeforeColon"/> | ||
</rule> | ||
</ruleset> |
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
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 @@ | ||
export default { | ||
fetchAvailableResources(resourceName, fieldAttribute, params) { | ||
return Nova.request().get( | ||
`/nova-api/${resourceName}/associatable/${fieldAttribute}`, | ||
params | ||
) | ||
}, | ||
|
||
determineIfSoftDeletes(resourceName) { | ||
return Nova.request().get(`/nova-api/${resourceName}/soft-deletes`) | ||
}, | ||
} |
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 |
---|---|---|
@@ -1,9 +1,12 @@ | ||
let mix = require('laravel-mix') | ||
let mix = require('laravel-mix'); | ||
|
||
mix.js('resources/js/tool.js', 'dist/js').webpackConfig({ | ||
resolve: { | ||
alias: { | ||
'@': path.resolve(__dirname, 'vendor/laravel/nova/resources/js/'), | ||
mix | ||
.js('resources/js/tool.js', 'dist/js') | ||
.webpackConfig({ | ||
resolve: { | ||
alias: { | ||
'@': path.resolve(__dirname, 'vendor/laravel/nova/resources/js/'), | ||
}, | ||
}, | ||
}, | ||
}); | ||
}) | ||
; |
Oops, something went wrong.