Add app source and tests
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
24
bricks/internal_memory/brick.yaml
Normal file
24
bricks/internal_memory/brick.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
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)?"
|
||||
Reference in New Issue
Block a user