Skip to content

Commit

Permalink
deprecate homepage feature
Browse files Browse the repository at this point in the history
  • Loading branch information
seangeng committed Oct 25, 2024
1 parent db49c06 commit 2b45b16
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 105 deletions.

This file was deleted.

9 changes: 0 additions & 9 deletions src/api/homepage-feature/controllers/homepage-feature.js

This file was deleted.

9 changes: 0 additions & 9 deletions src/api/homepage-feature/routes/homepage-feature.js

This file was deleted.

9 changes: 0 additions & 9 deletions src/api/homepage-feature/services/homepage-feature.js

This file was deleted.

36 changes: 0 additions & 36 deletions types/generated/contentTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1050,41 +1050,6 @@ export interface ApiGameGame extends Schema.CollectionType {
};
}

export interface ApiHomepageFeatureHomepageFeature extends Schema.SingleType {
collectionName: 'homepage_features';
info: {
singularName: 'homepage-feature';
pluralName: 'homepage-features';
displayName: 'Homepage Feature';
description: '';
};
options: {
draftAndPublish: true;
};
attributes: {
gameId: Attribute.UID & Attribute.Required;
blurb: Attribute.Text;
bannerOverride: Attribute.Media<'images'>;
videoOverride: Attribute.Media<'videos'>;
autoplayVideo: Attribute.Boolean;
createdAt: Attribute.DateTime;
updatedAt: Attribute.DateTime;
publishedAt: Attribute.DateTime;
createdBy: Attribute.Relation<
'api::homepage-feature.homepage-feature',
'oneToOne',
'admin::user'
> &
Attribute.Private;
updatedBy: Attribute.Relation<
'api::homepage-feature.homepage-feature',
'oneToOne',
'admin::user'
> &
Attribute.Private;
};
}

export interface ApiHomepageFeaturedCarouselHomepageFeaturedCarousel
extends Schema.CollectionType {
collectionName: 'homepage_featured_carousels';
Expand Down Expand Up @@ -1305,7 +1270,6 @@ declare module '@strapi/types' {
'api::copyright-policy.copyright-policy': ApiCopyrightPolicyCopyrightPolicy;
'api::featured-game.featured-game': ApiFeaturedGameFeaturedGame;
'api::game.game': ApiGameGame;
'api::homepage-feature.homepage-feature': ApiHomepageFeatureHomepageFeature;
'api::homepage-featured-carousel.homepage-featured-carousel': ApiHomepageFeaturedCarouselHomepageFeaturedCarousel;
'api::news-article.news-article': ApiNewsArticleNewsArticle;
'api::privacy-policy.privacy-policy': ApiPrivacyPolicyPrivacyPolicy;
Expand Down

0 comments on commit 2b45b16

Please sign in to comment.