Skip to content

Commit

Permalink
chore: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbbreuer committed Feb 4, 2025
1 parent 94b090b commit e7025a7
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
6 changes: 5 additions & 1 deletion storage/framework/browser-auto-imports.json
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,10 @@
"withIndices": true,
"word": true,
"wordBoundary": true,
"wordChar": true
"wordChar": true,
"dateFormat": true,
"format": true,
"now": true,
"parse": true
}
}
2 changes: 1 addition & 1 deletion storage/framework/core/vite-config/src/dashboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const dashboardConfig: ViteConfig = {
VueRouter({
extensions: ['.stx', '.vue', '.md'],
dts: p.frameworkPath('types/dashboard-router.d.ts'),
routesFolder: [p.resourcesPath('views/dashboard')],
routesFolder: [p.resourcesPath('views/dashboard'), p.frameworkPath('defaults/views/dashboard')],
logs: config.app.debug || false,
}),

Expand Down
8 changes: 8 additions & 0 deletions storage/framework/types/browser-auto-imports.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ declare global {
const customRandom: typeof import('../core/browser/src/utils/random')['customRandom']
const customRef: typeof import('vue')['customRef']
const customStorageEventName: typeof import('../core/browser/src/utils/vendors')['customStorageEventName']
const dateFormat: typeof import('../core/datetime/dist/index.js')['dateFormat']
const debounce: typeof import('../core/browser/src/utils/debounce')['debounce']
const debouncedRef: typeof import('../core/browser/src/utils/vendors')['debouncedRef']
const debouncedWatch: typeof import('../core/browser/src/utils/vendors')['debouncedWatch']
Expand All @@ -82,6 +83,7 @@ declare global {
const exactly: typeof import('../core/browser/src/utils/regex')['exactly']
const executeTransition: typeof import('../core/browser/src/utils/vendors')['executeTransition']
const extendRef: typeof import('../core/browser/src/utils/vendors')['extendRef']
const format: typeof import('../core/datetime/dist/index.js')['format']
const formatTimeAgo: typeof import('../core/browser/src/utils/vendors')['formatTimeAgo']
const getActiveHead: typeof import('@unhead/vue')['getActiveHead']
const getActivePinia: typeof import('pinia')['getActivePinia']
Expand Down Expand Up @@ -125,6 +127,7 @@ declare global {
const not: typeof import('../core/browser/src/utils/regex')['not']
const notNullish: typeof import('../core/browser/src/utils/guards')['notNullish']
const notUndefined: typeof import('../core/browser/src/utils/guards')['notUndefined']
const now: typeof import('../core/datetime/dist/index.js')['now']
const onActivated: typeof import('vue')['onActivated']
const onBeforeMount: typeof import('vue')['onBeforeMount']
const onBeforeRouteLeave: typeof import('vue-router')['onBeforeRouteLeave']
Expand All @@ -150,6 +153,7 @@ declare global {
const onWatcherCleanup: typeof import('vue')['onWatcherCleanup']
const oneOrMore: typeof import('../core/browser/src/utils/regex')['oneOrMore']
const or: typeof import('../core/browser/src/utils/math')['or']
const parse: typeof import('../core/datetime/dist/index.js')['parse']
const pausableWatch: typeof import('../core/browser/src/utils/vendors')['pausableWatch']
const preferredDark: typeof import('../../../resources/functions/dark')['preferredDark']
const provide: typeof import('vue')['provide']
Expand Down Expand Up @@ -508,6 +512,7 @@ declare module 'vue' {
readonly customRandom: UnwrapRef<typeof import('../core/browser/src/utils/random')['customRandom']>
readonly customRef: UnwrapRef<typeof import('vue')['customRef']>
readonly customStorageEventName: UnwrapRef<typeof import('../core/browser/src/utils/vendors')['customStorageEventName']>
readonly dateFormat: UnwrapRef<typeof import('../core/datetime/dist/index.js')['dateFormat']>
readonly debounce: UnwrapRef<typeof import('../core/browser/src/utils/debounce')['debounce']>
readonly debouncedRef: UnwrapRef<typeof import('../core/browser/src/utils/vendors')['debouncedRef']>
readonly debouncedWatch: UnwrapRef<typeof import('../core/browser/src/utils/vendors')['debouncedWatch']>
Expand All @@ -526,6 +531,7 @@ declare module 'vue' {
readonly exactly: UnwrapRef<typeof import('../core/browser/src/utils/regex')['exactly']>
readonly executeTransition: UnwrapRef<typeof import('../core/browser/src/utils/vendors')['executeTransition']>
readonly extendRef: UnwrapRef<typeof import('../core/browser/src/utils/vendors')['extendRef']>
readonly format: UnwrapRef<typeof import('../core/datetime/dist/index.js')['format']>
readonly formatTimeAgo: UnwrapRef<typeof import('../core/browser/src/utils/vendors')['formatTimeAgo']>
readonly getActiveHead: UnwrapRef<typeof import('@unhead/vue')['getActiveHead']>
readonly getActivePinia: UnwrapRef<typeof import('pinia')['getActivePinia']>
Expand Down Expand Up @@ -569,6 +575,7 @@ declare module 'vue' {
readonly not: UnwrapRef<typeof import('../core/browser/src/utils/regex')['not']>
readonly notNullish: UnwrapRef<typeof import('../core/browser/src/utils/guards')['notNullish']>
readonly notUndefined: UnwrapRef<typeof import('../core/browser/src/utils/guards')['notUndefined']>
readonly now: UnwrapRef<typeof import('../core/datetime/dist/index.js')['now']>
readonly onActivated: UnwrapRef<typeof import('vue')['onActivated']>
readonly onBeforeMount: UnwrapRef<typeof import('vue')['onBeforeMount']>
readonly onBeforeRouteLeave: UnwrapRef<typeof import('vue-router')['onBeforeRouteLeave']>
Expand All @@ -594,6 +601,7 @@ declare module 'vue' {
readonly onWatcherCleanup: UnwrapRef<typeof import('vue')['onWatcherCleanup']>
readonly oneOrMore: UnwrapRef<typeof import('../core/browser/src/utils/regex')['oneOrMore']>
readonly or: UnwrapRef<typeof import('../core/browser/src/utils/math')['or']>
readonly parse: UnwrapRef<typeof import('../core/datetime/dist/index.js')['parse']>
readonly pausableWatch: UnwrapRef<typeof import('../core/browser/src/utils/vendors')['pausableWatch']>
readonly preferredDark: UnwrapRef<typeof import('../../../resources/functions/dark')['preferredDark']>
readonly provide: UnwrapRef<typeof import('vue')['provide']>
Expand Down
1 change: 0 additions & 1 deletion storage/framework/types/dashboard-router.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ declare module 'vue-router/auto-routes' {
'/packages/': RouteRecordInfo<'/packages/', '/packages', Record<never, never>, Record<never, never>>,
'/releases/': RouteRecordInfo<'/releases/', '/releases', Record<never, never>, Record<never, never>>,
'/requests/': RouteRecordInfo<'/requests/', '/requests', Record<never, never>, Record<never, never>>,
'/settings/[name]': RouteRecordInfo<'/settings/[name]', '/settings/:name', { name: ParamValue<true> }, { name: ParamValue<false> }>,
'/settings/billing': RouteRecordInfo<'/settings/billing', '/settings/billing', Record<never, never>, Record<never, never>>,
'/settings/mail': RouteRecordInfo<'/settings/mail', '/settings/mail', Record<never, never>, Record<never, never>>,
'/teams/[id]': RouteRecordInfo<'/teams/[id]', '/teams/:id', { id: ParamValue<true> }, { id: ParamValue<false> }>,
Expand Down

0 comments on commit e7025a7

Please sign in to comment.