-
-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
42 changed files
with
6,760 additions
and
300 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ yarn-error.log* | |
dist | ||
coverage | ||
.env | ||
.nuxt | ||
.svelte-kit | ||
|
||
# test files | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
**/node_modules | ||
**/templates | ||
**/dist | ||
**/.nuxt | ||
**/.svelte-kit | ||
**/.vitepress/cache | ||
**/.vitepress/dist | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Nuxt dev/build outputs | ||
.output | ||
.data | ||
.nuxt | ||
.nitro | ||
.cache | ||
dist | ||
|
||
# Node dependencies | ||
node_modules | ||
|
||
# Logs | ||
logs | ||
*.log | ||
|
||
# Misc | ||
.DS_Store | ||
.fleet | ||
.idea | ||
|
||
# Local env files | ||
.env | ||
.env.* | ||
!.env.example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# Nuxt Minimal Starter | ||
|
||
Look at the [Nuxt documentation](https://nuxt.com/docs/getting-started/introduction) to learn more. | ||
|
||
## Setup | ||
|
||
Make sure to install dependencies: | ||
|
||
```bash | ||
# npm | ||
npm install | ||
|
||
# pnpm | ||
pnpm install | ||
|
||
# yarn | ||
yarn install | ||
|
||
# bun | ||
bun install | ||
``` | ||
|
||
## Development Server | ||
|
||
Start the development server on `http://localhost:3000`: | ||
|
||
```bash | ||
# npm | ||
npm run dev | ||
|
||
# pnpm | ||
pnpm dev | ||
|
||
# yarn | ||
yarn dev | ||
|
||
# bun | ||
bun run dev | ||
``` | ||
|
||
## Production | ||
|
||
Build the application for production: | ||
|
||
```bash | ||
# npm | ||
npm run build | ||
|
||
# pnpm | ||
pnpm build | ||
|
||
# yarn | ||
yarn build | ||
|
||
# bun | ||
bun run build | ||
``` | ||
|
||
Locally preview production build: | ||
|
||
```bash | ||
# npm | ||
npm run preview | ||
|
||
# pnpm | ||
pnpm preview | ||
|
||
# yarn | ||
yarn preview | ||
|
||
# bun | ||
bun run preview | ||
``` | ||
|
||
Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<template> | ||
<div> | ||
<NuxtRouteAnnouncer /> | ||
<!-- <NuxtWelcome /> --> | ||
<Home /> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// This file is auto-generated by @hey-api/openapi-ts | ||
export * from './sdk.gen'; | ||
export * from './types.gen'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,244 @@ | ||
// This file is auto-generated by @hey-api/openapi-ts | ||
|
||
export const OrderSchema = { | ||
properties: { | ||
complete: { | ||
type: 'boolean', | ||
}, | ||
id: { | ||
example: 10, | ||
format: 'int64', | ||
type: 'integer', | ||
}, | ||
petId: { | ||
example: 198772, | ||
format: 'int64', | ||
type: 'integer', | ||
}, | ||
quantity: { | ||
example: 7, | ||
format: 'int32', | ||
type: 'integer', | ||
}, | ||
shipDate: { | ||
format: 'date-time', | ||
type: 'string', | ||
}, | ||
status: { | ||
description: 'Order Status', | ||
enum: ['placed', 'approved', 'delivered'], | ||
example: 'approved', | ||
type: 'string', | ||
}, | ||
}, | ||
type: 'object', | ||
'x-swagger-router-model': 'io.swagger.petstore.model.Order', | ||
xml: { | ||
name: 'order', | ||
}, | ||
} as const; | ||
|
||
export const CustomerSchema = { | ||
properties: { | ||
address: { | ||
items: { | ||
$ref: '#/components/schemas/Address', | ||
}, | ||
type: 'array', | ||
xml: { | ||
name: 'addresses', | ||
wrapped: true, | ||
}, | ||
}, | ||
id: { | ||
example: 100000, | ||
format: 'int64', | ||
type: 'integer', | ||
}, | ||
username: { | ||
example: 'fehguy', | ||
type: 'string', | ||
}, | ||
}, | ||
type: 'object', | ||
xml: { | ||
name: 'customer', | ||
}, | ||
} as const; | ||
|
||
export const AddressSchema = { | ||
properties: { | ||
city: { | ||
example: 'Palo Alto', | ||
type: 'string', | ||
}, | ||
state: { | ||
example: 'CA', | ||
type: 'string', | ||
}, | ||
street: { | ||
example: '437 Lytton', | ||
type: 'string', | ||
}, | ||
zip: { | ||
example: 94301, | ||
type: 'string', | ||
}, | ||
}, | ||
type: 'object', | ||
xml: { | ||
name: 'address', | ||
}, | ||
} as const; | ||
|
||
export const CategorySchema = { | ||
properties: { | ||
id: { | ||
example: 1, | ||
format: 'int64', | ||
type: 'integer', | ||
}, | ||
name: { | ||
example: 'Dogs', | ||
type: 'string', | ||
}, | ||
}, | ||
type: 'object', | ||
'x-swagger-router-model': 'io.swagger.petstore.model.Category', | ||
xml: { | ||
name: 'category', | ||
}, | ||
} as const; | ||
|
||
export const UserSchema = { | ||
properties: { | ||
email: { | ||
example: '[email protected]', | ||
type: 'string', | ||
}, | ||
firstName: { | ||
example: 'John', | ||
type: 'string', | ||
}, | ||
id: { | ||
example: 10, | ||
format: 'int64', | ||
type: 'integer', | ||
}, | ||
lastName: { | ||
example: 'James', | ||
type: 'string', | ||
}, | ||
password: { | ||
example: 12345, | ||
type: 'string', | ||
}, | ||
phone: { | ||
example: 12345, | ||
type: 'string', | ||
}, | ||
userStatus: { | ||
description: 'User Status', | ||
example: 1, | ||
format: 'int32', | ||
type: 'integer', | ||
}, | ||
username: { | ||
example: 'theUser', | ||
type: 'string', | ||
}, | ||
}, | ||
type: 'object', | ||
'x-swagger-router-model': 'io.swagger.petstore.model.User', | ||
xml: { | ||
name: 'user', | ||
}, | ||
} as const; | ||
|
||
export const TagSchema = { | ||
properties: { | ||
id: { | ||
format: 'int64', | ||
type: 'integer', | ||
}, | ||
name: { | ||
type: 'string', | ||
}, | ||
}, | ||
type: 'object', | ||
'x-swagger-router-model': 'io.swagger.petstore.model.Tag', | ||
xml: { | ||
name: 'tag', | ||
}, | ||
} as const; | ||
|
||
export const PetSchema = { | ||
properties: { | ||
category: { | ||
$ref: '#/components/schemas/Category', | ||
}, | ||
id: { | ||
example: 10, | ||
format: 'int64', | ||
type: 'integer', | ||
}, | ||
name: { | ||
example: 'doggie', | ||
type: 'string', | ||
}, | ||
photoUrls: { | ||
items: { | ||
type: 'string', | ||
xml: { | ||
name: 'photoUrl', | ||
}, | ||
}, | ||
type: 'array', | ||
xml: { | ||
wrapped: true, | ||
}, | ||
}, | ||
status: { | ||
description: 'pet status in the store', | ||
enum: ['available', 'pending', 'sold'], | ||
type: 'string', | ||
}, | ||
tags: { | ||
items: { | ||
$ref: '#/components/schemas/Tag', | ||
xml: { | ||
name: 'tag', | ||
}, | ||
}, | ||
type: 'array', | ||
xml: { | ||
wrapped: true, | ||
}, | ||
}, | ||
}, | ||
required: ['name', 'photoUrls'], | ||
type: 'object', | ||
'x-swagger-router-model': 'io.swagger.petstore.model.Pet', | ||
xml: { | ||
name: 'pet', | ||
}, | ||
} as const; | ||
|
||
export const ApiResponseSchema = { | ||
properties: { | ||
code: { | ||
format: 'int32', | ||
type: 'integer', | ||
}, | ||
message: { | ||
type: 'string', | ||
}, | ||
type: { | ||
type: 'string', | ||
}, | ||
}, | ||
type: 'object', | ||
xml: { | ||
name: '##default', | ||
}, | ||
} as const; |
Oops, something went wrong.