Skip to content

Commit

Permalink
CodeModel: implement DoEntity
Browse files Browse the repository at this point in the history
Codes delivered by the CodeResource are DOs and can therefor contain a
_type property
  • Loading branch information
cguglielmo committed May 20, 2024
1 parent ecc69a6 commit dbe6c31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eclipse-scout-core/src/code/CodeModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
*
* SPDX-License-Identifier: EPL-2.0
*/
import {Code, CodeType, InitModelOf, ObjectModel} from '../index';
import {Code, CodeType, DoEntity, InitModelOf, ObjectModel} from '../index';

export interface CodeModel<TCodeId> extends ObjectModel<Code<TCodeId>, TCodeId> {
export interface CodeModel<TCodeId> extends ObjectModel<Code<TCodeId>, TCodeId>, DoEntity {
/**
* If the Code is loaded from the Scout Java server and the application is running in dev mode, this property stores the Java Code class this code comes from.
*/
Expand Down

0 comments on commit dbe6c31

Please sign in to comment.