same endpoints for all list types

This commit is contained in:
Julian Krauser 2025-01-14 09:12:11 +01:00
parent 8c70fa1c50
commit bbbd7d2975
5 changed files with 82 additions and 5 deletions

View file

@ -707,6 +707,7 @@ export interface PluginReviewWorkflowsWorkflow extends Struct.CollectionTypeSche
Schema.Attribute.Private;
name: Schema.Attribute.String & Schema.Attribute.Required & Schema.Attribute.Unique;
publishedAt: Schema.Attribute.DateTime;
stageRequiredToPublish: Schema.Attribute.Relation<"oneToOne", "plugin::review-workflows.workflow-stage">;
stages: Schema.Attribute.Relation<"oneToMany", "plugin::review-workflows.workflow-stage">;
updatedAt: Schema.Attribute.DateTime;
updatedBy: Schema.Attribute.Relation<"oneToOne", "admin::user"> & Schema.Attribute.Private;