Skip to main content
Version: 2.2.0

IAN Lib Folder

The lib/aoh/ian folder contains reusable components and utility functions that are shared across the project. This document outlines the structure, usage guidelines, and best practices for working within the folder.

Structure

The lib/aoh/ian folder is organized as follows:

├── src/
│ └── lib/
│ │ └── aoh/
│ │ ├── core/
│ │ ... └── ian/
│ │ ├── api/
│ │ ├── assets/
│ │ │ └── sounds/
│ │ ├── stores/
│ │ ├── types/
│ │ ├── test/
│ │ └── utils/

Api Folder

The api/ folder provides functions to handle api call on client and update notification store.

Assets Folder

The assets/ folder contains static assets for the IAN package, right now this folder only contains the sounds for the toast notification

Components Folder

The components/ folder contains reusable UI elements for the components used in IAN package

Stores Folder

Contains the notification store to manage notifications state.

info

Refer to this guide for more info about svelte/store

Types Folder

Contains the type definitions.

Utils Folder

Contains functions that rovide support or aid to other parts of the module.