@@ -39,102 +39,120 @@ Object.defineProperty(aspect_, 'name', { value: 'sap.changelog.aspect' })
3939export function _ChangeViewAspect < TBase extends new ( ...args : any [ ] ) => object > ( Base : TBase ) {
4040 return class ChangeView extends Base {
4141 declare ID ?: __ . Key < string >
42- declare keys ?: string | null
42+ declare parent ?: __ . Association . to < ChangeView > | null
43+ declare parent_ID ?: string | null
44+ declare children ?: __ . Composition . of . many < ChangeView_ >
45+ declare locale ?: string | null
46+ declare text ?: string | null
4347 declare attribute ?: string | null
4448 declare valueChangedFrom ?: string | null
4549 declare valueChangedTo ?: string | null
50+ declare valueChangedFromLabel ?: string | null
51+ declare valueChangedToLabel ?: string | null
4652 declare entity ?: string | null
47- declare serviceEntity ?: string | null
48- declare parentKey ?: string | null
49- declare serviceEntityPath ?: string | null
53+ declare entityKey ?: string | null
54+ declare objectID ?: string | null
5055 declare modification ?: ChangeView_modification | null
5156 declare valueDataType ?: string | null
52- declare changeLog ?: __ . Association . to < ChangeLog > | null
53- declare changeLog_ID ?: string | null
5457 declare createdAt ?: __ . DeepRequired < _ . managed > [ 'createdAt' ] | null
5558 /** Canonical user ID */
5659 declare createdBy ?: __ . DeepRequired < _ . managed > [ 'createdBy' ] | null
57- declare objectID ?: string | null
58- declare parentObjectID ?: string | null
59- declare entityKey ?: string | null
60+ declare transactionID ?: number | null
61+ declare attributeLabel ?: string | null
62+ declare entityLabel ?: string | null
63+ declare modificationLabel ?: string | null
64+ declare valueChangedFromLabelDateTime ?: __ . CdsDateTime | null
65+ declare valueChangedFromLabelDateTimeWTZ ?: __ . CdsDateTime | null
66+ declare valueChangedFromLabelTime ?: __ . CdsTime | null
67+ declare valueChangedFromLabelDate ?: __ . CdsDate | null
68+ declare valueChangedFromLabelTimestamp ?: __ . CdsTimestamp | null
69+ declare valueChangedToLabelDateTime ?: __ . CdsDateTime | null
70+ declare valueChangedToLabelDateTimeWTZ ?: __ . CdsDateTime | null
71+ declare valueChangedToLabelTime ?: __ . CdsTime | null
72+ declare valueChangedToLabelDate ?: __ . CdsDate | null
73+ declare valueChangedToLabelTimestamp ?: __ . CdsTimestamp | null
74+ declare valueTimeZone ?: string | null
75+ declare LimitedDescendantCount ?: number | null
76+ declare DistanceFromRoot ?: number | null
77+ declare DrillState ?: string | null
78+ declare LimitedRank ?: number | null
79+ declare parent_entityKey ?: string | null
80+ declare parent_entity ?: string | null
81+ declare parent_parent_entityKey ?: string | null
82+ declare parent_parent_entity ?: string | null
6083 static modification = ChangeView_modification ;
6184 static readonly kind : 'entity' | 'type' | 'aspect' = 'entity' ;
6285 declare static readonly keys : __ . KeysOf < ChangeView > ;
6386 declare static readonly elements : __ . ElementsOf < ChangeView > ;
6487 declare static readonly actions : globalThis . Record < never , never > ;
6588 } ;
6689}
67- /**
68- * Attribute-level Changes with simple capturing of one-level
69- * composition trees in parent... elements.
70- */
7190export class ChangeView extends _ChangeViewAspect ( __ . Entity ) { }
7291Object . defineProperty ( ChangeView , 'name' , { value : 'sap.changelog.ChangeView' } )
7392Object . defineProperty ( ChangeView , 'is_singular' , { value : true } )
74- /**
75- * Attribute-level Changes with simple capturing of one-level
76- * composition trees in parent... elements.
77- */
7893export class ChangeView_ extends Array < ChangeView > { $count ?: number }
7994Object . defineProperty ( ChangeView_ , 'name' , { value : 'sap.changelog.ChangeView' } )
8095
81- export function _ChangeLogAspect < TBase extends new ( ...args : any [ ] ) => object > ( Base : TBase ) {
82- return class ChangeLog extends _ . _managedAspect ( _ . _cuidAspect ( Base ) ) {
83- declare serviceEntity ?: string | null
84- declare entity ?: string | null
85- declare entityKey ?: string | null
86- declare changes ?: __ . Composition . of . many < Changes >
87- static override readonly kind : 'entity' | 'type' | 'aspect' = 'entity' ;
88- declare static readonly keys : __ . KeysOf < ChangeLog > & typeof _ . cuid . keys ;
89- declare static readonly elements : __ . ElementsOf < ChangeLog > ;
90- declare static readonly actions : typeof _ . cuid . actions & typeof _ . managed . actions & globalThis . Record < never , never > ;
96+ export function _i18nKeyAspect < TBase extends new ( ...args : any [ ] ) => object > ( Base : TBase ) {
97+ return class i18nKey extends Base {
98+ declare ID ?: __ . Key < string >
99+ declare locale ?: __ . Key < string >
100+ declare text ?: string | null
101+ static readonly kind : 'entity' | 'type' | 'aspect' = 'entity' ;
102+ declare static readonly keys : __ . KeysOf < i18nKey > ;
103+ declare static readonly elements : __ . ElementsOf < i18nKey > ;
104+ declare static readonly actions : globalThis . Record < never , never > ;
91105 } ;
92106}
93- /** Top-level changes entity, e.g. UPDATE Incident by, at, ... */
94- export class ChangeLog extends _ChangeLogAspect ( __ . Entity ) { }
95- Object . defineProperty ( ChangeLog , 'name' , { value : 'sap.changelog.ChangeLog' } )
96- Object . defineProperty ( ChangeLog , 'is_singular' , { value : true } )
97- /** Top-level changes entity, e.g. UPDATE Incident by, at, ... */
98- export class ChangeLog_ extends Array < ChangeLog > { $count ?: number }
99- Object . defineProperty ( ChangeLog_ , 'name' , { value : 'sap.changelog.ChangeLog' } )
107+ export class i18nKey extends _i18nKeyAspect ( __ . Entity ) { }
108+ Object . defineProperty ( i18nKey , 'name' , { value : 'sap.changelog.i18nKeys' } )
109+ Object . defineProperty ( i18nKey , 'is_singular' , { value : true } )
110+ export class i18nKeys extends Array < i18nKey > { $count ?: number }
111+ Object . defineProperty ( i18nKeys , 'name' , { value : 'sap.changelog.i18nKeys' } )
112+
113+ export function _CHANGE_TRACKING_DUMMYAspect < TBase extends new ( ...args : any [ ] ) => object > ( Base : TBase ) {
114+ return class CHANGE_TRACKING_DUMMY extends Base {
115+ declare X ?: __ . Key < string >
116+ static readonly kind : 'entity' | 'type' | 'aspect' = 'entity' ;
117+ declare static readonly keys : __ . KeysOf < CHANGE_TRACKING_DUMMY > ;
118+ declare static readonly elements : __ . ElementsOf < CHANGE_TRACKING_DUMMY > ;
119+ declare static readonly actions : globalThis . Record < never , never > ;
120+ } ;
121+ }
122+ export class CHANGE_TRACKING_DUMMY extends _CHANGE_TRACKING_DUMMYAspect ( __ . Entity ) { }
123+ Object . defineProperty ( CHANGE_TRACKING_DUMMY , 'name' , { value : 'sap.changelog.CHANGE_TRACKING_DUMMY' } )
124+ Object . defineProperty ( CHANGE_TRACKING_DUMMY , 'is_singular' , { value : true } )
125+ export class CHANGE_TRACKING_DUMMY_ extends Array < CHANGE_TRACKING_DUMMY > { $count ?: number }
126+ Object . defineProperty ( CHANGE_TRACKING_DUMMY_ , 'name' , { value : 'sap.changelog.CHANGE_TRACKING_DUMMY' } )
100127
101128export function _ChangeAspect < TBase extends new ( ...args : any [ ] ) => object > ( Base : TBase ) {
102- return class Change extends Base {
103- declare ID ?: __ . Key < string >
104- declare keys ?: string | null
129+ return class Change extends _ . _cuidAspect ( Base ) {
130+ declare parent ?: __ . Association . to < Change > | null
131+ declare parent_ID ?: string | null
132+ declare children ?: __ . Composition . of . many < Changes >
105133 declare attribute ?: string | null
106134 declare valueChangedFrom ?: string | null
107135 declare valueChangedTo ?: string | null
108- declare entityID ?: string | null
136+ declare valueChangedFromLabel ?: string | null
137+ declare valueChangedToLabel ?: string | null
109138 declare entity ?: string | null
110- declare serviceEntity ?: string | null
111- declare parentEntityID ?: string | null
112- declare parentKey ?: string | null
113- declare serviceEntityPath ?: string | null
139+ declare entityKey ?: string | null
140+ declare objectID ?: string | null
114141 declare modification ?: Change_modification | null
115142 declare valueDataType ?: string | null
116- declare changeLog ?: __ . Association . to < ChangeLog > | null
117- declare changeLog_ID ?: string | null
118143 declare createdAt ?: __ . DeepRequired < _ . managed > [ 'createdAt' ] | null
119144 /** Canonical user ID */
120145 declare createdBy ?: __ . DeepRequired < _ . managed > [ 'createdBy' ] | null
146+ declare transactionID ?: number | null
121147 static modification = Change_modification ;
122- static readonly kind : 'entity' | 'type' | 'aspect' = 'entity' ;
123- declare static readonly keys : __ . KeysOf < Change > ;
148+ static override readonly kind : 'entity' | 'type' | 'aspect' = 'entity' ;
149+ declare static readonly keys : __ . KeysOf < Change > & typeof _ . cuid . keys ;
124150 declare static readonly elements : __ . ElementsOf < Change > ;
125- declare static readonly actions : globalThis . Record < never , never > ;
151+ declare static readonly actions : typeof _ . cuid . actions & globalThis . Record < never , never > ;
126152 } ;
127153}
128- /**
129- * Attribute-level Changes with simple capturing of one-level
130- * composition trees in parent... elements.
131- */
132154export class Change extends _ChangeAspect ( __ . Entity ) { }
133155Object . defineProperty ( Change , 'name' , { value : 'sap.changelog.Changes' } )
134156Object . defineProperty ( Change , 'is_singular' , { value : true } )
135- /**
136- * Attribute-level Changes with simple capturing of one-level
137- * composition trees in parent... elements.
138- */
139157export class Changes extends Array < Change > { $count ?: number }
140158Object . defineProperty ( Changes , 'name' , { value : 'sap.changelog.Changes' } )
0 commit comments