Skip to content

Commit

Permalink
chore: update saas (#667)
Browse files Browse the repository at this point in the history
  • Loading branch information
a0m0rajab authored Sep 23, 2024
2 parents cefc973 + 7f1745b commit 0e63540
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 15 deletions.
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
"dependencies": {
"@auth/core": "^0.30.0",
"@ayasofyazilim/saas": "^0.0.45",
"@ayasofyazilim/saas": "0.0.46",
"@formatjs/intl-localematcher": "^0.5.4",
"@radix-ui/react-icons": "^1.3.0",
"@repo/ayasofyazilim-ui": "workspace:^",
Expand Down
9 changes: 5 additions & 4 deletions apps/web/src/app/[lang]/app/[type]/traveller/table.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"use client";
import { useRouter } from "next/navigation";
import { useEffect, useState } from "react";
import type { UniRefund_TravellerService_Travellers_TravellerProfileDto } from "@ayasofyazilim/saas/TravellerService";
import { $UniRefund_TravellerService_Travellers_TravellerProfileDto } from "@ayasofyazilim/saas/TravellerService";
import type { UniRefund_TravellerService_Travellers_TravellerListProfileDto } from "@ayasofyazilim/saas/TravellerService";
import { $UniRefund_TravellerService_Travellers_TravellerListProfileDto } from "@ayasofyazilim/saas/TravellerService";
import DataTable from "@repo/ayasofyazilim-ui/molecules/tables";
import type { TravellerServiceResource } from "src/language-data/TravellerService";
import { getBaseLink } from "src/utils";
Expand All @@ -28,7 +28,7 @@ export default function Table({
}) {
const router = useRouter();
const [travellers, setTravellers] = useState<
UniRefund_TravellerService_Travellers_TravellerProfileDto[]
UniRefund_TravellerService_Travellers_TravellerListProfileDto[]
>([]);
const [totalCount, setTotalCount] = useState(0);
async function fetchData() {
Expand Down Expand Up @@ -56,7 +56,8 @@ export default function Table({
columnsData={{
type: "Auto",
data: {
tableType: $UniRefund_TravellerService_Travellers_TravellerProfileDto,
tableType:
$UniRefund_TravellerService_Travellers_TravellerListProfileDto,
excludeList: ["id", "userAccountId"],
actionList: [
{
Expand Down
15 changes: 5 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0e63540

Please sign in to comment.