mirror of
https://github.com/fosrl/pangolin.git
synced 2026-09-18 16:49:56 +02:00
🏷️fix types
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { ApprovalFeed } from "@app/components/ApprovalFeed";
|
||||
import { ApprovalFeed, type ApprovalItem } from "@app/components/ApprovalFeed";
|
||||
import SettingsSectionTitle from "@app/components/SettingsSectionTitle";
|
||||
import { internal } from "@app/lib/api";
|
||||
import { authCookieHeader } from "@app/lib/api/cookies";
|
||||
@@ -12,19 +12,6 @@ export interface ApprovalFeedPageProps {
|
||||
params: Promise<{ orgId: string }>;
|
||||
}
|
||||
|
||||
type ApprovalItem = {
|
||||
approvalId: number;
|
||||
orgId: string;
|
||||
clientId: number | null;
|
||||
decision: "pending" | "approved" | "denied";
|
||||
type: "user_device";
|
||||
user: {
|
||||
name: string | null;
|
||||
userId: string;
|
||||
username: string;
|
||||
};
|
||||
};
|
||||
|
||||
export default async function ApprovalFeedPage(props: ApprovalFeedPageProps) {
|
||||
const params = await props.params;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user