@michelangelo-ai/core 0.1.15 → 0.1.17
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/dist/components/actions/__tests__/actions-popover.test.d.ts +2 -0
- package/dist/components/actions/__tests__/actions-popover.test.d.ts.map +1 -0
- package/dist/components/actions/action-menu/action-menu-item.d.ts +12 -0
- package/dist/components/actions/action-menu/action-menu-item.d.ts.map +1 -0
- package/dist/components/actions/action-menu/action-menu.d.ts +9 -0
- package/dist/components/actions/action-menu/action-menu.d.ts.map +1 -0
- package/dist/components/actions/actions-buttons/actions-buttons.d.ts +15 -0
- package/dist/components/actions/actions-buttons/actions-buttons.d.ts.map +1 -0
- package/dist/components/actions/actions-buttons/types.d.ts +7 -0
- package/dist/components/actions/actions-buttons/types.d.ts.map +1 -0
- package/dist/components/actions/actions-buttons/utils.d.ts +8 -0
- package/dist/components/actions/actions-buttons/utils.d.ts.map +1 -0
- package/dist/components/actions/actions-popover.d.ts +12 -0
- package/dist/components/actions/actions-popover.d.ts.map +1 -0
- package/dist/components/actions/types.d.ts +58 -0
- package/dist/components/actions/types.d.ts.map +1 -0
- package/dist/components/box/collapsible-box.d.ts.map +1 -1
- package/dist/components/breadcrumb-bar/breadcrumb-bar.d.ts +7 -1
- package/dist/components/breadcrumb-bar/breadcrumb-bar.d.ts.map +1 -1
- package/dist/components/breadcrumb-bar/menu-drawer.d.ts +6 -2
- package/dist/components/breadcrumb-bar/menu-drawer.d.ts.map +1 -1
- package/dist/components/breadcrumb-bar/styled-components.d.ts +1 -0
- package/dist/components/breadcrumb-bar/styled-components.d.ts.map +1 -1
- package/dist/components/breadcrumb-bar/types.d.ts +14 -0
- package/dist/components/breadcrumb-bar/types.d.ts.map +1 -0
- package/dist/components/cell/use-get-cell-renderer.d.ts +1 -1
- package/dist/components/cell/use-get-cell-renderer.d.ts.map +1 -1
- package/dist/components/form/components/form-control.d.ts.map +1 -1
- package/dist/components/form/components/types.d.ts +1 -0
- package/dist/components/form/components/types.d.ts.map +1 -1
- package/dist/components/form/fields/boolean/boolean-field.d.ts.map +1 -1
- package/dist/components/form/fields/checkbox/checkbox-field.d.ts.map +1 -1
- package/dist/components/form/fields/date/date-field.d.ts.map +1 -1
- package/dist/components/form/fields/date/types.d.ts +3 -3
- package/dist/components/form/fields/date/types.d.ts.map +1 -1
- package/dist/components/form/fields/date/use-date-formatters.d.ts +2 -2
- package/dist/components/form/fields/date/use-date-formatters.d.ts.map +1 -1
- package/dist/components/form/fields/map/__tests__/map-field.test.d.ts +2 -0
- package/dist/components/form/fields/map/__tests__/map-field.test.d.ts.map +1 -0
- package/dist/components/form/fields/map/key-value-row.d.ts +14 -0
- package/dist/components/form/fields/map/key-value-row.d.ts.map +1 -0
- package/dist/components/form/fields/map/map-field.d.ts +3 -0
- package/dist/components/form/fields/map/map-field.d.ts.map +1 -0
- package/dist/components/form/fields/map/types.d.ts +34 -0
- package/dist/components/form/fields/map/types.d.ts.map +1 -0
- package/dist/components/form/fields/markdown/markdown-field.d.ts +9 -0
- package/dist/components/form/fields/markdown/markdown-field.d.ts.map +1 -0
- package/dist/components/form/fields/markdown/types.d.ts +11 -0
- package/dist/components/form/fields/markdown/types.d.ts.map +1 -0
- package/dist/components/form/fields/number/number-field.d.ts.map +1 -1
- package/dist/components/form/fields/radio/card-radio-field.d.ts.map +1 -1
- package/dist/components/form/fields/radio/inline-radio-field.d.ts.map +1 -1
- package/dist/components/form/fields/select/select-field.d.ts +1 -1
- package/dist/components/form/fields/select/select-field.d.ts.map +1 -1
- package/dist/components/form/fields/string/string-field.d.ts.map +1 -1
- package/dist/components/form/fields/textarea/textarea-field.d.ts.map +1 -1
- package/dist/components/form/fields/textarea/types.d.ts +5 -0
- package/dist/components/form/fields/textarea/types.d.ts.map +1 -1
- package/dist/components/form/fields/types.d.ts +5 -0
- package/dist/components/form/fields/types.d.ts.map +1 -1
- package/dist/components/form/fields/url/url-field.d.ts.map +1 -1
- package/dist/components/help-tooltip.d.ts +1 -1
- package/dist/components/help-tooltip.d.ts.map +1 -1
- package/dist/components/row/components/row-item.d.ts +1 -1
- package/dist/components/row/components/row-item.d.ts.map +1 -1
- package/dist/components/table/components/filter/categorical/get-cell-value-for-column.d.ts +1 -1
- package/dist/components/table/components/filter/categorical/get-cell-value-for-column.d.ts.map +1 -1
- package/dist/components/table/components/filter/categorical/use-categorical-filter-factory.d.ts +2 -2
- package/dist/components/table/components/filter/categorical/use-categorical-filter-factory.d.ts.map +1 -1
- package/dist/components/table/components/filter/datetime/datetime-filter.d.ts.map +1 -1
- package/dist/components/table/components/filter/datetime/use-datetime-filter-factory.d.ts +2 -2
- package/dist/components/table/components/filter/datetime/use-datetime-filter-factory.d.ts.map +1 -1
- package/dist/components/table/components/table-header/components/table-column-configuration-button/table-column-configuration-button.d.ts +1 -1
- package/dist/components/table/components/table-header/components/table-column-configuration-button/table-column-configuration-button.d.ts.map +1 -1
- package/dist/components/table/components/table-header/components/table-column-configuration-button/types.d.ts +2 -2
- package/dist/components/table/components/table-header/components/table-column-configuration-button/types.d.ts.map +1 -1
- package/dist/components/table/components/table-header/components/table-column-configuration-button/utils.d.ts +1 -1
- package/dist/components/table/components/table-header/components/table-column-configuration-button/utils.d.ts.map +1 -1
- package/dist/components/table/hooks/use-column-transformer.d.ts +2 -2
- package/dist/components/table/hooks/use-column-transformer.d.ts.map +1 -1
- package/dist/components/table/plugins/selection/use-row-selection-state.d.ts +1 -1
- package/dist/components/table/plugins/selection/use-row-selection-state.d.ts.map +1 -1
- package/dist/components/table/types/table-types.d.ts +1 -1
- package/dist/components/table/types/table-types.d.ts.map +1 -1
- package/dist/components/views/detail-view/components/detail-view-header/detail-view-header.d.ts +1 -1
- package/dist/components/views/detail-view/components/detail-view-header/detail-view-header.d.ts.map +1 -1
- package/dist/components/views/detail-view/detail-view.d.ts +1 -1
- package/dist/components/views/detail-view/detail-view.d.ts.map +1 -1
- package/dist/components/views/detail-view/types/detail-view-component-types.d.ts +11 -0
- package/dist/components/views/detail-view/types/detail-view-component-types.d.ts.map +1 -1
- package/dist/components/views/execution/styled-components.d.ts.map +1 -1
- package/dist/components/views/phase-entity-view/__tests__/phase-entity-view.test.d.ts +2 -0
- package/dist/components/views/phase-entity-view/__tests__/phase-entity-view.test.d.ts.map +1 -0
- package/dist/components/views/sandbox/sandbox.d.ts.map +1 -1
- package/dist/components/views/types.d.ts +3 -4
- package/dist/components/views/types.d.ts.map +1 -1
- package/dist/components/views/utils/table-view-adapter.d.ts.map +1 -1
- package/dist/config/entities/pipeline/__tests__/create-pipeline-run-form.test.d.ts +2 -0
- package/dist/config/entities/pipeline/__tests__/create-pipeline-run-form.test.d.ts.map +1 -0
- package/dist/config/entities/pipeline/create-pipeline-run-form.d.ts +4 -0
- package/dist/config/entities/pipeline/create-pipeline-run-form.d.ts.map +1 -0
- package/dist/config/entities/pipeline/detail.d.ts +3 -0
- package/dist/config/entities/pipeline/detail.d.ts.map +1 -0
- package/dist/config/entities/pipeline/list.d.ts.map +1 -1
- package/dist/config/entities/pipeline/pipeline.d.ts.map +1 -1
- package/dist/config/entities/pipeline/shared.d.ts +4 -0
- package/dist/config/entities/pipeline/shared.d.ts.map +1 -0
- package/dist/config/entities/run/shared.d.ts +1 -1
- package/dist/config/entities/run/shared.d.ts.map +1 -1
- package/dist/config/entities/trigger/shared.d.ts +1 -1
- package/dist/config/entities/trigger/shared.d.ts.map +1 -1
- package/dist/config/phases/data.d.ts +1 -1
- package/dist/config/phases/data.d.ts.map +1 -1
- package/dist/config/phases/deploy.d.ts +1 -1
- package/dist/config/phases/deploy.d.ts.map +1 -1
- package/dist/config/phases/train.d.ts +1 -1
- package/dist/config/phases/train.d.ts.map +1 -1
- package/dist/hooks/routing/use-studio-params/constants.d.ts +2 -1
- package/dist/hooks/routing/use-studio-params/constants.d.ts.map +1 -1
- package/dist/hooks/routing/use-studio-params/normalize-entity-param.d.ts +1 -1
- package/dist/hooks/routing/use-studio-params/normalize-entity-param.d.ts.map +1 -1
- package/dist/hooks/routing/use-studio-params/types.d.ts +2 -17
- package/dist/hooks/routing/use-studio-params/types.d.ts.map +1 -1
- package/dist/hooks/routing/use-studio-params/use-studio-params.d.ts +2 -1
- package/dist/hooks/routing/use-studio-params/use-studio-params.d.ts.map +1 -1
- package/dist/hooks/use-hover.d.ts +0 -1
- package/dist/hooks/use-hover.d.ts.map +1 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/interpolation/base.d.ts +1 -1
- package/dist/interpolation/base.d.ts.map +1 -1
- package/dist/interpolation/function-interpolation.d.ts +1 -1
- package/dist/interpolation/function-interpolation.d.ts.map +1 -1
- package/dist/interpolation/interpolate.d.ts +1 -1
- package/dist/interpolation/interpolate.d.ts.map +1 -1
- package/dist/interpolation/string-interpolation.d.ts +1 -1
- package/dist/interpolation/string-interpolation.d.ts.map +1 -1
- package/dist/interpolation/types.d.ts +2 -1
- package/dist/interpolation/types.d.ts.map +1 -1
- package/dist/michelangelo-core.cjs +71 -65
- package/dist/michelangelo-core.js +20880 -20134
- package/dist/providers/error-provider/use-error-normalizer.d.ts +1 -1
- package/dist/providers/error-provider/use-error-normalizer.d.ts.map +1 -1
- package/dist/providers/interpolation-provider/interpolation-provider.d.ts +1 -1
- package/dist/providers/interpolation-provider/interpolation-provider.d.ts.map +1 -1
- package/dist/providers/user-provider/types.d.ts +2 -5
- package/dist/providers/user-provider/types.d.ts.map +1 -1
- package/dist/router/entity-detail-route.d.ts.map +1 -1
- package/dist/router/studio-bar.d.ts +6 -1
- package/dist/router/studio-bar.d.ts.map +1 -1
- package/dist/test/wrappers/build-wrapper.d.ts +1 -1
- package/dist/test/wrappers/build-wrapper.d.ts.map +1 -1
- package/dist/test/wrappers/get-base-provider-wrapper.d.ts +1 -1
- package/dist/test/wrappers/get-base-provider-wrapper.d.ts.map +1 -1
- package/dist/test/wrappers/get-cell-provider-wrapper.d.ts +2 -2
- package/dist/test/wrappers/get-cell-provider-wrapper.d.ts.map +1 -1
- package/dist/test/wrappers/get-error-provider-wrapper.d.ts +2 -2
- package/dist/test/wrappers/get-error-provider-wrapper.d.ts.map +1 -1
- package/dist/test/wrappers/get-icon-provider-wrapper.d.ts +1 -1
- package/dist/test/wrappers/get-icon-provider-wrapper.d.ts.map +1 -1
- package/dist/test/wrappers/get-router-wrapper.d.ts +1 -1
- package/dist/test/wrappers/get-router-wrapper.d.ts.map +1 -1
- package/dist/test/wrappers/get-service-provider-wrapper.d.ts +2 -2
- package/dist/test/wrappers/get-service-provider-wrapper.d.ts.map +1 -1
- package/dist/test/wrappers/get-user-provider-wrapper.d.ts +1 -1
- package/dist/test/wrappers/get-user-provider-wrapper.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/common/studio-types.d.ts +4 -5
- package/dist/types/common/studio-types.d.ts.map +1 -1
- package/dist/types/common/view-types.d.ts +15 -0
- package/dist/types/common/view-types.d.ts.map +1 -1
- package/dist/types/time-types.d.ts +11 -0
- package/dist/types/time-types.d.ts.map +1 -0
- package/dist/utils/object-utils.d.ts.map +1 -1
- package/dist/utils/time-utils.d.ts +2 -2
- package/dist/utils/time-utils.d.ts.map +1 -1
- package/package.json +5 -1
- package/dist/config/entities/pipeline/__tests__/create-pipeline-run-dialog.test.d.ts +0 -2
- package/dist/config/entities/pipeline/__tests__/create-pipeline-run-dialog.test.d.ts.map +0 -1
- package/dist/config/entities/pipeline/create-pipeline-run-dialog.d.ts +0 -6
- 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
|
|
102
|
-
* Rendered in table rows for list views
|
|
102
|
+
* Optional actions to render for this entity.
|
|
103
|
+
* Rendered in table rows for list views.
|
|
103
104
|
*/
|
|
104
|
-
actions?:
|
|
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;IACjB,sDAAsD;IACtD,OAAO,YAAY;IAEnB,8DAA8D;IAC9D,QAAQ,cAAc;IACtB,gDAAgD;IAChD,SAAS,eAAe;IACxB,wCAAwC;IACxC,WAAW,iBAAiB;IAC5B,0CAA0C;IAC1C,aAAa,mBAAmB;IAChC,oDAAoD;IACpD,YAAY,kBAAkB;IAE9B,qDAAqD;IACrD,SAAS,eAAe;IACxB,2CAA2C;IAC3C,YAAY,kBAAkB;IAC9B,yCAAyC;IACzC,WAAW,iBAAiB;IAC5B,sDAAsD;IACtD,YAAY,kBAAkB;CAC/B;AAED,MAAM,WAAW,iBAAiB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM;IAC1D;;;;;;;;;OASG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;;;;;OAQG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;;;;;;;;;;OAaG;IACH,OAAO,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAChC,2DAA2D;IAC3D,KAAK,EAAE,gBAAgB,CAAC;IACxB,kDAAkD;IAClD,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;IACvB;;;OAGG;IACH,OAAO,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"studio-types.d.ts","sourceRoot":"","sources":["../../../types/common/studio-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AACnE,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;IACjB,sDAAsD;IACtD,OAAO,YAAY;IAEnB,8DAA8D;IAC9D,QAAQ,cAAc;IACtB,gDAAgD;IAChD,SAAS,eAAe;IACxB,wCAAwC;IACxC,WAAW,iBAAiB;IAC5B,0CAA0C;IAC1C,aAAa,mBAAmB;IAChC,oDAAoD;IACpD,YAAY,kBAAkB;IAE9B,qDAAqD;IACrD,SAAS,eAAe;IACxB,2CAA2C;IAC3C,YAAY,kBAAkB;IAC9B,yCAAyC;IACzC,WAAW,iBAAiB;IAC5B,sDAAsD;IACtD,YAAY,kBAAkB;CAC/B;AAED,MAAM,WAAW,iBAAiB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM;IAC1D;;;;;;;;;OASG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;;;;;OAQG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;;;;;;;;;;;OAaG;IACH,OAAO,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAChC,2DAA2D;IAC3D,KAAK,EAAE,gBAAgB,CAAC;IACxB,kDAAkD;IAClD,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,EAAE,CAAC;IACvB;;;OAGG;IACH,OAAO,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,mDAAmD;IACnD,EAAE,EAAE,MAAM,CAAC;IACX,4DAA4D;IAC5D,IAAI,EAAE,MAAM,CAAC;IACb;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,gEAAgE;IAChE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,4DAA4D;IAC5D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,8DAA8D;IAC9D,KAAK,EAAE,UAAU,CAAC;IAClB,0EAA0E;IAC1E,QAAQ,EAAE,iBAAiB,EAAE,CAAC;CAC/B;AAED;;;;;;;;;;GAUG;AACH,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,WAAW,EAAE,CAAC;CACvB;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,YAAY,GAAG,UAAU,CAAC;AAE9D;;;;;;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,
|
|
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 {
|
|
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?:
|
|
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,
|
|
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.
|
|
4
|
+
"version": "0.1.17",
|
|
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 +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 +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"}
|