@prefecthq/prefect-ui-library 3.5.17 → 3.5.18

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.
@@ -1,8 +1,8 @@
1
- import { Artifact } from '../models';
1
+ import { Artifact, ArtifactCollection } from '../models';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
- artifact: Artifact;
3
+ artifact: Artifact | ArtifactCollection;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
5
- artifact: Artifact;
5
+ artifact: Artifact | ArtifactCollection;
6
6
  }>>>, {}, {}>;
7
7
  export default _default;
8
8
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,11 +1,11 @@
1
- import { Artifact } from '../models';
1
+ import { Artifact, ArtifactCollection } from '../models';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
- artifact: Artifact;
3
+ artifact: Artifact | ArtifactCollection;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
5
- artifact: Artifact;
5
+ artifact: Artifact | ArtifactCollection;
6
6
  }>>>, {}, {}>, {
7
7
  default?(_: {
8
- artifact: Artifact;
8
+ artifact: Artifact | ArtifactCollection;
9
9
  }): any;
10
10
  }>;
11
11
  export default _default;
@@ -1,8 +1,8 @@
1
- import { Artifact } from '../models';
1
+ import { Artifact, ArtifactCollection } from '../models';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
- artifact: Artifact;
3
+ artifact: Artifact | ArtifactCollection;
4
4
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
5
- artifact: Artifact;
5
+ artifact: Artifact | ArtifactCollection;
6
6
  }>>>, {}, {}>;
7
7
  export default _default;
8
8
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prefecthq/prefect-ui-library",
3
- "version": "3.5.17",
3
+ "version": "3.5.18",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -6,9 +6,9 @@
6
6
 
7
7
  <script lang="ts" setup>
8
8
  import { computed } from 'vue'
9
- import { Artifact } from '@/models'
9
+ import { Artifact, ArtifactCollection } from '@/models'
10
10
  const props = defineProps<{
11
- artifact: Artifact,
11
+ artifact: Artifact | ArtifactCollection,
12
12
  }>()
13
13
 
14
14
  const description = computed(() => props.artifact.description ?? '')
@@ -15,9 +15,9 @@
15
15
 
16
16
  <script lang="ts" setup>
17
17
  import CopyOverflowMenuItem from '@/components/CopyOverflowMenuItem.vue'
18
- import { Artifact } from '@/models'
18
+ import { Artifact, ArtifactCollection } from '@/models'
19
19
 
20
20
  defineProps<{
21
- artifact: Artifact,
21
+ artifact: Artifact | ArtifactCollection,
22
22
  }>()
23
23
  </script>
@@ -12,10 +12,10 @@
12
12
  import PageHeading from '@/components/PageHeading.vue'
13
13
  import { useComponent, useWorkspaceRoutes } from '@/compositions'
14
14
  import { localization } from '@/localization'
15
- import { Artifact } from '@/models'
15
+ import { Artifact, ArtifactCollection } from '@/models'
16
16
 
17
17
  const props = defineProps<{
18
- artifact: Artifact,
18
+ artifact: Artifact | ArtifactCollection,
19
19
  }>()
20
20
 
21
21
  const routes = useWorkspaceRoutes()