
Security News
Nx npm Packages Compromised in Supply Chain Attack Weaponizing AI CLI Tools
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
@laserfiche/lf-ui-components-services
Advanced tools
A library for services that interact with the Laserfiche API and can be used by lf-ui-components
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.
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)
See CHANGELOG here.
We welcome contributions and feedback. Please follow our contributing guidelines.
See .github/workflows/main.yml for Node and NPM version used.
FAQs
A library for services that interact with the Laserfiche API and can be used by lf-ui-components
The npm package @laserfiche/lf-ui-components-services receives a total of 1 weekly downloads. As such, @laserfiche/lf-ui-components-services popularity was classified as not popular.
We found that @laserfiche/lf-ui-components-services demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers collaborating on the project.
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.
Security News
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.