Module: Labimotion::Constants::UserSettingKey

Defined in:
lib/labimotion/constants.rb

Overview

The key column of user_settings: one row per user per key, each owning an independent settings jsonb. A feature claims a key here and nothing else in the table can disturb it, which is the point of splitting by row rather than sharing one blob — a large layer library and a stored credential have no reason to be rewritten by each other's saves.

Constant Summary collapse

AI =

Per-user AI settings: model, personal API key (encrypted), provider endpoint. Read and written through Labimotion::UserAiSettings.

'ai'
MY_LAYERS =

A user's own layers — visible to them alone, not published to a template.

'my_layers'