
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@terminusdb/terminusdb-documents-ui
Advanced tools
SDK to build UI from terminusdb documents
Run playground to get a demo.
Create a new data product in TerminusCMS and name it Playground
.
Go to /product_model page and copy paste the schema from file - playground/src/schema.json.
Make a .env file and add the following
SERVER=https://cloud.terminusdb.com/
USER=<your email>
TEAM=<your team>
DATA_PRODUCT="Playground"
TOKEN=<your token>
After adding .env file, run the below command
npm run playground
To connect to a particular data product in TerminusCMS - add the following variables to .env file
SERVER=https://cloud.terminusdb.com/
USER=<your email>
TEAM=<your team>
DATA_PRODUCT=<your data product ID>
TOKEN=<your token>
After adding .env file, run the below command
npm run test
Install the dependancy from npm
npm install @terminusdb/terminusdb-documents-ui
Then import dependancy as shown below
import {FrameViewer} from '@terminusdb/terminusdb-documents-ui'
let frame = "Person": {
"@key": {
"@fields": [
"name",
"works_as"
],
"@type": "Lexical"
},
"@type": "Class",
"likes": {
"@class": {
"@id": "Color",
"@type": "Enum",
"@values": [
"red",
"blue",
"green"
]
},
"@type": "Optional"
},
"name": "xsd:string"
}
return <FrameViewer
frame={frame}
mode={"Create"}
type={"Person"}/>
Note - make sure filled document is provided in View mode
let frame = "Person": {
"@key": {
"@fields": [
"name",
"works_as"
],
"@type": "Lexical"
},
"@type": "Class",
"likes": {
"@class": {
"@id": "Color",
"@type": "Enum",
"@values": [
"red",
"blue",
"green"
]
},
"@type": "Optional"
},
"name": "xsd:string"
}
let data = {
"@id": "Person/Peter%20+terminusdb%3A%2F%2F%2Fdata%2FJob%2Fadmin",
"@type": "Person",
"likes": "blue",
"name": "Peter "
}
return <FrameViewer
frame={frame}
mode={"View"}
formData={data}
type={"Person"}/>
FAQs
SDK to build UI from terminusdb documents
We found that @terminusdb/terminusdb-documents-ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.