15 releases

new 0.1.14 Dec 23, 2024
0.1.13 Dec 20, 2024
0.1.9 Nov 23, 2024

#5 in #activity

Download history 104/week @ 2024-11-10 595/week @ 2024-11-17 71/week @ 2024-11-24 127/week @ 2024-12-01 136/week @ 2024-12-08 292/week @ 2024-12-15

732 downloads per month

Custom license

65KB
1.5K SLoC

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.

Dependencies

~25MB
~201K SLoC