5.0.0-2-g929ec33 • Published 5 years ago

@sudoplatform/password-manager-schema v5.0.0-2-g929ec33

Weekly downloads
-
License
Apache-2.0
Repository
gitlab
Last release
5 years ago

Password Manager SDK Schema

This project contains the schema definition for the Vault data in Password Manager. This can be used to generate code types in various languages.

Install

yarn install -D @sudoplatform/password-manager-schema

Usage

To use the schema for generation you can refer to the path of the schema. The schema path can be used as ./node_modules/@sudoplatform/password-manager-schema/schema/schema.json.

Quicktype Example

TypeScript

quicktype -s schema ./node_modules/@sudoplatform/password-manager-schema/schema/schema.json -o build/Vault.ts --just-types

Kotlin

quicktype -s schema ./node_modules/@sudoplatform/password-manager-schema/schema/schema.json -o build/Vault.kt --framework just-types

Swift

quicktype -s schema ./node_modules/@sudoplatform/password-manager-schema/schema/schema.json  -o build/Vault.swift --struct-or-class struct --no-initializers
5.0.0-2-g929ec33

5 years ago