-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathcustom-types.js
42 lines (38 loc) · 1.51 KB
/
custom-types.js
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
/**
* Parameters which can be used for filtering the list of funding program
* @typedef {Object} FilterParams
* @property {string} state german state
* @property {string} trade trade
* @property {number} age company age
* @property {string} legal legal type
* @property {number} sales last years sales
* @property {number} employees current employees
*/
/**
* Funding Programs grouped by type
* @typedef {Object} FundingProgramCluster
* @property {string} name human-readable name of the cluster
* @property {FundingProgramFormatted[]} offers list of funding programs for this cluster
*/
/**
* Structured Funding Program
* @typedef {Object} FundingProgram
* @property {number} id identifier of the funding program
* @property {string} name human-readable name of the funding program
* @property {string} version version of th funding program
* @property {Object[]} fields list of funding programs for this cluster
*/
/**
* Structured Funding Program
* @typedef {Object} FundingProgramFormatted
* @property {number} id identifier of the funding program
* @property {string} name human-readable name of the funding program
* @property {{ main: FundingProgramField[], details: FundingProgramField[] }} fields list of funding programs for this cluster
*/
/**
* Single property field of a Funding Program
* @typedef {Object} FundingProgramField
* @property {number} id identifier of the field
* @property {string} name human-readable name of the field
* @property {string} value value for the property field
*/