-
Notifications
You must be signed in to change notification settings - Fork 49
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
feat(rest-api-client): Support App Action Settings API #833
Conversation
… Settings - demo scripts for `getAppActions` - demo script for `updateAppActions`
packages/rest-api-client/src/client/__tests__/AppClient.test.ts
Outdated
Show resolved
Hide resolved
[actionName: string]: ActionPropertyForParameter; | ||
}; | ||
|
||
type ActionProps = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was a little bit confused because both ActionProps
and ActionPropertyForXXX
seem to mean the properties for actions.
What about defining these properties (name, index, entities
) directly into ActionPropertyForParameter
, same as ActionPropertyForResposne
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixes in 242fbc7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mshrtsr
Thank you for your great work! 👍
I left a few comments, will you check?
Update packages/rest-api-client/src/client/__tests__/AppClient.test.ts Co-authored-by: Shingo Yamazaki <shingoyamazaki00@gmail.com>
@zaki-yama |
242fbc7
to
fc6c951
Compare
👍 👍 👍 |
Why
Action Settings API was released in 2021 Mar update!
https://kintone.cybozu.co.jp/update/main/2021-03.html#point5
GET /k/v1/app/actions.json
)PUT /k/v1/preview/app/actions.json
)What
Get Action Settings
getAppActions
method in AppClientUpdate Action Settings
updateAppActions
method in AppClientHow to test
Checklist
yarn lint
andyarn test
on the root directory.