@michelangelo-ai/core 0.1.15 → 0.1.16

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 (155) hide show
  1. package/dist/components/actions/__tests__/actions-popover.test.d.ts +2 -0
  2. package/dist/components/actions/__tests__/actions-popover.test.d.ts.map +1 -0
  3. package/dist/components/actions/action-menu/action-menu-item.d.ts +12 -0
  4. package/dist/components/actions/action-menu/action-menu-item.d.ts.map +1 -0
  5. package/dist/components/actions/action-menu/action-menu.d.ts +9 -0
  6. package/dist/components/actions/action-menu/action-menu.d.ts.map +1 -0
  7. package/dist/components/actions/actions-popover.d.ts +12 -0
  8. package/dist/components/actions/actions-popover.d.ts.map +1 -0
  9. package/dist/components/actions/types.d.ts +45 -0
  10. package/dist/components/actions/types.d.ts.map +1 -0
  11. package/dist/components/box/collapsible-box.d.ts.map +1 -1
  12. package/dist/components/breadcrumb-bar/breadcrumb-bar.d.ts +7 -1
  13. package/dist/components/breadcrumb-bar/breadcrumb-bar.d.ts.map +1 -1
  14. package/dist/components/breadcrumb-bar/menu-drawer.d.ts +6 -2
  15. package/dist/components/breadcrumb-bar/menu-drawer.d.ts.map +1 -1
  16. package/dist/components/breadcrumb-bar/styled-components.d.ts +1 -0
  17. package/dist/components/breadcrumb-bar/styled-components.d.ts.map +1 -1
  18. package/dist/components/breadcrumb-bar/types.d.ts +14 -0
  19. package/dist/components/breadcrumb-bar/types.d.ts.map +1 -0
  20. package/dist/components/cell/use-get-cell-renderer.d.ts +1 -1
  21. package/dist/components/cell/use-get-cell-renderer.d.ts.map +1 -1
  22. package/dist/components/form/components/form-control.d.ts.map +1 -1
  23. package/dist/components/form/components/types.d.ts +1 -0
  24. package/dist/components/form/components/types.d.ts.map +1 -1
  25. package/dist/components/form/fields/boolean/boolean-field.d.ts.map +1 -1
  26. package/dist/components/form/fields/checkbox/checkbox-field.d.ts.map +1 -1
  27. package/dist/components/form/fields/date/date-field.d.ts.map +1 -1
  28. package/dist/components/form/fields/date/types.d.ts +3 -3
  29. package/dist/components/form/fields/date/types.d.ts.map +1 -1
  30. package/dist/components/form/fields/date/use-date-formatters.d.ts +2 -2
  31. package/dist/components/form/fields/date/use-date-formatters.d.ts.map +1 -1
  32. package/dist/components/form/fields/markdown/markdown-field.d.ts +9 -0
  33. package/dist/components/form/fields/markdown/markdown-field.d.ts.map +1 -0
  34. package/dist/components/form/fields/markdown/types.d.ts +11 -0
  35. package/dist/components/form/fields/markdown/types.d.ts.map +1 -0
  36. package/dist/components/form/fields/number/number-field.d.ts.map +1 -1
  37. package/dist/components/form/fields/radio/card-radio-field.d.ts.map +1 -1
  38. package/dist/components/form/fields/radio/inline-radio-field.d.ts.map +1 -1
  39. package/dist/components/form/fields/select/select-field.d.ts +1 -1
  40. package/dist/components/form/fields/select/select-field.d.ts.map +1 -1
  41. package/dist/components/form/fields/string/string-field.d.ts.map +1 -1
  42. package/dist/components/form/fields/textarea/textarea-field.d.ts.map +1 -1
  43. package/dist/components/form/fields/textarea/types.d.ts +5 -0
  44. package/dist/components/form/fields/textarea/types.d.ts.map +1 -1
  45. package/dist/components/form/fields/types.d.ts +5 -0
  46. package/dist/components/form/fields/types.d.ts.map +1 -1
  47. package/dist/components/form/fields/url/url-field.d.ts.map +1 -1
  48. package/dist/components/help-tooltip.d.ts +1 -1
  49. package/dist/components/help-tooltip.d.ts.map +1 -1
  50. package/dist/components/row/components/row-item.d.ts +1 -1
  51. package/dist/components/row/components/row-item.d.ts.map +1 -1
  52. package/dist/components/table/components/filter/categorical/get-cell-value-for-column.d.ts +1 -1
  53. package/dist/components/table/components/filter/categorical/get-cell-value-for-column.d.ts.map +1 -1
  54. package/dist/components/table/components/filter/categorical/use-categorical-filter-factory.d.ts +2 -2
  55. package/dist/components/table/components/filter/categorical/use-categorical-filter-factory.d.ts.map +1 -1
  56. package/dist/components/table/components/filter/datetime/datetime-filter.d.ts.map +1 -1
  57. package/dist/components/table/components/filter/datetime/use-datetime-filter-factory.d.ts +2 -2
  58. package/dist/components/table/components/filter/datetime/use-datetime-filter-factory.d.ts.map +1 -1
  59. package/dist/components/table/components/table-header/components/table-column-configuration-button/table-column-configuration-button.d.ts +1 -1
  60. package/dist/components/table/components/table-header/components/table-column-configuration-button/table-column-configuration-button.d.ts.map +1 -1
  61. package/dist/components/table/components/table-header/components/table-column-configuration-button/types.d.ts +2 -2
  62. package/dist/components/table/components/table-header/components/table-column-configuration-button/types.d.ts.map +1 -1
  63. package/dist/components/table/components/table-header/components/table-column-configuration-button/utils.d.ts +1 -1
  64. package/dist/components/table/components/table-header/components/table-column-configuration-button/utils.d.ts.map +1 -1
  65. package/dist/components/table/hooks/use-column-transformer.d.ts +2 -2
  66. package/dist/components/table/hooks/use-column-transformer.d.ts.map +1 -1
  67. package/dist/components/table/plugins/selection/use-row-selection-state.d.ts +1 -1
  68. package/dist/components/table/plugins/selection/use-row-selection-state.d.ts.map +1 -1
  69. package/dist/components/table/types/table-types.d.ts +1 -1
  70. package/dist/components/table/types/table-types.d.ts.map +1 -1
  71. package/dist/components/views/execution/styled-components.d.ts.map +1 -1
  72. package/dist/components/views/phase-entity-view/__tests__/phase-entity-view.test.d.ts +2 -0
  73. package/dist/components/views/phase-entity-view/__tests__/phase-entity-view.test.d.ts.map +1 -0
  74. package/dist/components/views/sandbox/sandbox.d.ts.map +1 -1
  75. package/dist/components/views/types.d.ts +3 -4
  76. package/dist/components/views/types.d.ts.map +1 -1
  77. package/dist/components/views/utils/table-view-adapter.d.ts.map +1 -1
  78. package/dist/config/entities/pipeline/__tests__/create-pipeline-run-form.test.d.ts +2 -0
  79. package/dist/config/entities/pipeline/__tests__/create-pipeline-run-form.test.d.ts.map +1 -0
  80. package/dist/config/entities/pipeline/create-pipeline-run-form.d.ts +4 -0
  81. package/dist/config/entities/pipeline/create-pipeline-run-form.d.ts.map +1 -0
  82. package/dist/config/entities/pipeline/pipeline.d.ts.map +1 -1
  83. package/dist/config/entities/run/shared.d.ts +1 -1
  84. package/dist/config/entities/run/shared.d.ts.map +1 -1
  85. package/dist/config/entities/trigger/shared.d.ts +1 -1
  86. package/dist/config/entities/trigger/shared.d.ts.map +1 -1
  87. package/dist/config/phases/data.d.ts +1 -1
  88. package/dist/config/phases/data.d.ts.map +1 -1
  89. package/dist/config/phases/deploy.d.ts +1 -1
  90. package/dist/config/phases/deploy.d.ts.map +1 -1
  91. package/dist/config/phases/train.d.ts +1 -1
  92. package/dist/config/phases/train.d.ts.map +1 -1
  93. package/dist/hooks/routing/use-studio-params/constants.d.ts +2 -1
  94. package/dist/hooks/routing/use-studio-params/constants.d.ts.map +1 -1
  95. package/dist/hooks/routing/use-studio-params/normalize-entity-param.d.ts +1 -1
  96. package/dist/hooks/routing/use-studio-params/normalize-entity-param.d.ts.map +1 -1
  97. package/dist/hooks/routing/use-studio-params/types.d.ts +2 -17
  98. package/dist/hooks/routing/use-studio-params/types.d.ts.map +1 -1
  99. package/dist/hooks/routing/use-studio-params/use-studio-params.d.ts +2 -1
  100. package/dist/hooks/routing/use-studio-params/use-studio-params.d.ts.map +1 -1
  101. package/dist/hooks/use-hover.d.ts +0 -1
  102. package/dist/hooks/use-hover.d.ts.map +1 -1
  103. package/dist/index.d.ts +3 -1
  104. package/dist/index.d.ts.map +1 -1
  105. package/dist/interpolation/base.d.ts +1 -1
  106. package/dist/interpolation/base.d.ts.map +1 -1
  107. package/dist/interpolation/function-interpolation.d.ts +1 -1
  108. package/dist/interpolation/function-interpolation.d.ts.map +1 -1
  109. package/dist/interpolation/interpolate.d.ts +1 -1
  110. package/dist/interpolation/interpolate.d.ts.map +1 -1
  111. package/dist/interpolation/string-interpolation.d.ts +1 -1
  112. package/dist/interpolation/string-interpolation.d.ts.map +1 -1
  113. package/dist/interpolation/types.d.ts +2 -1
  114. package/dist/interpolation/types.d.ts.map +1 -1
  115. package/dist/michelangelo-core.cjs +66 -60
  116. package/dist/michelangelo-core.js +17779 -17413
  117. package/dist/providers/error-provider/use-error-normalizer.d.ts +1 -1
  118. package/dist/providers/error-provider/use-error-normalizer.d.ts.map +1 -1
  119. package/dist/providers/interpolation-provider/interpolation-provider.d.ts +1 -1
  120. package/dist/providers/interpolation-provider/interpolation-provider.d.ts.map +1 -1
  121. package/dist/providers/user-provider/types.d.ts +2 -5
  122. package/dist/providers/user-provider/types.d.ts.map +1 -1
  123. package/dist/router/studio-bar.d.ts +6 -1
  124. package/dist/router/studio-bar.d.ts.map +1 -1
  125. package/dist/test/wrappers/build-wrapper.d.ts +1 -1
  126. package/dist/test/wrappers/build-wrapper.d.ts.map +1 -1
  127. package/dist/test/wrappers/get-base-provider-wrapper.d.ts +1 -1
  128. package/dist/test/wrappers/get-base-provider-wrapper.d.ts.map +1 -1
  129. package/dist/test/wrappers/get-cell-provider-wrapper.d.ts +2 -2
  130. package/dist/test/wrappers/get-cell-provider-wrapper.d.ts.map +1 -1
  131. package/dist/test/wrappers/get-error-provider-wrapper.d.ts +2 -2
  132. package/dist/test/wrappers/get-error-provider-wrapper.d.ts.map +1 -1
  133. package/dist/test/wrappers/get-icon-provider-wrapper.d.ts +1 -1
  134. package/dist/test/wrappers/get-icon-provider-wrapper.d.ts.map +1 -1
  135. package/dist/test/wrappers/get-router-wrapper.d.ts +1 -1
  136. package/dist/test/wrappers/get-router-wrapper.d.ts.map +1 -1
  137. package/dist/test/wrappers/get-service-provider-wrapper.d.ts +2 -2
  138. package/dist/test/wrappers/get-service-provider-wrapper.d.ts.map +1 -1
  139. package/dist/test/wrappers/get-user-provider-wrapper.d.ts +1 -1
  140. package/dist/test/wrappers/get-user-provider-wrapper.d.ts.map +1 -1
  141. package/dist/tsconfig.tsbuildinfo +1 -1
  142. package/dist/types/common/studio-types.d.ts +4 -5
  143. package/dist/types/common/studio-types.d.ts.map +1 -1
  144. package/dist/types/common/view-types.d.ts +15 -0
  145. package/dist/types/common/view-types.d.ts.map +1 -1
  146. package/dist/types/time-types.d.ts +11 -0
  147. package/dist/types/time-types.d.ts.map +1 -0
  148. package/dist/utils/object-utils.d.ts.map +1 -1
  149. package/dist/utils/time-utils.d.ts +2 -2
  150. package/dist/utils/time-utils.d.ts.map +1 -1
  151. package/package.json +5 -1
  152. package/dist/config/entities/pipeline/__tests__/create-pipeline-run-dialog.test.d.ts +0 -2
  153. package/dist/config/entities/pipeline/__tests__/create-pipeline-run-dialog.test.d.ts.map +0 -1
  154. package/dist/config/entities/pipeline/create-pipeline-run-dialog.d.ts +0 -6
  155. package/dist/config/entities/pipeline/create-pipeline-run-dialog.d.ts.map +0 -1
@@ -1,3 +1,4 @@
1
+ import type { ActionConfig } from '../../components/actions/types';
1
2
  import type { ViewConfig } from '../../components/views/types';
2
3
  import type { QueryConfig } from '../../types/query-types';
3
4
  /**
@@ -98,12 +99,10 @@ export interface PhaseEntityConfig<T extends object = object> {
98
99
  /** List of view configurations for this entity */
99
100
  views: ViewConfig<T>[];
100
101
  /**
101
- * Optional actions component for this entity
102
- * Rendered in table rows for list views and in detail view headers
102
+ * Optional actions to render for this entity.
103
+ * Rendered in table rows for list views.
103
104
  */
104
- actions?: React.ComponentType<{
105
- record: T;
106
- }>;
105
+ actions?: ActionConfig<T>[];
107
106
  }
108
107
  /**
109
108
  * Simplified phase configuration matching the original studio config structure
@@ -1 +1 @@
1
- {"version":3,"file":"studio-types.d.ts","sourceRoot":"","sources":["../../../types/common/studio-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,oBAAY,KAAK;IACf,oDAAoD;IACpD,OAAO,YAAY;IACnB,8BAA8B;IAC9B,UAAU,eAAe;IACzB,2BAA2B;IAC3B,MAAM,WAAW;IAEjB,+CAA+C;IAC/C,IAAI,SAAS;IACb,mCAAmC;IACnC,KAAK,UAAU;IACf,6CAA6C;IAC7C,OAAO,YAAY;IACnB,yCAAyC;IACzC,MAAM,WAAW;I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GAMG;AACH,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,UAAU,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,MAAM,QAAQ,CAAC,CAAC,GAAG,OAAO,IAAI,UAAU,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC;AAE3D,MAAM,MAAM,UAAU,CAAC,CAAC,GAAG,OAAO,IAAI,CAAC,MAAM,EAAE,OAAO,KAAK,CAAC,GAAG,SAAS,CAAC"}
@@ -2,4 +2,19 @@
2
2
  * Represents the type of Schema Driven view that is being rendered.
3
3
  */
4
4
  export type View = 'form' | 'detail' | 'list';
5
+ /**
6
+ * Union type of all possible view types in the studio.
7
+ * Extends View with additional special view types.
8
+ * @see View for the base view types ('form' | 'detail' | 'list')
9
+ *
10
+ * 'base' is a special view type that is used to represent the base parameters
11
+ * for all views registered to the Schema Driven UI router.
12
+ *
13
+ * 'form-detail' is a special view type that is used to represent the parameters
14
+ * for combined form-detail views.
15
+ *
16
+ * 'unregistered' is a special view type that is used to represent views that are not registered
17
+ * to the Schema Driven UI router but are still part of the studio application.
18
+ */
19
+ export type StudioParamsView = View | 'base' | 'form-detail' | 'unregistered';
5
20
  //# sourceMappingURL=view-types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"view-types.d.ts","sourceRoot":"","sources":["../../../types/common/view-types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC"}
1
+ {"version":3,"file":"view-types.d.ts","sourceRoot":"","sources":["../../../types/common/view-types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE9C;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,gBAAgB,GAAG,IAAI,GAAG,MAAM,GAAG,aAAa,GAAG,cAAc,CAAC"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * The user's preferred timezone context for displaying time-based data.
3
+ *
4
+ * - `Local` — times are shown in the user's browser/system timezone
5
+ * - `UTC` — times are shown in Coordinated Universal Time, independent of location
6
+ */
7
+ export declare enum TimeZone {
8
+ Local = "local",
9
+ UTC = "utc"
10
+ }
11
+ //# sourceMappingURL=time-types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"time-types.d.ts","sourceRoot":"","sources":["../../types/time-types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,oBAAY,QAAQ;IAClB,KAAK,UAAU;IACf,GAAG,QAAQ;CACZ"}
@@ -1 +1 @@
1
- {"version":3,"file":"object-utils.d.ts","sourceRoot":"","sources":["../../utils/object-utils.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAEhE;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAC9B,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC5B,MAAM,SAAK,GACV,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAezB;AAED,wBAAgB,cAAc,CAAC,CAAC,EAC9B,GAAG,EAAE,OAAO,EACZ,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,EACrB,YAAY,CAAC,EAAE,CAAC,GACf,CAAC,GAAG,SAAS,CAUf;AAED,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAatE"}
1
+ {"version":3,"file":"object-utils.d.ts","sourceRoot":"","sources":["../../utils/object-utils.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAEhE;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAC9B,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC5B,MAAM,SAAK,GACV,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAsBzB;AAED,wBAAgB,cAAc,CAAC,CAAC,EAC9B,GAAG,EAAE,OAAO,EACZ,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,EACrB,YAAY,CAAC,EAAE,CAAC,GACf,CAAC,GAAG,SAAS,CAUf;AAED,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAatE"}
@@ -1,4 +1,4 @@
1
- import { UserTimeZone } from '../providers/user-provider/types';
1
+ import { TimeZone } from '../types/time-types';
2
2
  /**
3
3
  * Converts a timestamp to a string.
4
4
  * If timezone kind is specified, it adjust the time and also adds a timezone info.
@@ -8,7 +8,7 @@ import { UserTimeZone } from '../providers/user-provider/types';
8
8
  * - timestampToString(1720656639, 'utc') -> '2024/07/11 00:10:39 (UTC)'
9
9
  * - timestampToString(1720656639, 'local') -> '2024/07/11 02:10:39 (GMT+2)'
10
10
  */
11
- export declare function timestampToString(timestampRaw?: string | number, timeZone?: UserTimeZone): string | null;
11
+ export declare function timestampToString(timestampRaw?: string | number, timeZone?: TimeZone): string | null;
12
12
  /**
13
13
  * Converts epoch seconds to a JavaScript Date object
14
14
  * @param epochSeconds - Unix timestamp in seconds
@@ -1 +1 @@
1
- {"version":3,"file":"time-utils.d.ts","sourceRoot":"","sources":["../../utils/time-utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAEnE;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAC/B,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,EAC9B,QAAQ,CAAC,EAAE,YAAY,GACtB,MAAM,GAAG,IAAI,CAkCf;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,CAElE;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAE1D;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAYvF"}
1
+ {"version":3,"file":"time-utils.d.ts","sourceRoot":"","sources":["../../utils/time-utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAElD;;;;;;;;GAQG;AACH,wBAAgB,iBAAiB,CAC/B,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,EAC9B,QAAQ,CAAC,EAAE,QAAQ,GAClB,MAAM,GAAG,IAAI,CAkCf;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,CAElE;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAE1D;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,GAAG,IAAI,CAYvF"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@michelangelo-ai/core",
3
3
  "license": "Apache-2.0",
4
- "version": "0.1.15",
4
+ "version": "0.1.16",
5
5
  "type": "module",
6
6
  "main": "./dist/michelangelo-core.js",
7
7
  "module": "./dist/michelangelo-core.js",
@@ -57,6 +57,10 @@
57
57
  "styletron-engine-atomic": "^1.0.0",
58
58
  "styletron-react": "^6.1.1"
59
59
  },
60
+ "repository": {
61
+ "type": "git",
62
+ "url": "https://github.com/michelangelo-ai/michelangelo"
63
+ },
60
64
  "publishConfig": {
61
65
  "access": "public"
62
66
  },
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=create-pipeline-run-dialog.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create-pipeline-run-dialog.test.d.ts","sourceRoot":"","sources":["../../../../../config/entities/pipeline/__tests__/create-pipeline-run-dialog.test.tsx"],"names":[],"mappings":""}
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- import type { Pipeline } from '../../../config/entities/pipeline/types';
3
- export declare const CreatePipelineRunDialog: React.FC<{
4
- record: Pipeline;
5
- }>;
6
- //# sourceMappingURL=create-pipeline-run-dialog.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create-pipeline-run-dialog.d.ts","sourceRoot":"","sources":["../../../../config/entities/pipeline/create-pipeline-run-dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AASxC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sCAAsC,CAAC;AAGrE,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,MAAM,EAAE,QAAQ,CAAA;CAAE,CAmDlE,CAAC"}