Initial framework to make URL DB imports work
This commit is contained in:
parent
16e61a4855
commit
c70b8f938a
3 changed files with 74 additions and 1 deletions
|
|
@ -6,6 +6,7 @@ import { ImageApp } from "./apps/ImageApp.mjs";
|
|||
|
||||
// Utils
|
||||
import { convertToWebp, getFileSize, hashFile, lastModifiedAt } from "./utils/fs.mjs";
|
||||
import { importFromURL } from "./utils/imports.mjs";
|
||||
|
||||
export const api = foundry.utils.deepFreeze({
|
||||
Apps: {
|
||||
|
|
@ -21,5 +22,6 @@ export const api = foundry.utils.deepFreeze({
|
|||
lastModifiedAt,
|
||||
getFileSize,
|
||||
},
|
||||
importFromURL,
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue