Integrasi API: Admin event & QR Code event

Add:
- app/(application)/(user)/event/[id]/confirmation.tsx
- screens/Admin/Event/
- service/api-admin/api-admin-event.ts

Fix:
- app.config.js : penambahan DEEP_LINK_URL untuk url QR Code
- app/(application)/(user)/event/create.tsx
- app/(application)/admin/event/[id]/[status]/index.tsx
- app/(application)/admin/event/[id]/reject-input.tsx
- app/(application)/admin/event/[status]/status.tsx
- app/(application)/admin/event/index.tsx
- app/(application)/admin/job/[id]/[status]/index.tsx
- screens/Admin/listPageAdmin.tsx
- service/api-config.ts
-

### No Issue
This commit is contained in:
2025-10-22 15:45:58 +08:00
parent 4da55a5a8a
commit 966e55597c
12 changed files with 402 additions and 149 deletions

View File

@@ -0,0 +1,30 @@
import { BackButton, TextCustom, ViewWrapper } from "@/components";
import { useAuth } from "@/hooks/use-auth";
import { Redirect, Stack, useLocalSearchParams } from "expo-router";
export default function UserEventConfirmation() {
const { token } = useAuth();
const { id, userId } = useLocalSearchParams();
console.log("[TOKEN]", token);
if (!token) {
return <Redirect href={`/`} />;
}
return (
<>
<Stack.Screen
options={{
title: "Konfirmasi Event",
headerLeft: () => <BackButton path={"/home"} />,
}}
/>
<ViewWrapper>
<TextCustom>
TEST CONFIRMATION {id} {userId}
</TextCustom>
</ViewWrapper>
</>
);
}

View File

@@ -191,7 +191,7 @@ export default function EventCreate() {
placeholder="Masukkan deskripsi event"
required
showCount
maxLength={100}
maxLength={1000}
onChangeText={(value: any) =>
setData({ ...data, deskripsi: value })
}