Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix!: ResponseMessageをResponseStatusに名称変更 #5399

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

Qs-F
Copy link
Contributor

@Qs-F Qs-F commented Feb 19, 2025

関連URL

https://kufuinc.slack.com/archives/CGC58MW01/p1739929345355399

概要

ResponseMessageTypeをルートからexportするようにした

変更内容

  • ResponseMessageTypeをルートからexportするようにした

確認方法

@Qs-F Qs-F marked this pull request as ready for review February 19, 2025 01:52
@Qs-F Qs-F requested a review from a team as a code owner February 19, 2025 01:52
@Qs-F Qs-F requested review from AtsushiM and s-sasaki-0529 and removed request for a team February 19, 2025 01:52
Copy link

pkg-pr-new bot commented Feb 19, 2025

Open in Stackblitz

npm i https://pkg.pr.new/kufu/smarthr-ui@5399

commit: 28e88ed

@@ -102,6 +102,7 @@ export { Center, Cluster, Reel, Stack, Sidebar } from './components/Layout'
// hooks
export { useTheme } from './hooks/useTheme'
export { useDevice, DeviceProvider } from './hooks/useDevice'
export type { ResponseMessageType } from './hooks/useResponseMessage'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝

  • smarthr-ui/types からexportする
  • ResponseMessageType ではコンポーネントとして提供しているResponsetMessageの型かも?と混乱してしまうため、 ResponseMessageAttributeなど属性の型であることがわかる名称に変更する

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

一旦名称決まるまでDraftにしておきます!

@Qs-F Qs-F marked this pull request as draft February 21, 2025 09:20
@Qs-F Qs-F changed the title fix: ResponseMessageType型をexportするように修正 fix!: Mar 3, 2025
@Qs-F Qs-F changed the title fix!: fix!: ResponseMessageをResponseStatusに名称変更 Mar 3, 2025
@Qs-F Qs-F marked this pull request as ready for review March 3, 2025 10:27
@Qs-F
Copy link
Contributor Author

Qs-F commented Mar 3, 2025

あ〜 exportsフィールドを追加するとlibとかからimportしてたやつが使えないのか… そりゃそうだ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants