jamespot-user-api 1.0.92 → 1.0.94
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.
- package/README-internal.md +32 -2
- package/documentation/assets/search.js +1 -1
- package/documentation/classes/AdminStoreApi.html +1 -1
- package/documentation/classes/JApplicationApi.html +8 -8
- package/documentation/classes/JArticleApi.html +1 -1
- package/documentation/classes/JAssetReservation.html +1 -1
- package/documentation/classes/JAudienceApi.html +1 -1
- package/documentation/classes/JBaseApi.html +1 -1
- package/documentation/classes/JBookmarkApi.html +1 -1
- package/documentation/classes/JCommunityApi.html +1 -1
- package/documentation/classes/JConceptApi.html +2 -2
- package/documentation/classes/JDiapazoneApi.html +1 -1
- package/documentation/classes/JFileApi.html +1 -1
- package/documentation/classes/JFilebankApi.html +1 -1
- package/documentation/classes/JGroupApi.html +1 -1
- package/documentation/classes/JLandApi.html +1 -1
- package/documentation/classes/JLicenseApi.html +4 -4
- package/documentation/classes/JMessengerApi.html +1 -1
- package/documentation/classes/JSearchApi.html +6 -6
- package/documentation/classes/JShareApi.html +1 -1
- package/documentation/classes/JUserApi.html +4 -4
- package/documentation/classes/JWedocApi.html +1 -1
- package/documentation/classes/JamespotUserApi.html +1 -1
- package/documentation/classes/Network.html +1 -1
- package/documentation/classes/WindowBrowser.html +1 -1
- package/documentation/classes/WindowMock.html +2 -2
- package/documentation/enums/StudioApplicationStatus.html +1 -1
- package/documentation/index.html +1 -1
- package/documentation/interfaces/ApiError.html +1 -1
- package/documentation/interfaces/ApiWrapper.html +1 -1
- package/documentation/interfaces/BaseAutocomplete.html +1 -1
- package/documentation/interfaces/BaseMessage.html +1 -1
- package/documentation/interfaces/Category.html +1 -1
- package/documentation/interfaces/CreateGroup.html +1 -1
- package/documentation/interfaces/FileBankProps.html +1 -1
- package/documentation/interfaces/FolderProps.html +1 -1
- package/documentation/interfaces/ListFilterSpec.html +1 -1
- package/documentation/interfaces/OF.html +1 -1
- package/documentation/interfaces/ObjectListProps.html +1 -0
- package/documentation/interfaces/PagingResults.html +1 -1
- package/documentation/interfaces/Result.html +1 -1
- package/documentation/interfaces/RootFolderProps.html +1 -1
- package/documentation/interfaces/SearchCategoryModel.html +1 -1
- package/documentation/interfaces/SearchConfig.html +1 -1
- package/documentation/interfaces/SearchFacetModel.html +1 -1
- package/documentation/interfaces/SearchFacetValueModel.html +1 -1
- package/documentation/interfaces/SearchQuery.html +1 -1
- package/documentation/interfaces/SearchQueryFilterModel.html +1 -1
- package/documentation/interfaces/SearchQueryOption.html +1 -1
- package/documentation/interfaces/SearchQueryResult.html +1 -1
- package/documentation/interfaces/SearchQuerySortModel.html +1 -1
- package/documentation/interfaces/SearchResultCatProps.html +1 -1
- package/documentation/interfaces/SearchResultProps.html +1 -1
- package/documentation/interfaces/SpotProps.html +1 -1
- package/documentation/interfaces/Taxonomy.html +1 -1
- package/documentation/interfaces/TaxonomyCreate.html +1 -1
- package/documentation/interfaces/WindowInterface.html +1 -1
- package/documentation/modules.html +1 -1
- package/lib/jamespot-user-api.js +1 -1
- package/lib/jamespot-user-api.js.map +1 -1
- package/lib/src/apis/article.d.ts +1 -1
- package/lib/src/apis/concept.d.ts +2 -0
- package/lib/src/apis/user.d.ts +63 -1
- package/lib/src/types/concept.d.ts +15 -0
- package/lib/src/types/listWrapper.d.ts +2 -0
- package/lib/src/types/model.d.ts +7 -1
- package/lib/src/types/taxonomy.d.ts +14 -14
- package/lib/src/types/user.d.ts +10 -0
- package/lib/src/types/utils.d.ts +18 -2
- package/package.json +1 -1
|
@@ -2,18 +2,18 @@ export interface Taxonomy {
|
|
|
2
2
|
id: number;
|
|
3
3
|
type: string;
|
|
4
4
|
title: string;
|
|
5
|
-
dateCreation
|
|
6
|
-
mainTypes
|
|
7
|
-
types
|
|
8
|
-
mandatory
|
|
9
|
-
public
|
|
10
|
-
wallFilter
|
|
11
|
-
jamespot
|
|
5
|
+
dateCreation?: string;
|
|
6
|
+
mainTypes?: never[];
|
|
7
|
+
types?: null;
|
|
8
|
+
mandatory?: null;
|
|
9
|
+
public?: null;
|
|
10
|
+
wallFilter?: null;
|
|
11
|
+
jamespot?: string;
|
|
12
12
|
uri: string;
|
|
13
|
-
mainType
|
|
14
|
-
_cssColor
|
|
15
|
-
_cssClass
|
|
16
|
-
_right
|
|
13
|
+
mainType?: string;
|
|
14
|
+
_cssColor?: string;
|
|
15
|
+
_cssClass?: string;
|
|
16
|
+
_right?: {
|
|
17
17
|
create: boolean;
|
|
18
18
|
read: boolean;
|
|
19
19
|
publish: boolean;
|
|
@@ -23,7 +23,7 @@ export interface Taxonomy {
|
|
|
23
23
|
comment: boolean;
|
|
24
24
|
member: boolean;
|
|
25
25
|
};
|
|
26
|
-
_values
|
|
26
|
+
_values?: {
|
|
27
27
|
type: string;
|
|
28
28
|
title: string;
|
|
29
29
|
dateCreation: string;
|
|
@@ -34,10 +34,10 @@ export interface Taxonomy {
|
|
|
34
34
|
wallFilter: null;
|
|
35
35
|
jamespot: string;
|
|
36
36
|
};
|
|
37
|
-
_timezone
|
|
37
|
+
_timezone?: {
|
|
38
38
|
dateCreation: string;
|
|
39
39
|
};
|
|
40
|
-
_url
|
|
40
|
+
_url?: string;
|
|
41
41
|
}
|
|
42
42
|
export interface TaxonomyCreate {
|
|
43
43
|
type: 'taxonomyClose' | 'taxonomyOpen';
|
package/lib/src/types/user.d.ts
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
import { jObjectLittle } from './utils';
|
|
2
|
+
export declare type UserModel = jObjectLittle & {
|
|
3
|
+
firstname: string;
|
|
4
|
+
lastname: string;
|
|
5
|
+
mail?: string;
|
|
6
|
+
};
|
|
7
|
+
export declare type UserMapModel = {
|
|
8
|
+
idInType: number;
|
|
9
|
+
lat: number;
|
|
10
|
+
lng: number;
|
|
11
|
+
};
|
|
2
12
|
export declare const UserLevel: {
|
|
3
13
|
readonly ADMIN: 9;
|
|
4
14
|
readonly USER: 5;
|
package/lib/src/types/utils.d.ts
CHANGED
|
@@ -36,6 +36,21 @@ export declare type Rights = {
|
|
|
36
36
|
comment: boolean;
|
|
37
37
|
member: boolean;
|
|
38
38
|
};
|
|
39
|
+
export declare type Little = {
|
|
40
|
+
id: number;
|
|
41
|
+
mainType: string;
|
|
42
|
+
type: string;
|
|
43
|
+
uri: string;
|
|
44
|
+
title: string;
|
|
45
|
+
_url: string;
|
|
46
|
+
dateCreation: string;
|
|
47
|
+
dateModified: string;
|
|
48
|
+
};
|
|
49
|
+
export declare type List = Little & {
|
|
50
|
+
description?: string;
|
|
51
|
+
_user: Little;
|
|
52
|
+
_right: Rights;
|
|
53
|
+
};
|
|
39
54
|
export declare type jObjectLittle = {
|
|
40
55
|
id: number;
|
|
41
56
|
mainType: string;
|
|
@@ -57,7 +72,7 @@ export declare type Order = {
|
|
|
57
72
|
sort: 'ASC' | 'DESC';
|
|
58
73
|
};
|
|
59
74
|
export declare type Orders = Array<Order>;
|
|
60
|
-
export declare type FilterValue = string | {
|
|
75
|
+
export declare type FilterValue = boolean | string | string[] | {
|
|
61
76
|
srcId: number | string;
|
|
62
77
|
srcType: string;
|
|
63
78
|
} | {
|
|
@@ -67,7 +82,8 @@ export declare type FilterValue = string | {
|
|
|
67
82
|
export declare type Filter = {
|
|
68
83
|
name: string;
|
|
69
84
|
value: FilterValue;
|
|
70
|
-
operator?: '<' | '>' | '<=' | '>=' | '!=' | '<>' | 'like' | 'between' | 'is' | 'is not' | 'in' | 'link' | 'match';
|
|
85
|
+
operator?: '<' | '>' | '<=' | '>=' | '!=' | '<>' | 'like' | 'between' | 'is' | 'is not' | 'in' | 'link' | 'match' | 'equal';
|
|
86
|
+
method?: '<' | '>' | '<=' | '>=' | '!=' | '<>' | '+' | '-' | 'like' | 'between' | 'is' | 'is not' | 'in' | 'link' | 'match' | 'equal';
|
|
71
87
|
};
|
|
72
88
|
export declare type Filters = Array<Filter>;
|
|
73
89
|
export declare type MaybeWithCsrf<T> = T & {
|