Skip to content

Commit

Permalink
Feat: add create app feature command
Browse files Browse the repository at this point in the history
  • Loading branch information
Tsemach Lifshitz committed Jan 28, 2024
1 parent d01596f commit 8801710
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/consts/urls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ export const getAppFeaturesUrl = (appVersionId: number, types?: AppFeatureType[]
return appFeatureTypes ? `${url}?${appFeatureTypes}` : url;
};

export const getCreateAppFeatureUrl = (appId: number, appVersionId: number): string => {
return `${BASE_APPS_URL}/${appId}/app-versions/${appVersionId}/app-features`;
};

export const getCreateAppFeatureReleaseUrl = (appId: number, appVersionId: number, appFeatureId: number): string => {
return `${BASE_APPS_URL}/${appId}/versions/${appVersionId}/app-features/${appFeatureId}/releases`;
};
Expand Down

0 comments on commit 8801710

Please sign in to comment.