Skip to content

Commit

Permalink
feat: update server schema
Browse files Browse the repository at this point in the history
  • Loading branch information
j-nary committed Jan 13, 2025
1 parent 09c0d9a commit e56f100
Show file tree
Hide file tree
Showing 2 changed files with 186 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"generate-types-v1": "openapi-typescript https://crew.api.dev.sopt.org/api-docs-json -o ./src/__generated__/schema1.d.ts",
"generate-types-v2": "openapi-typescript https://crew.api.develop.sopt.org/api-docs/json -o ./src/__generated__/schema2.d.ts",
"generate-types-v2": "openapi-typescript https://crew.api.dev.sopt.org/api-docs/json -o ./src/__generated__/schema2.d.ts",
"generate-types": "cat ./src/__generated__/schema1.d.ts ./src/__generated__/schema2.d.ts > ./src/__generated__/schema.d.ts",
"update-mds": "yarn up @sopt-makers/colors@latest @sopt-makers/fonts@latest @sopt-makers/playground-common@latest @sopt-makers/ui@latest @sopt-makers/icons@latest"
},
Expand Down Expand Up @@ -93,4 +93,4 @@
"workspaces": [
"packages/*"
]
}
}
189 changes: 184 additions & 5 deletions src/__generated__/schema2.d.ts

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

0 comments on commit e56f100

Please sign in to comment.