@gen3/frontend 0.11.31 → 0.11.33

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.
Files changed (237) hide show
  1. package/dist/cjs/index.js +1510 -123
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/dts/components/AddtoDataLibrary/AddToDataLibrary.d.ts +1 -1
  4. package/dist/dts/components/AddtoDataLibrary/AddToDataLibrary.d.ts.map +1 -1
  5. package/dist/dts/components/AddtoDataLibrary/AddToDataLibrary.js +15 -11
  6. package/dist/dts/components/AddtoDataLibrary/AddToDataLibrary.js.map +1 -1
  7. package/dist/dts/components/AddtoDataLibrary/AddToDataLibrary.stories.d.ts +10 -1
  8. package/dist/dts/components/AddtoDataLibrary/AddToDataLibrary.stories.d.ts.map +1 -1
  9. package/dist/dts/components/AddtoDataLibrary/AddToDataLibrary.stories.js +4 -0
  10. package/dist/dts/components/AddtoDataLibrary/AddToDataLibrary.stories.js.map +1 -1
  11. package/dist/dts/components/AddtoDataLibrary/types.d.ts +2 -1
  12. package/dist/dts/components/AddtoDataLibrary/types.d.ts.map +1 -1
  13. package/dist/dts/components/Buttons/DownloadButtons/JSONObjectDownloadButton.js +1 -0
  14. package/dist/dts/components/Buttons/DownloadButtons/JSONObjectDownloadButton.js.map +1 -1
  15. package/dist/dts/components/Buttons/DownloadButtons/index.d.ts +2 -0
  16. package/dist/dts/components/Buttons/DownloadButtons/index.d.ts.map +1 -1
  17. package/dist/dts/components/Buttons/DownloadButtons/index.js +2 -0
  18. package/dist/dts/components/Buttons/DownloadButtons/index.js.map +1 -1
  19. package/dist/dts/components/Buttons/FunctionButton.d.ts +32 -0
  20. package/dist/dts/components/Buttons/FunctionButton.d.ts.map +1 -0
  21. package/dist/dts/components/Buttons/FunctionButton.js +99 -0
  22. package/dist/dts/components/Buttons/FunctionButton.js.map +1 -0
  23. package/dist/dts/components/CollapsableSidebar/CollapsableSidebar.stories.d.ts +1 -1
  24. package/dist/dts/components/CollapsableSidebar/CollapsableSidebar.stories.d.ts.map +1 -1
  25. package/dist/dts/components/DataItems/TruncatedStringWithTooltip.stories.d.ts +1 -1
  26. package/dist/dts/components/DataItems/TruncatedStringWithTooltip.stories.d.ts.map +1 -1
  27. package/dist/dts/components/Login/LoginPanel.d.ts.map +1 -1
  28. package/dist/dts/components/Login/LoginPanel.js +10 -4
  29. package/dist/dts/components/Login/LoginPanel.js.map +1 -1
  30. package/dist/dts/components/MessageCards/MessagePage.d.ts +7 -0
  31. package/dist/dts/components/MessageCards/MessagePage.d.ts.map +1 -0
  32. package/dist/dts/components/MessageCards/MessagePage.js +8 -0
  33. package/dist/dts/components/MessageCards/MessagePage.js.map +1 -0
  34. package/dist/dts/components/MessageCards/index.d.ts +2 -1
  35. package/dist/dts/components/MessageCards/index.d.ts.map +1 -1
  36. package/dist/dts/components/MessageCards/index.js +2 -1
  37. package/dist/dts/components/MessageCards/index.js.map +1 -1
  38. package/dist/dts/components/Providers/Gen3Provider.d.ts +13 -13
  39. package/dist/dts/components/SegmentedControl.stories.d.ts +2 -2
  40. package/dist/dts/components/SegmentedControl.stories.d.ts.map +1 -1
  41. package/dist/dts/components/Tables/ColumnOrdering.d.ts +11 -0
  42. package/dist/dts/components/Tables/ColumnOrdering.d.ts.map +1 -0
  43. package/dist/dts/components/Tables/ColumnOrdering.js +92 -0
  44. package/dist/dts/components/Tables/ColumnOrdering.js.map +1 -0
  45. package/dist/dts/components/Tables/ShowingCount.d.ts +12 -0
  46. package/dist/dts/components/Tables/ShowingCount.d.ts.map +1 -0
  47. package/dist/dts/components/Tables/ShowingCount.js +17 -0
  48. package/dist/dts/components/Tables/ShowingCount.js.map +1 -0
  49. package/dist/dts/components/Tables/TableHeader.d.ts +25 -0
  50. package/dist/dts/components/Tables/TableHeader.d.ts.map +1 -0
  51. package/dist/dts/components/Tables/TableHeader.js +84 -0
  52. package/dist/dts/components/Tables/TableHeader.js.map +1 -0
  53. package/dist/dts/components/Tables/TablePagination.d.ts +13 -0
  54. package/dist/dts/components/Tables/TablePagination.d.ts.map +1 -0
  55. package/dist/dts/components/Tables/TablePagination.js +67 -0
  56. package/dist/dts/components/Tables/TablePagination.js.map +1 -0
  57. package/dist/dts/components/Tables/types.d.ts +66 -0
  58. package/dist/dts/components/Tables/types.d.ts.map +1 -1
  59. package/dist/dts/components/Tables/utils.d.ts +16 -0
  60. package/dist/dts/components/Tables/utils.d.ts.map +1 -1
  61. package/dist/dts/components/Tables/utils.js +47 -0
  62. package/dist/dts/components/Tables/utils.js.map +1 -1
  63. package/dist/dts/components/facets/FacetTabs.js +1 -1
  64. package/dist/dts/components/facets/FacetTabs.js.map +1 -1
  65. package/dist/dts/components/facets/FiltersPanel.d.ts +3 -3
  66. package/dist/dts/components/facets/FiltersPanel.d.ts.map +1 -1
  67. package/dist/dts/components/facets/FiltersPanel.js.map +1 -1
  68. package/dist/dts/components/facets/Panels/DropdownPanel.d.ts +2 -1
  69. package/dist/dts/components/facets/Panels/DropdownPanel.d.ts.map +1 -1
  70. package/dist/dts/components/facets/Panels/DropdownPanel.js +7 -7
  71. package/dist/dts/components/facets/Panels/DropdownPanel.js.map +1 -1
  72. package/dist/dts/components/facets/Panels/types.d.ts +2 -2
  73. package/dist/dts/components/facets/Panels/types.d.ts.map +1 -1
  74. package/dist/dts/features/Analysis/AnalysisCard.stories.d.ts +2 -2
  75. package/dist/dts/features/Analysis/AnalysisCard.stories.d.ts.map +1 -1
  76. package/dist/dts/features/Analysis/AnalysisCardCompact.stories.d.ts +6 -6
  77. package/dist/dts/features/Analysis/AnalysisCardCompact.stories.d.ts.map +1 -1
  78. package/dist/dts/features/Analysis/AnalysisCenterWithSections.stories.d.ts +1 -1
  79. package/dist/dts/features/Analysis/AnalysisCenterWithSections.stories.d.ts.map +1 -1
  80. package/dist/dts/features/Analysis/AnalysisPanel.stories.d.ts +2 -2
  81. package/dist/dts/features/Analysis/AnalysisPanel.stories.d.ts.map +1 -1
  82. package/dist/dts/features/CohortBuilder/CohortPanel.d.ts.map +1 -1
  83. package/dist/dts/features/CohortBuilder/CohortPanel.js +3 -3
  84. package/dist/dts/features/CohortBuilder/CohortPanel.js.map +1 -1
  85. package/dist/dts/features/CohortBuilder/ExplorerTable/AccessCellRenderers.d.ts +3 -0
  86. package/dist/dts/features/CohortBuilder/ExplorerTable/AccessCellRenderers.d.ts.map +1 -0
  87. package/dist/dts/features/CohortBuilder/ExplorerTable/AccessCellRenderers.js +46 -0
  88. package/dist/dts/features/CohortBuilder/ExplorerTable/AccessCellRenderers.js.map +1 -0
  89. package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.d.ts +1 -2
  90. package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.d.ts.map +1 -1
  91. package/dist/dts/features/CohortBuilder/ExplorerTable/ArrayCellRenderer.js.map +1 -1
  92. package/dist/dts/features/CohortBuilder/ExplorerTable/CellRenderers.d.ts +1 -3
  93. package/dist/dts/features/CohortBuilder/ExplorerTable/CellRenderers.d.ts.map +1 -1
  94. package/dist/dts/features/CohortBuilder/ExplorerTable/CellRenderers.js +0 -1
  95. package/dist/dts/features/CohortBuilder/ExplorerTable/CellRenderers.js.map +1 -1
  96. package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.d.ts +1 -1
  97. package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.d.ts.map +1 -1
  98. package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.js +43 -13
  99. package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTable.js.map +1 -1
  100. package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTableCellRenderers.d.ts +1 -3
  101. package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTableCellRenderers.d.ts.map +1 -1
  102. package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTableCellRenderers.js +64 -0
  103. package/dist/dts/features/CohortBuilder/ExplorerTable/ExplorerTableCellRenderers.js.map +1 -1
  104. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExpandingSubtable.js +1 -1
  105. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/ExpandingSubtable.js.map +1 -1
  106. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableAccordian.d.ts.map +1 -1
  107. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableAccordian.js +1 -1
  108. package/dist/dts/features/CohortBuilder/ExplorerTable/SubTables/SubtableAccordian.js.map +1 -1
  109. package/dist/dts/features/CohortBuilder/ExplorerTable/context.d.ts +5 -0
  110. package/dist/dts/features/CohortBuilder/ExplorerTable/context.d.ts.map +1 -0
  111. package/dist/dts/features/CohortBuilder/ExplorerTable/context.js +5 -0
  112. package/dist/dts/features/CohortBuilder/ExplorerTable/context.js.map +1 -0
  113. package/dist/dts/features/CohortBuilder/ExplorerTable/index.d.ts +3 -2
  114. package/dist/dts/features/CohortBuilder/ExplorerTable/index.d.ts.map +1 -1
  115. package/dist/dts/features/CohortBuilder/ExplorerTable/index.js +3 -1
  116. package/dist/dts/features/CohortBuilder/ExplorerTable/index.js.map +1 -1
  117. package/dist/dts/features/CohortBuilder/ExplorerTable/types.d.ts +12 -2
  118. package/dist/dts/features/CohortBuilder/ExplorerTable/types.d.ts.map +1 -1
  119. package/dist/dts/features/CohortBuilder/ExplorerTable/utils.d.ts +16 -2
  120. package/dist/dts/features/CohortBuilder/ExplorerTable/utils.d.ts.map +1 -1
  121. package/dist/dts/features/CohortBuilder/ExplorerTable/utils.js +17 -3
  122. package/dist/dts/features/CohortBuilder/ExplorerTable/utils.js.map +1 -1
  123. package/dist/dts/features/CohortBuilder/Repository/FileFacetPanel.d.ts +11 -0
  124. package/dist/dts/features/CohortBuilder/Repository/FileFacetPanel.d.ts.map +1 -0
  125. package/dist/dts/features/CohortBuilder/Repository/FileFacetPanel.js +92 -0
  126. package/dist/dts/features/CohortBuilder/Repository/FileFacetPanel.js.map +1 -0
  127. package/dist/dts/features/CohortBuilder/Repository/Repository.d.ts +4 -0
  128. package/dist/dts/features/CohortBuilder/Repository/Repository.d.ts.map +1 -0
  129. package/dist/dts/features/CohortBuilder/Repository/Repository.js +14 -0
  130. package/dist/dts/features/CohortBuilder/Repository/Repository.js.map +1 -0
  131. package/dist/dts/features/CohortBuilder/Repository/RepositoryPanel.d.ts +4 -0
  132. package/dist/dts/features/CohortBuilder/Repository/RepositoryPanel.d.ts.map +1 -0
  133. package/dist/dts/features/CohortBuilder/Repository/RepositoryPanel.js +43 -0
  134. package/dist/dts/features/CohortBuilder/Repository/RepositoryPanel.js.map +1 -0
  135. package/dist/dts/features/CohortBuilder/Repository/Stats.d.ts +9 -0
  136. package/dist/dts/features/CohortBuilder/Repository/Stats.d.ts.map +1 -0
  137. package/dist/dts/features/CohortBuilder/Repository/Stats.js +9 -0
  138. package/dist/dts/features/CohortBuilder/Repository/Stats.js.map +1 -0
  139. package/dist/dts/features/CohortBuilder/Repository/hooks.d.ts +9 -0
  140. package/dist/dts/features/CohortBuilder/Repository/hooks.d.ts.map +1 -0
  141. package/dist/dts/features/CohortBuilder/Repository/hooks.js +53 -0
  142. package/dist/dts/features/CohortBuilder/Repository/hooks.js.map +1 -0
  143. package/dist/dts/features/CohortBuilder/Repository/index.d.ts +4 -0
  144. package/dist/dts/features/CohortBuilder/Repository/index.d.ts.map +1 -0
  145. package/dist/dts/features/CohortBuilder/Repository/index.js +3 -0
  146. package/dist/dts/features/CohortBuilder/Repository/index.js.map +1 -0
  147. package/dist/dts/features/CohortBuilder/Repository/types.d.ts +57 -0
  148. package/dist/dts/features/CohortBuilder/Repository/types.d.ts.map +1 -0
  149. package/dist/dts/features/CohortBuilder/Repository/types.js +2 -0
  150. package/dist/dts/features/CohortBuilder/Repository/types.js.map +1 -0
  151. package/dist/dts/features/CohortBuilder/downloads/downloadActionHook.d.ts.map +1 -1
  152. package/dist/dts/features/CohortBuilder/downloads/downloadActionHook.js +4 -1
  153. package/dist/dts/features/CohortBuilder/downloads/downloadActionHook.js.map +1 -1
  154. package/dist/dts/features/CohortBuilder/index.d.ts +4 -2
  155. package/dist/dts/features/CohortBuilder/index.d.ts.map +1 -1
  156. package/dist/dts/features/CohortBuilder/index.js +4 -2
  157. package/dist/dts/features/CohortBuilder/index.js.map +1 -1
  158. package/dist/dts/features/CohortBuilder/types.d.ts +1 -3
  159. package/dist/dts/features/CohortBuilder/types.d.ts.map +1 -1
  160. package/dist/dts/features/CohortBuilder/types.js.map +1 -1
  161. package/dist/dts/features/Dictionary/Dictionary.d.ts.map +1 -1
  162. package/dist/dts/features/Dictionary/Dictionary.js +5 -2
  163. package/dist/dts/features/Dictionary/Dictionary.js.map +1 -1
  164. package/dist/dts/features/Dictionary/GraphView.d.ts +9 -0
  165. package/dist/dts/features/Dictionary/GraphView.d.ts.map +1 -0
  166. package/dist/dts/features/Dictionary/GraphView.js +99 -0
  167. package/dist/dts/features/Dictionary/GraphView.js.map +1 -0
  168. package/dist/dts/features/Dictionary/graphViewDataUtils.d.ts +114 -0
  169. package/dist/dts/features/Dictionary/graphViewDataUtils.d.ts.map +1 -0
  170. package/dist/dts/features/Dictionary/graphViewDataUtils.js +332 -0
  171. package/dist/dts/features/Dictionary/graphViewDataUtils.js.map +1 -0
  172. package/dist/dts/features/Dictionary/utils.d.ts.map +1 -1
  173. package/dist/dts/features/Dictionary/utils.js.map +1 -1
  174. package/dist/dts/features/Discovery/ActionBar/AddToDataLibrary.stories.d.ts +1 -1
  175. package/dist/dts/features/Discovery/ActionBar/AddToDataLibrary.stories.d.ts.map +1 -1
  176. package/dist/dts/features/Discovery/ActionBar/DataLibraryActionButton.stories.d.ts +1 -1
  177. package/dist/dts/features/Discovery/ActionBar/DataLibraryActionButton.stories.d.ts.map +1 -1
  178. package/dist/dts/features/Navigation/Footer/Footer.stories.d.ts +1 -1
  179. package/dist/dts/features/Navigation/Footer/Footer.stories.d.ts.map +1 -1
  180. package/dist/dts/features/Navigation/TopBar/IconButton.stories.d.ts +1 -1
  181. package/dist/dts/features/Navigation/TopBar/IconButton.stories.d.ts.map +1 -1
  182. package/dist/dts/features/Navigation/TopBar/TopBar.stories.d.ts +1 -1
  183. package/dist/dts/features/Navigation/TopBar/TopBar.stories.d.ts.map +1 -1
  184. package/dist/dts/index.d.ts +3 -2
  185. package/dist/dts/index.d.ts.map +1 -1
  186. package/dist/dts/index.js +5 -5
  187. package/dist/dts/index.js.map +1 -1
  188. package/dist/dts/lib/common/staticProps.d.ts.map +1 -1
  189. package/dist/dts/lib/common/staticProps.js +0 -1
  190. package/dist/dts/lib/common/staticProps.js.map +1 -1
  191. package/dist/dts/pages/404/Custom404Page.stories.d.ts +1 -1
  192. package/dist/dts/pages/404/Custom404Page.stories.d.ts.map +1 -1
  193. package/dist/dts/pages/Repository/Repository.d.ts +4 -0
  194. package/dist/dts/pages/Repository/Repository.d.ts.map +1 -0
  195. package/dist/dts/pages/Repository/Repository.js +25 -0
  196. package/dist/dts/pages/Repository/Repository.js.map +1 -0
  197. package/dist/dts/pages/Repository/data.d.ts +4 -0
  198. package/dist/dts/pages/Repository/data.d.ts.map +1 -0
  199. package/dist/dts/pages/Repository/data.js +93 -0
  200. package/dist/dts/pages/Repository/data.js.map +1 -0
  201. package/dist/dts/pages/Repository/index.d.ts +4 -0
  202. package/dist/dts/pages/Repository/index.d.ts.map +1 -0
  203. package/dist/dts/pages/Repository/index.js +4 -0
  204. package/dist/dts/pages/Repository/index.js.map +1 -0
  205. package/dist/dts/pages/Repository/types.d.ts +6 -0
  206. package/dist/dts/pages/Repository/types.d.ts.map +1 -0
  207. package/dist/dts/pages/Repository/types.js +2 -0
  208. package/dist/dts/pages/Repository/types.js.map +1 -0
  209. package/dist/dts/pages/TabbedCohortBuilder/TabbedCohortBuilderPage.d.ts.map +1 -1
  210. package/dist/dts/pages/TabbedCohortBuilder/TabbedCohortBuilderPage.js +1 -1
  211. package/dist/dts/pages/TabbedCohortBuilder/TabbedCohortBuilderPage.js.map +1 -1
  212. package/dist/dts/types/common.d.ts +4 -0
  213. package/dist/dts/types/common.d.ts.map +1 -1
  214. package/dist/dts/types/constants.d.ts +2 -0
  215. package/dist/dts/types/constants.d.ts.map +1 -1
  216. package/dist/dts/types/constants.js +2 -0
  217. package/dist/dts/types/constants.js.map +1 -1
  218. package/dist/dts/types/icons.d.ts +4 -3
  219. package/dist/dts/types/icons.d.ts.map +1 -1
  220. package/dist/dts/types/icons.js +4 -3
  221. package/dist/dts/types/icons.js.map +1 -1
  222. package/dist/dts/utils/RendererFactory.d.ts +1 -14
  223. package/dist/dts/utils/RendererFactory.d.ts.map +1 -1
  224. package/dist/dts/utils/RendererFactory.js.map +1 -1
  225. package/dist/dts/utils/time.d.ts +4 -0
  226. package/dist/dts/utils/time.d.ts.map +1 -1
  227. package/dist/dts/utils/time.js +4 -4
  228. package/dist/dts/utils/time.js.map +1 -1
  229. package/dist/dts/utils/validators.d.ts +2 -0
  230. package/dist/dts/utils/validators.d.ts.map +1 -0
  231. package/dist/dts/utils/validators.js +2 -0
  232. package/dist/dts/utils/validators.js.map +1 -0
  233. package/dist/esm/index.js +1514 -137
  234. package/dist/esm/index.js.map +1 -1
  235. package/dist/index.d.ts +158 -32
  236. package/dist/tsconfig.tsbuildinfo +1 -1
  237. package/package.json +6 -9
@@ -69,7 +69,7 @@ var getCurrentTimestamp = function () {
69
69
  return Date.now(); // Returns milliseconds since Unix epoch
70
70
  };
71
71
  // Get a readable timestamp for logging/display
72
- var getFormattedTimestamp = function () {
72
+ export var getFormattedTimestamp = function () {
73
73
  return new Date().toISOString();
74
74
  };
75
75
  // Compare two timestamps and get difference in milliseconds
@@ -78,7 +78,7 @@ var getTimeDifferenceMs = function (startTime, endTime) {
78
78
  return endTime - startTime;
79
79
  };
80
80
  // Check if time difference is greater than specified minutes
81
- var isTimeGreaterThan = function (startTime, minutes) {
81
+ export var isTimeGreaterThan = function (startTime, minutes) {
82
82
  var diffMs = getTimeDifferenceMs(startTime);
83
83
  var diffMinutes = diffMs / (1000 * 60);
84
84
  return diffMinutes > minutes;
@@ -97,7 +97,7 @@ var getReadableDuration = function (milliseconds) {
97
97
  return "".concat(seconds, "s");
98
98
  };
99
99
  // Example usage:
100
- var measureExecutionTime = function (func) { return __awaiter(void 0, void 0, void 0, function () {
100
+ export var measureExecutionTime = function (func) { return __awaiter(void 0, void 0, void 0, function () {
101
101
  var startTime, duration;
102
102
  return __generator(this, function (_a) {
103
103
  switch (_a.label) {
@@ -112,7 +112,7 @@ var measureExecutionTime = function (func) { return __awaiter(void 0, void 0, vo
112
112
  });
113
113
  }); };
114
114
  // Performance monitoring with high-resolution timestamps
115
- var getHighResolutionTimestamp = function () {
115
+ export var getHighResolutionTimestamp = function () {
116
116
  return performance.now(); // More precise than Date.now() for performance measurements
117
117
  };
118
118
  var SecondsToMilliseconds = function (seconds) { return seconds * 1000; };
@@ -1 +1 @@
1
- {"version":3,"file":"time.js","sourceRoot":"","sources":["../../../src/utils/time.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,MAAM,UAAU,uBAAuB;IACrC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC;AACvC,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,gBAAgB,CAAC,QAAgB;IAC/C,OAAO,IAAI,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,CAAC,cAAc,EAAE,CAAC;AACpD,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,IAAM,4BAA4B,GAAG,UAAC,OAAe;IAC1D,OAAA,OAAO,GAAG,EAAE,GAAG,IAAI;AAAnB,CAAmB,CAAC;AAEtB;;;;;GAKG;AACH,MAAM,CAAC,IAAM,4BAA4B,GAAG,UAAC,OAAe,IAAK,OAAA,OAAO,GAAG,IAAI,EAAd,CAAc,CAAC;AAEhF,iCAAiC;AACjC,IAAM,mBAAmB,GAAG;IAC1B,OAAO,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,wCAAwC;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,IAAM,oBAAoB,GAAG,UAAO,IAAwB;;;;;gBAC3D,SAAS,GAAG,mBAAmB,EAAE,CAAC;gBACxC,qBAAM,IAAI,EAAE,EAAA;;gBAAZ,SAAY,CAAC;gBACP,QAAQ,GAAG,mBAAmB,CAAC,SAAS,CAAC,CAAC;gBAChD,sBAAO,mBAAmB,CAAC,QAAQ,CAAC,EAAC;;;KACtC,CAAC;AAEF,yDAAyD;AACzD,MAAM,CAAC,IAAM,0BAA0B,GAAG;IACxC,OAAO,WAAW,CAAC,GAAG,EAAE,CAAC,CAAC,4DAA4D;AACxF,CAAC,CAAC;AACF,IAAM,qBAAqB,GAAG,UAAC,OAAe,IAAK,OAAA,OAAO,GAAG,IAAI,EAAd,CAAc,CAAC;AAClE,MAAM,CAAC,IAAM,qBAAqB,GAAG,UAAC,OAAe,IAAK,OAAA,OAAO,GAAG,EAAE,GAAG,IAAI,EAAnB,CAAmB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const validateObjectHasRequiredFields: (obj: any, requiredFields: string[]) => boolean;
2
+ //# sourceMappingURL=validators.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validators.d.ts","sourceRoot":"","sources":["../../../src/utils/validators.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,+BAA+B,GAC1C,KAAK,GAAG,EACR,gBAAgB,MAAM,EAAE,YACoC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export var validateObjectHasRequiredFields = function (obj, requiredFields) { return requiredFields.every(function (field) { return obj[field] !== undefined; }); };
2
+ //# sourceMappingURL=validators.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validators.js","sourceRoot":"","sources":["../../../src/utils/validators.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,IAAM,+BAA+B,GAAG,UAC7C,GAAQ,EACR,cAAwB,IACrB,OAAA,cAAc,CAAC,KAAK,CAAC,UAAC,KAAK,IAAK,OAAA,GAAG,CAAC,KAAK,CAAC,KAAK,SAAS,EAAxB,CAAwB,CAAC,EAAzD,CAAyD,CAAC"}