Skip to content

Commit cf584bc

Browse files
os-zhuangclaude
andcommitted
fix(spec): classify nameField in liveness ledger + refresh API surface
- liveness/object.json: nameField → live (read by display-name.ts + objectql search + plugin-approvals); note displayNameField now its deprecated alias. Fixes the ADR-0049 liveness gate (was 1 UNCLASSIFIED). - Regenerate api-surface.json + signatures for the new display-name exports (resolveRecordDisplayName, resolveDisplayField, provisionPrimary, …). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 954a5d1 commit cf584bc

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

packages/spec/api-surface.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@
199199
"Dimension (type)",
200200
"DimensionSchema (const)",
201201
"DimensionType (const)",
202+
"DisplayNameObjectMeta (interface)",
202203
"Document (type)",
203204
"DocumentSchema (const)",
204205
"DocumentSchemaValidation (type)",
@@ -346,6 +347,7 @@
346347
"ObjectOwnership (type)",
347348
"ObjectOwnershipEnum (const)",
348349
"ObjectSchema (const)",
350+
"ObjectTitleCompleteness (interface)",
349351
"OperatorKey (type)",
350352
"PoolConfig (type)",
351353
"PoolConfigSchema (const)",
@@ -367,6 +369,7 @@
367369
"RenderedAutonumber (interface)",
368370
"ReplicationConfig (type)",
369371
"ReplicationConfigSchema (const)",
372+
"ResolveRecordDisplayNameOptions (interface)",
370373
"ResolvedHook (type)",
371374
"SQLDialect (type)",
372375
"SQLDialectSchema (const)",
@@ -418,9 +421,13 @@
418421
"StateMachineValidationSchema (const)",
419422
"StringOperatorSchema (const)",
420423
"SubscriptionEventType (type)",
424+
"TITLE_ELIGIBLE (const)",
425+
"TITLE_ELIGIBLE_TYPES (const)",
426+
"TITLE_INELIGIBLE_TYPES (const)",
421427
"TenancyConfig (type)",
422428
"TenancyConfigSchema (const)",
423429
"TimeUpdateInterval (const)",
430+
"TitleEligibleFieldDef (interface)",
424431
"TransformType (const)",
425432
"VALID_AST_OPERATORS (const)",
426433
"ValidationRule (type)",
@@ -449,14 +456,19 @@
449456
"isDateMacroToken (function)",
450457
"isFilterAST (function)",
451458
"isIncoherentAggregate (function)",
459+
"isTitleEligible (function)",
452460
"missingFieldValues (function)",
453461
"objectForm (const)",
462+
"objectTitleCompleteness (function)",
454463
"parseAutonumberFormat (function)",
455464
"parseDateMacroParam (function)",
456465
"parseFilterAST (function)",
466+
"provisionPrimary (function)",
457467
"referencedFields (function)",
458468
"renderAutonumber (function)",
459469
"resolveCrudAffordances (function)",
470+
"resolveDisplayField (function)",
471+
"resolveRecordDisplayName (function)",
460472
"sequenceWidth (function)",
461473
"suggestFieldType (function)"
462474
],

packages/spec/liveness/object.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@
2525
},
2626
"displayNameField": {
2727
"status": "live",
28-
"note": "objectui RecordDetailView."
28+
"note": "Deprecated alias of nameField (ADR-0079); still read by objectui RecordDetailView + resolveDisplayField back-compat."
29+
},
30+
"nameField": {
31+
"status": "live",
32+
"note": "ADR-0079 canonical record-title pointer; read by data/display-name.ts resolveDisplayField/resolveRecordDisplayName, objectql search displayField, and plugin-approvals."
2933
},
3034
"titleFormat": {
3135
"status": "live",

0 commit comments

Comments
 (0)