Crates.io | hoicko_lib |
lib.rs | hoicko_lib |
version | 0.1.10 |
source | src |
created_at | 2024-11-16 17:42:29.249832 |
updated_at | 2024-12-05 11:19:05.845794 |
description | Hoicko library |
homepage | https://hoicko.com |
repository | |
max_upload_size | |
id | 1450525 |
size | 62,163 |
PRIVATE REPOSITORY - CONFIDENTIAL
Internal Rust library for handling Hoicko activity and notification payloads.
This is a private, proprietary library owned by Hoicko. All rights reserved. Unauthorized access, use, or distribution is prohibited.
Add to your Cargo.toml
:
[dependencies]
hoicko_lib = { version = "0.1.0", registry = "hoicko-private" }
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(),
);
This repository contains proprietary code. Do not share or distribute.
Copyright © 2024 Hoicko. All rights reserved. Proprietary and confidential.