[PRODENG-211] integrate JS-API with monorepo (part 1) (#9081)

* integrate JS-API with monorepo

* [ci:force] fix token issue

[ci:force] migrate docs folder

[ci:force] clean personal tokens

* [ci:force] gha workflow support

* [ci:force] npm publish target

* fix js-api test linting

* [ci:force] fix test linting, mocks, https scheme

* [ci:force] fix https scheme

* [ci:force] typescript mappings

* [ci:force] update scripts

* lint fixes

* linting fixes

* fix linting

* [ci:force] linting fixes

* linting fixes

* [ci:force] remove js-api upstream and corresponding scripts

* [ci:force] jsdoc fixes

* fix jsdoc linting

* [ci:force] jsdoc fixes

* [ci:force] jsdoc fixes

* jsdoc fixes

* jsdoc fixes

* jsdoc fixes

* [ci:force] fix jsdoc

* [ci:force] reduce code duplication

* replace 'chai' expect with node.js assert

* replace 'chai' expect with node.js assert

* [ci:force] remove chai and chai-spies for js-api testing

* [ci:force] cleanup and fix imports

* [ci:force] fix linting

* [ci:force] fix unit test

* [ci:force] fix sonar linting findings

* [ci:force] switch activiti api models to interfaces (-2.5% reduction of bundle)

* [ci:force] switch activiti api models to interfaces

* [ci:force] switch AGS api models to interfaces

* [ci:force] switch AGS api models to interfaces

* [ci:force] switch search api models to interfaces

* [ci:force] switch content api models to interfaces where applicable
This commit is contained in:
Denys Vuika
2023-11-21 10:27:51 +00:00
committed by GitHub
parent 804fa2ffd4
commit ea2c0ce229
1334 changed files with 82605 additions and 1068 deletions

View File

View File

@@ -0,0 +1,18 @@
---
Title: Changelog for @alfresco/js-api v4.10.0
---
# Changelog
- [b9c450cd4](https://github.com/Alfresco/alfresco-js-api/commit/b9c450cd4) Update .mergify.yml
- [ee63a51a6](https://github.com/Alfresco/alfresco-js-api/commit/ee63a51a6) Update js-api-build.yml
- [83db6f6e3](https://github.com/Alfresco/alfresco-js-api/commit/83db6f6e3) Update js-api-build.yml
- [d09f7601c](https://github.com/Alfresco/alfresco-js-api/commit/d09f7601c) Update js-api-build.yml
- [c158ba2ec](https://github.com/Alfresco/alfresco-js-api/commit/c158ba2ec) Update js-api-build.yml (#1358)
- [445a36953](https://github.com/Alfresco/alfresco-js-api/commit/445a36953) fix build
- [be9ccaa78](https://github.com/Alfresco/alfresco-js-api/commit/be9ccaa78) Update js-api-build.yml
- [bc3ee9017](https://github.com/Alfresco/alfresco-js-api/commit/bc3ee9017) Update README.md
- [20abc2960](https://github.com/Alfresco/alfresco-js-api/commit/20abc2960) Move to github actions (#1353)
- [d7f899b49](https://github.com/Alfresco/alfresco-js-api/commit/d7f899b49) Update package.json
- [2730595bd](https://github.com/Alfresco/alfresco-js-api/commit/2730595bd) [AAE-7657] Let js-api depend on generic http client (#1332)

View File

@@ -0,0 +1,15 @@
---
Title: Changelog for @alfresco/js-api v4.11.0
---
# Changelog
- [0c345b466](https://github.com/Alfresco/alfresco-js-api/commit/0c345b466) remove mergify config (#1371)
- [a50e297eb](https://github.com/Alfresco/alfresco-js-api/commit/a50e297eb) feat: rename and export LegacyAlfrescoApi in public-api (#1382)
- [e19d6ce50](https://github.com/Alfresco/alfresco-js-api/commit/e19d6ce50) Expose the api to fetch userinfo (#1381)
- [c7273a2ee](https://github.com/Alfresco/alfresco-js-api/commit/c7273a2ee) Check out and npm ci
- [f074f6d0e](https://github.com/Alfresco/alfresco-js-api/commit/f074f6d0e) Create a different flow for upstream manually (#1380)
- [75ba2574e](https://github.com/Alfresco/alfresco-js-api/commit/75ba2574e) Being able to trigger the adf trigger from workflow (#1379)
- [470d9c3ed](https://github.com/Alfresco/alfresco-js-api/commit/470d9c3ed) [AAE-8649] Being able to use input values of discovery (#1378)
- [005b96df6](https://github.com/Alfresco/alfresco-js-api/commit/005b96df6) Ability to pass client secret (#1373)

View File

@@ -0,0 +1,8 @@
---
Title: Changelog for @alfresco/js-api v4.7.0
---
# Changelog
- [14f1b3ba](https://github.com/Alfresco/alfresco-js-api/commit/14f1b3ba) release reports generation (#1258)
- [e55cff6b](https://github.com/Alfresco/alfresco-js-api/commit/e55cff6b) Update publish.sh

View File

@@ -0,0 +1,8 @@
---
Title: Changelog for @alfresco/js-api v4.8.0
---
# Changelog
- [39afcf33](https://github.com/Alfresco/alfresco-js-api/commit/39afcf33) Bump typescript from 4.5.3 to 4.5.4 (#1273)
- [f2e43b36](https://github.com/Alfresco/alfresco-js-api/commit/f2e43b36) Support custom OAuth endpoints (#1259)

View File

@@ -0,0 +1,9 @@
---
Title: Changelog for @alfresco/js-api v4.9.0
---
# Changelog
- [cdeecd6f6](https://github.com/Alfresco/alfresco-js-api/commit/cdeecd6f6) Revert the superagent upgrade (#1340)
- [6dc7e489d](https://github.com/Alfresco/alfresco-js-api/commit/6dc7e489d) Make ADF possible to update on request (#1339)
- [c8db476cb](https://github.com/Alfresco/alfresco-js-api/commit/c8db476cb) revert superagent (#1338)

View File

@@ -0,0 +1,11 @@
---
Title: Changelog for @alfresco/js-api v5.0.0
---
# Changelog
- [73acb91ed](https://github.com/Alfresco/alfresco-js-api/commit/73acb91ed) Fix problems around legacyAlfrescoApi (#1403)
- [434c24ea6](https://github.com/Alfresco/alfresco-js-api/commit/434c24ea6) Fix the order of httpClient testing conditions (#1402)
- [8240936f2](https://github.com/Alfresco/alfresco-js-api/commit/8240936f2) [AAE-9334] Improve update project script (#1395)
- [a7fc2e92a](https://github.com/Alfresco/alfresco-js-api/commit/a7fc2e92a) [MNT-22840] Use ticket parameter instead of alf_ticket when withCredentials configuration is enabled (#1392)

View File

@@ -0,0 +1,10 @@
---
Title: Changelog for @alfresco/js-api v5.1.0
---
# Changelog
- [ADF-5501] fix: change the guard for progress event detection (#1441)
- add missing tslib dependency (#1437)
- [APPS-1732] Removed AuthorityType and clearance parameters from GET AuthorityClearance endpoint (#1435)
- [AAE-9473] feat: extract http client to handle custom implementations (#1412) (#1392)

View File

@@ -0,0 +1,9 @@
---
Title: Changelog for @alfresco/js-api v5.2.0
---
# Changelog
- 90ab51c26 [MNT-23143] Add withCredentials to isLoggedIn
- 80106a493 [MNT-23143] Move withCredentials check to correct method
- f80ed199a [MNT-23143] withCredentials reflected in isBpmLoggedIn

View File

@@ -0,0 +1,20 @@
---
Title: Changelog for @alfresco/js-api v5.3.0
---
# Changelog
- 86fec25ec [ACS-4118] create a tag from tags list
- 11252d0e0 [ACS-4413] upgrade CodeQL to v2 (#1493)
- 3d8e2851a [ACS-4118] Update readme file
- 4b58f0f60 [ACS-4118] Little correction for documentation
- b9809fa36 [ACS-4118] Allow to return tags for specified name
- e692367a7 [ACS-4118] Use callApi and write some documentation for tags creation
- cfd2b60b4 [ACS-4118] Update api for tags creation
- ddc565fa2 [ACS-4240] delete category api change (#1484)
- 4286228b5 [ACS-4115] Added module annotation to categoriesApi and added category models to index
- 6ee349878 [ACS-4116]update of updateCategory endpoint.
- f0c6e8e45 added module annotation to categoriesApi and other models to index
- 22d5c2940 [ACS-4114] Export categories api
- 1c1305e91 [ACS-4114] Export categories api
- 2ebce874f [ACS-4114] Add categories api (#1477)

View File

@@ -0,0 +1,16 @@
---
Title: Changelog for @alfresco/js-api v5.4.0
---
# Changelog
- [4b9b21f4f](https://github.com/Alfresco/alfresco-js-api/commit/4b9b21f4f) fix-js-api-upstream (#1526)
- [4152c12f3](https://github.com/Alfresco/alfresco-js-api/commit/4152c12f3) [ACS-4331] Add deleteTag method to tags API (#1490)
- [d979e35be](https://github.com/Alfresco/alfresco-js-api/commit/d979e35be) [ACS-4590] cleanup performance tests (#1516)
- [90d83635c](https://github.com/Alfresco/alfresco-js-api/commit/90d83635c) [ACS-4611] Check proper storage (#1515)
- [41e31845e](https://github.com/Alfresco/alfresco-js-api/commit/41e31845e) Improved ESLint setup (#1509)
- [26bbe4e18](https://github.com/Alfresco/alfresco-js-api/commit/26bbe4e18) Fix GHA warnings for upcoming changes for setup-node action (#1508)
- [009444391](https://github.com/Alfresco/alfresco-js-api/commit/009444391) [ADF-5515] disable integration tests until config fixes (#1505)
- [fea47c040](https://github.com/Alfresco/alfresco-js-api/commit/fea47c040) [ACS-4412] Unit tests for createTags function (#1499)
- [39b3c3004](https://github.com/Alfresco/alfresco-js-api/commit/39b3c3004) AAE-12059: Removed createProcessInstanceVariables method from process instance variavles api (#1494)

View File

@@ -0,0 +1,17 @@
---
Title: Changelog for @alfresco/js-api v5.5.0
---
# Changelog
- [3939ed803](https://github.com/Alfresco/alfresco-js-api/commit/3939ed803) use the gh strategy (#1565)
- [e90fb3c62](https://github.com/Alfresco/alfresco-js-api/commit/e90fb3c62) [ACS-4126] viewer allow assigning tags to content basic (#1557)
- [b4b9ffe28](https://github.com/Alfresco/alfresco-js-api/commit/b4b9ffe28) [ACS-4753] list of tags is not rendered because of missing count field in backend response (#1546)
- [c3dcf1c39](https://github.com/Alfresco/alfresco-js-api/commit/c3dcf1c39) Use token as part of workflow (#1544)
- [835bb11f7](https://github.com/Alfresco/alfresco-js-api/commit/835bb11f7) fix tab
- [9bd75b802](https://github.com/Alfresco/alfresco-js-api/commit/9bd75b802) Inverte release order (#1543)
- [d697c7623](https://github.com/Alfresco/alfresco-js-api/commit/d697c7623) Rely on action to create npmrc (#1542)
- [3dea8b143](https://github.com/Alfresco/alfresco-js-api/commit/3dea8b143) Publish js pkgs on gh pkg registry (#1538)
- [2414d226f](https://github.com/Alfresco/alfresco-js-api/commit/2414d226f) [ACS-4724] remove minimatch dependency (#1536)
- [a7c0cee18](https://github.com/Alfresco/alfresco-js-api/commit/a7c0cee18) [ACS-4723] Remove fs-extra dependency (#1535)

View File

@@ -0,0 +1,11 @@
---
Title: Changelog for @alfresco/js-api v6.0.0
---
# Changelog
- [e70da65bc](https://github.com/Alfresco/alfresco-js-api/commit/e70da65bc) ACS-5040 Renamed one left reference to Alfresco (#1573)
- [c93b633ca](https://github.com/Alfresco/alfresco-js-api/commit/c93b633ca) [AAE-13902] - Create the release tag using the github API (#1572)
- [5cdab4525](https://github.com/Alfresco/alfresco-js-api/commit/5cdab4525) split testing jobs and add error reporting (#1567)
- [22938d88c](https://github.com/Alfresco/alfresco-js-api/commit/22938d88c) [ACS-5040] update license headers to reflect hyland copyright guidelines (#1561)

View File

@@ -0,0 +1,8 @@
---
Title: Changelog for @alfresco/js-api v6.1.0
---
# Changelog
- [a1c51dfec](git@github.com:Alfresco/alfresco-js-api/commit/a1c51dfec) [ADF-5510] Upgrade to Node 18 (#1579)

View File

@@ -0,0 +1,11 @@
---
Title: Changelog for @alfresco/js-api v6.2.0
---
# Changelog
- [b7cd96b84](https://github.com/Alfresco/alfresco-js-api/commit/b7cd96b84) do not escape basic auth credentials (#1599)
- [a55266731](https://github.com/Alfresco/alfresco-js-api/commit/a55266731) fix child assocs pagination (#1598)
- [58d8c4dff](https://github.com/Alfresco/alfresco-js-api/commit/58d8c4dff) fix missing parentId for declareRecord (#1597)
- [409e47e09](https://github.com/Alfresco/alfresco-js-api/commit/409e47e09) Fix git tag creation failing on master (#1592)

View File

@@ -0,0 +1,31 @@
---
Title: Changelog for @alfresco/js-api v7.0.0
---
# Changelog
- [a67a0222e](https://github.com/Alfresco/alfresco-js-api/commit/a67a0222e) [ACS-5946] aps documentation enhancements (#1659)
- [2f1de4ec6](https://github.com/Alfresco/alfresco-js-api/commit/2f1de4ec6) Add relations to site entry (#1658)
- [7d6d1882b](https://github.com/Alfresco/alfresco-js-api/commit/7d6d1882b) [ACS-5946] documentation improvements (#1652)
- [4e3b831bd](https://github.com/Alfresco/alfresco-js-api/commit/4e3b831bd) [ACS-5839] api typings and docs improvements (#1651)
- [76f951f67](https://github.com/Alfresco/alfresco-js-api/commit/76f951f67) [ACS-5839] api typings and docs (#1650)
- [8ca4ed0a1](https://github.com/Alfresco/alfresco-js-api/commit/8ca4ed0a1) [ACS-5839] GS Api enhancements and typings(#1649)
- [0e9673d8b](https://github.com/Alfresco/alfresco-js-api/commit/0e9673d8b) [ACS-5839] fix security groups api
- [7119cbe0f](https://github.com/Alfresco/alfresco-js-api/commit/7119cbe0f) [ACS-5839] minor fix to trigger gha deployment
- [03c641de2](https://github.com/Alfresco/alfresco-js-api/commit/03c641de2) [ACS-5839] bump to 7.0.0, api enhancements (#1648)
- [277b79f3e](https://github.com/Alfresco/alfresco-js-api/commit/277b79f3e) [ACS-5839] typing fixes (#1646)
- [de66ea713](https://github.com/Alfresco/alfresco-js-api/commit/de66ea713) [ACS-5839] api fixes and improvements (#1645)
- [12567fefe](https://github.com/Alfresco/alfresco-js-api/commit/12567fefe) [ACS-5839] improved typing support (#1638)
- [877bae3f7](https://github.com/Alfresco/alfresco-js-api/commit/877bae3f7) [ACS-5839] improved documentation and TypeScript support (#1636)
- [241a47ee6](https://github.com/Alfresco/alfresco-js-api/commit/241a47ee6) [ACS-5839] improved API typings (#1635)
- [b7b8dbbbc](https://github.com/Alfresco/alfresco-js-api/commit/b7b8dbbbc) [ACS-5845] Remove deprecated apis, documentation updates (#1629)
- [54c609427](https://github.com/Alfresco/alfresco-js-api/commit/54c609427) [ACS-5839] Make `contextRoot` optional as per documentation (#1628)
- [8cc1d4cdd](https://github.com/Alfresco/alfresco-js-api/commit/8cc1d4cdd) [ACS-5845] remove Alfresco Compatibility usage (#1627)
- [e274913c7](https://github.com/Alfresco/alfresco-js-api/commit/e274913c7) [ACS-5839] Improved typings for model classes (#1626)
- [5ecfdb2f1](https://github.com/Alfresco/alfresco-js-api/commit/5ecfdb2f1) Remove console logs from auth and fix promise rejections (#1621)
- [8faeff9bb](https://github.com/Alfresco/alfresco-js-api/commit/8faeff9bb) [ACS-5839] more TS typings support for Content API models (#1622)
- [f1e55ab17](https://github.com/Alfresco/alfresco-js-api/commit/f1e55ab17) Fix FormFieldRepresentation typings, add missing "fields" property (#1623)
- [e736ce8ec](https://github.com/Alfresco/alfresco-js-api/commit/e736ce8ec) Update dependencies and various audit fixes (#1620)
- [14129b977](https://github.com/Alfresco/alfresco-js-api/commit/14129b977) bump superagent (#1614)
- [70e78e889](https://github.com/Alfresco/alfresco-js-api/commit/70e78e889) [AAE-12502] Handle Storage as a singleton to fix on ADF the alf_ticket in not added to the content api because config.ticketECM is undefined (#1616)

View File

@@ -0,0 +1,12 @@
---
Title: Changelog for @alfresco/js-api v7.1.0
---
# Changelog
- [f00bc51ed](git@github.com:Alfresco/alfresco-js-api/commit/f00bc51ed) [ACA-4724] Use jsdom directly instead of mocha-jsdom in unit test (#1693)
- [ca1ef4f45](git@github.com:Alfresco/alfresco-js-api/commit/ca1ef4f45) [ACS-5994] Add multiple nodes deletion support (#1687)
- [9d1c6a752](git@github.com:Alfresco/alfresco-js-api/commit/9d1c6a752) Break various dependencies on 3rd party libs (#1679)
- [2ee68fbec](git@github.com:Alfresco/alfresco-js-api/commit/2ee68fbec) remove mocha-jsdom dependency due to security issues and deprecated status (#1678)
- [8f3c66976](git@github.com:Alfresco/alfresco-js-api/commit/8f3c66976) [ACTIVITI-4914] updated getProcessesAndTasksOnContent (#1672)

View File

@@ -0,0 +1,10 @@
---
Title: Changelog for @alfresco/js-api v7.2.0
---
# Changelog
- [b41cc2629](https://github.com/Alfresco/alfresco-js-api/commit/b41cc2629) [ACS-6231] cleanup old codegen (#1716)
- [8d02eb4ea](https://github.com/Alfresco/alfresco-js-api/commit/8d02eb4ea) [ACS-6231] cleanup old angular projects and break dependency on remove env (#1715)
- [928f9cd91](https://github.com/Alfresco/alfresco-js-api/commit/928f9cd91) [ACS-6231] preparation cleanup before supporting Nx (#1714)