reedo types
CI/CD / test_and_check_app (push) Failing after 1m19s
CI/CD / Publish immutable image (push) Skipped
CI/CD / test_and_check_app (pull_request) Failing after 1m19s
CI/CD / Publish immutable image (pull_request) Skipped

This commit is contained in:
2026-09-19 17:56:13 +02:00
parent d4434446ec
commit 65a210ea0d
6 changed files with 29 additions and 44 deletions
+4 -2
View File
@@ -7,12 +7,14 @@ import { Input } from '@/components/ui/input';
import { Label } from '@/components/ui/label';
import InputError from '@/components/InputError.vue';
import { Checkbox } from '@/components/ui/checkbox';
import type { TeamEditPageProps } from '@/types/page-props';
import type { Team } from '@/types/models';
import { ref } from 'vue';
import TeamSlug from '@/components/TeamSlug.vue';
import { Card, CardContent } from '@/components/ui/card';
const props = defineProps<TeamEditPageProps>();
const props = defineProps<{
team: Team;
}>();
setLayoutProps({
breadcrumbs: [
+3 -2
View File
@@ -2,7 +2,6 @@
import teamRoutes from '@/routes/teams';
import { Head, Link, router, usePage } from '@inertiajs/vue3';
import type { Team } from '@/types/models';
import type { TeamIndexPageProps } from '@/types/page-props';
import TextLink from '@/components/TextLink.vue';
import { Card, CardContent } from '@/components/ui/card';
import {
@@ -28,7 +27,9 @@ defineOptions({
},
});
defineProps<TeamIndexPageProps>();
defineProps<{
teams: Team[];
}>();
const user = usePage().props.auth.user;
+6 -3
View File
@@ -1,8 +1,7 @@
<script lang="ts" setup>
import teamRoutes from '@/routes/teams';
import { Head, Link, setLayoutProps, useForm } from '@inertiajs/vue3';
import type { TeamInvite } from '@/types/models';
import type { TeamShowPageProps } from '@/types/page-props';
import type { Team, TeamInvite } from '@/types/models';
import InputError from '@/components/InputError.vue';
import { Card, CardContent } from '@/components/ui/card';
import {
@@ -16,7 +15,11 @@ import {
import { Button } from '@/components/ui/button';
import { Pencil, Trash } from '@lucide/vue';
const props = defineProps<TeamShowPageProps>();
const props = defineProps<{
team: Team;
canManageTeam: boolean;
teamInvites?: TeamInvite[];
}>();
setLayoutProps({
breadcrumbs: [