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
+16 -6
View File
@@ -5,13 +5,23 @@ import InputError from '@/components/InputError.vue';
import { Label } from '@/components/ui/label';
import { Input } from '@/components/ui/input';
import { nameToSlug } from '@/routes/teams';
import type {
TeamSlugProps,
TeamSlugRequest,
TeamSlugResponse,
} from '@/types/team';
const props = defineProps<TeamSlugProps>();
type TeamSlugRequest = {
name: string;
ignored_slug: string | null;
};
type TeamSlugResponse = {
name: string;
slug: string;
taken: boolean;
};
const props = defineProps<{
name: string;
ignoredSlug?: string;
error?: string;
}>();
const slug = defineModel<string>('slug', { required: true });
const slugTaken = defineModel<boolean>('slugTaken', { required: true });
const previewError = ref('');