Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@wizeapps/charts-runtime
Advanced tools
Enables analytics on app sequelize models. It works only on postgres DB. It has dependency on @wizni/wize-runtime-load-routes, @wizni/wize-sequelize-runtime & @wizni/wize-sequelize-source. It reads config.json for all models defined in app.
GET
] /api/metadata/dbschema - Lists all DB models & their meta information.POST
] /api/metadata/executeQuery - Executes query in DB to fetch chart data.POST
] /api/reportcategories - Create new report category.PATCH
] /api/reportcategories - update existing report category.{
"id": <Auto-increment> INTEGER,
"name": STRING (Report Name),
"description": STRING (Report Description),
"type": STRING (Chart Type),
"chartSettings": JSONB (Chart display settings & format etc.),
"dataQuery": JSONB (Tables, columns, matrics, filters, pivots information to be executes as query in DB)
}
npm install --save @wizeapps/charts-runtime
import chartsApis from '@wizeapps/charts-runtime';
.
.
.
/*
app: koa-app returned from 'const app = createServer({});'
sequelizeSource: sequelize object returned from 'import sequelizeSource from './sources/postgresql';'
*/
chartsApis(app, sequelizeSource);
Module assumes that model has system fields - createdBy and modifiedBy, which are used to store the actor. Supply createdBy in instance during Create and modifiedBy during Update and Delete operations.
npm run test
MIT License
FAQs
Wize Charts
We found that @wizeapps/charts-runtime demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.