Magus
Magus
Explore posts from servers
TTyphonJS
Created by Magus on 12/17/2023 in #typhonjs-runtime
TJSDocument delete action
When emitting this event, TJSDocument passes "undefined" as the first argument instead of the document?
2 replies
How do I create/modify embedded document types?
Let's say I want Items to also have Items embedded
2 replies
TTyphonJS
Created by Magus on 10/15/2023 in #typhonjs-runtime
Issues Configuring TyphonJS in TS
I'm receiving this message in my TS Files: Cannot find module '#runtime/svelte/application' or its corresponding type declarations. I thought including a paths property in tsconfig.json would fix it, but no:
"paths": {
"@/*": ["src/*"],
"#runtime/*": ["node_modules/@typhonjs-fvtt/runtime/*"],
"#standard/*": ["node_modules/@typhonjs-fvtt/svelte-standard/*"]
},
"paths": {
"@/*": ["src/*"],
"#runtime/*": ["node_modules/@typhonjs-fvtt/runtime/*"],
"#standard/*": ["node_modules/@typhonjs-fvtt/svelte-standard/*"]
},
What am I doing wrong?
11 replies
How do I specify an Array in my template.json?
I want schema checking for elements inside of an undefined-length array in my template.json, how do I do that?
15 replies
Is is possible to create/change Foundry's document types?
For instance, removing "Actor" and "Item" and adding new ones.
15 replies