update pocketbase schema,

This commit is contained in:
louiscklaw
2025-04-16 12:43:54 +08:00
parent 08e5677c0b
commit 8bc4a37e8e
23 changed files with 5485 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
const config = require('/pb_hooks/seed/config.js');
module.exports = {
getAsset: name => {
const file_full_path = config.ASSETS_DIR + '/' + name;
try {
return $filesystem.fileFromPath(file_full_path);
} catch (error) {
console.log('file not found: ' + file_full_path, +'please check if file exist');
}
},
};