Skip to content

Commit 6519689

Browse files
committed
chore(addons): Serialize configurableApiRoot property
1 parent 95a1cbc commit 6519689

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/app/shared/mappers/addon.mapper.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export class AddonMapper {
2626
credentialsFormat: response.attributes.credentials_format,
2727
providerName: response.attributes.display_name,
2828
iconUrl: response.attributes.icon_url,
29+
configurableApiRoot: response.attributes.configurable_api_root,
2930
};
3031
}
3132

src/app/shared/models/addons/addon-json-api.models.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export interface AddonGetResponseJsonApi {
1010
credentials_format: string;
1111
wb_key: string;
1212
icon_url: string;
13+
configurable_api_root: boolean;
1314
[key: string]: unknown;
1415
};
1516
relationships: {

src/app/shared/models/addons/addon.model.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export interface AddonModel {
77
supportedFeatures?: string[];
88
providerName?: string;
99
credentialsFormat?: string;
10+
configurableApiRoot?: boolean;
1011
authUrl?: string | null;
1112
authorizedCapabilities?: string[];
1213
authorizedOperationNames?: string[];

0 commit comments

Comments
 (0)