junobuild-collections 0.5.2

The types and rules to define collections.
Documentation
// Collection {} is reserved and cannot be modified.
pub const JUNO_COLLECTIONS_ERROR_MODIFY_RESERVED_COLLECTION: &str =
    "juno.collections.error.modify_reserved_collection";
// The collection name matches a system collection.
pub const JUNO_COLLECTIONS_ERROR_RESERVED_NAME: &str = "juno.collections.error.reserved_name";
// Collection {} is reserved.
pub const JUNO_COLLECTIONS_ERROR_RESERVED_COLLECTION: &str =
    "juno.collections.error.reserved_collection";
// Rate config cannot be disabled.
pub const JUNO_COLLECTIONS_ERROR_RATE_CONFIG_ENABLED: &str =
    "juno.collections.error.rate_config_enabled";
// Collection starting with {} cannot be deleted
pub const JUNO_COLLECTIONS_ERROR_DELETE_PREFIX_RESERVED: &str =
    "juno.collections.error.prefix_deletion";
// The "{}" collection in {} is not empty
pub const JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_EMPTY: &str = "juno.collections.error.not_empty";
// Collection "{}" not found in {}.
pub const JUNO_COLLECTIONS_ERROR_COLLECTION_NOT_FOUND: &str = "juno.collections.error.not_found";
// Collection starts with {}, a reserved prefix
pub const JUNO_COLLECTIONS_ERROR_PREFIX_RESERVED: &str = "juno.collections.error.prefix_reserved";