Socket
Book a DemoInstallSign in
Socket

@laserfiche/lf-ui-components-services

Package Overview
Dependencies
Maintainers
7
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@laserfiche/lf-ui-components-services

A library for services that interact with the Laserfiche API and can be used by lf-ui-components

18.0.0
latest
Source
npmnpm
Version published
Weekly downloads
1
-80%
Maintainers
7
Weekly downloads
 
Created
Source

lf-ui-components-services

This library contains the data sources implementation to connect the Laserfiche UI Components to live data from Laserfiche API services.

You can use these pre-built services to display data using the UI components.

Documentation

Getting started

  • npm install @laserfiche/lf-ui-components-services

  • Create an instance of IRepositoryClientEx. See IRepositoryClient documentation to create partialRepoClient.

    const partialRepoClient = IRepositoryClient.createFromHttpHandler({...});
    const repositoryClient: IRepositoryClientEx = {
        ...partialRepoClient,
        getCurrentRepoId: async () => {return await partialRepoClient.repositoriesClient.getRepositoryInfo()[0].repoId},
        getCurrentRepoName: async () => {return await partialRepoClient.repositoriesClient.getRepositoryInfo()[0].repoName},
    }
    
  • Initialize your chosen service

    const fieldsService = new LfFieldsService(repositoryClient);
    
  • Use service with the corresponding UI Component

    await this.metadataContainer.initAsync({fieldsService});
    

For detailed information about how to utilize these services see the sample projects available in Github (in Angular and React)

Change Log

See CHANGELOG here.

Contribution

We welcome contributions and feedback. Please follow our contributing guidelines.

Development prerequisite

See .github/workflows/main.yml for Node and NPM version used.

FAQs

Package last updated on 13 May 2025

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.