Socket
Socket
Sign inDemoInstall

@fdot/edms-api-lib

Package Overview
Dependencies
6
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

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`


Version published
Maintainers
3
Install size
21.6 MB
Created

Readme

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

Last updated on 26 Oct 2018

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc