1.0.7 • Published 4 years ago

altogrid v1.0.7

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Altogrid

Altogrid Web Sdk

NPM

Install

npm i altogrid

Usage

import {Client} from 'altogrid'

var a=new Client("organizationId","applicationId")
console.log(a)

CDN

Import

https://.../altogrid.js

Usage

    // organizationId,applicationId;
    var Client = new Altogrid.Client("d32e7800-8ff0-11ea-bc55-0242ac130003","9a30857e-2d53-4022-a793-c6f83370533f");  

    //initilazion
    Client.init().then(function(value) {
        return value.data;
    }).catch(err => alert(err))

    //create update With No Relation
    
    var collectionObject={
        collectionName: "user",//`(REQUIRED)`
        entityId: "6ba29729-fe4d-48e2-86de-77a65ab347ed",// `(REQUIRED, MUST BE UUID)`
        content: { //`(REQUIRED)`
            fullname: "Sefullah Uysal",
            email: "seyfullah.uysal@altosis.com",
            username: "suysal",
            password: "123456",
            registertype: "social",
            language: "en-en",
            role: "client",
            photo: "https://i.picsum.photos/id/333/500/500.jpg"
        }       
    }

    Client.init().then(()=>{

        Client.createCollection(collectionObject).then(function(value){
            return value;
        }).catch(err => alert(err))

    })


    //Create  Update With Relation

    ```
1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago