Skip to content

Commit d5c48f2

Browse files
committed
wip
Signed-off-by: Mior Muhammad Zaki <[email protected]>
1 parent 54a08e4 commit d5c48f2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+889
-18
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
"require-dev": {
1515
"larastan/larastan": "^2.4",
16-
"laravel/nova": "dev-5/ts as 5.0.0",
16+
"laravel/nova": "*",
1717
"laravel/pint": "^1.17",
1818
"orchestra/pest-plugin-testbench": "^2.0",
1919
"orchestra/testbench": "^8.24|^9.2",
@@ -34,8 +34,8 @@
3434
},
3535
"repositories": [
3636
{
37-
"type": "vcs",
38-
"url": "https://github.com/laravel/nova"
37+
"type": "path",
38+
"url": "~/Projects/laravel/nova/aries"
3939
}
4040
],
4141
"config": {

package-lock.json

Lines changed: 73 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"description": "Laravel Nova DevTool",
44
"types": "types/index.d.ts",
55
"devDependencies": {
6+
"@babel/preset-typescript": "^7.24.7",
67
"@inertiajs/vue3": "^1.0.0",
78
"axios": "^1.7.4",
89
"lodash": "^4.17.21",

tsconfig.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
{
22
// Change this to match your project
33
"include": [
4-
"vendor/laravel/nova/resources/js/app.js",
54
"vendor/laravel/nova/resources/js/util/FormValidation.js",
6-
"vendor/laravel/nova/resources/js/nova.js",
7-
"vendor/laravel/nova/resources/js/types.d.ts"
5+
"vendor/laravel/nova/resources/js/nova.js"
6+
],
7+
"exclude": [
8+
"node_modules",
9+
"vendor/laravel/nova/node_modules",
10+
"vendor/laravel/nova/ui/node_modules"
811
],
912
"compilerOptions": {
1013
// Tells TypeScript to read JS files, as
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
export function useLocalization(): {
2+
/**
3+
* @param {string} key
4+
* @param {{[key: string]: string}} replace
5+
* @returns {string}
6+
*/
7+
__: (key: string, replace: {
8+
[key: string]: string;
9+
}) => string;
10+
};
11+
//# sourceMappingURL=useLocalization.d.ts.map

types/dist/composables/useLocalization.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

types/dist/fields.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
2-
* @param {VueApp} app
2+
* @param {NovaApp} app
33
*/
4-
export function registerFields(app: VueApp): void;
5-
export type VueApp = import("vue").App;
4+
export function registerFields(app: NovaApp): void;
5+
export type NovaApp = import("./nova").default;
66
//# sourceMappingURL=fields.d.ts.map

types/dist/fields.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
export function useCopyValueToClipboard(): {
2+
copyValueToClipboard: (value: any) => void;
3+
};
4+
export default mixin;
5+
declare namespace mixin {
6+
namespace methods {
7+
/**
8+
* @param {string} value
9+
*/
10+
function copyValueToClipboard(value: string): void;
11+
}
12+
}
13+
//# sourceMappingURL=CopiesToClipboard.d.ts.map

types/dist/mixins/CopiesToClipboard.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)