New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@us3r-network/model-collection

Package Overview
Dependencies
Maintainers
5
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@us3r-network/model-collection

the us3r data model - collection

latest
npmnpm
Version
0.2.2
Version published
Maintainers
5
Created
Source

@us3r-network/model-collection

The model for the model collection

The Model

  type ModelCollection @createModel(accountRelation: LIST, description: "model collection of someone in us3r.network") {
    creator: DID! @documentAccount
    version: CommitID! @documentVersion
    modelID: StreamID!
    notes: String @string(maxLength: 1000)
    revoke: Boolean
    createAt: DateTime
    modifiedAt: DateTime
  }

Usage

npm install @us3r-network/model-collection

Init instance

...

import S3CollectionModel from '@us3r-network/model-collection'

const CERAMIC_HOST = process.env.CERAMIC_HOST

const s3Collection = new S3CollectionModel(CERAMIC_HOST)
...

Auth the instance with did-session

const didSession = '...'
s3Collection.authComposeClient(didSession)

FAQs

Package last updated on 06 May 2023

Did you know?

Socket

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.

Install

Related posts