25 lines
798 B
YAML
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)?"
|