@datagouv/components-next 1.0.2-dev.240 → 1.0.2-dev.241

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datagouv/components-next",
3
- "version": "1.0.2-dev.240",
3
+ "version": "1.0.2-dev.241",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "engines": {
@@ -15,7 +15,7 @@
15
15
 
16
16
  <script setup lang="ts">
17
17
  defineProps<{
18
- qualityItem: boolean
18
+ qualityItem?: boolean
19
19
  message: string
20
20
  }>()
21
21
  </script>
@@ -9,18 +9,20 @@ import type { Frequency } from './frequency'
9
9
  import type { Granularity, SpatialZone } from './granularity'
10
10
  import type { WithAccessType } from './access_types'
11
11
 
12
+ // udata leaves out the criteria it cannot evaluate (the file ones without any file, the
13
+ // update one without an expected update) and scores them as failed.
12
14
  export type Quality = {
13
- all_resources_available: boolean
15
+ all_resources_available?: boolean
14
16
  dataset_description_quality: boolean
15
- has_open_format: boolean
16
- has_resources: boolean
17
+ has_open_format?: boolean
18
+ has_resources?: boolean
17
19
  license: boolean
18
- resources_documentation: boolean
20
+ resources_documentation?: boolean
19
21
  score: number
20
22
  spatial: boolean
21
23
  temporal_coverage: boolean
22
24
  update_frequency: boolean
23
- update_fulfilled_in_time: boolean
25
+ update_fulfilled_in_time?: boolean
24
26
  }
25
27
 
26
28
  export type DatasetReference = {