Repository navigation
feat(types): проброс id свойства в IParam (2.9.2) - #17
Closed
Poizon-API-admin wants to merge 1 commit into
Closed
Poizon-API-admin wants to merge 1 commit into
Poizon-API-admin wants to merge 1 commit into
Conversation
Coverage Report
File Coverage
|
||||||||||||||||||||||||||||||||||||||
Author
|
Перенесено и влито на Gitverse: poparce/goods-converter, merge 'feat/iparam-id' (#1) в main (726c00c), версия 2.9.2. Релизы репозитория переехали на Gitverse — GitHub-копия закрывается как дубль. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Что
IParamполучает опциональноеid?: number.SimpleJSONFormatterспредит объект (...product/...param) —idпоедет в выгрузку сам, без правок форматтеров.Зачем
Замыкает цепочку product-storage → export-api → goods-exporter: export-api кладёт
idсвойства (иmodel.idсинтетическим свойством) вproperties, здесь тип это разрешает.Релиз
package.jsonподнята 2.9.1 → 2.9.2 (patch — по конвенции проекта для мелких аддитивных изменений).npm run build+npm publish(публикация за тобой), затем бампgoods-exporterв export-api2.9.1 → 2.9.2.Проверка
npm run build—id?: numberприсутствует вdist/bundle.d.ts(interface IParam)