Skip to content

Commit ba2de23

Browse files
committed
chore: wip
1 parent c3dd04f commit ba2de23

35 files changed

+87
-117
lines changed

app/Actions/Dashboard/GetModels.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import { Action } from '@stacksjs/actions'
2+
import { Glob } from 'bun'
3+
4+
export default new Action({
5+
name: 'GetModels',
6+
description: 'Gets the application models.',
7+
apiResponse: true,
8+
9+
async handle() {
10+
const glob = new Glob('**/*.ts')
11+
12+
// Scans the current working directory and each of its sub-directories recursively
13+
for await (const file of glob.scan({
14+
cwd: '.',
15+
onlyFiles: true,
16+
})) {
17+
console.log(file) // => "index.ts"
18+
}
19+
20+
// return Library.downloadCount()
21+
},
22+
})

app/Models/Post.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export default {
77
table: 'posts', // defaults to the lowercase, plural name of the model
88
primaryKey: 'id', // defaults to `id`
99
autoIncrement: true, // defaults to true
10+
// highlight: 3,
1011

1112
traits: {
1213
useTimestamps: true, // defaults to true

app/Models/Subscriber.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export default {
77
table: 'subscribers', // defaults to the lowercase, plural name of the model
88
primaryKey: 'id', // defaults to `id`
99
autoIncrement: true, // defaults to true
10+
// highlight: 2,
1011

1112
traits: {
1213
useTimestamps: true, // defaults to true

app/Models/User.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export default {
1212
table: 'users', // defaults to the lowercase, plural name of the model name
1313
primaryKey: 'id', // defaults to `id`
1414
autoIncrement: true, // defaults to true
15+
highlight: true,
1516

1617
traits: {
1718
useAuth: true, // defaults to false, `authenticatable` used as an alias

resources/components/TerminalContainer.vue

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<script setup>
2-
import { defineProps } from 'vue'
3-
42
defineProps({
53
live: Boolean,
64
})
Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
1-
/* prettier-ignore */
1+
/* eslint-disable */
22
// @ts-nocheck
33
// Generated by unplugin-vue-components
44
// Read more: https://github.com/vuejs/core/pull/3399
5-
export type {}
65

6+
/* prettier-ignore */
77
declare module 'vue' {
88
export interface GlobalComponents {
99
'Carbon:cafe': typeof import('~icons/carbon/cafe')['default']
1010
'Carbon:logoTwitter': typeof import('~icons/carbon/logo-twitter')['default']
1111
CheckIcon: typeof import('./src/components/icons/CheckIcon.vue')['default']
12+
CloseIcon: typeof import('./src/components/icons/CloseIcon.vue')['default']
1213
CopyIcon: typeof import('./src/components/icons/CopyIcon.vue')['default']
14+
ErrorIcon: typeof import('./src/components/icons/ErrorIcon.vue')['default']
1315
Expand: typeof import('./src/components/Expand.vue')['default']
1416
Footer: typeof import('./src/components/Footer.vue')['default']
1517
HeadlessToast: typeof import('./src/components/HeadlessToast.vue')['default']
1618
HeadlessToastWithProps: typeof import('./src/components/HeadlessToastWithProps.vue')['default']
1719
Hero: typeof import('./src/components/Hero.vue')['default']
20+
InfoIcon: typeof import('./src/components/icons/InfoIcon.vue')['default']
1821
Installation: typeof import('./src/components/Installation.vue')['default']
22+
Loader: typeof import('./src/components/icons/Loader.vue')['default']
1923
'Mdi:heart': typeof import('~icons/mdi/heart')['default']
2024
Others: typeof import('./src/components/Others.vue')['default']
2125
Position: typeof import('./src/components/Position.vue')['default']
@@ -24,8 +28,12 @@ declare module 'vue' {
2428
Starport: typeof import('vue-starport')['Starport']
2529
StarportCarrier: typeof import('vue-starport')['StarportCarrier']
2630
Styling: typeof import('./src/components/Styling.vue')['default']
31+
SuccessIcon: typeof import('./src/components/icons/SuccessIcon.vue')['default']
2732
Theming: typeof import('./src/components/Theming.vue')['default']
33+
Toast: typeof import('./src/components/Toast.vue')['default']
34+
Toaster: typeof import('./src/components/Toaster.vue')['default']
2835
Types: typeof import('./src/components/Types.vue')['default']
2936
Usage: typeof import('./src/components/Usage.vue')['default']
37+
WarningIcon: typeof import('./src/components/icons/WarningIcon.vue')['default']
3038
}
3139
}

storage/framework/core/components/notification/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/stacks.svg" />
5+
<link rel="icon" type="image/svg+xml" href="/assest/stacks.svg" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>Stacks</title>
88
</head>

storage/framework/core/components/notification/packages/Sonner.vue

Lines changed: 0 additions & 9 deletions
This file was deleted.

storage/framework/core/components/notification/src/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script lang="ts" setup>
22
import { ref } from 'vue'
3-
import { Notification } from '../packages'
4-
import type { Position, Theme } from '../packages/types'
3+
import { Notification } from '.'
4+
import type { Position, Theme } from './types'
55
import Expand from './components/Expand.vue'
66
import Footer from './components/Footer.vue'
77
import Hero from './components/Hero.vue'

storage/framework/core/components/notification/src/components/Expand.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script lang="ts" setup>
22
import { computed, ref } from 'vue'
3-
import { notification } from '../../packages'
3+
import { notification } from '../'
44
import { useCopyCode } from '../composables/useCopyCode'
55
import CheckIcon from './icons/CheckIcon.vue'
66
import CopyIcon from './icons/CopyIcon.vue'

0 commit comments

Comments
 (0)