/
SPTaxonomyTypes.ts
56 lines (53 loc) · 1.02 KB
/
SPTaxonomyTypes.ts
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
/**
* Defines the SP.Taxonomy.TermSetCollection type
*/
export interface ITermSets {
_ObjectType_: string;
_Child_Items_: ITermSet[];
}
/**
* Defines the SP.Taxonomy.TermSet type
*/
export interface ITermSet {
_ObjectType_: string;
_ObjectIdentity_: string;
Id: string;
Name: string;
Description: string;
Terms: ITerms;
}
/**
* SP.Taxonomy.TermCollection
*/
export interface ITerms {
_ObjectType_: string;
_Child_Items_: ITerm[];
}
/**
* SP.Taxonomy.Term
*/
export interface ITerm {
_ObjectType_: string;
_ObjectIdentity_: string;
CreatedDate: string;
CustomProperties: any;
CustomSortOrder: string;
Description: string;
Id: string;
IsAvailableForTagging: boolean;
IsDeprecated: boolean;
IsKeyword: boolean;
IsPinned: boolean;
IsPinnedRoot: boolean;
IsReused: boolean;
IsRoot: boolean;
IsSourceTerm: boolean;
LastModifiedDate: string;
LocalCustomProperties: any;
Name: string;
Owner: string;
PathOfTerm: string;
PathDepth?: number;
Terms: ITerm[];
TermsCount: number;
}