修改完成55%
This commit is contained in:
@@ -93,11 +93,10 @@ if ($applications -notmatch 'genealogyContext') {
|
||||
}
|
||||
|
||||
$notifications = Get-Content -Raw -Encoding UTF8 (Join-Path $root 'pages/notification/n01-message-center.vue')
|
||||
foreach ($method in @('markNotificationRead', 'markAllNotificationsRead')) {
|
||||
if ($notifications -notmatch [regex]::Escape($method)) {
|
||||
throw "Notification page does not use $method"
|
||||
}
|
||||
foreach ($method in @('readNotice', 'markAllRead', 'notice-state--list')) {
|
||||
if ($notifications -notmatch [regex]::Escape($method)) { throw "Notification page does not expose local design interaction: $method" }
|
||||
}
|
||||
if ($notifications -match "@/utils/api\.js|\bappApi\b") { throw 'Notification design page must not connect the API layer' }
|
||||
|
||||
$family = Get-Content -Raw -Encoding UTF8 (Join-Path $root 'pages/family/f01-family-feed.vue')
|
||||
foreach ($token in @('genealogyContext', 'openSection', 'pages/family/f04-article-list', 'pages/family/f07-album-list', 'pages/records/r05-ritual-list', 'pages/records/r10-memo-list', 'pages/family/f02-publish-feed')) {
|
||||
@@ -107,10 +106,11 @@ foreach ($token in @('genealogyContext', 'openSection', 'pages/family/f04-articl
|
||||
}
|
||||
|
||||
$profile = Get-Content -Raw -Encoding UTF8 (Join-Path $root 'pages/profile/m01-profile-home.vue')
|
||||
foreach ($token in @('appApi', 'getProfile', 'profile.name')) {
|
||||
foreach ($token in @('profile-state--ready', 'menuItems', 'toProfile')) {
|
||||
if ($profile -notmatch [regex]::Escape($token)) {
|
||||
throw "Missing dynamic profile behavior: $token"
|
||||
throw "Missing local profile design behavior: $token"
|
||||
}
|
||||
}
|
||||
if ($profile -match "@/utils/api\.js|\bappApi\b") { throw 'Profile design page must not connect the API layer' }
|
||||
|
||||
Write-Output 'PASS core-flow session and auth contract'
|
||||
|
||||
Reference in New Issue
Block a user