Andreas Berger
6d954de4b0
Update typings for RouterOptions::actions and ScaffolderActionsExtensionPoint::addActions to allow any kind of action being assigned to it.
...
Signed-off-by: Andreas Berger <andreas@berger-ecommerce.com >
2023-04-20 18:17:02 +02:00
Patrik Oldsberg
2898b6c8d5
fixes for TypeScript 5.0
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2023-03-29 12:24:19 +02:00
blam
f7e8b8ba83
chore: simplify the types a little bit
...
Signed-off-by: blam <ben@blam.sh >
2023-03-28 14:52:46 +02:00
Andreas Berger
ce0cf80ef2
Allow defining output type in createTemplateAction
...
This change allow to define the output type of the createTemplateAction.
This is necessary for zod definitions, which results in "Type instantiation is excessively deep and possibly infinite."
Signed-off-by: Andreas Berger <andreas@berger-ecommerce.com >
2023-03-28 13:30:23 +02:00
Andreas Berger
0da07e505b
Distinguish between undefined and unknown action outputs
...
Signed-off-by: Andreas Berger <andreas@berger-ecommerce.com >
2023-03-28 13:30:22 +02:00
Andreas Berger
a7eb36c6e3
Improve type-check for scaffolder output parameters
...
If an action uses zod to define the actions output schema, it is now ensured that `ctx.output` is using only the defined properties
Signed-off-by: Andreas Berger <andreas@berger-ecommerce.com >
2023-03-28 13:29:01 +02:00
Bogdan Nechyporenko
e27ddc36da
Cancelling the running task (executing of a scaffolder template)
...
Signed-off-by: Bogdan Nechyporenko <bnechyporenko@bol.com >
2023-03-09 15:40:47 +01:00
blam
0afbe44ab9
chore: fixing the action context
...
Signed-off-by: blam <ben@blam.sh >
2023-02-28 10:52:56 +01:00
blam
d57708a0c7
chore: really fix up the api-reports and make them clean and tidy
...
Signed-off-by: blam <ben@blam.sh >
2023-02-28 10:52:56 +01:00
blam
14d1a325b7
chore: reworking the types a little bit
...
Signed-off-by: blam <ben@blam.sh >
2023-02-28 10:52:56 +01:00
blam
f86eb7f17d
chore: finishing off zod zupport
...
Signed-off-by: blam <ben@blam.sh >
2023-02-28 10:52:56 +01:00
blam
10a64ff693
feat: reworking zod integration a little bit to reduce the amount of typing you have to do
...
Signed-off-by: blam <ben@blam.sh >
2023-02-28 10:52:56 +01:00
Fredrik Adelöw
ad3edc402d
propagate the deprecations properly
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2023-01-19 15:47:20 +01:00
Fredrik Adelöw
d72866f0cc
create new package scaffolder-node
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2023-01-19 15:05:45 +01:00