From 70b9d19e2f6b75742789e8f6a7c81d8405ae1636 Mon Sep 17 00:00:00 2001 From: Sean Fong Date: Tue, 30 Apr 2024 12:35:25 -0700 Subject: [PATCH 01/21] =?UTF-8?q?feat:=20=E2=9C=A8=20add=20meeting=20creat?= =?UTF-8?q?ion=20submission=20functionality?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/components/creation/Creation.svelte | 20 +++++++++-- src/lib/types/meetings.ts | 6 ++++ src/routes/api/create-meeting/+server.ts | 38 +++++++++++++++++++++ 3 files changed, 61 insertions(+), 3 deletions(-) create mode 100644 src/routes/api/create-meeting/+server.ts diff --git a/src/lib/components/creation/Creation.svelte b/src/lib/components/creation/Creation.svelte index ba0356dd..62ec34d8 100644 --- a/src/lib/components/creation/Creation.svelte +++ b/src/lib/components/creation/Creation.svelte @@ -2,10 +2,23 @@ import Calendar from "$lib/components/creation/CalendarV2/Calendar.svelte"; import MeetingNameField from "$lib/components/creation/MeetingV2/MeetingNameField.svelte"; import MeetingTimeField from "$lib/components/creation/MeetingV2/MeetingTimeField.svelte"; - import { selectedDays } from "$lib/stores/meetingSetupStores"; - import { startTime, endTime } from "$lib/stores/meetingSetupStores"; - import { meetingName } from "$lib/stores/meetingSetupStores"; + import { endTime, meetingName, selectedDays, startTime } from "$lib/stores/meetingSetupStores"; + import type { MeetingCreationPayload } from "$lib/types/meetings"; import { cn } from "$lib/utils/utils"; + + const createMeeting = async () => { + await fetch("/api/create-meeting", { + method: "POST", + headers: { + "Content-Type": "application/json", + }, + body: JSON.stringify({ + name: $meetingName, + startTime: $startTime, + endTime: $endTime, + } satisfies MeetingCreationPayload), + }); + };
@@ -37,6 +50,7 @@ "btn w-48 border-none bg-success font-montserrat text-xl font-medium text-gray-light sm:btn-wide", )} disabled={$selectedDays.length > 0 && $startTime && $endTime && $meetingName ? false : true} + on:click={createMeeting} > Continue → diff --git a/src/lib/types/meetings.ts b/src/lib/types/meetings.ts index b0a9dfa8..ce1fd3ae 100644 --- a/src/lib/types/meetings.ts +++ b/src/lib/types/meetings.ts @@ -31,3 +31,9 @@ export type MeetingTime = { startTime: string; endTime: string; }; + +export interface MeetingCreationPayload { + name: string; + startTime: string; + endTime: string; +} diff --git a/src/routes/api/create-meeting/+server.ts b/src/routes/api/create-meeting/+server.ts new file mode 100644 index 00000000..75a10410 --- /dev/null +++ b/src/routes/api/create-meeting/+server.ts @@ -0,0 +1,38 @@ +import { json } from "@sveltejs/kit"; + +import type { RequestHandler } from "./$types"; + +import { db } from "$lib/db/drizzle"; +import { meetings } from "$lib/db/schema"; +import type { MeetingCreationPayload } from "$lib/types/meetings"; + +type NewMeeting = typeof meetings.$inferInsert; + +export const POST: RequestHandler = async ({ request }) => { + const meetingCreationPayload: MeetingCreationPayload = await request.json(); + + await insertNewMeeting(meetingCreationPayload); + + return json("hellos"); +}; + +const insertNewMeeting = async (meetingCreationPayload: MeetingCreationPayload) => { + const { name, startTime, endTime } = meetingCreationPayload; + + // TODO: remove yy/mm/dd from starttime and endtime + + const newMeeting: NewMeeting = { + title: name, + from_time: new Date(), + to_time: new Date(), + scheduled: false, + }; + + const newMeetingID = await insertNewMeetingEntry(newMeeting); + + console.log(startTime, endTime, newMeetingID); +}; + +const insertNewMeetingEntry = async (newMeeting: NewMeeting) => { + return await db.insert(meetings).values(newMeeting).returning({ insertedID: meetings.id }); +}; From 2f097180fc867d2e108081769f9d19fd0028a014 Mon Sep 17 00:00:00 2001 From: Minh Nguyen <64875104+MinhxNguyen7@users.noreply.github.com> Date: Mon, 13 May 2024 08:25:59 -0700 Subject: [PATCH 02/21] =?UTF-8?q?feat(GroupAvailability):=20=E2=9C=A8=20lo?= =?UTF-8?q?ad=20group=20availabilities=20from=20server?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../availability/GroupAvailability.svelte | 11 ++-- .../GroupAvailabilityBlock.svelte | 4 +- src/lib/stores/availabilityStores.ts | 4 +- src/lib/utils/availability.ts | 15 +++++- .../availability/[slug]/+page.server.ts | 51 +++++++++++++++++-- src/routes/availability/[slug]/+page.svelte | 11 +++- 6 files changed, 84 insertions(+), 12 deletions(-) diff --git a/src/lib/components/availability/GroupAvailability.svelte b/src/lib/components/availability/GroupAvailability.svelte index bf5a11d9..e9356464 100644 --- a/src/lib/components/availability/GroupAvailability.svelte +++ b/src/lib/components/availability/GroupAvailability.svelte @@ -1,10 +1,12 @@ diff --git a/src/routes/api/create-meeting/+server.ts b/src/routes/api/create-meeting/+server.ts index 75a10410..a3c9e6ca 100644 --- a/src/routes/api/create-meeting/+server.ts +++ b/src/routes/api/create-meeting/+server.ts @@ -2,37 +2,27 @@ import { json } from "@sveltejs/kit"; import type { RequestHandler } from "./$types"; -import { db } from "$lib/db/drizzle"; -import { meetings } from "$lib/db/schema"; +import { insertMeeting } from "$lib/db/databaseUtils.server"; import type { MeetingCreationPayload } from "$lib/types/meetings"; -type NewMeeting = typeof meetings.$inferInsert; - +/** + * Create a new meeting + * + * NOTE: MeetingCreationPayload currently only contains the start and end times, + * so we add all dates between the start and end dates. + * + * TODO: Add specific dates to the payload and implement the logic to add them to the database + */ export const POST: RequestHandler = async ({ request }) => { const meetingCreationPayload: MeetingCreationPayload = await request.json(); - - await insertNewMeeting(meetingCreationPayload); - - return json("hellos"); -}; - -const insertNewMeeting = async (meetingCreationPayload: MeetingCreationPayload) => { const { name, startTime, endTime } = meetingCreationPayload; - // TODO: remove yy/mm/dd from starttime and endtime - - const newMeeting: NewMeeting = { + const meeting_id = await insertMeeting({ title: name, - from_time: new Date(), - to_time: new Date(), + from_time: new Date(startTime), + to_time: new Date(endTime), scheduled: false, - }; - - const newMeetingID = await insertNewMeetingEntry(newMeeting); - - console.log(startTime, endTime, newMeetingID); -}; + }); -const insertNewMeetingEntry = async (newMeeting: NewMeeting) => { - return await db.insert(meetings).values(newMeeting).returning({ insertedID: meetings.id }); + return json({ meeting_id }); }; From a1cc45da36a9024f1c1f06518e6aa703be28f300 Mon Sep 17 00:00:00 2001 From: Minh Nguyen <64875104+MinhxNguyen7@users.noreply.github.com> Date: Mon, 13 May 2024 08:37:51 -0700 Subject: [PATCH 05/21] =?UTF-8?q?chore:=20=F0=9F=94=A7=20more=20descriptiv?= =?UTF-8?q?e=20function=20names?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/availability/[slug]/+page.server.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/routes/availability/[slug]/+page.server.ts b/src/routes/availability/[slug]/+page.server.ts index 42fd596d..1f910c11 100644 --- a/src/routes/availability/[slug]/+page.server.ts +++ b/src/routes/availability/[slug]/+page.server.ts @@ -30,14 +30,14 @@ export const load: PageServerLoad = (async ({ locals, params }) => { return { form: await superValidate(_loginSchema), guestForm: await superValidate(guestLoginSchema), - availability: user ? await getAvailability(user, meeting_id) : null, - groupAvailabilities: await getAvailabilities(meeting_id), + availability: user ? await getUserSpecificAvailability(user, meeting_id) : null, + groupAvailabilities: await getMeetingMemeberAvailabilities(meeting_id), meetingId: meeting_id as string | undefined, defaultDates: (await getMeetingDates(meeting_id)) ?? [], }; }) satisfies PageServerLoad; -const getAvailability = async (user: User, meetingId: string | undefined) => { +const getUserSpecificAvailability = async (user: User, meetingId: string | undefined) => { const availability = await db .select() .from(availabilities) @@ -55,7 +55,7 @@ const getAvailability = async (user: User, meetingId: string | undefined) => { * @param meetingId * @returns a record of the member name to their availabilities, each sorted by date */ -async function getAvailabilities(meetingId: string) { +async function getMeetingMemeberAvailabilities(meetingId: string) { const raw_availabilities = await db .select({ username: users.displayName, From 32ce0d187e2753ea221ad2ccbfbadf98f04c4f95 Mon Sep 17 00:00:00 2001 From: Minh Nguyen <64875104+MinhxNguyen7@users.noreply.github.com> Date: Mon, 20 May 2024 15:06:42 -0700 Subject: [PATCH 06/21] =?UTF-8?q?Revert=20"feat(Creation):=20=E2=9C=A8=20m?= =?UTF-8?q?eeting=20generation=20testing=20functionality"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit d2cc38147397d73b0f5056468b36f6486e637510. --- src/lib/components/creation/Creation.svelte | 30 ++-------------- src/routes/api/create-meeting/+server.ts | 38 +++++++++++++-------- 2 files changed, 27 insertions(+), 41 deletions(-) diff --git a/src/lib/components/creation/Creation.svelte b/src/lib/components/creation/Creation.svelte index 2d99d37d..62ec34d8 100644 --- a/src/lib/components/creation/Creation.svelte +++ b/src/lib/components/creation/Creation.svelte @@ -1,5 +1,4 @@ diff --git a/src/routes/api/create-meeting/+server.ts b/src/routes/api/create-meeting/+server.ts index a3c9e6ca..75a10410 100644 --- a/src/routes/api/create-meeting/+server.ts +++ b/src/routes/api/create-meeting/+server.ts @@ -2,27 +2,37 @@ import { json } from "@sveltejs/kit"; import type { RequestHandler } from "./$types"; -import { insertMeeting } from "$lib/db/databaseUtils.server"; +import { db } from "$lib/db/drizzle"; +import { meetings } from "$lib/db/schema"; import type { MeetingCreationPayload } from "$lib/types/meetings"; -/** - * Create a new meeting - * - * NOTE: MeetingCreationPayload currently only contains the start and end times, - * so we add all dates between the start and end dates. - * - * TODO: Add specific dates to the payload and implement the logic to add them to the database - */ +type NewMeeting = typeof meetings.$inferInsert; + export const POST: RequestHandler = async ({ request }) => { const meetingCreationPayload: MeetingCreationPayload = await request.json(); + + await insertNewMeeting(meetingCreationPayload); + + return json("hellos"); +}; + +const insertNewMeeting = async (meetingCreationPayload: MeetingCreationPayload) => { const { name, startTime, endTime } = meetingCreationPayload; - const meeting_id = await insertMeeting({ + // TODO: remove yy/mm/dd from starttime and endtime + + const newMeeting: NewMeeting = { title: name, - from_time: new Date(startTime), - to_time: new Date(endTime), + from_time: new Date(), + to_time: new Date(), scheduled: false, - }); + }; + + const newMeetingID = await insertNewMeetingEntry(newMeeting); + + console.log(startTime, endTime, newMeetingID); +}; - return json({ meeting_id }); +const insertNewMeetingEntry = async (newMeeting: NewMeeting) => { + return await db.insert(meetings).values(newMeeting).returning({ insertedID: meetings.id }); }; From 1cc77b6051e80339b5e8957b6f7211344565945c Mon Sep 17 00:00:00 2001 From: Minh Nguyen <64875104+MinhxNguyen7@users.noreply.github.com> Date: Mon, 20 May 2024 15:14:52 -0700 Subject: [PATCH 07/21] =?UTF-8?q?fix(availability):=20=F0=9F=90=9B=20missi?= =?UTF-8?q?ng=20import?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/availability/[slug]/+page.server.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/routes/availability/[slug]/+page.server.ts b/src/routes/availability/[slug]/+page.server.ts index 7edae29e..f8bccadd 100644 --- a/src/routes/availability/[slug]/+page.server.ts +++ b/src/routes/availability/[slug]/+page.server.ts @@ -16,6 +16,7 @@ import { type AvailabilityInsertSchema, type MeetingDateSelectSchema, users, + meetings, } from "$lib/db/schema"; import type { ZotDate } from "$lib/utils/ZotDate"; From 8c26969c961c3c34cb0d04f639eff492eec74c5c Mon Sep 17 00:00:00 2001 From: Minh Nguyen <64875104+MinhxNguyen7@users.noreply.github.com> Date: Mon, 20 May 2024 15:42:05 -0700 Subject: [PATCH 08/21] =?UTF-8?q?fix(schema):=20=F0=9F=90=9B=20remove=20ex?= =?UTF-8?q?traneous=20member=20type=20column?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/db/schema.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/db/schema.ts b/src/lib/db/schema.ts index 3b287534..80f9f530 100644 --- a/src/lib/db/schema.ts +++ b/src/lib/db/schema.ts @@ -18,12 +18,10 @@ export const attendanceValues = ["accepted", "maybe", "declined"] as const; export type AttendanceValue = (typeof attendanceValues)[number]; export const attendanceEnum = pgEnum("attendance", attendanceValues); -export const memberEnum = pgEnum("member_type", ["guest", "user"]); // Members encompasses anyone who uses ZotMeet, regardless of guest or user status. export const members = pgTable("members", { id: text("id").primaryKey(), - type: memberEnum("type").notNull().default("guest"), }); // Users encompasses Members who have created an account. @@ -158,7 +156,7 @@ export const membersInMeeting = pgTable( { memberId: text("member_id") .notNull() - .references(() => users.id, { onDelete: "cascade" }), + .references(() => members.id, { onDelete: "cascade" }), meetingId: uuid("meeting_id") .notNull() .references(() => meetings.id, { onDelete: "cascade" }), From ea22664bab49553178daeefbdb1d777a5badd012 Mon Sep 17 00:00:00 2001 From: Minh Nguyen <64875104+MinhxNguyen7@users.noreply.github.com> Date: Mon, 20 May 2024 15:48:36 -0700 Subject: [PATCH 09/21] =?UTF-8?q?fix(create):=20=F0=9F=90=9B=20throw=20err?= =?UTF-8?q?or=20on=20fail?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/api/create/+server.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/routes/api/create/+server.ts b/src/routes/api/create/+server.ts index 2aceb842..db903e2b 100644 --- a/src/routes/api/create/+server.ts +++ b/src/routes/api/create/+server.ts @@ -11,16 +11,16 @@ export async function POST({ request }) { console.log("Creating meeting:", title, description, fromTime, toTime, meetingDates); if (fromTime >= toTime) { - error(400, "From time must be before to time"); + throw error(400, "From time must be before to time"); } if (meetingDates.length === 0) { - error(400, "At least one date must be provided"); + throw error(400, "At least one date must be provided"); } // Just so we don't get flooded too easily if (meetingDates.length > 100) { - error(400, "Too many dates provided"); + throw error(400, "Too many dates provided"); } const sortedDates = meetingDates @@ -42,6 +42,6 @@ export async function POST({ request }) { return json({ meetingId }); } catch (err) { console.log("Error creating meeting:", err); - error(500, "Error creating meeting"); + throw error(500, "Error creating meeting"); } } From 0788e1097d9fbf639c91f3c2d05d290eebcc8628 Mon Sep 17 00:00:00 2001 From: Minh Nguyen <64875104+MinhxNguyen7@users.noreply.github.com> Date: Mon, 20 May 2024 15:58:51 -0700 Subject: [PATCH 10/21] =?UTF-8?q?chore(migrate):=20=F0=9F=94=A7=20print=20?= =?UTF-8?q?stage?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/db/migrate.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/lib/db/migrate.ts b/src/lib/db/migrate.ts index e19df51d..493a922e 100644 --- a/src/lib/db/migrate.ts +++ b/src/lib/db/migrate.ts @@ -9,10 +9,12 @@ if (!MIGRATION_DB_URL) { "MIGRATION_DB_URL not found. Please ensure you have the MIGRATION_DB_URL variable defined inside of your environment configuration.", ); } -const migrationClient = postgres( - `${MIGRATION_DB_URL}${process.env["STAGE"] === "prod" ? "" : "?search_path=dev"}`, - { max: 1, ssl: "prefer" }, -); + +const isProd = process.env["STAGE"] === "prod"; +console.log(`Running migrations in ${isProd ? "production" : "development"} mode.`); + +const migrationConnectionString = `${MIGRATION_DB_URL}${isProd ? "" : "?search_path=dev"}`; +const migrationClient = postgres(migrationConnectionString, { max: 1, ssl: "prefer" }); const db = drizzle(migrationClient); await migrate(db, { From edaaced607ada64a8341a962ad003e7edf7080f8 Mon Sep 17 00:00:00 2001 From: Minh Nguyen <64875104+MinhxNguyen7@users.noreply.github.com> Date: Mon, 20 May 2024 15:59:07 -0700 Subject: [PATCH 11/21] =?UTF-8?q?chore(packages):=20=F0=9F=94=A7=20update?= =?UTF-8?q?=20drizzle-kit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pnpm-lock.yaml | 895 ++++++++++++++++++++++++++++++++----------------- 1 file changed, 588 insertions(+), 307 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f84e69f2..9aab7706 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -150,7 +150,7 @@ devDependencies: version: 0.5.14(prettier-plugin-svelte@3.1.2)(prettier@3.1.0) sst: specifier: 2.36.6 - version: 2.36.6(@aws-sdk/credential-provider-node@3.572.0)(pg@8.11.3) + version: 2.36.6(@aws-sdk/credential-provider-node@3.577.0)(pg@8.11.3) svelte: specifier: 4.2.7 version: 4.2.7 @@ -1014,49 +1014,49 @@ packages: transitivePeerDependencies: - aws-crt - /@aws-sdk/client-sso-oidc@3.572.0: - resolution: {integrity: sha512-S6C/S6xYesDakEuzYvlY1DMMKLtKQxdbbygq3hfeG2R0jUt9KpRLsQXK8qrBuVCKa3WcnjN/30hp4g/iUWFU/w==} + /@aws-sdk/client-sso-oidc@3.577.0: + resolution: {integrity: sha512-njmKSPDWueWWYVFpFcZ2P3fI6/pdQVDa0FgCyYZhOnJLgEHZIcBBg1AsnkVWacBuLopp9XVt2m+7hO6ugY1/1g==} engines: {node: '>=16.0.0'} dependencies: '@aws-crypto/sha256-browser': 3.0.0 '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/client-sts': 3.572.0(@aws-sdk/client-sso-oidc@3.572.0) - '@aws-sdk/core': 3.572.0 - '@aws-sdk/credential-provider-node': 3.572.0(@aws-sdk/client-sso-oidc@3.572.0)(@aws-sdk/client-sts@3.572.0) - '@aws-sdk/middleware-host-header': 3.567.0 - '@aws-sdk/middleware-logger': 3.568.0 - '@aws-sdk/middleware-recursion-detection': 3.567.0 - '@aws-sdk/middleware-user-agent': 3.572.0 - '@aws-sdk/region-config-resolver': 3.572.0 - '@aws-sdk/types': 3.567.0 - '@aws-sdk/util-endpoints': 3.572.0 - '@aws-sdk/util-user-agent-browser': 3.567.0 - '@aws-sdk/util-user-agent-node': 3.568.0 - '@smithy/config-resolver': 2.2.0 - '@smithy/core': 1.4.2 - '@smithy/fetch-http-handler': 2.5.0 - '@smithy/hash-node': 2.2.0 - '@smithy/invalid-dependency': 2.2.0 - '@smithy/middleware-content-length': 2.2.0 - '@smithy/middleware-endpoint': 2.5.1 - '@smithy/middleware-retry': 2.3.1 - '@smithy/middleware-serde': 2.3.0 - '@smithy/middleware-stack': 2.2.0 - '@smithy/node-config-provider': 2.3.0 - '@smithy/node-http-handler': 2.5.0 - '@smithy/protocol-http': 3.3.0 - '@smithy/smithy-client': 2.5.1 - '@smithy/types': 2.12.0 - '@smithy/url-parser': 2.2.0 - '@smithy/util-base64': 2.3.0 - '@smithy/util-body-length-browser': 2.2.0 - '@smithy/util-body-length-node': 2.3.0 - '@smithy/util-defaults-mode-browser': 2.2.1 - '@smithy/util-defaults-mode-node': 2.3.1 - '@smithy/util-endpoints': 1.2.0 - '@smithy/util-middleware': 2.2.0 - '@smithy/util-retry': 2.2.0 - '@smithy/util-utf8': 2.3.0 + '@aws-sdk/client-sts': 3.577.0(@aws-sdk/client-sso-oidc@3.577.0) + '@aws-sdk/core': 3.576.0 + '@aws-sdk/credential-provider-node': 3.577.0(@aws-sdk/client-sso-oidc@3.577.0)(@aws-sdk/client-sts@3.577.0) + '@aws-sdk/middleware-host-header': 3.577.0 + '@aws-sdk/middleware-logger': 3.577.0 + '@aws-sdk/middleware-recursion-detection': 3.577.0 + '@aws-sdk/middleware-user-agent': 3.577.0 + '@aws-sdk/region-config-resolver': 3.577.0 + '@aws-sdk/types': 3.577.0 + '@aws-sdk/util-endpoints': 3.577.0 + '@aws-sdk/util-user-agent-browser': 3.577.0 + '@aws-sdk/util-user-agent-node': 3.577.0 + '@smithy/config-resolver': 3.0.0 + '@smithy/core': 2.0.1 + '@smithy/fetch-http-handler': 3.0.1 + '@smithy/hash-node': 3.0.0 + '@smithy/invalid-dependency': 3.0.0 + '@smithy/middleware-content-length': 3.0.0 + '@smithy/middleware-endpoint': 3.0.0 + '@smithy/middleware-retry': 3.0.1 + '@smithy/middleware-serde': 3.0.0 + '@smithy/middleware-stack': 3.0.0 + '@smithy/node-config-provider': 3.0.0 + '@smithy/node-http-handler': 3.0.0 + '@smithy/protocol-http': 4.0.0 + '@smithy/smithy-client': 3.0.1 + '@smithy/types': 3.0.0 + '@smithy/url-parser': 3.0.0 + '@smithy/util-base64': 3.0.0 + '@smithy/util-body-length-browser': 3.0.0 + '@smithy/util-body-length-node': 3.0.0 + '@smithy/util-defaults-mode-browser': 3.0.1 + '@smithy/util-defaults-mode-node': 3.0.1 + '@smithy/util-endpoints': 2.0.0 + '@smithy/util-middleware': 3.0.0 + '@smithy/util-retry': 3.0.0 + '@smithy/util-utf8': 3.0.0 tslib: 2.6.2 transitivePeerDependencies: - aws-crt @@ -1107,47 +1107,47 @@ packages: transitivePeerDependencies: - aws-crt - /@aws-sdk/client-sso@3.572.0: - resolution: {integrity: sha512-S+xhScao5MD79AkrcHmFpEDk+CgoiuB/31WFcTcnrTio5TOUONAaT0QyscOIwRp7BZ7Aez7TBM+loTteJ+TQvg==} + /@aws-sdk/client-sso@3.577.0: + resolution: {integrity: sha512-BwujdXrydlk6UEyPmewm5GqG4nkQ6OVyRhS/SyZP/6UKSFv2/sf391Cmz0hN0itUTH1rR4XeLln8XCOtarkrzg==} engines: {node: '>=16.0.0'} dependencies: '@aws-crypto/sha256-browser': 3.0.0 '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/core': 3.572.0 - '@aws-sdk/middleware-host-header': 3.567.0 - '@aws-sdk/middleware-logger': 3.568.0 - '@aws-sdk/middleware-recursion-detection': 3.567.0 - '@aws-sdk/middleware-user-agent': 3.572.0 - '@aws-sdk/region-config-resolver': 3.572.0 - '@aws-sdk/types': 3.567.0 - '@aws-sdk/util-endpoints': 3.572.0 - '@aws-sdk/util-user-agent-browser': 3.567.0 - '@aws-sdk/util-user-agent-node': 3.568.0 - '@smithy/config-resolver': 2.2.0 - '@smithy/core': 1.4.2 - '@smithy/fetch-http-handler': 2.5.0 - '@smithy/hash-node': 2.2.0 - '@smithy/invalid-dependency': 2.2.0 - '@smithy/middleware-content-length': 2.2.0 - '@smithy/middleware-endpoint': 2.5.1 - '@smithy/middleware-retry': 2.3.1 - '@smithy/middleware-serde': 2.3.0 - '@smithy/middleware-stack': 2.2.0 - '@smithy/node-config-provider': 2.3.0 - '@smithy/node-http-handler': 2.5.0 - '@smithy/protocol-http': 3.3.0 - '@smithy/smithy-client': 2.5.1 - '@smithy/types': 2.12.0 - '@smithy/url-parser': 2.2.0 - '@smithy/util-base64': 2.3.0 - '@smithy/util-body-length-browser': 2.2.0 - '@smithy/util-body-length-node': 2.3.0 - '@smithy/util-defaults-mode-browser': 2.2.1 - '@smithy/util-defaults-mode-node': 2.3.1 - '@smithy/util-endpoints': 1.2.0 - '@smithy/util-middleware': 2.2.0 - '@smithy/util-retry': 2.2.0 - '@smithy/util-utf8': 2.3.0 + '@aws-sdk/core': 3.576.0 + '@aws-sdk/middleware-host-header': 3.577.0 + '@aws-sdk/middleware-logger': 3.577.0 + '@aws-sdk/middleware-recursion-detection': 3.577.0 + '@aws-sdk/middleware-user-agent': 3.577.0 + '@aws-sdk/region-config-resolver': 3.577.0 + '@aws-sdk/types': 3.577.0 + '@aws-sdk/util-endpoints': 3.577.0 + '@aws-sdk/util-user-agent-browser': 3.577.0 + '@aws-sdk/util-user-agent-node': 3.577.0 + '@smithy/config-resolver': 3.0.0 + '@smithy/core': 2.0.1 + '@smithy/fetch-http-handler': 3.0.1 + '@smithy/hash-node': 3.0.0 + '@smithy/invalid-dependency': 3.0.0 + '@smithy/middleware-content-length': 3.0.0 + '@smithy/middleware-endpoint': 3.0.0 + '@smithy/middleware-retry': 3.0.1 + '@smithy/middleware-serde': 3.0.0 + '@smithy/middleware-stack': 3.0.0 + '@smithy/node-config-provider': 3.0.0 + '@smithy/node-http-handler': 3.0.0 + '@smithy/protocol-http': 4.0.0 + '@smithy/smithy-client': 3.0.1 + '@smithy/types': 3.0.0 + '@smithy/url-parser': 3.0.0 + '@smithy/util-base64': 3.0.0 + '@smithy/util-body-length-browser': 3.0.0 + '@smithy/util-body-length-node': 3.0.0 + '@smithy/util-defaults-mode-browser': 3.0.1 + '@smithy/util-defaults-mode-node': 3.0.1 + '@smithy/util-endpoints': 2.0.0 + '@smithy/util-middleware': 3.0.0 + '@smithy/util-retry': 3.0.0 + '@smithy/util-utf8': 3.0.0 tslib: 2.6.2 transitivePeerDependencies: - aws-crt @@ -1201,7 +1201,7 @@ packages: transitivePeerDependencies: - aws-crt - /@aws-sdk/client-sts@3.533.0(@aws-sdk/credential-provider-node@3.572.0): + /@aws-sdk/client-sts@3.533.0(@aws-sdk/credential-provider-node@3.577.0): resolution: {integrity: sha512-Z/z76T/pEq0DsBpoyWSMQdS7R6IRpq2ZV6dfZwr+HZ2vho2Icd70nIxwiNzZxaV16aVIhu5/l/5v5Ns9ZCfyOA==} engines: {node: '>=14.0.0'} peerDependencies: @@ -1210,7 +1210,7 @@ packages: '@aws-crypto/sha256-browser': 3.0.0 '@aws-crypto/sha256-js': 3.0.0 '@aws-sdk/core': 3.533.0 - '@aws-sdk/credential-provider-node': 3.572.0(@aws-sdk/client-sso-oidc@3.572.0)(@aws-sdk/client-sts@3.572.0) + '@aws-sdk/credential-provider-node': 3.577.0(@aws-sdk/client-sso-oidc@3.577.0)(@aws-sdk/client-sts@3.577.0) '@aws-sdk/middleware-host-header': 3.533.0 '@aws-sdk/middleware-logger': 3.533.0 '@aws-sdk/middleware-recursion-detection': 3.533.0 @@ -1250,49 +1250,49 @@ packages: - aws-crt dev: true - /@aws-sdk/client-sts@3.572.0(@aws-sdk/client-sso-oidc@3.572.0): - resolution: {integrity: sha512-jCQuH2qkbWoSY4wckLSfzf3OPh7zc7ZckEbIGGVUQar/JVff6EIbpQ+uNG29DDEOpdPPd8rrJsVuUlA/nvJdXA==} + /@aws-sdk/client-sts@3.577.0(@aws-sdk/client-sso-oidc@3.577.0): + resolution: {integrity: sha512-509Kklimva1XVlhGbpTpeX3kOP6ORpm44twJxDHpa9TURbmoaxj7veWlnLCbDorxDTrbsDghvYZshvcLsojVpg==} engines: {node: '>=16.0.0'} dependencies: '@aws-crypto/sha256-browser': 3.0.0 '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/client-sso-oidc': 3.572.0 - '@aws-sdk/core': 3.572.0 - '@aws-sdk/credential-provider-node': 3.572.0(@aws-sdk/client-sso-oidc@3.572.0)(@aws-sdk/client-sts@3.572.0) - '@aws-sdk/middleware-host-header': 3.567.0 - '@aws-sdk/middleware-logger': 3.568.0 - '@aws-sdk/middleware-recursion-detection': 3.567.0 - '@aws-sdk/middleware-user-agent': 3.572.0 - '@aws-sdk/region-config-resolver': 3.572.0 - '@aws-sdk/types': 3.567.0 - '@aws-sdk/util-endpoints': 3.572.0 - '@aws-sdk/util-user-agent-browser': 3.567.0 - '@aws-sdk/util-user-agent-node': 3.568.0 - '@smithy/config-resolver': 2.2.0 - '@smithy/core': 1.4.2 - '@smithy/fetch-http-handler': 2.5.0 - '@smithy/hash-node': 2.2.0 - '@smithy/invalid-dependency': 2.2.0 - '@smithy/middleware-content-length': 2.2.0 - '@smithy/middleware-endpoint': 2.5.1 - '@smithy/middleware-retry': 2.3.1 - '@smithy/middleware-serde': 2.3.0 - '@smithy/middleware-stack': 2.2.0 - '@smithy/node-config-provider': 2.3.0 - '@smithy/node-http-handler': 2.5.0 - '@smithy/protocol-http': 3.3.0 - '@smithy/smithy-client': 2.5.1 - '@smithy/types': 2.12.0 - '@smithy/url-parser': 2.2.0 - '@smithy/util-base64': 2.3.0 - '@smithy/util-body-length-browser': 2.2.0 - '@smithy/util-body-length-node': 2.3.0 - '@smithy/util-defaults-mode-browser': 2.2.1 - '@smithy/util-defaults-mode-node': 2.3.1 - '@smithy/util-endpoints': 1.2.0 - '@smithy/util-middleware': 2.2.0 - '@smithy/util-retry': 2.2.0 - '@smithy/util-utf8': 2.3.0 + '@aws-sdk/client-sso-oidc': 3.577.0 + '@aws-sdk/core': 3.576.0 + '@aws-sdk/credential-provider-node': 3.577.0(@aws-sdk/client-sso-oidc@3.577.0)(@aws-sdk/client-sts@3.577.0) + '@aws-sdk/middleware-host-header': 3.577.0 + '@aws-sdk/middleware-logger': 3.577.0 + '@aws-sdk/middleware-recursion-detection': 3.577.0 + '@aws-sdk/middleware-user-agent': 3.577.0 + '@aws-sdk/region-config-resolver': 3.577.0 + '@aws-sdk/types': 3.577.0 + '@aws-sdk/util-endpoints': 3.577.0 + '@aws-sdk/util-user-agent-browser': 3.577.0 + '@aws-sdk/util-user-agent-node': 3.577.0 + '@smithy/config-resolver': 3.0.0 + '@smithy/core': 2.0.1 + '@smithy/fetch-http-handler': 3.0.1 + '@smithy/hash-node': 3.0.0 + '@smithy/invalid-dependency': 3.0.0 + '@smithy/middleware-content-length': 3.0.0 + '@smithy/middleware-endpoint': 3.0.0 + '@smithy/middleware-retry': 3.0.1 + '@smithy/middleware-serde': 3.0.0 + '@smithy/middleware-stack': 3.0.0 + '@smithy/node-config-provider': 3.0.0 + '@smithy/node-http-handler': 3.0.0 + '@smithy/protocol-http': 4.0.0 + '@smithy/smithy-client': 3.0.1 + '@smithy/types': 3.0.0 + '@smithy/url-parser': 3.0.0 + '@smithy/util-base64': 3.0.0 + '@smithy/util-body-length-browser': 3.0.0 + '@smithy/util-body-length-node': 3.0.0 + '@smithy/util-defaults-mode-browser': 3.0.1 + '@smithy/util-defaults-mode-node': 3.0.1 + '@smithy/util-endpoints': 2.0.0 + '@smithy/util-middleware': 3.0.0 + '@smithy/util-retry': 3.0.0 + '@smithy/util-utf8': 3.0.0 tslib: 2.6.2 transitivePeerDependencies: - '@aws-sdk/client-sso-oidc' @@ -1320,15 +1320,15 @@ packages: fast-xml-parser: 4.2.5 tslib: 2.6.2 - /@aws-sdk/core@3.572.0: - resolution: {integrity: sha512-DBmf94qfN0dfaLl5EnNcq6TakWfOtVXYifHoTbX+VBwESj3rlY4W+W4mAnvBgAqDjlLFy7bBljmx+vnjnV73lg==} + /@aws-sdk/core@3.576.0: + resolution: {integrity: sha512-KDvDlbeipSTIf+ffKtTg1m419TK7s9mZSWC8bvuZ9qx6/sjQFOXIKOVqyuli6DnfxGbvRcwoRuY99OcCH1N/0w==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/core': 1.4.2 - '@smithy/protocol-http': 3.3.0 - '@smithy/signature-v4': 2.3.0 - '@smithy/smithy-client': 2.5.1 - '@smithy/types': 2.12.0 + '@smithy/core': 2.0.1 + '@smithy/protocol-http': 4.0.0 + '@smithy/signature-v4': 3.0.0 + '@smithy/smithy-client': 3.0.1 + '@smithy/types': 3.0.0 fast-xml-parser: 4.2.5 tslib: 2.6.2 dev: true @@ -1355,13 +1355,13 @@ packages: '@smithy/types': 2.12.0 tslib: 2.6.2 - /@aws-sdk/credential-provider-env@3.568.0: - resolution: {integrity: sha512-MVTQoZwPnP1Ev5A7LG+KzeU6sCB8BcGkZeDT1z1V5Wt7GPq0MgFQTSSjhImnB9jqRSZkl1079Bt3PbO6lfIS8g==} + /@aws-sdk/credential-provider-env@3.577.0: + resolution: {integrity: sha512-Jxu255j0gToMGEiqufP8ZtKI8HW90lOLjwJ3LrdlD/NLsAY0tOQf1fWc53u28hWmmNGMxmCrL2p66IOgMDhDUw==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.567.0 - '@smithy/property-provider': 2.2.0 - '@smithy/types': 2.12.0 + '@aws-sdk/types': 3.577.0 + '@smithy/property-provider': 3.0.0 + '@smithy/types': 3.0.0 tslib: 2.6.2 dev: true @@ -1379,18 +1379,18 @@ packages: '@smithy/util-stream': 2.2.0 tslib: 2.6.2 - /@aws-sdk/credential-provider-http@3.568.0: - resolution: {integrity: sha512-gL0NlyI2eW17hnCrh45hZV+qjtBquB+Bckiip9R6DIVRKqYcoILyiFhuOgf2bXeF23gVh6j18pvUvIoTaFWs5w==} + /@aws-sdk/credential-provider-http@3.577.0: + resolution: {integrity: sha512-n++yhCp67b9+ZRGEdY1jhamB5E/O+QsIDOPSuRmdaSGMCOd82oUEKPgIVEU1bkqxDsBxgiEWuvtfhK6sNiDS0A==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.567.0 - '@smithy/fetch-http-handler': 2.5.0 - '@smithy/node-http-handler': 2.5.0 - '@smithy/property-provider': 2.2.0 - '@smithy/protocol-http': 3.3.0 - '@smithy/smithy-client': 2.5.1 - '@smithy/types': 2.12.0 - '@smithy/util-stream': 2.2.0 + '@aws-sdk/types': 3.577.0 + '@smithy/fetch-http-handler': 3.0.1 + '@smithy/node-http-handler': 3.0.0 + '@smithy/property-provider': 3.0.0 + '@smithy/protocol-http': 4.0.0 + '@smithy/smithy-client': 3.0.1 + '@smithy/types': 3.0.0 + '@smithy/util-stream': 3.0.1 tslib: 2.6.2 dev: true @@ -1413,22 +1413,22 @@ packages: - '@aws-sdk/credential-provider-node' - aws-crt - /@aws-sdk/credential-provider-ini@3.572.0(@aws-sdk/client-sso-oidc@3.572.0)(@aws-sdk/client-sts@3.572.0): - resolution: {integrity: sha512-05KzbAp77fEiQXqMeodXeMbT83FOqSyBrfSEMz6U8uBXeJCy8zPUjN3acqcbG55/HNJHUvg1cftqzy+fUz71gA==} + /@aws-sdk/credential-provider-ini@3.577.0(@aws-sdk/client-sso-oidc@3.577.0)(@aws-sdk/client-sts@3.577.0): + resolution: {integrity: sha512-q7lHPtv6BjRvChUE3m0tIaEZKxPTaZ1B3lKxGYsFl3VLAu5N8yGCUKwuA1izf4ucT+LyKscVGqK6VDZx1ev3nw==} engines: {node: '>=16.0.0'} peerDependencies: - '@aws-sdk/client-sts': 3.572.0 - dependencies: - '@aws-sdk/client-sts': 3.572.0(@aws-sdk/client-sso-oidc@3.572.0) - '@aws-sdk/credential-provider-env': 3.568.0 - '@aws-sdk/credential-provider-process': 3.572.0 - '@aws-sdk/credential-provider-sso': 3.572.0(@aws-sdk/client-sso-oidc@3.572.0) - '@aws-sdk/credential-provider-web-identity': 3.568.0(@aws-sdk/client-sts@3.572.0) - '@aws-sdk/types': 3.567.0 - '@smithy/credential-provider-imds': 2.3.0 - '@smithy/property-provider': 2.2.0 - '@smithy/shared-ini-file-loader': 2.4.0 - '@smithy/types': 2.12.0 + '@aws-sdk/client-sts': ^3.577.0 + dependencies: + '@aws-sdk/client-sts': 3.577.0(@aws-sdk/client-sso-oidc@3.577.0) + '@aws-sdk/credential-provider-env': 3.577.0 + '@aws-sdk/credential-provider-process': 3.577.0 + '@aws-sdk/credential-provider-sso': 3.577.0(@aws-sdk/client-sso-oidc@3.577.0) + '@aws-sdk/credential-provider-web-identity': 3.577.0(@aws-sdk/client-sts@3.577.0) + '@aws-sdk/types': 3.577.0 + '@smithy/credential-provider-imds': 3.0.0 + '@smithy/property-provider': 3.0.0 + '@smithy/shared-ini-file-loader': 3.0.0 + '@smithy/types': 3.0.0 tslib: 2.6.2 transitivePeerDependencies: - '@aws-sdk/client-sso-oidc' @@ -1454,21 +1454,21 @@ packages: transitivePeerDependencies: - aws-crt - /@aws-sdk/credential-provider-node@3.572.0(@aws-sdk/client-sso-oidc@3.572.0)(@aws-sdk/client-sts@3.572.0): - resolution: {integrity: sha512-anlYZnpmVkfp9Gan+LcEkQvmRf/m0KcbR11th8sBEyI5lxMaHKXhnAtC/hEGT7e3L6rgNOrFYTPuSvllITD/Pg==} + /@aws-sdk/credential-provider-node@3.577.0(@aws-sdk/client-sso-oidc@3.577.0)(@aws-sdk/client-sts@3.577.0): + resolution: {integrity: sha512-epZ1HOMsrXBNczc0HQpv0VMjqAEpc09DUA7Rg3gUJfn8umhML7A7bXnUyqPA+S54q397UYg1leQKdSn23OiwQQ==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/credential-provider-env': 3.568.0 - '@aws-sdk/credential-provider-http': 3.568.0 - '@aws-sdk/credential-provider-ini': 3.572.0(@aws-sdk/client-sso-oidc@3.572.0)(@aws-sdk/client-sts@3.572.0) - '@aws-sdk/credential-provider-process': 3.572.0 - '@aws-sdk/credential-provider-sso': 3.572.0(@aws-sdk/client-sso-oidc@3.572.0) - '@aws-sdk/credential-provider-web-identity': 3.568.0(@aws-sdk/client-sts@3.572.0) - '@aws-sdk/types': 3.567.0 - '@smithy/credential-provider-imds': 2.3.0 - '@smithy/property-provider': 2.2.0 - '@smithy/shared-ini-file-loader': 2.4.0 - '@smithy/types': 2.12.0 + '@aws-sdk/credential-provider-env': 3.577.0 + '@aws-sdk/credential-provider-http': 3.577.0 + '@aws-sdk/credential-provider-ini': 3.577.0(@aws-sdk/client-sso-oidc@3.577.0)(@aws-sdk/client-sts@3.577.0) + '@aws-sdk/credential-provider-process': 3.577.0 + '@aws-sdk/credential-provider-sso': 3.577.0(@aws-sdk/client-sso-oidc@3.577.0) + '@aws-sdk/credential-provider-web-identity': 3.577.0(@aws-sdk/client-sts@3.577.0) + '@aws-sdk/types': 3.577.0 + '@smithy/credential-provider-imds': 3.0.0 + '@smithy/property-provider': 3.0.0 + '@smithy/shared-ini-file-loader': 3.0.0 + '@smithy/types': 3.0.0 tslib: 2.6.2 transitivePeerDependencies: - '@aws-sdk/client-sso-oidc' @@ -1486,14 +1486,14 @@ packages: '@smithy/types': 2.12.0 tslib: 2.6.2 - /@aws-sdk/credential-provider-process@3.572.0: - resolution: {integrity: sha512-hXcOytf0BadSm/MMy7MV8mmY0+Jv3mkavsHNBx0R82hw5ollD0I3JyOAaCtdUpztF0I72F8K+q8SpJQZ+EwArw==} + /@aws-sdk/credential-provider-process@3.577.0: + resolution: {integrity: sha512-Gin6BWtOiXxIgITrJ3Nwc+Y2P1uVT6huYR4EcbA/DJUPWyO0n9y5UFLewPvVbLkRn15JeEqErBLUrHclkiOKtw==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.567.0 - '@smithy/property-provider': 2.2.0 - '@smithy/shared-ini-file-loader': 2.4.0 - '@smithy/types': 2.12.0 + '@aws-sdk/types': 3.577.0 + '@smithy/property-provider': 3.0.0 + '@smithy/shared-ini-file-loader': 3.0.0 + '@smithy/types': 3.0.0 tslib: 2.6.2 dev: true @@ -1512,16 +1512,16 @@ packages: - '@aws-sdk/credential-provider-node' - aws-crt - /@aws-sdk/credential-provider-sso@3.572.0(@aws-sdk/client-sso-oidc@3.572.0): - resolution: {integrity: sha512-iIlnpJiDXFp3XC4hJNSiNurnU24mr3iLB3HoNa9efr944bo6XBl9FQdk3NssIkqzSmgyoB2CEUx/daBHz4XSow==} + /@aws-sdk/credential-provider-sso@3.577.0(@aws-sdk/client-sso-oidc@3.577.0): + resolution: {integrity: sha512-iVm5SQvS7EgZTJsRaqUOmDQpBQPPPat42SCbWFvFQOLrl8qewq8OP94hFS5w2mP62zngeYzqhJnDel79HXbxew==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/client-sso': 3.572.0 - '@aws-sdk/token-providers': 3.572.0(@aws-sdk/client-sso-oidc@3.572.0) - '@aws-sdk/types': 3.567.0 - '@smithy/property-provider': 2.2.0 - '@smithy/shared-ini-file-loader': 2.4.0 - '@smithy/types': 2.12.0 + '@aws-sdk/client-sso': 3.577.0 + '@aws-sdk/token-providers': 3.577.0(@aws-sdk/client-sso-oidc@3.577.0) + '@aws-sdk/types': 3.577.0 + '@smithy/property-provider': 3.0.0 + '@smithy/shared-ini-file-loader': 3.0.0 + '@smithy/types': 3.0.0 tslib: 2.6.2 transitivePeerDependencies: - '@aws-sdk/client-sso-oidc' @@ -1541,16 +1541,16 @@ packages: - '@aws-sdk/credential-provider-node' - aws-crt - /@aws-sdk/credential-provider-web-identity@3.568.0(@aws-sdk/client-sts@3.572.0): - resolution: {integrity: sha512-ZJSmTmoIdg6WqAULjYzaJ3XcbgBzVy36lir6Y0UBMRGaxDgos1AARuX6EcYzXOl+ksLvxt/xMQ+3aYh1LWfKSw==} + /@aws-sdk/credential-provider-web-identity@3.577.0(@aws-sdk/client-sts@3.577.0): + resolution: {integrity: sha512-ZGHGNRaCtJJmszb9UTnC7izNCtRUttdPlLdMkh41KPS32vfdrBDHs1JrpbZijItRj1xKuOXsiYSXLAaHGcLh8Q==} engines: {node: '>=16.0.0'} peerDependencies: - '@aws-sdk/client-sts': ^3.568.0 + '@aws-sdk/client-sts': ^3.577.0 dependencies: - '@aws-sdk/client-sts': 3.572.0(@aws-sdk/client-sso-oidc@3.572.0) - '@aws-sdk/types': 3.567.0 - '@smithy/property-provider': 2.2.0 - '@smithy/types': 2.12.0 + '@aws-sdk/client-sts': 3.577.0(@aws-sdk/client-sso-oidc@3.577.0) + '@aws-sdk/types': 3.577.0 + '@smithy/property-provider': 3.0.0 + '@smithy/types': 3.0.0 tslib: 2.6.2 dev: true @@ -1624,13 +1624,13 @@ packages: '@smithy/types': 2.12.0 tslib: 2.6.2 - /@aws-sdk/middleware-host-header@3.567.0: - resolution: {integrity: sha512-zQHHj2N3in9duKghH7AuRNrOMLnKhW6lnmb7dznou068DJtDr76w475sHp2TF0XELsOGENbbBsOlN/S5QBFBVQ==} + /@aws-sdk/middleware-host-header@3.577.0: + resolution: {integrity: sha512-9ca5MJz455CODIVXs0/sWmJm7t3QO4EUa1zf8pE8grLpzf0J94bz/skDWm37Pli13T3WaAQBHCTiH2gUVfCsWg==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.567.0 - '@smithy/protocol-http': 3.3.0 - '@smithy/types': 2.12.0 + '@aws-sdk/types': 3.577.0 + '@smithy/protocol-http': 4.0.0 + '@smithy/types': 3.0.0 tslib: 2.6.2 dev: true @@ -1651,12 +1651,12 @@ packages: '@smithy/types': 2.12.0 tslib: 2.6.2 - /@aws-sdk/middleware-logger@3.568.0: - resolution: {integrity: sha512-BinH72RG7K3DHHC1/tCulocFv+ZlQ9SrPF9zYT0T1OT95JXuHhB7fH8gEABrc6DAtOdJJh2fgxQjPy5tzPtsrA==} + /@aws-sdk/middleware-logger@3.577.0: + resolution: {integrity: sha512-aPFGpGjTZcJYk+24bg7jT4XdIp42mFXSuPt49lw5KygefLyJM/sB0bKKqPYYivW0rcuZ9brQ58eZUNthrzYAvg==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.567.0 - '@smithy/types': 2.12.0 + '@aws-sdk/types': 3.577.0 + '@smithy/types': 3.0.0 tslib: 2.6.2 dev: true @@ -1669,13 +1669,13 @@ packages: '@smithy/types': 2.12.0 tslib: 2.6.2 - /@aws-sdk/middleware-recursion-detection@3.567.0: - resolution: {integrity: sha512-rFk3QhdT4IL6O/UWHmNdjJiURutBCy+ogGqaNHf/RELxgXH3KmYorLwCe0eFb5hq8f6vr3zl4/iH7YtsUOuo1w==} + /@aws-sdk/middleware-recursion-detection@3.577.0: + resolution: {integrity: sha512-pn3ZVEd2iobKJlR3H+bDilHjgRnNrQ6HMmK9ZzZw89Ckn3Dcbv48xOv4RJvu0aU8SDLl/SNCxppKjeLDTPGBNA==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.567.0 - '@smithy/protocol-http': 3.3.0 - '@smithy/types': 2.12.0 + '@aws-sdk/types': 3.577.0 + '@smithy/protocol-http': 4.0.0 + '@smithy/types': 3.0.0 tslib: 2.6.2 dev: true @@ -1736,14 +1736,14 @@ packages: '@smithy/types': 2.12.0 tslib: 2.6.2 - /@aws-sdk/middleware-user-agent@3.572.0: - resolution: {integrity: sha512-R4bBbLp1ywtF1kJoOX1juDMztKPWeQHNj6XuTvtruFDn1RdfnBlbM3+9rguRfH5s4V+xfl8SSWchnyo2cI00xg==} + /@aws-sdk/middleware-user-agent@3.577.0: + resolution: {integrity: sha512-P55HAXgwmiHHpFx5JEPvOnAbfhN7v6sWv9PBQs+z2tC7QiBcPS0cdJR6PfV7J1n4VPK52/OnrK3l9VxdQ7Ms0g==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.567.0 - '@aws-sdk/util-endpoints': 3.572.0 - '@smithy/protocol-http': 3.3.0 - '@smithy/types': 2.12.0 + '@aws-sdk/types': 3.577.0 + '@aws-sdk/util-endpoints': 3.577.0 + '@smithy/protocol-http': 4.0.0 + '@smithy/types': 3.0.0 tslib: 2.6.2 dev: true @@ -1758,15 +1758,15 @@ packages: '@smithy/util-middleware': 2.2.0 tslib: 2.6.2 - /@aws-sdk/region-config-resolver@3.572.0: - resolution: {integrity: sha512-xkZMIxek44F4YW5r9otD1O5Y/kDkgAb6JNJePkP1qPVojrkCmin3OFYAOZgGm+T4DZAQ5rWhpaqTAWmnRumYfw==} + /@aws-sdk/region-config-resolver@3.577.0: + resolution: {integrity: sha512-4ChCFACNwzqx/xjg3zgFcW8Ali6R9C95cFECKWT/7CUM1D0MGvkclSH2cLarmHCmJgU6onKkJroFtWp0kHhgyg==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.567.0 - '@smithy/node-config-provider': 2.3.0 - '@smithy/types': 2.12.0 - '@smithy/util-config-provider': 2.3.0 - '@smithy/util-middleware': 2.2.0 + '@aws-sdk/types': 3.577.0 + '@smithy/node-config-provider': 3.0.0 + '@smithy/types': 3.0.0 + '@smithy/util-config-provider': 3.0.0 + '@smithy/util-middleware': 3.0.0 tslib: 2.6.2 dev: true @@ -1825,17 +1825,17 @@ packages: - '@aws-sdk/credential-provider-node' - aws-crt - /@aws-sdk/token-providers@3.572.0(@aws-sdk/client-sso-oidc@3.572.0): - resolution: {integrity: sha512-IkSu8p32tQZhKqwmfLZLGfYwNhsS/HUQBLnDMHJlr9VifmDqlTurcr+DwMCaMimuFhcLeb45vqTymKf/ro/OBw==} + /@aws-sdk/token-providers@3.577.0(@aws-sdk/client-sso-oidc@3.577.0): + resolution: {integrity: sha512-0CkIZpcC3DNQJQ1hDjm2bdSy/Xjs7Ny5YvSsacasGOkNfk+FdkiQy6N67bZX3Zbc9KIx+Nz4bu3iDeNSNplnnQ==} engines: {node: '>=16.0.0'} peerDependencies: - '@aws-sdk/client-sso-oidc': 3.572.0 + '@aws-sdk/client-sso-oidc': ^3.577.0 dependencies: - '@aws-sdk/client-sso-oidc': 3.572.0 - '@aws-sdk/types': 3.567.0 - '@smithy/property-provider': 2.2.0 - '@smithy/shared-ini-file-loader': 2.4.0 - '@smithy/types': 2.12.0 + '@aws-sdk/client-sso-oidc': 3.577.0 + '@aws-sdk/types': 3.577.0 + '@smithy/property-provider': 3.0.0 + '@smithy/shared-ini-file-loader': 3.0.0 + '@smithy/types': 3.0.0 tslib: 2.6.2 dev: true @@ -1846,11 +1846,11 @@ packages: '@smithy/types': 2.12.0 tslib: 2.6.2 - /@aws-sdk/types@3.567.0: - resolution: {integrity: sha512-JBznu45cdgQb8+T/Zab7WpBmfEAh77gsk99xuF4biIb2Sw1mdseONdoGDjEJX57a25TzIv/WUJ2oABWumckz1A==} + /@aws-sdk/types@3.577.0: + resolution: {integrity: sha512-FT2JZES3wBKN/alfmhlo+3ZOq/XJ0C7QOZcDNrpKjB0kqYoKjhVKZ/Hx6ArR0czkKfHzBBEs6y40ebIHx2nSmA==} engines: {node: '>=16.0.0'} dependencies: - '@smithy/types': 2.12.0 + '@smithy/types': 3.0.0 tslib: 2.6.2 dev: true @@ -1870,13 +1870,13 @@ packages: '@smithy/util-endpoints': 1.2.0 tslib: 2.6.2 - /@aws-sdk/util-endpoints@3.572.0: - resolution: {integrity: sha512-AIEC7ItIWBqkJLtqcSd0HG8tvdh3zVwqnKPHNrcfFay0Xonqx3p/qTCDwGosh5CM5hDGzyOSRA5PkacEDBTz9w==} + /@aws-sdk/util-endpoints@3.577.0: + resolution: {integrity: sha512-FjuUz1Kdy4Zly2q/c58tpdqHd6z7iOdU/caYzoc8jwgAHBDBbIJNQLCU9hXJnPV2M8pWxQDyIZsoVwtmvErPzw==} engines: {node: '>=16.0.0'} dependencies: - '@aws-sdk/types': 3.567.0 - '@smithy/types': 2.12.0 - '@smithy/util-endpoints': 1.2.0 + '@aws-sdk/types': 3.577.0 + '@smithy/types': 3.0.0 + '@smithy/util-endpoints': 2.0.0 tslib: 2.6.2 dev: true @@ -1894,11 +1894,11 @@ packages: bowser: 2.11.0 tslib: 2.6.2 - /@aws-sdk/util-user-agent-browser@3.567.0: - resolution: {integrity: sha512-cqP0uXtZ7m7hRysf3fRyJwcY1jCgQTpJy7BHB5VpsE7DXlXHD5+Ur5L42CY7UrRPrB6lc6YGFqaAOs5ghMcLyA==} + /@aws-sdk/util-user-agent-browser@3.577.0: + resolution: {integrity: sha512-zEAzHgR6HWpZOH7xFgeJLc6/CzMcx4nxeQolZxVZoB5pPaJd3CjyRhZN0xXeZB0XIRCWmb4yJBgyiugXLNMkLA==} dependencies: - '@aws-sdk/types': 3.567.0 - '@smithy/types': 2.12.0 + '@aws-sdk/types': 3.577.0 + '@smithy/types': 3.0.0 bowser: 2.11.0 tslib: 2.6.2 dev: true @@ -1918,8 +1918,8 @@ packages: aws-crt: 1.21.1 tslib: 2.6.2 - /@aws-sdk/util-user-agent-node@3.568.0: - resolution: {integrity: sha512-NVoZoLnKF+eXPBvXg+KqixgJkPSrerR6Gqmbjwqbv14Ini+0KNKB0/MXas1mDGvvEgtNkHI/Cb9zlJ3KXpti2A==} + /@aws-sdk/util-user-agent-node@3.577.0: + resolution: {integrity: sha512-XqvtFjbSMtycZTWVwDe8DRWovuoMbA54nhUoZwVU6rW9OSD6NZWGR512BUGHFaWzW0Wg8++Dj10FrKTG2XtqfA==} engines: {node: '>=16.0.0'} peerDependencies: aws-crt: '>=1.0.0' @@ -1927,9 +1927,9 @@ packages: aws-crt: optional: true dependencies: - '@aws-sdk/types': 3.567.0 - '@smithy/node-config-provider': 2.3.0 - '@smithy/types': 2.12.0 + '@aws-sdk/types': 3.577.0 + '@smithy/node-config-provider': 3.0.0 + '@smithy/types': 3.0.0 tslib: 2.6.2 dev: true @@ -2397,16 +2397,25 @@ packages: dev: true optional: true - /@emnapi/core@1.1.1: - resolution: {integrity: sha512-eu4KjHfXg3I+UUR7vSuwZXpRo4c8h4Rtb5Lu2F7Z4JqJFl/eidquONEBiRs6viXKpWBC3BaJBy68xGJ2j56idw==} + /@emnapi/core@1.2.0: + resolution: {integrity: sha512-E7Vgw78I93we4ZWdYCb4DGAwRROGkMIXk7/y87UmANR+J6qsWusmC3gLt0H+O0KOt5e6O38U8oJamgbudrES/w==} requiresBuild: true dependencies: + '@emnapi/wasi-threads': 1.0.1 tslib: 2.6.2 dev: false optional: true - /@emnapi/runtime@1.1.1: - resolution: {integrity: sha512-3bfqkzuR1KLx57nZfjr2NLnFOobvyS0aTszaEGCGqmYMVDRaGvgIZbjGSV/MHSSmLgQ/b9JFHQ5xm5WRZYd+XQ==} + /@emnapi/runtime@1.2.0: + resolution: {integrity: sha512-bV21/9LQmcQeCPEg3BDFtvwL6cwiTMksYNWQQ4KOxCZikEGalWtenoZ0wCiukJINlGCIi2KXx01g4FoH/LxpzQ==} + requiresBuild: true + dependencies: + tslib: 2.6.2 + dev: false + optional: true + + /@emnapi/wasi-threads@1.0.1: + resolution: {integrity: sha512-iIBu7mwkq4UQGeMEM8bLwNK962nXdhodeScX4slfQnRhEMMzvYivHhutCIk8uojvmASXXPC2WNEjwxFWk72Oqw==} requiresBuild: true dependencies: tslib: 2.6.2 @@ -3298,8 +3307,8 @@ packages: resolution: {integrity: sha512-8JuczewTFIZ/XIjHQ+YlQUydHvlKx2hkcxtuGwh+t/t5zWyZct6YG4+xjHcq8xyc/e7FmFwf42Zj2YgICwmlvA==} requiresBuild: true dependencies: - '@emnapi/core': 1.1.1 - '@emnapi/runtime': 1.1.1 + '@emnapi/core': 1.2.0 + '@emnapi/runtime': 1.2.0 '@tybys/wasm-util': 0.8.3 dev: false optional: true @@ -3824,6 +3833,14 @@ packages: '@smithy/types': 2.12.0 tslib: 2.6.2 + /@smithy/abort-controller@3.0.0: + resolution: {integrity: sha512-p6GlFGBt9K4MYLu72YuJ523NVR4A8oHlC5M2JO6OmQqN8kAc/uh1JqLE+FizTokrSJGg0CSvC+BrsmGzKtsZKA==} + engines: {node: '>=16.0.0'} + dependencies: + '@smithy/types': 3.0.0 + tslib: 2.6.2 + dev: true + /@smithy/chunked-blob-reader-native@2.2.0: resolution: {integrity: sha512-VNB5+1oCgX3Fzs072yuRsUoC2N4Zg/LJ11DTxX3+Qu+Paa6AmbIF0E9sc2wthz9Psrk/zcOlTCyuposlIhPjZQ==} dependencies: @@ -3857,6 +3874,17 @@ packages: '@smithy/util-middleware': 2.2.0 tslib: 2.6.2 + /@smithy/config-resolver@3.0.0: + resolution: {integrity: sha512-2GzOfADwYLQugYkKQhIyZyQlM05K+tMKvRnc6eFfZcpJGRfKoMUMYdPlBKmqHwQFXQKBrGV6cxL9oymWgDzvFw==} + engines: {node: '>=16.0.0'} + dependencies: + '@smithy/node-config-provider': 3.0.0 + '@smithy/types': 3.0.0 + '@smithy/util-config-provider': 3.0.0 + '@smithy/util-middleware': 3.0.0 + tslib: 2.6.2 + dev: true + /@smithy/core@1.4.0: resolution: {integrity: sha512-uu9ZDI95Uij4qk+L6kyFjdk11zqBkcJ3Lv0sc6jZrqHvLyr0+oeekD3CnqMafBn/5PRI6uv6ulW3kNLRBUHeVw==} engines: {node: '>=14.0.0'} @@ -3870,17 +3898,17 @@ packages: '@smithy/util-middleware': 2.2.0 tslib: 2.6.2 - /@smithy/core@1.4.2: - resolution: {integrity: sha512-2fek3I0KZHWJlRLvRTqxTEri+qV0GRHrJIoLFuBMZB4EMg4WgeBGfF0X6abnrNYpq55KJ6R4D6x4f0vLnhzinA==} - engines: {node: '>=14.0.0'} + /@smithy/core@2.0.1: + resolution: {integrity: sha512-rcMkjvwxH/bER+oZUPR0yTA0ELD6m3A+d92+CFkdF6HJFCBB1bXo7P5pm21L66XwTN01B6bUhSCQ7cymWRD8zg==} + engines: {node: '>=16.0.0'} dependencies: - '@smithy/middleware-endpoint': 2.5.1 - '@smithy/middleware-retry': 2.3.1 - '@smithy/middleware-serde': 2.3.0 - '@smithy/protocol-http': 3.3.0 - '@smithy/smithy-client': 2.5.1 - '@smithy/types': 2.12.0 - '@smithy/util-middleware': 2.2.0 + '@smithy/middleware-endpoint': 3.0.0 + '@smithy/middleware-retry': 3.0.1 + '@smithy/middleware-serde': 3.0.0 + '@smithy/protocol-http': 4.0.0 + '@smithy/smithy-client': 3.0.1 + '@smithy/types': 3.0.0 + '@smithy/util-middleware': 3.0.0 tslib: 2.6.2 dev: true @@ -3894,6 +3922,17 @@ packages: '@smithy/url-parser': 2.2.0 tslib: 2.6.2 + /@smithy/credential-provider-imds@3.0.0: + resolution: {integrity: sha512-lfmBiFQcA3FsDAPxNfY0L7CawcWtbyWsBOHo34nF095728JLkBX4Y9q/VPPE2r7fqMVK+drmDigqE2/SSQeVRA==} + engines: {node: '>=16.0.0'} + dependencies: + '@smithy/node-config-provider': 3.0.0 + '@smithy/property-provider': 3.0.0 + '@smithy/types': 3.0.0 + '@smithy/url-parser': 3.0.0 + tslib: 2.6.2 + dev: true + /@smithy/eventstream-codec@2.2.0: resolution: {integrity: sha512-8janZoJw85nJmQZc4L8TuePp2pk1nxLgkxIR0TUjKJ5Dkj5oelB9WtiSSGXCQvNsJl0VSTvK/2ueMXxvpa9GVw==} dependencies: @@ -3956,6 +3995,16 @@ packages: '@smithy/util-base64': 2.3.0 tslib: 2.6.2 + /@smithy/fetch-http-handler@3.0.1: + resolution: {integrity: sha512-uaH74i5BDj+rBwoQaXioKpI0SHBJFtOVwzrCpxZxphOW0ki5jhj7dXvDMYM2IJem8TpdFvS2iC08sjOblfFGFg==} + dependencies: + '@smithy/protocol-http': 4.0.0 + '@smithy/querystring-builder': 3.0.0 + '@smithy/types': 3.0.0 + '@smithy/util-base64': 3.0.0 + tslib: 2.6.2 + dev: true + /@smithy/hash-blob-browser@2.2.0: resolution: {integrity: sha512-SGPoVH8mdXBqrkVCJ1Hd1X7vh1zDXojNN1yZyZTZsCno99hVue9+IYzWDjq/EQDDXxmITB0gBmuyPh8oAZSTcg==} dependencies: @@ -3974,6 +4023,16 @@ packages: '@smithy/util-utf8': 2.3.0 tslib: 2.6.2 + /@smithy/hash-node@3.0.0: + resolution: {integrity: sha512-84qXstNemP3XS5jcof0el6+bDfjzuvhJPQTEfro3lgtbCtKgzPm3MgiS6ehXVPjeQ5+JS0HqmTz8f/RYfzHVxw==} + engines: {node: '>=16.0.0'} + dependencies: + '@smithy/types': 3.0.0 + '@smithy/util-buffer-from': 3.0.0 + '@smithy/util-utf8': 3.0.0 + tslib: 2.6.2 + dev: true + /@smithy/hash-stream-node@2.2.0: resolution: {integrity: sha512-aT+HCATOSRMGpPI7bi7NSsTNVZE/La9IaxLXWoVAYMxHT5hGO3ZOGEMZQg8A6nNL+pdFGtZQtND1eoY084HgHQ==} engines: {node: '>=14.0.0'} @@ -3989,6 +4048,13 @@ packages: '@smithy/types': 2.12.0 tslib: 2.6.2 + /@smithy/invalid-dependency@3.0.0: + resolution: {integrity: sha512-F6wBBaEFgJzj0s4KUlliIGPmqXemwP6EavgvDqYwCH40O5Xr2iMHvS8todmGVZtuJCorBkXsYLyTu4PuizVq5g==} + dependencies: + '@smithy/types': 3.0.0 + tslib: 2.6.2 + dev: true + /@smithy/is-array-buffer@1.1.0: resolution: {integrity: sha512-twpQ/n+3OWZJ7Z+xu43MJErmhB/WO/mMTnqR6PwWQShvSJ/emx5d1N59LQZk6ZpTAeuRWrc+eHhkzTp9NFjNRQ==} engines: {node: '>=14.0.0'} @@ -4002,6 +4068,13 @@ packages: dependencies: tslib: 2.6.2 + /@smithy/is-array-buffer@3.0.0: + resolution: {integrity: sha512-+Fsu6Q6C4RSJiy81Y8eApjEB5gVtM+oFKTffg+jSuwtvomJJrhUJBu2zS8wjXSgH/g1MKEWrzyChTBe6clb5FQ==} + engines: {node: '>=16.0.0'} + dependencies: + tslib: 2.6.2 + dev: true + /@smithy/md5-js@2.2.0: resolution: {integrity: sha512-M26XTtt9IIusVMOWEAhIvFIr9jYj4ISPPGJROqw6vXngO3IYJCnVVSMFn4Tx1rUTG5BiKJNg9u2nxmBiZC5IlQ==} dependencies: @@ -4018,6 +4091,15 @@ packages: '@smithy/types': 2.12.0 tslib: 2.6.2 + /@smithy/middleware-content-length@3.0.0: + resolution: {integrity: sha512-3C4s4d/iGobgCtk2tnWW6+zSTOBg1PRAm2vtWZLdriwTroFbbWNSr3lcyzHdrQHnEXYCC5K52EbpfodaIUY8sg==} + engines: {node: '>=16.0.0'} + dependencies: + '@smithy/protocol-http': 4.0.0 + '@smithy/types': 3.0.0 + tslib: 2.6.2 + dev: true + /@smithy/middleware-endpoint@2.5.0: resolution: {integrity: sha512-OBhI9ZEAG8Xen0xsFJwwNOt44WE2CWkfYIxTognC8x42Lfsdf0VN/wCMqpdkySMDio/vts10BiovAxQp0T0faA==} engines: {node: '>=14.0.0'} @@ -4030,16 +4112,16 @@ packages: '@smithy/util-middleware': 2.2.0 tslib: 2.6.2 - /@smithy/middleware-endpoint@2.5.1: - resolution: {integrity: sha512-1/8kFp6Fl4OsSIVTWHnNjLnTL8IqpIb/D3sTSczrKFnrE9VMNWxnrRKNvpUHOJ6zpGD5f62TPm7+17ilTJpiCQ==} - engines: {node: '>=14.0.0'} + /@smithy/middleware-endpoint@3.0.0: + resolution: {integrity: sha512-aXOAWztw/5qAfp0NcA2OWpv6ZI/E+Dh9mByif7i91D/0iyYNUcKvskmXiowKESFkuZ7PIMd3VOR4fTibZDs2OQ==} + engines: {node: '>=16.0.0'} dependencies: - '@smithy/middleware-serde': 2.3.0 - '@smithy/node-config-provider': 2.3.0 - '@smithy/shared-ini-file-loader': 2.4.0 - '@smithy/types': 2.12.0 - '@smithy/url-parser': 2.2.0 - '@smithy/util-middleware': 2.2.0 + '@smithy/middleware-serde': 3.0.0 + '@smithy/node-config-provider': 3.0.0 + '@smithy/shared-ini-file-loader': 3.0.0 + '@smithy/types': 3.0.0 + '@smithy/url-parser': 3.0.0 + '@smithy/util-middleware': 3.0.0 tslib: 2.6.2 dev: true @@ -4070,17 +4152,17 @@ packages: tslib: 2.6.2 uuid: 8.3.2 - /@smithy/middleware-retry@2.3.1: - resolution: {integrity: sha512-P2bGufFpFdYcWvqpyqqmalRtwFUNUA8vHjJR5iGqbfR6mp65qKOLcUd6lTr4S9Gn/enynSrSf3p3FVgVAf6bXA==} - engines: {node: '>=14.0.0'} + /@smithy/middleware-retry@3.0.1: + resolution: {integrity: sha512-hBhSEuL841FhJBK/19WpaGk5YWSzFk/P2UaVjANGKRv3eYNO8Y1lANWgqnuPWjOyCEWMPr58vELFDWpxvRKANw==} + engines: {node: '>=16.0.0'} dependencies: - '@smithy/node-config-provider': 2.3.0 - '@smithy/protocol-http': 3.3.0 - '@smithy/service-error-classification': 2.1.5 - '@smithy/smithy-client': 2.5.1 - '@smithy/types': 2.12.0 - '@smithy/util-middleware': 2.2.0 - '@smithy/util-retry': 2.2.0 + '@smithy/node-config-provider': 3.0.0 + '@smithy/protocol-http': 4.0.0 + '@smithy/service-error-classification': 3.0.0 + '@smithy/smithy-client': 3.0.1 + '@smithy/types': 3.0.0 + '@smithy/util-middleware': 3.0.0 + '@smithy/util-retry': 3.0.0 tslib: 2.6.2 uuid: 9.0.1 dev: true @@ -4092,6 +4174,14 @@ packages: '@smithy/types': 2.12.0 tslib: 2.6.2 + /@smithy/middleware-serde@3.0.0: + resolution: {integrity: sha512-I1vKG1foI+oPgG9r7IMY1S+xBnmAn1ISqployvqkwHoSb8VPsngHDTOgYGYBonuOKndaWRUGJZrKYYLB+Ane6w==} + engines: {node: '>=16.0.0'} + dependencies: + '@smithy/types': 3.0.0 + tslib: 2.6.2 + dev: true + /@smithy/middleware-stack@1.1.0: resolution: {integrity: sha512-XynYiIvXNea2BbLcppvpNK0zu8o2woJqgnmxqYTn4FWagH/Hr2QIk8LOsUz7BIJ4tooFhmx8urHKCdlPbbPDCA==} engines: {node: '>=14.0.0'} @@ -4106,6 +4196,14 @@ packages: '@smithy/types': 2.12.0 tslib: 2.6.2 + /@smithy/middleware-stack@3.0.0: + resolution: {integrity: sha512-+H0jmyfAyHRFXm6wunskuNAqtj7yfmwFB6Fp37enytp2q047/Od9xetEaUbluyImOlGnGpaVGaVfjwawSr+i6Q==} + engines: {node: '>=16.0.0'} + dependencies: + '@smithy/types': 3.0.0 + tslib: 2.6.2 + dev: true + /@smithy/node-config-provider@2.3.0: resolution: {integrity: sha512-0elK5/03a1JPWMDPaS726Iw6LpQg80gFut1tNpPfxFuChEEklo2yL823V94SpTZTxmKlXFtFgsP55uh3dErnIg==} engines: {node: '>=14.0.0'} @@ -4115,6 +4213,16 @@ packages: '@smithy/types': 2.12.0 tslib: 2.6.2 + /@smithy/node-config-provider@3.0.0: + resolution: {integrity: sha512-buqfaSdDh0zo62EPLf8rGDvcpKwGpO5ho4bXS2cdFhlOta7tBkWJt+O5uiaAeICfIOfPclNOndshDNSanX2X9g==} + engines: {node: '>=16.0.0'} + dependencies: + '@smithy/property-provider': 3.0.0 + '@smithy/shared-ini-file-loader': 3.0.0 + '@smithy/types': 3.0.0 + tslib: 2.6.2 + dev: true + /@smithy/node-http-handler@1.1.0: resolution: {integrity: sha512-d3kRriEgaIiGXLziAM8bjnaLn1fthCJeTLZIwEIpzQqe6yPX0a+yQoLCTyjb2fvdLwkMoG4p7THIIB5cj5lkbg==} engines: {node: '>=14.0.0'} @@ -4136,6 +4244,17 @@ packages: '@smithy/types': 2.12.0 tslib: 2.6.2 + /@smithy/node-http-handler@3.0.0: + resolution: {integrity: sha512-3trD4r7NOMygwLbUJo4eodyQuypAWr7uvPnebNJ9a70dQhVn+US8j/lCnvoJS6BXfZeF7PkkkI0DemVJw+n+eQ==} + engines: {node: '>=16.0.0'} + dependencies: + '@smithy/abort-controller': 3.0.0 + '@smithy/protocol-http': 4.0.0 + '@smithy/querystring-builder': 3.0.0 + '@smithy/types': 3.0.0 + tslib: 2.6.2 + dev: true + /@smithy/property-provider@2.2.0: resolution: {integrity: sha512-+xiil2lFhtTRzXkx8F053AV46QnIw6e7MV8od5Mi68E1ICOjCeCHw2XfLnDEUHnT9WGUIkwcqavXjfwuJbGlpg==} engines: {node: '>=14.0.0'} @@ -4143,6 +4262,14 @@ packages: '@smithy/types': 2.12.0 tslib: 2.6.2 + /@smithy/property-provider@3.0.0: + resolution: {integrity: sha512-LmbPgHBswdXCrkWWuUwBm9w72S2iLWyC/5jet9/Y9cGHtzqxi+GVjfCfahkvNV4KXEwgnH8EMpcrD9RUYe0eLQ==} + engines: {node: '>=16.0.0'} + dependencies: + '@smithy/types': 3.0.0 + tslib: 2.6.2 + dev: true + /@smithy/protocol-http@1.2.0: resolution: {integrity: sha512-GfGfruksi3nXdFok5RhgtOnWe5f6BndzYfmEXISD+5gAGdayFGpjWu5pIqIweTudMtse20bGbc+7MFZXT1Tb8Q==} engines: {node: '>=14.0.0'} @@ -4158,6 +4285,14 @@ packages: '@smithy/types': 2.12.0 tslib: 2.6.2 + /@smithy/protocol-http@4.0.0: + resolution: {integrity: sha512-qOQZOEI2XLWRWBO9AgIYuHuqjZ2csyr8/IlgFDHDNuIgLAMRx2Bl8ck5U5D6Vh9DPdoaVpuzwWMa0xcdL4O/AQ==} + engines: {node: '>=16.0.0'} + dependencies: + '@smithy/types': 3.0.0 + tslib: 2.6.2 + dev: true + /@smithy/querystring-builder@1.1.0: resolution: {integrity: sha512-gDEi4LxIGLbdfjrjiY45QNbuDmpkwh9DX4xzrR2AzjjXpxwGyfSpbJaYhXARw9p17VH0h9UewnNQXNwaQyYMDA==} engines: {node: '>=14.0.0'} @@ -4175,6 +4310,15 @@ packages: '@smithy/util-uri-escape': 2.2.0 tslib: 2.6.2 + /@smithy/querystring-builder@3.0.0: + resolution: {integrity: sha512-bW8Fi0NzyfkE0TmQphDXr1AmBDbK01cA4C1Z7ggwMAU5RDz5AAv/KmoRwzQAS0kxXNf/D2ALTEgwK0U2c4LtRg==} + engines: {node: '>=16.0.0'} + dependencies: + '@smithy/types': 3.0.0 + '@smithy/util-uri-escape': 3.0.0 + tslib: 2.6.2 + dev: true + /@smithy/querystring-parser@2.2.0: resolution: {integrity: sha512-BvHCDrKfbG5Yhbpj4vsbuPV2GgcpHiAkLeIlcA1LtfpMz3jrqizP1+OguSNSj1MwBHEiN+jwNisXLGdajGDQJA==} engines: {node: '>=14.0.0'} @@ -4182,6 +4326,14 @@ packages: '@smithy/types': 2.12.0 tslib: 2.6.2 + /@smithy/querystring-parser@3.0.0: + resolution: {integrity: sha512-UzHwthk0UEccV4dHzPySnBy34AWw3V9lIqUTxmozQ+wPDAO9csCWMfOLe7V9A2agNYy7xE+Pb0S6K/J23JSzfQ==} + engines: {node: '>=16.0.0'} + dependencies: + '@smithy/types': 3.0.0 + tslib: 2.6.2 + dev: true + /@smithy/service-error-classification@1.1.0: resolution: {integrity: sha512-OCTEeJ1igatd5kFrS2VDlYbainNNpf7Lj1siFOxnRWqYOP9oNvC5HOJBd3t+Z8MbrmehBtuDJ2QqeBsfeiNkww==} engines: {node: '>=14.0.0'} @@ -4193,6 +4345,13 @@ packages: dependencies: '@smithy/types': 2.12.0 + /@smithy/service-error-classification@3.0.0: + resolution: {integrity: sha512-3BsBtOUt2Gsnc3X23ew+r2M71WwtpHfEDGhHYHSDg6q1t8FrWh15jT25DLajFV1H+PpxAJ6gqe9yYeRUsmSdFA==} + engines: {node: '>=16.0.0'} + dependencies: + '@smithy/types': 3.0.0 + dev: true + /@smithy/shared-ini-file-loader@2.4.0: resolution: {integrity: sha512-WyujUJL8e1B6Z4PBfAqC/aGY1+C7T0w20Gih3yrvJSk97gpiVfB+y7c46T4Nunk+ZngLq0rOIdeVeIklk0R3OA==} engines: {node: '>=14.0.0'} @@ -4200,6 +4359,14 @@ packages: '@smithy/types': 2.12.0 tslib: 2.6.2 + /@smithy/shared-ini-file-loader@3.0.0: + resolution: {integrity: sha512-REVw6XauXk8xE4zo5aGL7Rz4ywA8qNMUn8RtWeTRQsgAlmlvbJ7CEPBcaXU2NDC3AYBgYAXrGyWD8XrN8UGDog==} + engines: {node: '>=16.0.0'} + dependencies: + '@smithy/types': 3.0.0 + tslib: 2.6.2 + dev: true + /@smithy/signature-v4@2.2.0: resolution: {integrity: sha512-+B5TNzj/fRZzVW3z8UUJOkNx15+4E0CLuvJmJUA1JUIZFp3rdJ/M2H5r2SqltaVPXL0oIxv/6YK92T9TsFGbFg==} engines: {node: '>=14.0.0'} @@ -4213,16 +4380,16 @@ packages: '@smithy/util-utf8': 2.3.0 tslib: 2.6.2 - /@smithy/signature-v4@2.3.0: - resolution: {integrity: sha512-ui/NlpILU+6HAQBfJX8BBsDXuKSNrjTSuOYArRblcrErwKFutjrCNb/OExfVRyj9+26F9J+ZmfWT+fKWuDrH3Q==} - engines: {node: '>=14.0.0'} + /@smithy/signature-v4@3.0.0: + resolution: {integrity: sha512-kXFOkNX+BQHe2qnLxpMEaCRGap9J6tUGLzc3A9jdn+nD4JdMwCKTJ+zFwQ20GkY+mAXGatyTw3HcoUlR39HwmA==} + engines: {node: '>=16.0.0'} dependencies: - '@smithy/is-array-buffer': 2.2.0 - '@smithy/types': 2.12.0 - '@smithy/util-hex-encoding': 2.2.0 - '@smithy/util-middleware': 2.2.0 - '@smithy/util-uri-escape': 2.2.0 - '@smithy/util-utf8': 2.3.0 + '@smithy/is-array-buffer': 3.0.0 + '@smithy/types': 3.0.0 + '@smithy/util-hex-encoding': 3.0.0 + '@smithy/util-middleware': 3.0.0 + '@smithy/util-uri-escape': 3.0.0 + '@smithy/util-utf8': 3.0.0 tslib: 2.6.2 dev: true @@ -4247,15 +4414,15 @@ packages: '@smithy/util-stream': 2.2.0 tslib: 2.6.2 - /@smithy/smithy-client@2.5.1: - resolution: {integrity: sha512-jrbSQrYCho0yDaaf92qWgd+7nAeap5LtHTI51KXqmpIFCceKU3K9+vIVTUH72bOJngBMqa4kyu1VJhRcSrk/CQ==} - engines: {node: '>=14.0.0'} + /@smithy/smithy-client@3.0.1: + resolution: {integrity: sha512-KAiFY4Y4jdHxR+4zerH/VBhaFKM8pbaVmJZ/CWJRwtM/CmwzTfXfvYwf6GoUwiHepdv+lwiOXCuOl6UBDUEINw==} + engines: {node: '>=16.0.0'} dependencies: - '@smithy/middleware-endpoint': 2.5.1 - '@smithy/middleware-stack': 2.2.0 - '@smithy/protocol-http': 3.3.0 - '@smithy/types': 2.12.0 - '@smithy/util-stream': 2.2.0 + '@smithy/middleware-endpoint': 3.0.0 + '@smithy/middleware-stack': 3.0.0 + '@smithy/protocol-http': 4.0.0 + '@smithy/types': 3.0.0 + '@smithy/util-stream': 3.0.1 tslib: 2.6.2 dev: true @@ -4272,6 +4439,13 @@ packages: dependencies: tslib: 2.6.2 + /@smithy/types@3.0.0: + resolution: {integrity: sha512-VvWuQk2RKFuOr98gFhjca7fkBS+xLLURT8bUjk5XQoV0ZLm7WPwWPPY3/AwzTLuUBDeoKDCthfe1AsTUWaSEhw==} + engines: {node: '>=16.0.0'} + dependencies: + tslib: 2.6.2 + dev: true + /@smithy/url-parser@2.2.0: resolution: {integrity: sha512-hoA4zm61q1mNTpksiSWp2nEl1dt3j726HdRhiNgVJQMj7mLp7dprtF57mOB6JvEk/x9d2bsuL5hlqZbBuHQylQ==} dependencies: @@ -4279,6 +4453,14 @@ packages: '@smithy/types': 2.12.0 tslib: 2.6.2 + /@smithy/url-parser@3.0.0: + resolution: {integrity: sha512-2XLazFgUu+YOGHtWihB3FSLAfCUajVfNBXGGYjOaVKjLAuAxx3pSBY3hBgLzIgB17haf59gOG3imKqTy8mcrjw==} + dependencies: + '@smithy/querystring-parser': 3.0.0 + '@smithy/types': 3.0.0 + tslib: 2.6.2 + dev: true + /@smithy/util-base64@1.1.0: resolution: {integrity: sha512-FpYmDmVbOXAxqvoVCwqehUN0zXS+lN8V7VS9O7I8MKeVHdSTsZzlwiMEvGoyTNOXWn8luF4CTDYgNHnZViR30g==} engines: {node: '>=14.0.0'} @@ -4295,17 +4477,39 @@ packages: '@smithy/util-utf8': 2.3.0 tslib: 2.6.2 + /@smithy/util-base64@3.0.0: + resolution: {integrity: sha512-Kxvoh5Qtt0CDsfajiZOCpJxgtPHXOKwmM+Zy4waD43UoEMA+qPxxa98aE/7ZhdnBFZFXMOiBR5xbcaMhLtznQQ==} + engines: {node: '>=16.0.0'} + dependencies: + '@smithy/util-buffer-from': 3.0.0 + '@smithy/util-utf8': 3.0.0 + tslib: 2.6.2 + dev: true + /@smithy/util-body-length-browser@2.2.0: resolution: {integrity: sha512-dtpw9uQP7W+n3vOtx0CfBD5EWd7EPdIdsQnWTDoFf77e3VUf05uA7R7TGipIo8e4WL2kuPdnsr3hMQn9ziYj5w==} dependencies: tslib: 2.6.2 + /@smithy/util-body-length-browser@3.0.0: + resolution: {integrity: sha512-cbjJs2A1mLYmqmyVl80uoLTJhAcfzMOyPgjwAYusWKMdLeNtzmMz9YxNl3/jRLoxSS3wkqkf0jwNdtXWtyEBaQ==} + dependencies: + tslib: 2.6.2 + dev: true + /@smithy/util-body-length-node@2.3.0: resolution: {integrity: sha512-ITWT1Wqjubf2CJthb0BuT9+bpzBfXeMokH/AAa5EJQgbv9aPMVfnM76iFIZVFf50hYXGbtiV71BHAthNWd6+dw==} engines: {node: '>=14.0.0'} dependencies: tslib: 2.6.2 + /@smithy/util-body-length-node@3.0.0: + resolution: {integrity: sha512-Tj7pZ4bUloNUP6PzwhN7K386tmSmEET9QtQg0TgdNOnxhZvCssHji+oZTUIuzxECRfG8rdm2PMw2WCFs6eIYkA==} + engines: {node: '>=16.0.0'} + dependencies: + tslib: 2.6.2 + dev: true + /@smithy/util-buffer-from@1.1.0: resolution: {integrity: sha512-9m6NXE0ww+ra5HKHCHig20T+FAwxBAm7DIdwc/767uGWbRcY720ybgPacQNB96JMOI7xVr/CDa3oMzKmW4a+kw==} engines: {node: '>=14.0.0'} @@ -4321,6 +4525,14 @@ packages: '@smithy/is-array-buffer': 2.2.0 tslib: 2.6.2 + /@smithy/util-buffer-from@3.0.0: + resolution: {integrity: sha512-aEOHCgq5RWFbP+UDPvPot26EJHjOC+bRgse5A8V3FSShqd5E5UN4qc7zkwsvJPPAVsf73QwYcHN1/gt/rtLwQA==} + engines: {node: '>=16.0.0'} + dependencies: + '@smithy/is-array-buffer': 3.0.0 + tslib: 2.6.2 + dev: true + /@smithy/util-config-provider@1.1.0: resolution: {integrity: sha512-rQ47YpNmF6Is4I9GiE3T3+0xQ+r7RKRKbmHYyGSbyep/0cSf9kteKcI0ssJTvveJ1K4QvwrxXj1tEFp/G2UqxQ==} engines: {node: '>=14.0.0'} @@ -4334,6 +4546,13 @@ packages: dependencies: tslib: 2.6.2 + /@smithy/util-config-provider@3.0.0: + resolution: {integrity: sha512-pbjk4s0fwq3Di/ANL+rCvJMKM5bzAQdE5S/6RL5NXgMExFAi6UgQMPOm5yPaIWPpr+EOXKXRonJ3FoxKf4mCJQ==} + engines: {node: '>=16.0.0'} + dependencies: + tslib: 2.6.2 + dev: true + /@smithy/util-defaults-mode-browser@2.2.0: resolution: {integrity: sha512-2okTdZaCBvOJszAPU/KSvlimMe35zLOKbQpHhamFJmR7t95HSe0K3C92jQPjKY3PmDBD+7iMkOnuW05F5OlF4g==} engines: {node: '>= 10.0.0'} @@ -4344,13 +4563,13 @@ packages: bowser: 2.11.0 tslib: 2.6.2 - /@smithy/util-defaults-mode-browser@2.2.1: - resolution: {integrity: sha512-RtKW+8j8skk17SYowucwRUjeh4mCtnm5odCL0Lm2NtHQBsYKrNW0od9Rhopu9wF1gHMfHeWF7i90NwBz/U22Kw==} + /@smithy/util-defaults-mode-browser@3.0.1: + resolution: {integrity: sha512-nW5kEzdJn1Bn5TF+gOPHh2rcPli8JU9vSSXLbfg7uPnfR1TMRQqs9zlYRhIb87NeSxIbpdXOI94tvXSy+fvDYg==} engines: {node: '>= 10.0.0'} dependencies: - '@smithy/property-provider': 2.2.0 - '@smithy/smithy-client': 2.5.1 - '@smithy/types': 2.12.0 + '@smithy/property-provider': 3.0.0 + '@smithy/smithy-client': 3.0.1 + '@smithy/types': 3.0.0 bowser: 2.11.0 tslib: 2.6.2 dev: true @@ -4367,16 +4586,16 @@ packages: '@smithy/types': 2.12.0 tslib: 2.6.2 - /@smithy/util-defaults-mode-node@2.3.1: - resolution: {integrity: sha512-vkMXHQ0BcLFysBMWgSBLSk3+leMpFSyyFj8zQtv5ZyUBx8/owVh1/pPEkzmW/DR/Gy/5c8vjLDD9gZjXNKbrpA==} + /@smithy/util-defaults-mode-node@3.0.1: + resolution: {integrity: sha512-TFk+Qb+elLc/MOhtSp+50fstyfZ6avQbgH2d96xUBpeScu+Al9elxv+UFAjaTHe0HQe5n+wem8ZLpXvU8lwV6Q==} engines: {node: '>= 10.0.0'} dependencies: - '@smithy/config-resolver': 2.2.0 - '@smithy/credential-provider-imds': 2.3.0 - '@smithy/node-config-provider': 2.3.0 - '@smithy/property-provider': 2.2.0 - '@smithy/smithy-client': 2.5.1 - '@smithy/types': 2.12.0 + '@smithy/config-resolver': 3.0.0 + '@smithy/credential-provider-imds': 3.0.0 + '@smithy/node-config-provider': 3.0.0 + '@smithy/property-provider': 3.0.0 + '@smithy/smithy-client': 3.0.1 + '@smithy/types': 3.0.0 tslib: 2.6.2 dev: true @@ -4388,6 +4607,15 @@ packages: '@smithy/types': 2.12.0 tslib: 2.6.2 + /@smithy/util-endpoints@2.0.0: + resolution: {integrity: sha512-+exaXzEY3DNt2qtA2OtRNSDlVrE4p32j1JSsQkzA5AdP0YtJNjkYbYhJxkFmPYcjI1abuwopOZCwUmv682QkiQ==} + engines: {node: '>=16.0.0'} + dependencies: + '@smithy/node-config-provider': 3.0.0 + '@smithy/types': 3.0.0 + tslib: 2.6.2 + dev: true + /@smithy/util-hex-encoding@1.1.0: resolution: {integrity: sha512-7UtIE9eH0u41zpB60Jzr0oNCQ3hMJUabMcKRUVjmyHTXiWDE4vjSqN6qlih7rCNeKGbioS7f/y2Jgym4QZcKFg==} engines: {node: '>=14.0.0'} @@ -4401,6 +4629,13 @@ packages: dependencies: tslib: 2.6.2 + /@smithy/util-hex-encoding@3.0.0: + resolution: {integrity: sha512-eFndh1WEK5YMUYvy3lPlVmYY/fZcQE1D8oSf41Id2vCeIkKJXPcYDCZD+4+xViI6b1XSd7tE+s5AmXzz5ilabQ==} + engines: {node: '>=16.0.0'} + dependencies: + tslib: 2.6.2 + dev: true + /@smithy/util-middleware@1.1.0: resolution: {integrity: sha512-6hhckcBqVgjWAqLy2vqlPZ3rfxLDhFWEmM7oLh2POGvsi7j0tHkbN7w4DFhuBExVJAbJ/qqxqZdRY6Fu7/OezQ==} engines: {node: '>=14.0.0'} @@ -4415,6 +4650,14 @@ packages: '@smithy/types': 2.12.0 tslib: 2.6.2 + /@smithy/util-middleware@3.0.0: + resolution: {integrity: sha512-q5ITdOnV2pXHSVDnKWrwgSNTDBAMHLptFE07ua/5Ty5WJ11bvr0vk2a7agu7qRhrCFRQlno5u3CneU5EELK+DQ==} + engines: {node: '>=16.0.0'} + dependencies: + '@smithy/types': 3.0.0 + tslib: 2.6.2 + dev: true + /@smithy/util-retry@1.1.0: resolution: {integrity: sha512-ygQW5HBqYXpR3ua09UciS0sL7UGJzGiktrKkOuEJwARoUuzz40yaEGU6xd9Gs7KBmAaFC8gMfnghHtwZ2nyBCQ==} engines: {node: '>= 14.0.0'} @@ -4431,6 +4674,15 @@ packages: '@smithy/types': 2.12.0 tslib: 2.6.2 + /@smithy/util-retry@3.0.0: + resolution: {integrity: sha512-nK99bvJiziGv/UOKJlDvFF45F00WgPLKVIGUfAK+mDhzVN2hb/S33uW2Tlhg5PVBoqY7tDVqL0zmu4OxAHgo9g==} + engines: {node: '>=16.0.0'} + dependencies: + '@smithy/service-error-classification': 3.0.0 + '@smithy/types': 3.0.0 + tslib: 2.6.2 + dev: true + /@smithy/util-stream@1.1.0: resolution: {integrity: sha512-w3lsdGsntaLQIrwDWJkIFKrFscgZXwU/oxsse09aSTNv5TckPhDeYea3LhsDrU5MGAG3vprhVZAKr33S45coVA==} engines: {node: '>=14.0.0'} @@ -4458,6 +4710,20 @@ packages: '@smithy/util-utf8': 2.3.0 tslib: 2.6.2 + /@smithy/util-stream@3.0.1: + resolution: {integrity: sha512-7F7VNNhAsfMRA8I986YdOY5fE0/T1/ZjFF6OLsqkvQVNP3vZ/szYDfGCyphb7ioA09r32K/0qbSFfNFU68aSzA==} + engines: {node: '>=16.0.0'} + dependencies: + '@smithy/fetch-http-handler': 3.0.1 + '@smithy/node-http-handler': 3.0.0 + '@smithy/types': 3.0.0 + '@smithy/util-base64': 3.0.0 + '@smithy/util-buffer-from': 3.0.0 + '@smithy/util-hex-encoding': 3.0.0 + '@smithy/util-utf8': 3.0.0 + tslib: 2.6.2 + dev: true + /@smithy/util-uri-escape@1.1.0: resolution: {integrity: sha512-/jL/V1xdVRt5XppwiaEU8Etp5WHZj609n0xMTuehmCqdoOFbId1M+aEeDWZsQ+8JbEB/BJ6ynY2SlYmOaKtt8w==} engines: {node: '>=14.0.0'} @@ -4471,6 +4737,13 @@ packages: dependencies: tslib: 2.6.2 + /@smithy/util-uri-escape@3.0.0: + resolution: {integrity: sha512-LqR7qYLgZTD7nWLBecUi4aqolw8Mhza9ArpNEQ881MJJIU2sE5iHCK6TdyqqzcDLy0OPe10IY4T8ctVdtynubg==} + engines: {node: '>=16.0.0'} + dependencies: + tslib: 2.6.2 + dev: true + /@smithy/util-utf8@1.1.0: resolution: {integrity: sha512-p/MYV+JmqmPyjdgyN2UxAeYDj9cBqCjp0C/NsTWnnjoZUVqoeZ6IrW915L9CAKWVECgv9lVQGc4u/yz26/bI1A==} engines: {node: '>=14.0.0'} @@ -4486,6 +4759,14 @@ packages: '@smithy/util-buffer-from': 2.2.0 tslib: 2.6.2 + /@smithy/util-utf8@3.0.0: + resolution: {integrity: sha512-rUeT12bxFnplYDe815GXbq/oixEGHfRFFtcTF3YdDi/JaENIM6aSYYLJydG83UNzLXeRI5K8abYd/8Sp/QM0kA==} + engines: {node: '>=16.0.0'} + dependencies: + '@smithy/util-buffer-from': 3.0.0 + tslib: 2.6.2 + dev: true + /@smithy/util-waiter@2.2.0: resolution: {integrity: sha512-IHk53BVw6MPMi2Gsn+hCng8rFA3ZmR3Rk7GllxDUW9qFJl/hiSvskn7XldkECapQVkIg/1dHpMAxI9xSTaLLSA==} engines: {node: '>=14.0.0'} @@ -10344,7 +10625,7 @@ packages: fsevents: 2.3.2 dev: true - /sst@2.36.6(@aws-sdk/credential-provider-node@3.572.0)(pg@8.11.3): + /sst@2.36.6(@aws-sdk/credential-provider-node@3.577.0)(pg@8.11.3): resolution: {integrity: sha512-N5LkreTzAKuQdph1TJVHa4EjR7R2Q571UJ+Jl6yk5/GDaRVgyBWhB4HxOmkOHghLHQu8SnGDPqnGCQJKilJPug==} hasBin: true peerDependencies: @@ -10370,7 +10651,7 @@ packages: '@aws-sdk/client-rds-data': 3.533.0 '@aws-sdk/client-s3': 3.534.0 '@aws-sdk/client-ssm': 3.533.0 - '@aws-sdk/client-sts': 3.533.0(@aws-sdk/credential-provider-node@3.572.0) + '@aws-sdk/client-sts': 3.533.0(@aws-sdk/credential-provider-node@3.577.0) '@aws-sdk/config-resolver': 3.374.0 '@aws-sdk/credential-providers': 3.533.0 '@aws-sdk/middleware-retry': 3.374.0 From 4e8f2b4550fbb2289c281c57bfa8bbf623616023 Mon Sep 17 00:00:00 2001 From: Minh Nguyen <64875104+MinhxNguyen7@users.noreply.github.com> Date: Mon, 20 May 2024 16:43:11 -0700 Subject: [PATCH 12/21] =?UTF-8?q?fix:=20=F0=9F=90=9B=20query=20from=20memb?= =?UTF-8?q?ers=20instead=20of=20users?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/availability/[slug]/+page.server.ts | 4 +++- src/routes/availability/[slug]/+page.svelte | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/routes/availability/[slug]/+page.server.ts b/src/routes/availability/[slug]/+page.server.ts index f8bccadd..8fc0091c 100644 --- a/src/routes/availability/[slug]/+page.server.ts +++ b/src/routes/availability/[slug]/+page.server.ts @@ -17,6 +17,7 @@ import { type MeetingDateSelectSchema, users, meetings, + members, } from "$lib/db/schema"; import type { ZotDate } from "$lib/utils/ZotDate"; @@ -65,7 +66,8 @@ async function getMeetingMemeberAvailabilities(meetingId: string) { .from(availabilities) .innerJoin(meetingDates, eq(availabilities.meeting_day, meetingDates.id)) .innerJoin(meetings, eq(meetingDates.meeting_id, meetings.id)) - .innerJoin(users, eq(availabilities.member_id, users.id)) + .innerJoin(members, eq(availabilities.member_id, members.id)) + .innerJoin(users, eq(members.id, users.id)) .where(eq(meetings.id, meetingId)); // Group availabilities by user diff --git a/src/routes/availability/[slug]/+page.svelte b/src/routes/availability/[slug]/+page.svelte index f33c752a..d5628efa 100644 --- a/src/routes/availability/[slug]/+page.svelte +++ b/src/routes/availability/[slug]/+page.svelte @@ -23,6 +23,7 @@ let currentTab: number = 0; onMount(() => { + console.log(data); // Set the group availability blocks from data loaded from the server const groupAvailabilitiesBlocks = avialabilityDatesToBlocks(data.groupAvailabilities); groupAvailabilities.set(groupAvailabilitiesBlocks); From c27a12079015386bc5e61c839e7bd0bbf18b9470 Mon Sep 17 00:00:00 2001 From: Sean Fong Date: Mon, 20 May 2024 17:46:34 -0700 Subject: [PATCH 13/21] =?UTF-8?q?fix:=20=F0=9F=90=9B=20convert=20group=20a?= =?UTF-8?q?vailability=20to=20boolean=20representation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../availability/GroupAvailability.svelte | 5 --- .../availability/PersonalAvailability.svelte | 17 ------- src/lib/stores/availabilityStores.ts | 44 +------------------ src/lib/types/availability.ts | 2 +- src/lib/utils/ZotDate.ts | 8 ++-- src/lib/utils/availability.ts | 2 +- src/routes/availability/[slug]/+page.svelte | 36 ++++++++++++--- 7 files changed, 39 insertions(+), 75 deletions(-) diff --git a/src/lib/components/availability/GroupAvailability.svelte b/src/lib/components/availability/GroupAvailability.svelte index e9356464..2e1a8b77 100644 --- a/src/lib/components/availability/GroupAvailability.svelte +++ b/src/lib/components/availability/GroupAvailability.svelte @@ -1,6 +1,4 @@
diff --git a/src/lib/stores/availabilityStores.ts b/src/lib/stores/availabilityStores.ts index 4aedf763..f8f62f1a 100644 --- a/src/lib/stores/availabilityStores.ts +++ b/src/lib/stores/availabilityStores.ts @@ -19,41 +19,9 @@ export const getTimeFromString = (timeString: string): number => { const earliestTime: number = getTimeFromHoursAndMinutes(8); const latestTime: number = getTimeFromHoursAndMinutes(17, 30); -const sampleMembers: MemberAvailability[] = [ - { - name: "Sean Fong", - availableBlocks: [[1], [2], [3, 4, 5], [], [], [], []], - }, - { - name: "Joe Biden", - availableBlocks: [[], [1, 2], [4, 5, 6, 22, 23, 24, 25, 26, 27, 28], [], [], [], []], - }, - { - name: "Chuck Norris", - availableBlocks: [ - [4, 5, 6, 7, 8, 9, 10, 11, 20, 21, 22, 23, 24], - [3, 4, 5, 6, 7], - [4, 5, 6], - [], - [], - [], - [], - ], - }, - { - name: "Dwayne the Rock", - availableBlocks: [[], [1, 2, 3, 4, 5], [4, 5, 6, 25, 26, 27, 28], [], [], [], []], - }, - { - name: "Kevin Hart", - availableBlocks: [[], [1, 2], [26, 27, 28, 29, 30, 31], [], [], [], []], - }, -]; - export const generateSampleDates = ( startTime: number = earliestTime, endTime: number = latestTime, - groupMembers: MemberAvailability[] = sampleMembers, ): ZotDate[] => { // Placeholder date array from Calendar component const selectedCalendarDates: ZotDate[] = [ @@ -68,12 +36,6 @@ export const generateSampleDates = ( ZotDate.initializeAvailabilities(selectedCalendarDates, startTime, endTime, BLOCK_LENGTH); - groupMembers.forEach(({ availableBlocks }, memberIndex) => { - availableBlocks.forEach((availableBlocks, dateIndex) => { - selectedCalendarDates[dateIndex].setGroupMemberAvailability(memberIndex, availableBlocks); - }); - }); - return selectedCalendarDates; }; @@ -89,11 +51,9 @@ export const generateTimeBlocks = (startTime: number, endTime: number): number[] }; const defaultTimeBlocks = generateTimeBlocks(earliestTime, latestTime); -export const availabilityDates = writable( - generateSampleDates(earliestTime, latestTime, sampleMembers), -); +export const availabilityDates = writable(generateSampleDates(earliestTime, latestTime)); export const availabilityTimeBlocks = writable(defaultTimeBlocks); -export const groupAvailabilities = writable(sampleMembers); +export const groupAvailabilities = writable([]); export const isEditingAvailability = writable(false); export const isStateUnsaved = writable(false); diff --git a/src/lib/types/availability.ts b/src/lib/types/availability.ts index 99c0fa3b..097c7454 100644 --- a/src/lib/types/availability.ts +++ b/src/lib/types/availability.ts @@ -15,7 +15,7 @@ export type SelectionStateType = { export interface MemberAvailability { name: string; - availableBlocks: number[][]; + availableBlocks: boolean[][]; } export interface LoginModalProps { diff --git a/src/lib/utils/ZotDate.ts b/src/lib/utils/ZotDate.ts index 8e0173db..eabd8ab3 100644 --- a/src/lib/utils/ZotDate.ts +++ b/src/lib/utils/ZotDate.ts @@ -355,7 +355,7 @@ export class ZotDate { * * e.g. A group member array: `['Sean', 'Collan', 'Joe']` * - * `setGroupMemberAvailability(1, [3, 4, 5])` will update availability time blocks 3 - 5 + * `setGroupMemberAvailability(1, [false, false, true, true, true])` will update availability time blocks 3 - 5 * to indicate Collan is available. * - if Sean was already available on block 3, block 3 will be changed from `[0]` to `[0, 1]`. * - if nobody was already available on block 4, block 4 will be changed from `null` to `[1]`. @@ -366,8 +366,10 @@ export class ZotDate { * @param memberIndex the index of a member in an array * @param availableBlocks an array of availability blocks to set that member's availability */ - setGroupMemberAvailability(memberIndex: number, availableBlocks: number[]): void { - availableBlocks.forEach((blockIndex) => { + setGroupMemberAvailability(memberIndex: number, availableBlocks: boolean[]): void { + availableBlocks.forEach((isAvailable, blockIndex) => { + if (!isAvailable) return; + if (!this.groupAvailability[blockIndex]) { this.groupAvailability[blockIndex] = [memberIndex]; } else { diff --git a/src/lib/utils/availability.ts b/src/lib/utils/availability.ts index a128e402..93beee7d 100644 --- a/src/lib/utils/availability.ts +++ b/src/lib/utils/availability.ts @@ -56,7 +56,7 @@ export const getGeneralAvailability = async (data: PageData, guestSession: Guest return null; }; -export function avialabilityDatesToBlocks( +export function availabilityDatesToBlocks( memberAvailabilities: Record, ): MemberAvailability[] { return Object.entries(memberAvailabilities).map(([name, availabilities]) => { diff --git a/src/routes/availability/[slug]/+page.svelte b/src/routes/availability/[slug]/+page.svelte index d5628efa..f303bab4 100644 --- a/src/routes/availability/[slug]/+page.svelte +++ b/src/routes/availability/[slug]/+page.svelte @@ -13,7 +13,8 @@ isEditingAvailability, isStateUnsaved, } from "$lib/stores/availabilityStores"; - import { avialabilityDatesToBlocks, getGeneralAvailability } from "$lib/utils/availability"; + import { ZotDate } from "$lib/utils/ZotDate"; + import { availabilityDatesToBlocks, getGeneralAvailability } from "$lib/utils/availability"; import { cn } from "$lib/utils/utils"; import CancelCircleOutline from "~icons/mdi/cancel-circle-outline"; import CheckboxMarkerdCircleOutlineIcon from "~icons/mdi/checkbox-marked-circle-outline"; @@ -22,11 +23,34 @@ let currentTab: number = 0; - onMount(() => { - console.log(data); - // Set the group availability blocks from data loaded from the server - const groupAvailabilitiesBlocks = avialabilityDatesToBlocks(data.groupAvailabilities); - groupAvailabilities.set(groupAvailabilitiesBlocks); + onMount(async () => { + console.log("on mount"); + if (data.meetingId) { + $guestSession.meetingId = data.meetingId; + } + + const generalAvailability = await getGeneralAvailability(data, $guestSession); + const defaultMeetingDates = data.defaultDates.map((item) => new ZotDate(item.date, false, [])); + ZotDate.initializeAvailabilities(defaultMeetingDates); + const groupAvailabilitiesBlocks = availabilityDatesToBlocks(data.groupAvailabilities); + + // Update stores + $availabilityDates = + generalAvailability && generalAvailability.length > 0 + ? generalAvailability + : defaultMeetingDates; + $groupAvailabilities = groupAvailabilitiesBlocks; + + console.log("before", $availabilityDates); + + // Combine every member's availability blocks into each ZotDate + $groupAvailabilities.forEach(({ availableBlocks }, memberIndex) => { + availableBlocks.forEach((blocks, dateIndex) => { + $availabilityDates[dateIndex].setGroupMemberAvailability(memberIndex, blocks); + }); + }); + + console.log("after", $availabilityDates); }); const handleSave = async (cancel: () => void) => { From 93f23d732fbc9012dbf017c9d35f22f7cb2e5245 Mon Sep 17 00:00:00 2001 From: Sean Fong Date: Mon, 20 May 2024 18:03:48 -0700 Subject: [PATCH 14/21] =?UTF-8?q?refactor:=20=E2=99=BB=EF=B8=8F=20clean=20?= =?UTF-8?q?up=20order=20of=20availability=20parsing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/availability/[slug]/+page.svelte | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/routes/availability/[slug]/+page.svelte b/src/routes/availability/[slug]/+page.svelte index f303bab4..c383ca1e 100644 --- a/src/routes/availability/[slug]/+page.svelte +++ b/src/routes/availability/[slug]/+page.svelte @@ -24,33 +24,31 @@ let currentTab: number = 0; onMount(async () => { - console.log("on mount"); if (data.meetingId) { $guestSession.meetingId = data.meetingId; } + // Parse personal availability data const generalAvailability = await getGeneralAvailability(data, $guestSession); + const defaultMeetingDates = data.defaultDates.map((item) => new ZotDate(item.date, false, [])); ZotDate.initializeAvailabilities(defaultMeetingDates); - const groupAvailabilitiesBlocks = availabilityDatesToBlocks(data.groupAvailabilities); - // Update stores $availabilityDates = generalAvailability && generalAvailability.length > 0 ? generalAvailability : defaultMeetingDates; - $groupAvailabilities = groupAvailabilitiesBlocks; - console.log("before", $availabilityDates); + // Parse group availability data + const groupAvailabilitiesBlocks = availabilityDatesToBlocks(data.groupAvailabilities); - // Combine every member's availability blocks into each ZotDate - $groupAvailabilities.forEach(({ availableBlocks }, memberIndex) => { + groupAvailabilitiesBlocks.forEach(({ availableBlocks }, memberIndex) => { availableBlocks.forEach((blocks, dateIndex) => { $availabilityDates[dateIndex].setGroupMemberAvailability(memberIndex, blocks); }); }); - console.log("after", $availabilityDates); + $groupAvailabilities = groupAvailabilitiesBlocks; }); const handleSave = async (cancel: () => void) => { From d2b501a0c5c6285d93a988e4f6bdb118501e9753 Mon Sep 17 00:00:00 2001 From: Sean Fong Date: Fri, 31 May 2024 13:52:53 -0700 Subject: [PATCH 15/21] =?UTF-8?q?fix:=20=F0=9F=90=9B=20update=20parsing=20?= =?UTF-8?q?of=20group=20availability=20blocks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/utils/availability.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/utils/availability.ts b/src/lib/utils/availability.ts index 2e561944..44752048 100644 --- a/src/lib/utils/availability.ts +++ b/src/lib/utils/availability.ts @@ -62,9 +62,9 @@ export function availabilityDatesToBlocks( return Object.entries(memberAvailabilities).map(([name, availabilities]) => { return { name, - availableBlocks: availabilities.map((availability) => - JSON.parse("[" + availability.availability_string + "]"), - ), + availableBlocks: availabilities.map((availability) => { + return availability.availability_string.split("").map((char) => char === "1"); + }), }; }); } From f6e3e19521dcbca737f73e46a2061765ac64d320 Mon Sep 17 00:00:00 2001 From: Sean Fong Date: Fri, 31 May 2024 13:58:15 -0700 Subject: [PATCH 16/21] =?UTF-8?q?refactor:=20=E2=99=BB=EF=B8=8F=20remove?= =?UTF-8?q?=20duplicate=20store=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/components/availability/PersonalAvailability.svelte | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib/components/availability/PersonalAvailability.svelte b/src/lib/components/availability/PersonalAvailability.svelte index d70b3cc9..09c2cb63 100644 --- a/src/lib/components/availability/PersonalAvailability.svelte +++ b/src/lib/components/availability/PersonalAvailability.svelte @@ -9,7 +9,6 @@ import { availabilityDates, availabilityTimeBlocks, - guestSession, isEditingAvailability, isStateUnsaved, } from "$lib/stores/availabilityStores"; @@ -153,8 +152,6 @@ } onMount(async () => { - $guestSession.meetingId = data.meetingId ?? ""; - lastPage = Math.floor(($availabilityDates.length - 1) / itemsPerPage); }); From 9472a729c3b23863da8fcf4336816dcfffadb041 Mon Sep 17 00:00:00 2001 From: Sean Fong Date: Fri, 31 May 2024 14:52:25 -0700 Subject: [PATCH 17/21] =?UTF-8?q?feat:=20=E2=9C=A8=20add=20local=20update?= =?UTF-8?q?=20to=20load=20data=20after=20save=20form=20action=20is=20calle?= =?UTF-8?q?d?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/availability/[slug]/+page.svelte | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/routes/availability/[slug]/+page.svelte b/src/routes/availability/[slug]/+page.svelte index 6b2f59fc..e9d6aee1 100644 --- a/src/routes/availability/[slug]/+page.svelte +++ b/src/routes/availability/[slug]/+page.svelte @@ -28,7 +28,7 @@ let currentTab: number = 0; - onMount(async () => { + const loadData = async () => { if (data.meetingId) { $guestSession.meetingId = data.meetingId; } @@ -54,7 +54,7 @@ }); $groupAvailabilities = groupAvailabilitiesBlocks; - }); + }; const handleSave = async (cancel: () => void) => { if (data.user) { @@ -83,6 +83,9 @@ let innerWidth = 0; $: mobileView = innerWidth < 768; + $: if (data) { + loadData(); + } let form: HTMLFormElement; From 40b6357cd819925d02d68005e235e75042f208f1 Mon Sep 17 00:00:00 2001 From: Sean Fong Date: Mon, 3 Jun 2024 16:00:59 -0700 Subject: [PATCH 18/21] =?UTF-8?q?fix:=20=F0=9F=90=9B=20separate=20reactive?= =?UTF-8?q?=20logic=20for=20personal=20and=20group=20availability?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/utils/ZotDate.ts | 7 ++ src/routes/availability/[slug]/+page.svelte | 80 +++++++++++---------- 2 files changed, 51 insertions(+), 36 deletions(-) diff --git a/src/lib/utils/ZotDate.ts b/src/lib/utils/ZotDate.ts index eabd8ab3..67a33300 100644 --- a/src/lib/utils/ZotDate.ts +++ b/src/lib/utils/ZotDate.ts @@ -378,6 +378,13 @@ export class ZotDate { }); } + /** + * Resets the group availability array + */ + resetGroupAvailability(): void { + this.groupAvailability = []; + } + /** * Gets the group availability block based on the block index * @param index index of the availability block diff --git a/src/routes/availability/[slug]/+page.svelte b/src/routes/availability/[slug]/+page.svelte index e9d6aee1..08844078 100644 --- a/src/routes/availability/[slug]/+page.svelte +++ b/src/routes/availability/[slug]/+page.svelte @@ -28,12 +28,36 @@ let currentTab: number = 0; - const loadData = async () => { + const handleSave = async (cancel: () => void) => { + if (data.user) { + return; + } + + if ($guestSession.guestName && $guestSession.meetingId) { + return; + } + + const authModal = document.getElementById("auth-modal") as HTMLDialogElement; + if (authModal) { + authModal.showModal(); + } + + cancel(); // Prevent the form action, handle with LoginModal instead + }; + + const handleCancel = async () => { + $availabilityDates = + (await getGeneralAvailability(data, $guestSession)) ?? generateSampleDates(); + + $isEditingAvailability = !$isEditingAvailability; + $isStateUnsaved = false; + }; + + const updatePersonalAvailability = async () => { if (data.meetingId) { $guestSession.meetingId = data.meetingId; } - // Parse personal availability data const generalAvailability = await getGeneralAvailability(data, $guestSession); const defaultMeetingDates = data.defaultDates.map((item) => new ZotDate(item.date, false, [])); @@ -43,10 +67,13 @@ generalAvailability && generalAvailability.length > 0 ? generalAvailability : defaultMeetingDates; + }; - // Parse group availability data + const updateGroupAvailability = () => { const groupAvailabilitiesBlocks = availabilityDatesToBlocks(data.groupAvailabilities); + $availabilityDates.forEach((date) => date.resetGroupAvailability()); + groupAvailabilitiesBlocks.forEach(({ availableBlocks }, memberIndex) => { availableBlocks.forEach((blocks, dateIndex) => { $availabilityDates[dateIndex].setGroupMemberAvailability(memberIndex, blocks); @@ -56,50 +83,31 @@ $groupAvailabilities = groupAvailabilitiesBlocks; }; - const handleSave = async (cancel: () => void) => { - if (data.user) { - return; - } + let innerWidth = 0; + let form: HTMLFormElement; - if ($guestSession.guestName && $guestSession.meetingId) { - return; - } + $: mobileView = innerWidth < 768; - const authModal = document.getElementById("auth-modal") as HTMLDialogElement; - if (authModal) { - authModal.showModal(); + $: { + if (data) { + updateGroupAvailability(); } - - cancel(); // Prevent the form action, handle with LoginModal instead - }; - - const handleCancel = async () => { - $availabilityDates = - (await getGeneralAvailability(data, $guestSession)) ?? generateSampleDates(); - - $isEditingAvailability = !$isEditingAvailability; - $isStateUnsaved = false; - }; - - let innerWidth = 0; - $: mobileView = innerWidth < 768; - $: if (data) { - loadData(); } - let form: HTMLFormElement; - - onMount(async () => { - $startTime = data.meetingData.from_time as HourMinuteString; - $endTime = data.meetingData.to_time as HourMinuteString; - }); - $: availabilityTimeBlocks.set( generateTimeBlocks( getTimeFromHourMinuteString($startTime), getTimeFromHourMinuteString($endTime), ), ); + + onMount(async () => { + $startTime = data.meetingData.from_time as HourMinuteString; + $endTime = data.meetingData.to_time as HourMinuteString; + + await updatePersonalAvailability(); + updateGroupAvailability(); + }); From 9a5b1d32034be3330626e996ad532cc10e0974f6 Mon Sep 17 00:00:00 2001 From: Sean Fong Date: Fri, 7 Jun 2024 14:44:20 -0700 Subject: [PATCH 19/21] =?UTF-8?q?chore:=20=F0=9F=94=A7=20remove=20duplicat?= =?UTF-8?q?e=20test=20meeting=20creation=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/api/create-meeting/+server.ts | 38 ------------------------ 1 file changed, 38 deletions(-) delete mode 100644 src/routes/api/create-meeting/+server.ts diff --git a/src/routes/api/create-meeting/+server.ts b/src/routes/api/create-meeting/+server.ts deleted file mode 100644 index 75a10410..00000000 --- a/src/routes/api/create-meeting/+server.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { json } from "@sveltejs/kit"; - -import type { RequestHandler } from "./$types"; - -import { db } from "$lib/db/drizzle"; -import { meetings } from "$lib/db/schema"; -import type { MeetingCreationPayload } from "$lib/types/meetings"; - -type NewMeeting = typeof meetings.$inferInsert; - -export const POST: RequestHandler = async ({ request }) => { - const meetingCreationPayload: MeetingCreationPayload = await request.json(); - - await insertNewMeeting(meetingCreationPayload); - - return json("hellos"); -}; - -const insertNewMeeting = async (meetingCreationPayload: MeetingCreationPayload) => { - const { name, startTime, endTime } = meetingCreationPayload; - - // TODO: remove yy/mm/dd from starttime and endtime - - const newMeeting: NewMeeting = { - title: name, - from_time: new Date(), - to_time: new Date(), - scheduled: false, - }; - - const newMeetingID = await insertNewMeetingEntry(newMeeting); - - console.log(startTime, endTime, newMeetingID); -}; - -const insertNewMeetingEntry = async (newMeeting: NewMeeting) => { - return await db.insert(meetings).values(newMeeting).returning({ insertedID: meetings.id }); -}; From add4eded935304cd3dfa61188b91df88c6d792e7 Mon Sep 17 00:00:00 2001 From: Sean Fong Date: Fri, 7 Jun 2024 14:49:07 -0700 Subject: [PATCH 20/21] =?UTF-8?q?fix:=20=F0=9F=90=9B=20resolve=20typos=20a?= =?UTF-8?q?nd=20types?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/availability/[slug]/+page.server.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/routes/availability/[slug]/+page.server.ts b/src/routes/availability/[slug]/+page.server.ts index c67fac9c..afe81fd0 100644 --- a/src/routes/availability/[slug]/+page.server.ts +++ b/src/routes/availability/[slug]/+page.server.ts @@ -24,14 +24,14 @@ import type { ZotDate } from "$lib/utils/ZotDate"; export const load: PageServerLoad = (async ({ locals, params }) => { const user = locals.user; // @ts-expect-error slug is defined in the route - const meeting_id: string = params?.slug; + const meeting_id: string = params?.slug ?? ""; // TODO: If no slug is in the URL (i.e. no meeting ID), we should redirect to an error page return { form: await superValidate(_loginSchema), availability: user ? await getUserSpecificAvailability(user, meeting_id) : null, - groupAvailabilities: await getMeetingMemeberAvailabilities(meeting_id), + groupAvailabilities: await getMeetingMemberAvailabilities(meeting_id), meetingId: meeting_id as string | undefined, meetingData: await getExistingMeeting(meeting_id), defaultDates: (await _getMeetingDates(meeting_id)) ?? [], @@ -59,7 +59,7 @@ const getUserSpecificAvailability = async ( * @param meetingId * @returns a record of the member name to their availabilities, each sorted by date */ -async function getMeetingMemeberAvailabilities(meetingId: string) { +async function getMeetingMemberAvailabilities(meetingId: string) { const raw_availabilities = await db .select({ username: users.displayName, From ca7d74dfdc429c23467688c4ca524843d3e0a879 Mon Sep 17 00:00:00 2001 From: Sean Fong Date: Fri, 7 Jun 2024 14:50:15 -0700 Subject: [PATCH 21/21] =?UTF-8?q?refactor:=20=E2=99=BB=EF=B8=8F=20remove?= =?UTF-8?q?=20ts-expect-error=20for=20availability=20page=20load?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/availability/[slug]/+page.server.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/routes/availability/[slug]/+page.server.ts b/src/routes/availability/[slug]/+page.server.ts index afe81fd0..81aab43f 100644 --- a/src/routes/availability/[slug]/+page.server.ts +++ b/src/routes/availability/[slug]/+page.server.ts @@ -23,7 +23,6 @@ import type { ZotDate } from "$lib/utils/ZotDate"; export const load: PageServerLoad = (async ({ locals, params }) => { const user = locals.user; - // @ts-expect-error slug is defined in the route const meeting_id: string = params?.slug ?? ""; // TODO: If no slug is in the URL (i.e. no meeting ID), we should redirect to an error page