From b97746c8a6989eb29caeb3c2bb87b5d36ae30fd6 Mon Sep 17 00:00:00 2001 From: StudioCMS Date: Sun, 24 Nov 2024 01:32:22 +0000 Subject: [PATCH] [ci] lint --- packages/studiocms_auth/virtuals.d.ts | 13 +++++++++---- packages/studiocms_blog/virt-dev.d.ts | 13 +++++++++---- packages/studiocms_dashboard/virtuals.d.ts | 17 ++++++++++++----- packages/studiocms_frontend/virtuals.d.ts | 13 +++++++++---- packages/studiocms_renderers/virtuals.d.ts | 13 +++++++++---- packages/studiocms_ui/src/layouts/index.ts | 2 +- 6 files changed, 49 insertions(+), 22 deletions(-) diff --git a/packages/studiocms_auth/virtuals.d.ts b/packages/studiocms_auth/virtuals.d.ts index 57e710ffe..f8d974bf6 100644 --- a/packages/studiocms_auth/virtuals.d.ts +++ b/packages/studiocms_auth/virtuals.d.ts @@ -55,8 +55,9 @@ declare module 'studiocms:helpers/contentHelper' { export const getUserList: typeof import('@studiocms/core/helpers').getUserList; export const getUserById: typeof import('@studiocms/core/helpers').getUserById; export const getPermissionsList: typeof import('@studiocms/core/helpers').getPermissionsList; - export type ContentHelperTempResponse = - import('@studiocms/core/helpers').ContentHelperTempResponse; + export type ContentHelperTempResponse = import( + '@studiocms/core/helpers' + ).ContentHelperTempResponse; export type SiteConfigResponse = import('@studiocms/core/helpers').SiteConfigResponse; export type pageDataReponse = import('@studiocms/core/helpers').pageDataReponse; export type UserResponse = import('@studiocms/core/helpers').UserResponse; @@ -70,9 +71,13 @@ declare module 'studiocms:helpers/routemap' { export const getSluggedRoute: typeof import('@studiocms/core/helpers').getSluggedRoute; export const getEditRoute: typeof import('@studiocms/core/helpers').getEditRoute; export const getDeleteRoute: typeof import('@studiocms/core/helpers').getDeleteRoute; - export const makeNonDashboardRoute: typeof import('@studiocms/core/helpers').makeNonDashboardRoute; + export const makeNonDashboardRoute: typeof import( + '@studiocms/core/helpers' + ).makeNonDashboardRoute; export const makeDashboardRoute: typeof import('@studiocms/core/helpers').makeDashboardRoute; - export const makeAPIDashboardRoute: typeof import('@studiocms/core/helpers').makeAPIDashboardRoute; + export const makeAPIDashboardRoute: typeof import( + '@studiocms/core/helpers' + ).makeAPIDashboardRoute; export const StudioCMSRoutes: typeof import('@studiocms/core/helpers').StudioCMSRoutes; export const sideBarLinkMap: typeof import('@studiocms/core/helpers').sideBarLinkMap; } diff --git a/packages/studiocms_blog/virt-dev.d.ts b/packages/studiocms_blog/virt-dev.d.ts index 6d2f764f0..9fa9fd85a 100644 --- a/packages/studiocms_blog/virt-dev.d.ts +++ b/packages/studiocms_blog/virt-dev.d.ts @@ -27,8 +27,9 @@ declare module 'studiocms:helpers/contentHelper' { export const getPageList: typeof import('@studiocms/core/helpers').getPageList; export const getUserList: typeof import('@studiocms/core/helpers').getUserList; export const getUserById: typeof import('@studiocms/core/helpers').getUserById; - export type ContentHelperTempResponse = - import('@studiocms/core/helpers').ContentHelperTempResponse; + export type ContentHelperTempResponse = import( + '@studiocms/core/helpers' + ).ContentHelperTempResponse; export type SiteConfigResponse = import('@studiocms/core/helpers').SiteConfigResponse; export type pageDataReponse = import('@studiocms/core/helpers').pageDataReponse; export type UserResponse = import('@studiocms/core/helpers').UserResponse; @@ -42,9 +43,13 @@ declare module 'studiocms:helpers/routemap' { export const getSluggedRoute: typeof import('@studiocms/core/helpers').getSluggedRoute; export const getEditRoute: typeof import('@studiocms/core/helpers').getEditRoute; export const getDeleteRoute: typeof import('@studiocms/core/helpers').getDeleteRoute; - export const makeNonDashboardRoute: typeof import('@studiocms/core/helpers').makeNonDashboardRoute; + export const makeNonDashboardRoute: typeof import( + '@studiocms/core/helpers' + ).makeNonDashboardRoute; export const makeDashboardRoute: typeof import('@studiocms/core/helpers').makeDashboardRoute; - export const makeAPIDashboardRoute: typeof import('@studiocms/core/helpers').makeAPIDashboardRoute; + export const makeAPIDashboardRoute: typeof import( + '@studiocms/core/helpers' + ).makeAPIDashboardRoute; export const StudioCMSRoutes: typeof import('@studiocms/core/helpers').StudioCMSRoutes; export const sideBarLinkMap: typeof import('@studiocms/core/helpers').sideBarLinkMap; } diff --git a/packages/studiocms_dashboard/virtuals.d.ts b/packages/studiocms_dashboard/virtuals.d.ts index 31400319d..33bce8ce0 100644 --- a/packages/studiocms_dashboard/virtuals.d.ts +++ b/packages/studiocms_dashboard/virtuals.d.ts @@ -69,8 +69,9 @@ declare module 'studiocms:helpers/contentHelper' { export const getUserList: typeof import('@studiocms/core/helpers').getUserList; export const getUserById: typeof import('@studiocms/core/helpers').getUserById; export const getPermissionsList: typeof import('@studiocms/core/helpers').getPermissionsList; - export type ContentHelperTempResponse = - import('@studiocms/core/helpers').ContentHelperTempResponse; + export type ContentHelperTempResponse = import( + '@studiocms/core/helpers' + ).ContentHelperTempResponse; export type SiteConfigResponse = import('@studiocms/core/helpers').SiteConfigResponse; export type pageDataReponse = import('@studiocms/core/helpers').pageDataReponse; export type UserResponse = import('@studiocms/core/helpers').UserResponse; @@ -84,15 +85,21 @@ declare module 'studiocms:helpers/routemap' { export const getSluggedRoute: typeof import('@studiocms/core/helpers').getSluggedRoute; export const getEditRoute: typeof import('@studiocms/core/helpers').getEditRoute; export const getDeleteRoute: typeof import('@studiocms/core/helpers').getDeleteRoute; - export const makeNonDashboardRoute: typeof import('@studiocms/core/helpers').makeNonDashboardRoute; + export const makeNonDashboardRoute: typeof import( + '@studiocms/core/helpers' + ).makeNonDashboardRoute; export const makeDashboardRoute: typeof import('@studiocms/core/helpers').makeDashboardRoute; - export const makeAPIDashboardRoute: typeof import('@studiocms/core/helpers').makeAPIDashboardRoute; + export const makeAPIDashboardRoute: typeof import( + '@studiocms/core/helpers' + ).makeAPIDashboardRoute; export const StudioCMSRoutes: typeof import('@studiocms/core/helpers').StudioCMSRoutes; export const sideBarLinkMap: typeof import('@studiocms/core/helpers').sideBarLinkMap; } declare module 'studiocms:renderer' { - export const StudioCMSRenderer: typeof import('@studiocms/renderers/components').StudioCMSRenderer; + export const StudioCMSRenderer: typeof import( + '@studiocms/renderers/components' + ).StudioCMSRenderer; } declare module 'studiocms-dashboard:web-vitals' { diff --git a/packages/studiocms_frontend/virtuals.d.ts b/packages/studiocms_frontend/virtuals.d.ts index 512860581..c6caba49b 100644 --- a/packages/studiocms_frontend/virtuals.d.ts +++ b/packages/studiocms_frontend/virtuals.d.ts @@ -43,8 +43,9 @@ declare module 'studiocms:helpers/contentHelper' { export const getUserList: typeof import('@studiocms/core/helpers').getUserList; export const getUserById: typeof import('@studiocms/core/helpers').getUserById; export const getPermissionsList: typeof import('@studiocms/core/helpers').getPermissionsList; - export type ContentHelperTempResponse = - import('@studiocms/core/helpers').ContentHelperTempResponse; + export type ContentHelperTempResponse = import( + '@studiocms/core/helpers' + ).ContentHelperTempResponse; export type SiteConfigResponse = import('@studiocms/core/helpers').SiteConfigResponse; export type pageDataReponse = import('@studiocms/core/helpers').pageDataReponse; export type UserResponse = import('@studiocms/core/helpers').UserResponse; @@ -58,9 +59,13 @@ declare module 'studiocms:helpers/routemap' { export const getSluggedRoute: typeof import('@studiocms/core/helpers').getSluggedRoute; export const getEditRoute: typeof import('@studiocms/core/helpers').getEditRoute; export const getDeleteRoute: typeof import('@studiocms/core/helpers').getDeleteRoute; - export const makeNonDashboardRoute: typeof import('@studiocms/core/helpers').makeNonDashboardRoute; + export const makeNonDashboardRoute: typeof import( + '@studiocms/core/helpers' + ).makeNonDashboardRoute; export const makeDashboardRoute: typeof import('@studiocms/core/helpers').makeDashboardRoute; - export const makeAPIDashboardRoute: typeof import('@studiocms/core/helpers').makeAPIDashboardRoute; + export const makeAPIDashboardRoute: typeof import( + '@studiocms/core/helpers' + ).makeAPIDashboardRoute; export const StudioCMSRoutes: typeof import('@studiocms/core/helpers').StudioCMSRoutes; export const sideBarLinkMap: typeof import('@studiocms/core/helpers').sideBarLinkMap; } diff --git a/packages/studiocms_renderers/virtuals.d.ts b/packages/studiocms_renderers/virtuals.d.ts index 75483c50a..d6333d962 100644 --- a/packages/studiocms_renderers/virtuals.d.ts +++ b/packages/studiocms_renderers/virtuals.d.ts @@ -55,8 +55,9 @@ declare module 'studiocms:helpers/contentHelper' { export const getPageList: typeof import('@studiocms/core/helpers').getPageList; export const getUserList: typeof import('@studiocms/core/helpers').getUserList; export const getUserById: typeof import('@studiocms/core/helpers').getUserById; - export type ContentHelperTempResponse = - import('@studiocms/core/helpers').ContentHelperTempResponse; + export type ContentHelperTempResponse = import( + '@studiocms/core/helpers' + ).ContentHelperTempResponse; export type SiteConfigResponse = import('@studiocms/core/helpers').SiteConfigResponse; export type pageDataReponse = import('@studiocms/core/helpers').pageDataReponse; export type UserResponse = import('@studiocms/core/helpers').UserResponse; @@ -70,9 +71,13 @@ declare module 'studiocms:helpers/routemap' { export const getSluggedRoute: typeof import('@studiocms/core/helpers').getSluggedRoute; export const getEditRoute: typeof import('@studiocms/core/helpers').getEditRoute; export const getDeleteRoute: typeof import('@studiocms/core/helpers').getDeleteRoute; - export const makeNonDashboardRoute: typeof import('@studiocms/core/helpers').makeNonDashboardRoute; + export const makeNonDashboardRoute: typeof import( + '@studiocms/core/helpers' + ).makeNonDashboardRoute; export const makeDashboardRoute: typeof import('@studiocms/core/helpers').makeDashboardRoute; - export const makeAPIDashboardRoute: typeof import('@studiocms/core/helpers').makeAPIDashboardRoute; + export const makeAPIDashboardRoute: typeof import( + '@studiocms/core/helpers' + ).makeAPIDashboardRoute; export const StudioCMSRoutes: typeof import('@studiocms/core/helpers').StudioCMSRoutes; export const sideBarLinkMap: typeof import('@studiocms/core/helpers').sideBarLinkMap; } diff --git a/packages/studiocms_ui/src/layouts/index.ts b/packages/studiocms_ui/src/layouts/index.ts index 168712b0a..bcc45d2a9 100644 --- a/packages/studiocms_ui/src/layouts/index.ts +++ b/packages/studiocms_ui/src/layouts/index.ts @@ -1,2 +1,2 @@ export { default as RootLayout } from './RootLayout.astro'; -export { type RootLayoutProps } from './RootLayout.astro'; +export type { RootLayoutProps } from './RootLayout.astro';