Skip to content

Commit

Permalink
Merge pull request #22 from incubateur-ademe/feat/lien-rex-diag-state
Browse files Browse the repository at this point in the history
feat: remove the lien rex diag publication state and the partenaires field in rex diag
  • Loading branch information
rtaieb authored Feb 26, 2025
2 parents 92895af + 5a442cf commit 2559b25
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
"info": {
"singularName": "lien-rex-diagnostic",
"pluralName": "lien-rex-diagnostics",
"displayName": "Lien REX-Diagnostic"
"displayName": "Lien REX-Diagnostic",
"description": ""
},
"options": {
"draftAndPublish": true
"draftAndPublish": false
},
"pluginOptions": {},
"attributes": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,6 @@
},
"customField": "plugin::ckeditor.CKEditor"
},
"partenaires": {
"type": "customField",
"options": {
"output": "HTML",
"preset": "light"
},
"customField": "plugin::ckeditor.CKEditor"
},
"lien_rex_diagnostics": {
"type": "relation",
"relation": "oneToMany",
Expand Down
4 changes: 0 additions & 4 deletions types/api/retour-experience-diagnostic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ export interface RetourExperienceDiagnostic {
resultats?: any;
points_vigilance?: any;
apres?: any;
partenaires?: any;
lien_rex_diagnostics: { data: LienRexDiagnostic[] };
slug: string;
contacts: Contact[];
Expand All @@ -59,7 +58,6 @@ export interface RetourExperienceDiagnostic_Plain {
resultats?: any;
points_vigilance?: any;
apres?: any;
partenaires?: any;
lien_rex_diagnostics: LienRexDiagnostic_Plain[];
slug: string;
contacts: Contact_Plain[];
Expand All @@ -85,7 +83,6 @@ export interface RetourExperienceDiagnostic_NoRelations {
resultats?: any;
points_vigilance?: any;
apres?: any;
partenaires?: any;
lien_rex_diagnostics: number[];
slug: string;
contacts: Contact_NoRelations[];
Expand All @@ -111,7 +108,6 @@ export interface RetourExperienceDiagnostic_AdminPanelLifeCycle {
resultats?: any;
points_vigilance?: any;
apres?: any;
partenaires?: any;
lien_rex_diagnostics: AdminPanelRelationPropertyModification<LienRexDiagnostic_Plain>;
slug: string;
contacts: Contact_Plain[];
Expand Down
12 changes: 2 additions & 10 deletions types/generated/contentTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1417,9 +1417,10 @@ export interface ApiLienRexDiagnosticLienRexDiagnostic
singularName: 'lien-rex-diagnostic';
pluralName: 'lien-rex-diagnostics';
displayName: 'Lien REX-Diagnostic';
description: '';
};
options: {
draftAndPublish: true;
draftAndPublish: false;
};
attributes: {
fiche_diagnostic: Attribute.Relation<
Expand All @@ -1442,7 +1443,6 @@ export interface ApiLienRexDiagnosticLienRexDiagnostic
>;
createdAt: Attribute.DateTime;
updatedAt: Attribute.DateTime;
publishedAt: Attribute.DateTime;
createdBy: Attribute.Relation<
'api::lien-rex-diagnostic.lien-rex-diagnostic',
'oneToOne',
Expand Down Expand Up @@ -1971,14 +1971,6 @@ export interface ApiRetourExperienceDiagnosticRetourExperienceDiagnostic
preset: 'light';
}
>;
partenaires: Attribute.RichText &
Attribute.CustomField<
'plugin::ckeditor.CKEditor',
{
output: 'HTML';
preset: 'light';
}
>;
lien_rex_diagnostics: Attribute.Relation<
'api::retour-experience-diagnostic.retour-experience-diagnostic',
'oneToMany',
Expand Down

0 comments on commit 2559b25

Please sign in to comment.