Done
linter / quality (push) Has been cancelled
tests / ci (8.3) (push) Has been cancelled
tests / ci (8.4) (push) Has been cancelled
tests / ci (8.5) (push) Has been cancelled

This commit is contained in:
2026-07-04 23:09:00 +10:00
parent 0485b85a59
commit 439139a057
50 changed files with 2405 additions and 548 deletions
+47
View File
@@ -0,0 +1,47 @@
import type { Config as ZiggyConfig } from 'ziggy-js';
export interface User {
id: number;
name: string;
email: string;
email_verified_at: string | null;
}
export interface Auth {
user: User | null;
}
export interface NavCategory {
id: number;
parent_id: number | null;
title: string;
children?: NavCategory[];
}
export interface SharedData {
name: string;
auth: Auth;
navigation_categories: NavCategory[];
ziggy: ZiggyConfig & { location: string };
[key: string]: unknown;
}
export type FeedType = 'rss' | 'atom';
export interface Feed {
id: number;
url: string;
type: FeedType;
paywall: boolean;
}
export interface Category {
id: number;
parent_id: number | null;
title: string;
description: string | null;
feeds: Feed[];
children?: Category[];
}
+10
View File
@@ -0,0 +1,10 @@
// resources/js/types/ziggy.d.ts
import { route as routeFn } from 'ziggy-js';
declare module 'vue' {
interface ComponentCustomProperties {
route: typeof routeFn;
}
}
export {};