initial commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
namespace radiantwave::db {
|
||||
|
||||
// Canonical system_kv keys. These are the single source of truth for where
|
||||
// device configuration lives in the local database.
|
||||
constexpr const char* KV_EMAIL_ADDRESS = "email_address";
|
||||
constexpr const char* KV_LICENSE_KEY = "license_key";
|
||||
constexpr const char* KV_SUBSCRIPTION_LEVEL_ID = "subscription_level_id";
|
||||
constexpr const char* KV_SUBSCRIPTION_LEVEL_NAME = "subscription_level_name";
|
||||
constexpr const char* KV_SUBSCRIPTION_LEVEL_DESCRIPTION = "subscription_level_description";
|
||||
|
||||
// Unix epoch seconds of the last successful license validation against the
|
||||
// portal. Used to grant a 7-day offline grace window so transient network
|
||||
// outages do not revoke a known-good license.
|
||||
constexpr const char* KV_LICENSE_LAST_VERIFIED = "license_last_verified";
|
||||
|
||||
} // namespace radiantwave::db
|
||||
Reference in New Issue
Block a user