feat(foundry): add managed data consumers and agent settings
This commit is contained in:
@@ -207,6 +207,34 @@
|
||||
"Consumers supply data and actions but cannot override preset geometry through local className or style props."
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "user-profile-menu",
|
||||
"status": "baseline",
|
||||
"package": "@nodedc/ui-react",
|
||||
"exports": ["UserProfileMenu", "UserProfileMenuAction"],
|
||||
"domContract": ["nodedc-user-profile-menu", "nodedc-user-profile-card", "nodedc-user-profile-card__action"],
|
||||
"summary": "Canonical user profile dropdown for NODE.DC application headers with identity cover and application-owned actions.",
|
||||
"behavior": ["portal dropdown", "profile identity card", "theme-independent cover", "action links and callbacks", "outside pointer and Escape close"],
|
||||
"rules": [
|
||||
"The component owns menu geometry and profile presentation; the application owns settings, profile and logout actions.",
|
||||
"Use the existing Dropdown engine so the menu is never clipped by the fixed application header.",
|
||||
"Do not embed product permissions or sharing rules in the visual menu."
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "feature-settings-window",
|
||||
"status": "baseline",
|
||||
"package": "@nodedc/ui-react",
|
||||
"exports": ["FeatureSettingsWindow", "FeatureSettingsSection"],
|
||||
"domContract": ["nodedc-feature-settings-window", "nodedc-feature-settings__navigation", "nodedc-feature-settings__content"],
|
||||
"summary": "Engine-derived large settings window with module identity, grouped feature navigation and application-owned content.",
|
||||
"behavior": ["canonical modal focus behavior", "controlled active section", "grouped navigation", "responsive single-column layout"],
|
||||
"rules": [
|
||||
"The window owns settings-shell geometry only; forms, API calls and authorization remain application-owned.",
|
||||
"FeatureSettingsWindow composes the canonical Window and must not create a second portal or focus trap.",
|
||||
"Module colors are supplied through the active NODE.DC Design Profile rather than hard-coded product CSS."
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "application-shell",
|
||||
"status": "baseline",
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"$schema": "https://nodedc.ru/schemas/foundry-data-product-consumer-policies-v1.json",
|
||||
"schemaVersion": "nodedc.foundry.data-product-consumer-policies/v1",
|
||||
"policies": [
|
||||
{
|
||||
"id": "map-moving-object-current-v1",
|
||||
"version": "1.0.0",
|
||||
"dataProductId": "fleet.positions.current.v1",
|
||||
"productVersion": "1.0.0",
|
||||
"staleAfterMs": 60000,
|
||||
"terminalStatuses": [
|
||||
"inactive",
|
||||
"no-position",
|
||||
"no_position"
|
||||
],
|
||||
"removeMode": "canonical-tombstone-or-snapshot-rebase"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user