[yoga-4] upgrade strapi, add description to yoga achievement
This commit is contained in:
parent
1bb26381d3
commit
9036b9ab46
@ -10,6 +10,7 @@ export interface YogaAchivement {
|
|||||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
|
||||||
image?: { data: Media };
|
image?: { data: Media };
|
||||||
name?: string;
|
name?: string;
|
||||||
|
description?: string;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
export interface YogaAchivement_Plain {
|
export interface YogaAchivement_Plain {
|
||||||
@ -17,6 +18,7 @@ export interface YogaAchivement_Plain {
|
|||||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
|
||||||
image?: Media_Plain;
|
image?: Media_Plain;
|
||||||
name?: string;
|
name?: string;
|
||||||
|
description?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface YogaAchivement_NoRelations {
|
export interface YogaAchivement_NoRelations {
|
||||||
@ -24,6 +26,7 @@ export interface YogaAchivement_NoRelations {
|
|||||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
|
||||||
image?: number;
|
image?: number;
|
||||||
name?: string;
|
name?: string;
|
||||||
|
description?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface YogaAchivement_AdminPanelLifeCycle {
|
export interface YogaAchivement_AdminPanelLifeCycle {
|
||||||
@ -31,4 +34,5 @@ export interface YogaAchivement_AdminPanelLifeCycle {
|
|||||||
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
|
||||||
image?: AdminPanelRelationPropertyModification<Media_Plain>;
|
image?: AdminPanelRelationPropertyModification<Media_Plain>;
|
||||||
name?: string;
|
name?: string;
|
||||||
|
description?: string;
|
||||||
}
|
}
|
||||||
|
|||||||
3255
yoga-cms/package-lock.json
generated
3255
yoga-cms/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -13,9 +13,9 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ckeditor/strapi-plugin-ckeditor": "^1.1.0",
|
"@ckeditor/strapi-plugin-ckeditor": "^1.1.0",
|
||||||
"@strapi/plugin-cloud": "5.6.0",
|
"@strapi/plugin-cloud": "5.13.0",
|
||||||
"@strapi/plugin-users-permissions": "5.6.0",
|
"@strapi/plugin-users-permissions": "5.13.0",
|
||||||
"@strapi/strapi": "5.6.0",
|
"@strapi/strapi": "5.13.0",
|
||||||
"better-sqlite3": "11.3.0",
|
"better-sqlite3": "11.3.0",
|
||||||
"fs-extra": "^10.0.0",
|
"fs-extra": "^10.0.0",
|
||||||
"mime-types": "^2.1.27",
|
"mime-types": "^2.1.27",
|
||||||
|
|||||||
@ -28,6 +28,9 @@
|
|||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
5
yoga-cms/types/generated/contentTypes.d.ts
vendored
5
yoga-cms/types/generated/contentTypes.d.ts
vendored
@ -34,6 +34,10 @@ export interface AdminApiToken extends Struct.CollectionTypeSchema {
|
|||||||
minLength: 1;
|
minLength: 1;
|
||||||
}> &
|
}> &
|
||||||
Schema.Attribute.DefaultTo<''>;
|
Schema.Attribute.DefaultTo<''>;
|
||||||
|
encryptedKey: Schema.Attribute.Text &
|
||||||
|
Schema.Attribute.SetMinMaxLength<{
|
||||||
|
minLength: 1;
|
||||||
|
}>;
|
||||||
expiresAt: Schema.Attribute.DateTime;
|
expiresAt: Schema.Attribute.DateTime;
|
||||||
lastUsedAt: Schema.Attribute.DateTime;
|
lastUsedAt: Schema.Attribute.DateTime;
|
||||||
lifespan: Schema.Attribute.BigInteger;
|
lifespan: Schema.Attribute.BigInteger;
|
||||||
@ -1038,6 +1042,7 @@ export interface ApiYogaAchivementYogaAchivement
|
|||||||
createdAt: Schema.Attribute.DateTime;
|
createdAt: Schema.Attribute.DateTime;
|
||||||
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||||
Schema.Attribute.Private;
|
Schema.Attribute.Private;
|
||||||
|
description: Schema.Attribute.Text;
|
||||||
image: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
|
image: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
|
||||||
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
||||||
localizations: Schema.Attribute.Relation<
|
localizations: Schema.Attribute.Relation<
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user