You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to be able to sync directus_files. I don't need directus-sync to handle syncing the assets themselves, only the table entries. I manage some icon files with predefined names that map to a custom icon library, these are uploaded as images in Directus until Directus has a better system for managing custom icons.
I essentially do a GCS/S3 copy with a glob on SVGs, and I was planning on filtering the synced files based off this hook:
Please also enable syncing files, leaving the responsibility of the assets themselves to to the user. I believe directus says if it can't find a file in your storage and it let's you upload a file to update the file entry if so.
The text was updated successfully, but these errors were encountered:
Really awesome library! I had written some scripts of my own for managing snapshot state and wrote idempotent seeds using the GraphQL API but I found the flow made more sense to just interact with the UI directly and use your utility! Much cleaner flow!
@shadiramadan The sync of file is not supported yet, but it could be achieved once the Seed feature is finished. I'm currently working on it.
Thanks for the words
I'd like to be able to sync directus_files. I don't need
directus-sync
to handle syncing the assets themselves, only the table entries. I manage some icon files with predefined names that map to a custom icon library, these are uploaded as images in Directus until Directus has a better system for managing custom icons.I essentially do a GCS/S3 copy with a glob on SVGs, and I was planning on filtering the synced files based off this hook:
This is the error I get having defined files in
onlyCollections
.Please also enable syncing files, leaving the responsibility of the assets themselves to to the user. I believe directus says if it can't find a file in your storage and it let's you upload a file to update the file entry if so.
The text was updated successfully, but these errors were encountered: