jamespot-user-api 1.0.107 → 1.0.109
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 +14 -14
- package/documentation/assets/search.js +1 -1
- package/documentation/classes/AdminLicenseApi.html +11 -11
- package/documentation/classes/AdminStoreApi.html +1 -1
- package/documentation/classes/AdminUtilsApi.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/JDiapazoneApi.html +1 -1
- package/documentation/classes/JFileApi.html +5 -5
- package/documentation/classes/JFilebankApi.html +1 -1
- package/documentation/classes/JGroupApi.html +8 -8
- package/documentation/classes/JLandApi.html +1 -1
- package/documentation/classes/JMessengerApi.html +1 -1
- package/documentation/classes/JSearchApi.html +6 -6
- package/documentation/classes/JShareApi.html +1 -1
- package/documentation/classes/JTaxonomyApi.html +2 -2
- 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 -1
- package/documentation/interfaces/AdminLicenseUser.html +1 -1
- package/documentation/interfaces/ApiDefaultWrapper.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 -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/SearchResultPropsApp.html +1 -1
- package/documentation/interfaces/SearchResultPropsObject.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 +19 -6
- package/lib/jamespot-user-api.js +1 -1
- package/lib/jamespot-user-api.js.map +1 -1
- package/lib/src/apis/{assetReservation.d.ts → assetReservation/assetReservation.d.ts} +3 -4
- package/lib/src/apis/assetReservation/assetReservation.mock.d.ts +6 -0
- package/lib/src/apis/base.d.ts +1 -1
- package/lib/src/apis/diapazone/diapazone.d.ts +6 -0
- package/lib/src/apis/diapazone/diapazone.mock.d.ts +3 -0
- package/lib/src/apis/diapazone/diapazone.test.d.ts +1 -0
- package/lib/src/apis/group/group.types.d.ts +1 -0
- package/lib/src/apis/index.d.ts +2 -2
- package/lib/src/apis/jamespotUserApi.d.ts +2 -2
- package/lib/src/apis/share/share.d.ts +1 -0
- package/lib/src/apis/wedoc/wedoc.d.ts +1 -1
- package/lib/src/apis/wedoc/wedoc.mock.d.ts +1 -0
- package/lib/src/types/assetReservation.d.ts +2 -2
- package/lib/src/types/diapazone.d.ts +12 -0
- package/lib/src/types/index.d.ts +1 -0
- package/lib/src/types/user.d.ts +1 -1
- package/lib/src/types/utils.d.ts +5 -0
- package/lib/src/types/wedoc.d.ts +2 -0
- package/lib/src/util/Test.d.ts +10 -1
- package/lib/src/util/object.d.ts +11 -0
- package/package.json +1 -1
- package/phpunitMock/articleCreate-animatedMeeting.json +41 -0
- package/phpunitMock/assetReservationBookByDate-default.json +76 -0
- package/phpunitMock/assetReservationCancelReservation-default.json +75 -0
- package/phpunitMock/assetReservationCreateReservation-default.json +75 -0
- package/phpunitMock/diapazoneCreateDiapazone.json +18 -0
- package/phpunitMock/objectListAssetReservationList-default.json +428 -0
- package/phpunitMock/objectListDiapazoneQueryList-default-raw-list.json +77 -0
- package/phpunitMock/onlyOfficeGetFile-get-file.json +2 -1
- package/phpunitMock/onlyOfficeGetFiles-get-files.json +2 -1
- package/phpunitMock/onlyOfficeGetObjectAccessHash-default.json +7 -0
- package/phpunitMock/spotGetProperties-default.json +3 -1
- package/pnpm-lock.yaml +12425 -0
- package/lib/src/apis/assetReservation.mock.d.ts +0 -3
- package/lib/src/apis/diapazone.d.ts +0 -24
- /package/lib/src/apis/{assetReservation.test.d.ts → assetReservation/assetReservation.test.d.ts} +0 -0
package/README-internal.md
CHANGED
|
@@ -9,8 +9,8 @@ The JamespotUserApi library facilitates the HTTPS calls to the Jamespot Apis. Th
|
|
|
9
9
|
This contains the JavaScript calls to the jamespot api (user-api) and lots of type definitions. Most of the Jamespot projects depends upon it. Therefore, it needs to be installed and build first.
|
|
10
10
|
|
|
11
11
|
```
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
pnpm i --frozen-lockfile
|
|
13
|
+
pnpm run build
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
## Web project install order
|
|
@@ -30,7 +30,7 @@ Once everything has been installed run on local
|
|
|
30
30
|
-
|
|
31
31
|
|
|
32
32
|
```
|
|
33
|
-
|
|
33
|
+
pnpm run local
|
|
34
34
|
```
|
|
35
35
|
|
|
36
36
|
### Solidarity
|
|
@@ -43,23 +43,23 @@ https://dokuwiki.teleport.jamespot.pro/doku.php?id=dev:utilitaires:solidarity:br
|
|
|
43
43
|
|
|
44
44
|
## Build
|
|
45
45
|
|
|
46
|
-
| commande
|
|
47
|
-
|
|
|
48
|
-
| `
|
|
49
|
-
| `
|
|
50
|
-
| `
|
|
51
|
-
| `
|
|
52
|
-
| `
|
|
53
|
-
| `
|
|
46
|
+
| commande | format du bundle | avec les mock | hot reload |
|
|
47
|
+
| --------------------- | ---------------- | ------------- | ---------- |
|
|
48
|
+
| `pnpm run build` | development | non | non |
|
|
49
|
+
| `pnpm run build-mock` | development | oui | non |
|
|
50
|
+
| `pnpm run dev` | development | non | non |
|
|
51
|
+
| `pnpm run dev-mock` | production | non | non |
|
|
52
|
+
| `pnpm run local` | production | oui | oui |
|
|
53
|
+
| `pnpm run local-mock` | production | non | oui |
|
|
54
54
|
|
|
55
55
|
## Test - Jest (using jenkins DB located at https://jenskinsdev.jamespot.pro)
|
|
56
56
|
|
|
57
57
|
```
|
|
58
58
|
# Lancer tous les tests
|
|
59
|
-
|
|
59
|
+
pnpm run testJenkinsDev
|
|
60
60
|
|
|
61
61
|
# Lancer un fichier de test spécifique - pattern de test a lancer
|
|
62
|
-
|
|
62
|
+
pnpm run testJenkinsDev -- [pathFile] -t [testName]
|
|
63
63
|
```
|
|
64
64
|
|
|
65
65
|
The configuration is editable in the file setEnvVars.js to use the real api or the mocked one
|
|
@@ -67,5 +67,5 @@ The configuration is editable in the file setEnvVars.js to use the real api or t
|
|
|
67
67
|
## Generate doc
|
|
68
68
|
|
|
69
69
|
```
|
|
70
|
-
|
|
70
|
+
pnpm run doc
|
|
71
71
|
```
|