Skip to content

Commit

Permalink
Remove: route file
Browse files Browse the repository at this point in the history
  • Loading branch information
Mcastres committed Sep 25, 2024
1 parent fae6602 commit 341eb7d
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 127 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,6 @@ This installs dependencies, builds your project, and starts your server. You’r

- The Strapi application contains a custom population middleware in order to populate more data than what it is set by default. You can find it in the `./strapi/src/middlewares/deepPopulate.ts` file.

- The Strapi application contains a postinstall script that will regenerate an uuid for the project in order to get some anonuymous usage information concerning this demo. You can disable it by removing the uuid inside the `./strapi/packages.json` file.
- The Strapi application contains a postinstall script that will regenerate an uuid for the project in order to get some anonymous usage information concerning this demo. You can disable it by removing the uuid inside the `./strapi/packages.json` file.

- The Strapi application contains a patch for the @strapi/admin package. It is only necessary for the hosted demos since we automatically create the Super Admin users for them when they request this demo on our website.
43 changes: 0 additions & 43 deletions next/app/api/preview/route.ts

This file was deleted.

166 changes: 83 additions & 83 deletions strapi/types/generated/components.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,84 @@
import type { Struct, Schema } from '@strapi/strapi';

export interface ItemsRayItems extends Struct.ComponentSchema {
collectionName: 'components_items_ray_items';
info: {
displayName: 'Ray_Card_Items';
icon: 'bulletList';
description: '';
};
attributes: {
item_1: Schema.Attribute.String;
item_2: Schema.Attribute.String;
item_3: Schema.Attribute.String;
};
}

export interface ItemsLeftNavbarItems extends Struct.ComponentSchema {
collectionName: 'components_items_left_navbar_items';
info: {
displayName: 'Left_Navbar_Items';
icon: 'bulletList';
};
attributes: {
name: Schema.Attribute.String;
URL: Schema.Attribute.String;
};
}

export interface ItemsInput extends Struct.ComponentSchema {
collectionName: 'components_items_inputs';
info: {
displayName: 'Input';
icon: 'apps';
description: '';
};
attributes: {
type: Schema.Attribute.Enumeration<
[
'text',
'email',
'password',
'submit',
'textarea',
'button',
'checkbox',
'color',
'date',
'datetime-local',
'file',
'hidden',
'image',
'month',
'number',
'radio',
'range',
'reset',
'search',
'tel',
'time',
'url',
'week',
]
> &
Schema.Attribute.DefaultTo<'text'>;
name: Schema.Attribute.String;
placeholder: Schema.Attribute.String;
};
}

export interface ItemsGraphCardTopItems extends Struct.ComponentSchema {
collectionName: 'components_items_graph_card_top_items';
info: {
displayName: 'Graph_Card_Top_Items';
icon: 'bulletList';
};
attributes: {
number: Schema.Attribute.String;
text: Schema.Attribute.String;
};
}

export interface SharedUser extends Struct.ComponentSchema {
collectionName: 'components_shared_users';
info: {
Expand Down Expand Up @@ -153,85 +232,6 @@ export interface SharedButton extends Struct.ComponentSchema {
};
}

export interface ItemsRayItems extends Struct.ComponentSchema {
collectionName: 'components_items_ray_items';
info: {
displayName: 'Ray_Card_Items';
icon: 'bulletList';
description: '';
};
attributes: {
item_1: Schema.Attribute.String;
item_2: Schema.Attribute.String;
item_3: Schema.Attribute.String;
};
}

export interface ItemsLeftNavbarItems extends Struct.ComponentSchema {
collectionName: 'components_items_left_navbar_items';
info: {
displayName: 'Left_Navbar_Items';
icon: 'bulletList';
};
attributes: {
name: Schema.Attribute.String;
URL: Schema.Attribute.String;
};
}

export interface ItemsInput extends Struct.ComponentSchema {
collectionName: 'components_items_inputs';
info: {
displayName: 'Input';
icon: 'apps';
description: '';
};
attributes: {
type: Schema.Attribute.Enumeration<
[
'text',
'email',
'password',
'submit',
'textarea',
'button',
'checkbox',
'color',
'date',
'datetime-local',
'file',
'hidden',
'image',
'month',
'number',
'radio',
'range',
'reset',
'search',
'tel',
'time',
'url',
'week',
]
> &
Schema.Attribute.DefaultTo<'text'>;
name: Schema.Attribute.String;
placeholder: Schema.Attribute.String;
};
}

export interface ItemsGraphCardTopItems extends Struct.ComponentSchema {
collectionName: 'components_items_graph_card_top_items';
info: {
displayName: 'Graph_Card_Top_Items';
icon: 'bulletList';
};
attributes: {
number: Schema.Attribute.String;
text: Schema.Attribute.String;
};
}

export interface GlobalNavbar extends Struct.ComponentSchema {
collectionName: 'components_global_navbars';
info: {
Expand Down Expand Up @@ -508,6 +508,10 @@ export interface CardsGlobeCard extends Struct.ComponentSchema {
declare module '@strapi/strapi' {
export module Public {
export interface ComponentSchemas {
'items.ray-items': ItemsRayItems;
'items.left-navbar-items': ItemsLeftNavbarItems;
'items.input': ItemsInput;
'items.graph-card-top-items': ItemsGraphCardTopItems;
'shared.user': SharedUser;
'shared.steps': SharedSteps;
'shared.social-media-icon-links': SharedSocialMediaIconLinks;
Expand All @@ -518,10 +522,6 @@ declare module '@strapi/strapi' {
'shared.launches': SharedLaunches;
'shared.form': SharedForm;
'shared.button': SharedButton;
'items.ray-items': ItemsRayItems;
'items.left-navbar-items': ItemsLeftNavbarItems;
'items.input': ItemsInput;
'items.graph-card-top-items': ItemsGraphCardTopItems;
'global.navbar': GlobalNavbar;
'global.footer': GlobalFooter;
'dynamic-zone.testimonials': DynamicZoneTestimonials;
Expand Down

0 comments on commit 341eb7d

Please sign in to comment.