@codegouvfr/sill
Advanced tools
Comparing version 1.17.4 to 1.18.0
@@ -105,2 +105,3 @@ import type { PayloadAction } from "@reduxjs/toolkit"; | ||
softwareKeywords: string[]; | ||
doRespectRgaa: boolean; | ||
}; | ||
@@ -107,0 +108,0 @@ export type DeclarationFormData = DeclarationFormData.User | DeclarationFormData.Referent; |
@@ -111,3 +111,3 @@ "use strict"; | ||
"parentSoftwareWikidataId": undefined, | ||
"doRespectRgaa": false, | ||
"doRespectRgaa": formData.doRespectRgaa, | ||
"isFromFrenchPublicService": formData.isFromFrenchPublicService, | ||
@@ -156,4 +156,4 @@ "isPresentInSupportContract": formData.isPresentInSupportContract, | ||
{ | ||
const { id, referencedSinceTime, dereferencing, isStillInObservation, parentSoftwareWikidataId, doRespectRgaa, addedByAgentEmail, catalogNumeriqueGouvFrId, categories, generalInfoMd, testUrls, workshopUrls } = softwareRows[index]; | ||
const { comptoirDuLibreId, isFromFrenchPublicService, isPresentInSupportContract, similarSoftwareWikidataIds, softwareDescription, softwareLicense, softwareMinimalVersion, softwareName, softwareType, wikidataId, softwareLogoUrl, softwareKeywords, ...rest } = formData; | ||
const { id, referencedSinceTime, dereferencing, isStillInObservation, parentSoftwareWikidataId, addedByAgentEmail, catalogNumeriqueGouvFrId, categories, generalInfoMd, testUrls, workshopUrls } = softwareRows[index]; | ||
const { comptoirDuLibreId, isFromFrenchPublicService, isPresentInSupportContract, similarSoftwareWikidataIds, softwareDescription, softwareLicense, softwareMinimalVersion, softwareName, softwareType, wikidataId, softwareLogoUrl, softwareKeywords, doRespectRgaa, ...rest } = formData; | ||
(0, assert_1.assert)(); | ||
@@ -160,0 +160,0 @@ softwareRows[index] = { |
{ | ||
"name": "@codegouvfr/sill", | ||
"version": "1.17.4", | ||
"version": "1.18.0", | ||
"description": "The backend of etalab.gouv.fr/sill", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -431,3 +431,4 @@ "use strict"; | ||
"softwareLogoUrl": zod_1.z.string().optional(), | ||
"softwareKeywords": zod_1.z.array(zod_1.z.string()) | ||
"softwareKeywords": zod_1.z.array(zod_1.z.string()), | ||
"doRespectRgaa": zod_1.z.boolean() | ||
}); | ||
@@ -434,0 +435,0 @@ { |
@@ -132,2 +132,3 @@ import structuredClone from "@ungap/structured-clone"; | ||
softwareKeywords: string[]; | ||
doRespectRgaa: boolean; | ||
}; | ||
@@ -303,3 +304,3 @@ | ||
"parentSoftwareWikidataId": undefined, | ||
"doRespectRgaa": false, | ||
"doRespectRgaa": formData.doRespectRgaa, | ||
"isFromFrenchPublicService": formData.isFromFrenchPublicService, | ||
@@ -375,3 +376,2 @@ "isPresentInSupportContract": formData.isPresentInSupportContract, | ||
parentSoftwareWikidataId, | ||
doRespectRgaa, | ||
addedByAgentEmail, | ||
@@ -398,2 +398,3 @@ catalogNumeriqueGouvFrId, | ||
softwareKeywords, | ||
doRespectRgaa, | ||
...rest | ||
@@ -400,0 +401,0 @@ } = formData; |
@@ -548,3 +548,4 @@ import type { ReturnType } from "tsafe"; | ||
"softwareLogoUrl": z.string().optional(), | ||
"softwareKeywords": z.array(z.string()) | ||
"softwareKeywords": z.array(z.string()), | ||
"doRespectRgaa": z.boolean() | ||
}); | ||
@@ -551,0 +552,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
676922
12361