Support auto-generated record types for specific Kintone apps #445
Labels
Epic
feature
New feature
pkg: dts-gen
@kintone/dts-gen
pkg: rest-api-client
@kintone/rest-api-client
Package
Why
Some methods
rest-api-client
provides accept a type parameter for a type definition of your app.After #404 has been merged, we could define the type definition using types #404 exposes.
But it's a bit cumbersome because we have to define the type definition manually.
dts-gen
provides us a command to be able to generate type definitions for your app.But the type definition
dts-gen
generates is not compatible withrest-api-client
expects (refs. #442).What
We'd like to provide a way to generate type definitions, which are compatible with
rest-api-client
, automatically.We could take some options to fix the issue.
rest-api-client
intodts-gen
.rest-api-client
.Now, we have several types for a Kintone record type like the following.
So we have to sort each type definition respectively.
The text was updated successfully, but these errors were encountered: