diff --git a/docs/oas/registration-query.yaml b/docs/oas/registration-query.yaml index cd99f2adb..5bd403227 100644 --- a/docs/oas/registration-query.yaml +++ b/docs/oas/registration-query.yaml @@ -84,7 +84,7 @@ paths: registrationType: HOST status: ACTIVE startDate: '2026-01-15T00:00:00Z' - expiryDate: '2027-01-15T00:00:00Z' + expiryDate: '2027-01-14T23:59:59Z' updatedDate: '2026-09-07T18:42:11.203000Z' cancelledDate: null primaryContact: @@ -189,7 +189,7 @@ paths: registrationType: PLATFORM status: ACTIVE startDate: '2026-02-01T00:00:00Z' - expiryDate: '2027-02-01T00:00:00Z' + expiryDate: '2027-01-31T23:59:59Z' updatedDate: '2026-09-08T10:15:30.123000Z' cancelledDate: null businessDetails: @@ -240,7 +240,7 @@ paths: registrationType: STRATA_HOTEL status: ACTIVE startDate: '2026-03-01T00:00:00Z' - expiryDate: '2027-03-01T00:00:00Z' + expiryDate: '2027-02-28T23:59:59Z' updatedDate: '2026-09-09T14:22:45.542000Z' cancelledDate: null businessDetails: @@ -482,8 +482,11 @@ components: expiryDate: type: string format: date-time - description: Expiry timestamp of the registration. - example: '2027-01-15T00:00:00Z' + description: >- + End of the registration's expiry day, as stored: 23:59:59 UTC on the expiry date (4:59:59 pm + Pacific). Compare dates, not times. To tell whether a registration is valid, use `status`: it + stays ACTIVE until the registration is marked EXPIRED, after the expiry day has ended. + example: '2027-01-14T23:59:59Z' updatedDate: type: string format: date-time @@ -890,8 +893,11 @@ components: expiryDate: type: string format: date-time - description: Expiry timestamp of the registration. - example: '2027-02-01T00:00:00Z' + description: >- + End of the registration's expiry day, as stored: 23:59:59 UTC on the expiry date (4:59:59 pm + Pacific). Compare dates, not times. To tell whether a registration is valid, use `status`: it + stays ACTIVE until the registration is marked EXPIRED, after the expiry day has ended. + example: '2027-01-31T23:59:59Z' updatedDate: type: string format: date-time @@ -1032,8 +1038,11 @@ components: expiryDate: type: string format: date-time - description: Expiry timestamp of the registration. - example: '2027-03-01T00:00:00Z' + description: >- + End of the registration's expiry day, as stored: 23:59:59 UTC on the expiry date (4:59:59 pm + Pacific). Compare dates, not times. To tell whether a registration is valid, use `status`: it + stays ACTIVE until the registration is marked EXPIRED, after the expiry day has ended. + example: '2027-02-28T23:59:59Z' updatedDate: type: string format: date-time diff --git a/queue_services/strr-email/pyproject.toml b/queue_services/strr-email/pyproject.toml index edd3bf1fb..285f8d0c8 100644 --- a/queue_services/strr-email/pyproject.toml +++ b/queue_services/strr-email/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "strr-email" -version = "1.2.8" +version = "1.2.9" description = "BC Registries - strr-email" authors = [] license = "BSD-3-Clause" diff --git a/queue_services/strr-email/src/strr_email/resources/email_listener.py b/queue_services/strr-email/src/strr_email/resources/email_listener.py index cb4f193b4..2db91c55f 100644 --- a/queue_services/strr-email/src/strr_email/resources/email_listener.py +++ b/queue_services/strr-email/src/strr_email/resources/email_listener.py @@ -39,6 +39,7 @@ from pathlib import Path import re import traceback +from typing import Any from urllib.parse import urlencode from zoneinfo import ZoneInfo diff --git a/strr-api/pyproject.toml b/strr-api/pyproject.toml index ed04ac141..102c71901 100644 --- a/strr-api/pyproject.toml +++ b/strr-api/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "strr-api" -version = "0.3.48" +version = "0.3.49" description = "" authors = ["thorwolpert "] license = "BSD 3-Clause" diff --git a/strr-api/src/strr_api/enums/enum.py b/strr-api/src/strr_api/enums/enum.py index fcc7599e7..df4c5985e 100644 --- a/strr-api/src/strr_api/enums/enum.py +++ b/strr-api/src/strr_api/enums/enum.py @@ -211,6 +211,8 @@ class ErrorMessage(Enum): "Continue with your existing renewal application, or wait until it reaches a final decision." ) RENEWAL_APPLICATION_NO_REGISTRATION_ID = "Renewal application does not have a linked registration id." + RENEWAL_WINDOW_NOT_OPEN = "The renewal period for this registration has not started yet." + RENEWAL_WINDOW_CLOSED = "The renewal period for this registration has ended." EXAMINER_NOTE_TEXT_REQUIRED = "Note text is required." EXAMINER_NOTE_TEXT_TOO_LONG = "Note text exceeds maximum length." EXAMINER_NOTE_APPLICATION_REGISTERED = ( diff --git a/strr-api/src/strr_api/resources/application.py b/strr-api/src/strr_api/resources/application.py index 0b89f1d23..1ed4eb2d9 100644 --- a/strr-api/src/strr_api/resources/application.py +++ b/strr-api/src/strr_api/resources/application.py @@ -81,6 +81,7 @@ APPLICATION_UNPAID_STATES, ) from strr_api.services.examiner_note_service import ExaminerNoteNotAllowedException, ExaminerNoteService +from strr_api.utils.renewal_window import RenewalWindow from strr_api.validators.DocumentUploadValidator import limit_document_upload_size, validate_document_upload from strr_api.validators.RegistrationRequestValidator import validate_request @@ -132,7 +133,11 @@ def create_application(application_number: Optional[str] = None): 200: description: Application created or updated; JSON body is serialized application. 400: - description: Validation or business rule failure (e.g. missing registrationId for renewal). + description: > + Validation or business rule failure (e.g. missing registrationId for renewal, or a renewal created + or submitted before its renewal period starts, errorCode RENEWAL_WINDOW_NOT_OPEN, where a new renewal is + refused even as a draft; or a renewal created or submitted after its renewal period ends, errorCode + RENEWAL_WINDOW_CLOSED, likewise even as a draft). 401: description: Unauthorized. 404: @@ -186,7 +191,9 @@ def create_application(application_number: Optional[str] = None): http_status=HTTPStatus.BAD_REQUEST, ) - if request.method == "PUT" and existing_registration_id != registration_id: + # An existing application must already be a renewal of this registration, whether it's saved by PUT or + # POST; otherwise a regular draft could be turned into a renewal past the window and in-progress checks + if application is not None and existing_registration_id != registration_id: return error_response( message=ErrorMessage.REGISTRATION_ID_MISMATCH.value, http_status=HTTPStatus.BAD_REQUEST, @@ -204,6 +211,23 @@ def create_application(application_number: Optional[str] = None): http_status=HTTPStatus.BAD_REQUEST, ) + renewal_window = RenewalWindow.for_registration(registration) + # A new renewal can't be started before its window opens, even as a draft; an existing draft can't be + # submitted before then either + if renewal_window.is_not_yet_open and (application is None or not is_draft): + return error_response( + message=ErrorMessage.RENEWAL_WINDOW_NOT_OPEN.value, + http_status=HTTPStatus.BAD_REQUEST, + error_code="RENEWAL_WINDOW_NOT_OPEN", + ) + # The same applies after the window closes + if renewal_window.is_closed and (application is None or not is_draft): + return error_response( + message=ErrorMessage.RENEWAL_WINDOW_CLOSED.value, + http_status=HTTPStatus.BAD_REQUEST, + error_code="RENEWAL_WINDOW_CLOSED", + ) + if application is None: terminal_status_values = tuple(s.value for s in APPLICATION_TERMINAL_STATES) conflicting = ApplicationModel.find_non_terminal_renewal_for_payment_account( diff --git a/strr-api/src/strr_api/resources/registrations.py b/strr-api/src/strr_api/resources/registrations.py index 3ea6167f9..c2b7aa1ec 100644 --- a/strr-api/src/strr_api/resources/registrations.py +++ b/strr-api/src/strr_api/resources/registrations.py @@ -39,11 +39,9 @@ import logging import traceback -from datetime import datetime, timedelta from http import HTTPStatus from io import BytesIO -from dateutil.relativedelta import relativedelta from flasgger import swag_from from flask import Blueprint, current_app, g, jsonify, request, send_file from flask_cors import cross_origin @@ -83,18 +81,13 @@ REGISTRATION_STATES_STAFF_ACTION, REGISTRATION_STATES_STAFF_ASSIGNABLE, ) +from strr_api.utils.renewal_window import RenewalWindow from strr_api.utils.user_context import UserContext from strr_api.validators.DocumentUploadValidator import limit_document_upload_size, validate_document_upload logger = logging.getLogger("api") bp = Blueprint("registrations", __name__) -# Days before expiry when renewal todos should appear -DAYS_BEFORE_EXPIRY_BY_TYPE = { - RegistrationType.STRATA_HOTEL.value: 60, - RegistrationType.HOST.value: 40, - RegistrationType.PLATFORM.value: 40, -} VALID_REGISTRATION_SORT_FIELDS = ["id", "registration_number", "start_date", "expiry_date", "status"] @@ -706,22 +699,13 @@ def get_todos(registration_id): raise AuthException() todos = [] + renewal_window = RenewalWindow.for_registration(registration) if registration.noc_status == RegistrationNocStatus.NOC_PENDING: todos.append({"task": {"type": "NOC_PENDING"}}) if registration.status in [RegistrationStatus.ACTIVE, RegistrationStatus.EXPIRED]: - # Get the current time in UTC - current_time_utc = datetime.utcnow() - registration_expiry_datetime = registration.expiry_date - - # Window in which todos should appear - days_before_expiry = DAYS_BEFORE_EXPIRY_BY_TYPE.get(registration.registration_type, 40) - threshold_datetime_start = registration_expiry_datetime - timedelta(days=days_before_expiry) - threshold_datetime_end = registration_expiry_datetime + relativedelta(years=3) - recent_submission_threshold = current_time_utc - relativedelta(years=1) + timedelta(days=days_before_expiry) - - if threshold_datetime_start.date() <= current_time_utc.date() <= threshold_datetime_end.date(): + if renewal_window.is_open: renewal_application = ( Application.query.filter( Application.registration_id == registration.id, @@ -736,25 +720,15 @@ def get_todos(registration_id): ) if renewal_application: - if renewal_application.status == Application.Status.PAYMENT_DUE.value: - todos.append( - { - "task": { - "type": "REGISTRATION_RENEWAL_PAYMENT_PENDING", - "detail": renewal_application.application_number, - } - } - ) - else: - todos.append( - { - "task": { - "type": "REGISTRATION_RENEWAL_DRAFT", - "detail": renewal_application.application_number, - } - } - ) + is_payment_due = renewal_application.status == Application.Status.PAYMENT_DUE.value + todo_type = ( + "REGISTRATION_RENEWAL_PAYMENT_PENDING" if is_payment_due else "REGISTRATION_RENEWAL_DRAFT" + ) + todos.append({"task": {"type": todo_type, "detail": renewal_application.application_number}}) else: + # Renew is hidden once a renewal has been submitted in this window. A declined renewal doesn't + # count, so the host can renew again; create_application's 409 check also accepts a new renewal + # after a declined one, because APPLICATION_TERMINAL_STATES includes both declined statuses. submitted_renewal_application = ( Application.query.filter( Application.registration_id == registration.id, @@ -763,9 +737,11 @@ def get_todos(registration_id): [ Application.Status.DRAFT.value, Application.Status.PAYMENT_DUE.value, + Application.Status.DECLINED.value, + Application.Status.PROVISIONALLY_DECLINED.value, ] ), - Application.application_date >= recent_submission_threshold, + Application.application_date >= renewal_window.start_utc, ) .order_by(Application.application_date.desc()) .first() @@ -774,7 +750,13 @@ def get_todos(registration_id): if not submitted_renewal_application: todos.append({"task": {"type": "REGISTRATION_RENEWAL"}}) - return {"todos": todos}, HTTPStatus.OK + return { + "todos": todos, + "renewalWindow": { + "startDate": renewal_window.start_date.isoformat(), + "hasStarted": not renewal_window.is_not_yet_open, + }, + }, HTTPStatus.OK except AuthException as auth_exception: return exception_response(auth_exception) except Exception as exception: diff --git a/strr-api/src/strr_api/utils/renewal_window.py b/strr-api/src/strr_api/utils/renewal_window.py new file mode 100644 index 000000000..ea2520da6 --- /dev/null +++ b/strr-api/src/strr_api/utils/renewal_window.py @@ -0,0 +1,91 @@ +# Copyright © 2024 Province of British Columbia +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +"""Renewal window rules. + +Registration dates are stored as UTC. The renewal window opens at the beginning of the day, Vancouver time. +""" + +from dataclasses import dataclass +from datetime import date, datetime, time, timedelta, timezone +from zoneinfo import ZoneInfo + +from dateutil.relativedelta import relativedelta + +from strr_api.enums.enum import RegistrationType +from strr_api.utils.date_util import DateUtil + +DEFAULT_DAYS_BEFORE_EXPIRY = 40 +DAYS_BEFORE_EXPIRY_BY_TYPE = { + RegistrationType.STRATA_HOTEL.value: 60, + RegistrationType.HOST.value: 40, + RegistrationType.PLATFORM.value: 40, +} +YEARS_AFTER_EXPIRY = 3 + + +def get_days_before_expiry(registration_type: str | RegistrationType) -> int: + """Return how many days before expiry the renewal window opens for the registration type.""" + type_value = registration_type.value if isinstance(registration_type, RegistrationType) else registration_type + return DAYS_BEFORE_EXPIRY_BY_TYPE.get(type_value, DEFAULT_DAYS_BEFORE_EXPIRY) + + +@dataclass(frozen=True) +class RenewalWindow: + """Renewal window of a registration. The dates are Vancouver calendar dates, and the end date is inclusive.""" + + start_date: date + end_date: date + + @classmethod + def for_registration(cls, registration) -> "RenewalWindow": + """Return the renewal window for the registration.""" + expiry = registration.expiry_date + if expiry.tzinfo is None: + expiry = expiry.replace(tzinfo=timezone.utc) + expiry_date = DateUtil.as_legislation_timezone(expiry).date() + return cls( + start_date=expiry_date - timedelta(days=get_days_before_expiry(registration.registration_type)), + end_date=expiry_date + relativedelta(years=YEARS_AFTER_EXPIRY), + ) + + @staticmethod + def _beginning_of_day_utc(day: date) -> datetime: + """Return the UTC instant at which the given Vancouver date begins.""" + tz = ZoneInfo(DateUtil.LEGISLATIVE_TIMEZONE) + return datetime.combine(day, time.min, tzinfo=tz).astimezone(timezone.utc) + + @property + def start_utc(self) -> datetime: + """Return the instant the window opens.""" + return self._beginning_of_day_utc(self.start_date) + + @property + def end_utc(self) -> datetime: + """Return the instant the window closes (exclusive).""" + return self._beginning_of_day_utc(self.end_date + timedelta(days=1)) + + @property + def is_not_yet_open(self) -> bool: + """Return True if the window has not opened yet.""" + return datetime.now(timezone.utc) < self.start_utc + + @property + def is_closed(self) -> bool: + """Return True if the window has ended.""" + return datetime.now(timezone.utc) >= self.end_utc + + @property + def is_open(self) -> bool: + """Return True if now is within the window.""" + return not self.is_not_yet_open and not self.is_closed diff --git a/strr-api/tests/conftest.py b/strr-api/tests/conftest.py index 8141b167c..efabcbfc3 100644 --- a/strr-api/tests/conftest.py +++ b/strr-api/tests/conftest.py @@ -52,6 +52,7 @@ from strr_api import db as _db from strr_api.config import Testing +from strr_api.utils.renewal_window import RenewalWindow @contextmanager @@ -139,3 +140,9 @@ def remove(self): transaction.rollback() connection.close() _db.session = original_session_lookup + + +@pytest.fixture +def renewal_window_open(monkeypatch): + """Let renewals be submitted regardless of the registration expiry date.""" + monkeypatch.setattr(RenewalWindow, "is_not_yet_open", property(lambda self: False)) diff --git a/strr-api/tests/integration/resources/test_applications_api.py b/strr-api/tests/integration/resources/test_applications_api.py index a90624861..196af2d1f 100644 --- a/strr-api/tests/integration/resources/test_applications_api.py +++ b/strr-api/tests/integration/resources/test_applications_api.py @@ -308,6 +308,7 @@ def test_post_draft_application_with_is_draft_does_not_call_invoice( assert body["header"]["applicationNumber"] == num +@pytest.mark.usefixtures("renewal_window_open") def test_post_second_renewal_without_path_returns_conflict_when_seeded_non_terminal_exists( client, session, @@ -346,6 +347,7 @@ def test_post_second_renewal_without_path_returns_conflict_when_seeded_non_termi @pytest.mark.parametrize("is_draft", ["true", "false"]) @patch("strr_api.services.strr_pay.create_invoice") +@pytest.mark.usefixtures("renewal_window_open") def test_post_second_renewal_conflict_for_draft_and_final_attempt( mock_invoice, client, @@ -387,6 +389,7 @@ def test_post_second_renewal_conflict_for_draft_and_final_attempt( ) +@pytest.mark.usefixtures("renewal_window_open") def test_put_renewal_draft_succeeds_after_duplicate_post_returns_conflict( client, session, @@ -419,6 +422,7 @@ def test_put_renewal_draft_succeeds_after_duplicate_post_returns_conflict( assert rv_put.get_json()["header"]["applicationNumber"] == existing_num +@pytest.mark.usefixtures("renewal_window_open") def test_post_renewal_succeeds_when_prior_renewal_on_same_registration_is_terminal( client, session, @@ -451,6 +455,7 @@ def test_post_renewal_succeeds_when_prior_renewal_on_same_registration_is_termin ) +@pytest.mark.usefixtures("renewal_window_open") def test_post_renewal_for_different_registration_succeeds_when_first_registration_has_open_renewal( client, session, @@ -514,6 +519,7 @@ def test_put_renewal_draft_registration_id_mismatch_returns_bad_request( assert ErrorMessage.REGISTRATION_ID_MISMATCH.value in (err.get("message") or "") +@pytest.mark.usefixtures("renewal_window_open") @patch("strr_api.services.strr_pay.create_invoice") @pytest.mark.slow def test_put_renewal_draft_final_submit_with_invoice_mock( diff --git a/strr-api/tests/integration/resources/test_renewal_lifecycle_api.py b/strr-api/tests/integration/resources/test_renewal_lifecycle_api.py index 2f4f90344..416b56d04 100644 --- a/strr-api/tests/integration/resources/test_renewal_lifecycle_api.py +++ b/strr-api/tests/integration/resources/test_renewal_lifecycle_api.py @@ -37,6 +37,8 @@ ) from tests.unit.utils.auth_helpers import PUBLIC_USER, STRR_EXAMINER, create_header +pytestmark = pytest.mark.usefixtures("renewal_window_open") + @pytest.fixture def mock_invoice(): diff --git a/strr-api/tests/unit/resources/conftest.py b/strr-api/tests/unit/resources/conftest.py index 5c75356f5..eff1823e8 100644 --- a/strr-api/tests/unit/resources/conftest.py +++ b/strr-api/tests/unit/resources/conftest.py @@ -1,16 +1,24 @@ """Shared fixtures and constants for resource-level integration tests.""" +import random +from datetime import datetime, timedelta, timezone from unittest.mock import patch import pytest +from strr_api.enums.enum import ApplicationType, RegistrationStatus +from strr_api.models import Application, Registration, User from tests.shared_test_constants import ACCOUNT_ID, MOCK_INVOICE_RESPONSE, MOCK_PAYMENT_COMPLETED_RESPONSE +from tests.unit.utils.auth_helpers import PUBLIC_USER, create_header __all__ = [ "ACCOUNT_ID", "MOCK_INVOICE_RESPONSE", "MOCK_PAYMENT_COMPLETED_RESPONSE", "mock_create_invoice", + "renewal_headers", + "make_registration", + "make_renewal", ] @@ -19,3 +27,63 @@ def mock_create_invoice(): """Patch strr_pay.create_invoice for the duration of a test.""" with patch("strr_api.services.strr_pay.create_invoice", return_value=MOCK_INVOICE_RESPONSE) as m: yield m + + +@pytest.fixture +def renewal_headers(jwt): + """Public user headers for the test account.""" + headers = create_header(jwt, [PUBLIC_USER], "Account-Id") + headers["Account-Id"] = ACCOUNT_ID + return headers + + +@pytest.fixture +def make_registration(session): + """Return a function that saves an active registration expiring the given number of days from now.""" + + def _make(days_to_expiry, registration_type="HOST"): + user = User( + username="testUser", + firstname="Test", + lastname="User", + iss="test", + sub=f"sub{random.randint(0, 999999)}", + idp_userid="testUserID", + login_source="testLogin", + ) + user.save() + expiry = datetime.now(timezone.utc).replace(tzinfo=None) + timedelta(days=days_to_expiry) + registration = Registration( + start_date=expiry - timedelta(days=364), + expiry_date=expiry, + status=RegistrationStatus.ACTIVE, + registration_type=registration_type, + sbc_account_id=ACCOUNT_ID, + registration_number=f"H{random.randint(100000000, 999999999)}", + user_id=user.id, + ) + registration.save() + return registration + + return _make + + +@pytest.fixture +def make_renewal(session): + """Return a function that saves a renewal application for a registration, with the given status.""" + + def _make(registration, status, header=None): + application = Application( + application_json={"header": header or {}, "registration": {}}, + application_number=str(random.randint(10**13, 10**14 - 1)), + type=ApplicationType.RENEWAL.value, + registration_type="HOST", + status=status, + registration_id=registration.id, + payment_account=str(ACCOUNT_ID), + application_date=datetime.now(timezone.utc), + ) + application.save() + return application + + return _make diff --git a/strr-api/tests/unit/resources/test_renewal_applications.py b/strr-api/tests/unit/resources/test_renewal_applications.py index c9c3456af..32c468190 100644 --- a/strr-api/tests/unit/resources/test_renewal_applications.py +++ b/strr-api/tests/unit/resources/test_renewal_applications.py @@ -39,6 +39,9 @@ ) +pytestmark = pytest.mark.usefixtures("renewal_window_open") + + @pytest.mark.parametrize( "request_json, isUnitOnPrincipalResidence", [ diff --git a/strr-api/tests/unit/resources/test_renewal_todos_api.py b/strr-api/tests/unit/resources/test_renewal_todos_api.py new file mode 100644 index 000000000..513f6081b --- /dev/null +++ b/strr-api/tests/unit/resources/test_renewal_todos_api.py @@ -0,0 +1,55 @@ +"""Renewal to-dos in /todos, before and inside the renewal window.""" + +from datetime import timedelta + +import pytest + +from strr_api.models import Application +from strr_api.utils.renewal_window import RenewalWindow + + +@pytest.mark.parametrize("status", [Application.Status.DRAFT, Application.Status.PAYMENT_DUE]) +def test_todos_before_window_have_no_renewal(client, renewal_headers, make_registration, make_renewal, status): + registration = make_registration(200) + make_renewal(registration, status) + + rv = client.get(f"/registrations/{registration.id}/todos", headers=renewal_headers) + + assert rv.json["todos"] == [] + assert rv.json["renewalWindow"] == { + "startDate": RenewalWindow.for_registration(registration).start_date.isoformat(), + "hasStarted": False, + } + + +def test_todos_window_is_open(client, renewal_headers, make_registration): + registration = make_registration(20) + + rv = client.get(f"/registrations/{registration.id}/todos", headers=renewal_headers) + + assert rv.json["todos"] == [{"task": {"type": "REGISTRATION_RENEWAL"}}] + assert rv.json["renewalWindow"]["hasStarted"] is True + + +@pytest.mark.parametrize( + "status, seconds_after_window_start, renew_offered", + [ + (Application.Status.PAID, 0, False), # submitted as the window opened + (Application.Status.FULL_REVIEW_APPROVED, 86400, False), # submitted in this window + (Application.Status.PAID, -1, True), # submitted before this window, eg for the previous one + (Application.Status.DECLINED, 86400, True), # declined: the host can renew again + (Application.Status.PROVISIONALLY_DECLINED, 86400, True), + ], +) +def test_todos_renew_hidden_only_after_a_submission_in_this_window( + client, renewal_headers, make_registration, make_renewal, status, seconds_after_window_start, renew_offered +): + registration = make_registration(20) + renewal = make_renewal(registration, status) + window_start = RenewalWindow.for_registration(registration).start_utc + renewal.application_date = window_start + timedelta(seconds=seconds_after_window_start) + renewal.save() + + rv = client.get(f"/registrations/{registration.id}/todos", headers=renewal_headers) + + assert rv.json["todos"] == ([{"task": {"type": "REGISTRATION_RENEWAL"}}] if renew_offered else []) diff --git a/strr-api/tests/unit/resources/test_renewal_window_api.py b/strr-api/tests/unit/resources/test_renewal_window_api.py new file mode 100644 index 000000000..a7b7f59a8 --- /dev/null +++ b/strr-api/tests/unit/resources/test_renewal_window_api.py @@ -0,0 +1,152 @@ +"""Creating and submitting renewals outside the renewal window.""" + +import json +import os +from datetime import timedelta +from http import HTTPStatus +from unittest.mock import patch + +import pytest + +from strr_api.enums.enum import ApplicationType, ErrorMessage +from strr_api.models import Application +from tests.integration.application_seed import host_renewal_application_json +from tests.shared_test_constants import MOCK_INVOICE_RESPONSE + +MOCKS = os.path.join(os.path.dirname(os.path.realpath(__file__)), "../../mocks/json") +HOST_REGISTRATION = os.path.join(MOCKS, "host_registration.json") + + +@patch("strr_api.services.strr_pay.create_invoice", return_value=MOCK_INVOICE_RESPONSE) +def test_new_renewal_draft_is_refused_before_window(mock_invoice, client, renewal_headers, make_registration): + with open(HOST_REGISTRATION) as f: + base_json = json.load(f) + registration = make_registration(200) + payload = host_renewal_application_json(registration.id, base_json=base_json) + + rv = client.post("/applications", json=payload, headers={**renewal_headers, "isDraft": True}) + + assert rv.status_code == HTTPStatus.BAD_REQUEST + assert rv.json["errorCode"] == "RENEWAL_WINDOW_NOT_OPEN" + mock_invoice.assert_not_called() + assert Application.query.filter_by(registration_id=registration.id).count() == 0 + + +@pytest.mark.parametrize("days_to_expiry", [200, -(3 * 365 + 60)]) # before the window opens; after it closes +@pytest.mark.parametrize("method", ["post", "put"]) +def test_regular_draft_cannot_become_renewal_outside_window( + client, renewal_headers, make_registration, days_to_expiry, method +): + with open(HOST_REGISTRATION) as f: + base_json = json.load(f) + draft_headers = {**renewal_headers, "isDraft": True} + rv = client.post("/applications", json=base_json, headers=draft_headers) + assert rv.status_code == HTTPStatus.OK + number = rv.json["header"]["applicationNumber"] + registration = make_registration(days_to_expiry) + payload = host_renewal_application_json(registration.id, base_json=base_json) + + rv = getattr(client, method)(f"/applications/{number}", json=payload, headers=draft_headers) + + assert rv.status_code == HTTPStatus.BAD_REQUEST + assert rv.json["message"] == ErrorMessage.REGISTRATION_ID_MISMATCH.value + application = Application.find_by_application_number(number) + assert application.type == ApplicationType.REGISTRATION.value + assert application.registration_id is None + + +@pytest.mark.parametrize( + "expiry_shift_days, error_code", + [ + (180, "RENEWAL_WINDOW_NOT_OPEN"), # the window is now in the future + (-(3 * 365 + 60), "RENEWAL_WINDOW_CLOSED"), # the window has now closed + ], +) +@patch("strr_api.services.strr_pay.create_invoice", return_value=MOCK_INVOICE_RESPONSE) +def test_existing_draft_outside_window_can_be_saved_but_not_submitted( + mock_invoice, client, renewal_headers, make_registration, expiry_shift_days, error_code +): + with open(HOST_REGISTRATION) as f: + base_json = json.load(f) + registration = make_registration(20) # window open: the draft can be created + payload = host_renewal_application_json(registration.id, base_json=base_json) + rv = client.post("/applications", json=payload, headers={**renewal_headers, "isDraft": True}) + assert rv.status_code == HTTPStatus.OK + number = rv.json["header"]["applicationNumber"] + + registration.expiry_date = registration.expiry_date + timedelta(days=expiry_shift_days) + registration.save() + saved = client.put(f"/applications/{number}", json=payload, headers={**renewal_headers, "isDraft": True}) + assert saved.status_code == HTTPStatus.OK + + before = Application.find_by_application_number(number).application_date + rv = client.put(f"/applications/{number}", json=payload, headers=renewal_headers) + + assert rv.status_code == HTTPStatus.BAD_REQUEST + assert rv.json["errorCode"] == error_code + mock_invoice.assert_not_called() + application = Application.find_by_application_number(number) + assert application.status == Application.Status.DRAFT + assert application.application_date == before + + registration.expiry_date = registration.expiry_date - timedelta(days=expiry_shift_days) + registration.save() + rv = client.put(f"/applications/{number}", json=payload, headers=renewal_headers) + assert rv.status_code == HTTPStatus.OK + mock_invoice.assert_called_once() + + +@pytest.mark.parametrize( + "registration_type, mock_file, days_to_expiry, is_open", + [ + ("HOST", "host_registration.json", 50, False), + ("PLATFORM", "platform_registration.json", 50, False), + ("STRATA_HOTEL", "strata_hotel_registration.json", 70, False), + ("HOST", "host_registration.json", 30, True), + ("PLATFORM", "platform_registration.json", 30, True), + ("STRATA_HOTEL", "strata_hotel_registration.json", 50, True), + ], +) +@patch("strr_api.services.strr_pay.create_invoice", return_value=MOCK_INVOICE_RESPONSE) +def test_submit_without_draft_is_accepted_only_in_window( + mock_invoice, client, renewal_headers, make_registration, registration_type, mock_file, days_to_expiry, is_open +): + with open(os.path.join(MOCKS, mock_file)) as f: + base_json = json.load(f) + registration = make_registration(days_to_expiry, registration_type) + payload = host_renewal_application_json(registration.id, base_json=base_json) + + rv = client.post("/applications", json=payload, headers=renewal_headers) + + assert rv.status_code == (HTTPStatus.OK if is_open else HTTPStatus.BAD_REQUEST) + if not is_open: + assert rv.json["errorCode"] == "RENEWAL_WINDOW_NOT_OPEN" + assert mock_invoice.call_count == int(is_open) + assert Application.query.filter_by(registration_id=registration.id).count() == int(is_open) + + +@pytest.mark.parametrize( + "days_to_expiry, is_draft, accepted", + [ + (-(3 * 365 + 10), False, False), # window closed: submit refused + (-(3 * 365 + 10), True, False), # window closed: a new draft is refused too + (-(3 * 365 - 10), False, True), # window still open + ], +) +@patch("strr_api.services.strr_pay.create_invoice", return_value=MOCK_INVOICE_RESPONSE) +def test_renewal_is_refused_after_window_closes( + mock_invoice, client, renewal_headers, make_registration, days_to_expiry, is_draft, accepted +): + with open(HOST_REGISTRATION) as f: + base_json = json.load(f) + registration = make_registration(days_to_expiry) + payload = host_renewal_application_json(registration.id, base_json=base_json) + request_headers = {**renewal_headers, "isDraft": True} if is_draft else renewal_headers + + rv = client.post("/applications", json=payload, headers=request_headers) + + assert rv.status_code == (HTTPStatus.OK if accepted else HTTPStatus.BAD_REQUEST) + if not accepted: + assert rv.json["errorCode"] == "RENEWAL_WINDOW_CLOSED" + assert Application.query.filter_by(registration_id=registration.id).count() == 0 + assert mock_invoice.call_count == int(accepted and not is_draft) diff --git a/strr-api/tests/unit/utils/test_renewal_window.py b/strr-api/tests/unit/utils/test_renewal_window.py new file mode 100644 index 000000000..9eb0d5ced --- /dev/null +++ b/strr-api/tests/unit/utils/test_renewal_window.py @@ -0,0 +1,55 @@ +from datetime import date, datetime, timezone +from types import SimpleNamespace + +import pytest +from freezegun import freeze_time + +from strr_api.enums.enum import RegistrationType +from strr_api.utils.renewal_window import RenewalWindow + + +def _window(expiry, registration_type="HOST"): + return RenewalWindow.for_registration(SimpleNamespace(expiry_date=expiry, registration_type=registration_type)) + + +@pytest.mark.parametrize( + "expiry", + [ + datetime(2027, 2, 24, 23, 59, 59), + datetime(2027, 2, 25, 6, 59, 59), + datetime(2027, 2, 25, 6, 59, 59, tzinfo=timezone.utc), + ], +) +def test_window_starts_at_beginning_of_vancouver_day(expiry): + window = _window(expiry) + assert window.start_date == date(2027, 1, 15) + # 07:00 in winter: this also fails if the timezone data predates permanent daylight saving time + assert window.start_utc == datetime(2027, 1, 15, 7, tzinfo=timezone.utc) + + +@pytest.mark.parametrize( + "registration_type, expected", + [ + ("HOST", date(2027, 1, 15)), + ("PLATFORM", date(2027, 1, 15)), + ("STRATA_HOTEL", date(2026, 12, 26)), + (RegistrationType.STRATA_HOTEL, date(2026, 12, 26)), + ], +) +def test_window_length_by_registration_type(registration_type, expected): + assert _window(datetime(2027, 2, 24, 23, 59, 59), registration_type).start_date == expected + + +@pytest.mark.parametrize( + "now, not_yet_open, is_open, is_closed", + [ + ("2027-01-15 06:59:59", True, False, False), + ("2027-01-15 07:00:00", False, True, False), + ("2030-02-25 06:59:59", False, True, False), + ("2030-02-25 07:00:00", False, False, True), + ], +) +def test_window_boundaries(now, not_yet_open, is_open, is_closed): + window = _window(datetime(2027, 2, 24, 23, 59, 59)) + with freeze_time(now): + assert (window.is_not_yet_open, window.is_open, window.is_closed) == (not_yet_open, is_open, is_closed) diff --git a/strr-base-web/app/components/modal/error/ApplicationSubmit.vue b/strr-base-web/app/components/modal/error/ApplicationSubmit.vue index 6b62ad673..f0d93181d 100644 --- a/strr-base-web/app/components/modal/error/ApplicationSubmit.vue +++ b/strr-base-web/app/components/modal/error/ApplicationSubmit.vue @@ -5,6 +5,8 @@ const props = defineProps<{ type ApplicationSubmitErrorKey = | 'renewalAlreadyInProgress' + | 'renewalWindowNotOpen' + | 'renewalWindowClosed' | 'badRequest' | 'internal' | 'unknown' @@ -26,6 +28,14 @@ function resolveApplicationSubmitErrorKey (error: unknown): ApplicationSubmitErr return 'renewalAlreadyInProgress' } + if (statusCode === 400 && errorCode === 'RENEWAL_WINDOW_NOT_OPEN') { + return 'renewalWindowNotOpen' + } + + if (statusCode === 400 && errorCode === 'RENEWAL_WINDOW_CLOSED') { + return 'renewalWindowClosed' + } + if (statusCode !== undefined && statusCode > 399 && statusCode < 500) { return 'badRequest' } diff --git a/strr-base-web/app/composables/useStrrApi.ts b/strr-base-web/app/composables/useStrrApi.ts index 9f98b0d3a..ecd9eb126 100644 --- a/strr-base-web/app/composables/useStrrApi.ts +++ b/strr-base-web/app/composables/useStrrApi.ts @@ -1,5 +1,5 @@ import type { ApplicationSortBy, ApplicationSortOrder } from '~/enums/applications-sort-e' -import type { ApiRegistrationTodoTaskResp } from '~/interfaces/strr-api' +import type { ApiRegistrationTodosResp } from '~/interfaces/strr-api' export const useStrrApi = () => { const { $strrApi } = useNuxtApp() @@ -104,8 +104,8 @@ export const useStrrApi = () => { } // Get a list of todo tasks for specific registration - const getRegistrationToDos = async (registrationId: number): Promise<{todos: ApiRegistrationTodoTaskResp[]}> => { - return await $strrApi<{ todos: ApiRegistrationTodoTaskResp[]}>(`/registrations/${registrationId}/todos`) + const getRegistrationToDos = async (registrationId: number): Promise => { + return await $strrApi(`/registrations/${registrationId}/todos`) .catch((e) => { logFetchError(e, `Unable to get registration todos for ${registrationId}`) return { todos: [] } diff --git a/strr-base-web/app/interfaces/strr-api.ts b/strr-base-web/app/interfaces/strr-api.ts index cd0f85383..4767bfb60 100644 --- a/strr-base-web/app/interfaces/strr-api.ts +++ b/strr-base-web/app/interfaces/strr-api.ts @@ -157,6 +157,16 @@ export interface ApiDocument { export interface ApiRegistrationTodoTaskResp { task: { type: RegistrationTodoType, - details?: string + detail?: string } } + +export interface ApiRenewalWindow { + startDate: string // calendar date in Vancouver, YYYY-MM-DD + hasStarted: boolean +} + +export interface ApiRegistrationTodosResp { + todos: ApiRegistrationTodoTaskResp[] + renewalWindow?: ApiRenewalWindow +} diff --git a/strr-base-web/app/utils/todoItems.ts b/strr-base-web/app/utils/todoItems.ts index 0e0c9e39c..4aa4df2e0 100644 --- a/strr-base-web/app/utils/todoItems.ts +++ b/strr-base-web/app/utils/todoItems.ts @@ -139,7 +139,7 @@ export const getTodoApplication = ( export const getTodoRegistration = async (regId: number) => { const { getRegistrationToDos } = useStrrApi() - const { todos } = await getRegistrationToDos(regId) + const { todos, renewalWindow } = await getRegistrationToDos(regId) // Single-pass Map indexing for O(N) lookup efficiency const tasksByType = new Map() @@ -153,12 +153,16 @@ export const getTodoRegistration = async (regId: number) => { const renewalDraftTask = tasksByType.get(RegistrationTodoType.REGISTRATION_RENEWAL_DRAFT)?.task const renewalPaymentTask = tasksByType.get(RegistrationTodoType.REGISTRATION_RENEWAL_PAYMENT_PENDING)?.task + // A draft or payment to-do is only usable with its application number, so one without it doesn't count. + // This shouldn't happen: application_number is required on Application, so the API always sends it in `detail`. + // The check is only a safeguard. return { hasRenewalTodo: tasksByType.has(RegistrationTodoType.REGISTRATION_RENEWAL), - hasRenewalDraft: !!renewalDraftTask, - hasRenewalPaymentPending: !!renewalPaymentTask, + hasRenewalDraft: !!renewalDraftTask?.detail, + hasRenewalPaymentPending: !!renewalPaymentTask?.detail, renewalDraftId: renewalDraftTask?.detail ?? null, - renewalPaymentPendingId: renewalPaymentTask?.detail ?? null + renewalPaymentPendingId: renewalPaymentTask?.detail ?? null, + renewalWindow } } diff --git a/strr-base-web/i18n/locales/en-CA.ts b/strr-base-web/i18n/locales/en-CA.ts index 91c74c52c..f634e3453 100644 --- a/strr-base-web/i18n/locales/en-CA.ts +++ b/strr-base-web/i18n/locales/en-CA.ts @@ -340,6 +340,14 @@ export default { title: 'Renewal Already in Progress', content: 'A renewal application is already in progress for this registration. Go to your dashboard and continue it. If it has already been submitted, wait until it reaches a final decision before starting another renewal.' }, + renewalWindowNotOpen: { + title: 'Renewal Not Yet Available', + content: 'You can renew your registration once the renewal period opens.' + }, + renewalWindowClosed: { + title: 'Renewal Period Ended', + content: 'This registration can no longer be renewed.' + }, badRequest: { title: 'Invalid Request', content: 'There was an issue with the information submitted. Please review your input and try again.' diff --git a/strr-base-web/i18n/locales/fr-CA.ts b/strr-base-web/i18n/locales/fr-CA.ts index b9bff63b5..6706fdf52 100644 --- a/strr-base-web/i18n/locales/fr-CA.ts +++ b/strr-base-web/i18n/locales/fr-CA.ts @@ -170,7 +170,20 @@ export default { bcRegDashboard: 'Tableau de Bord des Registres de la CB' }, links: {}, - modal: {}, + modal: { + error: { + applicationSubmit: { + renewalWindowNotOpen: { + title: 'Renouvellement pas encore disponible', + content: 'Vous pourrez renouveler votre inscription dès l’ouverture de la période de renouvellement.' + }, + renewalWindowClosed: { + title: 'Période de renouvellement terminée', + content: 'Cette inscription ne peut plus être renouvelée.' + } + } + } + }, words: { i: 'je', addresses: 'Adresses', diff --git a/strr-base-web/package.json b/strr-base-web/package.json index 419934895..46a5494e1 100644 --- a/strr-base-web/package.json +++ b/strr-base-web/package.json @@ -2,7 +2,7 @@ "name": "strr-base-web", "private": true, "type": "module", - "version": "0.0.65", + "version": "0.0.66", "engines": { "node": ">=24" }, diff --git a/strr-base-web/tests/unit/application-submit-error.spec.ts b/strr-base-web/tests/unit/application-submit-error.spec.ts new file mode 100644 index 000000000..053509b1b --- /dev/null +++ b/strr-base-web/tests/unit/application-submit-error.spec.ts @@ -0,0 +1,34 @@ +import { mount } from '@vue/test-utils' +import { computed } from 'vue' +import { describe, expect, it, vi } from 'vitest' +import en from '../../i18n/locales/en-CA' + +vi.stubGlobal('computed', computed) + +const { default: ApplicationSubmit } = await import('../../app/components/modal/error/ApplicationSubmit.vue') + +const errors = en.modal.error.applicationSubmit +const translate = (key: string) => key.split('.').reduce((value: any, part) => value[part], en) as string + +const mountError = (error: unknown) => mount(ApplicationSubmit, { + props: { error }, + global: { + mocks: { $t: translate }, + stubs: { ModalBase: { template: '
' }, UIcon: true, ContactSTRR: true } + } +}) + +describe('application submit error', () => { + it.each([ + [400, 'RENEWAL_WINDOW_NOT_OPEN', errors.renewalWindowNotOpen], + [500, 'RENEWAL_WINDOW_NOT_OPEN', errors.internal], + [400, 'RENEWAL_WINDOW_CLOSED', errors.renewalWindowClosed], + [400, 'OTHER', errors.badRequest], + [400, undefined, errors.badRequest], + [409, 'RENEWAL_ALREADY_IN_PROGRESS', errors.renewalAlreadyInProgress] + ])('shows the message for status %s and code %s', (statusCode, errorCode, expected) => { + const wrapper = mountError({ statusCode, data: { errorCode } }) + expect(wrapper.find('h2').text()).toBe(expected.title) + expect(wrapper.find('p').text()).toBe(expected.content) + }) +}) diff --git a/strr-base-web/tests/unit/todo-registration-renewal.spec.ts b/strr-base-web/tests/unit/todo-registration-renewal.spec.ts new file mode 100644 index 000000000..4bb1243db --- /dev/null +++ b/strr-base-web/tests/unit/todo-registration-renewal.spec.ts @@ -0,0 +1,51 @@ +import { beforeEach, describe, expect, it, vi } from 'vitest' +import { RegistrationTodoType } from '~/enums/registration-todo-type' +import { ApplicationStatus } from '~/enums/application-status' + +const getRegistrationToDos = vi.fn() +vi.stubGlobal('useStrrApi', () => ({ getRegistrationToDos })) +vi.stubGlobal('RegistrationTodoType', RegistrationTodoType) +vi.stubGlobal('ApplicationStatus', ApplicationStatus) + +const { getTodoRegistration } = await import('../../app/utils/todoItems') + +const draftTask = (detail?: string) => ({ task: { type: RegistrationTodoType.REGISTRATION_RENEWAL_DRAFT, detail } }) +const paymentTask = (detail?: string) => + ({ task: { type: RegistrationTodoType.REGISTRATION_RENEWAL_PAYMENT_PENDING, detail } }) + +describe('getTodoRegistration renewal to-dos', () => { + beforeEach(() => getRegistrationToDos.mockReset()) + + it('returns the draft and payment to-dos with their application numbers', async () => { + getRegistrationToDos.mockResolvedValue({ todos: [draftTask('456'), paymentTask('789')] }) + + expect(await getTodoRegistration(7)).toEqual({ + hasRenewalTodo: false, + hasRenewalDraft: true, + hasRenewalPaymentPending: true, + renewalDraftId: '456', + renewalPaymentPendingId: '789' + }) + expect(getRegistrationToDos).toHaveBeenCalledWith(7) + }) + + it('ignores draft and payment to-dos that have no application number', async () => { + getRegistrationToDos.mockResolvedValue({ todos: [draftTask(), paymentTask()] }) + + expect(await getTodoRegistration(7)).toMatchObject({ + hasRenewalDraft: false, + hasRenewalPaymentPending: false, + renewalDraftId: null, + renewalPaymentPendingId: null + }) + }) + + it('returns the renewal window from /todos, if the API sends one', async () => { + const renewalWindow = { startDate: '2027-01-15', hasStarted: false } + getRegistrationToDos.mockResolvedValueOnce({ todos: [], renewalWindow }) + getRegistrationToDos.mockResolvedValueOnce({ todos: [] }) + + expect((await getTodoRegistration(7)).renewalWindow).toEqual(renewalWindow) + expect((await getTodoRegistration(7)).renewalWindow).toBeUndefined() + }) +}) diff --git a/strr-host-pm-web/app/components/dashboard/RegistrationsTable.vue b/strr-host-pm-web/app/components/dashboard/RegistrationsTable.vue index 99b419bdf..e5c33ebb8 100644 --- a/strr-host-pm-web/app/components/dashboard/RegistrationsTable.vue +++ b/strr-host-pm-web/app/components/dashboard/RegistrationsTable.vue @@ -107,15 +107,6 @@ const getRenewalDraftApplicationNumber = (registration: RegistrationRecord): str return renewalDraft?.applicationNumber } -/** Returns the renewal warning window in days by registration type. */ -const getRenewalWindowDays = (registrationType?: ApplicationType): number => { - // Keep fallback values in sync with backend DAYS_BEFORE_EXPIRY_BY_TYPE. - if (registrationType === ApplicationType.STRATA_HOTEL) { - return 60 - } - return 40 -} - /** Calculates whole days remaining until the expiry date in Pacific time. */ const getDaysUntilExpiry = (expiryDate?: string): number | null => { if (!expiryDate) { @@ -132,7 +123,7 @@ const getDaysUntilExpiry = (expiryDate?: string): number | null => { } /** Maps an expiry date to an expiry state used for UI styling and actions. */ -const getExpiryState = (registrationType: ApplicationType | undefined, expiryDate: string | undefined): ExpiryState => { +const getExpiryState = (expiryDate?: string, hasRenewalWindowStarted?: boolean): ExpiryState => { const daysUntilExpiry = getDaysUntilExpiry(expiryDate) if (daysUntilExpiry === null) { return ExpiryState.ACTIVE @@ -140,7 +131,7 @@ const getExpiryState = (registrationType: ApplicationType | undefined, expiryDat if (daysUntilExpiry < 0) { return ExpiryState.EXPIRED } - if (daysUntilExpiry <= getRenewalWindowDays(registrationType)) { + if (hasRenewalWindowStarted) { return ExpiryState.EXPIRING_SOON } return ExpiryState.ACTIVE @@ -162,7 +153,7 @@ const mapRegistrationsList = (registrations: RegistrationRecordWithTodos[]): Reg } return registrations.map((registration: RegistrationRecordWithTodos): RegistrationRow => { const displayAddress = registration.unitAddress - const expiryState = getExpiryState(registration.registrationType, registration.expiryDate) + const expiryState = getExpiryState(registration.expiryDate, registration.renewalWindow?.hasStarted) const renewalDraftExists = registration.hasRenewalDraft !== undefined ? registration.hasRenewalDraft : hasRenewalDraft(registration) diff --git a/strr-host-pm-web/app/composables/useRenewals.ts b/strr-host-pm-web/app/composables/useRenewals.ts index a1d2862a8..7a97c5a91 100644 --- a/strr-host-pm-web/app/composables/useRenewals.ts +++ b/strr-host-pm-web/app/composables/useRenewals.ts @@ -161,7 +161,8 @@ export const useRenewals = () => { hasRenewalDraft: todoInfo.hasRenewalDraft, hasRenewalPaymentPending: todoInfo.hasRenewalPaymentPending, renewalDraftId: todoInfo.renewalDraftId, - renewalPaymentPendingId: todoInfo.renewalPaymentPendingId + renewalPaymentPendingId: todoInfo.renewalPaymentPendingId, + renewalWindow: todoInfo.renewalWindow } as T & RenewalTodoDetails } catch { return { diff --git a/strr-host-pm-web/app/interfaces/dashboard-tables.ts b/strr-host-pm-web/app/interfaces/dashboard-tables.ts index 28211b441..deddac41e 100644 --- a/strr-host-pm-web/app/interfaces/dashboard-tables.ts +++ b/strr-host-pm-web/app/interfaces/dashboard-tables.ts @@ -59,6 +59,7 @@ export interface RenewalTodoDetails { hasRenewalPaymentPending?: boolean renewalDraftId?: string | null renewalPaymentPendingId?: string | null + renewalWindow?: ApiRenewalWindow } export interface RegistrationRecordWithTodos extends RegistrationRecord, RenewalTodoDetails {} diff --git a/strr-host-pm-web/package.json b/strr-host-pm-web/package.json index 96c66d9e8..b55ee3f79 100644 --- a/strr-host-pm-web/package.json +++ b/strr-host-pm-web/package.json @@ -2,7 +2,7 @@ "name": "strr-host-pm-web", "private": true, "type": "module", - "version": "1.3.41", + "version": "1.3.42", "engines": { "node": ">=24" }, diff --git a/strr-host-pm-web/tests/unit/composable-use-renewals.spec.ts b/strr-host-pm-web/tests/unit/composable-use-renewals.spec.ts index 7c778c2fe..ea527dede 100644 --- a/strr-host-pm-web/tests/unit/composable-use-renewals.spec.ts +++ b/strr-host-pm-web/tests/unit/composable-use-renewals.spec.ts @@ -278,6 +278,14 @@ describe('Renewal Helper Functions', () => { expect(result[1]!.renewalDraftId).toBe('draft-99') }) + it('fetchRegistrationsWithRenewalTodos - includes the renewal window', async () => { + const renewalWindow = { startDate: '2027-01-15', hasStarted: false } + mockGetTodoRegistration.mockResolvedValue({ ...emptyTodoRegistration, renewalWindow }) + const { fetchRegistrationsWithRenewalTodos } = useRenewals() + const result = await fetchRegistrationsWithRenewalTodos([{ id: 1 }]) + expect(result[0]!.renewalWindow).toEqual(renewalWindow) + }) + it('fetchRegistrationsWithRenewalTodos - returns empty array for empty input', async () => { const { fetchRegistrationsWithRenewalTodos } = useRenewals() expect(await fetchRegistrationsWithRenewalTodos([])).toEqual([]) diff --git a/strr-host-pm-web/tests/unit/dashboard-registrations-table.spec.ts b/strr-host-pm-web/tests/unit/dashboard-registrations-table.spec.ts index 4b6c705ca..0cd27203b 100644 --- a/strr-host-pm-web/tests/unit/dashboard-registrations-table.spec.ts +++ b/strr-host-pm-web/tests/unit/dashboard-registrations-table.spec.ts @@ -48,6 +48,8 @@ mockNuxtImport('useAsyncData', () => { }) }) +const WINDOW_STARTED = { startDate: '2026-01-01', hasStarted: true } + const createRegistration = (overrides: Record = {}) => { const baseRegistration = { id: 308, @@ -225,7 +227,10 @@ describe('Dashboard Registrations Table', () => { it('shows Renew and View together for an expiring-soon registration', async () => { asyncDataMocks['host-registrations-list'] = { - registrations: [createRegistration({ expiryDate: daysFromNowIso(20) })], + registrations: [createRegistration({ + expiryDate: daysFromNowIso(20), + renewalWindow: WINDOW_STARTED + })], total: 1 } @@ -296,9 +301,12 @@ describe('Dashboard Registrations Table', () => { expect(wrapper.find('tbody tr td:nth-child(2)').text()).toBe('Expired') }) - it('shows "Expiring soon" in the status column for a host registration expiring within 40 days', async () => { + it('shows "Expiring soon" in the status column when the renewal window has started', async () => { asyncDataMocks['host-registrations-list'] = { - registrations: [createRegistration({ expiryDate: daysFromNowIso(20) })], + registrations: [createRegistration({ + expiryDate: daysFromNowIso(20), + renewalWindow: WINDOW_STARTED + })], total: 1 } @@ -332,7 +340,8 @@ describe('Dashboard Registrations Table', () => { }), createRegistration({ registrationNumber: 'HEXPIRING002', - expiryDate: daysFromNowIso(20) + expiryDate: daysFromNowIso(20), + renewalWindow: WINDOW_STARTED }) ], total: 2 diff --git a/strr-platform-web/app/pages/platform/dashboard.vue b/strr-platform-web/app/pages/platform/dashboard.vue index 485cede69..aa6f76c34 100644 --- a/strr-platform-web/app/pages/platform/dashboard.vue +++ b/strr-platform-web/app/pages/platform/dashboard.vue @@ -72,7 +72,7 @@ const getRenewalToDo = async (): Promise => { }) } - if (hasRenewalDraft) { + if (hasRenewalDraft && renewalDraftId) { renewalTodos.push({ id: 'todo-renewal-draft', title: t('todos.renewalDraft.title'), @@ -103,7 +103,7 @@ const getRenewalToDo = async (): Promise => { }) } - if (hasRenewalPaymentPending) { + if (hasRenewalPaymentPending && renewalPaymentPendingId) { renewalTodos.push({ id: 'todo-renewal-payment-pending', title: t('todos.renewalPayment.title'), diff --git a/strr-platform-web/package.json b/strr-platform-web/package.json index ca10f6d4d..fa7cda8ad 100644 --- a/strr-platform-web/package.json +++ b/strr-platform-web/package.json @@ -2,7 +2,7 @@ "name": "strr-platform-web", "private": true, "type": "module", - "version": "1.2.13", + "version": "1.2.14", "engines": { "node": ">=24" }, @@ -15,6 +15,7 @@ "postinstall": "nuxt prepare", "lint": "eslint --ext .ts,.vue app tests --ignore-path .gitignore", "lint:fix": "pnpm lint --fix", + "typecheck": "nuxi typecheck", "test": "vitest --dir tests/unit --coverage && cp ./tests/coverage/clover.xml ./coverage.xml", "test:unit": "vitest --dir tests/unit", "test:unit:bun": "bunx --bun vitest --dir tests/unit", @@ -45,7 +46,8 @@ "playwright-core": "^1.49.1", "sass": "^1.77.6", "typescript": "^5.5.3", - "vitest": "4.1.12" + "vitest": "4.1.12", + "vue-tsc": "^3.3.14" }, "dependencies": { "@daxiom/nuxt-core-layer-test": "^0.0.29", diff --git a/strr-platform-web/pnpm-lock.yaml b/strr-platform-web/pnpm-lock.yaml index 63e04b025..2319c0b48 100644 --- a/strr-platform-web/pnpm-lock.yaml +++ b/strr-platform-web/pnpm-lock.yaml @@ -18,13 +18,13 @@ importers: dependencies: '@daxiom/nuxt-core-layer-test': specifier: ^0.0.29 - version: 0.0.29(8411131f6ced4ae25e516ff7e31f65db) + version: 0.0.29(e278503d2e71a3a945019808c5ccd47e) country-codes-list: specifier: ^2.0.0 version: 2.0.0 nuxt: specifier: 4.6.4 - version: 4.6.4(@babel/plugin-syntax-jsx@7.27.1(@babel/core@7.29.7))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.7))(@oxc-project/types@0.156.0)(@types/node@25.0.3)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.18.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.2)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.95.0)(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.1(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.97.1)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1) + version: 4.6.4(@babel/plugin-syntax-jsx@7.27.1(@babel/core@7.29.7))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.7))(@oxc-project/types@0.156.0)(@types/node@25.0.3)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.18.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.2)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.95.0)(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.1(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.97.1)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(vue-tsc@3.3.14(typescript@5.9.3))(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1) vue-country-flag-next: specifier: ^2.3.2 version: 2.3.2(vue@3.5.45(typescript@5.9.3)) @@ -46,7 +46,7 @@ importers: version: 2.2.1(@nuxt/schema@4.6.4)(@types/node@26.6.6)(confbox@0.3.2)(dotenv@17.4.2)(giget@3.3.1)(jiti@2.7.0)(magic-string@1.4.5)(mlly@1.8.2)(oxc-parser@0.95.0)(rolldown@1.2.19)(unplugin@3.7.0(esbuild@0.28.2)(rolldown@1.2.19)(rollup@4.68.7)(vite@8.3.8)(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33)))(unstorage@1.17.6(db0@0.3.4)(ioredis@5.11.1)) '@nuxt/test-utils': specifier: 4.4.0 - version: 4.4.0(94d011dff2ae05ac2d887313e569efbd) + version: 4.4.0(263f001c669a01ff6072391c9a010eb7) '@nuxtjs/eslint-config-typescript': specifier: ^12.1.0 version: 12.1.0(eslint@8.57.1)(typescript@5.9.3) @@ -98,6 +98,9 @@ importers: vitest: specifier: 4.1.12 version: 4.1.12(@types/node@25.0.3)(@vitest/coverage-v8@4.1.12)(happy-dom@21.0.4)(vite@8.3.8) + vue-tsc: + specifier: ^3.3.14 + version: 3.3.14(typescript@5.9.3) packages: @@ -2749,9 +2752,25 @@ packages: '@volar/language-core@2.4.30': resolution: {integrity: sha512-73fjwEV8wat6aOZ6U/y/hqtE30ocrIWECg67b0txGczOMNw+MffLmvJ5fnFfN9drVUEYZzLdaNo6VAy6G6avMw==} + '@volar/language-service@2.4.30': + resolution: {integrity: sha512-w/xDsASiqC71ggCOm7sTDXDNk/l72XEptodeRC68tgZ0e5QM4hM3zAqBGC7mBctvhrpYwKfMG+t9xcUo2hEFtA==} + peerDependencies: + typescript: <7 + peerDependenciesMeta: + typescript: + optional: true + '@volar/source-map@2.4.30': resolution: {integrity: sha512-zym1ob/KwDDyN+0jGVtxwbxJSRRnUvv5HspCtz3yEfVVdCG4/dzxJktMGPAgemqRuVs81O0o/y0q3qOUErR8kg==} + '@volar/typescript@2.4.30': + resolution: {integrity: sha512-/DgA5tgYFPfrLFuSjIMXMGHk1LQv2+P8eny6+BhGNzFJELWIW7UZlc56ZLIRFhLsPpMfIFxM8/HvOPBggrjTZg==} + peerDependencies: + typescript: <7 + peerDependenciesMeta: + typescript: + optional: true + '@vue-macros/common@3.1.4': resolution: {integrity: sha512-/5Fv+6DgIcM9ajY05ZmKBv+LMX1M9A0X+IUwDRVdt67ciw8OV9bvG2r34p3RiEadlsQybjhKPRKNXDC8Bp23cw==} engines: {node: '>=20.19.0'} @@ -7120,6 +7139,22 @@ packages: jsdom: optional: true + vscode-jsonrpc@10.0.2: + resolution: {integrity: sha512-U6K7wa1t8jTZf7eoHJLKSNdHE0oi9r/+/4TSXWPSLQ2FSQVMYLR5TvzQHrYjwW/lLjq0eTm+pi8vWz4jSV7o4w==} + engines: {node: '>=14.17.0'} + + vscode-languageserver-protocol@3.18.7: + resolution: {integrity: sha512-5oItSZDTTehe0zXzwJCFUMso6RfUb2FWVTFfQxAesV3nTbkY1hjW3O6q8872M9TACEXFcALaU5xU37sGudYI8g==} + + vscode-languageserver-textdocument@1.0.16: + resolution: {integrity: sha512-qeNEuOi9a3qkqRf7Gfez2WL2VwlBTLCNekHBGO9kxPVUp9XuY15yfTJ9jwvOwKI0I2MhUUfZq95NSp+LK1CLQg==} + + vscode-languageserver-types@3.18.6: + resolution: {integrity: sha512-DEDtik4YupS+nOg4JxqJ2H5ec/m4tTD9a5mGcBVGYkQKZQo1AIF3ZToiP8+A0kUzyhyqX5dMnPDEnhtmzts7GA==} + + vscode-uri@3.2.0: + resolution: {integrity: sha512-m2gXo3bn0G1kT9InzMf07fTbqMbGtyckj3bH5ktLO+1Ssv+yiATZ4dhwaQv9UZWxJh6E9IFGnQyjgWVDWVBDrg==} + vue-bundle-renderer@2.5.0: resolution: {integrity: sha512-1dFEyECSjbpSXjblL5b7T/JWtxsABoSgmYaCrxih5Khuy67AOjd7YZnaaqQTzggy12glZl85zSjJ2utuJa8/nA==} @@ -7170,6 +7205,12 @@ packages: vite: optional: true + vue-tsc@3.3.14: + resolution: {integrity: sha512-URAu2H9AuMZMg9GCgnqbaHHHd8pBZRAwNV2e2yYS8VDsoTVXHiOSo663OS6DkEvauQ2yixn5TPFJ9WV9QIspkA==} + hasBin: true + peerDependencies: + typescript: '>=5.0.0' + vue@3.5.45: resolution: {integrity: sha512-3cvsib8m9c0vB24+MDKsgcW4+Da4xaBl9Z/5Tbm2pmSIsRPxcil4cdXjXlVsmJ2g64XJo5h+IRd7rsdGT9pZaw==} peerDependencies: @@ -7689,13 +7730,13 @@ snapshots: dependencies: postcss-selector-parser: 7.2.1 - '@daxiom/nuxt-core-layer-test@0.0.29(8411131f6ced4ae25e516ff7e31f65db)': + '@daxiom/nuxt-core-layer-test@0.0.29(e278503d2e71a3a945019808c5ccd47e)': dependencies: '@iconify-json/mdi': 1.2.3 '@nuxt/ui': 2.22.3(magic-string@1.4.5)(magicast@0.5.5)(oxc-parser@0.95.0)(rolldown@1.2.19)(unplugin@3.7.0(esbuild@0.28.2)(rolldown@1.2.19)(rollup@4.68.7)(vite@8.3.8)(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33)))(vite@8.3.8)(vue@3.5.45(typescript@5.9.3))(yaml@2.9.1)(zod@3.25.76) '@nuxtjs/i18n': 10.2.1(@vue/compiler-dom@3.5.45)(db0@0.3.4)(ioredis@5.11.1)(magicast@0.5.5)(rolldown@1.2.19)(rollup@4.68.7)(vite@8.3.8)(vue@3.5.45(typescript@5.9.3)) '@pinia/nuxt': 0.11.3(magic-string@1.4.5)(magicast@0.5.5)(oxc-parser@0.95.0)(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(unplugin@3.7.0(esbuild@0.28.2)(rolldown@1.2.19)(rollup@4.68.7)(vite@8.3.8)(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))) - '@vueuse/nuxt': 13.9.0(magicast@0.5.5)(nuxt@4.6.4(@babel/plugin-syntax-jsx@7.27.1(@babel/core@7.29.7))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.7))(@oxc-project/types@0.156.0)(@types/node@25.0.3)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.18.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.2)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.95.0)(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.1(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.97.1)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1))(vue@3.5.45(typescript@5.9.3)) + '@vueuse/nuxt': 13.9.0(magicast@0.5.5)(nuxt@4.6.4(@babel/plugin-syntax-jsx@7.27.1(@babel/core@7.29.7))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.7))(@oxc-project/types@0.156.0)(@types/node@25.0.3)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.18.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.2)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.95.0)(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.1(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.97.1)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(vue-tsc@3.3.14(typescript@5.9.3))(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1))(vue@3.5.45(typescript@5.9.3)) dompurify: 3.4.18 jsdom: 26.1.0 keycloak-js: 26.2.2 @@ -8918,7 +8959,7 @@ snapshots: - magic-string - unplugin - '@nuxt/nitro-server@4.6.4(3a7fc345051f228672ca38a3b2d9a2d9)': + '@nuxt/nitro-server@4.6.4(9df0cc3896d65be570a48c5112dcf5e1)': dependencies: '@nuxt/kit': 4.6.4(@nuxt/schema@4.6.4)(confbox@0.3.2)(dotenv@17.4.2)(giget@3.3.1)(jiti@2.7.0)(magic-string@1.4.5)(mlly@1.8.2)(oxc-parser@0.95.0)(rolldown@1.2.19)(unplugin@3.7.0(esbuild@0.28.2)(rolldown@1.2.19)(rollup@4.68.7)(vite@8.3.8)(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))) '@unhead/vue': 3.4.3(@oxc-project/types@0.156.0)(esbuild@0.28.2)(lightningcss@1.33.0)(oxc-parser@0.95.0)(rolldown@1.2.19)(rollup@4.68.7)(vite@8.3.8)(vue@3.5.45(typescript@5.9.3))(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33)) @@ -8937,7 +8978,7 @@ snapshots: my-bad: 0.2.12(vite@8.3.8) nitropack: 2.13.6(bare-buffer@3.7.3)(oxc-parser@0.95.0)(rolldown@1.2.19)(srvx@1.0.8)(vite@8.3.8)(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33)) nostics: 1.4.0 - nuxt: 4.6.4(@babel/plugin-syntax-jsx@7.27.1(@babel/core@7.29.7))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.7))(@oxc-project/types@0.156.0)(@types/node@25.0.3)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.18.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.2)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.95.0)(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.1(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.97.1)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1) + nuxt: 4.6.4(@babel/plugin-syntax-jsx@7.27.1(@babel/core@7.29.7))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.7))(@oxc-project/types@0.156.0)(@types/node@25.0.3)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.18.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.2)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.95.0)(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.1(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.97.1)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(vue-tsc@3.3.14(typescript@5.9.3))(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1) ohash: 2.0.12 pathe: 2.0.3 radix3: 1.1.2 @@ -9078,7 +9119,7 @@ snapshots: - vite - webpack - '@nuxt/test-utils@4.4.0(94d011dff2ae05ac2d887313e569efbd)': + '@nuxt/test-utils@4.4.0(263f001c669a01ff6072391c9a010eb7)': dependencies: '@clack/prompts': 1.8.1 '@nuxt/devtools-kit': 3.4.4(@nuxt/schema@4.6.4)(confbox@0.3.2)(dotenv@17.4.2)(giget@3.3.1)(jiti@2.7.0)(magic-string@1.4.5)(mlly@1.8.2)(oxc-parser@0.95.0)(rolldown@1.2.19)(unplugin@3.7.0(esbuild@0.28.2)(rolldown@1.2.19)(rollup@4.68.7)(vite@8.3.8)(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33)))(vite@8.3.8) @@ -9107,7 +9148,7 @@ snapshots: '@vue/test-utils': 2.6.0(@vue/compiler-dom@3.5.45)(@vue/server-renderer@3.5.45)(vue@3.5.45(typescript@5.9.3)) h3: 2.0.8(crossws@0.4.17(srvx@1.0.8)) happy-dom: 21.0.4 - nuxt: 4.6.4(@babel/plugin-syntax-jsx@7.27.1(@babel/core@7.29.7))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.7))(@oxc-project/types@0.156.0)(@types/node@25.0.3)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.18.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.2)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.95.0)(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.1(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.97.1)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1) + nuxt: 4.6.4(@babel/plugin-syntax-jsx@7.27.1(@babel/core@7.29.7))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.7))(@oxc-project/types@0.156.0)(@types/node@25.0.3)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.18.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.2)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.95.0)(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.1(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.97.1)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(vue-tsc@3.3.14(typescript@5.9.3))(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1) playwright-core: 1.57.0 vitest: 4.1.12(@types/node@25.0.3)(@vitest/coverage-v8@4.1.12)(happy-dom@21.0.4)(vite@8.3.8) transitivePeerDependencies: @@ -9183,7 +9224,7 @@ snapshots: - vue - yaml - '@nuxt/vite-builder@4.6.4(255ad5740ba80f3922e536236e25e151)': + '@nuxt/vite-builder@4.6.4(493cecc53a94ef16bbbe95c3a4625228)': dependencies: '@nuxt/kit': 4.6.4(@nuxt/schema@4.6.4)(confbox@0.3.2)(dotenv@17.4.2)(giget@3.3.1)(jiti@2.7.0)(magic-string@1.4.5)(mlly@1.8.2)(oxc-parser@0.95.0)(rolldown@1.2.19)(unplugin@3.7.0(esbuild@0.28.2)(rolldown@1.2.19)(rollup@4.68.7)(vite@8.3.8)(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))) '@vitejs/plugin-vue': 6.0.11(patch_hash=0e6759155e0cea48506bb8b21cf73db27f2a5cb8cd36659a4bd67ed7dbff1be3)(vite@8.3.8)(vue@3.5.45(typescript@5.9.3)) @@ -9201,7 +9242,7 @@ snapshots: knitwork: 1.3.0 mocked-exports: 0.1.1 my-bad: 0.2.12(vite@8.3.8) - nuxt: 4.6.4(@babel/plugin-syntax-jsx@7.27.1(@babel/core@7.29.7))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.7))(@oxc-project/types@0.156.0)(@types/node@25.0.3)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.18.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.2)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.95.0)(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.1(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.97.1)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1) + nuxt: 4.6.4(@babel/plugin-syntax-jsx@7.27.1(@babel/core@7.29.7))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.7))(@oxc-project/types@0.156.0)(@types/node@25.0.3)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.18.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.2)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.95.0)(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.1(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.97.1)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(vue-tsc@3.3.14(typescript@5.9.3))(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1) pathe: 2.0.3 pkg-types: 2.4.0 postcss: 8.5.33 @@ -9212,7 +9253,7 @@ snapshots: unenv: 2.0.0-rc.24 vite: 8.3.8(patch_hash=78df5d5774b72ccace177e2a78a934809711e97d646190660aee9b3d359bb9f4)(@types/node@25.0.3)(@vitejs/devtools@0.8.3)(esbuild@0.28.2)(jiti@2.7.0)(sass@1.97.1)(terser@5.51.2)(yaml@2.9.1) vite-node: 6.0.0(@types/node@25.0.3)(@vitejs/devtools@0.8.3)(esbuild@0.28.2)(jiti@2.7.0)(sass@1.97.1)(terser@5.51.2)(yaml@2.9.1) - vite-plugin-checker: 0.14.5(eslint@8.57.1)(optionator@0.9.4)(typescript@5.9.3)(vite@8.3.8) + vite-plugin-checker: 0.14.5(eslint@8.57.1)(optionator@0.9.4)(typescript@5.9.3)(vite@8.3.8)(vue-tsc@3.3.14(typescript@5.9.3)) vue: 3.5.45(typescript@5.9.3) vue-bundle-renderer: 2.5.0 optionalDependencies: @@ -9250,7 +9291,7 @@ snapshots: - vue-tsc - yaml - '@nuxt/vite-server@4.6.4(0d0be53129d6cf111d7bd072f0cde16b)': + '@nuxt/vite-server@4.6.4(6a4804279b756a84dc432099c4c23781)': dependencies: '@nuxt/kit': 4.6.4(@nuxt/schema@4.6.4)(confbox@0.3.2)(dotenv@17.4.2)(giget@3.3.1)(jiti@2.7.0)(magic-string@1.4.5)(mlly@1.8.2)(oxc-parser@0.95.0)(rolldown@1.2.19)(unplugin@3.7.0(esbuild@0.28.2)(rolldown@1.2.19)(rollup@4.68.7)(vite@8.3.8)(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))) clickable-path: 0.1.1 @@ -9258,7 +9299,7 @@ snapshots: exsolve: 1.2.0 mocked-exports: 0.1.1 my-bad: 0.2.12(vite@8.3.8) - nuxt: 4.6.4(@babel/plugin-syntax-jsx@7.27.1(@babel/core@7.29.7))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.7))(@oxc-project/types@0.156.0)(@types/node@25.0.3)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.18.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.2)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.95.0)(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.1(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.97.1)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1) + nuxt: 4.6.4(@babel/plugin-syntax-jsx@7.27.1(@babel/core@7.29.7))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.7))(@oxc-project/types@0.156.0)(@types/node@25.0.3)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.18.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.2)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.95.0)(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.1(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.97.1)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(vue-tsc@3.3.14(typescript@5.9.3))(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1) pathe: 2.0.3 rou3: 0.9.2 srvx: 1.0.5 @@ -10362,8 +10403,26 @@ snapshots: dependencies: '@volar/source-map': 2.4.30 + '@volar/language-service@2.4.30(typescript@5.9.3)': + dependencies: + '@volar/language-core': 2.4.30 + vscode-languageserver-protocol: 3.18.7 + vscode-languageserver-textdocument: 1.0.16 + vscode-uri: 3.2.0 + optionalDependencies: + typescript: 5.9.3 + '@volar/source-map@2.4.30': {} + '@volar/typescript@2.4.30(typescript@5.9.3)': + dependencies: + '@volar/language-core': 2.4.30 + '@volar/language-service': 2.4.30(typescript@5.9.3) + path-browserify: 1.0.1 + vscode-uri: 3.2.0 + optionalDependencies: + typescript: 5.9.3 + '@vue-macros/common@3.1.4(vue@3.5.45(typescript@5.9.3))': dependencies: '@vue/compiler-sfc': 3.5.45 @@ -10552,13 +10611,13 @@ snapshots: '@vueuse/metadata@13.9.0': {} - '@vueuse/nuxt@13.9.0(magicast@0.5.5)(nuxt@4.6.4(@babel/plugin-syntax-jsx@7.27.1(@babel/core@7.29.7))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.7))(@oxc-project/types@0.156.0)(@types/node@25.0.3)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.18.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.2)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.95.0)(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.1(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.97.1)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1))(vue@3.5.45(typescript@5.9.3))': + '@vueuse/nuxt@13.9.0(magicast@0.5.5)(nuxt@4.6.4(@babel/plugin-syntax-jsx@7.27.1(@babel/core@7.29.7))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.7))(@oxc-project/types@0.156.0)(@types/node@25.0.3)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.18.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.2)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.95.0)(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.1(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.97.1)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(vue-tsc@3.3.14(typescript@5.9.3))(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1))(vue@3.5.45(typescript@5.9.3))': dependencies: '@nuxt/kit': 3.21.11(magicast@0.5.5) '@vueuse/core': 13.9.0(vue@3.5.45(typescript@5.9.3)) '@vueuse/metadata': 13.9.0 local-pkg: 1.2.1 - nuxt: 4.6.4(@babel/plugin-syntax-jsx@7.27.1(@babel/core@7.29.7))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.7))(@oxc-project/types@0.156.0)(@types/node@25.0.3)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.18.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.2)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.95.0)(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.1(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.97.1)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1) + nuxt: 4.6.4(@babel/plugin-syntax-jsx@7.27.1(@babel/core@7.29.7))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.7))(@oxc-project/types@0.156.0)(@types/node@25.0.3)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.18.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.2)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.95.0)(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.1(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.97.1)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(vue-tsc@3.3.14(typescript@5.9.3))(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1) vue: 3.5.45(typescript@5.9.3) transitivePeerDependencies: - magicast @@ -13215,7 +13274,7 @@ snapshots: nuxt-define@1.0.0: {} - nuxt@4.6.4(@babel/plugin-syntax-jsx@7.27.1(@babel/core@7.29.7))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.7))(@oxc-project/types@0.156.0)(@types/node@25.0.3)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.18.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.2)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.95.0)(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.1(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.97.1)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1): + nuxt@4.6.4(@babel/plugin-syntax-jsx@7.27.1(@babel/core@7.29.7))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.7))(@oxc-project/types@0.156.0)(@types/node@25.0.3)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.18.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.2)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.95.0)(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.1(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.97.1)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(vue-tsc@3.3.14(typescript@5.9.3))(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1): dependencies: '@dxup/nuxt': 0.5.11(@nuxt/schema@4.6.4)(confbox@0.3.2)(dotenv@17.4.2)(esbuild@0.28.2)(giget@3.3.1)(jiti@2.7.0)(mlly@1.8.2)(oxc-parser@0.95.0)(rolldown@1.2.19)(rollup@4.68.7)(vite@8.3.8)(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33)) '@jridgewell/trace-mapping': 0.3.31 @@ -13223,11 +13282,11 @@ snapshots: '@nuxt/devalue': 2.0.2 '@nuxt/devtools': 3.4.4(@nuxt/schema@4.6.4)(@vitejs/devtools@0.8.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.2)(giget@3.3.1)(ioredis@5.11.1)(jiti@2.7.0)(magic-string@1.4.5)(mlly@1.8.2)(oxc-parser@0.95.0)(rolldown@1.2.19)(unplugin@3.7.0(esbuild@0.28.2)(rolldown@1.2.19)(rollup@4.68.7)(vite@8.3.8)(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33)))(vite@8.3.8)(vue@3.5.45(typescript@5.9.3)) '@nuxt/kit': 4.6.4(@nuxt/schema@4.6.4)(confbox@0.3.2)(dotenv@17.4.2)(giget@3.3.1)(jiti@2.7.0)(magic-string@1.4.5)(mlly@1.8.2)(oxc-parser@0.95.0)(rolldown@1.2.19)(unplugin@3.7.0(esbuild@0.28.2)(rolldown@1.2.19)(rollup@4.68.7)(vite@8.3.8)(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))) - '@nuxt/nitro-server': 4.6.4(3a7fc345051f228672ca38a3b2d9a2d9) + '@nuxt/nitro-server': 4.6.4(9df0cc3896d65be570a48c5112dcf5e1) '@nuxt/schema': 4.6.4 '@nuxt/telemetry': 2.9.1(@nuxt/kit@4.6.4(@nuxt/schema@4.6.4)(confbox@0.3.2)(dotenv@17.4.2)(giget@3.3.1)(jiti@2.7.0)(magic-string@1.4.5)(mlly@1.8.2)(oxc-parser@0.95.0)(rolldown@1.2.19)(unplugin@3.7.0(esbuild@0.28.2)(rolldown@1.2.19)(rollup@4.68.7)(vite@8.3.8)(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33)))) - '@nuxt/vite-builder': 4.6.4(255ad5740ba80f3922e536236e25e151) - '@nuxt/vite-server': 4.6.4(0d0be53129d6cf111d7bd072f0cde16b) + '@nuxt/vite-builder': 4.6.4(493cecc53a94ef16bbbe95c3a4625228) + '@nuxt/vite-server': 4.6.4(6a4804279b756a84dc432099c4c23781) '@unhead/vue': 3.4.3(@oxc-project/types@0.156.0)(esbuild@0.28.2)(lightningcss@1.33.0)(oxc-parser@0.95.0)(rolldown@1.2.19)(rollup@4.68.7)(vite@8.3.8)(vue@3.5.45(typescript@5.9.3))(webpack@5.104.1(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33)) '@vue/shared': 3.5.45 chokidar: 5.0.0 @@ -14977,7 +15036,7 @@ snapshots: - tsx - yaml - vite-plugin-checker@0.14.5(eslint@8.57.1)(optionator@0.9.4)(typescript@5.9.3)(vite@8.3.8): + vite-plugin-checker@0.14.5(eslint@8.57.1)(optionator@0.9.4)(typescript@5.9.3)(vite@8.3.8)(vue-tsc@3.3.14(typescript@5.9.3)): dependencies: '@babel/code-frame': 7.29.7 chokidar: 5.0.0 @@ -14991,6 +15050,7 @@ snapshots: eslint: 8.57.1 optionator: 0.9.4 typescript: 5.9.3 + vue-tsc: 3.3.14(typescript@5.9.3) vite-plugin-eslint@1.8.1(eslint@8.57.1)(vite@8.3.8): dependencies: @@ -15139,6 +15199,19 @@ snapshots: transitivePeerDependencies: - msw + vscode-jsonrpc@10.0.2: {} + + vscode-languageserver-protocol@3.18.7: + dependencies: + vscode-jsonrpc: 10.0.2 + vscode-languageserver-types: 3.18.6 + + vscode-languageserver-textdocument@1.0.16: {} + + vscode-languageserver-types@3.18.6: {} + + vscode-uri@3.2.0: {} + vue-bundle-renderer@2.5.0: dependencies: ufo: 1.6.4 @@ -15211,6 +15284,12 @@ snapshots: - unloader - webpack + vue-tsc@3.3.14(typescript@5.9.3): + dependencies: + '@volar/typescript': 2.4.30(typescript@5.9.3) + '@vue/language-core': 3.3.14 + typescript: 5.9.3 + vue@3.5.45(typescript@5.9.3): dependencies: '@vue/compiler-dom': 3.5.45 diff --git a/strr-strata-web/app/pages/strata-hotel/dashboard/[applicationId].vue b/strr-strata-web/app/pages/strata-hotel/dashboard/[applicationId].vue index 83292df5a..ac2785c7f 100644 --- a/strr-strata-web/app/pages/strata-hotel/dashboard/[applicationId].vue +++ b/strr-strata-web/app/pages/strata-hotel/dashboard/[applicationId].vue @@ -78,7 +78,7 @@ const getRenewalToDo = async (): Promise => { }) } - if (hasRenewalDraft) { + if (hasRenewalDraft && renewalDraftId) { renewalTodos.push({ id: 'todo-renewal-draft', title: t('todos.renewalDraft.title'), @@ -110,7 +110,7 @@ const getRenewalToDo = async (): Promise => { }) } - if (hasRenewalPaymentPending) { + if (hasRenewalPaymentPending && renewalPaymentPendingId) { renewalTodos.push({ id: 'todo-renewal-payment-pending', title: t('todos.renewalPayment.title'), diff --git a/strr-strata-web/package.json b/strr-strata-web/package.json index 22edd159b..ef9cf4d51 100644 --- a/strr-strata-web/package.json +++ b/strr-strata-web/package.json @@ -2,7 +2,7 @@ "name": "strr-strata-web", "private": true, "type": "module", - "version": "1.2.16", + "version": "1.2.17", "engines": { "node": ">=24" }, @@ -15,6 +15,7 @@ "postinstall": "nuxt prepare", "lint": "eslint --ext .ts,.vue app tests --ignore-path .gitignore", "lint:fix": "pnpm lint --fix", + "typecheck": "nuxi typecheck", "test": "vitest --dir tests/unit --coverage && cp ./tests/coverage/clover.xml ./coverage.xml", "test:unit": "vitest --dir tests/unit", "test:unit:bun": "bunx --bun vitest --dir tests/unit", @@ -45,7 +46,8 @@ "playwright-core": "^1.49.1", "sass": "^1.97.0", "typescript": "^5.9.3", - "vitest": "4.1.12" + "vitest": "4.1.12", + "vue-tsc": "^3.3.14" }, "dependencies": { "@daxiom/nuxt-core-layer-test": "^0.0.29", diff --git a/strr-strata-web/pnpm-lock.yaml b/strr-strata-web/pnpm-lock.yaml index 783fbe15c..fa48a18ae 100644 --- a/strr-strata-web/pnpm-lock.yaml +++ b/strr-strata-web/pnpm-lock.yaml @@ -18,13 +18,13 @@ importers: dependencies: '@daxiom/nuxt-core-layer-test': specifier: ^0.0.29 - version: 0.0.29(136bdb20fa6c5505fef4a7ff7ac1bacc) + version: 0.0.29(eabd71c1e2263842b34be1be39b2414f) country-codes-list: specifier: ^2.0.0 version: 2.0.0 nuxt: specifier: 4.6.4 - version: 4.6.4(@babel/plugin-syntax-jsx@7.28.6(@babel/core@7.29.13))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.13))(@oxc-project/types@0.156.0)(@parcel/watcher@2.5.6)(@types/node@25.5.0)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.19.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.0)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.3(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.98.0)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1) + version: 4.6.4(@babel/plugin-syntax-jsx@7.28.6(@babel/core@7.29.13))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.13))(@oxc-project/types@0.156.0)(@parcel/watcher@2.5.6)(@types/node@25.5.0)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.19.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.0)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.3(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.98.0)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(vue-tsc@3.3.14(typescript@5.9.3))(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1) uuid: specifier: ^11.1.1 version: 11.1.1 @@ -52,7 +52,7 @@ importers: version: 2.2.1(@nuxt/schema@4.6.4)(@types/node@26.6.6)(confbox@0.3.2)(dotenv@17.4.0)(giget@3.3.1)(jiti@2.7.0)(magic-string@1.4.5)(mlly@1.8.2)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(rolldown@1.2.19)(unplugin@3.7.0(esbuild@0.28.2)(rolldown@1.2.19)(rollup@4.68.7)(vite@8.3.8)(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33)))(unstorage@1.17.6(db0@0.3.4)(ioredis@5.11.1)) '@nuxt/test-utils': specifier: 4.4.0 - version: 4.4.0(68f1e8a93531005ccd7e4bdd0e27e7c3) + version: 4.4.0(ffc32423b6b94352a2663cf02fb498e3) '@nuxtjs/eslint-config-typescript': specifier: ^12.1.0 version: 12.1.0(eslint@8.57.1)(typescript@5.9.3) @@ -104,6 +104,9 @@ importers: vitest: specifier: 4.1.12 version: 4.1.12(@types/node@25.5.0)(@vitest/coverage-v8@4.1.12)(happy-dom@21.0.4)(vite@8.3.8) + vue-tsc: + specifier: ^3.3.14 + version: 3.3.14(typescript@5.9.3) packages: @@ -2835,6 +2838,28 @@ packages: '@vitest/utils@4.1.12': resolution: {integrity: sha512-Q3awXrwOfEV+qc3WmO5ONyE0yO7Q1gQ9/oyHxGLZ/pl7N3NO/ZztqQwKLuwMkV+CA1JYSIeO3gkHnRDIo4AVaA==} + '@volar/language-core@2.4.30': + resolution: {integrity: sha512-73fjwEV8wat6aOZ6U/y/hqtE30ocrIWECg67b0txGczOMNw+MffLmvJ5fnFfN9drVUEYZzLdaNo6VAy6G6avMw==} + + '@volar/language-service@2.4.30': + resolution: {integrity: sha512-w/xDsASiqC71ggCOm7sTDXDNk/l72XEptodeRC68tgZ0e5QM4hM3zAqBGC7mBctvhrpYwKfMG+t9xcUo2hEFtA==} + peerDependencies: + typescript: <7 + peerDependenciesMeta: + typescript: + optional: true + + '@volar/source-map@2.4.30': + resolution: {integrity: sha512-zym1ob/KwDDyN+0jGVtxwbxJSRRnUvv5HspCtz3yEfVVdCG4/dzxJktMGPAgemqRuVs81O0o/y0q3qOUErR8kg==} + + '@volar/typescript@2.4.30': + resolution: {integrity: sha512-/DgA5tgYFPfrLFuSjIMXMGHk1LQv2+P8eny6+BhGNzFJELWIW7UZlc56ZLIRFhLsPpMfIFxM8/HvOPBggrjTZg==} + peerDependencies: + typescript: <7 + peerDependenciesMeta: + typescript: + optional: true + '@vue-macros/common@3.1.4': resolution: {integrity: sha512-/5Fv+6DgIcM9ajY05ZmKBv+LMX1M9A0X+IUwDRVdt67ciw8OV9bvG2r34p3RiEadlsQybjhKPRKNXDC8Bp23cw==} engines: {node: '>=20.19.0'} @@ -2907,6 +2932,9 @@ packages: '@vue/devtools-shared@8.2.1': resolution: {integrity: sha512-Fkac7lUdGReh6pVOi3AYPRGe82LQqRmAfThW7RRligOAP0ZA/Z1z9XLHDM9dv34pV2HRc79DK8uKPeG2fLnA/g==} + '@vue/language-core@3.3.14': + resolution: {integrity: sha512-kRB+3hHg0c+BdD1XLAvwjVMQd5pC05zijSlPDRI3ERvC/s04JlRs5upy2KjeMg/9m9oD5zuMVh9yVvkKfZqoJg==} + '@vue/reactivity@3.5.45': resolution: {integrity: sha512-WqkyubNWpI4OYBOipSrjIssMdJO8K1i9Zts/Wm8Er10/0msOEwCyWWWvZnAI7WW3kQsTong6DJp8Cbb+vd4cPA==} @@ -3125,6 +3153,9 @@ packages: ajv@8.20.0: resolution: {integrity: sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==} + alien-signals@3.2.1: + resolution: {integrity: sha512-I8FjmltrfnDFoZedi5CG8DghVYNhzb/Ijluz7tCSJH0xpd0484Kowhbb1XDYOxfJpU1p5wnM2X54dA+IfGyD1g==} + ansi-regex@5.0.1: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} engines: {node: '>=8'} @@ -5559,6 +5590,9 @@ packages: resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==} engines: {node: '>= 0.8'} + path-browserify@1.0.1: + resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==} + path-exists@4.0.0: resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} engines: {node: '>=8'} @@ -7106,6 +7140,22 @@ packages: jsdom: optional: true + vscode-jsonrpc@10.0.2: + resolution: {integrity: sha512-U6K7wa1t8jTZf7eoHJLKSNdHE0oi9r/+/4TSXWPSLQ2FSQVMYLR5TvzQHrYjwW/lLjq0eTm+pi8vWz4jSV7o4w==} + engines: {node: '>=14.17.0'} + + vscode-languageserver-protocol@3.18.7: + resolution: {integrity: sha512-5oItSZDTTehe0zXzwJCFUMso6RfUb2FWVTFfQxAesV3nTbkY1hjW3O6q8872M9TACEXFcALaU5xU37sGudYI8g==} + + vscode-languageserver-textdocument@1.0.16: + resolution: {integrity: sha512-qeNEuOi9a3qkqRf7Gfez2WL2VwlBTLCNekHBGO9kxPVUp9XuY15yfTJ9jwvOwKI0I2MhUUfZq95NSp+LK1CLQg==} + + vscode-languageserver-types@3.18.6: + resolution: {integrity: sha512-DEDtik4YupS+nOg4JxqJ2H5ec/m4tTD9a5mGcBVGYkQKZQo1AIF3ZToiP8+A0kUzyhyqX5dMnPDEnhtmzts7GA==} + + vscode-uri@3.2.0: + resolution: {integrity: sha512-m2gXo3bn0G1kT9InzMf07fTbqMbGtyckj3bH5ktLO+1Ssv+yiATZ4dhwaQv9UZWxJh6E9IFGnQyjgWVDWVBDrg==} + vue-bundle-renderer@2.5.0: resolution: {integrity: sha512-1dFEyECSjbpSXjblL5b7T/JWtxsABoSgmYaCrxih5Khuy67AOjd7YZnaaqQTzggy12glZl85zSjJ2utuJa8/nA==} @@ -7171,6 +7221,12 @@ packages: vite: optional: true + vue-tsc@3.3.14: + resolution: {integrity: sha512-URAu2H9AuMZMg9GCgnqbaHHHd8pBZRAwNV2e2yYS8VDsoTVXHiOSo663OS6DkEvauQ2yixn5TPFJ9WV9QIspkA==} + hasBin: true + peerDependencies: + typescript: '>=5.0.0' + vue@3.5.45: resolution: {integrity: sha512-3cvsib8m9c0vB24+MDKsgcW4+Da4xaBl9Z/5Tbm2pmSIsRPxcil4cdXjXlVsmJ2g64XJo5h+IRd7rsdGT9pZaw==} peerDependencies: @@ -7722,13 +7778,13 @@ snapshots: dependencies: postcss-selector-parser: 7.2.1 - '@daxiom/nuxt-core-layer-test@0.0.29(136bdb20fa6c5505fef4a7ff7ac1bacc)': + '@daxiom/nuxt-core-layer-test@0.0.29(eabd71c1e2263842b34be1be39b2414f)': dependencies: '@iconify-json/mdi': 1.2.3 '@nuxt/ui': 2.22.3(magic-string@1.4.5)(magicast@0.5.5)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(rolldown@1.2.19)(unplugin@3.7.0(esbuild@0.28.2)(rolldown@1.2.19)(rollup@4.68.7)(vite@8.3.8)(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33)))(vite@8.3.8)(vue@3.5.45(typescript@5.9.3))(yaml@2.9.1)(zod@3.25.76) '@nuxtjs/i18n': 10.2.4(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2)(@vue/compiler-dom@3.5.45)(db0@0.3.4)(esbuild@0.28.2)(ioredis@5.11.1)(magicast@0.5.5)(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup@4.68.7)(typescript@5.9.3)(vite@8.3.8)(vue@3.5.45(typescript@5.9.3))(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33)) '@pinia/nuxt': 0.11.3(magic-string@1.4.5)(magicast@0.5.5)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(unplugin@3.7.0(esbuild@0.28.2)(rolldown@1.2.19)(rollup@4.68.7)(vite@8.3.8)(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))) - '@vueuse/nuxt': 13.9.0(magicast@0.5.5)(nuxt@4.6.4(@babel/plugin-syntax-jsx@7.28.6(@babel/core@7.29.13))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.13))(@oxc-project/types@0.156.0)(@parcel/watcher@2.5.6)(@types/node@25.5.0)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.19.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.0)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.3(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.98.0)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1))(vue@3.5.45(typescript@5.9.3)) + '@vueuse/nuxt': 13.9.0(magicast@0.5.5)(nuxt@4.6.4(@babel/plugin-syntax-jsx@7.28.6(@babel/core@7.29.13))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.13))(@oxc-project/types@0.156.0)(@parcel/watcher@2.5.6)(@types/node@25.5.0)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.19.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.0)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.3(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.98.0)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(vue-tsc@3.3.14(typescript@5.9.3))(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1))(vue@3.5.45(typescript@5.9.3)) dompurify: 3.4.18 jsdom: 26.1.0 keycloak-js: 26.2.3 @@ -8962,7 +9018,7 @@ snapshots: - magic-string - unplugin - '@nuxt/nitro-server@4.6.4(6369cfe1fb41c72e88089a0f36cb7f9c)': + '@nuxt/nitro-server@4.6.4(f21a5601d69285ba07897c37acaaaebb)': dependencies: '@nuxt/kit': 4.6.4(@nuxt/schema@4.6.4)(confbox@0.3.2)(dotenv@17.4.0)(giget@3.3.1)(jiti@2.7.0)(magic-string@1.4.5)(mlly@1.8.2)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(rolldown@1.2.19)(unplugin@3.7.0(esbuild@0.28.2)(rolldown@1.2.19)(rollup@4.68.7)(vite@8.3.8)(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))) '@unhead/vue': 3.4.3(@oxc-project/types@0.156.0)(esbuild@0.28.2)(lightningcss@1.33.0)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(rolldown@1.2.19)(rollup@4.68.7)(vite@8.3.8)(vue@3.5.45(typescript@5.9.3))(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33)) @@ -8981,7 +9037,7 @@ snapshots: my-bad: 0.2.12(vite@8.3.8) nitropack: 2.13.6(@parcel/watcher@2.5.6)(bare-buffer@3.7.3)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(rolldown@1.2.19)(srvx@1.0.8)(vite@8.3.8)(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33)) nostics: 1.4.0 - nuxt: 4.6.4(@babel/plugin-syntax-jsx@7.28.6(@babel/core@7.29.13))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.13))(@oxc-project/types@0.156.0)(@parcel/watcher@2.5.6)(@types/node@25.5.0)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.19.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.0)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.3(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.98.0)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1) + nuxt: 4.6.4(@babel/plugin-syntax-jsx@7.28.6(@babel/core@7.29.13))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.13))(@oxc-project/types@0.156.0)(@parcel/watcher@2.5.6)(@types/node@25.5.0)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.19.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.0)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.3(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.98.0)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(vue-tsc@3.3.14(typescript@5.9.3))(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1) ohash: 2.0.12 pathe: 2.0.3 radix3: 1.1.2 @@ -9122,7 +9178,7 @@ snapshots: - vite - webpack - '@nuxt/test-utils@4.4.0(68f1e8a93531005ccd7e4bdd0e27e7c3)': + '@nuxt/test-utils@4.4.0(ffc32423b6b94352a2663cf02fb498e3)': dependencies: '@clack/prompts': 1.8.1 '@nuxt/devtools-kit': 3.4.4(@nuxt/schema@4.6.4)(confbox@0.3.2)(dotenv@17.4.0)(giget@3.3.1)(jiti@2.7.0)(magic-string@1.4.5)(mlly@1.8.2)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(rolldown@1.2.19)(unplugin@3.7.0(esbuild@0.28.2)(rolldown@1.2.19)(rollup@4.68.7)(vite@8.3.8)(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33)))(vite@8.3.8) @@ -9151,7 +9207,7 @@ snapshots: '@vue/test-utils': 2.6.0(@vue/compiler-dom@3.5.45)(@vue/server-renderer@3.5.45)(vue@3.5.45(typescript@5.9.3)) h3: 2.0.8(crossws@0.4.17(srvx@1.0.8)) happy-dom: 21.0.4 - nuxt: 4.6.4(@babel/plugin-syntax-jsx@7.28.6(@babel/core@7.29.13))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.13))(@oxc-project/types@0.156.0)(@parcel/watcher@2.5.6)(@types/node@25.5.0)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.19.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.0)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.3(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.98.0)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1) + nuxt: 4.6.4(@babel/plugin-syntax-jsx@7.28.6(@babel/core@7.29.13))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.13))(@oxc-project/types@0.156.0)(@parcel/watcher@2.5.6)(@types/node@25.5.0)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.19.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.0)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.3(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.98.0)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(vue-tsc@3.3.14(typescript@5.9.3))(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1) playwright-core: 1.59.1 vitest: 4.1.12(@types/node@25.5.0)(@vitest/coverage-v8@4.1.12)(happy-dom@21.0.4)(vite@8.3.8) transitivePeerDependencies: @@ -9227,7 +9283,7 @@ snapshots: - vue - yaml - '@nuxt/vite-builder@4.6.4(6d52729b56d2e7966141f7bba6595ad4)': + '@nuxt/vite-builder@4.6.4(7ef848067d843343b8aa5ee1f8435b87)': dependencies: '@nuxt/kit': 4.6.4(@nuxt/schema@4.6.4)(confbox@0.3.2)(dotenv@17.4.0)(giget@3.3.1)(jiti@2.7.0)(magic-string@1.4.5)(mlly@1.8.2)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(rolldown@1.2.19)(unplugin@3.7.0(esbuild@0.28.2)(rolldown@1.2.19)(rollup@4.68.7)(vite@8.3.8)(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))) '@vitejs/plugin-vue': 6.0.11(patch_hash=0e6759155e0cea48506bb8b21cf73db27f2a5cb8cd36659a4bd67ed7dbff1be3)(vite@8.3.8)(vue@3.5.45(typescript@5.9.3)) @@ -9245,7 +9301,7 @@ snapshots: knitwork: 1.3.0 mocked-exports: 0.1.1 my-bad: 0.2.12(vite@8.3.8) - nuxt: 4.6.4(@babel/plugin-syntax-jsx@7.28.6(@babel/core@7.29.13))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.13))(@oxc-project/types@0.156.0)(@parcel/watcher@2.5.6)(@types/node@25.5.0)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.19.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.0)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.3(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.98.0)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1) + nuxt: 4.6.4(@babel/plugin-syntax-jsx@7.28.6(@babel/core@7.29.13))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.13))(@oxc-project/types@0.156.0)(@parcel/watcher@2.5.6)(@types/node@25.5.0)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.19.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.0)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.3(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.98.0)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(vue-tsc@3.3.14(typescript@5.9.3))(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1) pathe: 2.0.3 pkg-types: 2.4.0 postcss: 8.5.33 @@ -9256,7 +9312,7 @@ snapshots: unenv: 2.0.0-rc.24 vite: 8.3.8(patch_hash=78df5d5774b72ccace177e2a78a934809711e97d646190660aee9b3d359bb9f4)(@types/node@25.5.0)(@vitejs/devtools@0.8.3)(esbuild@0.28.2)(jiti@2.7.0)(sass@1.98.0)(terser@5.51.2)(yaml@2.9.1) vite-node: 6.0.0(@types/node@25.5.0)(@vitejs/devtools@0.8.3)(esbuild@0.28.2)(jiti@2.7.0)(sass@1.98.0)(terser@5.51.2)(yaml@2.9.1) - vite-plugin-checker: 0.14.5(eslint@8.57.1)(optionator@0.9.4)(typescript@5.9.3)(vite@8.3.8) + vite-plugin-checker: 0.14.5(eslint@8.57.1)(optionator@0.9.4)(typescript@5.9.3)(vite@8.3.8)(vue-tsc@3.3.14(typescript@5.9.3)) vue: 3.5.45(typescript@5.9.3) vue-bundle-renderer: 2.5.0 optionalDependencies: @@ -9294,7 +9350,7 @@ snapshots: - vue-tsc - yaml - '@nuxt/vite-server@4.6.4(a170c3c29d7779f501bc152f21faa8b2)': + '@nuxt/vite-server@4.6.4(8f53c95b9410ea896195fa0c40a98bc4)': dependencies: '@nuxt/kit': 4.6.4(@nuxt/schema@4.6.4)(confbox@0.3.2)(dotenv@17.4.0)(giget@3.3.1)(jiti@2.7.0)(magic-string@1.4.5)(mlly@1.8.2)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(rolldown@1.2.19)(unplugin@3.7.0(esbuild@0.28.2)(rolldown@1.2.19)(rollup@4.68.7)(vite@8.3.8)(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))) clickable-path: 0.1.1 @@ -9302,7 +9358,7 @@ snapshots: exsolve: 1.2.0 mocked-exports: 0.1.1 my-bad: 0.2.12(vite@8.3.8) - nuxt: 4.6.4(@babel/plugin-syntax-jsx@7.28.6(@babel/core@7.29.13))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.13))(@oxc-project/types@0.156.0)(@parcel/watcher@2.5.6)(@types/node@25.5.0)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.19.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.0)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.3(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.98.0)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1) + nuxt: 4.6.4(@babel/plugin-syntax-jsx@7.28.6(@babel/core@7.29.13))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.13))(@oxc-project/types@0.156.0)(@parcel/watcher@2.5.6)(@types/node@25.5.0)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.19.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.0)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.3(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.98.0)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(vue-tsc@3.3.14(typescript@5.9.3))(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1) pathe: 2.0.3 rou3: 0.9.2 srvx: 1.0.5 @@ -9833,7 +9889,7 @@ snapshots: dependencies: '@types/estree': 1.0.9 estree-walker: 2.0.2 - picomatch: 4.0.5 + picomatch: 4.0.7 optionalDependencies: rollup: 4.68.7 @@ -10448,6 +10504,30 @@ snapshots: convert-source-map: 2.0.0 tinyrainbow: 3.1.1 + '@volar/language-core@2.4.30': + dependencies: + '@volar/source-map': 2.4.30 + + '@volar/language-service@2.4.30(typescript@5.9.3)': + dependencies: + '@volar/language-core': 2.4.30 + vscode-languageserver-protocol: 3.18.7 + vscode-languageserver-textdocument: 1.0.16 + vscode-uri: 3.2.0 + optionalDependencies: + typescript: 5.9.3 + + '@volar/source-map@2.4.30': {} + + '@volar/typescript@2.4.30(typescript@5.9.3)': + dependencies: + '@volar/language-core': 2.4.30 + '@volar/language-service': 2.4.30(typescript@5.9.3) + path-browserify: 1.0.1 + vscode-uri: 3.2.0 + optionalDependencies: + typescript: 5.9.3 + '@vue-macros/common@3.1.4(vue@3.5.45(typescript@5.9.3))': dependencies: '@vue/compiler-sfc': 3.5.45 @@ -10571,6 +10651,16 @@ snapshots: '@vue/devtools-shared@8.2.1': {} + '@vue/language-core@3.3.14': + dependencies: + '@volar/language-core': 2.4.30 + '@vue/compiler-dom': 3.5.45 + '@vue/shared': 3.5.45 + alien-signals: 3.2.1 + muggle-string: 0.4.1 + path-browserify: 1.0.1 + picomatch: 4.0.7 + '@vue/reactivity@3.5.45': dependencies: '@vue/shared': 3.5.45 @@ -10626,13 +10716,13 @@ snapshots: '@vueuse/metadata@13.9.0': {} - '@vueuse/nuxt@13.9.0(magicast@0.5.5)(nuxt@4.6.4(@babel/plugin-syntax-jsx@7.28.6(@babel/core@7.29.13))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.13))(@oxc-project/types@0.156.0)(@parcel/watcher@2.5.6)(@types/node@25.5.0)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.19.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.0)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.3(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.98.0)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1))(vue@3.5.45(typescript@5.9.3))': + '@vueuse/nuxt@13.9.0(magicast@0.5.5)(nuxt@4.6.4(@babel/plugin-syntax-jsx@7.28.6(@babel/core@7.29.13))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.13))(@oxc-project/types@0.156.0)(@parcel/watcher@2.5.6)(@types/node@25.5.0)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.19.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.0)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.3(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.98.0)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(vue-tsc@3.3.14(typescript@5.9.3))(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1))(vue@3.5.45(typescript@5.9.3))': dependencies: '@nuxt/kit': 3.21.11(magicast@0.5.5) '@vueuse/core': 13.9.0(vue@3.5.45(typescript@5.9.3)) '@vueuse/metadata': 13.9.0 local-pkg: 1.2.1 - nuxt: 4.6.4(@babel/plugin-syntax-jsx@7.28.6(@babel/core@7.29.13))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.13))(@oxc-project/types@0.156.0)(@parcel/watcher@2.5.6)(@types/node@25.5.0)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.19.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.0)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.3(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.98.0)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1) + nuxt: 4.6.4(@babel/plugin-syntax-jsx@7.28.6(@babel/core@7.29.13))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.13))(@oxc-project/types@0.156.0)(@parcel/watcher@2.5.6)(@types/node@25.5.0)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.19.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.0)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.3(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.98.0)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(vue-tsc@3.3.14(typescript@5.9.3))(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1) vue: 3.5.45(typescript@5.9.3) transitivePeerDependencies: - magicast @@ -10791,6 +10881,8 @@ snapshots: json-schema-traverse: 1.0.0 require-from-string: 2.0.2 + alien-signals@3.2.1: {} + ansi-regex@5.0.1: {} ansi-regex@6.6.0: {} @@ -13275,7 +13367,7 @@ snapshots: nuxt-define@1.0.0: {} - nuxt@4.6.4(@babel/plugin-syntax-jsx@7.28.6(@babel/core@7.29.13))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.13))(@oxc-project/types@0.156.0)(@parcel/watcher@2.5.6)(@types/node@25.5.0)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.19.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.0)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.3(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.98.0)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1): + nuxt@4.6.4(@babel/plugin-syntax-jsx@7.28.6(@babel/core@7.29.13))(@babel/plugin-syntax-typescript@7.29.7(@babel/core@7.29.13))(@oxc-project/types@0.156.0)(@parcel/watcher@2.5.6)(@types/node@25.5.0)(@vitejs/devtools@0.8.3)(@vue/compiler-sfc@3.5.45)(acorn@8.19.0)(bare-buffer@3.7.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.0)(esbuild@0.28.2)(eslint@8.57.1)(giget@3.3.1)(ioredis@5.11.1)(lightningcss@1.33.0)(mlly@1.8.2)(optionator@0.9.4)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(pinia@3.0.4(typescript@5.9.3)(vue@3.5.45(typescript@5.9.3)))(rolldown@1.2.19)(rollup-plugin-visualizer@7.1.3(rolldown@1.2.19)(rollup@4.68.7))(rollup@4.68.7)(sass@1.98.0)(srvx@1.0.8)(terser@5.51.2)(typescript@5.9.3)(vite@8.3.8)(vue-tsc@3.3.14(typescript@5.9.3))(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))(yaml@2.9.1): dependencies: '@dxup/nuxt': 0.5.11(@nuxt/schema@4.6.4)(confbox@0.3.2)(dotenv@17.4.0)(esbuild@0.28.2)(giget@3.3.1)(jiti@2.7.0)(mlly@1.8.2)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(rolldown@1.2.19)(rollup@4.68.7)(vite@8.3.8)(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33)) '@jridgewell/trace-mapping': 0.3.31 @@ -13283,11 +13375,11 @@ snapshots: '@nuxt/devalue': 2.0.2 '@nuxt/devtools': 3.4.4(@nuxt/schema@4.6.4)(@vitejs/devtools@0.8.3)(confbox@0.3.2)(db0@0.3.4)(dotenv@17.4.0)(giget@3.3.1)(ioredis@5.11.1)(jiti@2.7.0)(magic-string@1.4.5)(mlly@1.8.2)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(rolldown@1.2.19)(unplugin@3.7.0(esbuild@0.28.2)(rolldown@1.2.19)(rollup@4.68.7)(vite@8.3.8)(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33)))(vite@8.3.8)(vue@3.5.45(typescript@5.9.3)) '@nuxt/kit': 4.6.4(@nuxt/schema@4.6.4)(confbox@0.3.2)(dotenv@17.4.0)(giget@3.3.1)(jiti@2.7.0)(magic-string@1.4.5)(mlly@1.8.2)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(rolldown@1.2.19)(unplugin@3.7.0(esbuild@0.28.2)(rolldown@1.2.19)(rollup@4.68.7)(vite@8.3.8)(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33))) - '@nuxt/nitro-server': 4.6.4(6369cfe1fb41c72e88089a0f36cb7f9c) + '@nuxt/nitro-server': 4.6.4(f21a5601d69285ba07897c37acaaaebb) '@nuxt/schema': 4.6.4 '@nuxt/telemetry': 2.9.1(@nuxt/kit@4.6.4(@nuxt/schema@4.6.4)(confbox@0.3.2)(dotenv@17.4.0)(giget@3.3.1)(jiti@2.7.0)(magic-string@1.4.5)(mlly@1.8.2)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(rolldown@1.2.19)(unplugin@3.7.0(esbuild@0.28.2)(rolldown@1.2.19)(rollup@4.68.7)(vite@8.3.8)(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33)))) - '@nuxt/vite-builder': 4.6.4(6d52729b56d2e7966141f7bba6595ad4) - '@nuxt/vite-server': 4.6.4(a170c3c29d7779f501bc152f21faa8b2) + '@nuxt/vite-builder': 4.6.4(7ef848067d843343b8aa5ee1f8435b87) + '@nuxt/vite-server': 4.6.4(8f53c95b9410ea896195fa0c40a98bc4) '@unhead/vue': 3.4.3(@oxc-project/types@0.156.0)(esbuild@0.28.2)(lightningcss@1.33.0)(oxc-parser@0.112.0(@emnapi/core@2.0.0-beta.2)(@emnapi/runtime@2.0.0-beta.2))(rolldown@1.2.19)(rollup@4.68.7)(vite@8.3.8)(vue@3.5.45(typescript@5.9.3))(webpack@5.105.4(esbuild@0.28.2)(lightningcss@1.33.0)(postcss@8.5.33)) '@vue/shared': 3.5.45 chokidar: 5.0.0 @@ -13672,6 +13764,8 @@ snapshots: parseurl@1.3.3: {} + path-browserify@1.0.1: {} + path-exists@4.0.0: {} path-is-absolute@1.0.1: {} @@ -15023,7 +15117,7 @@ snapshots: - tsx - yaml - vite-plugin-checker@0.14.5(eslint@8.57.1)(optionator@0.9.4)(typescript@5.9.3)(vite@8.3.8): + vite-plugin-checker@0.14.5(eslint@8.57.1)(optionator@0.9.4)(typescript@5.9.3)(vite@8.3.8)(vue-tsc@3.3.14(typescript@5.9.3)): dependencies: '@babel/code-frame': 7.29.7 chokidar: 5.0.0 @@ -15037,6 +15131,7 @@ snapshots: eslint: 8.57.1 optionator: 0.9.4 typescript: 5.9.3 + vue-tsc: 3.3.14(typescript@5.9.3) vite-plugin-eslint@1.8.1(eslint@8.57.1)(vite@8.3.8): dependencies: @@ -15185,6 +15280,19 @@ snapshots: transitivePeerDependencies: - msw + vscode-jsonrpc@10.0.2: {} + + vscode-languageserver-protocol@3.18.7: + dependencies: + vscode-jsonrpc: 10.0.2 + vscode-languageserver-types: 3.18.6 + + vscode-languageserver-textdocument@1.0.16: {} + + vscode-languageserver-types@3.18.6: {} + + vscode-uri@3.2.0: {} + vue-bundle-renderer@2.5.0: dependencies: ufo: 1.6.4 @@ -15291,6 +15399,12 @@ snapshots: - unloader - webpack + vue-tsc@3.3.14(typescript@5.9.3): + dependencies: + '@volar/typescript': 2.4.30(typescript@5.9.3) + '@vue/language-core': 3.3.14 + typescript: 5.9.3 + vue@3.5.45(typescript@5.9.3): dependencies: '@vue/compiler-dom': 3.5.45