[yoga-4] upgrade strapi, add description to yoga achievement

This commit is contained in:
Schneider Roland 2025-05-13 22:04:25 +02:00
parent 1bb26381d3
commit 9036b9ab46
5 changed files with 1697 additions and 1576 deletions

View File

@ -10,6 +10,7 @@ export interface YogaAchivement {
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
image?: { data: Media };
name?: string;
description?: string;
};
}
export interface YogaAchivement_Plain {
@ -17,6 +18,7 @@ export interface YogaAchivement_Plain {
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
image?: Media_Plain;
name?: string;
description?: string;
}
export interface YogaAchivement_NoRelations {
@ -24,6 +26,7 @@ export interface YogaAchivement_NoRelations {
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
image?: number;
name?: string;
description?: string;
}
export interface YogaAchivement_AdminPanelLifeCycle {
@ -31,4 +34,5 @@ export interface YogaAchivement_AdminPanelLifeCycle {
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
image?: AdminPanelRelationPropertyModification<Media_Plain>;
name?: string;
description?: string;
}

File diff suppressed because it is too large Load Diff

View File

@ -13,9 +13,9 @@
},
"dependencies": {
"@ckeditor/strapi-plugin-ckeditor": "^1.1.0",
"@strapi/plugin-cloud": "5.6.0",
"@strapi/plugin-users-permissions": "5.6.0",
"@strapi/strapi": "5.6.0",
"@strapi/plugin-cloud": "5.13.0",
"@strapi/plugin-users-permissions": "5.13.0",
"@strapi/strapi": "5.13.0",
"better-sqlite3": "11.3.0",
"fs-extra": "^10.0.0",
"mime-types": "^2.1.27",

View File

@ -28,6 +28,9 @@
},
"name": {
"type": "string"
},
"description": {
"type": "text"
}
}
}

View File

@ -34,6 +34,10 @@ export interface AdminApiToken extends Struct.CollectionTypeSchema {
minLength: 1;
}> &
Schema.Attribute.DefaultTo<''>;
encryptedKey: Schema.Attribute.Text &
Schema.Attribute.SetMinMaxLength<{
minLength: 1;
}>;
expiresAt: Schema.Attribute.DateTime;
lastUsedAt: Schema.Attribute.DateTime;
lifespan: Schema.Attribute.BigInteger;
@ -1038,6 +1042,7 @@ export interface ApiYogaAchivementYogaAchivement
createdAt: Schema.Attribute.DateTime;
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
Schema.Attribute.Private;
description: Schema.Attribute.Text;
image: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
locale: Schema.Attribute.String & Schema.Attribute.Private;
localizations: Schema.Attribute.Relation<