Skip to content

@barcoding/core

The core package provides universal utilities used by all three application instances.

Overview

  • Package: @barcoding/core
  • Location: web/projects/packages/@barcoding/core/
  • Used By: Backend app, Front app, Dashboard app
  • Dependencies: @barcoding/sdk, Angular common

Key Exports

Services

  • FormService - Form builders and validators
  • UtilityService - Common utility functions
  • ConfigService - Configuration management

Stores (NGXS)

  • ModuleStore - Module and navigation state
  • WidgetStore - Widget configuration state

Models

  • Common TypeScript interfaces
  • Shared data models
  • Type definitions

Utils

  • Date formatting utilities
  • String manipulation
  • Array/object helpers
  • Validation functions

Usage Example

typescript
import { FormService } from '@barcoding/core';
import { ModuleStore } from '@barcoding/core';

@Component({
  selector: 'app-my-component',
  template: '...'
})
export class MyComponent {
  @Select(ModuleStore.modules) modules$: Observable<Module[]>;

  constructor(private formService: FormService) {}
}

Coming Soon

This page is under construction. More details will be added about:

  • Complete API reference
  • Service methods
  • Store actions and selectors
  • Utility functions
  • Usage examples

For now, refer to:

Syneo/Barcoding Documentation