@htmlbricks/hb-footer 0.4.37 → 0.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$ref": "#/definitions/Component",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"Component": {
|
|
6
|
+
"additionalProperties": false,
|
|
7
|
+
"properties": {
|
|
8
|
+
"brandandcontacts": {
|
|
9
|
+
"$ref": "#/definitions/IBrandAndContacts"
|
|
10
|
+
},
|
|
11
|
+
"columns": {
|
|
12
|
+
"items": {
|
|
13
|
+
"$ref": "#/definitions/IColumn"
|
|
14
|
+
},
|
|
15
|
+
"type": "array"
|
|
16
|
+
},
|
|
17
|
+
"company": {
|
|
18
|
+
"$ref": "#/definitions/ICompany"
|
|
19
|
+
},
|
|
20
|
+
"contacts": {
|
|
21
|
+
"$ref": "#/definitions/IContacts"
|
|
22
|
+
},
|
|
23
|
+
"copyrighttext": {
|
|
24
|
+
"type": "string"
|
|
25
|
+
},
|
|
26
|
+
"description": {
|
|
27
|
+
"type": "string"
|
|
28
|
+
},
|
|
29
|
+
"footerbottom": {
|
|
30
|
+
"$ref": "#/definitions/IFooterBottom"
|
|
31
|
+
},
|
|
32
|
+
"policies": {
|
|
33
|
+
"items": {
|
|
34
|
+
"$ref": "#/definitions/IPolicies"
|
|
35
|
+
},
|
|
36
|
+
"type": "array"
|
|
37
|
+
},
|
|
38
|
+
"smallrow": {
|
|
39
|
+
"$ref": "#/definitions/ISmallRow"
|
|
40
|
+
},
|
|
41
|
+
"socials": {
|
|
42
|
+
"$ref": "#/definitions/ISocials"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"required": [
|
|
46
|
+
"company",
|
|
47
|
+
"smallrow",
|
|
48
|
+
"brandandcontacts",
|
|
49
|
+
"columns",
|
|
50
|
+
"footerbottom",
|
|
51
|
+
"description",
|
|
52
|
+
"socials",
|
|
53
|
+
"contacts",
|
|
54
|
+
"copyrighttext",
|
|
55
|
+
"policies"
|
|
56
|
+
],
|
|
57
|
+
"type": "object"
|
|
58
|
+
},
|
|
59
|
+
"IAddressContact": {
|
|
60
|
+
"additionalProperties": false,
|
|
61
|
+
"properties": {
|
|
62
|
+
"_id": {
|
|
63
|
+
"type": "string"
|
|
64
|
+
},
|
|
65
|
+
"address": {
|
|
66
|
+
"type": "string"
|
|
67
|
+
},
|
|
68
|
+
"googleMapUri": {
|
|
69
|
+
"type": "string"
|
|
70
|
+
},
|
|
71
|
+
"shortAddress": {
|
|
72
|
+
"type": "string"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
"required": [
|
|
76
|
+
"address"
|
|
77
|
+
],
|
|
78
|
+
"type": "object"
|
|
79
|
+
},
|
|
80
|
+
"IBrandAndContacts": {
|
|
81
|
+
"additionalProperties": false,
|
|
82
|
+
"properties": {
|
|
83
|
+
"companyLogoUri": {
|
|
84
|
+
"type": "string"
|
|
85
|
+
},
|
|
86
|
+
"companyName": {
|
|
87
|
+
"type": "string"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"required": [
|
|
91
|
+
"companyName",
|
|
92
|
+
"companyLogoUri"
|
|
93
|
+
],
|
|
94
|
+
"type": "object"
|
|
95
|
+
},
|
|
96
|
+
"IColumn": {
|
|
97
|
+
"additionalProperties": false,
|
|
98
|
+
"properties": {
|
|
99
|
+
"_id": {
|
|
100
|
+
"type": "string"
|
|
101
|
+
},
|
|
102
|
+
"cells": {
|
|
103
|
+
"items": {
|
|
104
|
+
"additionalProperties": false,
|
|
105
|
+
"properties": {
|
|
106
|
+
"_id": {
|
|
107
|
+
"type": "string"
|
|
108
|
+
},
|
|
109
|
+
"address": {
|
|
110
|
+
"$ref": "#/definitions/IAddressContact"
|
|
111
|
+
},
|
|
112
|
+
"email": {
|
|
113
|
+
"$ref": "#/definitions/IEmailContact"
|
|
114
|
+
},
|
|
115
|
+
"label": {
|
|
116
|
+
"type": "string"
|
|
117
|
+
},
|
|
118
|
+
"phone": {
|
|
119
|
+
"$ref": "#/definitions/IPhoneContact"
|
|
120
|
+
},
|
|
121
|
+
"site": {
|
|
122
|
+
"$ref": "#/definitions/ISiteContact"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"required": [
|
|
126
|
+
"_id"
|
|
127
|
+
],
|
|
128
|
+
"type": "object"
|
|
129
|
+
},
|
|
130
|
+
"type": "array"
|
|
131
|
+
},
|
|
132
|
+
"title": {
|
|
133
|
+
"type": "string"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"required": [
|
|
137
|
+
"cells"
|
|
138
|
+
],
|
|
139
|
+
"type": "object"
|
|
140
|
+
},
|
|
141
|
+
"ICompany": {
|
|
142
|
+
"additionalProperties": false,
|
|
143
|
+
"properties": {
|
|
144
|
+
"companyName": {
|
|
145
|
+
"type": "string"
|
|
146
|
+
},
|
|
147
|
+
"description": {
|
|
148
|
+
"type": "string"
|
|
149
|
+
},
|
|
150
|
+
"fiscalCode": {
|
|
151
|
+
"type": "string"
|
|
152
|
+
},
|
|
153
|
+
"logoUri": {
|
|
154
|
+
"type": "string"
|
|
155
|
+
},
|
|
156
|
+
"registration": {
|
|
157
|
+
"additionalProperties": false,
|
|
158
|
+
"properties": {
|
|
159
|
+
"since": {
|
|
160
|
+
"type": "number"
|
|
161
|
+
},
|
|
162
|
+
"text": {
|
|
163
|
+
"type": "string"
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"type": "object"
|
|
167
|
+
},
|
|
168
|
+
"since": {
|
|
169
|
+
"type": "number"
|
|
170
|
+
},
|
|
171
|
+
"siteName": {
|
|
172
|
+
"type": "string"
|
|
173
|
+
},
|
|
174
|
+
"vatNumber": {
|
|
175
|
+
"type": "string"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"required": [
|
|
179
|
+
"logoUri",
|
|
180
|
+
"siteName",
|
|
181
|
+
"companyName",
|
|
182
|
+
"description"
|
|
183
|
+
],
|
|
184
|
+
"type": "object"
|
|
185
|
+
},
|
|
186
|
+
"IContacts": {
|
|
187
|
+
"additionalProperties": false,
|
|
188
|
+
"properties": {
|
|
189
|
+
"addresses": {
|
|
190
|
+
"items": {
|
|
191
|
+
"$ref": "#/definitions/IAddressContact"
|
|
192
|
+
},
|
|
193
|
+
"type": "array"
|
|
194
|
+
},
|
|
195
|
+
"emails": {
|
|
196
|
+
"items": {
|
|
197
|
+
"$ref": "#/definitions/IEmailContact"
|
|
198
|
+
},
|
|
199
|
+
"type": "array"
|
|
200
|
+
},
|
|
201
|
+
"phones": {
|
|
202
|
+
"items": {
|
|
203
|
+
"$ref": "#/definitions/IPhoneContact"
|
|
204
|
+
},
|
|
205
|
+
"type": "array"
|
|
206
|
+
},
|
|
207
|
+
"sites": {
|
|
208
|
+
"items": {
|
|
209
|
+
"$ref": "#/definitions/ISiteContact"
|
|
210
|
+
},
|
|
211
|
+
"type": "array"
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
"type": "object"
|
|
215
|
+
},
|
|
216
|
+
"IEmailContact": {
|
|
217
|
+
"additionalProperties": false,
|
|
218
|
+
"properties": {
|
|
219
|
+
"_id": {
|
|
220
|
+
"type": "string"
|
|
221
|
+
},
|
|
222
|
+
"address": {
|
|
223
|
+
"type": "string"
|
|
224
|
+
},
|
|
225
|
+
"label": {
|
|
226
|
+
"type": "string"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"required": [
|
|
230
|
+
"address"
|
|
231
|
+
],
|
|
232
|
+
"type": "object"
|
|
233
|
+
},
|
|
234
|
+
"IFooterBottom": {
|
|
235
|
+
"additionalProperties": false,
|
|
236
|
+
"type": "object"
|
|
237
|
+
},
|
|
238
|
+
"IPhoneContact": {
|
|
239
|
+
"additionalProperties": false,
|
|
240
|
+
"properties": {
|
|
241
|
+
"_id": {
|
|
242
|
+
"type": "string"
|
|
243
|
+
},
|
|
244
|
+
"label": {
|
|
245
|
+
"type": "string"
|
|
246
|
+
},
|
|
247
|
+
"number": {
|
|
248
|
+
"type": "string"
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
"required": [
|
|
252
|
+
"number"
|
|
253
|
+
],
|
|
254
|
+
"type": "object"
|
|
255
|
+
},
|
|
256
|
+
"IPolicies": {
|
|
257
|
+
"additionalProperties": false,
|
|
258
|
+
"properties": {
|
|
259
|
+
"key": {
|
|
260
|
+
"type": "string"
|
|
261
|
+
},
|
|
262
|
+
"label": {
|
|
263
|
+
"type": "string"
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
"required": [
|
|
267
|
+
"label",
|
|
268
|
+
"key"
|
|
269
|
+
],
|
|
270
|
+
"type": "object"
|
|
271
|
+
},
|
|
272
|
+
"ISiteContact": {
|
|
273
|
+
"additionalProperties": false,
|
|
274
|
+
"properties": {
|
|
275
|
+
"_id": {
|
|
276
|
+
"type": "string"
|
|
277
|
+
},
|
|
278
|
+
"label": {
|
|
279
|
+
"type": "string"
|
|
280
|
+
},
|
|
281
|
+
"open": {
|
|
282
|
+
"type": "boolean"
|
|
283
|
+
},
|
|
284
|
+
"uri": {
|
|
285
|
+
"type": "string"
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
"required": [
|
|
289
|
+
"uri"
|
|
290
|
+
],
|
|
291
|
+
"type": "object"
|
|
292
|
+
},
|
|
293
|
+
"ISmallRow": {
|
|
294
|
+
"additionalProperties": false,
|
|
295
|
+
"type": "object"
|
|
296
|
+
},
|
|
297
|
+
"ISocials": {
|
|
298
|
+
"additionalProperties": false,
|
|
299
|
+
"properties": {
|
|
300
|
+
"discord": {
|
|
301
|
+
"type": "string"
|
|
302
|
+
},
|
|
303
|
+
"facebook": {
|
|
304
|
+
"type": "string"
|
|
305
|
+
},
|
|
306
|
+
"github": {
|
|
307
|
+
"type": "string"
|
|
308
|
+
},
|
|
309
|
+
"gmail": {
|
|
310
|
+
"type": "string"
|
|
311
|
+
},
|
|
312
|
+
"twitch": {
|
|
313
|
+
"type": "string"
|
|
314
|
+
},
|
|
315
|
+
"twitter": {
|
|
316
|
+
"type": "string"
|
|
317
|
+
},
|
|
318
|
+
"youtube": {
|
|
319
|
+
"type": "string"
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
"required": [
|
|
323
|
+
"facebook",
|
|
324
|
+
"gmail",
|
|
325
|
+
"twitter",
|
|
326
|
+
"github",
|
|
327
|
+
"youtube",
|
|
328
|
+
"twitch",
|
|
329
|
+
"discord"
|
|
330
|
+
],
|
|
331
|
+
"type": "object"
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
export interface IPhoneContact {
|
|
2
|
+
label?: string;
|
|
3
|
+
number: string;
|
|
4
|
+
_id?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IAddressContact {
|
|
7
|
+
googleMapUri?: string;
|
|
8
|
+
address: string;
|
|
9
|
+
shortAddress?: string;
|
|
10
|
+
_id?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface ISiteContact {
|
|
13
|
+
label?: string;
|
|
14
|
+
uri: string;
|
|
15
|
+
open?: boolean;
|
|
16
|
+
_id?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface IEmailContact {
|
|
19
|
+
label?: string;
|
|
20
|
+
address: string;
|
|
21
|
+
_id?: string;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export interface IColumn {
|
|
25
|
+
_id?: string;
|
|
26
|
+
cells: {
|
|
27
|
+
label?: string;
|
|
28
|
+
_id: string;
|
|
29
|
+
phone?: IPhoneContact;
|
|
30
|
+
address?: IAddressContact;
|
|
31
|
+
email?: IEmailContact;
|
|
32
|
+
site?: ISiteContact;
|
|
33
|
+
}[];
|
|
34
|
+
title?: string;
|
|
35
|
+
}
|
|
36
|
+
export interface IBrandAndContacts {
|
|
37
|
+
companyName: string;
|
|
38
|
+
companyLogoUri: string;
|
|
39
|
+
}
|
|
40
|
+
export interface ISmallRow {}
|
|
41
|
+
export interface IFooterBottom {}
|
|
42
|
+
|
|
43
|
+
export interface IPolicies {
|
|
44
|
+
label: string;
|
|
45
|
+
key: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export interface ISocials {
|
|
49
|
+
facebook: string;
|
|
50
|
+
gmail: string;
|
|
51
|
+
twitter: string;
|
|
52
|
+
github: string;
|
|
53
|
+
youtube: string;
|
|
54
|
+
twitch: string;
|
|
55
|
+
discord: string;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export interface IContacts {
|
|
59
|
+
phones?: IPhoneContact[];
|
|
60
|
+
addresses?: IAddressContact[];
|
|
61
|
+
emails?: IEmailContact[];
|
|
62
|
+
sites?: ISiteContact[];
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export interface ICompany {
|
|
66
|
+
logoUri: string;
|
|
67
|
+
siteName: string;
|
|
68
|
+
companyName: string;
|
|
69
|
+
registration?: { since?: number; text?: string };
|
|
70
|
+
description: string;
|
|
71
|
+
vatNumber?: string;
|
|
72
|
+
fiscalCode?: string;
|
|
73
|
+
since?: number;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export type Component = {
|
|
77
|
+
company: ICompany;
|
|
78
|
+
smallrow: ISmallRow;
|
|
79
|
+
brandandcontacts: IBrandAndContacts;
|
|
80
|
+
columns: IColumn[];
|
|
81
|
+
footerbottom: IFooterBottom;
|
|
82
|
+
description: string;
|
|
83
|
+
socials: ISocials;
|
|
84
|
+
contacts: IContacts;
|
|
85
|
+
copyrighttext: string;
|
|
86
|
+
policies: IPolicies[];
|
|
87
|
+
};
|