Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fdot/edms-api-lib

Package Overview
Dependencies
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fdot/edms-api-lib

The edms-api-lib package wraps service calls to FDOT EDMS API. ## Installation `npm install @fdot/edms-api-lib --save`

  • 0.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

@fdot/edms-api-lib

The edms-api-lib package wraps service calls to FDOT EDMS API.

Installation

npm install @fdot/edms-api-lib --save

Setup

import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { EdmsApiLibModule, Config } from 'edms-api-lib';

@NgModule({
  declarations: [
      AppComponent
  ],
  imports: [
    // Add the import for the Angular Dotcodes Module
    EdmsApiLibModule.forRoot(new Config(environment.url, environment.apiKey, environment.uploadChunkSize, environment.uploadChunkThreshold)),
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Module Config Options
  • url - The URL for the EDMS API.
  • apiKey - The api key for the api call.
  • uploadChunkSize - The default upload chunk size for concurrent document uploads
  • uploadChunkThreshold - The file size threshold before concurrent upload chunking will be leveraged opposed to single request streaming

EdmsService

Methods
  • getAuthToken(authTokenInputs: AuthTokenInputs): Observable<string>
  • getBusinessAreas(): Observable<BusinessArea[]>
  • getDocumentGroupsByBusinessArea(businessArea: BusinessArea): Observable<DocumentGroup[]>
  • getDefaultPropertyData(): Observable<DocumentProperty[]>
  • addNewDocument(file: File, documentMetadata: DocumentData): Observable<Document>
  • getDocumentDownloadUrl(docId: number): string

Keywords

FAQs

Package last updated on 26 Oct 2018

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc