Add notification inbox, toasts and alert scanner for orders, prints and filament
Deploy HickLab3D Dashboard / Deploy to production (push) Successful in 28s
Deploy HickLab3D Dashboard / Deploy to production (push) Successful in 28s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
04be9802dc
commit
ab1fdb961f
@@ -44,6 +44,13 @@ class Bambuddy
|
||||
->filter(fn ($archive): bool => is_array($archive))->values()->all());
|
||||
}
|
||||
|
||||
/** @return array<int, array<string, mixed>> Spools in the BamBuddy inventory. */
|
||||
public function spools(): array
|
||||
{
|
||||
return $this->cache->remember('bambuddy.spools.'.md5($this->url()), 300, fn (): array => collect($this->get('inventory/spools'))
|
||||
->filter(fn ($spool): bool => is_array($spool))->values()->all());
|
||||
}
|
||||
|
||||
/** @return array<string, mixed> */
|
||||
public function stats(): array
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user