10 releases
new 0.1.9 | Nov 23, 2024 |
---|---|
0.1.8 | Nov 20, 2024 |
#3 in #activity
793 downloads per month
44KB
1K
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
~7.5MB
~128K SLoC