hoicko_lib

Crates.iohoicko_lib
lib.rshoicko_lib
version0.1.10
sourcesrc
created_at2024-11-16 17:42:29.249832
updated_at2024-12-05 11:19:05.845794
descriptionHoicko library
homepagehttps://hoicko.com
repository
max_upload_size
id1450525
size62,163
(njhalaRhudara)

documentation

README

Hoicko Library

PRIVATE REPOSITORY - CONFIDENTIAL

Internal Rust library for handling Hoicko activity and notification payloads.

Proprietary Notice

This is a private, proprietary library owned by Hoicko. All rights reserved. Unauthorized access, use, or distribution is prohibited.

Internal Usage

Add to your Cargo.toml:

[dependencies]
hoicko_lib = { version = "0.1.0", registry = "hoicko-private" }

Features

  • Activity tracking
  • Notification handling
  • Serialization support
  • Type-safe enums for actions and types

Example Usage

use hoicko_lib::{ActivityAction, ActivityType, ActivityPayload, NotificationPayload};

// Create an activity payload
let activity = ActivityPayload::new(
    ActivityAction::Insert,
    ActivityType::Board,
    "doc123".to_string(),
    "domain123".to_string(),
    "user123".to_string(),
);

// Create a notification
let notification = NotificationPayload::new(
    "Title".to_string(),
    "Body".to_string(),
    "NOTIFICATION".to_string(),
    "from123".to_string(),
    "to123".to_string(),
    "domain123".to_string(),
);

Security Notice

This repository contains proprietary code. Do not share or distribute.

License

Copyright © 2024 Hoicko. All rights reserved. Proprietary and confidential.

Commit count: 0

cargo fmt