
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
adminjs-weaviate
Advanced tools
This is an adminjs adapter integrating Weaviate as the data source.
Installation: npm add adminjs-weaviate.
The adapter lets you connect a Weaviate schema which is converted to AdminJS resources.
Example of passing a DB connection directly (will be able see and edit all classes):
const AdminJSWeaviate = require('adminjs-weaviate');
AdminJS.registerAdapter(AdminJSWeaviate);
const weaviateConnection = new AdminJSWeaviate.Connection({ // weaviate connection
scheme: 'http',
host: 'localhost:8080',
})
weaviateConnection.init().then(() => { // init() needs to be called before the connection is passed to AdminJS
const adminJS = new AdminJS({
databases: [weaviateConnection],
rootPath: '/admin',
resources: [],
});
// ...
});
Example of passing individual resources (recommended):
index.js
const AdminJSWeaviate = require('adminjs-weaviate');
AdminJS.registerAdapter(AdminJSWeaviate);
const weaviateConnection = new AdminJSWeaviate.Connection({ // weaviate connection
scheme: 'http',
host: 'localhost:8080',
})
weaviateConnection.init().then(() => { // init() needs to be called before the connection is passed to AdminJS
const resource = require('./resource.js'); // defined below
const adminJS = new AdminJS({
databases: [],
rootPath: '/admin',
resources: [resource],
});
// ...
});
module.exports = { weaviateConnection }
resource.js
const { weaviateConnection } = require('../index');
module.exports = {
resource: {
// pass the raw class
rawClass: {
"class": "Text",
"description": "A piece of text",
"properties": [
{
"dataType": [
"string"
],
"description": "Text",
"name": "text"
},
]
},
// and the connection client
client: weaviateConnection.client
},
options: {}
};
FAQs
AdminJS Weaviate adapter
The npm package adminjs-weaviate receives a total of 0 weekly downloads. As such, adminjs-weaviate popularity was classified as not popular.
We found that adminjs-weaviate demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.