mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
AAE-23572 missing files
This commit is contained in:
51
lib/js-api-old/.eslintrc.json
Normal file
51
lib/js-api-old/.eslintrc.json
Normal file
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"extends": ["../../.eslintrc.js"],
|
||||
"ignorePatterns": ["!**/*"],
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["*.ts"],
|
||||
"extends": ["plugin:@nrwl/nx/angular"],
|
||||
"rules": {
|
||||
"no-underscore-dangle": ["warn", { "allowAfterThis": true }],
|
||||
"@typescript-eslint/dot-notation": "off",
|
||||
"@typescript-eslint/explicit-member-accessibility": [
|
||||
"off",
|
||||
{
|
||||
"accessibility": "explicit"
|
||||
}
|
||||
],
|
||||
"@typescript-eslint/no-inferrable-types": "off",
|
||||
"@typescript-eslint/no-require-imports": "off",
|
||||
"@typescript-eslint/no-var-requires": "error",
|
||||
"comma-dangle": "error",
|
||||
"default-case": "error",
|
||||
"import/order": "off",
|
||||
"max-len": [
|
||||
"error",
|
||||
{
|
||||
"code": 240
|
||||
}
|
||||
],
|
||||
"no-bitwise": "off",
|
||||
"no-duplicate-imports": "error",
|
||||
"no-multiple-empty-lines": "error",
|
||||
"no-return-await": "error",
|
||||
|
||||
"unicorn/filename-case": "off",
|
||||
"@typescript-eslint/no-unused-expressions": "off",
|
||||
"@typescript-eslint/consistent-type-assertions": "off",
|
||||
"jsdoc/check-param-names": "off",
|
||||
"jsdoc/require-returns": "off",
|
||||
"jsdoc/require-param": "off",
|
||||
"jsdoc/check-tag-names": "off",
|
||||
"@typescript-eslint/no-shadow": "warn",
|
||||
"@typescript-eslint/member-ordering": "off",
|
||||
"@typescript-eslint/no-namespace": "off",
|
||||
"@typescript-eslint/consistent-type-definitions": "off",
|
||||
"no-redeclare": "off",
|
||||
"space-before-function-paren": "off",
|
||||
"@typescript-eslint/no-empty-interface": "warn"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
7
lib/js-api-old/.mocharc.json
Normal file
7
lib/js-api-old/.mocharc.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"extensions": ["ts"],
|
||||
"spec": ["lib/js-api/test/**/*.spec.ts"],
|
||||
"node-option": [
|
||||
"loader=ts-node/register"
|
||||
]
|
||||
}
|
52
lib/js-api-old/README.md
Normal file
52
lib/js-api-old/README.md
Normal file
@@ -0,0 +1,52 @@
|
||||
# Alfresco JavaScript API
|
||||
|
||||
JavaScript client API for the Alfresco REST API and Activiti REST API.
|
||||
|
||||
## API clients documentation
|
||||
|
||||
- [Authentication Api](src/api/auth-rest-api/README.md)
|
||||
- [Content Api](src/api/content-rest-api/README.md)
|
||||
- [Model Api](src/api/model-rest-api/README.md)
|
||||
- [Process Api (AAE)](src/api/activiti-rest-api/README.md)
|
||||
- [Search Api](src/api/search-rest-api/README.md)
|
||||
- [Governance Classification Api](src/api/gs-classification-rest-api/README.md)
|
||||
- [Governance Core Api](src/api/gs-core-rest-api/README.md)
|
||||
- [Discovery Content API](src/api/discovery-rest-api/README.md)
|
||||
|
||||
## Guides
|
||||
|
||||
- [Authentication](docs/authentication.md)
|
||||
- [Calling Custom Endpoints](docs/calling-custom-endpoints.md)
|
||||
- [Error Events](docs/error-events.md)
|
||||
- [ECM Examples](docs/ecm-example.md), full docs: [Content API](src/api/content-rest-api/README.md)
|
||||
- [BPM Examples](docs/bpm-example.md), full docs: [APS 2.X API](src/api/activiti-rest-api/README.md)
|
||||
|
||||
## Prerequisites
|
||||
|
||||
The minimal supported versions are:
|
||||
|
||||
- Alfresco Platform Repository: version [5.2.a-EA](https://wiki.alfresco.com/wiki/Community_file_list_201606-EA) or newer
|
||||
- Activiti: 1.5
|
||||
- Node.js ([Long Term Support](https://nodejs.org/en/) version)
|
||||
|
||||
## Installing
|
||||
|
||||
Using NPM:
|
||||
|
||||
```sh
|
||||
npm install @alfresco/js-api
|
||||
```
|
||||
|
||||
## Development
|
||||
|
||||
To run the build
|
||||
|
||||
```sh
|
||||
npm run build
|
||||
```
|
||||
|
||||
To run the test
|
||||
|
||||
```sh
|
||||
npm run test
|
||||
```
|
26
lib/js-api-old/package.json
Normal file
26
lib/js-api-old/package.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"name": "@alfresco/js-api-old",
|
||||
"version": "7.8.0",
|
||||
"license": "Apache-2.0",
|
||||
"description": "JavaScript client library for the Alfresco REST API",
|
||||
"author": "Hyland Software, Inc. and its affiliates",
|
||||
"keywords": [
|
||||
"alfresco"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Alfresco/alfresco-ng2-components.git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/Alfresco/alfresco-ng2-components/issues"
|
||||
},
|
||||
"dependencies": {
|
||||
"event-emitter": "^0.3.5",
|
||||
"superagent": "^9.0.1",
|
||||
"tslib": "^2.6.1"
|
||||
},
|
||||
"main": "./index.js",
|
||||
"typings": "./typings/index.d.ts",
|
||||
"module": "./esm5/index.js",
|
||||
"es2015": "./esm2015/index.js"
|
||||
}
|
24
lib/js-api-old/tsconfig.json
Normal file
24
lib/js-api-old/tsconfig.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"importHelpers": true,
|
||||
"removeComments": true,
|
||||
"preserveConstEnums": true,
|
||||
"sourceMap": true,
|
||||
"strictFunctionTypes": true,
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"noUnusedLocals": true,
|
||||
"noUnusedParameters": true,
|
||||
"noImplicitReturns": true,
|
||||
"esModuleInterop": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"moduleResolution": "node",
|
||||
"stripInternal": false,
|
||||
"target": "es2015",
|
||||
"outDir": "./.out",
|
||||
"lib": ["es2018", "dom"],
|
||||
"typeRoots": ["node_modules/@types"],
|
||||
"types": []
|
||||
},
|
||||
"exclude": [".history", "*/node_modules", "config", "performance", "coverage", "node_modules", "package", "dist", "test"]
|
||||
}
|
Reference in New Issue
Block a user