Content
@
https://warpcast.com/~/channel/devfc
0 reply
0 recast
0 reaction
Samuel ツ
@samuellhuber.eth
writing Effect Schema for Mini App Manifest & Emebeds. This means it hardcore enforces that you do everything according to spec all the time. Where would you use this in your app? Linter plugin checking the files? generation helper functions for the meta tags? Would love to hear anywhere you struggle with manifests/embeds so I can improve that for you!
4 replies
0 recast
31 reactions
Rafi
@rafi
Using TS type system I think. Put manifest and embed into a var, manually type that var with Schema.Type and you get type errors error during dev and and builds
1 reply
0 recast
1 reaction
Samuel ツ
@samuellhuber.eth
How do you use that var? You use it when building embed or manifest in code ?
1 reply
0 recast
0 reaction
Rafi
@rafi
It could be a file FrameEmbed with: export default {…} satisfies FrameEmbedType This way you have a static reference to an embed you can use in your code as well as validation via ts compiler
0 reply
0 recast
0 reaction