Init commit

This commit is contained in:
2025-01-30 13:26:48 +01:00
commit 5f42c707eb
120 changed files with 18576 additions and 0 deletions

7
resources/js/types/Jobs/job.d.ts vendored Normal file
View File

@ -0,0 +1,7 @@
export type Job = {
id: number;
name: string;
description: string;
is_active: boolean;
created_at: Date;
}

23
resources/js/types/global.d.ts vendored Normal file
View File

@ -0,0 +1,23 @@
import { PageProps as InertiaPageProps } from '@inertiajs/core';
import { AxiosInstance } from 'axios';
import { route as ziggyRoute } from 'ziggy-js';
import { PageProps as AppPageProps } from './';
declare global {
interface Window {
axios: AxiosInstance;
}
/* eslint-disable no-var */
var route: typeof ziggyRoute;
}
declare module 'vue' {
interface ComponentCustomProperties {
route: typeof ziggyRoute;
}
}
declare module '@inertiajs/core' {
interface PageProps extends InertiaPageProps, AppPageProps {}
}

4
resources/js/types/index.d.ts vendored Normal file
View File

@ -0,0 +1,4 @@
export type PageProps<
T extends Record<string, unknown> = Record<string, unknown>,
> = T & {
};

1
resources/js/types/vite-env.d.ts vendored Normal file
View File

@ -0,0 +1 @@
/// <reference types="vite/client" />