profile.ts
1.25 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
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 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;
}
}