jamespot-user-api 1.0.98 → 1.0.99
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/documentation/assets/search.js +1 -1
- package/documentation/classes/AdminStoreApi.html +1 -1
- package/documentation/classes/JApplicationApi.html +11 -11
- package/documentation/classes/JArticleApi.html +1 -1
- package/documentation/classes/JAssetReservation.html +1 -1
- package/documentation/classes/JAudienceApi.html +2 -2
- 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 +5 -5
- package/documentation/classes/JFilebankApi.html +1 -1
- package/documentation/classes/JGroupApi.html +7 -7
- 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 +7 -7
- 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/enums/StudioApplicationStatus.html +1 -1
- package/documentation/index.html +1 -1
- package/documentation/interfaces/AccessRightObject.html +1 -0
- 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/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 -1
- package/documentation/interfaces/PagingResults.html +1 -1
- package/documentation/interfaces/RootFolderProps.html +1 -1
- package/documentation/interfaces/SearchCategoryModel.html +1 -1
- package/documentation/interfaces/SearchCategoryValue.html +1 -0
- 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/SearchResultPropsApp.html +1 -0
- package/documentation/interfaces/SearchResultPropsObject.html +1 -0
- 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 +3 -1
- package/{jest.fetch.base-config.ts → jest.config.ts} +6 -1
- package/jest.config.vm.ts +11 -0
- package/lib/jamespot-user-api.js +1 -1
- package/lib/jamespot-user-api.js.map +1 -1
- package/lib/{jest.fetch.base-config.d.ts → jest.config.d.ts} +4 -0
- package/lib/{jest.fetch.config.d.ts → jest.config.vm.d.ts} +6 -3
- package/lib/src/apis/Licenses/licences.test.d.ts +1 -0
- package/lib/src/apis/{licenses.d.ts → Licenses/licenses.d.ts} +2 -2
- package/lib/src/apis/Licenses/licenses.mock.d.ts +8 -0
- package/lib/src/apis/{application.d.ts → application/application.d.ts} +6 -36
- package/lib/src/apis/application/application.test.d.ts +1 -0
- package/lib/src/apis/application/index.d.ts +2 -0
- package/lib/src/apis/application/listApplicationDefault.mock.d.ts +3 -0
- package/lib/src/apis/application/types.d.ts +89 -0
- package/lib/src/apis/{article.d.ts → article/article.d.ts} +8 -6
- package/lib/src/apis/article/article.mock.d.ts +7 -0
- package/lib/src/apis/article/article.test.d.ts +1 -0
- package/lib/src/apis/assetReservation.mock.d.ts +3 -0
- package/lib/src/apis/assetReservation.test.d.ts +1 -0
- package/lib/src/apis/{audience.d.ts → audience/audience.d.ts} +2 -2
- package/lib/src/apis/audience/audience.mock.d.ts +2 -0
- package/lib/src/apis/audience/audience.test.d.ts +1 -0
- package/lib/src/apis/bookmark.d.ts +4 -4
- package/lib/src/apis/index.d.ts +5 -5
- package/lib/src/apis/jamespotUserApi.d.ts +5 -5
- package/lib/src/apis/{jland.d.ts → jland/jland.d.ts} +6 -4
- package/lib/src/apis/jland/jland.mock.d.ts +5 -0
- package/lib/src/apis/jland/jland.test.d.ts +1 -0
- package/lib/src/apis/{search.d.ts → search/search.d.ts} +4 -4
- package/lib/src/apis/search/search.mock.d.ts +13 -0
- package/lib/src/apis/search/search.test.d.ts +1 -0
- package/lib/src/apis/user.d.ts +2 -2
- package/lib/src/index.d.ts +1 -0
- package/lib/src/types/asei.d.ts +3 -3
- package/lib/src/types/autocomplete.d.ts +12 -5
- package/lib/src/types/bookmark.d.ts +39 -10
- package/lib/src/types/group.d.ts +5 -1
- package/lib/src/types/index.d.ts +1 -1
- package/lib/src/types/model.d.ts +7 -0
- package/lib/src/types/realtime.d.ts +25 -0
- package/lib/src/types/search.d.ts +43 -16
- package/lib/src/types/user.d.ts +6 -15
- package/lib/src/types/utils.d.ts +33 -14
- package/lib/src/util/Test.d.ts +9 -0
- package/lib/src/util/ensure.d.ts +15 -0
- package/lib/src/util/network.mock.d.ts +3 -0
- package/lib/src/window/index.d.ts +0 -1
- package/package.json +3 -5
- package/phpunitMock/articleCount-mpArticle.json +1 -0
- package/phpunitMock/articleCreate-mpArticle-little.json +18 -0
- package/phpunitMock/articleDelete-mpArticle.json +7 -0
- package/phpunitMock/articleGet-mpArticle-list.json +39 -0
- package/phpunitMock/articleUpdate-mpArticleView.json +39 -0
- package/phpunitMock/assetReservationConfiguration-default.json +14 -0
- package/phpunitMock/assetReservationConfiguration-updated.json +14 -0
- package/phpunitMock/autocompleteAudience-u.json +64 -0
- package/phpunitMock/jLandAdminLogs-empty.json +1 -0
- package/phpunitMock/jLandAdminLogs-full.json +98 -0
- package/phpunitMock/jLandAdminStats-empty.json +1 -0
- package/phpunitMock/licenseManagerAssignLicense-default.json +7 -0
- package/phpunitMock/licenseManagerAssignLicense-isAssignLicense.json +1 -0
- package/phpunitMock/licenseManagerCountLicensesNotAssigned-count.json +15 -0
- package/phpunitMock/licenseManagerGetLicensesAssigned-default.json +48 -0
- package/phpunitMock/licenseManagerUnassignLicense-default.json +7 -0
- package/phpunitMock/licenseManagerUnassignLicense-isUnassign.json +1 -0
- package/phpunitMock/objectListJamespotArticleList-mpArticle-little.json +115 -0
- package/phpunitMock/searchGetAdminConfig-default.json +22 -0
- package/phpunitMock/searchGetConfig-default.json +249 -0
- package/phpunitMock/searchGetLastQueries-default.json +7 -0
- package/phpunitMock/searchProposition-gro.json +60 -0
- package/phpunitMock/searchQuery-admin.json +53 -0
- package/phpunitMock/searchSetAdminConfig-test.json +1 -0
- package/phpunitMock/studioList-testUserApiList.json +114 -0
- package/documentation/classes/WindowMock.html +0 -10
- package/documentation/interfaces/Result.html +0 -1
- package/documentation/interfaces/SearchResultProps.html +0 -1
- package/jest.fetch.config.ts +0 -7
- package/jest.fetch.jenkinsdev.config.ts +0 -7
- package/jest.mock.config.ts +0 -8
- package/lib/jest.fetch.jenkinsdev.config.d.ts +0 -12
- package/lib/jest.mock.config.d.ts +0 -12
- package/lib/src/types/application.d.ts +0 -15
- package/lib/src/window/WindowJestFetch.d.ts +0 -6
- package/lib/src/window/WindowMock.d.ts +0 -16
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "o": "licenseManager", "f": "unassignLicense", "error": 0, "messages": [], "result": true }
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
{
|
|
2
|
+
"o": "objectList",
|
|
3
|
+
"f": "jamespotArticleList",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [],
|
|
6
|
+
"result": {
|
|
7
|
+
"limit": 50,
|
|
8
|
+
"page": 1,
|
|
9
|
+
"cnt": 10,
|
|
10
|
+
"data": [
|
|
11
|
+
{
|
|
12
|
+
"id": 36,
|
|
13
|
+
"mainType": "article",
|
|
14
|
+
"type": "OAuth2Application",
|
|
15
|
+
"uri": "OAuth2Application/36",
|
|
16
|
+
"title": "Jamespot OAuth App",
|
|
17
|
+
"_url": "/article/36",
|
|
18
|
+
"dateCreation": "2023-04-11 18:22:21",
|
|
19
|
+
"dateModified": "2023-04-11 18:05:15"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"id": 23,
|
|
23
|
+
"mainType": "article",
|
|
24
|
+
"type": "mpArticle",
|
|
25
|
+
"uri": "mpArticle/23",
|
|
26
|
+
"title": "Article for testObjectListArticleAudienceList",
|
|
27
|
+
"_url": "/article/23",
|
|
28
|
+
"dateCreation": "2023-04-11 17:58:40",
|
|
29
|
+
"dateModified": "2023-04-11 17:58:40"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"id": 20,
|
|
33
|
+
"mainType": "article",
|
|
34
|
+
"type": "mpArticle",
|
|
35
|
+
"uri": "mpArticle/20",
|
|
36
|
+
"title": "New Title for testArticleUpdate",
|
|
37
|
+
"_url": "/article/20",
|
|
38
|
+
"dateCreation": "2023-04-11 17:58:39",
|
|
39
|
+
"dateModified": "2023-04-11 17:58:39"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"id": 18,
|
|
43
|
+
"mainType": "article",
|
|
44
|
+
"type": "mpArticle",
|
|
45
|
+
"uri": "mpArticle/18",
|
|
46
|
+
"title": "title article link",
|
|
47
|
+
"_url": "/article/18",
|
|
48
|
+
"dateCreation": "2023-04-11 17:58:38",
|
|
49
|
+
"dateModified": "2023-04-11 17:58:38"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"id": 19,
|
|
53
|
+
"mainType": "article",
|
|
54
|
+
"type": "mpArticle",
|
|
55
|
+
"uri": "mpArticle/19",
|
|
56
|
+
"title": "title article link",
|
|
57
|
+
"_url": "/article/19",
|
|
58
|
+
"dateCreation": "2023-04-11 17:58:38",
|
|
59
|
+
"dateModified": "2023-04-11 17:58:38"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"id": 16,
|
|
63
|
+
"mainType": "article",
|
|
64
|
+
"type": "mpArticle",
|
|
65
|
+
"uri": "mpArticle/16",
|
|
66
|
+
"title": "Article for testArticleGetComments",
|
|
67
|
+
"_url": "/article/16",
|
|
68
|
+
"dateCreation": "2023-04-11 17:58:37",
|
|
69
|
+
"dateModified": "2023-04-11 17:58:37"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"id": 17,
|
|
73
|
+
"mainType": "article",
|
|
74
|
+
"type": "mpArticle",
|
|
75
|
+
"uri": "mpArticle/17",
|
|
76
|
+
"title": "Article for testArticleUpdateComment",
|
|
77
|
+
"_url": "/article/17",
|
|
78
|
+
"dateCreation": "2023-04-11 17:58:37",
|
|
79
|
+
"dateModified": "2023-04-11 17:58:37"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"id": 15,
|
|
83
|
+
"mainType": "article",
|
|
84
|
+
"type": "mpArticle",
|
|
85
|
+
"uri": "mpArticle/15",
|
|
86
|
+
"title": "Article for testArticleAddComment",
|
|
87
|
+
"_url": "/article/15",
|
|
88
|
+
"dateCreation": "2023-04-11 17:58:36",
|
|
89
|
+
"dateModified": "2023-04-11 17:58:36"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"id": 14,
|
|
93
|
+
"mainType": "article",
|
|
94
|
+
"type": "mpArticle",
|
|
95
|
+
"uri": "mpArticle/14",
|
|
96
|
+
"title": "title for testArticleGetPublic",
|
|
97
|
+
"_url": "/article/14",
|
|
98
|
+
"dateCreation": "2023-04-11 17:58:35",
|
|
99
|
+
"dateModified": "2023-04-11 17:58:35"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"id": 2,
|
|
103
|
+
"mainType": "article",
|
|
104
|
+
"type": "mpArticle",
|
|
105
|
+
"uri": "mpArticle/2",
|
|
106
|
+
"title": "Article groupe public",
|
|
107
|
+
"_url": "/article/2",
|
|
108
|
+
"dateCreation": "2019-07-19 09:36:25",
|
|
109
|
+
"dateModified": "2019-07-19 09:36:25"
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"facets": [],
|
|
113
|
+
"idQuery": 1681286231
|
|
114
|
+
}
|
|
115
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"o": "search",
|
|
3
|
+
"f": "getAdminConfig",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [],
|
|
6
|
+
"result": {
|
|
7
|
+
"home": { "facets": [{ "field": "__sec__" }, { "field": "idUser" }, { "field": "dateCreation" }] },
|
|
8
|
+
"categories": [
|
|
9
|
+
{ "id": "user", "mainType": "user", "active": true, "facets": ["dateCreation"] },
|
|
10
|
+
{ "id": "spot", "mainType": "spot", "active": true, "facets": ["type", "dateCreation"] },
|
|
11
|
+
{
|
|
12
|
+
"id": "article",
|
|
13
|
+
"mainType": "article",
|
|
14
|
+
"active": true,
|
|
15
|
+
"facets": ["__sec__", "idUser", "type", "tags", "dateCreation"]
|
|
16
|
+
},
|
|
17
|
+
{ "id": "comment", "mainType": "comment", "active": true, "facets": [] },
|
|
18
|
+
{ "id": "fileArticle", "mainType": "fileArticle", "active": true, "facets": [] },
|
|
19
|
+
{ "id": "fileComment", "mainType": "fileComment", "active": true, "facets": [] }
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
{
|
|
2
|
+
"o": "search",
|
|
3
|
+
"f": "getConfig",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [],
|
|
6
|
+
"result": {
|
|
7
|
+
"home": {
|
|
8
|
+
"mode": "result",
|
|
9
|
+
"facets": [
|
|
10
|
+
{ "field": "__sec__", "title": "Audience", "facetType": "facet", "facetOptions": {} },
|
|
11
|
+
{ "field": "idUser", "title": "Auteur", "facetType": "facet", "facetOptions": {} },
|
|
12
|
+
{
|
|
13
|
+
"field": "dateCreation",
|
|
14
|
+
"title": "Date",
|
|
15
|
+
"facetType": "facetQuery",
|
|
16
|
+
"facetOptions": {
|
|
17
|
+
"[NOW-1DAY TO *]": { "ressource": "SEARCH_Facet_Day", "value": "[NOW-1DAY TO *]" },
|
|
18
|
+
"[NOW/DAY-7DAY TO NOW]": { "ressource": "SEARCH_Facet_Week", "value": "[NOW/DAY-7DAY TO NOW]" },
|
|
19
|
+
"[NOW/DAY-1MONTH TO NOW]": {
|
|
20
|
+
"ressource": "SEARCH_Facet_Month",
|
|
21
|
+
"value": "[NOW/DAY-1MONTH TO NOW]"
|
|
22
|
+
},
|
|
23
|
+
"[NOW/DAY-1YEAR TO NOW]": {
|
|
24
|
+
"ressource": "SEARCH_Facet_Year",
|
|
25
|
+
"value": "[NOW/DAY-1YEAR TO NOW]"
|
|
26
|
+
},
|
|
27
|
+
"[* TO NOW/DAY-1YEAR]": {
|
|
28
|
+
"ressource": "SEARCH_Facet_More_Year",
|
|
29
|
+
"value": "[* TO NOW/DAY-1YEAR]"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
"categories": [
|
|
36
|
+
{
|
|
37
|
+
"id": "user",
|
|
38
|
+
"facets": [
|
|
39
|
+
{
|
|
40
|
+
"field": "dateCreation",
|
|
41
|
+
"title": "Date",
|
|
42
|
+
"facetType": "facetQuery",
|
|
43
|
+
"facetOptions": {
|
|
44
|
+
"[NOW-1DAY TO *]": { "ressource": "SEARCH_Facet_Day", "value": "[NOW-1DAY TO *]" },
|
|
45
|
+
"[NOW/DAY-7DAY TO NOW]": {
|
|
46
|
+
"ressource": "SEARCH_Facet_Week",
|
|
47
|
+
"value": "[NOW/DAY-7DAY TO NOW]"
|
|
48
|
+
},
|
|
49
|
+
"[NOW/DAY-1MONTH TO NOW]": {
|
|
50
|
+
"ressource": "SEARCH_Facet_Month",
|
|
51
|
+
"value": "[NOW/DAY-1MONTH TO NOW]"
|
|
52
|
+
},
|
|
53
|
+
"[NOW/DAY-1YEAR TO NOW]": {
|
|
54
|
+
"ressource": "SEARCH_Facet_Year",
|
|
55
|
+
"value": "[NOW/DAY-1YEAR TO NOW]"
|
|
56
|
+
},
|
|
57
|
+
"[* TO NOW/DAY-1YEAR]": {
|
|
58
|
+
"ressource": "SEARCH_Facet_More_Year",
|
|
59
|
+
"value": "[* TO NOW/DAY-1YEAR]"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"mainType": "user",
|
|
65
|
+
"title": "Utilisateur",
|
|
66
|
+
"typesExcluded": []
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "spot",
|
|
70
|
+
"facets": [
|
|
71
|
+
{ "field": "type", "title": "Type", "facetType": "facet", "facetOptions": { "limit": 28 } },
|
|
72
|
+
{
|
|
73
|
+
"field": "dateCreation",
|
|
74
|
+
"title": "Date",
|
|
75
|
+
"facetType": "facetQuery",
|
|
76
|
+
"facetOptions": {
|
|
77
|
+
"[NOW-1DAY TO *]": { "ressource": "SEARCH_Facet_Day", "value": "[NOW-1DAY TO *]" },
|
|
78
|
+
"[NOW/DAY-7DAY TO NOW]": {
|
|
79
|
+
"ressource": "SEARCH_Facet_Week",
|
|
80
|
+
"value": "[NOW/DAY-7DAY TO NOW]"
|
|
81
|
+
},
|
|
82
|
+
"[NOW/DAY-1MONTH TO NOW]": {
|
|
83
|
+
"ressource": "SEARCH_Facet_Month",
|
|
84
|
+
"value": "[NOW/DAY-1MONTH TO NOW]"
|
|
85
|
+
},
|
|
86
|
+
"[NOW/DAY-1YEAR TO NOW]": {
|
|
87
|
+
"ressource": "SEARCH_Facet_Year",
|
|
88
|
+
"value": "[NOW/DAY-1YEAR TO NOW]"
|
|
89
|
+
},
|
|
90
|
+
"[* TO NOW/DAY-1YEAR]": {
|
|
91
|
+
"ressource": "SEARCH_Facet_More_Year",
|
|
92
|
+
"value": "[* TO NOW/DAY-1YEAR]"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"mainType": "spot",
|
|
98
|
+
"title": "Groupe",
|
|
99
|
+
"typesExcluded": []
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"id": "article",
|
|
103
|
+
"facets": [
|
|
104
|
+
{ "field": "__sec__", "title": "Audience", "facetType": "facet", "facetOptions": {} },
|
|
105
|
+
{ "field": "idUser", "title": "Auteur", "facetType": "facet", "facetOptions": {} },
|
|
106
|
+
{ "field": "type", "title": "Type", "facetType": "facet", "facetOptions": { "limit": 28 } },
|
|
107
|
+
{ "field": "tags", "title": "Mots-cl\u00e9s", "facetType": "facet", "facetOptions": {} },
|
|
108
|
+
{
|
|
109
|
+
"field": "dateCreation",
|
|
110
|
+
"title": "Date",
|
|
111
|
+
"facetType": "facetQuery",
|
|
112
|
+
"facetOptions": {
|
|
113
|
+
"[NOW-1DAY TO *]": { "ressource": "SEARCH_Facet_Day", "value": "[NOW-1DAY TO *]" },
|
|
114
|
+
"[NOW/DAY-7DAY TO NOW]": {
|
|
115
|
+
"ressource": "SEARCH_Facet_Week",
|
|
116
|
+
"value": "[NOW/DAY-7DAY TO NOW]"
|
|
117
|
+
},
|
|
118
|
+
"[NOW/DAY-1MONTH TO NOW]": {
|
|
119
|
+
"ressource": "SEARCH_Facet_Month",
|
|
120
|
+
"value": "[NOW/DAY-1MONTH TO NOW]"
|
|
121
|
+
},
|
|
122
|
+
"[NOW/DAY-1YEAR TO NOW]": {
|
|
123
|
+
"ressource": "SEARCH_Facet_Year",
|
|
124
|
+
"value": "[NOW/DAY-1YEAR TO NOW]"
|
|
125
|
+
},
|
|
126
|
+
"[* TO NOW/DAY-1YEAR]": {
|
|
127
|
+
"ressource": "SEARCH_Facet_More_Year",
|
|
128
|
+
"value": "[* TO NOW/DAY-1YEAR]"
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
"mainType": "article",
|
|
134
|
+
"title": "Contenu",
|
|
135
|
+
"typesExcluded": []
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"id": "comment",
|
|
139
|
+
"facets": [
|
|
140
|
+
{ "field": "__sec__", "title": "Audience", "facetType": "facet", "facetOptions": {} },
|
|
141
|
+
{ "field": "idUser", "title": "Auteur", "facetType": "facet", "facetOptions": {} },
|
|
142
|
+
{
|
|
143
|
+
"field": "dateCreation",
|
|
144
|
+
"title": "Date",
|
|
145
|
+
"facetType": "facetQuery",
|
|
146
|
+
"facetOptions": {
|
|
147
|
+
"[NOW-1DAY TO *]": { "ressource": "SEARCH_Facet_Day", "value": "[NOW-1DAY TO *]" },
|
|
148
|
+
"[NOW/DAY-7DAY TO NOW]": {
|
|
149
|
+
"ressource": "SEARCH_Facet_Week",
|
|
150
|
+
"value": "[NOW/DAY-7DAY TO NOW]"
|
|
151
|
+
},
|
|
152
|
+
"[NOW/DAY-1MONTH TO NOW]": {
|
|
153
|
+
"ressource": "SEARCH_Facet_Month",
|
|
154
|
+
"value": "[NOW/DAY-1MONTH TO NOW]"
|
|
155
|
+
},
|
|
156
|
+
"[NOW/DAY-1YEAR TO NOW]": {
|
|
157
|
+
"ressource": "SEARCH_Facet_Year",
|
|
158
|
+
"value": "[NOW/DAY-1YEAR TO NOW]"
|
|
159
|
+
},
|
|
160
|
+
"[* TO NOW/DAY-1YEAR]": {
|
|
161
|
+
"ressource": "SEARCH_Facet_More_Year",
|
|
162
|
+
"value": "[* TO NOW/DAY-1YEAR]"
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
"mainType": "comment",
|
|
168
|
+
"title": "Commentaire",
|
|
169
|
+
"typesExcluded": []
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"id": "fileArticle",
|
|
173
|
+
"facets": [
|
|
174
|
+
{ "field": "__sec__", "title": "Audience", "facetType": "facet", "facetOptions": {} },
|
|
175
|
+
{ "field": "idUser", "title": "Auteur", "facetType": "facet", "facetOptions": {} },
|
|
176
|
+
{
|
|
177
|
+
"field": "dateCreation",
|
|
178
|
+
"title": "Date",
|
|
179
|
+
"facetType": "facetQuery",
|
|
180
|
+
"facetOptions": {
|
|
181
|
+
"[NOW-1DAY TO *]": { "ressource": "SEARCH_Facet_Day", "value": "[NOW-1DAY TO *]" },
|
|
182
|
+
"[NOW/DAY-7DAY TO NOW]": {
|
|
183
|
+
"ressource": "SEARCH_Facet_Week",
|
|
184
|
+
"value": "[NOW/DAY-7DAY TO NOW]"
|
|
185
|
+
},
|
|
186
|
+
"[NOW/DAY-1MONTH TO NOW]": {
|
|
187
|
+
"ressource": "SEARCH_Facet_Month",
|
|
188
|
+
"value": "[NOW/DAY-1MONTH TO NOW]"
|
|
189
|
+
},
|
|
190
|
+
"[NOW/DAY-1YEAR TO NOW]": {
|
|
191
|
+
"ressource": "SEARCH_Facet_Year",
|
|
192
|
+
"value": "[NOW/DAY-1YEAR TO NOW]"
|
|
193
|
+
},
|
|
194
|
+
"[* TO NOW/DAY-1YEAR]": {
|
|
195
|
+
"ressource": "SEARCH_Facet_More_Year",
|
|
196
|
+
"value": "[* TO NOW/DAY-1YEAR]"
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
],
|
|
201
|
+
"mainType": "fileArticle",
|
|
202
|
+
"title": "Fichier de contenu",
|
|
203
|
+
"typesExcluded": []
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"id": "fileComment",
|
|
207
|
+
"facets": [
|
|
208
|
+
{ "field": "__sec__", "title": "Audience", "facetType": "facet", "facetOptions": {} },
|
|
209
|
+
{ "field": "idUser", "title": "Auteur", "facetType": "facet", "facetOptions": {} },
|
|
210
|
+
{
|
|
211
|
+
"field": "dateCreation",
|
|
212
|
+
"title": "Date",
|
|
213
|
+
"facetType": "facetQuery",
|
|
214
|
+
"facetOptions": {
|
|
215
|
+
"[NOW-1DAY TO *]": { "ressource": "SEARCH_Facet_Day", "value": "[NOW-1DAY TO *]" },
|
|
216
|
+
"[NOW/DAY-7DAY TO NOW]": {
|
|
217
|
+
"ressource": "SEARCH_Facet_Week",
|
|
218
|
+
"value": "[NOW/DAY-7DAY TO NOW]"
|
|
219
|
+
},
|
|
220
|
+
"[NOW/DAY-1MONTH TO NOW]": {
|
|
221
|
+
"ressource": "SEARCH_Facet_Month",
|
|
222
|
+
"value": "[NOW/DAY-1MONTH TO NOW]"
|
|
223
|
+
},
|
|
224
|
+
"[NOW/DAY-1YEAR TO NOW]": {
|
|
225
|
+
"ressource": "SEARCH_Facet_Year",
|
|
226
|
+
"value": "[NOW/DAY-1YEAR TO NOW]"
|
|
227
|
+
},
|
|
228
|
+
"[* TO NOW/DAY-1YEAR]": {
|
|
229
|
+
"ressource": "SEARCH_Facet_More_Year",
|
|
230
|
+
"value": "[* TO NOW/DAY-1YEAR]"
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
],
|
|
235
|
+
"mainType": "fileComment",
|
|
236
|
+
"title": "Fichier de commentaire",
|
|
237
|
+
"typesExcluded": []
|
|
238
|
+
}
|
|
239
|
+
],
|
|
240
|
+
"viewcard": {
|
|
241
|
+
"user": [
|
|
242
|
+
{ "name": "firstname", "title": "Pr\u00e9nom" },
|
|
243
|
+
{ "name": "lastname", "title": "Nom" },
|
|
244
|
+
{ "name": "company", "title": "Soci\u00e9t\u00e9" },
|
|
245
|
+
{ "name": "mail", "title": "Mail" }
|
|
246
|
+
]
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"o": "search",
|
|
3
|
+
"f": "proposition",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [],
|
|
6
|
+
"result": [
|
|
7
|
+
{
|
|
8
|
+
"id": "apps",
|
|
9
|
+
"title": "Applications",
|
|
10
|
+
"showAll": false,
|
|
11
|
+
"results": [
|
|
12
|
+
{
|
|
13
|
+
"name": "group",
|
|
14
|
+
"title": "Groupes",
|
|
15
|
+
"icon": "/img/vespasien/apps/group.png",
|
|
16
|
+
"_url": "/ng/app/group/directory"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "spot",
|
|
22
|
+
"title": "Groupe",
|
|
23
|
+
"showAll": true,
|
|
24
|
+
"results": [
|
|
25
|
+
{
|
|
26
|
+
"id": 1,
|
|
27
|
+
"type": "spot",
|
|
28
|
+
"uri": "spot/1",
|
|
29
|
+
"mainType": "spot",
|
|
30
|
+
"_cssColor": "#e34d55",
|
|
31
|
+
"_cssClass": "group",
|
|
32
|
+
"title": "Groupe public",
|
|
33
|
+
"_url": "/group/1",
|
|
34
|
+
"_values": {
|
|
35
|
+
"privacy": 1,
|
|
36
|
+
"category": "1",
|
|
37
|
+
"dateCreation": "2019-07-18 18:36:24",
|
|
38
|
+
"dateModified": "2019-07-18 18:36:24"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"id": 3,
|
|
43
|
+
"type": "spot",
|
|
44
|
+
"uri": "spot/3",
|
|
45
|
+
"mainType": "spot",
|
|
46
|
+
"_cssColor": "#e34d55",
|
|
47
|
+
"_cssClass": "group",
|
|
48
|
+
"title": "Groupe mod\u00e9r\u00e9",
|
|
49
|
+
"_url": "/group/3",
|
|
50
|
+
"_values": {
|
|
51
|
+
"privacy": 2,
|
|
52
|
+
"category": "1",
|
|
53
|
+
"dateCreation": "2019-07-19 09:35:53",
|
|
54
|
+
"dateModified": "2019-07-19 09:35:53"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"o": "search",
|
|
3
|
+
"f": "query",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [],
|
|
6
|
+
"result": {
|
|
7
|
+
"start": 2,
|
|
8
|
+
"count": 3,
|
|
9
|
+
"results": [
|
|
10
|
+
{
|
|
11
|
+
"id": 1,
|
|
12
|
+
"mainType": "user",
|
|
13
|
+
"type": "user",
|
|
14
|
+
"uri": "user/1",
|
|
15
|
+
"title": "AdminJenkins",
|
|
16
|
+
"_url": "/user/1",
|
|
17
|
+
"dateCreation": "2019-03-26 16:29:33",
|
|
18
|
+
"dateModified": "2019-07-19 09:39:23",
|
|
19
|
+
"level": 9,
|
|
20
|
+
"firstname": "Admin",
|
|
21
|
+
"lastname": "Jenkins",
|
|
22
|
+
"company": "",
|
|
23
|
+
"mail": "admin.jenkins@jamespot.com"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"categories": [
|
|
27
|
+
{ "count": 3, "id": "user" },
|
|
28
|
+
{ "count": 0, "id": "spot" },
|
|
29
|
+
{ "count": 0, "id": "article" },
|
|
30
|
+
{ "count": 0, "id": "comment" },
|
|
31
|
+
{ "count": 0, "id": "fileArticle" },
|
|
32
|
+
{ "count": 0, "id": "fileComment" }
|
|
33
|
+
],
|
|
34
|
+
"facets": [
|
|
35
|
+
{
|
|
36
|
+
"name": "__sec__",
|
|
37
|
+
"title": "Audience",
|
|
38
|
+
"count": 9,
|
|
39
|
+
"values": [
|
|
40
|
+
{ "count": 1, "value": "u1", "title": "AdminJenkins" },
|
|
41
|
+
{ "count": 1, "value": "u4", "title": "Admin1" },
|
|
42
|
+
{ "count": 1, "value": "u5", "title": "Admin2" }
|
|
43
|
+
]
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "dateCreation",
|
|
47
|
+
"title": "Date",
|
|
48
|
+
"count": 3,
|
|
49
|
+
"values": [{ "count": 3, "value": "[* TO NOW/DAY-1YEAR]", "title": "Plus d'un an" }]
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "o": "search", "f": "setAdminConfig", "error": 0, "messages": [], "result": [] }
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
{
|
|
2
|
+
"o": "studio",
|
|
3
|
+
"f": "list",
|
|
4
|
+
"error": 0,
|
|
5
|
+
"messages": [],
|
|
6
|
+
"result": [
|
|
7
|
+
{
|
|
8
|
+
"idApp": "USER_APP_589738",
|
|
9
|
+
"name": "USER_APP_589738",
|
|
10
|
+
"status": "installed",
|
|
11
|
+
"label": "test-php-unit",
|
|
12
|
+
"img": "/img/vespasien/apps/default.png",
|
|
13
|
+
"icon": "star",
|
|
14
|
+
"color": "#392994",
|
|
15
|
+
"url": "/index.php?action=typeApplication&nameApp=USER_APP_589738",
|
|
16
|
+
"type": "USER_APP_589738",
|
|
17
|
+
"types": "<objecttype label=\"Label\" labelPlural=\"Label\" labelLinkSingular=\"Label\" labelLinkPlural=\"Label\" name=\"USER_APP_589738\" classImpl=\"JPBEContent\" classCodeLocation=\"jamespot/jpro/objs/JPBEContent.php\" cssClass=\"align-center\" cssColor=\"#392994\" searchtab=\"USER_APP_589738\" searchtablabel=\"Label\" buttonlabel=\"Label\" extends=\"article\">\n <primaryFields>\n <field type=\"html\" name=\"description\" sqlname=\"Description\" label=\"Label\" description=\"Desc\" mandatory=\"false\" solr.type=\"text\" solr.used=\"true\" solr.indexed=\"true\" solr.stored=\"true\" solr.searchable=\"true\" solr.multiValued=\"false\" teaser=\"true\" display=\"true\">\n <widget form=\"textarea\">\n <params>\n <param key=\"class\" value=\"mceEditor\"/>\n <param key=\"mention\" value=\"1\"/>\n </params>\n </widget>\n </field>\n </primaryFields>\n </objecttype><displays type=\"USER_APP_589738\">\n <display view=\"create\" mode=\"form\">\n <attr name=\"title\"/>\n <attr name=\"description\"/>\n <attr name=\"edito\"/>\n <publishTo/>\n <attr name=\"sendAlert\"/>\n <attr name=\"alertAuthor\"/>\n </display>\n <display view=\"create-popup\" mode=\"form\">\n <attr name=\"title\"/>\n <attr name=\"description\"/>\n <publishTo/>\n </display>\n <display view=\"edit\" mode=\"form\">\n <attr name=\"title\"/>\n <attr name=\"description\"/>\n <publishTo/>\n </display>\n <display view=\"display\" mode=\"view\">\n <attr name=\"title\"/>\n <attr name=\"description\"/>\n </display>\n </displays>",
|
|
18
|
+
"urlTarget": false,
|
|
19
|
+
"description": "Description",
|
|
20
|
+
"order": 1,
|
|
21
|
+
"studioVersion": 1,
|
|
22
|
+
"author": "user/7",
|
|
23
|
+
"dateCreation": "2023-04-12",
|
|
24
|
+
"suspended": false,
|
|
25
|
+
"action": {
|
|
26
|
+
"action": "typeApplication",
|
|
27
|
+
"nameApp": "USER_APP_589738"
|
|
28
|
+
},
|
|
29
|
+
"view": "solr",
|
|
30
|
+
"display": "table",
|
|
31
|
+
"columns": {
|
|
32
|
+
"title": "title",
|
|
33
|
+
"idUser": "idUser",
|
|
34
|
+
"description": "description",
|
|
35
|
+
"dateCreation": "dateCreation"
|
|
36
|
+
},
|
|
37
|
+
"accessRightList": ["user/7", "spot/1"],
|
|
38
|
+
"accessRightObjectList": [
|
|
39
|
+
{
|
|
40
|
+
"id": 7,
|
|
41
|
+
"type": "user",
|
|
42
|
+
"uri": "user/7",
|
|
43
|
+
"title": "User2",
|
|
44
|
+
"mainType": "user",
|
|
45
|
+
"_cssColor": "#a4acaf",
|
|
46
|
+
"_cssClass": "user",
|
|
47
|
+
"_url": "/user/7",
|
|
48
|
+
"_right": {
|
|
49
|
+
"create": false,
|
|
50
|
+
"read": true,
|
|
51
|
+
"publish": true,
|
|
52
|
+
"administrate": false,
|
|
53
|
+
"update": true,
|
|
54
|
+
"delete": true,
|
|
55
|
+
"comment": false,
|
|
56
|
+
"member": true
|
|
57
|
+
},
|
|
58
|
+
"firstname": "Deux",
|
|
59
|
+
"lastname": "User",
|
|
60
|
+
"mail": "<a href=\"mailto:user2@jamespot.com\" class=\"\" >user2@jamespot.com</a>",
|
|
61
|
+
"_values": {
|
|
62
|
+
"firstname": "Deux",
|
|
63
|
+
"lastname": "User",
|
|
64
|
+
"mail": "user2@jamespot.com",
|
|
65
|
+
"title": "User2",
|
|
66
|
+
"dateCreation": "2019-07-09 15:49:25",
|
|
67
|
+
"dateModified": "2019-07-09 15:51:50"
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"id": 1,
|
|
72
|
+
"type": "spot",
|
|
73
|
+
"uri": "spot/1",
|
|
74
|
+
"title": "Groupe public",
|
|
75
|
+
"mainType": "spot",
|
|
76
|
+
"_cssColor": "#e34d55",
|
|
77
|
+
"_cssClass": "group",
|
|
78
|
+
"_url": "/group/1",
|
|
79
|
+
"_right": {
|
|
80
|
+
"create": false,
|
|
81
|
+
"read": true,
|
|
82
|
+
"publish": true,
|
|
83
|
+
"administrate": false,
|
|
84
|
+
"update": false,
|
|
85
|
+
"delete": false,
|
|
86
|
+
"comment": false,
|
|
87
|
+
"member": true
|
|
88
|
+
},
|
|
89
|
+
"privacy": "Public",
|
|
90
|
+
"category": "Non class\u00e9",
|
|
91
|
+
"description": "<div class='content-html'></div>",
|
|
92
|
+
"image": null,
|
|
93
|
+
"_values": {
|
|
94
|
+
"title": "Groupe public",
|
|
95
|
+
"dateCreation": "2019-07-18 18:36:24",
|
|
96
|
+
"dateModified": "2023-04-12 10:31:04",
|
|
97
|
+
"privacy": 1,
|
|
98
|
+
"category": "1"
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"checkAccess": true,
|
|
103
|
+
"showImport": true,
|
|
104
|
+
"showMap": false,
|
|
105
|
+
"mail2RSE": false,
|
|
106
|
+
"attrExposed": ["title", "idUser", "description", "dateCreation"]
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"idApp": "APP_518120",
|
|
110
|
+
"status": "saved",
|
|
111
|
+
"value": "{\"idApp\":\"APP_518120\",\"status\":\"draft\",\"mainType\":\"article\",\"manifest\":{\"appShortName\":\"APP_518120\",\"appName\":\"test-php-unit\",\"description\":\"Description\",\"typeLabel\":\"lab\",\"version\":1.2,\"dateCreation\":\"2023-04-12T10:31:46\",\"cssColor\":\"#392994\",\"cssClass\":{\"label\":\"star\",\"value\":\"star\"},\"checkAccess\":true,\"attrExposed\":[],\"viewSolr\":true,\"author\":\"user\\/4\"},\"form\":{\"formItems\":[],\"trash\":[]},\"formItemsViewList\":[{\"view\":\"create\",\"orderChanged\":true,\"formItemRefs\":[]},{\"view\":\"popup\",\"orderChanged\":false,\"formItemRefs\":[]},{\"view\":\"edit\",\"orderChanged\":false,\"formItemRefs\":[]},{\"view\":\"list\",\"orderChanged\":false,\"formItemRefs\":[]},{\"view\":\"filter\",\"orderChanged\":false,\"formItemRefs\":[]},{\"view\":\"view\",\"orderChanged\":false,\"formItemRefs\":[]}],\"installFor\":[{\"uri\":\"user\\/7\"},{\"uri\":\"spot\\/1\"}],\"hasChanged\":false,\"changeDate\":\"2023-04-12T10:31:46\",\"isSaved\":true,\"saveDate\":\"2023-04-12T10:31:46\"}"
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
}
|