Skip to content

Refactor: Migrate interfaces.js to new registration mechanism#1239

Merged
KernelDeimos merged 9 commits intomainfrom
cleanup/remove-interfaces-js
Mar 31, 2025
Merged

Refactor: Migrate interfaces.js to new registration mechanism#1239
KernelDeimos merged 9 commits intomainfrom
cleanup/remove-interfaces-js

Conversation

@KernelDeimos
Copy link
Copy Markdown
Contributor

[ai]\n\nThis PR migrates the file to the new registration mechanism, as described in issue #1131.\n\n### Changes:\n\n- Created for registering the interface\n- Created for registering the interface\n- Added to load these services\n- Removed \n\nThe new implementation follows the pattern used in where interfaces are registered using the event handler.\n\nCloses #1131

- Created EntityStoreInterfaceService for crud-q interface\n- Created AnalyticsInterfaceService for puter-analytics interface\n- Added InterfacesModule to load these services\n- Removed interfaces.js\n\nCloses #1131

ai: true
@KernelDeimos KernelDeimos self-assigned this Mar 31, 2025
This comment is flagged as AI-generated, but Claude rate-limited before
it could actually make the commit so this commit was made by hand. Well,
while I'm writing this commit message I may as well mention that Claud's
rate limits are relentless and it has become impossible to use Claude
for some purposes as a result.

ai: true
… entitystore and analytics

- Removed interfaces module\n- Added EntityStoreModule.js to entitystore module\n- Added AnalyticsModule.js to analytics module\n- Updated main index.js to use the new modules directly\n\nai: true

ai: true
@KernelDeimos KernelDeimos force-pushed the cleanup/remove-interfaces-js branch from 0d5656e to d401226 Compare March 31, 2025 23:19
- Created KVStoreModule.js\n- Created KVStoreInterfaceService.js to register the puter-kvstore interface\n- Updated exports.js to include the new module\n\nai: true
- Removed unnecessary index.js file from kvstore module\n\nai: true
- Removed unnecessary index.js files from analytics and entitystore modules\n\nai: true
...because it actually threw out my previous commit where I already did
this.
@KernelDeimos KernelDeimos merged commit b7defab into main Mar 31, 2025
4 checks passed
@KernelDeimos KernelDeimos deleted the cleanup/remove-interfaces-js branch October 16, 2025 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant