File size: 2,761 Bytes
65b4f03
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
import type { Timestamps } from './Timestamps';

export interface Page extends Timestamps {
	_id: string;
	name: string;
	text: Record<string, string>;
	pictures: Record<string, string | null>;
}

export interface HomePage extends Page {
	_id: '/';
	name: "Bergère Enchantée - Tapisserie d'ameublement";
	text: {
		presentation: string;
		'eshop-description': string;
		description: string;
	};
	pictures: {
		discover: string | null;
		move: string | null;
		'e-shop': string | null;
		'realisation-1': string | null;
		'realisation-2': string | null;
		'realisation-3': string | null;
		'realisation-4': string | null;
		'realisation-5': string | null;
		'realisation-6': string | null;
		'realisation-7': string | null;
		'realisation-8': string | null;
		'realisation-9': string | null;
		'realisation-10': string | null;
	};
}

export interface CreationsPage extends Page {
	_id: '/realisations';
	name: 'Réalisations';
	text: {
		description: string;
		'realisation-1': string;
		'realisation-2': string;
		'realisation-3': string;
		'realisation-4': string;
		'realisation-5': string;
		'realisation-6': string;
		'realisation-7': string;
		'realisation-8': string;
		'realisation-9': string;
		'realisation-10': string;
	};
	pictures: {
		'realisation-1': string | null;
		'realisation-2': string | null;
		'realisation-3': string | null;
		'realisation-4': string | null;
		'realisation-5': string | null;
		'realisation-6': string | null;
		'realisation-7': string | null;
		'realisation-8': string | null;
		'realisation-9': string | null;
		'realisation-10': string | null;
	};
}

export interface FabricsPage {
	_id: '/tissus-et-finitions';
	name: 'Tissus et finitions';
	text: {
		description: string;
	};
	pictures: {
		'photo-1': string | null;
		'photo-2': string | null;
		'photo-3': string | null;
		'photo-4': string | null;
		'photo-5': string | null;
		'photo-6': string | null;
		'photo-7': string | null;
		'photo-8': string | null;
		'photo-9': string | null;
		'photo-10': string | null;
		'photo-11': string | null;
		'photo-12': string | null;
		'photo-13': string | null;
		'photo-14': string | null;
		'photo-15': string | null;
	};
}

export interface ContactPage extends Page {
	_id: '/contact';
	name: 'Contact';
	text: {
		description: string;
	};
	pictures: {
		'photo-garde': string | null;
	};
}

export interface WorkshopPage extends Page {
	_id: '/atelier';
	name: "L'Atelier";
	text: {
		description: string;
		'texte-1': string;
		'texte-2': string;
	};
	pictures: {
		'photo-1': string | null;
		'photo-2': string | null;
		'photo-3': string | null;
	};
}

export interface EshopPage extends Page {
	_id: '/vente';
	name: 'E-shop';
	text: {
		description: string;
	};
	pictures: {
		background: string | null;
	};
}