DirectumCompany / DirectumCompany/sungero-remote-component-example-react
Добавить поддержку, расширение навигационных свойств
- Dominant language
- TypeScript
- Stars
- 7
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
Пример получаем табличную часть версии и у конкретной версии хотим узнать расширение для этого получаем
AssociatedApplication и видим только DisplayValue и Value и Extensions при этом никак не увидеть
``` typescript
import { IChildEntity, IChildEntityCollection, IEntity, INavigationPropertyValue } from '@directum/sungero-remote-component-types';
export interface IVersionRow extends IChildEntity {
Number: number,
Note: string | null,
AssociatedApplication: INavigationPropertyValue | null,
BodyAssociatedApplication: INavigationPropertyValue | null
}
export interface IVersions extends IEntity {
Versions : IChildEntityCollection;
}
```
``` typescript
/** Значение для свойства типа Ссылка. */
export interface INavigationPropertyValue {
/** Идентификатор сущности. */
Value: number;
/** Отображаемое значение. */
DisplayValue: string;
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.