Skip to content

Commit 6006f5b

Browse files
chore: wip
1 parent 97c007b commit 6006f5b

File tree

11 files changed

+31
-31
lines changed

11 files changed

+31
-31
lines changed

resources/components/Billing/ActivePlan.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { useBillable } from '../../../../functions/billing/payments'
2+
import { useBillable } from '../../functions/billing/payments'
33
44
const paymentStore = usePaymentStore()
55

resources/components/Billing/CardForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { useBillable } from '../../../../functions/billing/payments'
2+
import { useBillable } from '../../functions/billing/payments'
33
44
const emit = defineEmits(['cancelPaymentMethodAddition'])
55
const { loadCardForm, handleAddPaymentMethod } = useBillable()

resources/components/Billing/OneTimePayment.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
2-
import { useBillable } from '../../../../functions/billing/payments'
2+
import { useBillable } from '../../functions/billing/payments'
33
4-
import PaymentForm from './payment-form.vue'
4+
import PaymentForm from './PaymentForm.vue'
55
66
interface Props {
77
product: number,

resources/components/Billing/PaymentForm.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { useBillable } from '../../../../functions/billing/payments'
2+
import { useBillable } from '../../functions/billing/payments'
33
44
interface Props {
55
productId: number

resources/components/Billing/PaymentMethod.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<script setup lang="ts">
22
import { Notification } from '@stacksjs/notification'
3-
import { useBillable } from '../../../../functions/billing/payments'
4-
import LoadingCard from '../skeleton/loading-card.vue'
5-
import CardBrands from './card-brands.vue'
6-
import CardForm from './card-form.vue'
3+
import { useBillable } from '../../functions/billing/payments'
4+
import LoadingCard from '../Skeleton/LoadingCard.vue'
5+
import CardBrands from './CardBrands.vue'
6+
import CardForm from './CardForm.vue'
77
88
import PaymentMethodList from './payment-method-list.vue'
99

resources/components/Billing/PaymentMethodList.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
2-
import LoadingCard from '../skeleton/loading-card.vue'
3-
import CardBrands from './card-brands.vue'
2+
import LoadingCard from '../Skeleton/LoadingCard.vue'
3+
import CardBrands from './CardBrands.vue'
44
55
const props = defineProps<Props>()
66

resources/components/Billing/plans.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
import { saas } from '@stacksjs/browser'
3-
import { useBillable } from '../../../../functions/billing/payments'
3+
import { useBillable } from '../../functions/billing/payments'
44
55
const checkedPlanType = ref('monthly')
66
const selectedPlan = ref('')

resources/components/Transaction/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { useBillable } from '../../../../functions/billing/payments'
2+
import { useBillable } from '../../functions/billing/payments'
33
44
import CardBrands from '../billing/card-brands.vue'
55

resources/views/dashboard/settings/billing.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<script setup lang="ts">
22
import { useBillable } from '../../../functions/billing/payments'
33
4-
import ActivePlan from '../components/billing/active-plan.vue'
4+
import ActivePlan from '../../../components/billing/ActivePlan.vue'
55
6-
import PaymentMethod from '../components/billing/payment-method.vue'
6+
import PaymentMethod from '../../../components/billing/PaymentMethod.vue'
77
import Plans from '../components/billing/plans.vue'
88
99
import LoadingDetails from '../components/skeleton/loading-card.vue'

routes/api.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,22 @@ import { route } from '@stacksjs/router'
88
* @see https://docs.stacksjs.org/routing
99
*/
1010

11-
// route.get('/foo/bar/{id}', () => 'hello world, foo bar') // $API_URL/hello/world
12-
// route.get('/', () => 'hello world') // $API_URL
13-
// route.get('/hello/world', () => 'hello world, buddy') // $API_URL/hello/world
14-
15-
// route.post('/email/subscribe', 'Actions/SubscriberEmailAction')
16-
// route.post('/login', 'Actions/LoginAction')
17-
// route.get('/generate-registration-options', 'Actions/Auth/GenerateRegistrationAction')
18-
// route.post('/verify-registration', 'Actions/Auth/VerifyRegistrationAction')
19-
// route.get('/generate-authentication-options', 'Actions/Auth/GenerateAuthenticationAction')
20-
// route.post('/verify-authentication', 'Actions/Auth/VerifyAuthenticationAction')
21-
22-
// // route.email('/welcome')
23-
// route.health() // adds a GET `/health` route
24-
// route.get('/install', 'Actions/InstallAction')
25-
// route.post('/ai/ask', 'Actions/AI/AskAction')
26-
// route.post('/ai/summary', 'Actions/AI/SummaryAction')
11+
route.get('/foo/bar/{id}', () => 'hello world, foo bar') // $API_URL/hello/world
12+
route.get('/', () => 'hello world') // $API_URL
13+
route.get('/hello/world', () => 'hello world, buddy') // $API_URL/hello/world
14+
15+
route.post('/email/subscribe', 'Actions/SubscriberEmailAction')
16+
route.post('/login', 'Actions/LoginAction')
17+
route.get('/generate-registration-options', 'Actions/Auth/GenerateRegistrationAction')
18+
route.post('/verify-registration', 'Actions/Auth/VerifyRegistrationAction')
19+
route.get('/generate-authentication-options', 'Actions/Auth/GenerateAuthenticationAction')
20+
route.post('/verify-authentication', 'Actions/Auth/VerifyAuthenticationAction')
21+
22+
// route.email('/welcome')
23+
route.health() // adds a GET `/health` route
24+
route.get('/install', 'Actions/InstallAction')
25+
route.post('/ai/ask', 'Actions/AI/AskAction')
26+
route.post('/ai/summary', 'Actions/AI/SummaryAction')
2727

2828
route.group({ prefix: '/payments' }, async () => {
2929
route.get('/fetch-customer/{id}', 'Actions/Payment/FetchPaymentCustomerAction')

0 commit comments

Comments
 (0)