Skip to content

Commit c5d4678

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

File tree

85 files changed

+95
-822
lines changed

Some content is hidden

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

85 files changed

+95
-822
lines changed

@types/index.d.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
import type { AppConfig, default as Nova } from "../dist/nova";
2+
import type { Form, Errors } from "../dist/util/FormValidation";
3+
4+
export {
5+
AppConfig,
6+
Nova,
7+
Form,
8+
Errors
9+
}
10+
11+
declare global {
12+
interface Window {
13+
createNovaApp: (config: AppConfig) => Nova;
14+
Nova: Nova;
15+
LaravelNovaUtil: {
16+
filled, hourCycle, increaseOrDecrease, minimum, singularOrPlural
17+
};
18+
}
19+
}

@types/laravel-nova-util/index.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
declare module 'laravel-nova-util' {
2+
export type filled = (values: any) => boolean;
3+
export type hourCycle = (locale: string) => number;
4+
export type increaseOrDecrease = (currentValue: number, startingValue: number) => boolean | null;
5+
export type minimum = (originalPromise: Promise<any>, delay?: number) => Promise<any>;
6+
export type singularOrPlural = (value: number, suffix: any) => string;
7+
}
File renamed without changes.

dist/components.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.
File renamed without changes.

dist/fields.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.
File renamed without changes.

dist/nova.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.
File renamed without changes.

dist/store/index.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)