Skip to content

Commit

Permalink
✨ body and data types for fetch #48
Browse files Browse the repository at this point in the history
  • Loading branch information
trydofor committed Oct 9, 2024
1 parent 3e45ef4 commit baa7f39
Show file tree
Hide file tree
Showing 7 changed files with 586 additions and 578 deletions.
6 changes: 6 additions & 0 deletions .changeset/stupid-mice-thank.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@fessional/razor-common": patch
"@fessional/razor-mobile": patch
---

✨ body and data types for fetch #48
5 changes: 5 additions & 0 deletions layers/common/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
import { fileURLToPath } from 'url';

export default defineNuxtConfig({
alias: {
'~razor-common': fileURLToPath(new URL('./', import.meta.url)),
},
compatibilityDate: '2024-09-17',
devtools: { enabled: true },
modules: ['@unocss/nuxt', '@nuxt/eslint', '@nuxt/test-utils/module'],
Expand Down
561 changes: 277 additions & 284 deletions layers/common/pnpm-lock.yaml

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions layers/common/types/common.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export interface DataResult<T> {
success: boolean;
data?: T;
message?: string;
code?: string;
}
5 changes: 5 additions & 0 deletions layers/mobile/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
import { fileURLToPath } from 'url';

export default defineNuxtConfig({
alias: {
'~razor-mobile': fileURLToPath(new URL('./', import.meta.url)),
},
extends: ['@fessional/razor-common'],
modules: ['@nuxtjs/ionic'],
ssr: false,
Expand Down
565 changes: 279 additions & 286 deletions layers/mobile/pnpm-lock.yaml

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit baa7f39

Please sign in to comment.