profile.ts
2.07 KB
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
namespace noosfero {
/**
* @ngdoc interface
* @name noofero.Profile
* @description
* A representation of a Noosfero Profile.
*/
export interface Profile extends RestModel {
/**
* @ngdoc property
* @name id
* @propertyOf noofero.Profile
* @returns {number} The Profile id
*/
id: number;
/**
* @ngdoc property
* @name identifier
* @propertyOf noofero.Profile
* @returns {string} The unque identifier for the Profile
*/
identifier: string;
/**
* @ngdoc property
* @name created_at
* @propertyOf noofero.Profile
* @returns {string} The timestamp this object was created
*/
created_at: string;
/**
* @ngdoc property
* @name type
* @propertyOf noofero.Profile
* @returns {string} The Profile type (e.g.: "Person", etc.)
*/
type: string;
/**
* @ngdoc property
* @name name
* @propertyOf noofero.Profile
* @returns {string} The name of Profile (e.g.: "Mr. Janson", etc.)
*/
name: string;
/**
* @ngdoc property
* @name additional_data
* @propertyOf noofero.Profile
* @returns {string} A key => value custom fields data of Profile (e.g.: "{'Address':'Street A, Number 102...'}")
*/
additional_data?: any;
/**
* @ngdoc property
* @name homepage
* @propertyOf noofero.Profile
* @returns {string} The Profile homepage
*/
homepage: string;
/**
* @ngdoc property
* @name custom_header
* @propertyOf noofero.Profile
* @returns {string} The Profile header
*/
custom_header: string;
/**
* @ngdoc property
* @name custom_footer
* @propertyOf noofero.Profile
* @returns {string} The Profile footer
*/
custom_footer: string;
permissions: string[];
}
}