14 Commits

Author SHA1 Message Date
feae3dc482
fix(source): type export via rollup plugin by using the correct input (#122)
* fix typeexport via rollup plugin by using the correct input

The rollup plugin dts requires a d.ts tree as input not the txs sources.

This change points the plugin into the right direction and removes the
type export hacks.

* corrected types path

apparently this was not properly adjusted accross the board when moving
the folder

* fix rollup config

properly export types

* use export * where needed

Since we now export types alongside with defintions we use the `export *
from` syntax to simplify things

* export types alongside with interfaces

export types so we can properly use them in external projects alongside
the exported function/module/...

* fix type-problems uncovered by utopia-map

When including types properly in the utopia-map several missing typings
showed up.

* fix typing

fix an inhereted type

* dummy restructure code

to properly be able to compile things we are not allowed to have unsed
parameters/props

* assigne types to category types
2025-02-19 12:05:42 +00:00
Maximilian Harz
2556d8c047 item.text is optional 2025-02-17 18:07:01 +01:00
Maximilian Harz
5835a71588 Type item.gallery 2025-02-17 18:05:06 +01:00
Maximilian Harz
a949df25c2 Simplify conditional and fix color calculation 2025-02-17 18:05:06 +01:00
Maximilian Harz
7e326590bb Don't type api for now; re-add hasColor 2025-02-17 18:05:06 +01:00
Maximilian Harz
bc0aa25cd2 Make updateItem type partial 2025-02-17 18:05:06 +01:00
Maximilian Harz
a3acf592dd Allow item.position to be null 2025-02-17 18:05:06 +01:00
Maximilian Harz
5846637747 Improve api type 2025-02-17 18:05:06 +01:00
Maximilian Harz
5741070854 Remove unused props and comment 2025-02-17 18:05:06 +01:00
Maximilian Harz
ea80e6e94c Use better type name for tag ids 2025-02-17 18:03:30 +01:00
Maximilian Harz
4316387ecb Improve typing of items, remove getValue 2025-02-17 18:03:25 +01:00
Maximilian Harz
f5b7b9267f Try to type Item and getValue (WIP) 2025-02-17 17:56:56 +01:00
e1b3492514 added donation widget 2025-02-11 13:53:03 +00:00
a450128b72 reorganized types 2025-02-09 20:32:41 +00:00