Skip to content

Commit 341eb7d

Browse files
committed
Remove: route file
1 parent fae6602 commit 341eb7d

File tree

3 files changed

+86
-127
lines changed

3 files changed

+86
-127
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,6 @@ This installs dependencies, builds your project, and starts your server. You’r
103103

104104
- 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.
105105

106-
- 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.
106+
- 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.
107+
108+
- 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.

next/app/api/preview/route.ts

Lines changed: 0 additions & 43 deletions
This file was deleted.

strapi/types/generated/components.d.ts

Lines changed: 83 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,84 @@
11
import type { Struct, Schema } from '@strapi/strapi';
22

3+
export interface ItemsRayItems extends Struct.ComponentSchema {
4+
collectionName: 'components_items_ray_items';
5+
info: {
6+
displayName: 'Ray_Card_Items';
7+
icon: 'bulletList';
8+
description: '';
9+
};
10+
attributes: {
11+
item_1: Schema.Attribute.String;
12+
item_2: Schema.Attribute.String;
13+
item_3: Schema.Attribute.String;
14+
};
15+
}
16+
17+
export interface ItemsLeftNavbarItems extends Struct.ComponentSchema {
18+
collectionName: 'components_items_left_navbar_items';
19+
info: {
20+
displayName: 'Left_Navbar_Items';
21+
icon: 'bulletList';
22+
};
23+
attributes: {
24+
name: Schema.Attribute.String;
25+
URL: Schema.Attribute.String;
26+
};
27+
}
28+
29+
export interface ItemsInput extends Struct.ComponentSchema {
30+
collectionName: 'components_items_inputs';
31+
info: {
32+
displayName: 'Input';
33+
icon: 'apps';
34+
description: '';
35+
};
36+
attributes: {
37+
type: Schema.Attribute.Enumeration<
38+
[
39+
'text',
40+
'email',
41+
'password',
42+
'submit',
43+
'textarea',
44+
'button',
45+
'checkbox',
46+
'color',
47+
'date',
48+
'datetime-local',
49+
'file',
50+
'hidden',
51+
'image',
52+
'month',
53+
'number',
54+
'radio',
55+
'range',
56+
'reset',
57+
'search',
58+
'tel',
59+
'time',
60+
'url',
61+
'week',
62+
]
63+
> &
64+
Schema.Attribute.DefaultTo<'text'>;
65+
name: Schema.Attribute.String;
66+
placeholder: Schema.Attribute.String;
67+
};
68+
}
69+
70+
export interface ItemsGraphCardTopItems extends Struct.ComponentSchema {
71+
collectionName: 'components_items_graph_card_top_items';
72+
info: {
73+
displayName: 'Graph_Card_Top_Items';
74+
icon: 'bulletList';
75+
};
76+
attributes: {
77+
number: Schema.Attribute.String;
78+
text: Schema.Attribute.String;
79+
};
80+
}
81+
382
export interface SharedUser extends Struct.ComponentSchema {
483
collectionName: 'components_shared_users';
584
info: {
@@ -153,85 +232,6 @@ export interface SharedButton extends Struct.ComponentSchema {
153232
};
154233
}
155234

156-
export interface ItemsRayItems extends Struct.ComponentSchema {
157-
collectionName: 'components_items_ray_items';
158-
info: {
159-
displayName: 'Ray_Card_Items';
160-
icon: 'bulletList';
161-
description: '';
162-
};
163-
attributes: {
164-
item_1: Schema.Attribute.String;
165-
item_2: Schema.Attribute.String;
166-
item_3: Schema.Attribute.String;
167-
};
168-
}
169-
170-
export interface ItemsLeftNavbarItems extends Struct.ComponentSchema {
171-
collectionName: 'components_items_left_navbar_items';
172-
info: {
173-
displayName: 'Left_Navbar_Items';
174-
icon: 'bulletList';
175-
};
176-
attributes: {
177-
name: Schema.Attribute.String;
178-
URL: Schema.Attribute.String;
179-
};
180-
}
181-
182-
export interface ItemsInput extends Struct.ComponentSchema {
183-
collectionName: 'components_items_inputs';
184-
info: {
185-
displayName: 'Input';
186-
icon: 'apps';
187-
description: '';
188-
};
189-
attributes: {
190-
type: Schema.Attribute.Enumeration<
191-
[
192-
'text',
193-
'email',
194-
'password',
195-
'submit',
196-
'textarea',
197-
'button',
198-
'checkbox',
199-
'color',
200-
'date',
201-
'datetime-local',
202-
'file',
203-
'hidden',
204-
'image',
205-
'month',
206-
'number',
207-
'radio',
208-
'range',
209-
'reset',
210-
'search',
211-
'tel',
212-
'time',
213-
'url',
214-
'week',
215-
]
216-
> &
217-
Schema.Attribute.DefaultTo<'text'>;
218-
name: Schema.Attribute.String;
219-
placeholder: Schema.Attribute.String;
220-
};
221-
}
222-
223-
export interface ItemsGraphCardTopItems extends Struct.ComponentSchema {
224-
collectionName: 'components_items_graph_card_top_items';
225-
info: {
226-
displayName: 'Graph_Card_Top_Items';
227-
icon: 'bulletList';
228-
};
229-
attributes: {
230-
number: Schema.Attribute.String;
231-
text: Schema.Attribute.String;
232-
};
233-
}
234-
235235
export interface GlobalNavbar extends Struct.ComponentSchema {
236236
collectionName: 'components_global_navbars';
237237
info: {
@@ -508,6 +508,10 @@ export interface CardsGlobeCard extends Struct.ComponentSchema {
508508
declare module '@strapi/strapi' {
509509
export module Public {
510510
export interface ComponentSchemas {
511+
'items.ray-items': ItemsRayItems;
512+
'items.left-navbar-items': ItemsLeftNavbarItems;
513+
'items.input': ItemsInput;
514+
'items.graph-card-top-items': ItemsGraphCardTopItems;
511515
'shared.user': SharedUser;
512516
'shared.steps': SharedSteps;
513517
'shared.social-media-icon-links': SharedSocialMediaIconLinks;
@@ -518,10 +522,6 @@ declare module '@strapi/strapi' {
518522
'shared.launches': SharedLaunches;
519523
'shared.form': SharedForm;
520524
'shared.button': SharedButton;
521-
'items.ray-items': ItemsRayItems;
522-
'items.left-navbar-items': ItemsLeftNavbarItems;
523-
'items.input': ItemsInput;
524-
'items.graph-card-top-items': ItemsGraphCardTopItems;
525525
'global.navbar': GlobalNavbar;
526526
'global.footer': GlobalFooter;
527527
'dynamic-zone.testimonials': DynamicZoneTestimonials;

0 commit comments

Comments
 (0)