1.0.4 • Published 5 years ago

q-backup-sdk v1.0.4

Weekly downloads
1
License
Unlicense
Repository
gitlab
Last release
5 years ago

QBackup Front SDK

Install

npm install --save-dev q-backup-sdk

Use

import { ApiEvent, ApiMessage } from 'q-backup-sdk'

const userLogin = (data: ApiMessage.APILogInByAccountMsg) => {
  return fetch('/API', {
    method: 'post',
    body: JSON.stringify(data),
  })
    .then((res) => res.json())
    .then((data: ApiEvent.APILogInReply) => {
      // do something
    })
}
1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago