@twreporter/core 1.7.0 → 1.8.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,23 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.8.0-rc.0](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/core@1.7.0...@twreporter/core@1.8.0-rc.0) (2022-10-27)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * address review comments & bugs ([ef8ffa1](https://github.com/twreporter/twreporter-npm-packages/commit/ef8ffa12fdad73f256f0e76a168a88899f27205f))
12
+ * fix style & bug & naming ([7d824ab](https://github.com/twreporter/twreporter-npm-packages/commit/7d824abc5429b3505555aa174c038c67056abccb))
13
+
14
+
15
+ ### Features
16
+
17
+ * add SocialMedia component & fic category-set constants ([617c87c](https://github.com/twreporter/twreporter-npm-packages/commit/617c87c4d67f16e3e9ca2cd778b526a563708277))
18
+
19
+
20
+
21
+
22
+
6
23
  # [1.7.0](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/core@1.7.0-rc.3...@twreporter/core@1.7.0) (2022-10-26)
7
24
 
8
25
  **Note:** Version bump only for package @twreporter/core
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports["default"] = exports.CATEGORY_SET = exports.SUBCATEGORY_ID = exports.SUBCATEGORY_LABEL = exports.CATEGORY_ID = exports.CATEGORY_LABEL = exports.CATEGORY_ORDER = exports.CATEGORY_PATH = void 0;
6
+ exports["default"] = exports.CATEGORY_SET = exports.SUBCATEGORY_ID = exports.SUBCATEGORY_LABEL = exports.SUBCATEGORY_PATH = exports.CATEGORY_ID = exports.CATEGORY_LABEL = exports.CATEGORY_ORDER = exports.CATEGORY_PATH = void 0;
7
7
 
8
8
  var _CATEGORY_LABEL, _CATEGORY_ID, _SUBCATEGORY_LABEL, _SUBCATEGORY_ID, _CATEGORY_SET;
9
9
 
@@ -27,7 +27,7 @@ exports.CATEGORY_PATH = CATEGORY_PATH;
27
27
  var CATEGORY_ORDER = [categoryPath.world, categoryPath.humanrights, categoryPath.politicsAndSociety, categoryPath.health, categoryPath.environment, categoryPath.econ, categoryPath.culture, categoryPath.education]; // todo: update id when db ready
28
28
 
29
29
  exports.CATEGORY_ORDER = CATEGORY_ORDER;
30
- var CATEGORY_LABEL = (_CATEGORY_LABEL = {}, _defineProperty(_CATEGORY_LABEL, categoryPath.world, '國際兩岸'), _defineProperty(_CATEGORY_LABEL, categoryPath.humanrights, '人權司法'), _defineProperty(_CATEGORY_LABEL, categoryPath.politicsAndSociety, '政治社會'), _defineProperty(_CATEGORY_LABEL, categoryPath.health, '醫療健康'), _defineProperty(_CATEGORY_LABEL, categoryPath.environment, '環境永續'), _defineProperty(_CATEGORY_LABEL, categoryPath.econ, '經濟產業'), _defineProperty(_CATEGORY_LABEL, categoryPath.culture, '文化生活'), _defineProperty(_CATEGORY_LABEL, categoryPath.education, '教育校園'), _defineProperty(_CATEGORY_LABEL, categoryPath.podcast, 'Podcast'), _defineProperty(_CATEGORY_LABEL, categoryPath.opinion, '評論'), _defineProperty(_CATEGORY_LABEL, categoryPath.photography, '攝影'), _CATEGORY_LABEL);
30
+ var CATEGORY_LABEL = (_CATEGORY_LABEL = {}, _defineProperty(_CATEGORY_LABEL, categoryPath.world, '國際兩岸'), _defineProperty(_CATEGORY_LABEL, categoryPath.humanrights, '人權司法'), _defineProperty(_CATEGORY_LABEL, categoryPath.politicsAndSociety, '政治社會'), _defineProperty(_CATEGORY_LABEL, categoryPath.health, '醫療健康'), _defineProperty(_CATEGORY_LABEL, categoryPath.environment, '環境永續'), _defineProperty(_CATEGORY_LABEL, categoryPath.econ, '經濟產業'), _defineProperty(_CATEGORY_LABEL, categoryPath.culture, '文化生活'), _defineProperty(_CATEGORY_LABEL, categoryPath.education, '教育校園'), _defineProperty(_CATEGORY_LABEL, categoryPath.podcast, 'Podcast'), _defineProperty(_CATEGORY_LABEL, categoryPath.opinion, '評論'), _defineProperty(_CATEGORY_LABEL, categoryPath.photography, '影像'), _CATEGORY_LABEL);
31
31
  exports.CATEGORY_LABEL = CATEGORY_LABEL;
32
32
  var CATEGORY_ID = (_CATEGORY_ID = {}, _defineProperty(_CATEGORY_ID, categoryPath.world, '63206383207bf7c5f871622c'), _defineProperty(_CATEGORY_ID, categoryPath.humanrights, '63206383207bf7c5f8716234'), _defineProperty(_CATEGORY_ID, categoryPath.politicsAndSociety, '63206383207bf7c5f871623d'), _defineProperty(_CATEGORY_ID, categoryPath.health, '63206383207bf7c5f8716245'), _defineProperty(_CATEGORY_ID, categoryPath.environment, '63206383207bf7c5f871624d'), _defineProperty(_CATEGORY_ID, categoryPath.econ, '63206383207bf7c5f8716254'), _defineProperty(_CATEGORY_ID, categoryPath.culture, '63206383207bf7c5f8716259'), _defineProperty(_CATEGORY_ID, categoryPath.education, '63206383207bf7c5f8716260'), _defineProperty(_CATEGORY_ID, categoryPath.podcast, '63206383207bf7c5f8716266'), _defineProperty(_CATEGORY_ID, categoryPath.opinion, '63206383207bf7c5f8716269'), _defineProperty(_CATEGORY_ID, categoryPath.photography, '574d028748fa171000c45d48'), _CATEGORY_ID);
33
33
  exports.CATEGORY_ID = CATEGORY_ID;
@@ -66,6 +66,7 @@ var subcategoryPath = {
66
66
  ocean: 'ocean',
67
67
  mountainAndForest: 'mountain-and-forest',
68
68
  animal: 'animal',
69
+ climateChange: 'climatechange',
69
70
  pollution: 'pollution',
70
71
  naturalDisaster: 'natural-disaster',
71
72
  economy: 'economy',
@@ -88,11 +89,13 @@ var subcategoryPath = {
88
89
  bookReview: 'book-review',
89
90
  letter: 'letter'
90
91
  };
91
- var SUBCATEGORY_LABEL = (_SUBCATEGORY_LABEL = {}, _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.all, '全部'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.hk, '香港'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.china, '中國'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.us, '美國'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.jpAndKr, '日韓'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.southeastAsia, '東南亞'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.europe, '歐洲'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.others, '其他'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.gender, '性別'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.labor, '勞動'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.immigrant, '移工與移民'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.housingJustice, '居住正義'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.transformationalJustice, '轉型正義'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.mentalIllness, '精神疾病'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.justice, '司法改革'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.digital, '數位人權'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.election, '選舉'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.politicalPartyAndLocalFaction, '政黨與地方政治'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.policy, '政策'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.transportation, '交通'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.foodSafety, '食安'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.informationWarfare, '資訊戰'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.socialwatch, '社會觀察'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.pandemic, '疫情'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.healthPolicy, '醫療政策'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.biotech, '生物科技'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.patientAutonomy, '病人自主權利'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.psychology, '心理'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.longTermCare, '長照'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.publicHealth, '公共衛生'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.energyEnv, '能源'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.ocean, '海洋'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.mountainAndForest, '山林'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.animal, '動物'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.pollution, '環境污染'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.naturalDisaster, '自然災害'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.economy, '經濟'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.energyEcon, '能源'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.agriculture, '農業'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.technology, '科技'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.peAndSports, '體育'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.movie, '電影'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.literature, '文學'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.music, '音樂'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.dramaAndTheatre, '戲劇'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.art, '藝術'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.eduPolicy, '教育政策'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.higherEducation, '高等教育'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.teens, '青少年'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.parenting, '育兒'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.lowBirthRate, '少子化'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.theRealStory, 'The Real Story'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.onTheGround, 'On the Ground 路邊攤計畫'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.bookReview, '書摘'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.letter, '讀者投書'), _SUBCATEGORY_LABEL);
92
+ var SUBCATEGORY_PATH = subcategoryPath;
93
+ exports.SUBCATEGORY_PATH = SUBCATEGORY_PATH;
94
+ var SUBCATEGORY_LABEL = (_SUBCATEGORY_LABEL = {}, _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.all, '全部'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.hk, '香港'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.china, '中國'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.us, '美國'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.jpAndKr, '日韓'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.southeastAsia, '東南亞'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.europe, '歐洲'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.others, '其他'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.gender, '性別'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.labor, '勞動'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.immigrant, '移工與移民'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.housingJustice, '居住正義'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.transformationalJustice, '轉型正義'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.mentalIllness, '精神疾病'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.justice, '獄政司法'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.digital, '數位人權'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.election, '選舉'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.politicalPartyAndLocalFaction, '政黨與地方政治'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.policy, '政策'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.transportation, '交通'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.foodSafety, '食安'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.informationWarfare, '資訊戰'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.socialwatch, '社會觀察'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.pandemic, '疫情'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.healthPolicy, '醫療政策'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.biotech, '生物科技'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.patientAutonomy, '病人自主權利'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.psychology, '心理'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.longTermCare, '長照'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.publicHealth, '公共衛生'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.energyEnv, '能源'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.ocean, '海洋'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.mountainAndForest, '山林'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.animal, '動物'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.climateChange, '氣候變遷'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.pollution, '環境污染'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.naturalDisaster, '自然災害'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.economy, '經濟'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.energyEcon, '能源'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.agriculture, '農業'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.technology, '科技'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.peAndSports, '體育'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.movie, '電影'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.literature, '文學'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.music, '音樂'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.dramaAndTheatre, '戲劇'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.art, '藝術'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.eduPolicy, '教育政策'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.higherEducation, '高等教育'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.teens, '青少年'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.parenting, '育兒'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.lowBirthRate, '少子化'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.theRealStory, 'The Real Story'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.onTheGround, 'On the Ground 路邊攤計畫'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.bookReview, '書摘'), _defineProperty(_SUBCATEGORY_LABEL, subcategoryPath.letter, '讀者投書'), _SUBCATEGORY_LABEL);
92
95
  exports.SUBCATEGORY_LABEL = SUBCATEGORY_LABEL;
93
- var SUBCATEGORY_ID = (_SUBCATEGORY_ID = {}, _defineProperty(_SUBCATEGORY_ID, subcategoryPath.all, ''), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.hk, '63206383207bf7c5f871622d'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.china, '63206383207bf7c5f871622e'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.us, '63206383207bf7c5f871622f'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.jpAndKr, '63206383207bf7c5f8716230'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.southeastAsia, '63206383207bf7c5f8716231'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.europe, '63206383207bf7c5f8716232'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.others, '63206383207bf7c5f8716233'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.gender, '63206383207bf7c5f8716235'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.labor, '63206383207bf7c5f8716236'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.immigrant, '63206383207bf7c5f8716237'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.housingJustice, '63206383207bf7c5f8716238'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.transformationalJustice, '63206383207bf7c5f8716239'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.mentalIllness, '63206383207bf7c5f871623a'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.justice, '63206383207bf7c5f871623b'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.digital, '63206383207bf7c5f871623c'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.election, '63206383207bf7c5f871623e'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.politicalPartyAndLocalFaction, '63206383207bf7c5f871623f'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.policy, '63206383207bf7c5f8716240'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.transportation, '63206383207bf7c5f8716241'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.foodSafety, '63206383207bf7c5f8716242'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.informationWarfare, '63206383207bf7c5f8716243'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.socialwatch, '63206383207bf7c5f8716244'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.pandemic, '63206383207bf7c5f8716246'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.healthPolicy, '63206383207bf7c5f8716247'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.biotech, '63206383207bf7c5f8716248'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.patientAutonomy, '63206383207bf7c5f8716249'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.psychology, '63206383207bf7c5f871624a'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.longTermCare, '63206383207bf7c5f871624b'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.publicHealth, '63206383207bf7c5f871624c'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.energyEnv, '63206383207bf7c5f871624e'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.ocean, '63206383207bf7c5f871624f'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.mountainAndForest, '63206383207bf7c5f8716250'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.animal, '63206383207bf7c5f8716251'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.pollution, '63206383207bf7c5f8716252'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.naturalDisaster, '63206383207bf7c5f8716253'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.economy, '63206383207bf7c5f8716255'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.energyEcon, '63206383207bf7c5f8716256'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.agriculture, '63206383207bf7c5f8716257'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.technology, '63206383207bf7c5f8716258'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.peAndSports, '63206383207bf7c5f871625a'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.movie, '63206383207bf7c5f871625b'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.literature, '63206383207bf7c5f871625c'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.music, '63206383207bf7c5f871625d'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.dramaAndTheatre, '63206383207bf7c5f871625e'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.art, '63206383207bf7c5f871625f'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.eduPolicy, '63206383207bf7c5f8716261'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.higherEducation, '63206383207bf7c5f8716262'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.teens, '63206383207bf7c5f8716263'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.parenting, '63206383207bf7c5f8716264'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.lowBirthRate, '63206383207bf7c5f8716265'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.theRealStory, '63206383207bf7c5f8716267'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.onTheGround, '63206383207bf7c5f8716268'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.bookReview, '63206383207bf7c5f871626a'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.letter, '63206383207bf7c5f871626b'), _SUBCATEGORY_ID);
96
+ var SUBCATEGORY_ID = (_SUBCATEGORY_ID = {}, _defineProperty(_SUBCATEGORY_ID, subcategoryPath.all, ''), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.hk, '63206383207bf7c5f871622d'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.china, '63206383207bf7c5f871622e'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.us, '63206383207bf7c5f871622f'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.jpAndKr, '63206383207bf7c5f8716230'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.southeastAsia, '63206383207bf7c5f8716231'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.europe, '63206383207bf7c5f8716232'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.others, '63206383207bf7c5f8716233'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.gender, '63206383207bf7c5f8716235'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.labor, '63206383207bf7c5f8716236'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.immigrant, '63206383207bf7c5f8716237'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.housingJustice, '63206383207bf7c5f8716238'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.transformationalJustice, '63206383207bf7c5f8716239'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.mentalIllness, '63206383207bf7c5f871623a'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.justice, '63206383207bf7c5f871623b'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.digital, '63206383207bf7c5f871623c'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.election, '63206383207bf7c5f871623e'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.politicalPartyAndLocalFaction, '63206383207bf7c5f871623f'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.policy, '63206383207bf7c5f8716240'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.transportation, '63206383207bf7c5f8716241'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.foodSafety, '63206383207bf7c5f8716242'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.informationWarfare, '63206383207bf7c5f8716243'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.socialwatch, '63206383207bf7c5f8716244'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.pandemic, '63206383207bf7c5f8716246'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.healthPolicy, '63206383207bf7c5f8716247'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.biotech, '63206383207bf7c5f8716248'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.patientAutonomy, '63206383207bf7c5f8716249'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.psychology, '63206383207bf7c5f871624a'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.longTermCare, '63206383207bf7c5f871624b'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.publicHealth, '63206383207bf7c5f871624c'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.energyEnv, '63206383207bf7c5f871624e'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.ocean, '63206383207bf7c5f871624f'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.mountainAndForest, '63206383207bf7c5f8716250'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.animal, '63206383207bf7c5f8716251'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.climateChange, '633407174a9cab5ac7a90738'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.pollution, '63206383207bf7c5f8716252'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.naturalDisaster, '63206383207bf7c5f8716253'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.economy, '63206383207bf7c5f8716255'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.energyEcon, '63206383207bf7c5f8716256'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.agriculture, '63206383207bf7c5f8716257'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.technology, '63206383207bf7c5f8716258'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.peAndSports, '63206383207bf7c5f871625a'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.movie, '63206383207bf7c5f871625b'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.literature, '63206383207bf7c5f871625c'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.music, '63206383207bf7c5f871625d'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.dramaAndTheatre, '63206383207bf7c5f871625e'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.art, '63206383207bf7c5f871625f'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.eduPolicy, '63206383207bf7c5f8716261'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.higherEducation, '63206383207bf7c5f8716262'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.teens, '63206383207bf7c5f8716263'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.parenting, '63206383207bf7c5f8716264'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.lowBirthRate, '63206383207bf7c5f8716265'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.theRealStory, '63206383207bf7c5f8716267'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.onTheGround, '63206383207bf7c5f8716268'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.bookReview, '63206383207bf7c5f871626a'), _defineProperty(_SUBCATEGORY_ID, subcategoryPath.letter, '63206383207bf7c5f871626b'), _SUBCATEGORY_ID);
94
97
  exports.SUBCATEGORY_ID = SUBCATEGORY_ID;
95
- var CATEGORY_SET = (_CATEGORY_SET = {}, _defineProperty(_CATEGORY_SET, categoryPath.world, [subcategoryPath.all, subcategoryPath.hk, subcategoryPath.china, subcategoryPath.us, subcategoryPath.jpAndKr, subcategoryPath.southeastAsia, subcategoryPath.europe, subcategoryPath.others]), _defineProperty(_CATEGORY_SET, categoryPath.humanrights, [subcategoryPath.all, subcategoryPath.gender, subcategoryPath.labor, subcategoryPath.immigrant, subcategoryPath.housingJustice, subcategoryPath.transformationalJustice, subcategoryPath.mentalIllness, subcategoryPath.justice, subcategoryPath.digital]), _defineProperty(_CATEGORY_SET, categoryPath.politicsAndSociety, [subcategoryPath.all, subcategoryPath.election, subcategoryPath.politicalPartyAndLocalFaction, subcategoryPath.policy, subcategoryPath.transportation, subcategoryPath.foodSafety, subcategoryPath.informationWarfare, subcategoryPath.socialwatch]), _defineProperty(_CATEGORY_SET, categoryPath.health, [subcategoryPath.all, subcategoryPath.pandemic, subcategoryPath.healthPolicy, subcategoryPath.biotech, subcategoryPath.patientAutonomy, subcategoryPath.psychology, subcategoryPath.longTermCare, subcategoryPath.publicHealth]), _defineProperty(_CATEGORY_SET, categoryPath.environment, [subcategoryPath.all, subcategoryPath.energyEnv, subcategoryPath.ocean, subcategoryPath.mountainAndForest, subcategoryPath.animal, subcategoryPath.pollution, subcategoryPath.naturalDisaster]), _defineProperty(_CATEGORY_SET, categoryPath.econ, [subcategoryPath.all, subcategoryPath.economy, subcategoryPath.energyEcon, subcategoryPath.agriculture, subcategoryPath.technology]), _defineProperty(_CATEGORY_SET, categoryPath.culture, [subcategoryPath.all, subcategoryPath.peAndSports, subcategoryPath.movie, subcategoryPath.literature, subcategoryPath.music, subcategoryPath.dramaAndTheatre, subcategoryPath.art]), _defineProperty(_CATEGORY_SET, categoryPath.education, [subcategoryPath.all, subcategoryPath.eduPolicy, subcategoryPath.higherEducation, subcategoryPath.teens, subcategoryPath.parenting, subcategoryPath.lowBirthRate]), _defineProperty(_CATEGORY_SET, categoryPath.podcast, [subcategoryPath.all, subcategoryPath.theRealStory, subcategoryPath.onTheGround]), _defineProperty(_CATEGORY_SET, categoryPath.opinion, [subcategoryPath.all, subcategoryPath.bookReview, subcategoryPath.letter]), _CATEGORY_SET);
98
+ var CATEGORY_SET = (_CATEGORY_SET = {}, _defineProperty(_CATEGORY_SET, categoryPath.world, [subcategoryPath.all, subcategoryPath.hk, subcategoryPath.china, subcategoryPath.us, subcategoryPath.jpAndKr, subcategoryPath.southeastAsia, subcategoryPath.europe, subcategoryPath.others]), _defineProperty(_CATEGORY_SET, categoryPath.humanrights, [subcategoryPath.all, subcategoryPath.gender, subcategoryPath.labor, subcategoryPath.immigrant, subcategoryPath.housingJustice, subcategoryPath.transformationalJustice, subcategoryPath.mentalIllness, subcategoryPath.justice, subcategoryPath.digital]), _defineProperty(_CATEGORY_SET, categoryPath.politicsAndSociety, [subcategoryPath.all, subcategoryPath.election, subcategoryPath.politicalPartyAndLocalFaction, subcategoryPath.policy, subcategoryPath.transportation, subcategoryPath.foodSafety, subcategoryPath.informationWarfare, subcategoryPath.socialwatch]), _defineProperty(_CATEGORY_SET, categoryPath.health, [subcategoryPath.all, subcategoryPath.pandemic, subcategoryPath.healthPolicy, subcategoryPath.biotech, subcategoryPath.patientAutonomy, subcategoryPath.psychology, subcategoryPath.longTermCare, subcategoryPath.publicHealth]), _defineProperty(_CATEGORY_SET, categoryPath.environment, [subcategoryPath.all, subcategoryPath.energyEnv, subcategoryPath.ocean, subcategoryPath.mountainAndForest, subcategoryPath.animal, subcategoryPath.climateChange, subcategoryPath.pollution, subcategoryPath.naturalDisaster]), _defineProperty(_CATEGORY_SET, categoryPath.econ, [subcategoryPath.all, subcategoryPath.economy, subcategoryPath.energyEcon, subcategoryPath.agriculture, subcategoryPath.technology]), _defineProperty(_CATEGORY_SET, categoryPath.culture, [subcategoryPath.all, subcategoryPath.peAndSports, subcategoryPath.movie, subcategoryPath.literature, subcategoryPath.music, subcategoryPath.dramaAndTheatre, subcategoryPath.art]), _defineProperty(_CATEGORY_SET, categoryPath.education, [subcategoryPath.all, subcategoryPath.eduPolicy, subcategoryPath.higherEducation, subcategoryPath.teens, subcategoryPath.parenting, subcategoryPath.lowBirthRate]), _defineProperty(_CATEGORY_SET, categoryPath.podcast, [subcategoryPath.all, subcategoryPath.theRealStory, subcategoryPath.onTheGround]), _defineProperty(_CATEGORY_SET, categoryPath.opinion, [subcategoryPath.all, subcategoryPath.bookReview, subcategoryPath.letter]), _CATEGORY_SET);
96
99
  exports.CATEGORY_SET = CATEGORY_SET;
97
100
  var _default = {
98
101
  CATEGORY_PATH: CATEGORY_PATH,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twreporter/core",
3
- "version": "1.7.0",
3
+ "version": "1.8.0-rc.0",
4
4
  "main": "lib/index.js",
5
5
  "repository": "https://github.com/twreporter/twreporter-npm-packages.git",
6
6
  "author": "twreporter <developer@twreporter.org>",
@@ -19,5 +19,5 @@
19
19
  "files": [
20
20
  "lib"
21
21
  ],
22
- "gitHead": "7c69d3797214348fb441596bd4c78788010c8fe5"
22
+ "gitHead": "18f6387366e10e692e08e5356f69409d3535c1b6"
23
23
  }