UNPKG

@bigdigital/kiosk-content-sdk

Version:

A Firebase-powered Content Management System SDK optimized for kiosks with offline support, template management, and real-time connection monitoring

52 lines (46 loc) 1.19 kB
// Core types export * from './types'; export * from './client'; export * from './hooks'; export * from './kiosk/KioskConnection'; export * from './kiosk/KioskSDK'; // Re-export commonly used types for easier consumption export type { Content, Template, Field, Group, FieldType, KioskConfig, CacheOptions, SyncOptions, GroupedTemplateContent, TemplateContentStructure, ContentHookResult } from './types'; // Export version information export const VERSION = '0.4.69'; // Export utility functions export { isValidTemplate, isValidContent, validateTemplateField } from './client'; // Export all hooks export { useKioskContent as useContent, // Alias for useKioskContent useKioskContent, useProjectContent, useContentWithTemplate, useTemplates, useTemplate, useTemplateContent, useOfflineContent, useContentSync } from './hooks'; // Export components export { OfflineIndicator } from './components/OfflineIndicator'; // Export kioskSDK instance and its type export { kioskSDK, KioskSDK } from './kiosk/KioskSDK'; export type { KioskConnectionOptions } from './kiosk/KioskConnection'; export type { MonitoringOptions } from './kiosk/KioskSDK';