Commit 340cf86
authored
perf(compose): add stability configuration for non-Compose model types (#855)
* perf(compose): add stability configuration for non-Compose model types
Adds compose_compiler_config.conf and wires it into both the library
Compose convention plugin and the app module. This tells the Compose
compiler to treat key model types from non-Compose modules as stable,
enabling skipping optimizations for composables that accept them.
Covered types:
- Solana key hierarchy (Key32, PublicKey, Mint)
- Financial models (Fiat, Rate, LocalFiat, MintMetadata,
TokenWithBalance, TokenWithLocalizedBalance, etc.)
- Social links (sealed interface + subtypes)
- Bill customizations (contains ByteArray with custom equals)
- JDK/Kotlin time types (java.time.Instant, kotlin.time.Instant)
* refactor(compose): remove legacy Fiat, KinAmount, and related dead types
Delete com.getcode.model.Fiat, GenericAmount, SocialUser, TwitterUser
from libs/models and KinAmount + KinAmountExt from libs/currency.
Stub chat Exchange/MessageTip/payment code with TODO(chat-v2) comments
for reimplementation with OCP Fiat. Remove KinAmount overloads from
PriceWithFlag and Currency.format. Clean up stability config.
* chore(crypto): remove dead legacy Timelock, AgoraMemo, and PDA code
These Solana program instruction files in libs/crypto are superseded
by services/opencode equivalents and have zero external consumers.
* chore(crypto): remove dead legacy Solana instruction/transaction code
Delete 37 files (25 main + 12 tests) from libs/crypto/solana that are
fully superseded by services/opencode equivalents with zero external
consumers. Retains only the RPC layer (Calls, Requests, RpcConfig)
and SolanaModule used by PhantomWalletController.1 parent f5b45df commit 340cf86
65 files changed
Lines changed: 78 additions & 4461 deletions
File tree
- apps/flipcash/app
- build-logic/convention/src/main/kotlin
- libs
- crypto/solana/src
- main/kotlin/com/getcode
- solana
- instructions
- programs
- keys
- transactions
- utils
- test/kotlin/com/getcode
- solana
- instructions/programs
- keys
- utils
- currency/src/main/kotlin/com/getcode
- extensions
- model
- utils
- models/src/main/kotlin/com/getcode/model
- chat
- ui/components/src/main/kotlin/com/getcode/ui/components
- chat
- messagecontents
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
121 | 127 | | |
122 | 128 | | |
123 | 129 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
23 | 30 | | |
24 | 31 | | |
25 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
Lines changed: 0 additions & 195 deletions
This file was deleted.
0 commit comments