Files
PeachDeployments/bricks/internal_memory/brick.yaml
alvocool 38881d1fe1 Add app source and tests
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-11 10:15:30 +03:00

25 lines
798 B
YAML

name: internal_memory
description: Adds a persisted field to local storage — injects the getter/setter
pair into ConnectInternalMemory, InternalMemory and AppDataManager in one go,
with JSON handling for objects and lists.
version: 0.1.0+1
environment:
mason: ^0.1.1
vars:
function_name:
type: string
description: The field name in camelCase
prompt: "🖋️ What is the field name? (e.g. activeServer)"
request_object:
type: string
description: The stored type — String, a model, or List<Model>
prompt: "📦 What type is stored? (e.g. ServerProfile / List<ServerProfile> / String)"
secure:
type: boolean
description: Store in the OS keystore instead of shared_preferences
default: false
prompt: "🔐 Is this a secret (password/token)?"