Core multitenants#62
Merged
Merged
Conversation
…e access validation This commit removes the subscription middleware from the main middleware function and updates the store access middleware to include a check for valid subscription plans before allowing access to the store. This change improves the overall access control logic and ensures users have the appropriate subscription level for store access.
…files This commit refactors the import paths for several components to follow a more consistent structure by moving them into a 'components' subdirectory. Additionally, it removes unused components related to the AI chat feature, including AiInput, ChatTrigger, GradientSparkles, and others, streamlining the codebase and improving maintainability.
…key creation This commit introduces a new method to generate a consistent unique ID for images based on their S3 key and timestamp, ensuring that the same file always receives the same ID. Additionally, the S3 key generation method has been updated to include a short unique ID, improving the uniqueness of the keys. The ImageItem interface has been updated to include the new ID field, and utility functions for generating UUIDs and short IDs have been added to enhance image handling capabilities.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.